.cd-tabs {
  position: relative;
}
.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;
	width: 50px;
	z-index: 1;
	pointer-events: none;
	background: -webkit-linear-gradient( right , #f8f7ee, rgba(248, 247, 238, 0));
	background: linear-gradient(to left, #f8f7ee, rgba(248, 247, 238, 0));
	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;
}

@media only screen and (min-width: 768px) {
  .cd-tabs::after {
    display: none;
  }
  .cd-tabs nav {
    z-index: 1;
  }
 
}
@media only screen and (min-width: 960px) {
  .cd-tabs nav {
    position: relative;
    float: none;
    background: transparent;
    box-shadow: none;
  }

}

.cd-tabs-navigation:after {
  content: "";
  display: table;
  clear: both;
}

.cd-tabs-navigation li {
  float: left;
 /* margin-right:10px;*/
}

.cd-tabs-navigation a {
	position: relative;
	display: block;
	text-align: center;
	font-size: 20px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #fff;
	line-height: 51px;
	background: rgba(234,75,78,1);
	background: -moz-linear-gradient(top, rgba(234,75,78,1) 0%, rgba(217,27,30,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(234,75,78,1)), color-stop(100%, rgba(217,27,30,1)));
	background: -webkit-linear-gradient(top, rgba(234,75,78,1) 0%, rgba(217,27,30,1) 100%);
	background: -o-linear-gradient(top, rgba(234,75,78,1) 0%, rgba(217,27,30,1) 100%);
	background: -ms-linear-gradient(top, rgba(234,75,78,1) 0%, rgba(217,27,30,1) 100%);
	background: linear-gradient(to bottom, rgba(234,75,78,1) 0%, rgba(217,27,30,1) 100%);





	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ea4b4e', endColorstr='#d91b1e', GradientType=0 );
	margin-right: 4px;
	margin-top: 4px;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
}

.no-touch .cd-tabs-navigation a:hover {
  color: #000;
}

.cd-tabs-navigation a.selected {
	background:#fff;
  	color: #ce5302;
}

.cd-tabs-navigation a::before {
  /* icons */
  position: absolute;
  margin-left: -10px;
  display: inline-block;
}

@media only screen and (min-width: 768px) {
  .cd-tabs-navigation {
    /* move the nav to the left on medium sized devices */
    float: left;
  }
  .cd-tabs-navigation a {
  }
  .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: auto;
  }
  .cd-tabs-navigation a {
    width: auto;
    text-align: left;
  }
  .cd-tabs-navigation a.selected {
    /*box-shadow: inset 0 2px 0 #f05451;*/
  }
  .cd-tabs-navigation a::before {
    margin-left: 0;
  }
   
}

.cd-tabs-content {
	background-color: #FFFFFF;
}
.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;
}



@media only screen and (min-width: 768px) {
  .cd-tabs-content {
    min-height: 480px;
  }
  .cd-tabs-content li {
    padding: 2em 2em 2em 7em;
  }
  
  .flashcard-cd-tabs-content {
    min-height: 480px;
  
}
@media only screen and (min-width: 960px) {
  .cd-tabs-content {
    min-height: 0;
	height:auto !important;
  }
  
}

@-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;
  }
}
