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

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

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

    /* Header */
        #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: #0e8400;
        }

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

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

        #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 .search-bar {
            margin-top: 0;
            display: none;
            padding: 5px;
            border-radius: 5px;
            background: rgba(0, 0, 0, .5);
            position: absolute;
            top: auto;
            right: 5px;
            z-index: 10;
        }

        #header .header-right .search-bar .input-group {
            display: block;
            width: 100%;
        }

        #header .search-bar input {
            width: 100%;
            display: block;
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
            padding-right: 30px;
        }

        #header .search-bar button {
            background: transparent;
            border: none;
            box-shadow: none;
            outline-style: none;
            position: absolute;
            top: 0;
            right: 0;
            line-height: 32px;
            padding: 0 5px;
            color: #333;
            z-index: 10;
        }
    /*----------------*/

    /* 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;
            -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);
            position: relative;
        }

        #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;
        }
    /*----------------*/

    .home1 .panel-default .panel-heading {
        width: 100%;
        margin-bottom: 0;
        line-height: 24px;
    }

    .panel-default .panel-heading span {
        left: 0;
        width: 100%;
        font-size: 16px;
    }

    .contact-fix .panel-default .panel-heading {
        margin-bottom: 0;
    }

    .contact-fix .panel-default .panel-heading span {
        font-size: 16px !important;
    }

    .home5 .page-item {
        border-right: none;
    }

    .page-item p.text-muted {
        display: block;
    }

    .page-item p {
        display: none;
    }

    .contact-fix {

    }

    .contact-fix .btn-call {
        position: fixed;
        width: 50%;
        bottom: 0;
        left: 0;
        height: 50px;
        line-height: 50px;
        padding: 0px 10px;
        text-align: center;
        background: #0e8400;
        z-index: 999;
        border-right: 1px solid #fff;
    }

    .contact-fix .btn-call a {
        color: #fff;
    }

    .contact-fix .btn-call img {
        margin-right: 5px;
    }

    .contact-fix .btn-fix {
        width: 50%;
        height: 50px;
        border-radius: 0;
        bottom: 0;
        right: 0;
        line-height: 50px;
        text-transform: initial;
        font-weight: normal;
        padding: 0;
    }

    .contact-fix .btn-fix a {
        color: #fff;
        font-size: 16px;
        position: relative;
        padding-left: 40px;
    }

    .contact-fix .btn-fix a em {
        font-size: 28px;
        position: absolute;
        top: 2px;
        left: 5px;
        width: 30px;
        height: 30px;
    }

    .contact-fix-body {
        width: 100%;
        left: 0;
        bottom: 50px;
        top: 0;
    }

    #slider .text-slider h3 {
        font-size: 15px;
    }

    .home3 .news-item .image {
        margin: 0 auto;
        margin-bottom: 20px;
    }
}

@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;
    }
}