body {
}
.main_head {
  background: transparent url('/wp-content/themes/amerson/images/top_bar.jpg') no-repeat center top / cover;
  display: block;
  padding: 25px 0;
  text-align: right;
}

.social {
  background: #4f0d0f;
  display: block;
  text-align: center;
}
.cart_nav,
.social a {
  background: rgba(0,0,0,0.6);
  color: white;
  display: none;
  font-family: 'Yanone Kaffeesatz', sans-serif;
  padding: 10px;
}
.cart_nav {
  padding: 0 10px;
}
.cart_nav.mobile {
  background: #4f0d0f;
  display: block;
  text-align: left;
}
.cart_nav a.cart_link {
  position: relative;
}
.social a {
  background: rgba(0,0,0,0.6) url('/wp-content/themes/amerson/images/yt.png') no-repeat center center;
  border-radius: 50%;
  display: inline-block;
  margin: 15px 10px;
  height: 75px;
  width: 75px;
}
.main_nav .social a,
.main_nav .cart_nav a {
  display: inline-block;
}
.social a:first-of-type {
  background-image: url('/wp-content/themes/amerson/images/fb.png');
}
.social a:last-of-type {
  background-image: url('/wp-content/themes/amerson/images/tw.png');
}

.site_logo {
  display: block;
  height: 165px;
  margin: 0 auto;
  position: relative;
  vertical-align: top;
  width: 90%;
}
.site_logo:before,
.site_logo:after {
  bottom: 40px;
  border-radius: 10px / 100px;
  box-shadow: 0 0 20px 8px rgba(0,0,0,0.6);
  content: '';
  display: block;
  left: 0;
  position: absolute;
  top: 55px;
  width: 20px;
  z-index: 0;
}
.site_logo:after {
  left: initial;
  right: 0;
}
.site_logo img {
  display: block;
  position: relative;
  width: 100%;
  z-index: 1;
}

.case_flag {
  bottom: 0;
  display: none;
  position: absolute;
  right: 50%;
  -moz-transform: translate(50%, 100%); -webkit-transform: translate(50%, 100%); -ms-transform: translate(50%, 100%); transform: translate(50%, 100%);
  z-index: 2;
}
.main_nav .c2a_container {
  bottom: 0;
  color: #4a4a4a;
  display: block;
  position: absolute;
  right: 0;
  text-align: right;
  -moz-transform: translate(0,100%); -webkit-transform: translate(0,100%); -ms-transform: translate(0,100%); transform: translate(0,100%);
}
.main_nav .c2a {
  display: inline-block;
  font-style: italic;
  line-height: 1.25em;
  text-transform: uppercase;
  vertical-align: middle;
  width: 300px;
}
.c2a_container img {
  display: inline-block;
  margin-left: 5px;
  vertical-align: middle;
}

/* ===== NAVIGATION ===========================================================
 * ============================================================================
 */
.main_nav {
  background: #e63b32;
  font-family: 'Yanone Kaffeesatz', sans-serif;
  height: 60px;
  overflow: visible;
  position: relative;
  text-align: left;
  z-index: 2;
}
.main_nav ul {
  display: inline-block;
  vertical-align: top;
  z-index: 3;
}
.main_nav li {
  display: block;
  position: relative;
  margin: 15px 0 25px;
}
.main_nav li.menu-item-has-children {
  border-width: 0;
}
.main_nav li:hover a {
  color: #4f0d0f;
}
.main_nav li:last-of-type {
  border-width: 0;
}
.main_nav ul:not(.sub-menu) > li.menu-item-has-children ~ li:before {
  background: url('/wp-content/themes/amerson/images/border_img.png') no-repeat center center;
  content: '';
  display: block;
  height: 32px;
  left: 0;
  position: absolute;
  top: 50%;
  -moz-transform: translate(-100%, -50%); -webkit-transform: translate(-100%, -50%); -ms-transform: translate(-100%, -50%); transform: translate(-100%, -50%);
  width: 8px;
}
.main_nav a {
  color: white;
  display: block;
  font-size: 1.25em;
  padding: 5px 25px 5px;
  text-align: left;
}
.main_nav li .sub-menu {
  background: #4f0d0f;
  left: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  text-transform: uppercase;
  top: 44px;
  -moz-transition: opacity 500ms ease-in-out; -webkit-transition: opacity 500ms ease-in-out; -ms-transition: opacity 500ms ease-in-out; transition: opacity 500ms ease-in-out;
  width: 130%;
  visibility: hidden;
}
.main_nav li:hover .sub-menu {
  opacity: 1;
  overflow: visible;
  visibility: visible;
}
.main_nav .sub-menu li {
  border: none;
  display: block;
  height: 60px;
  margin: 0;
  text-align: center;
  width: auto;
}
.main_nav .sub-menu li:hover {
  background: #e63b32;
}
.main_nav li:hover .sub-menu a {
  color: white;
}
.main_nav .sub-menu a {
  display: block;
  font-size: 1.1em;
  height: 60px;
  line-height: 60px;
  padding: 0 10px;
  width: 100%;
}
.main_nav .sub-menu .sub-menu {
  left: 100%;
  max-width: 0;
  overflow: hidden !important;
  top: 0;
  -moz-transition: max-width 500ms ease-in-out; -webkit-transition: max-width 500ms ease-in-out; -ms-transition: max-width 500ms ease-in-out; transition: max-width 500ms ease-in-out;
  width: 100%;
}
.main_nav .sub-menu li:hover .sub-menu {
  max-width: 350px; 
}

.cart_nav a {
  color: white;
  border: 2px solid white;
  border-width: 0 2px 0 0;
  display: inline-block;
  margin: 10px 15px 10px 0;
  padding: 0 15px 0 10px;
}
.cart_nav a:last-of-type {
  border-width: 0;
}
.cart_nav a > span {
  border: 2px solid white;
  border-width: 0 2px 0 0;
  display: inline-block;
  margin-left: 5px;
  padding: 0 15px 0 0;
}
.cart_nav a > span:last-of-type {
  border-width: 0;
  padding: 0;
}

.main_nav h1 > a {
  padding: 0;
}
.main_nav .search_hover {
  background: #d72f27;
  display: none;
  float: right;
  height: 60px;
  line-height: 60px;
  padding: 0;
  width: 100px;
}
.search_hover ~ .sub_menu {
  background: #4f0d0f;
  display: block;
  height: auto;
  -moz-transition: max-height 650ms ease-in-out; -webkit-transition: max-height 650ms ease-in-out; -ms-transition: max-height 650ms ease-in-out; transition: max-height 650ms ease-in-out;
  z-index: 4;
}
.search_hover:hover ~ .sub_menu,
.search_hover ~ .sub_menu:hover {
  max-height: 65px;
}
.searchform input[type='text'] {
  background: transparent;
  border: none;
  color: white;
  display: inline-block;
  font-family: 'Yanone Kaffeesatz', sans-serif;
  font-size: 1.25em;
  line-height: 60px;
  outline: none;
  padding: 0 5px 0 25px;
  vertical-align: middle;
  width: 250px;
}
.searchform i.fa {
  color: white;
  display: inline-block;
  font-size: 1.5em;
  height: 60px;
  line-height: 60px;
  position: relative;
  text-align: center;
  width: 55px;
}
.searchform input[type='submit'] {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 60px;
  left: 0;
  outline: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.searchform input[type='text']::-webkit-input-placeholder {
   color: white;
}
.searchform input[type='text']:-moz-placeholder { /* Firefox 18- */
   color: white;  
}
.searchform input[type='text']::-moz-placeholder {  /* Firefox 19+ */
   color: white;  
}
.searchform input[type='text']:-ms-input-placeholder {  
   color: white;  
}

.case_flag_mobile {
  padding: 15px 0;
}
.case_flag_mobile img {
  display: block;
  margin: 0 auto;
}

@media only screen and (min-width: 410px) {
  .site_logo {
    width: 400px;
  }
}

@media only screen and (min-width: 769px) {
  .case_flag_mobile {
    display: none;
  }
  label[for='hamburger'] {
    display: none;
  }
  .drawer {
    max-height: initial;
    overflow: visible;
  }
  .main_head {
    background-position: left center;
    padding: 0;
  }
  .social.full {
    background: none;
    display: block;
    text-align: right;
  }
  .cart_nav.full,
  .social a {
    display: inline-block !important;  
  }
  .site_logo.full {
    display: inline-block;
    margin-top: -250px;
    top: 100px;
  }
  .main_nav {
    background: #e63b32; /* Old browsers */
    background: -moz-linear-gradient(top,  #e63b32 0%, #e63b32 50%, #d72f27 51%, #d72f27 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e63b32), color-stop(50%,#e63b32), color-stop(51%,#d72f27), color-stop(100%,#d72f27)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #e63b32 0%,#e63b32 50%,#d72f27 51%,#d72f27 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #e63b32 0%,#e63b32 50%,#d72f27 51%,#d72f27 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #e63b32 0%,#e63b32 50%,#d72f27 51%,#d72f27 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #e63b32 0%,#e63b32 50%,#d72f27 51%,#d72f27 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e63b32', endColorstr='#d72f27',GradientType=0 ); /* IE6-9 */
  } 
  .main_nav ul.menu {
    height: 60px;
  }
  .cart_nav a.cart_link:before {
    content: '\f07a';
    font-family: FontAwesome;
    left: 0;
    position: absolute;
    top: 50%;
    -moz-transform: translate(0, -50%); -webkit-transform: translate(0, -50%); -ms-transform: translate(0, -50%); transform: translate(0, -50%);
  }
  .main_nav li { 
    border-style: solid;
    border-width: 0px 8px 0px 0px;
    -moz-border-image: url('/wp-content/themes/amerson/images/border_img.png') 0 8 0 0 stretch;
    -webkit-border-image: url('/wp-content/themes/amerson/images/border_img.png') 0 8 0 0 stretch;
    -o-border-image: url('/wp-content/themes/amerson/images/border_img.png') 0 8 0 0 stretch;
    border-image: url('/wp-content/themes/amerson/images/border_img.png') 0 8 0 0 stretch;
    display: inline-block;
  }
  .main_nav li.menu-item-has-children {
    margin-bottom: 0;
    padding-bottom: 25px;
  }
  .main_nav a {
    text-align: center;
  }
  .main_nav .search_hover {
    display: inline-block;
  }
  .case_flag {
    bottom: auto;
    right: 0;
    top: 60px;
    -moz-transform: none; -webkit-transform: none; -ms-transform: none; transform: none;
  }
  .search_hover ~ .sub_menu {
    max-height: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 60px;
  }
  .cart_nav a > span:first-of-type {
    padding-left: 15px;
  }
}

@media only screen and (min-width: 1035px) {
  .site_logo.full {
    margin-top: -170px;
  }
  .case_flag {
    display: block;
  }
}
