/* -------------------------------- 

Primary style

-------------------------------- */



.cd-tabs {
	position: relative;
	width: 100%;
	max-width: 960px;
	margin-top: 0em;
	margin-right: auto;
	margin-bottom: 0em;
	margin-left: auto;
}
.cd-tabs:after {
  content: "";
  display: table;
  clear: both;
}
.cd-tabs::after {
  /* subtle gradient layer on top right - to indicate it's possible to scroll */
  position: absolute;
  top: 0;
  right: 0;
  height: 60px; 
  z-index: 1;
  pointer-events: none; 
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.no-cssgradients .cd-tabs::after {
  display: none;
}
.cd-tabs.is-ended::after {
  /* class added in jQuery - remove the gradient layer when it's no longer possible to scroll */
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-tabs nav {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	/* [disabled]background: #f8f7ee; */
}
@media only screen and (min-width: 768px) {
  .cd-tabs::after {
    display: none;
  }
  .cd-tabs nav {
	/***position: absolute;***/
	top: 0;
	left: 0;
	height: 100%;
	height: 50px \9;
	z-index: 1;
  }
}
@media only screen and (min-width: 960px) {
  .cd-tabs nav {
	position: relative;
	float: none;
	background: transparent;
  }
}

.cd-tabs-navigation {
  width: 100%;
}
.cd-tabs-navigation:after {
  content: "";
  display: table;
  clear: both;
}
.cd-tabs-navigation li {
	float: left;	
	text-align:center;
	font-size: 100%;
	color:#FFF;
	margin-left:auto;
	margin-right:auto;
}
.cd-tabs-left {
	float:left;
	position: relative;
	display: block;
	height: 50px;
	line-height:50px;	
	text-align: center;
	font-size: 100%;
	font-weight: 700;
	color: #fff;	
	width:25%;
	background-color:#cf0505;
	background-image: url(../images/line-2.png);
	background-repeat: no-repeat;
	background-position: right center;
}
.cd-tabs-left:hover {
	float:left;
	position: relative;
	display: block;
	height: 50px;
	line-height:50px;	
	text-align: center;
	font-size: 100%;
	font-weight: 700;
	color: #fff;	
	width:25%;
	background-color:#FEDA3E;
	background-image: url(../images/line-2.png);
	background-repeat: no-repeat;
	background-position: right center;
}
.cd-tabs-left a:link {	
	color: #fff;	

}
.cd-tabs-left-line {	
	background-image: url(../images/line-2.png);
	background-repeat: no-repeat;
	background-position: right center;
}

.cd-tabs-navigation li a {
	position: relative;
	display: block;
	height: 60px;
	text-align: center;
	font-size: 100%;
	font-weight: 700;
	color: #fff;
	padding-top: 34px;
}
.no-touch .cd-tabs-navigation a:hover {
  color: #29324e;
  background-color: rgba(233, 230, 202, 0.3);
}
.cd-tabs-navigation .selected {
	background-color: #FEDA3E !important;
	width:25%;	
	color: #674701;
	text-align: center;
}

.cd-tabs-navigation .selected:hover {
	background-color: #FEDA3E !important;
	width:25%;	
	color: #FFFFFF;
	text-align: center;
}
.cd-tabs-navigation a::before {
  /* icons */
  position: absolute;
  top: 12px;
  left: 50%;
  display: inline-block;
  height: 20px;
  background-repeat: no-repeat;
}

@media only screen and (min-width: 768px) {
  .cd-tabs-navigation {
	/* move the nav to the left on medium sized devices */

	float: left;
	width: 100%;
  }
  .cd-tabs-navigation a {
    height: 80px;
    padding-top: 46px;
  }
  .cd-tabs-navigation a.selected {
    box-shadow: inset 2px 0 0 #f05451;
  }
  .cd-tabs-navigation a::before {
    top: 22px;
  }
}
@media only screen and (min-width: 960px) {
  .cd-tabs-navigation {
	/* tabbed on top on big devices */
	width: 100%;
	/* [disabled]box-shadow: inset 0 -2px 3px rgba(203, 196, 130, 0.06); */
  }
  .cd-tabs-navigation > li > a {
	height: 60px;
	line-height: 60px;
	width:auto;
	text-align: center;
	font-size: 100%;
	font-size: medium;
	padding-top: 0;
	padding-right: 2.8em;
	padding-bottom: 0;
	padding-left: 2.8em;
  }
  .cd-tabs-navigation a.selected {
	box-shadow: inset 0 2px 0 #f05451;
	font-size: 120%;
  }
  .cd-tabs-navigation a::before {
    top: 50%;
    margin-top: -10px;
    margin-left: 0;
  }
}

.cd-tabs-content {

}
.cd-tabs-content li {
	display: none;
	padding: 1.4em;
}
.cd-tabs-content li.selected {
  display: block;
  -webkit-animation: cd-fade-in 0.5s;
  -moz-animation: cd-fade-in 0.5s;
  animation: cd-fade-in 0.5s;
  background-color: #FFFFFF;
}
.cd-tabs-content li p {
  font-size: 100%;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #8493bf;
  margin-bottom: 2em;
}
@media only screen and (min-width: 768px) {
  .cd-tabs-content {
  
  }
  .cd-tabs-content li {
	/* [disabled]padding: 2em 2em 2em 7em; */
  }
}
@media only screen and (min-width: 960px) {
  .cd-tabs-content {
    min-height: 0;
  }
  .cd-tabs-content li {
	/* [disabled]padding: 3em; */
  }
  .cd-tabs-content li p {
    font-size: 100%;
    font-size: 1rem;
  }
}

@-webkit-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes cd-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
