@media (max-width:767px) {
    .body-bg,
    .container {
        width:100%;
    }

    #sitemodal .modal-dialog {
        max-width: 100%;
    }

    #sitemodal .modal-content {
        width: 100%;
    }

    /* Header */

        .header-top {
            background: #000 !important;
        }

        header {   
            position: initial;
            background: #018445 !important;
        }

        #header {
            padding: 10px 0;
            border-bottom: 1px solid #ddd;
        }

        #header .btn-toggle-menu {
            font-size: 24px;
            display: inline-block;
            padding: 5px 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            line-height: 20px;
            margin-top: 7px;
            color: #fff;
        }

        #header .logo {
            padding: 0;
            text-align: center;
        }

        #header .logo img {
            height: 50px;
            width: auto;
        }

        .search {
            margin: 0;
        }

        #header .btn-toggle-search {
            font-size: 24px;
            display: inline-block;
            padding: 5px 10px;
            border: 1px solid transparent;
            border-radius: 5px;
            line-height: 20px;
            margin-top: 7px;
        }

        #header .header-right {
            transform: initial; 
            padding-top: 10px; 
        }

        .menu-social ul li { 
            float: none;
            display: -webkit-inline-box;
        }

        .menu-social ul li a {
            display: block;
        }

        .menu-top {
            display: none;
        }

        #slider {
            margin-top: 0 !important;
        }

        .block-login .signed .box-dropdown-menu {
            left: 0 !important;
            right: auto !important;
            font-size: 14px;
        }

        .box-dropdown-menu:before, 
        .box-dropdown-menu:after {
            right: 35px !important;
        }
    /*----------------*/

    /* Menu Site */
        .bg-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, .5);
            z-index: 999;
            display: none;
        }

        #menusite {
            position: fixed;
            top: 0;
            left: -60%;
            width: 60%;
            height: 100%;
            background: #333;
            overflow: auto;
            z-index: 1000;
            transform: initial; 
            margin-left: 0; 
            -webkit-transition: all ease-in-out .5s;
            -moz-transition: all ease-in-out .5s;
            -ms-transition: all ease-in-out .5s;
            -o-transition: all ease-in-out .5s;
            transition: all ease-in-out .5s;
        }

        #menusite.active {
            left: 0;
        }

        #menusite .navbar-default {
            background: transparent;
            border: none;
        }

        #menusite .navbar-default .navbar-nav {
            margin: 0;
        }

        #menusite .navbar-default .navbar-nav > li {
            border-bottom: 1px solid rgba(255, 255, 255, .2);
        }

        #menusite .navbar-default .navbar-nav > li > a {
            padding: 10px;
        }

        #menusite .navbar-default .navbar-nav > li > a:hover,
        #menusite .navbar-default .navbar-nav > .active > a {
            background: transparent;
            color: #ff3939;
        }

        #menusite .navbar-default .navbar-nav > li a .caret {
            display: none;
        }

        #menusite .navbar-default .navbar-nav > li .dropdown-menu {
            display: block;
            position: relative;
            width: 100%;
            background: transparent;
            float: none;
            border: none;
            box-shadow: none;
            padding: 0;
        }
        
        #menusite .navbar-default .navbar-nav > li .dropdown-menu li {
            border-top: 1px solid rgba(255, 255, 255, .2);
        }

        #menusite .navbar-default .navbar-nav > li .dropdown-menu li a {
            color: #fff;
            font-size: 15px;
            padding-top: 10px;
            padding-bottom: 10px;
            line-height: 18px;
        }

        #menusite .navbar-default .navbar-nav > li .dropdown-menu li a:before {
            content: '\f0da';
            font-family: 'FontAwesome';
            margin-right: 5px;
        }
    /*----------------*/

    /* Cart */
        .cart-info .input-number-button {
            position: relative;
            display: inline-block;
            width: 100px;
            margin-bottom: 30px;
        }

        .cart-info .input-number-button .input-group-btn {
            position: absolute;
            top: 100%;
            width: 50%;
            display: block;
        }

        .cart-info .input-number-button .input-group-btn:first-child {
            left: 0;
        }

        .cart-info .input-number-button .input-group-btn:last-child {
            right: 0;   
        }

        .cart-info .input-number-button .input-group-btn .btn {
            border-radius: 0;
            padding-top: 5px;
            padding-bottom: 2px;
            width: 100%;
            margin-left: 0;
            border-top: none;
        }

        .cart-info .input-number-button .form-control {
            display: block;
            float: none;
        }

        .cart-info ul.list-none li {
            margin-bottom: 5px;
        }

        .popup-cart {
            width: 100%;
        }
    /*----------------*/

    /* Footer */
        #footer section {
            margin-bottom: 20px;
        }

        #copyright {
            border-top: 1px solid #ddd;
            padding-top: 10px;
        }
    /*----------------*/

    .header-center .bg-header {
        position: initial;
        z-index: 99; 
        transform: initial;
        margin-right: 0; 
        border:none;
        background: transparent;
    }

    .home2 .block-catalog ul li {
        margin-bottom: 10px;
    }

    .home2 .block-catalog ul li .image {
        height: 160px;
    }

    .home2 .block-catalog ul li:nth-child(7) .image,
    .home2 .block-catalog ul li:nth-child(4) .image,
    .home2 .block-catalog ul li:nth-child(3) .image {
        float: left;
    }

    .home2 .block-catalog ul li:nth-child(7) .info,
    .home2 .block-catalog ul li:nth-child(4) .info,
    .home2 .block-catalog ul li:nth-child(3) .info {
        float: right;
    }

    .home2 .block-catalog ul li h3 a {
        font-size: 15px;
    }

    .home2 .block-catalog ul li .info .btn {
        padding: 5px 15px;
    }

    .home4 .home4-right,
    .home4 .home4-left {
        position: initial;
        width: 100%;
        padding: 10px;
    }

    .list-sub-cat {
        padding: 5px;
    }

    .list-sub-cat a {
        padding: 10px;
        width: 46%;
        font-size: 13px;
        white-space: nowrap;
        margin-right: 5px;
        margin-bottom: 10px;
        display: inline-block;
        border: 1px solid #018445;
    }

    .list-sub-cat a:after {
        display: none;
    }

    ._view_grid .shop-item .image {
        height: 200px;
    }

    ._view_grid .shop-item .order {
        opacity: 1;
        visibility: visible;
        position: initial;
    }

    ._view_grid .shop-item .info {
        margin-top: 30px;
    }

    ._view_grid .news-item h3 a {
        font-size: 13px;
    }

    ._view_grid .news-item {
        margin-bottom: 20px;
    }

    .home7 .panel-default .panel-body {
        width: 100%;
    }

    .home7 .input-group {
        width: 100%;
    }

    .home7 .input-group input {
        width: 70%;
    }

    .home7 .input-group .input-group-addon {
        width: 30%;
        height: 40px;
        font-size: 11px;
    }

    .block-login {
        text-align: right;
    }

    .block-login .login a {
        color: #fff;
        font-size: 14px;
        display: block;
    }

    .block-login .signed .user-info .avatar {
        float: none;
        width: auto;
        height: auto;
    }

    #sitemodal .modal-dialog {
        margin-top: 0 !important;
    }
}

@media (max-width:499px) {
    .nv-infodie {
        width:100%;
    }
}

@media (max-width:400px) {
    .col-i {
        width: 100%;
    }

    #menusite .navbar-default .navbar-nav > li > a {
        font-weight: normal;
        white-space: normal;
        text-transform: none;
    }
}

@media (min-width:500px) {
    .nv-infodie {
        width:500px;
        left:50%;
        margin-left:-250px;
    }
}

@media (min-height:500px) {
    .nv-infodie {
        height:500px;
        top:50%;
        margin-top:-250px;
    }
}