@import 'common.css';
@import 'cookies.css';

body {
    background: linear-gradient(135deg, #81B4BF 0%, #0071B9 99.99%, #4A596B 100%);
    /* linear-gradient(135deg, #81B4BF 0%, #0071B9 99.99%, #4A596B 100%); */
}

#wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-weight: 500;
}

.modal-window {
    background: #ffffff;
    border-radius: 3px;
    padding: 50px 25px;
    box-shadow: 0 30px 60px 0 rgba(0,0,0,0.2);
}

@media screen and (min-width: 750px) {
    .modal-window {
        padding: 70px 100px;
    }
}

.modal-form {
    max-width: 340px;
}

.modal-logo {
    display: block;
    margin: 0 auto 30px auto;
    width: 200px;
}

.modal-title {
    display: block;
    text-align: center;
    color: #0071B9;
    margin: 25px 0;
    font-weight: 600;
    font-size: 21px;
    line-height: 29px;
}

.form-info {
    color: #788F94;
    line-height: 18px;
    font-size: 14px;
}

.form-text {
    font-size: 12px;
    color: #788F94;
    text-align: center;
    line-height: 18px;
    margin: 15px 0 0 0;
}

.form-message {
    display: flex;
    border-radius: 3px;
    box-shadow: inset 5px 0 0 0 rgba(0, 0, 0, 0.2), 0 0 1px 0 rgba(0, 0, 0, 0.2);
    padding: 15px 25px;
    font-weight: 600;
    font-size: 12px;
    line-height: 22px;
    margin: 25px 0;
    vertical-align: -1px;
}

.form-message.message-error {
    background: #E5481D;
    color: #fff;
}

.form-message::before {
    content: '\e9ad';
    margin-right: 10px;
    display: inline-block;
    font-size: 16px;
    font-weight: normal;
    font-family: unicons-line;
    vertical-align: middle;
}
.form-message.message-info {
    box-shadow: inset 5px 0 0 0 #E6EFF4, 0 0 0 1px #E6EFF4;
    color: #788F94;
}

.form-field {
    margin: 10px 0;
}
.form-field.form-field-horizontal {
    display: flex;
    align-items: center;
    margin: 15px 0;
}
.form-field.form-field-horizontal .field-name {
    flex: 0 1 315px;
    font-size: 14px;
    line-height: 28px;
    font-weight: 500;
}
.modal-window  .help-text {
    max-width: 595px;
    color: #788F94;
    font-size: 12px;
    line-height: 16px;
    margin: 10px 0;
}

.form-field .field-name {
    display: block;
    color: #788F94;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
}

.form-field .field-name-large {
    display: block;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    margin: 15px 0 10px 0;
}

.field-name.required::after {
    content: '*';
    color: #C41E3D;
    margin-left: 4px;
    font-weight: bold;
}

.form-field .field-input {
    margin: 0;
    background-color: #fff;
    color: #788F94;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    padding: 14.5px 15px 11.5px 15px;
    line-height: 14px;
    min-height: 42px;
    width: 100%;
    border-radius: 3px;
    display: block;
    border: 1px solid #E6EFF4;
}

.form-field .field-bar-radio input { display: none; }
.form-field .field-bar-radio label {
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
    border: 1px solid #0071B9;
    border-bottom: none;
    color: #0071B9;
    font-size: 14px;
    line-height: 19px;
    font-weight: 600;
    text-align: center;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-field .field-bar-radio label:first-of-type {
    border-radius: 3px 0 0 3px;
}
.form-field .field-bar-radio label:last-of-type {
    border-radius: 0 3px 3px 0;
    border-bottom: 1px solid #0071B9;
}

@media screen and (min-width: 600px) {
    .form-field .field-bar-radio {
        display: flex;
    }

    .form-field .field-bar-radio label {
        border: 1px solid #0071B9;
        border-right: none;
    }

    .form-field .field-bar-radio label:last-of-type {
        border-right: 1px solid #0071B9;
    }
}

.form-field .field-bar-radio small {
    font-weight: 500;
}
.form-field .field-bar-radio :checked + label { background: #0071B9; color: #fff; }

.form-field .field-input.invalid {
    border-color: #E5481D
}

.form-field .field-input:focus {
    border-color: #B1C4C8;
}

.form-checkbox {
    display: block;
    color: #788F94;
    margin: 12px 0;
}

.form-checkbox input[type="checkbox"] {
    display: none;
}

.form-checkbox .checkbox-text::before {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px #E3E3E3;
    content: '\e9c3';
    text-align: center;
    line-height: 20px;
    color: #fff;
    font-family: unicons-line;
    margin-right: 7px;
    display: inline-block;
}

.form-checkbox input[type="checkbox"]:checked + .checkbox-text::before {
    background: #0071B9;
    box-shadow: none;
}

.form-checkbox input[type="checkbox"].invalid + .checkbox-text::before {
    box-shadow: inset 0 0 0 1px #E5481D;
}

.form-checkbox .checkbox-text {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
}

.form-button {
    background: linear-gradient(135deg, #81B4BF 0%, #0071B9 99.99%, #4A596B 100%);
    background-size: 100%;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    padding: 15px 40px;
    font-size: 16px;
    outline: none;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px 0 rgba(0,113,185,0.3);
    margin: 15px 0 20px 0;
    transition: all 200ms ease-in-out;
}

.form-button:hover {
    background-size: 200%;
    box-shadow: 0 15px 30px 0 rgba(0,113,185,0.0);
}

.form-link {
    margin-top: 30px;
    text-align: center;
}

.form-link a {
    color: #788F94;
    margin: 0 10px;
    font-size: 12px;
    display: inline-block;
    text-decoration: underline 1.5px solid;
}

/* Confirmations */
.modal-confirmation .modal-title {
    margin-bottom: 15px;
}

.large-checkmark {
    background: #65C563;
    color: #fff;
    font-size: 25px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    display: block;
    margin: 15px auto;
}

.large-checkmark::before {
    content: '\e9c3';
    font-weight: normal;
    font-style: normal;
    font-family: unicons-line;
}

.ui-datepicker-close { width: 100%; }
.ui-datepicker-close {
    border: none;
    cursor: pointer;
    border-radius: 3px;
    background: #fff;
    padding: 6px 30px;
    outline: none;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    box-shadow: inset 0 0 0 2px #E6EFF4;
    display: inline-block;
    color: #0071B9;
    font-size: inherit;
    line-height: inherit;
}

.password-field {
    position: relative;
}
.password-field input {
    padding-right: 55px;
}
.password-field i {
    position: absolute;
    color: #788F94;
    padding: 13px 15px 12px 15px;
    line-height: 1;
    top: 1px;
    right: 1px;
    background: #fff;
    border-radius: 3px;
}
.password-field .uil-eye-slash,
.password-field.visible .uil-eye {
    display: none;
}
.password-field.visible .uil-eye-slash {
    display: block;
}
