﻿.item-services {
    display: block;
    overflow: hidden;
    position: relative;
    padding-bottom: 80px;
    margin: 20px 0;
}

.img-services-inner {
    width: 58%;
    float: right;
    position: absolute;
    right: 0;
    bottom: 0;
    top: 90px;
    overflow: hidden;
    z-index: 3;
}

    .img-services-inner a {
        overflow: hidden;
        border-radius: 20px;
    }

        .img-services-inner a img {
            transition: all linear .3s;
            border-radius: 20px;
        }

    .img-services-inner:hover a img {
        transform: scale(1.1);
        border-radius: 20px;
    }

.infos-services-inner {
    width: 45%;
    float: left;
    background: url(/Design/img/BeThuiCauMong/khachHang/decorBack.png) no-repeat;
    background-size: cover;
    padding: 40px;
    margin-left: 15px;
    margin-top: 15px;
    padding-right: 100px;
    box-sizing: border-box;
    min-height: 450px;
    display: flex;
    z-index: 2;
    position: relative;
    border-radius: 20px;
    /* box-shadow: 1px 2px 10px #00000057; */
}

.item-services:nth-child(2n+2) .img-services-inner {
    float: left;
    left: 0;
    right: inherit;
    top: 0;
    bottom: 90px;
}

.item-services:nth-child(2n+2) .infos-services-inner {
    float: right;
    padding-right: 40px;
    padding-left: 100px;
    margin: 0;
    margin-right: 15px;
    margin-bottom: 15px;
}

.img-services-inner img {
    width: 100%;
    height: 420px;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.item-services:nth-child(2n+2) {
    padding-bottom: 0;
    padding-top: 80px;
}

.item-services:nth-child(n+2) {
    margin-top: 40px;
}

.infos-services-inner:before {
    content: "";
    position: absolute;
    left: -15px;
    top: -15px;
    right: -15px;
    bottom: -15px;
    border: 1px solid #df1d25;
    z-index: -1;
    border-radius: 20px;
}

.margin-auto-services {
    margin: auto;
    display: block;
    width: 100%;
}

.title-services-inner {
    font-size: 26px;
    /* text-transform: uppercase; */
    font-family: asapSB;
    color: #fff;
    line-height: 152%;
}

    .title-services-inner:after {
        content: "";
        width: 21%;
        height: 1px;
        background: #df1d25;
        display: block;
        margin-top: 10px;
    }

.des-services-inner {
    font-size: 17px;
    font-family: 'AsapR';
    margin-top: 30px;
    line-height: 26px;
    text-align: justify;
    color: #fff;
}

.detail-service {
    display: block;
    overflow: hidden;
    margin-top: 30px;
    text-align: left;
}

    .detail-service a {
        font-size: 18px;
        font-family: 'AsapR';
        color: #df1d25;
        text-decoration: none;
        float: none;
        border-radius: 4px;
        position: relative;
        transition: 0.5s;
        display: inline-block;
    }

        .detail-service a:hover i {
            margin-left: 10px;
        }

        .detail-service a i {
            margin-left: 5px;
            font-size: 19px;
            width: 27px;
            height: 25px;
            color: #fff;
            background: #df1d25;
            border-radius: 50%;
            text-align: center;
            line-height: 23px;
            box-sizing: border-box;
            padding-left: 3px;
            transition: 0.5s;
        }


@media only screen and (max-width: 639px) {
    .item-services:nth-child(n+1) {
        padding-bottom: 15px;
        padding-top: 0;
    }

    .img-services-inner {
        position: relative;
        width: 100%;
        top: 0;
    }

    .infos-services-inner {
        width: calc(100% - 30px);
        min-height: unset;
        /* margin: 0; */
        box-sizing: border-box;
        padding: 10px !important;
        /* margin-top: -80px !important; */
    }

    .title-services-inner {
        font-size: 23px;
        line-height: 154%;
    }

    .des-services-inner {
        font-size: 14px;
    }

    .detail-service {
        margin-top: 15px;
    }
}

.bannerchange {
    padding-top: 90px;
}

.tit-page.size-medium h1 {
    font-size: 42px;
    color: #009bd5;
    font-family: playM;
    text-align: center;
    padding-top: 20px;
}

.tit-page.size-medium h2 {
    font-family: InterR;
    color: #616161;
    font-size: 16px;
    display: block;
    line-height: 1.5;
    margin-bottom: 46px;
    padding: 0 109px;
    text-align: center;
    padding-top: 10px;
}

.bannerchange img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-service-child {
    font-family: InterR;
}

.title-relate-service-child h2 {
    font-family: 'InterR';
    font-size: 28px;
    line-height: 1.5;
    color: #616161;
    margin: auto;
    font-weight: normal;
    display: block;
    text-transform: uppercase;
}

.title-relate-service-child {
    padding-top: 20px;
}

.img-detail-ar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-detail-ar {
    padding-bottom: 20px;
}

.detail-service-child table {
    width: 100% !important;
}

    .detail-service-child table td {
        padding: 10px;
        border: 1px solid #333;
    }

@media only screen and (max-width: 1023px) {

    .tit-page.size-medium h1 {
        font-size: 26px;
    }

    .tit-page.size-medium h2 {
        padding: 0 10px;
        margin-top: 15px;
    }

    .img-services-inner img {
        height: 100%;
    }

    .item-services:nth-child(2n+2) .img-services-inner {
        float: left;
        left: 0;
        right: inherit;
        top: -15px;
        bottom: 90px;
    }
}

.top-service-home h1 {
    font-size: 38px;
    font-family: 'lober';
    color: #191a1c;
    margin: 0;
    text-align: center;
    margin-bottom: 45px;
}

.contructor-child {
    padding: 60px 0;
}
