body {
    font-family: Arial, Helvetica, sans-serif;
}

/* The Modal (background) */
.mfc-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
}

/* Modal Content */
.mfc-modal-content {
    position: relative;
    background-color: #ff5027;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    min-width: 320px;
    color: #fff;
    font-weight: bold;
}

.mfc-modal__logo-list {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 20px;
}

.mfc-modal__logo-item {
    width: 80px;
    display: inline-block;
    margin-left: 10px;
}

.mfc-modal__logo-item:nth-child(3) {
    width: 60px;
}

@media screen and (max-width: 768px) {
    .mfc-modal__logo-item:first-child,
    .mfc-modal__logo-item:nth-child(2) {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .mfc-modal {
        font-size: 12px;
    }
}


/* The Close Button */
.mfc-close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -10px;
}

.mfc-close:hover,
.mfc-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.mfcBtn {
    border-radius: 20px;
}

.mfc-modal__input {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    margin: 10px 0 15px 0;
}

.mfc-modal__input::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.mfc-modal__input:focus {
    outline: none;
}

.mfc-modal__link {
    color: rgba(0, 0, 0, 0.75);
}

/* для элемента input c type="checkbox" */
.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

/* для элемента label, связанного с .custom-checkbox */
.custom-checkbox+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}

/* создание в label псевдоэлемента before со следующими стилями */
.custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #adb5bd;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    background-color: #fff;
}

/* стили при наведении курсора на checkbox */
.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: #b3d7ff;
}

/* стили для активного чекбокса (при нажатии на него) */
.custom-checkbox:not(:disabled):active+label::before {
    border-color: #b3d7ff;
}

/* стили для чекбокса, находящегося в фокусе */
.custom-checkbox:focus+label::before {
    box-shadow: 0 0 0 0.2rem rgba(3, 0, 0, 0.25);
}

/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.custom-checkbox:focus:not(:checked)+label::before {
    border-color: #80bdff;
}

/* стили для чекбокса, находящегося в состоянии checked */
.custom-checkbox:checked+label::before {
    border-color: #fff;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='000000' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox:disabled+label::before {
    background-color: #e9ecef;
}

.mfc-modal__checkbox-wrapper {
    margin: 5px 0 17px 0;
}

.mfc-modal__input-wrapper label {
    display: block;
}

a.mfc-modal__btn-submit {
    display: inline-block;
    color: white;
    text-decoration: none;
    user-select: none;
    padding-top: 5px;
    outline: none;
    border: 1px solid;
    border-radius: 5px;
    transition: 0.2s;
    height: 20px;
    width: 130px;
    text-align: center;
    font-size: 12px;
}
a.mfc-modal__btn-submit:hover {
    background: rgba(255,255,255,.2);
}

a.mfc-modal__btn-submit:active {
    background: white;
    color: rgba(0, 0, 0, 0.75);
}

.error {
    color: black;
    display: block;
    margin-top: 10px;
}