﻿@media (min-width: 1366px) {
    body>.container{
        padding: 0;
    }
    .col-lg-85 {
        width: 85%;
    }

    .col-lg-83 {
        width: 83%;
    }

    .col-lg-80 {
        width: 80%;
    }

    .col-lg-20 {
        width: 20%;
    }

    .col-lg-17 {
        width: 17%;
    }

    .col-lg-15 {
        width: 15%;
    }

    .flotR {
        float: right;
    }

    .news-item.col-md-4:nth-child(3n+1),
    .album-images .row .col-md-3:nth-child(4n+1),
    .products-list .product-item.col-md-4:nth-child(3n+1),
    .products-list .product-item.col-md-3:nth-child(4n+1):not(.rows-6),
    .products-list .product-item.col-md-3.rows-6:nth-child(6n+1)
    {
        clear: both;
    }

    .head-top > .container > .row {
        display: -ms-flexbox !important;
        display: flex !important;
        align-items: center;
    }

    .head-user__box {
        max-width: 190px;
    }

    .form-search .befor {
        max-width: 182px;
    }

    .header-right {
        padding-right: 0;
    }


    /*========== index ==========*/
    .pro-list-index .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    .main-home .products-list .product-thumbnail img {
        height: 250px;
        object-fit: contain;
    }


    /*========== page childs  ==========*/
    .product-item.rows-6 {
        width: 16.66666667%;
    }

    .product-info {
        min-height: 85px;
    }

    .product-name {
        min-height: 38px;
    }
    .product-thumbnail{
        height: 315px;
        overflow: hidden;
    }
    .product-thumbnail img {
        object-fit: contain;
        height: 310px;
    }
    .news-item {
        margin-bottom: 45px;
    }

    .news-item .news-desc {
        min-height: 60px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .news-item.col-md-4:nth-child(3n+1) {
        clear: both;
    }

    .mous-title span {
        text-overflow: ellipsis;
        overflow: hidden;
        width: auto;
        max-width: 81%;
        padding-top: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .ca-product .mous-title span {
        display: inline-block;
    }

    .head-top__logo {
        width: 44%;
    }

    .form-search form {
        max-width: 180px;
    }


}

@media (min-width: 992px) {
    .modal-lg {
        width: 980px;
    }
}

/*--------------- sm ----------------*/
@media (min-width: 768px) and (max-width: 991px) {
    .news-item.col-sm-6:nth-child(2n+1),
    .products-list .product-item.col-sm-4:nth-child(3n+1) {
        clear: both;
    }
}

/*--------------- max sm ----------------*/
@media (max-width: 991px) {
    .brand-index_list {
        display: none !important;
    }
    .head-top {
        position: relative;
    }

    .bar-menu {
        display: block;
    }

    .head-top__logo img {
        max-height: 22px;
        margin-top: 3px;
    }

    .head-menu--container {
        position: fixed;
        background: rgba(0, 0, 0, .6);
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*z-index: 100;*/
        z-index: -1;
        visibility: hidden;
        opacity: 0;
        overflow-x: hidden;
        overflow-y: scroll;
        transition: all 500ms;
    }

    .head-menu--container.open {
        z-index: 100;
        visibility: visible;
        opacity: 1;
        transition: all 500ms;
    }

    .head-menu--container ul.list-inline {
        background: #fff;
        width: auto;
        display: block !important;
        max-width: 480px;
        min-width: 250px;
        padding: 0 20px 30px 20px;
        float: right;
        transition: all 500ms;
        transform: translateX(100%);
    }

    .head-menu--container.open ul.list-inline {
        transition: all 500ms;
        transform: translateX(0);
    }

    .head-menu--container ul.list-inline li {
        text-align: right;
        display: block;
    }

    .head-menu--container ul.list-inline > li > a {
        font-weight: bold;
    }

    .head-menu ul.list-inline li a {
        display: inline-block;
        width: 100%;
    }

    .head-menu ul li.cancel {
        display: block;
    }

    .head-menu--container.open-center ul.list-inline {
        margin: 0 15%;
        width: 70%;
    }

    .head-menu--container.open-center ul.list-inline li {
        text-align: center;
    }

    /*--- Menu Con ---*/
    .head-menu ul.list-inline li .menu-dropdown {
        position: relative;
        z-index: 1;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .head-menu ul.list-inline li .menu-dropdown .container {
        width: 100%;
    }

    .head-menu ul.list-inline li .menu-dropdown .menu-dropdown__pro {
        display: none;
    }

    .head-menu ul.list-inline li .menu-dropdown .col-md-6 {
        width: 100%;
        padding: 0;
    }


    /*============= index =============*/

    #instagrams .item a img {
        height: 250px;
    }

    /*========= footer ==========*/
    footer .mous-title:before {
        display: none;
    }

    .footer-left {
        text-align: center;
    }

    .footer-left .opening {
        margin-bottom: 20px;
    }

    .footer-left .opening span, .footer-left .span-icon {
        position: relative;
        display: block;
    }

    .footer-left .opening span:after, .footer-left .span-icon:after {
        position: absolute;
        z-index: 1;
        left: 27%;
        right: 27%;
        bottom: 48%;
        width: auto;
        height: 1px;
        content: '';
        background: rgba(0, 0, 0, 0.4);
    }

    .footer-left .opening i, .footer-left .span-icon i {
        display: inline-block;
        font-size: 23px;
        z-index: 2;
        background: #fff;
        position: relative;
        padding: 0 5px;
    }

    .list-store {
        position: relative;
        margin-bottom: 20px;
    }

    .list-store li:before {
        display: none;
    }

    .list-store .marker i {
        font-size: 25px;
    }

    .footer-left ul {
        line-height: 1.7;
    }

    .footer-left__right {
        margin-bottom: 20px;
    }

    .footer-left__right ul i, .footer-social li a span {
        display: none;
    }

    .footer-social {
        text-align: center;
    }

    .footer-social li {
        font-size: 25px;
        padding: 0 8px;
        display: inline-block;
    }

    footer {
        padding: 10px 0 20px;
    }
    .product-thumbnail{
        overflow: hidden;
        height: 195px;
    }
    .product-thumbnail img{
        object-fit: contain;
        height: 200px;
    }
    .formError{
        right: 0;
        left: auto !important;
    }

    /*==== icon phone ====*/
    .phone-mobile-ico{
        /*display: none;*/
        background-color: transparent;
        cursor: pointer;
        height: 120px;
        position: fixed;
        transition: visibility 0.5s ease 0s;
        width: 120px;
        z-index: 999 !important;
        left:0;
        bottom: -27px;
    }
    .phone-mobile-circle{
        animation: 1.1s ease-in-out 0s normal none infinite running phone-mobile-circle;
        background-color: transparent;
        border: 1px solid #009688;
        border-radius: 100%;
        height: 100px;
        left: 0;
        opacity: .1;
        position: absolute;
        top: 0;
        transform-origin: 50% 50% 0;
        transition: all .5s ease 0s;
        width: 100px;
    }
    .phone-mobile-circle-fill{
        animation: 2.3s ease-in-out 0s normal none infinite running phone-mobile-circle-fill;
        border: 1px solid transparent;
        border-radius: 100%;
        height: 70px;
        left: 15px;
        position: absolute;
        top: 15px;
        transform-origin: 50% 50% 0;
        transition: all 0.5s ease 0s;
        width: 70px;
        background-color:  #fff;
    }
    .phone-mobile-img-circle{
        border: 1px solid transparent;
        border-radius: 100%;
        height: 50px;
        left: 25px;
        opacity: 0.7;
        position: absolute;
        top: 25px;
        transform-origin: 50% 50% 0;
        width: 50px;
        background-color: #009688;

    }
    .phone-mobile-img-circle i {
        animation: 1s ease-in-out 0s normal none infinite running phone-mobile-img-circle;
        font-size: 30px;
        line-height: 50px;
        padding-left: 10px;
        color:#fff;
    }


    @keyframes phone-mobile-circle {
        0% {
            opacity: 0.1;
            transform: rotate(0deg) scale(0.5) skew(1deg);
        }
        30% {
            opacity: 0.5;
            transform: rotate(0deg) scale(0.7) skew(1deg);
        }
        100% {
            opacity: 0.6;
            transform: rotate(0deg) scale(1) skew(1deg);
        }
    }

    @keyframes phone-mobile-circle-fill {
        0% {
            opacity: 0.2;
            transform: rotate(0deg) scale(0.7) skew(1deg);
        }
        50% {
            opacity: 0.2;
            transform: rotate(0deg) scale(1) skew(1deg);
        }
        100% {
            opacity: 0.2;
            transform: rotate(0deg) scale(0.7) skew(1deg);
        }
    }

    @keyframes phone-mobile-img-circle {
        0% {
            transform: rotate(0deg) scale(1) skew(1deg);
        }
        10% {
            transform: rotate(-25deg) scale(1) skew(1deg);
        }
        20% {
            transform: rotate(25deg) scale(1) skew(1deg);
        }
        30% {
            transform: rotate(-25deg) scale(1) skew(1deg);
        }
        40% {
            transform: rotate(25deg) scale(1) skew(1deg);
        }
        50% {
            transform: rotate(0deg) scale(1) skew(1deg);
        }
        100% {
            transform: rotate(0deg) scale(1) skew(1deg);
        }
    }
    /*==== icon phone ====*/
}

/*--------------- xs ----------------*/
@media (max-width: 1024px) {
    #imgView img{
        height: 350px;
        object-fit: contain;
    }
    ul#listImgZoom_2 li{
        height: 100%;
    }
    .ul#listImgZoom_2 li img{
        width: 100%;
        object-fit: contain;
        height: 130px;
    }
    .pview-anonymous{
        overflow: hidden;
    }
    .pview-anonymous img{
        height: auto !important;
    }
}
@media (max-width: 768px) {
    footer .regisPhone{
        width: 92%;
    }
    .box-content-detail table{
        width: 100% !important;
    }
    .box-content-detail img{
        height: auto !important;
    }
    .product-name {
        min-height: 40px;
        overflow: hidden;
    }
}
@media (max-width: 767px) {
    .news-item.col-xs-6:nth-child(2n+1),
    .products-list .product-item.col-xs-6:nth-child(2n+1) {
        clear: both;
    }
    .owl-item .product-thumbnail img{
        height: 187px;
    }

    .mous-title span {
        max-width: 65%;
        padding: 4px 5px 0 5px;
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        float: left;
        line-height: 1.2;
    }

    .ca-product .mous-title span {
        display: none;
    }

    .pro-list-index .product-item .product-info {
        top: 35%;
    }
}

@media (max-width: 360px) {
    .mous-title span {
        display: none;
    }
}