.cd-cart-trigger {
  right: 0;
}
.cd-cart-trigger a {
  background: #26292f url("../img/cd-cart.svg") no-repeat center center;
}
@media only screen and (min-width: 1200px) {
  .cd-cart-trigger {
    /* cart right margin on desktop */
    right: 0;
  }
  .cd-cart-trigger a {
    position: relative;
    width: 100px;
    border-left: none;
    background-color: #26292f;
  }
}

#main-nav, #cd-cart {
  position: fixed;
  top: 0;
  height: 100%;
  width: 300px;
  /* header height */
  padding-top: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}
@media only screen and (min-width: 768px) {
  #main-nav, #cd-cart {
    width: 350px;
  }
}
@media only screen and (min-width: 1200px) {
  #main-nav, #cd-cart {
    width: 440px;
    /* header height has changed */
    padding-top: 10px;
  }
}

#main-nav {
  left: -100%;
  background: #FFF;
  -webkit-transition: left 0.3s;
  -moz-transition: left 0.3s;
  transition: left 0.3s;
}
#main-nav.speed-in {
  left: 0;
}
#main-nav ul a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding: 0 1em;
  border-bottom: 1px solid #e0e6ef;
}
#main-nav ul .current {
  box-shadow: inset 3px 0 #435779;
}
@media only screen and (min-width: 1200px) {
  #main-nav {
    /* reset main nav style */
    position: absolute;
    height: auto;
    width: auto;
    left: auto;
    right: 8em;
    padding-top: 0;
    top: 0;
    background: transparent;
    box-shadow: none;
    /* header height */
    line-height: 80px;
    z-index: 4;
  }
  #main-nav li {
    display: inline-block;
    margin-left: 1em;
  }
  #main-nav ul a {
    display: inline-block;
    height: auto;
    line-height: 1;
    padding: 1em 1.4em;
    border-bottom: none;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 0.25em;
  }
  #main-nav ul a.current {
    box-shadow: none;
    background: #435779;
    color: #FFF;
  }
  .no-touch #main-nav ul a:hover {
    background: #435779;
    color: #FFF;
  }
}
.no-js #main-nav {
  position: fixed;
}

#cd-cart {
  right: -100%;
  background: #FFF;
  -webkit-transition: right 0.3s;
  -moz-transition: right 0.3s;
  transition: right 0.3s;
}
#cd-cart.speed-in {
  right: 0;
}
#cd-cart > * {
  padding: 0 1em;
}
#cd-cart h2 {
  font-size: 22px;
  margin: 1em 0;
}
#cd-cart .cd-cart-items {
  padding: 0;
}
#cd-cart .cd-cart-items li {
  position: relative;
  padding: 1em;
  border-top: 1px solid #e0e6ef;
}
#cd-cart .cd-cart-items li:last-child {
  border-bottom: 1px solid #e0e6ef;
}
#cd-cart .cd-qty, #cd-cart .cd-price {
  color: #333;
  font-weight: 600;
}
#cd-cart .cd-name {
  font-weight: 800;
}
#cd-cart .cd-price {
  margin-top: .1em;
}
#cd-cart .cd-item-remove {
  position: absolute;
  right: 1em;
  top: 55%;
  bottom: auto;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  font-size: 18px;
  border-radius: 50%;
}
.no-touch #cd-cart .cd-item-remove:hover {
  background-color: #e0e6ef;
}
#cd-cart .cd-cart-total {
  padding-top: 1em;
  padding-bottom: 1em;
}
#cd-cart .cd-cart-total span {
  float: right;
}
#cd-cart .cd-cart-total::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}
#cd-cart .checkout-btn {
  display: block;
  width: 100%;
  height: 60px;
  line-height: 60px;
  background: #7dcf85;
  color: #FFF;
  text-align: center;
}
.no-touch #cd-cart .checkout-btn:hover {
  background: #a2dda8;
}
#cd-cart .cd-go-to-cart {
  text-align: center;
  margin: 1em 0;
}
#cd-cart .cd-go-to-cart a {
  text-decoration: underline;
}
@media only screen and (min-width: 1200px) {
  #cd-cart > * {
    padding: 0 1em;
  }
  #cd-cart .cd-cart-items li {
    padding: 1em 1em 1.5em 1em;
  }
  #cd-cart .cd-item-remove {
    right: 1em;
  }
}
/* -------------------------------- 

xkeyframes 

-------------------------------- */
@-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;
  }
}
#cd-shadow-layer {
  position: fixed;
  min-height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(11, 11, 11, 0.7);
  cursor: pointer;
  z-index: 9999;
  display: none;
}
#cd-shadow-layer.is-visible {
  display: block;
  -webkit-animation: cd-fade-in 0.3s;
  -moz-animation: cd-fade-in 0.3s;
  animation: cd-fade-in 0.3s;
}
#cd-cart .widget_shopping_cart {
    height: 67px;
    line-height: 67px;
    background-color: #f4f4f4;
    color: #000000;
    padding: 0 30px 0 30px;
    overflow: hidden;
    font-size: 14px;
    position: absolute;
    bottom: 50px;
    width: 100%;
    z-index: 1;
}
#cd-cart .widget_shopping_cart strong {
    font-weight: inherit;
    color: #000;
    padding-right: 20px;
    font-size: 18px;
}
#cd-cart .widget_shopping_cart .price-amount {
    float: right;
    color: #3f6617;
    font-size: 18px;
    font-weight: 800;
}
#cd-cart .viva-cart-buttons {
    overflow: hidden;
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 2;
    margin-bottom: 0;
    padding: 0;
}
#cd-cart .viva-cart-buttons .button {
    width: 50%;
    display: inline-block;
    float: left;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0em;
    text-align: center;
    height: 50px;
    line-height: 50px;
    color: #ffffff;
    background-color: #373536;
    overflow: hidden;
    position: relative;
}
#cd-cart .viva-cart-buttons .button.checkout {
    background-color: #0f1f5a;
}
#cd-cart .img {
    float: left;
    max-width: 60px;
    margin-right: 15px;
}