﻿/* Responsive Tabs - menucool.com/jquery-tabs */

ul.rtabs {
	text-align:left; /*set to left, center, or right to align the tabs as desired*/
	font-size:0;
	margin:0;
	padding:0;
	list-style-type:none;
}
ul.rtabs li {
	/* margin:1px;*/
    padding:0;
	display: inline-grid;
	margin-bottom:0;
	width:20%;
	border-right:2px solid #fff;
}
ul.rtabs li:first-child {
	margin-left:0;
}
ul.rtabs li:last-child {
	margin-right:0;
	border-right:2px solid #e6e6e6;
}
ul.rtabs li:last-child:hover {
	margin-right:0;
	border-right:2px solid #fff;
}
ul.rtabs li.selected:last-child {
	margin-right:0;
	border-right:2px solid #e73195;
}
ul.rtabs li.selected:last-child a {
	border-right:2px solid #e73195;
}
ul.rtabs li a {
	padding:0 10px; /* It determines tab width */
	display:inline-block;
	font-size:16px;
	font-family: "Oswald", Helvetica, Arial, sans-serif;
	line-height:38px;/* height of tabs */
	text-decoration: none;
    background:#e6e6e6;
	outline:none;
	/* border:1px solid #999;*/ /*This color can be different from color #2 */
    border-bottom:none;
	border-radius:0;
	position:relative;
    transition: background-color .3s linear;
	text-align:center;
	width:100%;
}
ul.rtabs li:first-child a {
/*border-radius:3px 0 0 0;*/
}
ul.rtabs li:last-child a {
   width:100%;
}
ul.rtabs li a:link, ul.rtabs li a:visited {
	color:#222;
}
ul.rtabs li a:hover {
	background: #fff;
}
/*selected tab style */
ul.rtabs li.selected a {
	color:#fff;
	font-weight:normal;
	background:#e73195; /*color #2*/
	z-index:3;
}
/*selected tab style on hover */
ul.rtabs li.selected a:hover {
	text-decoration:none;
}
/* container of content panels */
div.panel-container {
	border:none;
	border-top:1px solid #999; /*color #1*/
	border-bottom:1px solid #999;
	border-radius:0;
	background-color:white; /*color #2*/
	position:relative;
	padding:0px;
	margin:0px;
	outline:none;
}
/* content panel */       
div.panel-container > div {
	/* The two settings below should not be changed. */
    display: block;
	margin:0px;
	min-height:227px;
}
div.panel-container div.inactive {
	display: none;
}
/* loading image before ajax content is retrieved. Only applicable when Ajax is used.*/
div.ajaxLoading {
	background:transparent url(loading.gif) no-repeat center center;
	height:150px;
	width:20px;
	font-size:0;
	padding:0;
	margin:0 auto;
}

/* For mobiles */

@media only screen and (max-width:768px) {
	ul.rtabs {
	text-align:left;
	font-size:0;
	margin:0;
	padding:0;
	list-style-type:none;
}
ul.rtabs li:first-child {
	margin: auto;
	display:inline-grid;
}
ul.rtabs li {
	margin: auto;
	display: inline-grid;
	width:20% !important;
	border-right:1px solid #fff;
	margin-bottom:0;
}
ul.rtabs li:last-child:nth-child(odd) {
	width:20%;
	border-right:none;
}
ul.rtabs li a {
	border:none;
	display:block;
	padding:0;
	text-align:center;
	border-radius:0;
	width:100%;
	margin:0;
}
ul.rtabs li.selected a {
	background-color:#e73195;
	color: #fff;
}
div.panel-container {
	border:1px solid #999;
	border-left:none;
	border-right:none;
	border-radius:0;
	box-sizing:border-box;
}
#thumbnail-slider, #thumbnail-slider2, #thumbnail-slider3, #thumbnail-slider4, #thumbnail-slider5 {
	padding: 0;
}
}
@media only screen and (max-width:360px) {
ul.rtabs li a {
	padding: 0;
	display: inline-block;
	font-size: 14px;
}
}
