.container_modal_form, .container_modal_thank, .container_swiper_photo{
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(139, 139, 139, 0.62);
    z-index: 5;
}


.swiper_photo_modal .swiper-slide{
    text-align: center;
}

.wrap_swiper_photo{
    padding-top: 100px;
    max-width: 40%;
    margin: auto;
    height: calc(90vh - 100px);
    overflow-y: auto;
    border-radius: 15px;
}

.wrap_swiper_photo .wrap_img_photo_school{
    margin: auto;
    max-width: 100%;
    width: 100%;
}

.swiper_photo_modal .swiper-button-prev, .swiper_photo_modal .swiper-button-next{
    --swiper-theme-color: #ffffff;
}

.wrap_swiper_photo .wrap_img_photo_school img{
    width: 100%;
    max-width: 100%;
    max-height: 550px;
    border-radius: 15px;
}

.wrap_close_swiper_photo{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

.wrap_img_photo_school{
    cursor: pointer;
}

.wrap_modal_form{
    padding-top: 100px;
}

.wrap_modal_form form{
    position: relative;
    max-width: 576px;
    margin: auto;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(27, 126, 152, 0.5);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
}

.wrap_modal_form h2{
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 34px;
    color: #212121;
    border-bottom: 3px solid #33ACCC;
    padding-bottom: 10px;
}

.wrap_modal_form h3{
    margin-top: 16px;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 30px;
    text-align: center;
    color: #212121;
    max-width: 370px;
}

.wrap_modal_form input{
    border: 2px solid #212121;
    border-radius: 8px;
    padding: 15px 27px;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 26px;
    color: #212121;
    margin-top: 24px;
}

.wrap_modal_form .buttons{
    margin-top: 40px;
}

.wrap_close_form{
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.wrap_thank{
    position: relative;
    max-width: 576px;
    margin: auto;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(27, 126, 152, 0.5);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    padding-bottom: 100px;
    padding-top: 100px;
    box-sizing: border-box;
}

@media (max-width:1550px) {
    .wrap_swiper_photo .wrap_img_photo_school img{
        max-height: 460px;
    }
}


@media (max-width: 1250px) {
    .wrap_modal_form form, .wrap_thank {
        max-width: 440px;
    }
}

@media (max-width: 767px) {
    .wrap_modal_form form, .wrap_thank {
        max-width: 288px;
        box-sizing: border-box;
        padding: 15px;
    }

    .wrap_modal_form input{
        max-width: 100%;
        box-sizing: border-box;
        font-size: 22px;
        line-height: 26px;
        padding: 10px;
    }

    .wrap_modal_form .buttons{
        max-width: 100%;
        width: 100%;
        margin-top: 24px;
    }

    .wrap_modal_form h2{
        font-size: 20px;
        line-height: 30px;
        text-align: center;
    }

    .wrap_modal_form h3{
        font-size: 16px;
        line-height: 24px;
    }

    .wrap_close_form {
        top: 3px;
        right: 3px;
    }

    .wrap_swiper_photo{
        max-width: 80%;
    }

    .swiper_photo_modal .swiper-button-prev, .swiper_photo_modal .swiper-button-next{
        display: none;
    }

    .wrap_swiper_photo .wrap_img_photo_school img{
        max-height: 400px;
    }

}

@media (max-width: 576px) {
    .wrap_swiper_photo .wrap_img_photo_school img{
        max-height: 190px;
    }
}