/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*::after, *::before {
  content: '';
}

/* -------------------------------- 

Main components 

-------------------------------- */


.cd-tabs {
  position: relative;
  margin: 20px auto 0 auto;
  text-align:center;
}
.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;
  -webkit-overflow-scrolling: touch;
  border-bottom:2px solid #cfcfcf;
}


@media only screen and (min-width: 768px) {
  .cd-tabs::after {
    display: none;
  }
  .cd-tabs nav {
   /* position: absolute;
    top: 0;
    left: 0;*/
    height: 100%;
    box-shadow: inset -2px 0 3px rgba(203, 196, 130, 0.06);
    z-index: 1;
  }
 
 

}
@media only screen and (min-width: 960px) {
  .cd-tabs nav {
    position: relative;
    float: none;
    background: transparent;
    box-shadow: none;
	border-bottom:2px solid #cfcfcf;
  }
}

.cd-tabs-navigation {
  width: 100%;
  margin:0px;
}
.cd-tabs-navigation:after {
  content: "";
  display: table;
  clear: both;
}
.cd-tabs-navigation li {
	display:inline-table;
}
.cd-tabs-navigation a {
  position: relative;
  display: block;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #494949;
  font-size: 20px;
	font-family: "Roboto Condensed",sans-serif;
  padding-top: 34px;
  padding: 0 2em;
}
.no-touch .cd-tabs-navigation a:hover {
  /*color: #29324e;
  background-color: rgba(233, 230, 202, 0.3);*/
  border-bottom:5px solid #b2bb1c;
  color: #b2bb1c;
}
.cd-tabs-navigation a.selected {
  background-color: #ffffff !important;
  /*box-shadow: inset 0 5px 0 #2a83a1;*/
  color: #b2bb1c;
  /*font-size: 18px;*/
  font-weight: 700;
  border-bottom:5px solid #b2bb1c;
}
.cd-tabs-navigation a::before {
  /* icons */
  position: absolute;
  top: 12px;
  left: 50%;
  margin-left: -10px;
  display: inline-block;
  height: 20px;
  width: 20px;
}
.cd-tabs-navigation a[data-content='inbox']::before {
  background-position: 0 0;
}
.cd-tabs-navigation a[data-content='new']::before {
  background-position: -20px 0;
}
.cd-tabs-navigation a[data-content='gallery']::before {
  background-position: -40px 0;
}
.cd-tabs-navigation a[data-content='store']::before {
  background-position: -60px 0;
}
.cd-tabs-navigation a[data-content='settings']::before {
  background-position: -80px 0;
}
.cd-tabs-navigation a[data-content='trash']::before {
  background-position: -100px 0;
}
.cd-tabs-navigation a[data-content='inbox'].selected::before {
  background-position: 0 -20px;
}
.cd-tabs-navigation a[data-content='new'].selected::before {
  background-position: -20px -20px;
}
.cd-tabs-navigation a[data-content='gallery'].selected::before {
  background-position: -40px -20px;
}
.cd-tabs-navigation a[data-content='store'].selected::before {
  background-position: -60px -20px;
}
.cd-tabs-navigation a[data-content='settings'].selected::before {
  background-position: -80px -20px;
}
.cd-tabs-navigation a[data-content='trash'].selected::before {
  background-position: -100px -20px;
}
@media only screen and (min-width: 768px) {
  /*.cd-tabs-navigation {
     move the nav to the left on medium sized devices 
    width: 80px;
    float: left;
  }
  .cd-tabs-navigation a {
    height: 80px;
    width: 80px;
    padding-top: 46px;
  }
  .cd-tabs-navigation a.selected {
    box-shadow: inset 5px 0 0 #2a83a1;
  }
  .cd-tabs-navigation a::before {
    top: 22px;
  } */
}
@media only screen and (min-width: 1060px) {
	
.cd-tabs nav {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom:2px solid #cfcfcf;
}

  .cd-tabs-navigation {
    /* tabbed on top on big devices */
    width: 100%;
	margin:0px auto;
	text-align:center;
  }
  .cd-tabs-navigation a {
    height: 60px;
    line-height: 60px;
    width: auto;
    text-align: left;
    padding: 0 2em;
	box-shadow:  inset  0 transparent;
	color:#494949;
	font-size: 20px;
	font-family: "Roboto Condensed",sans-serif;
	
  }
  .cd-tabs-navigation a.selected {
	color: #b2bb1c;
	background-color:transparent !important;
	box-shadow:  inset  0 transparent;
	font-size: 20px;
	font-family: "Roboto Condensed",sans-serif;
  }
  .cd-tabs-navigation a::before {
    top: 50%;
    margin-top: -10px;
    margin-left: 0;
    left: 38px;
	color:#494949;
	font-size: 20px;
	font-family: "Roboto Condensed",sans-serif;
	
  }
}

.cd-tabs-content {
  background: #ffffff;
}
.cd-tabs-content li {
  display: none;
 padding: 1.4em 0;
}
.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 0;
  }
}
@media only screen and (min-width: 960px) {
  .cd-tabs-content {
    min-height: 0;
  }
  .cd-tabs-content li {
    padding: 3em 0 0 0;
  }

}

@-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;
  }
}


@media all and (max-width: 640px){

.cd-tabs-navigation li {
    display: block !important;
}

.cd-tabs-navigation a {
    margin: 0 auto;
    text-align: center;
   /*width: 306px;*/
	padding-top: 20px;
}

}
