﻿.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;
    }

        .img-services-inner a img {
            transition: all linear .3s;
        }

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

.infos-services-inner {
    width: 45%;
    float: left;
    background: #eff6ff;
    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;
    /* 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: 100%;
    display: block;
    object-fit: cover;
}

.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 #ffc506;
    z-index: -1;
}

.margin-auto-services {
    margin: auto;
    display: block;
}

.title-services-inner {
    font-size: 30px;
    /* text-transform: uppercase; */
    font-family: playsb;
    color: #ffc506;
}

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

.des-services-inner {
    font-size: 17px;
    margin-top: 30px;
    line-height: 26px;
    text-align: justify;
    color: rgb(0 0 0 / 80%);
}

.detail-service {
    display: block;
    overflow: hidden;
    text-align: left;
}

    .detail-service a:hover i {
    }

@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: 25px;
    }
}

.detail-service-child {
    line-height: 28px;
}

.l-service-detail-child .p-title {
    text-align: left;
    margin: 0;
}

.l-service-detail-child .p-descript {
    text-align: justify;
    font-weight: 600;
}

.title-relate-service-child h2 {
    font-family: 'BeauDisB';
    margin: auto;
    font-weight: 100;
    color: var(--default-color-1);
    display: block;
    font-size: 30px;
}

div#ctl00_ContentPlaceHolder1_pnOther {
    padding-bottom: 20px;
}

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

.service {
    padding: 50px 0;
}

    .service .p-news-list {
        margin-top: 50px;
    }

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

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

.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;
    }

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

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

.detail-service {
    padding: 50px 0;
    padding-bottom: 0;
    background-image: url(../../../Design/img/bg-home-rating.png);
    background-size: cover;
}

.full-detail-service-child {
    display: flex;
}

.l-service-detail-child {
    flex: 1 1 0;
}

.r-service-list-child .p-news-img {
    height: 300px;
}

.r-service-list-child {
    width: 30%;
    margin-left: 20px;
}

    .r-service-list-child .p-news-list {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 20px;
        margin-top: 15px;
    }