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

.p-news-content {
    transform: translateY(-56px) !important;
}

.img-services-inner a {
    overflow: hidden;
}

section.detail-service-child.img-detail-about h2 {
    font-size: 18.792px;
    font-family: 'BeauDisB';
    line-height: 133%;
    background: linear-gradient(180deg, #C2966B 0%, #5A3204 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.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;
    margin-top: 30px;
    text-align: left;
}

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

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

    section.detail-service-child.img-detail-about h2 {
        font-size: 17.792px;
    }

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

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

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

.service {
    padding: 50px 0;
}

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

.img-detail-ar img {
    width: 100%;
    height: 510px;
    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;
}