﻿.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;
    font-family: InterR;
    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 {
        font-size: 18px;
        font-family: InterR;
        color: #e9a93c;
        text-decoration: none;
        float: none;
        border-radius: 4px;
        position: relative;
        transition: 0.5s;
        display: inline-block;
    }

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

    .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 {
    font-family: InterR;
    line-height: 1.5;
    margin-bottom: 40px;
}
.detail-service-child h2 {
    font-family: 'VNF-Optima' !important;
    line-height: 175%;
    font-size: 18px !important;
    color: var(--default-color-1);
}

.detail-service-child {
    font-family: 'VNF-Optima';
}

.detail-service-child ul {
    padding-left: 19px;
}
.title-relate-service-child h2 {
    margin: auto;
    color: var(--default-color-2);
    display: block;
    font-family: 'VNF-OPTIMA';
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 38px;
    margin-top: 20px;
    text-transform: capitalize;
}

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

.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) {
    .img-detail-ar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

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

    .service {
        padding: 20px 0;
    }
}


.detail-service {
    padding: 50px 0;
}

@media(max-width:1023px) {
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {

    .service {
        padding: 20px 0;
    }

    .detail-service {
        padding-top: 0;
        padding-bottom: 20px;
    }

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

    .detail-service-child {
        margin-bottom: 22px;
    }
}
