﻿/*========================reponsite===============================================================================*/
.desktop-showhide, .desktop-992 {
    display: block;
}

.mobile-showhide, .ipadmo-992 {
    display: none;
}

.menu-sroll {
    -webkit-box-shadow: 0 3px 5px #ccc; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 0 3px 5px #ccc; /* Firefox 3.5 - 3.6 */
    box-shadow: 0 3px 5px #ccc; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
    position: fixed;
    z-index: 9997;
}
/* Large desktop */
@media (min-width: 1200px) {
    .container {
        width: 1230px;
        padding: 0 10px;
    }
}

@media (min-width: 993px) and (max-width: 1230px) {
    .container {
        padding: 0 10px;
        width: 100%;
    }
}

@media (min-width: 993px) and (max-width: 1165px) {
}

@media (max-width: 1230px) {
    .wrapper-main {
        top: -32%;
    }

    #banner .nivo-caption {
        left: 10%;
    }
}

@media (max-width: 1200px) {
    #menu > li {
        padding: 0 10px;
    }

        #menu > li > a {
            font-size: 16px;
        }

    .main-news-left {
        width: 35%;
    }

    .main-news-right {
        width: calc(100% - 61%);
    }

    .left-news {
        width: 50%;
    }

    .right-news {
        width: 48%;
    }
}

@media (min-width: 993px) and (max-width: 1230px) {
    .owl-prev {
        right: -30px;
    }

    .owl-next {
        left: -30px;
    }
}

@media (max-width: 1025px) {
    .about-img {
        vertical-align: top;
        width: 100px;
    }
}

@media (max-width: 992px) {
    .desktop-992 {
        display: none;
    }

    .ipadmo-992 {
        display: block;
    }

    .hotline {
        margin-right: 0;
    }

    #header {
        height: 100px;
    }

    .logo {
        margin-top: 25px;
    }

    .menu-mo, .menu-mo span {
        line-height: 8px;
    }

    .df-box {
        width: 100%;
        margin-bottom: 20px;
    }

    #footer .col-md-3, #footer .col-md-5, #footer .col-md-4 {
        text-align: center;
    }

    .ft-2 {
        padding-left: 0;
    }

    .ft-3 {
        margin-right: 0;
        text-align: center;
        width: 100%;
    }

    .thumb-items .item {
        width: 100%;
        padding: 0;
    }

    .main-news-left {
        width: 50%;
    }

    .main-news-right {
        width: calc(100% - 51%);
    }

    .quangcao {
        width: 100%;
        display: none;
    }

    .video-main {
        width: 325px;
        margin: 0 auto;
    }

    .product-img {
        width: 100%;
    }
}

@media (max-width: 960px) {
    #banner .nivo-caption {
        left: 16%;
    }

    #banner .banner-text h1 {
        font-size: 35px;
    }

    #banner .banner-text span {
        font-size: 50px;
    }
}

@media (min-width: 769px) {
}

@media (max-width: 875px) {
    .popup-modal {
        height: 500px;
        margin-left: -360px;
        width: 720px;
    }
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 992px) {
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    .desktop-showhide {
        display: none !important;
    }

    .mobile-showhide {
        display: block !important;
    }

    .owl-prev {
        right: -30px;
    }

    .owl-next {
        left: -30px;
    }

    .main-news-left {
        width: 100%;
        padding: 0;
        border-right: 0;
    }

    .view-detail {
        float: left;
    }

    .main-news-right {
        width: 100%;
        border-left: 0;
        padding: 0;
        margin-top: 20px;
    }

    .main-news-left {
        width: 100%;
        padding: 0;
    }

    .news-main1 ul li {
        width: 100%;
        padding: 0;
    }

        .news-main1 ul li:nth-of-type(2n) .wrapper-news1 {
            margin-left: 0;
        }

        .news-main1 ul li:nth-of-type(2n+1) .wrapper-news1 {
            margin-right: 0;
        }

    .text-banner span {
        font-size: 30px;
    }

    .popup-modal {
        background-color: #ddd;
        width: 95%;
        background-size: 100%;
    }

    .news-main1 ul.ul-second li:first-child .wrapper-news1 {
        margin-top: 0;
    }

    ul.ul-second {
        width: 100%;
        padding-right: 0;
    }

    ul.ul-first {
        width: 100%;
        padding-left: 0;
    }

    .news-main1 ul.ul-second li .wrapper-news1, .news-main1 ul.ul-first li .wrapper-news1 {
        background: #d3d1d1 none repeat scroll 0 0;
    }

    .carousel-indicators li {
        background: #000 none repeat scroll 0 0 !important;
        height: 10px !important;
        margin: 10px 8px;
        width: 10px !important;
    }

        .carousel-indicators li.active::after, .carousel-indicators li.active::before {
            background: #01aef0;
            height: 10px;
            left: 0;
            opacity: 1;
            top: 0;
            width: 10px;
            z-index: 1;
        }

    .carousel-indicators .active {
        background: #01aef0;
        height: 10px !important;
        margin: 10px 8px;
        width: 10px !important;
    }

    .carousel-indicators li::before {
        width: 0 !important;
    }

    .carousel-indicators li::after {
        border-bottom: 0;
        border-left: 0;
        border-right: 0;
        top: 0;
    }

    .carousel-indicators {
        text-align: center;
        bottom: 85px;
    }

    .text-banner img {
        width: 60%;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
}

@media (min-width: 640px) and (max-width: 767px) {
    #banner .nivo-caption {
        left: 12%;
    }
}

@media (max-width: 715px) {
    .wrapper-main {
        top: 0px;
    }



    /*.carousel-indicators li::after {
            top: -8px;
            border-bottom: 5px solid #01aef0;
            border-left: 7px solid transparent;
            border-right: 7px solid transparent;
        }*/

    .carousel-indicators li {
        height: 15px;
        margin: 10px 8px;
        width: 35px;
    }

    .carousel-indicators {
        height: 30px;
    }

    /*.carousel-indicators li::before {
                height: 18px;
                left: -3px;
                opacity: 0;
                top: -3px;
                width: 40px;
            }*/

    .carousel-caption p, .carousel-caption span {
        font-size: 30px;
    }

    .carousel-caption h3 {
        font-size: 40px;
    }

    .carousel-caption {
        min-width: 320px;
    }

    .popup-modal {
        margin-left: -325px;
    }
}

@media (max-width: 639px) {
    .pro-img {
        width: auto;
    }

    .owl-prev {
        right: -15px;
    }

    .owl-next {
        left: -15px;
    }

    .news-title > a {
        font-size: 22px;
        line-height: 22px;
    }

    #myModal {
        display: none;
    }

    .popup-modal-bg {
        background: none;
    }

    .nivo-controlNav {
        display: none;
    }

    .hotline {
        background: none;
        font-size: 0;
        padding-left: 0;
    }
}

@media (max-width: 550px) {
    .logo {
        width: 210px;
    }

    .hotline strong {
        font-size: 19px;
    }

    .wrapper-top {
        margin-top: 0;
    }

    .carousel-indicators {
        bottom: 30px;
    }

    .news-box:last-child {
        width: 100%;
    }

    .news-box {
        width: 100%;
        margin: 0 0 10px 0;
    }

    .text-banner span {
        font-size: 25px;
    }

    .text-banner {
        top: 10px;
    }

    .title {
        font-size: 30px;
    }

    .product-df > h1 {
        font-size: 40px;
    }

    .hotline {
        margin-top: 10px;
        width: 148px;
        line-height:18px;
    }
}

@media (max-width: 479px) {
    .hotline {
        background: none;
        padding-left: 0;
    }
}

@media (max-width: 500px) {
}

@media (max-width: 419px) {
    .logo {
        width: 150px;
        margin-top: 35px;
    }

    .carousel-caption p, .carousel-caption span {
        font-size: 20px;
        margin: 0;
    }

    .carousel-caption h3 {
        font-size: 30px;
    }

    .carousel-caption {
        min-width: 250px;
        top: 0;
    }

    .text-banner img {
        width: 35%;
    }

    .video-main {
        width: 300px;
        margin: 0 auto;
    }

    .thumb-items .item .img {
        display: block;
        width: 200px;
        margin: auto;
        text-align: center;
    }

    .thumb-items .item .title {
        display: block;
        padding-top: 15px;
        vertical-align: top;
        width: calc(100%);
        margin-left: 0;
    }

    .main-news-right .news-thumb .item .thumb-img {
        display: block;
        width: 133px;
        margin: auto;
        float: none;
    }

    .main-news-right .news-thumb .item .thumb-tit {
        display: block;
        margin-top: 10px;
        width: calc(100%);
        float: none;
    }
}

@media (max-width: 359px) {
    .video-main {
        width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 319px) {
}
