html.no-scroll {
    overflow: hidden;
}

.ServiceModal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #1a1f25cc;
    z-index: 100;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    transition: opacity .3s ease-in-out .1s, transform 0s step-end .4s;
}

.ServiceModal.visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity .3s ease-in-out 0s, transform 0s step-end 0s;
}

.ServiceModal .content {
    overflow: hidden;
    background-color: white;
    padding: 4rem;
    min-height: 100px;
    width: 100%;
    max-width: 1100px;
    margin: auto;
    display: block;
    transform: translateY(-25%);
    transition: transform .3s ease-in-out 0s;
    position: relative;
}

.ServiceModal.visible .content {
    transform: translateY(0);
}

.ServiceModal .close-button {
    border: none;
    background-color: white;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 2;
}

.ServiceModal .close-button:hover {
    fill: #FF3B01;
}

@media (max-width: 550px) {
    .ServiceModal .content {
        padding: 2rem;
    }
}

/*******************************************/

.ServiceModal .service-content {
    padding: 2rem;
    background: #f1f1f1;
    position: relative;
}

.ServiceModal .service-content img {
    position: absolute;
    z-index: 0;
    right: 10%;
    top: -8%;
    width: 100%;
    max-width: 200px;
}

.ServiceModal .service-content .title, .ServiceModal .service-content .title2, .ServiceModal .service-content .title3 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 56px;
    width: 40%;
    line-height: 60px;
    position: relative;
    top: -5rem;
}

.ServiceModal .service-content .title2 {
    width: 60%;
    top: -3rem;
}

.ServiceModal .service-content .title3 {

    top: -3rem;
}

.service-content .popups-serv ul, .service-content .popups-serv p {
    font-size: var(--e-global-typography-text-font-size);
    font-family: var(--e-global-typography-text-font-family);
}

.ServiceModal .service-content .popups-serv {
    position: relative;
    z-index: 1;
}


.ServiceModal .d-none {
    display: none !important;
}


@media (max-width: 850px) {

    .ServiceModal .service-content img {
        bottom: 60%;
    }

    .ServiceModal .service-content #img-cont-serv2 {
        bottom: 80%;
    }

    .ServiceModal .service-content .title3 {
        font-size: 45px;
        width: 50%;
    }

    .ServiceModal .service-content .title2 {
        font-size: 45px;
        line-height: 40px;
        top: -6rem;
    }

    .ServiceModal .service-content .title {
        top: -3rem;
        width: 60%;
    }

}

@media (max-width: 790px) {
    .ServiceModal .service-content #img-cont-serv3 {
        bottom: 90%;
    }
}

@media (max-width: 735px) {
    .ServiceModal .service-content img {
        bottom: 42%;
    }

    .ServiceModal .service-content .title2 {
        font-size: 45px;
        line-height: 40px;
        top: -2rem;
    }

    .ServiceModal .service-content .title {
        font-size: 45px;
        line-height: 40px;
        top: -1rem;
        width: 70%;
    }
}

@media (max-width: 600px) {
    .ServiceModal .service-content .title {
        width: 100%;
        top: 0;
    }

    .ServiceModal .service-content .title3 {
        width: 100%;
    }

    .ServiceModal .service-content img {
        bottom: 48%;
    }
}


