body {
    margin: 0;
    width: 100%;
    overflow: auto;
    background: #f7f7f7;
    font-family: "Open Sans", sans-serif;
    color: #333333;
}

.main {
    position: relative;
    padding-top: 40px;
    box-sizing: border-box;
    padding-bottom: 80px;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo {
    margin: 0 auto;
    background: url("../images/logo.svg") no-repeat center center;
    background-size: contain;
    width: 276px;
    height: 93px;
}

.title {
    color: #333333;
    font-size: 32px;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    line-height: 40px;
    margin: 40px 0 30px 0;
}

.form {
    width: 540px;
    box-sizing: border-box;
    background: rgba(31, 41, 55, 0.95);
    border-radius: 6px;
    margin: 0 auto 40px auto;
    padding: 50px 60px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    color: #f3f4f6;
}

.form .row {
    margin-bottom: 25px;
}

.form .row:after {
    content: '';
    display: block;
    clear: both;
}

.input {
    background-color: #ffffff;
    height: 60px;
    width: 100%;
    font-family: "Open Sans", sans-serif;
    color: #333333;
    font-size: 16px;
    padding: 0 15px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    outline: none;
    transition: border-color 0.15s ease;
}

.input:focus {
    border-color: #fce800;
    outline: none;
}

.input::placeholder {
    color: #c5c5c3;
}

.form label {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #f3f4f6;
    font-weight: 600;
    margin-bottom: 8px;
}

.form input[type="checkbox"] {
    display: none;
}

.checkbox + label {
    text-transform: none;
    display: block;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    color: #f3f4f6;
    position: relative;
    padding-left: 26px;
    margin-bottom: 0;
}

.checkbox + label:hover {
    cursor: pointer;
}

.checkbox + label:before {
    content: " ";
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    box-sizing: border-box;
}

.checkbox:checked + label:after {
    content: " ";
    left: 6px;
    top: 2px;
    position: absolute;
    width: 4px;
    height: 9px;
    border-width: 1px;
    border-top-width: 0;
    border-left-width: 0;
    border-style: solid;
    border-color: #f3f4f6;
    transform: rotate(45deg);
}

.link {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #f3f4f6;
    border-bottom: 1px dashed #f3f4f6;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
}

.link:hover {
    color: #fce800;
    border-bottom-color: #fce800;
}

.form .row .left {
    float: left;
}

.form .row .right {
    float: right;
}

.text-center {
    text-align: center;
}

.button {
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #212121;
    background: #fce800;
    border: 1px solid #fce800;
    box-sizing: border-box;
    line-height: 20px;
    padding: 20px 24px;
    min-width: 280px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    outline: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
    background: hsl(54, 100%, 44%);
    border-color: hsl(54, 100%, 44%);
}

.button:focus {
    outline: 2px solid #fce800;
    outline-offset: 2px;
}

.button::-moz-focus-inner {
    border: 0;
}

.form .field {
    position: relative;
}

.show_pass {
    display: inline-block;
    height: 16px;
    width: 27px;
    background: url(../images/show.svg) no-repeat;
    background-size: 100% 100%;
    top: 0;
    position: absolute;
    bottom: 0;
    right: 10px;
    margin: auto;
    visibility: hidden;
    opacity: 0.6;
}

.show_pass:hover {
    cursor: pointer;
    opacity: 1;
}

.alert {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.alert.alert-error,
#kc-error-message p {
    color: #ff7a72;
}

#kc-error-message {
    text-align: center;
}

.alert.alert-success {
    color: #51cf66;
}

.alert.alert-warning {
    color: #ffd43b;
}

.alert.alert-info {
    color: #f3f4f6;
}

/*FOOTER*/

.footer {
    margin-left: auto;
    margin-right: auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-top: 60px;
    max-width: 1600px;
    box-sizing: border-box;
    background: #f7f7f7;
    border-top: 1px solid rgba(173, 164, 150, 0.5);
}

.footer:before, .footer:after {
    clear: both;
    content: '';
    display: block;
}

.footer__title {
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 14px;
    color: #333333;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
}

.footer__title_position_left, .footer__box_position_left {
    position: relative;
    min-height: 1px;
    float: left;

    width: calc(((100% - (11 * 20px)) * 5 / 12) + 5 * 20px);
    margin-right: 20px;
    margin-left: calc(((100% - (11 * 20px)) / 12));
}

.footer__title_position_right, .footer__box_position_right {
    position: relative;
    min-height: 1px;
    float: left;

    width: calc(((100% - (11 * 20px)) * 5 / 12) + 4 * 20px);

    margin-right: 0;
}

.footer_condensed .footer__title_position_left,
.footer_condensed .footer__box_position_left {
    width: calc(((100% - (11 * 20px)) * 5 / 12) + 4 * 20px);
    margin-left: calc(((100% - (11 * 20px)) / 12) + 20px);
}

.footer__quarter {
    position: relative;
    min-height: 1px;
    float: left;
}

.footer__quarter_position_left {
    width: calc(50% - 10px);
    margin-right: 10px;
}

.footer__quarter_position_right {
    width: calc(50% - 10px);
    margin-left: 10px;
}

.footer__box_push_bottom {
    padding-top: 60px;
}

.footer__box {
    margin-bottom: 60px;
}

.footer__copyright {
    font-family: "Open Sans", sans-serif;
    line-height: 40px;
    color: #929090;
    font-size: 14px;
    margin-top: 4px;
}

.footer__copyright a {
    text-decoration: none;
    border-bottom: 1px dashed #000;
    color: #000;
}

.footer__contacts {
    line-height: 20px;
}

.footer__contacts-phone {
    font-family: "Open Sans", sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 60px;
    letter-spacing: 0.07em;
    color: #333333;
}

.footer__contacts-notice {
    font-family: "Open Sans", sans-serif;
    line-height: 40px;
    color: #929090;
    font-size: 14px;
    margin-top: 4px;
}

.footer__accreditation-logo:after {
    content: '';
    display: block;
    height: 60px;
}

.footer__accreditation-text {
    margin: 0;
    font-size: 14px;
    line-height: 40px;
    color: #929090;
    font-family: "Open Sans", sans-serif;
}

.footer__accreditation_type_iata .footer__accreditation-logo:after {
    background: url('../images/footer/accreditation__iata.png') no-repeat;
    background-size: auto 60px;
}

.footer__accreditation_type_isos .footer__accreditation-logo:after {
    background: url('../images/footer/accreditation__isos.png') no-repeat;
    background-size: auto 60px
}

.footer__accreditation_type_egencia .footer__accreditation-logo:after {
    background: url('../images/footer/accreditation__egencia.png') no-repeat;
    background-size: auto 60px
}

@media (max-width: 768px) {
    .form {
        max-width: 350px;
        width: calc(100% - 32px);
        padding: 24px 16px 30px 16px;
        margin: 20px auto;
        box-sizing: border-box;
        border-radius: 6px;
    }

    .title {
        line-height: 32px;
        font-size: 24px;
        margin: 20px 0 20px 0;
    }

    .logo {
        width: 184px;
        height: 62px;
    }

    .button {
        min-width: 100%;
        padding: 18px 16px;
    }

    .footer__box {
        margin-bottom: 60px;
        display: block;
        float: none;
        width: 100%;
        text-align: center;
        padding: 0 16px;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }

    .footer__quarter {
        width: 100% !important;
        float: none;
        margin: 0;
    }

    .footer__contacts {
        text-align: center;
    }

    .footer__title {
        width: 100%;
        text-align: center;
        float: none;
        margin: 0;
    }

    .footer__title_position_right {
        display: none;
    }

    .footer__accreditation_type_egencia .footer__accreditation-logo:after {
        display: inline-block;
        width: 165px;
    }

    .footer__accreditation_type_iata .footer__accreditation-logo:after {
        display: inline-block;
        width: 140px;
    }

    .footer__accreditation_type_isos .footer__accreditation-logo:after {
        display: inline-block;
        width: 100px;
    }

    .footer__accreditation_type_iata {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .footer__accreditation-text {
        line-height: 25px;
    }
}

#kc-info-message {
    text-align: center;
}

#kc-info-message .instruction {
    display: inline-block;
    width: 540px;
    box-sizing: border-box;
    background: rgba(31, 41, 55, 0.95);
    border-radius: 6px;
    margin: 0 auto 30px auto;
    padding: 30px 60px;
    font-family: "Open Sans", sans-serif;
    color: #f3f4f6;
    font-size: 18px;
    font-weight: 400;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

#kc-info-message a {
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #212121;
    background: #fce800;
    border: 1px solid #fce800;
    box-sizing: border-box;
    line-height: 20px;
    padding: 20px 32px;
    min-width: 280px;
    font-size: 16px;
    outline: none;
    cursor: pointer;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

#kc-info-message a:hover {
    background: hsl(54, 100%, 44%);
    border-color: hsl(54, 100%, 44%);
}

.footer__cards-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__sbp-icon {
    background: url('../images/footer/logo_sbp.png') no-repeat;
    background-size: auto 180px;
    height: 100px;
    width: 300px;
    margin-bottom: 18px;
    background-position: right;
}

.footer__cards-icon {
    background: url('../images/footer/logo_cards.png') no-repeat;
    background-size: auto 80px;
    height: 100px;
    width: 540px;
    background-position: left;
}

@media only screen and (min-width: 1600px) {
    .footer__sbp-icon {
        margin-right: 3vw;
    }
}

@media only screen and (min-width: 1500px) {
    .footer__cards-icon {
        background-size: auto 90px;
    }
}

@media only screen and (max-width: 1360px) {
    .footer__cards-icon {
        background-size: auto 75px;
    }
}

@media only screen and (max-width: 1280px) {
    .footer__cards-icon {
        background-size: auto 65px;
    }

    .footer__sbp-icon {
        background-size: auto 160px;
    }
}

@media only screen and (max-width: 1130px) {
    .footer__cards-icon {
        background-size: auto 60px;
    }

    .footer__sbp-icon {
        background-size: auto 140px;
    }
}
