
.modal {
    z-index: 999999;
}
.modal-form .modal-dialog {
    width: 1040px;
    max-width: 85%;
}
.modal-form .modal-content {
    border: none;
    box-shadow: none;
    border-radius: 0;
    background:url(../img/modal/bg.png) no-repeat top center #fff;
    background-size: 100% auto;
    padding: 0 clamp(1rem, 0.01rem + 3.6vw, 3.25rem) 32px;
}
.modal-form .modal-header {
    padding-top: 68px;
    padding-bottom: clamp(2rem, 1.6284rem + 1.3514vw, 3.25rem);
    border: none;
    display: block;
}
.modal-tips .btn-close,
.modal-form .modal-header .btn-close {
    padding: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    background:url(../img/modal/close.svg) no-repeat center;
    border-radius: 0;
    border: none;
    outline: none;
    z-index: 1;
}
.modal-form .modal-title {
    line-height: initial;
    text-align: center;
}
.modal-form .row {
    row-gap: clamp(1rem, 0.8514rem + 0.5405vw, 1.5rem);
}
.modal-form .btn[type="submit"] {
    margin-top: clamp(1.8rem, 1.3rem + 1.2vw, 3rem);
}

.modal-form .form-label  {
    display: block;
    font-size: clamp(1.125rem, 1.0878rem + 0.1351vw, 1.25rem);
    font-weight: 700;
    margin-bottom: clamp(0.375rem, 0.2635rem + 0.4054vw, 0.75rem);
}
.modal-form .form-control,
.modal-form .form-select {
    min-height: auto;
    display: flex;
    align-items: center;
    color: #000;
    font-size: 16px;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 16px;
    border-radius: 8px;
    border: 1px solid rgba(204, 204, 204, 1);
}
.modal-form input.form-control,
.modal-form .form-select {
    height: 56px;
}
.modal-form textarea.form-control {
    padding-top: 16px;
    padding-bottom: 16px;
    max-height: 120px;
}
.modal-form .form-select {
    background-image: url(../img/modal/dropdown.svg);
}
.modal-tips .modal-body .section {
    padding: 1rem 0;
}

body.modal-open.single-programm .header, 
body.modal-open.single-programm .section,
body.modal-open.single-programm .secton img {
    filter: blur(10px);
}
.modal-dialog-scrollable .modal-content {
    max-height: calc(var(--vh, 1vh) * 100 - 60px);
}
@media (max-width: 767px) {
    .modal-tips .modal-body .ratio {
        --bs-aspect-ratio: 177.78%!important;
    }
}
.modal-tips .modal-body .ratio>* {
    width: auto;
    transform: translateX(50%);
    right: 50%;
}