﻿/********************
*   Mobile Styles   *
********************/
@media (min-width: 1200px) {
    .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9 {
        float: left;
    }

}

@media only screen and (max-width: 850px) {

    /* header
    ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin: 10px;
        text-align: center;
    }

    /* login */
    #login {
        font-size: .85em;
        margin: 0 0 12px;
        text-align: center;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a {
            background: none;
            color: #999;
            font-weight: 600;
            margin: 2px;
            padding: 0;
        }

            #login a:hover {
                color: #333;
            }

    /* menu */
    nav {
        margin-bottom: 5px;
    }

    ul#menu {
        margin: 0;
        padding: 0;
        text-align: center;
    }

        ul#menu li {
            margin: 0;
            padding: 0;
        }


    /* main layout
    ----------------------------------------------------------*/
    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .content-wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

    /* features */
    section.feature {
        float: none;
        padding: 10px;
        width: auto;
    }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    input {
        width: 90%;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

        #loginForm .validation-error {
            display: block;
            margin-left: 15px;
        }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }

    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer {
        text-align: center;
        height: auto;
        padding: 10px 0;
    }

        footer p {
            margin: 0;
        }
}
/* END: Mobile Styles */

@media (min-width: 992px) {

/*    #web-slideshow .nivo-box {
        height: 370px !important;
    }*/


    .navigation .navbar .navbar-nav li:after {
        content: "";
        position: absolute;
        height: 14px;
        width: 1px;
        right: 0px;
        top: 50%;
        transform: translateX(0%) translateY(-50%);
        -moz-transform: translateX(0%) translateY(-50%);
        -ms-transform: translateX(0%) translateY(-50%);
        -o-transform: translateX(0%) translateY(-50%);
        transform: translateX(0%) translateY(-50%);
        background-color: #000;
        display: inline-block;
    }
    .navigation .navbar .navbar-nav li:first-child:after {
        width: 0px;
    }
    .navigation .navbar .navbar-nav li:last-child::after {
        display:none;
    }

    .main-menu.navbar-dark .hover-mode .main-nav > li:hover > a, .main-menu.navbar-dark .hover-mode .main-nav > li > a.active {
        color: #ddd !important;
    }

    .main-menu.navbar-dark .hover-mode .main-nav li:hover > a {
        color: #2196f4 !important;
    }

    .main-menu.navbar-dark .hover-mode .main-nav > li:hover > a {
        color: #fff !important;
    }

    .logo-full .main-logo img {
        max-width: 25rem;
    }

    .search-top-right, .social-top-left {
        top: 50%;
        margin-top: -23px;
        position: absolute;
    }
}


@media (min-width: 768px) {


    .navbar-expand-lg .navbar-collapse {
        margin-top: 5px;
    }
    .grid-six .image {
        width: 70%;
    }

    .grid-six .caption {
        position: absolute;
        width: 50%;
        top: 50%;
        right: 0;
        padding: 2rem;
        transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .col-content {
        padding-right:0;
    }
}

/* small mobile :320px. */
@media (max-width: 992px) {
    .navbar navbar-expand-lg{
        height:45px;
    }
    .navigation .navbar .navbar-toggler {
        position: absolute;
        right: 0px;
        top: 5px;
    }
    .form-search {
        position: absolute;
        right: 50px;
        top:5px;
    }
    .navigation .navbar .navbar-collapse {
        background: #fff;
        box-shadow: 6px 8px 6px -6px rgba(1, 38, 76, 0.55);
    }
}
@media (max-width: 768px) {
    .header-top {
        line-height: 31px;
        height: 31px;
    }
    #btnSearchShow {
        position: absolute;
        right: 50px;
        top:5px;
    }
    .header-logo-desktop .title1 {
         font-size: 16px;
    }

    .form-search {
        position: absolute;
        right: 0;
        top: 42px;
        z-index: 99;
        display: none;
    }

    #btnSearchShow { display: inline-block }

    .header .navigation .container img.img_logo {
        height: 30px;
        margin: 0;
        margin-left: 10px;
    }

    #news-part-wrap .wrap-bg { height: auto }

    .pano-container .slide-item { margin-bottom: 15px }



    .header-top-right {
        position: absolute;
        z-index: 999;
        padding: 0 5px;
    }

    .header-top-left { padding: 0 5px; }

    .social { float: right; }

    .contact_head {
        float: right;
        line-height: 30px;
    }

    .contact_head * { line-height: 30px !important; }

    .contact_head li { width: 30px; }

    .contact_head li span { display: none; }

    .contact_head {
        display: inline-block;
        margin: 0;
        float: left;
    }

    .contact_head li {
        display: inline-block;
        float: right;
    }

    .mhide { display: none; }

    .navigation .navbar { padding: 8px 0px; }

    .right-icon {
        position: absolute;
        top: 8px;
        right: 60px;
    }

    .navigation .navbar .navbar-nav { margin-right: 0px; }

    .navigation .navbar .navbar-collapse {
        background: #fff;
        box-shadow: 6px 8px 6px -6px rgba(1, 38, 76, 0.55);
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 99;
        background-color: #fff;
        padding: 5px 10px;
    }

    .navigation .navbar .navbar-nav li { margin-right: 0; }

    .navigation .navbar .navbar-nav li a {
        padding: 8px 10px;
        display: block;
        color: #34342c;
    }

    .navigation .navbar .navbar-nav li .sub-menu {
        position: relative !important;
        width: 100% !important;
        left: 0 !important;
        top: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        right: auto;
        -webkit-transition: none;
        transition: none;
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        text-align: left;
    }

    .navigation .navbar .navbar-nav li a .sub-nav-toggler {
        position: absolute;
        padding: 7px 11px;
        background: none;
        border: 0;
        top: 0;
        right: 0;
        cursor: pointer;
        display: block;
    }

    .news-part-53 .single-news { width: 100%; }

    .bKHCN .single-news .news-cont { opacity: 1; }

    .bKHCN .single-news .news-cont { bottom: 11px; }
}
.nameweb-mobie, .menu-mobie {
    display: none !important;
}
.navigation.is_stuck .nameweb-mobie {
    display: none !important;
}
@media (max-width: 568px) {
    .header-top {
        line-height:31px;
        height:31px;
    }
        #header-logo-mb{
        display:block !important;
    }
    .header-logo-desktop {
        display: none;
    }
    .category .category-slide-wrap {
        padding: 25px 20px 25px;
        position: relative;
        width: 100%;
        float: left;
    }

    .tinvan-wrap {
        width: 100%;
        height: 137px;
        float: left;
        background: url('/Styles/img/tin-van-logo.png') no-repeat center;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .menu-mobie {
        display:inline-block !important;
    }
    .nameweb-mobie {
        position: absolute;
        left: 122px;
        top: 6px;
        width: calc(100% - 225px);
        color: red;
        font-size: 14px;
        text-transform: uppercase;
        line-height: 1.2;
        text-align: center;
        display: block !important;
        margin: 0;
    }
    .header-top-left .header-contact{display:none}


    .category-slide .slick-arrow {
        right: 50px;
        display: none !important;
    }
    #news_page .news-list-row {
        padding: 0;
        margin-bottom: 10px;
    }
    .news-cont{
        padding-left:15px;
        padding-right:15px;
    }
    .navigation .sub-menu ul.child-menu {
        top: 0 !important;
        left: 0 !important;
        position: relative;
        display: none;
    }

    .widget ul {
        padding: 0 15px;
    }

    div.location_con .com_info dl dt.la-mb {
        width: auto;
        margin: 12px 20px 0 0;
    }

    .la-mb span {
        display: none
    }

    div.location_con .com_info dl dd {
        width: calc(100% - 60px);
        min-height: 48px;
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .location_con .com_info {
        margin-top: 0px;
    }

    .Home-Pano-Media img{width:100%}
    .news-part-5 .single-news .news-thum {
        height: 90px;
    }
    .bKHCN .bDoiTac {
        width: 100%;
    }
    .form-search {
        position: absolute;
        right: -15px;
        width: 100vw;
        top: 45px;
        padding: 3px 15px;
        font-size: 16px;
        background: #eee;
        height: auto;
        border: 1px solid #ddd;
    }
    .form-search .form-control{
        height:42px;
    }
        .form-search .btn-search {
            height: 42px;
            line-height: 30px !important;
            width: 70px;
        }
    .alum-list-home li {
        width: 50%;
    }
    .header .navigation .container {
        height: auto;
    }
    .navigation .navbar {
        margin: 0;
        padding: 0;
        height: 50px;
        margin: 0 -15px;
/*        position: relative;
        width: calc(100vw - 95px);*/
    }
    .navigation .navbar .navbar-toggler {
            position: absolute;
            right: 0px;
        }
    #btnSearchShow {
        position: absolute;
        right: 50px;
    }
    .wThongBaoHome .wrap-bg {
        height: auto;
        padding: 0 15px 15px;
    }
    .our_location .com_title {
        margin-bottom: 15px;
    }
    .our_location .com_info {
        padding-left: 0;
        padding-right: 0;
        background: none;

    }
    .our_location  div-title {
        padding-bottom: 1px !important;
    }
    .location_con .com_info dl {
        height: auto;
    }
    .our_location .com_info dl {
        height: auto;
        padding: 0 15px;
    }
    .our_location .com_info dl dd {
        text-align: left;
    }
    .bcDate, .mhide {
        display: none;
    }
    .ulOrderNews {
        position: relative;
        top: 4px;
        right: 15px;
        font-size: 13px;
        z-index: 8;
        text-align: right;
        width: 100%;
        line-height: 31px;
        height: 31px;
        display: block;
        top: auto;
        right: auto;
        margin-bottom: 0;
    }
    .ulOrderNews::after {
        content: ' ';
        width: 100%;
        clear: both;
        display: block;
    }
    .ulOrderNews li {
        position:relative;
        height:20px;
        line-height:20px;
    }
        .ulOrderNews .control {
            margin-right: 0;
        }
    .ulOrderNews li input {
        width: auto;
    }
        .ulOrderNews input[type=radio]{
            top:10px;
        }
        .ulOrderNews input[type=radio]:checked {
            display:none;
        }
            .ulOrderNews input[type=radio]:checked + span,.ulOrderNews .control input:checked ~ .control__indicator
            {
                display:none;
            }
    .ulOrderNews li span {
        font-size:13px;
    }

    .header-top-left {
       
    }
    .news-block-bottom {
        display: none;
    }
    .single-news.news-list {
        position: relative;
        overflow: hidden;
    }
    .single-news.news-list .news-thum,.single-news.news-list.stt_2 .news-thum {
        display: block;width:33.333333%;float:left;margin-right:10px;
    }
    .single-news {
        background: url(../Content/img/line_news_row.jpg) repeat-x bottom;
        padding-bottom: 8px;
        margin-bottom:15px;
    }
    .single-news p {
        margin: 0;
    }
    .news-part-21 .news-first {
        width: 100%;
    }
    .news-part-21 .news-block-right {
        width: 100%;
    }
    .news-part-5 .news-first {
        width: 50%;
    }
    .news-part-5 .single-news {
        width: 50%;
    }
    .news-part-5 .news-list .news-thum {
        width: 100%;
    }
    .wTuVan img {
        width: 100%;
    }
    .wCateFooter {
        text-align: left;
    }
    .wThongKe {
        text-align: left;
    }
    .mhide {
        display: none;
    }
}

@media (max-width: 400px) {
    .top-space {
        top: 20%;
    }


}
