﻿.about_box1 {
    position: relative;
    background-color: white;
    padding: 17px;
    margin: 22px 0px -9px 0px;
    text-align: center;
}

#under .box01 {
    background-color: #053357;
    height: 100%;
    padding-top: 60px;
    margin-bottom: 0;
    padding-bottom: 0;
}

    #under .box01::before {
        top: 275px;
        width: 185px;
    }

    #under .box01::after {
        content: '';
        position: absolute;
        z-index: -1;
        top: 1400px;
        right: 0;
        width: 168px;
        height: 557px;
        background: url(/asssets/images/circlegrey.png) no-repeat center left / contain;
    }

/*.service_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}*/

.service_itm {
    display: flex;
    padding: 30px 0;text-decoration: none;
}
.service_list:nth-child(2n - 1) .service_itm {
    flex-direction: row-reverse;
	background: #fbfbfb;
}

/*.service_itm--odd img {
    order: 1;
}

.service_itm--even img {
    order: 3;
}*/
.service_itm img {
}

.service_itm .content {
    padding: 15px;
}

.service_content {
    width: 50%;
    padding: 20px 0 0 30px;
    /*order: 2;*/
    text-align: left;
}

.service_itm--even .service_content {
    text-align: right;
    padding: 70px 70px 0 0;
}

.service_content p {
    font-size: 21px;
    margin-bottom: 35px;
    line-height: 28.5px;
    color: #000;
}

.service_content h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 40px;
    margin-bottom: 12px;
    color: var(--mcolor);
}

.service_content button {
    display: inline-flex;
    margin: 16px auto 0;
    padding: 12px 26px 12px;
    color: var(--m-color);
    border: none;
    outline: 0;
    font-weight: 500;
 background: linear-gradient(-90deg, rgb(161 73 6) 0%, rgb(84 43 13) 25%, rgb(156 130 112) 100%);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition:.3s;
}
.service_content button:hover {
    opacity:0.7;
}
    .services_ft {
    position: relative;
    height: 440px;
}

    .services_ft .services_ft1 {
        position: absolute;
        left: 360px;
        width: 29%;
        bottom: 0;
        z-index: -1;
    }

    .services_ft .services_ft2 {
        position: absolute;
        z-index: -1;
        right: 0;
        width: 26%;
        bottom: 0;
    }

    .services_ft .services_ft3 {
        position: absolute;
        z-index: -1;
        width: 13%;
        bottom: 99%;
    }
 .service_img{
            margin: auto;
            text-align: center;
            width: 30%;
        }
.button-contact {
    position: fixed;
    bottom: 95px;
    right: 50px;
    margin-bottom: 0;
    width: 60px;
    z-index: 99999;
}

#messenger-contact {
    display: block;
    transition: all 0.5s;
    animation: slide-top 0.8s linear infinite alternate-reverse;
}

#viber-contact {
    display: block;
    transition: all 0.5s;
    animation: slide-top 0.8s linear infinite alternate-reverse;
    bottom: 20px;
    position: fixed;
}

    #viber-contact img {
        border-radius: 5px;
    }

.footer {
    padding-top: 60px;
}

@media screen and (max-width: 768px) {
    .service_list {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin: 0 auto;
    }
 .service_img {
                width: 70%;
            }
    .service_itm {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        align-items: center;
        margin: auto;
        text-align: center;
        flex-direction: column-reverse;
        position: relative;
    }
    .service_list:nth-child(2n - 1) .service_itm {
        flex-direction: column-reverse;
    }
        .service_itm img {
            width: 100%;
            height: auto;
        }

    .service_itm--even img {
        order: 1;
    }

    .service_content {
        padding: 7px 0px 34px 0;
        top: auto;
        width: auto;
    }

    .service_itm--even .service_content {
        text-align: left;
        padding: 7px 0px 34px 0;
    }

    .service_content h2 {
        margin-bottom: 11px;
        font-size: 24px;
    }

    .service_content p {
        margin-bottom: 4px;
        font-size: 17px;
    }

    #under .box01 {
        height: 100%;
        padding-bottom: 0;
        margin-bottom: 40px;
    }

    .services_ft .services_ft1 {
        right: 257px;
        bottom: 0;
        left: unset;
        width: 49%;
    }

    .services_ft .services_ft2 {
        height: unset;
        left: unset;
        bottom: -46px;
        width: 44%;
    }

    #under .box01::before {
        top: 125px;
    }

    #under .box01::after {
        top: 1280px;
        right: 0;
        width: 46px;
        height: 507px;
        background: url(/asssets/images/circlegrey.png) no-repeat center left / contain;
    }

    .services_ft {
        margin-top: -280px;
    }

    .footer {
        padding-top: 30px;
    }

    .services_ft .services_ft3 {
        display: none;
    }

    .button-contact {
        width: 40px;
        bottom: 66px;
    }
}
