nav.site-nav {
    height: auto;
}

nav .brand-logo {
    position: static;
}

#menu-container {
    display: flex;
    justify-content: space-between;
}

nav .brand-logo {
    white-space: normal;
    line-height: 1.5;
}

#nav-mobile .dropdown-button i {
    display: inline;
}

nav .brand-logo {
    padding: 10px;
}

.nav-mobile-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
}

#nav-mobile .dropdown-button {
    display: flex;
    justify-content: space-between;
}

#nav-mobile {
    display: flex;
}

nav .brand-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 30%;
}

@media only screen and (max-width: 992px) {
    nav .brand-logo {
        -webkit-transform: none;
        transform: none;
    }
}

.mobile-menu.side-nav {
    width: auto;
    right: 0;
    box-shadow: none;
}

.mobile-menu a, .mobile-menu i.material-icons {
    display: block;
    height: auto;
    padding: 0;
}

.mobile-menu.with-header .collection-header,
.mobile-menu .collection-item {
    border-bottom: none;
}

.mobile-menu.collection {
    border: none;
}

.mobile-menu-button,
.mobile-search-button,
.mobile-menu-collections,
.mobile-menu-categories,
.mobile-menu-articles,
.mobile-menu-buttons-wrapper,
#mobile-menu_close-icon {
    display: none;
}

.mobile-menu .collection-item.active a {
    background-color: rgba(0,0,0,0.1)
}

.mobile-menu .collection-header {
    display: flex;
    justify-content: start;
}

.mobile-menu a,
.mobile-menu_label,
.mobile-menu i.material-icons {
    line-height: 21px;
}

#mobile_menu_search .search-form {
    margin: 0 auto;
    width: 100% !important;
}

#mobile_menu_search .main-form input[type="text"] {
    width: 85%;
}

#mobile_menu_search .main-form button[type="submit"] {
    width: 15%;
}

a.mobile-menu_back-link {
    display: flex;
}

a.mobile-menu_back-link h3 {
    margin: 0 0 0 10px;
}

.mobile-menu_label {
    margin-left: 15px;
    opacity: 0.6;
    margin-top: 2px;
}

a.mobile-menu_forward-link i {
    font-size: 2rem;
}

a.mobile-menu_back-link i {
    font-size: 1.3rem;
}

@media only screen and (max-width: 768px) {
    #mobile_menu_search .main-form input[type="text"] {
        width: 80%;
    }

    #mobile_menu_search .main-form button[type="submit"] {
        width: 20%;
        padding: 0 14px;
    }
}

@media only screen and (max-width: 440px) {
    #mobile_menu_search .main-form input[type="text"] {
        width: 70%;
    }

    #mobile_menu_search .main-form button[type="submit"] {
        width: 30%;
        padding: 0 7px;
    }
}

@media only screen and (max-width: 275px) {
    #mobile_menu_search .main-form input[type="text"] {
        width: 60%;
    }

    #mobile_menu_search .main-form button[type="submit"] {
        width: 40%;
        padding: 0 3px;
    }
}

.hide-on-large {
    display: none;
}

@media only screen and (max-width: 992px) {
    .hide-on-large {
        display: block;
    }

    nav .brand-logo {
        -webkit-transform: none;
        transform: none;
        width: calc(100% - 84px);
        text-align: center;
        line-height: 1.5;
        font-size: 16px;
    }

    .mobile-menu-buttons-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

nav .mobile-menu-button > i,
nav .mobile-search-button > i {
    font-size: 32px;
}

#mobile-menu-button,
#mobile-menu-button i,
#mobile-search-button,
#mobile-search-button i {
    height: 32px;
}

#mobile-menu-button i,
#mobile-search-button i {
    line-height: 32px;
}

@media only screen and (max-width: 992px) {
    .brand-logo_img {
        max-height: 56px;
    }
}

.brand-logo_img-wrapper {
    line-height: 1;
}

.brand-logo.brand-logo___with-image {
    padding: 0;
    font-size: 0;
}

#mobile-search-button.active {
    background-color: rgba(0,0,0,0.1);
}
