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

    header {
        position: initial;
    }

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

    #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 h2 span {
        font-size: 14px !important;
    }

    #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 {
        margin-top: 15px;
    }

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

    #header .header-right {
        text-align: center;
    }

    #header .header-right h2 {
        font-size: 20px;
    }

    #header .header-right > .hotline {
        background: none;
        height: auto;
    }

    #header .header-right > .hotline h3 {
        padding: 0;
    }

    #header .header-right .phone {
        float: none;
    }

    .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);
    }

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

    #slider {
        margin-top: 0;
    }

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

    #footer .footer-company-info {
        margin-top: 10px;
    }

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

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