/* Static replacement for rbthememenu's main navigation bar.
   Structural/layout rules only - colors, hover states, chevron, and
   border-radius already come from custom.css (theme-owned, unaffected
   by this file) via the same class names kept here on purpose. */

.rb_extra_item {
    float: right;
    padding-right: 10px;
    position: relative;
    z-index: 10;
    display: flex;
}
.rb_extra_item > div {
    float: left;
    margin-left: 10px;
    padding: 0 !important;
    width: auto;
    white-space: nowrap;
}
.rb_extra_item > div *:not(i) {
    font-size: 14px;
}
.rb_extra_item .cart-preview a {
    display: block;
    padding: 18px 0;
}
.rb_megamenu_content .rb_megamenu_content_content {
    display: flex;
    position: relative;
}
.rb_menu_content_title i {
    margin-right: 3px;
}
.rb_megamenu {
    background-color: #FFFFFF;
    clear: left;
    display: block;
    margin-top: 10px;
    padding: 0;
    z-index: 100;
    position: relative;
    width: 100%;
}
.rb_megamenu.hook-default {
    clear: none;
    padding: 0;
    margin-top: 0;
}
.container .rb_megamenu .container,
.hook-default .rb_megamenu_content .container {
    padding: 0;
}
.rb_menu_content_title {
    display: inline-block;
    float: left;
    padding: 20px;
    position: relative;
}
.rb_menus_li > a {
    float: left;
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    position: relative;
    width: 100%;
    text-transform: uppercase;
}
.rb_menus_li {
    float: left;
}
.rb_megamenu ul {
    margin: 0;
    padding: 0;
}
.ybc-menu-toggle {
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
    display: none;
    cursor: pointer;
    color: #333;
}
.ybc-menu-toggle .icon-bar {
    background-color: #333;
    clear: left;
    float: left;
    height: 2px;
    margin: 2px 3px 1px 0;
    transition: all 0.4s ease 0s;
    width: 18px;
}
.ybc-menu-button-toggle_icon {
    display: inline-block;
    margin-bottom: -1px;
    margin-right: 7px;
}
.rb_megamenu a,
.rb_megamenu a:focus,
.rb_megamenu a:active {
    outline: medium none;
    text-decoration: none;
}
.close_menu {
    display: none !important;
}
.hook-default.layout_layout1 .rb_menus_li:not(:nth-child(2)) {
    margin-left: 0;
}
.layout_layout1 .rb_megamenu_content {
    border-bottom: 1px solid #e7e7e7;
    border-top: 1px solid #e7e7e7;
}
.changestatus .rb_menus_ul,
.changestatus .rb_menus_ul * {
    pointer-events: auto !important;
}
.close_menu .pull-left,
.rb-dir-rtl .close_menu .pull-right {
    float: left;
}
.rb-dir-rtl .close_menu .pull-left,
.close_menu .pull-right {
    float: right;
}
body .rb_megamenu::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    z-index: 9;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease 0s;
}

@media (min-width: 768px) {
    .layout_layout1 .rb_menus_li > a:before {
        content: "";
        height: 1px;
        left: 0;
        position: absolute;
        top: -1px;
        transition: all 0.3s ease 0s;
        width: 100%;
        opacity: 0;
    }
    .layout_layout1 .rb_menus_li:hover > a:before {
        opacity: 1;
    }
    .rb_menus_ul {
        width: 100%;
        margin: 0;
        z-index: 10;
        float: left;
    }
}

@media (max-width: 767px) {
    .rb_megamenu.hook-default {
        background-color: rgba(0, 0, 0, 0);
        width: 100%;
    }
    .rb_extra_item > div {
        margin-left: 0;
    }
    .rb_megamenu .container {
        padding: 0;
    }
    .rb_menus_li > a {
        z-index: 0;
        color: #484848 !important;
        background-color: transparent !important;
        padding: 10px 15px;
        width: 100%;
        z-index: 90;
        font-size: 16px;
    }
    .rb_menu_content_title {
        padding: 0;
    }
    .rb_megamenu .rb_menus_ul .close_menu {
        color: #FFFFFF;
        float: left;
        padding: 10px 15px;
    }
    .close_menu .icon-bar {
        background-color: #FFFFFF;
        clear: left;
        display: block;
        height: 2px;
        margin: 3px 0 1px;
        width: 18px;
    }
    .rb_menus_back {
        display: inline-block;
    }
    .rb_menus_back_icon {
        border-left: 2px solid #FFFFFF;
        border-top: 2px solid #FFFFFF;
        display: inline-block;
        height: 11px;
        transform: rotate(-45deg);
        width: 11px;
    }
    .ybc-menu-toggle {
        display: block;
    }
    .rb_menus_ul {
        background-color: #ffffff;
        display: block;
        float: left;
        position: relative;
        width: 100%;
    }
    .rb_menus_li {
        border-top: 1px solid #DDDDDD;
        float: left;
        width: 100% !important;
    }
    header#header {
        margin-bottom: 0 !important;
    }
    .transition_floating .ybc-menu-toggle.opened:before {
        background-color: rgba(0, 0, 0, 0.4);
        bottom: 0;
        content: "";
        height: 100%;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 10000;
    }
    .transition_floating .rb_menus_ul {
        bottom: 0;
        left: 0;
        max-width: 280px;
        overflow: auto;
        position: fixed;
        top: 0;
        z-index: 10000;
        opacity: 0.6;
        transform: translatex(-100%);
        transition: all 0.35s ease 0s;
        visibility: hidden;
    }
    .transition_floating .close_menu {
        background-color: #000000;
        color: #FFFFFF;
        display: block !important;
        font-size: 14px;
        font-weight: bold;
        line-height: 26px;
        padding: 10px 0;
        text-align: center;
        width: 100%;
        cursor: pointer;
    }
    .transition_floating .rb_menus_ul.active {
        opacity: 1;
        transform: translatex(0px);
        visibility: visible;
    }
}

@media (max-width: 479px) {
    .rb_extra_item {
        height: 100%;
        max-width: calc(100% - 125px);
        position: static;
        min-height: 50px;
    }
}
