/*danh sách tin xe*/

#wrapper .list-cars .list {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#wrapper .list-cars .list .item {
    flex-basis: 32%;
    margin-bottom: 25px;
    box-shadow: 0 0 10px 3px #000;
}

#wrapper .list-cars .list .item:last-child {
    border: none;
    margin-bottom: 0;
    box-shadow: none;
}

#wrapper .list-cars .list .item:hover .car {
    color: var(--red);
}

.car {
    font-size: 16px;
}

.list .item .img {
    display: block;
    overflow: hidden;
}

.list .item .img img {
    height: 260px;
}

.list .item .info {
    background: var(--bgInfoCar);
}

.list .item .info .info-car {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 10px;
}

.list .item .info .info-car .item-info {
    flex-basis: 49%;
    margin-bottom: 10px;
    color: var(--white);
}

.info-car .item-info i {
    margin-right: 2px;
    color: var(--white);
}

.list .item .info .car {
    display: inline-block;
    width: auto;
    padding: 15px 10px;
    line-height: 26px;
    min-height: 82px;
}

.list .item .info .box-year-price {
    padding: 5px 10px 10px;
    background-color: #0B2239;
    display: flex;
    justify-content: space-between;
}

.list .item .info .box-year-price .icon {
    color: var(--red);
}

.list .item .info .car:hover {
    color: var(--red);
}

.list .item .info .box-year-price .tra-truoc {
    color: var(--white);
    font-style: italic;
}

/*Danh sách tin tức*/

.news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px;
    border-radius: 4px;
}

.news .box-1 {
    flex-basis: 55%;
}

.news .box-2 {
    flex-basis: 43%;
}

.news .list-news {
    margin-top: 20px;
}

.list-news .item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

.list-news .item .img {
    display: inline-block;
    flex-basis: 25%;
}

.list-news .item .img img {
    height: 90px;
}

.list-news .info {
    flex-basis: 73%;
}

.list-news .info .car {
    display: inline-block;
    position: relative;
    top: -5px;
}

.list-news .info .car:hover {
    color: var(--red);
}

/*dịch vụ salon*/
#call {
    background-image: url(/uploads/salon/images/bg-call.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    height: 350px;
}

#call .tl-box {
    text-align: center;
}

#call .tl-lazy-salon {
    color: var(--white);
    font-weight: bold;
    z-index: 100;
    position: relative;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
}

#call .tl-box i {
    color: var(--white);
    font-size: 60px;
}

#call .tl-box h3 {
    color: var(--white);
    font-weight: bold;
    margin-top: 25px;
    font-size: 18px;
    text-transform: uppercase;
}

#call .tl-box p {
    color: var(--white);
    margin: 10px;
}

/*dịch vụ salon*/
#call {
    background-image: url(/uploads/salon/images/bg-call.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    height: 380px;
}

#call:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
}

#call .salon-intro {
    color: var(--white);
    font-weight: bold;
    z-index: 100;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 1200px;
}

#call .salon-intro .item {
    border-radius: 4px;
    text-align: center;
    flex-basis: 32%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#call .salon-intro .item:hover a i, #call .salon-intro .item:hover a h3 {
    color: var(--red);
}

#call .salon-intro .item h3 {
    color: var(--white);
    font-weight: bold;
    margin-top: 25px;
    font-size: 18px;
    text-transform: uppercase;
}

#call .salon-intro .item i {
    color: var(--white);
    font-size: 60px;
}

/*youtube*/
.vide {
    position: relative;
}

.video-youtube {
    position: relative;
    background-color: #35363e;
    height: 400px;
}

.vide-bg {
    background-image: url(../images/video-bg.jpg);
    position: absolute;
    z-index: 0;
    inset: 0px;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.75;
    top: 0;
    left: 0;
}

.vide-bg video {
    visibility: visible;
    margin: auto;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}

.list-video {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #fff;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.list-video .item {
    flex-basis: 32%;
}

.list-video .item-title {
    flex-basis: 100% !important;
    margin-bottom: 15px;
}

.list-video .item:last-child {
    display: none;
}

.list-video .item-title h2 {
    color: var(--white);
}

.list-video .item img {
    border-radius: 4px 4px 0 0;
}

.list-video .item p {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 0 0 4px 4px;
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2em;
    line-height: 1.4em;
    min-height: 91px;
}

.list-video .item .al-title-video {
    color: var(--black);
}

.list-video .item a {
    display: inline-block;
    width: 100%;
}

.list-video .item a:hover p {
    color: var(--red);
}

@media only screen and (max-width: 1200px) {
    #wrapper {
        padding: 15px 0;
    }

    #wrapper .list-cars {
        padding: 0 15px;
    }

    /*dịch vụ salon*/
    #call .salon-intro {
        width: 100%;
    }

    .list-video {
        padding: 0 15px;
    }

    .news iframe {
        width: 100%;
    }

}

@media only screen and (max-width: 1024px) {
    /*danh sách tin xe*/
    #wrapper .list-cars .list .item {
        flex-basis: 32%;
    }

    .list .item .img img {
        height: 200px;
    }

    .car {
        font-size: 14px;
    }

    .list .item .info .car {
        line-height: 22px;
        min-height: 64px;
        padding: 10px;
    }
}

@media only screen and (max-width: 991px) {
    /*danh sách tin xe*/
    .list .item .info .box-year-price {
        flex-direction: column;
    }

    .list .item .info .box-year-price .tra-truoc {
        margin-top: 5px;
    }

    /*danh sách tin tức*/
    .news {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .news .box {
        flex-basis: 100%;
    }

    .list-news .item .img img {
        height: 135px;
    }

    /*dịch vụ salon*/
    #call .salon-intro .item i {
        font-size: 50px;
    }

    #call .salon-intro .item h3 {
        margin-top: 20px;
        font-size: 16px;
    }
}

@media only screen and (max-width: 768px) {
    /*danh sách tin xe*/
    #wrapper .list-cars .list {
        margin-top: 15px;
    }

    #wrapper .list-cars .list .item {
        margin-bottom: 15px;
    }

    .list .item .info .box-year-price {
        display: flex;
        flex-direction: column;
    }

    .list .box-year-price .icon {
        display: none;
    }

    .list .item .img img {
        height: 150px;
    }

    .list .item .info .car {
        padding: 10px 5px;
    }

    .list .item .info .info-car {
        padding: 0 5px;
    }

    .list .item .info .info-car .item-info {
        font-size: 12px;
    }

    .info-car .item-info i {
        font-size: 12px;
    }

    .price {
        font-size: 14px;
    }

    /*danh sách tin tức*/
    .news .list-news {
        margin-top: 15px;
    }

    .list-news .item .img img {
        height: 103px;
    }

    /*dịch vụ salon*/
    #call .salon-intro .item i {
        font-size: 40px;
    }

    #call .salon-intro .item h3 {
        margin-top: 15px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 576px) {
    /*danh sách tin xe*/
    #wrapper .list-cars {
        padding: 0 10px;
    }

    #wrapper .list-cars .list .item {
        flex-basis: 49%;
    }

    .list .item .info .info-car .item-info {
        margin-bottom: 3px;
    }

    .list .item .info .car {
        padding: 5px;
    }

    .list .item .info .box-year-price .tra-truoc {
        margin-top: 3px;
    }

    .list .item .info .box-year-price {
        padding: 5px;
    }

    /*danh sách tin tức*/
    .news {
        padding: 10px;
    }

    .list-news .item .img img {
        height: 90px;
    }

    .list-news .item {
        margin-bottom: 15px;
    }

    /*fanpage*/
    .list-news .item iframe {
        height: 250px;
    }

    /*phân trang*/
    .pagination {
        margin-bottom: 15px;
    }

    /*dịch vụ salon*/
    #call {
        height: 250px;
    }

    #call .salon-intro .item i {
        font-size: 30px;
    }

    #call .salon-intro .item h3 {
        margin-top: 15px;
        font-size: 12px;
    }

    /*youtube*/
    .list-video .item {
        flex-basis: 49%;
        margin-bottom: 15px;
    }

    .list-video .item:last-child {
        display: block;
    }

    .video-youtube {
        height: 610px;
    }

    .list-video .item p {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .video-youtube {
        height: 530px;
    }
}

@media only screen and (max-width: 420px) {
    /*danh sách tin xe*/
    .list .item .img img {
        height: 120px;
    }

    .list-news .item .img {
        display: inline-block;
        flex-basis: 20%;
    }

    .list-news .info {
        flex-basis: 78%;
    }

    .list-news .item .img img {
        height: 55px;
    }

    .list-news .info .description {
        display: none;
    }
}

@media only screen and (max-width: 400px) {
    .info-car .item-info i {
        font-size: 10px;
    }

    .info-car .item-info i {
        margin-right: 0;
    }

    .list .item .info .car {
        min-height: 76px;
    }
}

@media only screen and (max-width: 370px) {
    .list-news .info .description {
        display: none;
    }

    .info-car .item-info i {
        display: none;
    }
}

@media only screen and (max-width: 320px) {
    /*danh sách tin xe*/
    #wrapper .list-cars .list .item {
        flex-basis: 100%;
    }

    .list .item .img img {
        height: 168px;
    }

    .list .item .info .car {
        min-height: auto;
    }

    .list .item .info .box-year-price {
        display: inline-block;
    }

    .list .box-year-price .icon {
        display: inline-block;
    }

    .info-car .item-info i {
        display: inline-block;
    }

    .info-car .item-info i {
        margin-right: 2px;
    }

    .info-car .item-info i {
        font-size: 12px;
    }

    /*danh sách tin tức*/
    .list-news .item .img img {
        height: 42px;
    }

    .list-news .item {
        margin-bottom: 10px;
    }

    /*dịch vụ salon*/
    #call .salon-intro .item i {
        font-size: 24px;
    }

    #call .salon-intro .item h3 {
        margin-top: 8px;
        font-size: 10px;
        line-height: 16px;
    }
}
