@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700&display=swap');

/* ------ Сourses-feedback banner ----- */

.mf-courses-feedback {
    background: linear-gradient(231.14deg, rgba(53, 223, 224, 0) 22.79%, rgba(53, 223, 224, 0.5) 76.57%), #056ED0;
    border-radius: 20px;
    color: #FFFFFF;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    max-width: 750px;
    padding: 40px;
    position: relative;
}

.mf-courses-feedback_caption {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 20px;
}

.mf-courses-feedback_tagline {
    line-height: 28px;
    font-size: 18px;
    margin-bottom: 23px;
}

.mf-courses-feedback_content-group {
    display: flex;
    flex-direction: column;
    max-width: 360px;
}

.mf-courses-feedback_form-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.mf-courses-feedback_tel-input {
    border: none;
    border-radius: 5px;
    padding: 11px;
    color: #333333;
    font-size: 16px;
    line-height: 18px;
    box-sizing: border-box;
    max-width: 210px;
    height: 40px;
}

.mf-courses-feedback_tel-input::placeholder {
    color: #9499AC;
}

.mf-courses-feedback_tel-input:focus {
    outline: none;
    border: #C9CDDA 1px solid;
}

.mf-courses-feedback_tel-send-btn {
    user-select: none;
    border: none;
    border-radius: 5px;
    background-color: #333333;
    color: #FFFFFF;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    padding: 11px 30px;
    margin-left: 10px;
    box-sizing: border-box;
    height: 40px;
}

.mf-courses-feedback_tel-send-btn:hover {
    color: #333333;
    border: #333333 1px solid;
    background-color: white;
    cursor: pointer;
}

.mf-courses-feedback_tel-send-btn:disabled {
    background-color: #646464;
    pointer-events: none;
}

.mf-courses-feedback_tel-send-btn:focus {
    outline: 0;
}

.mf-courses-feedback_agreement {
    font-size: 14px;
    line-height: 16px;
}

.mf-courses-feedback_agreement a {
    color: #FFFFFF;
}

@media screen and (max-width: 1199px) {
    .mf-courses-feedback {
       width: 100%;
       max-width: none;
    }
}

@media screen and (max-width: 991px) {
    .mf-courses-feedback {
        width: 100%;
        max-width: none;
    }
}

@media screen and (max-width: 575px) {
    .mf-courses-feedback_form-group {
        flex-direction: column;
    }

    .mf-courses-feedback_tel-send-btn {
        margin-top: 14px;
        margin-left: 0;
    }

    .mf-courses-feedback_tel-input {
        width: 100%;
        max-width: none;
    }

    .mf-courses-feedback {
        padding: 20px;
    }

    .mf-courses-feedback_caption {
        font-size: 20px;
        line-height: 24px;
    }

    .mf-courses-feedback_tagline {
        font-size: 14px;
        line-height: 24px;
    }
}

.mf-popup {
    width: 100%;
    max-width: 355px;
    background-color: #EFF7FF;
    position: absolute;
    padding: 25px 40px;
    text-align: center;
    font-size: 16px;
    line-height: 18px;
    top: 50%; right: 50%;
    transform: translate(50%,-50%);
    box-shadow: 0px 0px 4px 1px rgba(51, 51, 51, 0.2);
    border-radius: 10px;
    display: none;
}

.mf-popup_msg {
    color: #333333;
}

.mf-popup_close-btn {
    border-radius: 5px;
    background-color: #0562D0;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    min-width: 190px;
    color: #FFFFFF;
    border: none;
    box-sizing: border-box;
    height: 40px;
}

.mf-popup_close-btn:hover {
    cursor: pointer;
    background-color: white;
    color: #0562D0;
    border: #0562D0 1px solid;
}

.mf-popup_close-btn:focus {
    outline: 0;
}

@media screen and (max-width: 575px) {
    .mf-popup {
        max-width: 90%;
    }

    .mf-popup_close-btn {
        min-width: 90%;
    }
}

/* ------ Promocode banner ----- */

.mf-promocode-feedback {
    display: flex;
    max-width: 750px;
    border: #C9CDDA 1px solid;
    border-radius: 10px;
    padding: 30px 12px;
    font-size: 16px;
    line-height: 18px;
    color: #333333;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    position: relative;
}

.mf-promocode-feedback_column {
    display: flex;
    flex-direction: column;
    padding: 0 18px;
}

.mf-promocode-feedback_caption-group {
    min-width: 315px;
}

.mf-promocode-feedback_caption-text {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 45px;
    color: #0562D0;
    margin-bottom: 0 !important;
}

.mf-promocode-feedback_caption-icon {
    font-size: 40px;
    vertical-align: middle;
}

.mf-promocode-feedback_description {
    margin-top: 10px;
    margin-bottom: 0 !important;
    padding-right: 30px;
}

.mf-promocode-feedback_form-group {
    display: flex;
}

.mf-promocode-feedback_tel-input {
    background-color: #F6F7F8;
    border: none;
    border-radius: 5px;
    padding: 11px;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
}

.mf-promocode-feedback_tel-input::placeholder {
    color: #9499AC;
}

.mf-promocode-feedback_tel-input:focus {
    outline: none;
    border: #E6E9EF 1px solid;
}

.mf-promocode-feedback_tel-send-btn {
    border: none;
    border-radius: 5px;
    background-color: #0562D0;
    color: #FFFFFF;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    padding: 11px 30px;
    box-sizing: border-box;
    height: 40px;
}

.mf-promocode-feedback_tel-send-btn:hover {
    color: #0562D0;
    border: #0562D0 1px solid;
    background-color: white;
    cursor: pointer;
}

.mf-promocode-feedback_tel-send-btn:disabled {
    background-color: #7db5fa;
    pointer-events: none;
}

.mf-promocode-feedback_agreement {
    margin-top: 15px;
    font-size: 14px;
    line-height: 16px;
    color: #9499AC;
}

.mf-promocode-feedback_agreement a {
    color: #9499AC;
}

@media screen and (max-width: 1199px) {
    .mf-promocode-feedback {
        max-width: none;
    }

    .mf-promocode-feedback_description {
        padding-right: 0;
    }

    .mf-promocode-feedback_column {
        width: 50%;
    }
}

@media screen and (max-width: 991px) {
    .mf-promocode-feedback_form-group {
        flex-direction: column;
    }

    .mf-promocode-feedback_tel-send-btn {
        margin-top: 12px;
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .mf-promocode-feedback_caption-group {
        min-width: 230px;
    }

    .mf-promocode-feedback_caption-text {
        font-size: 24px;
        line-height: 30px;
    }

    .mf-promocode-feedback_caption-icon {
        font-size: 35px;
    }
}

@media screen and (max-width: 575px) {
    .mf-promocode-feedback {
        flex-direction: column;
    }

    .mf-promocode-feedback_column {
        padding: 20px;
        width: 100%;
    }

    .mf-promocode-feedback_column {
        padding: 0;
    }

    .mf-promocode-feedback_form-group {
        margin-top: 20px;
    }
}
