.modal_content{
    display: none;
    color: #000;

}
div#form_success {
    display: inline-block;
    max-width: 750px;
    background-color: transparent;
    padding: 1px;
}
.top_form_success {
    background: #E6F9FF;
    border-radius: 20px 20px 0 0;
    padding: 20px;
}
.bottom_form_success {
    border-radius: 0 0 20px 20px;
    background-color: #fff;
    padding: 20px 40px;
}
.wrap_img_letter {
    margin: auto;
    text-align: center;
    position: relative;
}
.wrap_img_letter img {
    position: relative;
}
.krug {
    width: 180px;
    height: 180px;
    position: absolute;
    background-color: #51BCF5;
    border-radius: 50%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 0;
}
.bottom_form_success h2 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 60px;
    line-height: 70px;
    text-align: center;
    letter-spacing: 0.04em;
    color: #282828;
    padding: 20px 0;
}
.bottom_form_success p {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    letter-spacing: 0.04em;
    color: #000000;
}
.personal_link {
    color: #fff;
    text-decoration: underline;
}
div#personal {
    max-width: 1000px;
    border-radius: 20px;
}
.personal_modal_wrap h2 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 32px !important;
    line-height: 40px !important;
    letter-spacing: 0.04em;
    color: #000000;
}
.personal_modal_wrap h3 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    letter-spacing: 0.04em;
    color: #282828;
    padding: 20px 0;
}
.personal_modal_wrap p{
    margin-bottom: 20px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.04em;
    color: #282828;
}
.personal_modal_wrap .plat-button {
    max-width: 270px;
    margin-bottom: 28px;
}
.personal_modal_wrap .checkbox {
    margin-bottom: 32px;
    margin-top: 32px;
    color: #51BCF5;
}
.personal_modal_wrap .checkbox .checkmark {
    border: 1px solid #51BCF5;
}
.personal_modal_wrap .checkbox .checkmark:after {
    border: solid #51BCF5;
    border-width: 0 3px 3px 0;
}

.overflow  {
    max-height: 500px;
}
.personal_modal_wrap{
    overflow-y: scroll;
}

.personal_modal_wrap::-webkit-scrollbar {
    width: 5px;
}

.personal_modal_wrap::-webkit-scrollbar-track {
    -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
    background-color: #f9f9fd;
    border-radius: 10px;
}

.personal_modal_wrap::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #51BCF5;
}
/***** preloader *******/
.preloader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    /* фоновый цвет */
    background: #fff;
    z-index: 1301;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 3s;
}

.preloader__image {
    position: relative;
    width: auto;
    height: auto;
		max-width: 100%;
}
.loaded_hiding .preloader {
    transition: 0.3s opacity;
    opacity: 0;
}

.loaded .preloader {
    display: none;
}
/****** end preloader *******/

.contact-form .input-label input{
    border-radius: 0;
}


@media (max-width: 768px){
    .bottom_form_success h2 {
        font-size: 30px;
        line-height: 45px;
    }
    .bottom_form_success p {
        font-size: 14px;
        line-height: 20px;
    }
    .fancybox-content {
        padding: 32px 24px;
    }
    .personal_modal_wrap h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .personal_modal_wrap h3 {
        font-size: 18px;
        line-height: 1.3;
        padding: 20px 0;
    }
    .personal_modal_wrap p{
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 1.3;
    }
    .personal_modal_wrap .plat-button {
        margin-bottom: 10px;
        max-width: 220px;
    }
    .personal_modal_wrap .checkbox {
        margin-bottom: 20px;
        margin-top: 20px;
    }

}