/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
ol, ul {
	list-style: none;
}
 

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
   color: #f8f7ee;
 
}

a { color:#000	;
  text-decoration: none;
}

/*img, embed, object, video, svg {
  max-width: 100%;
}*/

input, textarea {
  font-family: inherit;
  font-size: 1.6rem;
}

/* -------------------------------- 

Responsive Tabbed Navigation - by CodyHouse.co

-------------------------------- */
 

@media only screen and (min-width: 768px) {
 
}

.cd-tabs {
  position: relative;
  width:100%%;
  max-width:1230px;
 }

@supports (background: linear-gradient(to left, #000, #000)) or (background: -webkit-linear-gradient(to left, #000, #000)) {
  /* if linear-gradient is supported */
  .cd-tabs::after {
    /* subtle gradient layer on top right of the tabbed navigation- to indicate it's possible to scroll */
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 60px;
    width: 50px;
    z-index: 1;
    pointer-events: none;
     
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
  }
  .cd-tabs.cd-tabs--scroll-ended::after {
    /* class added in JavaScript - remove the gradient layer when it's no longer possible to scroll */
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
  }
}

.cd-tabs nav {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #f8f7ee;
  -webkit-box-shadow: inset 0 -2px 3px rgba(203, 196, 130, 0.06);
          box-shadow: inset 0 -2px 3px rgba(203, 196, 130, 0.06);
}

@media only screen and (min-width: 768px) {
  .cd-tabs::after {
    display: none;
  }
 
}

@media only screen and (min-width: 960px) {
  .cd-tabs nav {
    position: relative;
    float: none;
    background: transparent;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
}

.cd-tabs__navigation {
  width: 360px;
}

.cd-tabs__navigation:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}

.cd-tabs__navigation li {
  float: left;
}

.cd-tabs__navigation a {
  position: relative;
  display: block;
  height: 60px;
  width: 60px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #271b1b;
  padding-top: 35px; background-color:#FFF; margin-right:2px; line-height:32px;
}

.cd-tabs__navigation a:hover {
  color: #29324e;
  background-color: rgba(233, 230, 202, 1);
}

.cd-tabs__navigation a.cd-selected {
  background-color: #f57d1d !important;
  
  color: #ffffff;
}

.cd-tabs__navigation a::before {
  /* icons */
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  margin-left: -8px;
  display: inline-block;
   height:22px;
  width:22px;
 background-image: url("../img/cd-icons.svg");
  background-repeat: no-repeat;
}

.cd-tabs__navigation a[data-content='roundtrip']::before {
  background-position: 3px 0;
}

.cd-tabs__navigation a[data-content='packages']::before {
  background-position: -18px 0;
}

.cd-tabs__navigation a[data-content='store']::before {
  background-position: -42px 0;
}

.cd-tabs__navigation a[data-content='settings']::before {
  background-position: -48px 0;
}

.cd-tabs__navigation a[data-content='trash']::before {
  background-position: -64px 0;
}

.cd-tabs__navigation a[data-content='oneway']::before {
  background-position: -80px 0;
}

.cd-tabs__navigation a[data-content='roundtrip'].cd-selected::before {
  background-position: 3px -25px;
}

.cd-tabs__navigation a[data-content='packages'].cd-selected::before {
  background-position: -18px -25px;
}

.cd-tabs__navigation a[data-content='store'].cd-selected::before {
  background-position: -42px -25px;
}

.cd-tabs__navigation a[data-content='settings'].cd-selected::before {
  background-position: -48px -16px;
}

.cd-tabs__navigation a[data-content='trash'].cd-selected::before {
  background-position: -64px -16px;
}

.cd-tabs__navigation a[data-content='inbox'].cd-selected::before {
  background-position: -80px -16px;
}

@media only screen and (min-width: 768px) {
 
}

@media only screen and (min-width: 960px) {
  .cd-tabs__navigation {
    /* tabbed navigation on top on big devices */
    width: auto;
    /*background-color: #f8f7ee;*/
    -webkit-box-shadow: inset 0 -2px 3px rgba(203, 196, 130, 0.06);
            box-shadow: inset 0 -2px 3px rgba(203, 196, 130, 0.06);
  }
  .cd-tabs__navigation a {
    height: 60px;
    line-height: 60px;
    width: auto;
    text-align: left;
    font-size: 1.4rem;
    padding: 0 2.8em 0 2.8em;
	list-style:none; color:#333
  }
  .cd-tabs__navigation a.cd-selected {
   
  }
  .cd-tabs__navigation a::before {
    top: 50%;
    margin-top: -8px;
    margin-left: 0;
    left:19px;
  }
}

.cd-tabs__content {
  background: #f57d1d;
}

.cd-tabs__content li {
  display: none;
  padding: 1.4em;
}

.cd-tabs__content li.cd-selected {
  display: block;
  -webkit-animation: cd-fade-in 0.5s;
          animation: cd-fade-in 0.5s;
}

.cd-tabs__content li p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #8493bf;
  margin-bottom: 2em;
}

@media only screen and (min-width: 768px) {
 
}

@media only screen and (min-width: 960px) {
  .cd-tabs__content {
    min-height: 0;
  }
  .cd-tabs__content li {
    padding: 20px 20px 20px 20px;
  }
  .cd-tabs__content li p {
    font-size: 1.6rem;
  }
}

@-webkit-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes cd-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
