/*---------Modal window----------*/

.md-modal {
    max-width: 768px;
    /*height: 90%;*/
    position: fixed;
    top: 50%;
    left: 50%;
    /*width: 570px;*/
    /*height: 732px;*/
    z-index: 999999;
    visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}

@media (max-width: 768.98px) {
    .md-modal {
        width: 90%;
    }
}


.md-modal.thank {
    /*height: 288px;*/
}

.md-modal.thank .md-title {
    display: none;
}

.md-request-order {
    /*height: 786px;*/
}

.md-request-question {
    /*height: 734px;*/
}

.md-request-order-ma {
    /*height: 750px;*/
}

.md-request-order-tarif {
    /*height: 800px;*/
}

.md-request-order-tarif .md-title {
    margin-bottom: 15px;
}

.md-show {
    visibility: visible;
}

.md-close {
    position: absolute;
    top: 40px;
    right: 40px;
    /*color: #DE2828;*/
    /*font-size: 20px;*/
    cursor: pointer;
    /*width: 18px;*/
    /*height: 17px;*/
    /*background: url(img/md_close.webp) no-repeat 0 0;*/
    /*text-decoration: none;*/
}

.md-close:hover {
    /*background: url(img/md_close.webp) no-repeat 0 -17px;*/
}

/*  Задний фон  .md-overlay*/

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 99999;
    opacity: 0;
    background: rgba(33, 36, 46, 0.80);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show ~ .md-overlay {
    opacity: 1;
    visibility: visible;
}

/* Content styles */
.md-content {
/*    overflow: auto;
    width: 100%;
    height: 100%;
    position: relative;
    color: #fff;
    text-align: center;
    padding: 25px 35px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    vertical-align: middle;
    background: #f4f4f4;
    background-clip: padding-box;
    color: #182a3c;
    -webkit-box-shadow: 0px 0px 8px #171a24;
    box-shadow: 0px 0px 8px #171a24;*/
    border: 14px solid #cb5dff;
    border-radius: 20px;
    background: #1a1649;
    padding: 75px;
}

@media (max-width: 991.98px) {
    .md-content {
        padding: 55px 25px;
    }
}



.md-title {
    font-family: "Unbounded", sans-serif;
font-weight: 300;
font-size: 30px;
line-height: 140%;
text-transform: uppercase;
color: #fff;
/*white-space: nowrap;*/
    /*font: 30px 'Appetite-Rounded';
    color: #E6AC03;
    margin-bottom: 30px;*/
}

@media (max-width: 991.98px) {
    .md-title {
        font-size: 30px;
    }
}
@media (max-width: 475.98px) {
    .md-title {
        font-size: 25px;
    }
}

.md-title span{
    font-weight: 700;
color: #a6f228;
}

.md-tarif {
    font: 25px 'Appetite-Rounded';
    color: #F6A100;
    margin-bottom: 20px;
}

.md-content .feedback__input-placeholder {
    display: none;
    /*text-align: left;
    color: #565656;*/
}

/*.md-content .feedback__input {
    text-align: left;
    color: #565656;
    border-radius: 10px;
}*/

.md-content textarea {
    height: 160px;
    padding-top: 15px;
}

.md-content input[type="text"],
.md-content input[type="email"],
.md-content input[type="tel"] {
    width: 100%;
}

@media (min-width: 992px){
    #modal-2 {
        width: auto;
    }
    #modal-20,
    #modal-1,
    #modal-2 {
        /*width: 700px;*/
    }

    #modal-20 .md-content,
    #modal-1 .md-content,
    #modal-2 .md-content {
        /*height: auto;
        min-height: 250px;*/
    }

    .md-title {
        /*line-height: 36px;*/
    }
    .form-flex {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
    }

    .ff-inputs {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .ff-inputs__left{
        width: 100%;
    }

    .ff-inputs__right,
    .ff-inputs__left {
        /*width: 48%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;*/
    }

    .ff-inputs__right>*:last-child,
    .ff-inputs__left>*:last-child {
        /*margin-bottom: 0;*/
    }

/*    .feedback__button--order {
        width: 270px !important;
        height: 60px !important;
        line-height: 60px !important;
    }
    .feedback__button--order:before {
        line-height: 60px !important;
    }*/
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 120;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.md-modal {
    z-index: 1000;
}


.slide-form__group .slide-form__error{
margin: 10px 0 0;
}