/*
Elements Styles : Responsive Menu
*/

/* Table of Contents
- Mobile Header
- Logo
- Responsive Menu
        - Nav Menu
        - Push Menu Transition
        - Dropdown Nav Toggle
- Search Widget
- Float Overlay
- Media Queries
*/

/* Mobile Header 
----------------------------------------------------------------------------- */
.ae-mobile-header {
    background-color: #ea4948;
}

/* Logo
----------------------------------------------------------------------------- */
.ae-logo {
    display: block;
    float: none;
    height: 55px;
    margin: auto;
    width: 240px;
}

.ae-logo a{
    background: transparent url('../mobile-header/images/logo-h-white.png') no-repeat center 10px / 100%;
    border-radius: 0;
    height: 55px;
    width: 240px;
    background-position: center 10px;
    margin: auto !important;
    max-width: 200px;
    position: relative;
    display: block;
    z-index: 100;
}

/* Responsive Menu
----------------------------------------------------------------------------- */
.pushmenu-push #wrapper-navbar {
    border-bottom: 0;
}

.ae-responsive-menu {
    position: absolute;
    width: 55px;
    height: 55px;
    float: left;
    overflow: hidden;
    cursor: pointer;
    /* z-index: 37; original live site value*/
    z-index: 99999;
}

.ae-responsive-menu .h-line{
    position: absolute;
    background-color: white;
    left: 28%;
    height: 4px;
    width: 55%;
    border-radius: 2px;
    -webkit-transition: all 0.4s;
       -moz-transition: all 0.4s;
         -o-transition: all 0.4s;
            transition: all 0.4s;
}

.ae-responsive-menu .h-line:first-of-type{
    top: 35%;
}

.ae-responsive-menu .h-line:nth-of-type(2){
    top: 50%;
}

.ae-responsive-menu .h-line:last-of-type{
    top: 65%;
}

.ae-responsive-menu.pressed .h-line{
    top: 50%;
}

.ae-responsive-menu.pressed .h-line:first-of-type{
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
    transform: rotate(315deg);
}

.ae-responsive-menu.pressed .h-line:nth-of-type(2){
    -webkit-transform: translateX(100px);
       -moz-transform: translateX(100px);
        -ms-transform: translateX(100px);
            transform: translateX(100px);
}

.ae-responsive-menu.pressed .h-line:last-of-type{
    -webkit-transform: rotate(-315deg);
       -moz-transform: rotate(-315deg);
        -ms-transform: rotate(-315deg);
            transform: rotate(-315deg);
}

/* Nav Menu */
.admin-bar .pushmenu { /* compensate wp admin-bar */
    top: 46px !important;
}

.ae-mobile-menu #main-menu {
    margin-left: 0 !important; /* override remove custom.css */
}

.pushmenu {
    width: 315px;
    height: 100%;
    top: 0;
    z-index: 1000;
    position: fixed;
    display: block;
    border-right: 1px solid #eee;
}

.pushmenu-left { left: -315px; }

.pushmenu-left.pushmenu-open { left: 0; overflow: auto;}

.pushmenu-push {
  position: relative;
  left: 0;
}

.pushmenu-push-toright { left: 315px; }

/* Push Menu Transition */
.pushmenu, 
.pushmenu-push {
  -webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
          transition: all 0.5s ease;
}

.pushmenu #main-menu{
    padding: 27px 0 0 24px;
}

.pushmenu li {
    margin: 16px 12px !important;
}

.pushmenu .pushmenu-logo {
    height: 78px;
    display: block;
    width: 100%;
    background: url('../mobile-header/images/footer_bg.png') no-repeat;
    background-size: 200% auto;
}

.pushmenu .menu-logo {
    background: rgba(0, 0, 0, 0) url('../mobile-header/images/logo_desktop.png') no-repeat scroll 0 0 / 100% auto;
    display: block;
    height: 140px;
    margin: auto;
    position: absolute;
    top: -22px;
    width: 140px;
    left:0px;
    right:0px;
}
#navbarNavDropdown ul li a.nav-link {
    color: #222 !important;
}

.pushmenu .navbar-nav .dropdown-menu {
    border: none;
}

/* Dropdown Nav Toggle */
.dropdown-toggle::after {
    margin-left: 12px !important; /* override default */
}

.ae-pushmenu .dropdown-toggle::after {
    display: none !important; /* override */
}

.show .dropdown-toggle.ae-arrow-up::after,
.show .dropdown-toggle.ae-arrow-up .IconCarrot {
    transform: rotate(180deg);
}

svg.Icon.IconCarrot {
    width: 17px;
    color: #777;
}

.pushmenu svg.Icon.IconCarrot {
    margin-left: 92px;
}

/* Search Widget
----------------------------------------------------------------------------- */
.ae-widgetbox #searchform {
    font-family: 'Comfortaa', cursive;
    position: relative;
    margin-bottom: 0 !important; /* specific overriding index for incorrect dev work */
}

.ae-mobile-header input[type="submit"],
.ae-mobile-header input[type="button"] {
    font-family: FontAwesome;
    font-size: 1.3333333333333333em;
    -webkit-text-stroke: 1px #ea4948; /* make fa lighter add moz and other browser support*/
    border: 0;
}

.ae-widgetbox .input-group {
    background-color: #EA4948;
    padding: 0px 20px 8px 20px;
    display: none;
}


.ae-widgetbox .input-group-append {
    max-width: 160px;
    float: right;
    position: absolute;
    top: 0px;
    right: 20px;
    z-index: 999;
}

.ae-widgetbox input#s {
    width: 100%;
    border: none;
    border-radius: 30px;
    height: 34px;
    padding: 12px 106px 9px 20px;
}

.ae-widgetbox #searchsubmit {
    font-family: 'Comfortaa', cursive;
    background-color: #ea4948;
    -webkit-text-stroke: 0;
    border: 1px solid #fff;
    width: 90px;
    height: 34px;
    border-radius: 30px!important;
    font-size: 16px;
}

.ae-widgetbox #searchIcon {
    background-color: transparent;
    position: absolute;
    top: -55px;
    right: 0;
    width: 55px;
    height: 55px;
    border-radius: 0;
    float: right;
}

.ae-widgetbox #searchIcon:focus {
    outline: none;
    border: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
}

.ae-widgetbox input#searchsubmit:focus,
.ae-widgetbox input#s:focus {
    -webkit-box-shadow: none;
            box-shadow: none;
    border-color: inherit;
}

.ae-widgetbox input#searchsubmit:focus {
    background-color: #e96a69;
}

/* Float Overlay 
----------------------------------------------------------------------------- */
body.floated {
    overflow: hidden;
}

.floated #menuOverlay {
    background-color: rgba(0, 0,0, 0.2); /* 0.5 live site value */
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

/* Media Queries
----------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .ae-mobile-header {
        display: none;
    }
    
    .ae-pushmenu .dropdown-toggle::after {
        display: inline-block !important; /* override */
    }
    
    svg.Icon.IconCarrot { display: none }
}


