html body {
    height: auto;
}

html body header.navbar div.navbar-header a.navbar-brand {
    padding: 7px 7px;
}

@media (min-width: 767px) and (max-width: 991px) {
    header.navbar div.navbar-header {
        top: 53px;
        left: 65%;
    }
}

@media (min-width: 320px) and (max-width: 386px) {
    html body header.navbar div.navbar-header a.navbar-brand img.logo_image {
        height: auto !important;
        width: auto !important;
        max-height: 60px !important;
        max-width: 120px !important;
    }
}

@media (max-width: 319px) {
    html body header.navbar div.navbar-header a.navbar-brand img.logo_image {
        height: auto !important;
        width: auto !important;
        max-height: 50px !important;
        max-width: 120px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {

    body header .container .navbar-header {
        padding-left: 10px;
        padding-right: 30px;
    }

    html body header.navbar div.navbar-header a.navbar-brand img.logo_image {
        height: 65px !important;
    }

    body .navbar-toggle {
        border: none;
    }

    .navbar-collapse.in {
        overflow-y: inherit;
    }

    body div#wrap div#main-container {
        padding-top: 50px;
    }

    div#shopping_cart_header {
        margin-top: 24px !important;
    }

    header.navbar button.navbar-toggle {
        margin-top: 30px;
        margin-right: -20px;
    }

    header.navbar div.navbar-header {
        top: 40px;
    }

    /* FONTS */

    body div.shop-products-view-row div.shop-products-col-frame div#products_wrapper div.product_info_wrapper h3 {
        font-size: 1.2em !important;
    }

    body div.shop-products-view-row div.shop-products-col-frame div#products_wrapper div.product_article p.description {
        font-size: 12.5px !important;
    }

    body div.shop-products-view-row div.shop-products-col-frame div#products_wrapper div.product_article button.description-read-more {
        font-size: 12.5px !important;
    }

    legend {
        font-size: 25px !important;
    }

    .btn-sm,
    body div.shop-products-view-row div.shop-products-col-frame div#products_wrapper div.product_article div.change-ingredient-form-group .btn {
        font-size: 13px !important;
    }

    body div.shop-products-view-row div.shop-products-col-frame div#products_wrapper article div.purchase_product_wrapper div.change-amount-form-group span.glyphicon {
        font-size: 13px !important;
    }

    body div.shop-products-view-row div.shop-products-col-frame div#products_wrapper article div.change-ingredient-form-group button i.fa-edit {
        font-size: min(max(17px, 1vw), 17px) !important;
    }

    div.crumbs-control-holder div.crumbs-holder ul li a {
        font-size: 18px !important;
    }

    div.crumbs-control-holder div.crumbs-holder ul li.active a {
        font-size: 23px !important;
    }

    div.sub-crumbs-control-holder div.sub-crumbs-holder ul li a {
        font-size: 15px !important;
    }

    div.sub-crumbs-control-holder div.sub-crumbs-holder ul li.active a {
        font-size: 18px !important;
    }

    div#shopping_cart_header span#shopping_cart_header_sum {
        font-size: 14px !important;
    }

    div#shopping_cart_header {
        font-size: 17px !important;
    }

    body {
        font-size: 15px !important;
    }

    h4 {
        font-size: 21px !important;
    }
}

/* Desktop */
@media (min-width: 768px) {

    .navbar-brand {
        padding-left: 0;
    }

    div#wrap {
        margin-top: 110px;
    }

    .logo_image {
        height: 80px !important;
        margin-top: -10px;
    }

    body header.navbar {
        height: 110px;
    }

    .navbar-header {
        float: left;
        padding: 15px;
        text-align: center;
        width: 100%;
    }

    header.navbar ul.navbar-nav {
        margin-top: -90px;
    }

    .navbar-collapse .navbar-nav.navbar-right:last-child {
        margin-right: -30px;
    }
}

