.modal-bg-custom {
    --modal-text-color: #ff9c00;
    background-color: #1c293c !important;
    background-image: url('/img/bg_web.webp');
    background-size: 100%;
    background-repeat: no-repeat;
    color: #fff;
}

.modal-bg-custom .modal-header,
.modal-footer {
    border: none !important;
}

.modal-bg-custom .modal-header,
.modal-body,
.modal-footer {
    padding-left: 30px !important;
}

.modal-bg-custom .modal-header {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
}

.modal-bg-custom .modal-body {
    font-family: Calibri, Cambria, Arial, sans-serif;
    font-size: 24px;
    line-height: 1.15;
    padding-top: 0  !important;
    padding-bottom: 0 !important;
}

.modal-bg-custom .modal-body p {
    margin-bottom: 30px !important;
}

.modal-bg-custom .modal-body small {
    font-size: 12px;
    font-weight: bold;
}

.modal-bg-custom .text-highlighted {
    background-color: var(--modal-text-color);
    padding: 0 3px !important;
}

.modal-bg-custom .close span {
    color: var(--modal-text-color);
    text-shadow: none;
    font-size: 2rem;

}

.modal-bg-custom .modal-footer {
    padding-bottom: 29px !important;
    text-align: left;
}

.modal-header button.close
{
    opacity: 1;
    font-size: 25px;
}

.modal-bg-custom .modal-footer a {
    background-color: var(--modal-text-color);
    border-radius: 20px;
    padding: 6px 30px !important;
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid var(--modal-text-color);
    color: #fff;
}

.text-content {
    text-align: left;
    width: 80%;
}

.text-content .text-highlighted {
    display: inline-block;
}


#changeFrequencyModal {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-width: 767px) {
    #changeFrequencyModal .modal-dialog.modal-dialog-centered {
        width: 282px;
        margin: 0 auto;
    }

    .modal-bg-custom {
        background-image: url('/img/bg_mobile.webp');
        background-size: 100%;
    }

    .modal-bg-custom .modal-body p {
        font-size: 20px;
        line-height: 1.25;
    }

    .modal-bg-custom .modal-body .text-content {
        margin-bottom: 50px !important;
    }

    .text-content .text-highlighted {
        display: inline;
    }

    .modal-bg-custom .modal-footer {
        padding-bottom: 77px !important;
    }

    .modal-bg-custom .modal-footer a {
        margin-left: -5px !important;
    }
}