.hidden {
    display: none !important;
}

.form-error__message {
    display: inherit;
    margin-left: 0px;
    margin-top: 10px;
}

.form-content__buttons,
.form-content__guarantee {
    z-index: inherit;
}

.form-select__options {
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 300px;
}

.modal__layout {
    position: fixed;
}

.modal__form-input {
    width: 78%;
}

.modal-window .confirm_smsresending {
    width: 20%;
    display: inline-block;
    padding: 22px 0px 25px;
    box-sizing: border-box;
    text-align: center;
}

.join__form-row .has-error .f-input,
.modal__form-row .has-error .f-input {
    border-color: #a94442;
}

/*.join__form-row .has-error .help-block,
.modal__form-row .has-error .help-block{
  display: none !important;
}*/
#join-modal, #login-modal, #register-modal, #privacy-modal, #changephone-modal, #norequisite-modal {
    display: none;
}

.footer_link {
    color: #5197e9;
    line-height: 20px;
}

.footer_link:hover {
    color: #5197e9;
    text-decoration: none;
}

.footer__copyright p {
    margin: 3px 0;
}

.footer__copyright .footer__link {
    display: block;
}

.form-actions {
    margin: 10px 0 60px 0;
}

.form-actions .pull-left {
    float: left;
}

.form-actions .pull-right {
    float: right;
}

#login-form .form-actions .pull-right a, #register-form .form-actions .pull-right a {
    display: block;
}

.center_text {
    text-align: center;
}

.help-block {
    color: #a94442;
    margin: 5px 0 0 0;
    text-align: left;
}


.requests_form_result_message {
    color: green;
    margin: 5px 0 0 0;
    text-align: left;
}

.modal__form-row-input.field-registrationform-agree {
    text-align: left;
}

#register-form .field-registrationform-agree .help-block {
    margin: 5px 0 10px 0;
}

.faq_tabs_item img {
    margin: 25px 0 15px 0;
    max-width: 100%;
    height: auto !important;
}

.faq_tabs_item img[style*="float:left"] {
    margin: 15px 30px 5px 0;
    max-width: 400px;
    height: auto !important;
}

.faq_tabs_item img[style*="float:right"] {
    margin: 15px 0 5px 30px;
    max-width: 400px;
    height: auto !important;
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
    flex: 0 0 auto;
}

footer {
    flex: 0 0 auto;
}

section {
    flex: 1 0 auto;
}

.bigpopup_text a {
    color: #5197e9;
}

.bigpopup_text p {
    line-height: 20px;
}

.scroll-to-top {
    padding: 1px;
    text-align: center;
    position: fixed;
    bottom: 20px;
    z-index: 10001;
    display: none;
    left: 20px;
    cursor: pointer;
}

div .main__info-subtitle p {
    text-align: left;
}

#inline-register-block .register_agree_block .form-checkbox {
    display: inline-block;
}

#inline-register-block .register_agree_block .field-registrationform-agree {
    display: block;
}

.changephone_button {
    border-radius: 2px;
    background-color: #b5b5b5;
    letter-spacing: 0.3px;
    font-family: 'Circe-Bold';
    font-size: 0.994em;
    text-transform: uppercase;
    padding: 22px 70px;
    box-sizing: border-box;
    text-decoration: none;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.changephone_button:hover {
    cursor: pointer;
    box-shadow: 0px 5px 10px 0 rgba(150, 150, 150, 0.4);
}

.changephone_button:active {
    opacity: 0.6;
}

.form-footer__number {
    margin-top: 0;
}

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

.form-content_error {
    background-color: #fff;
    height: 500px;
    vertical-align: center;
    position: relative
}

.error_message {
    text-align: left;
    line-height: normal;
    position: absolute; /* 2 */
    top: 50%; /* 3 */
    left: 50%;
    transform: translate(-50%, -50%);
    margin-right: -50%;
    font-size: 1.7em;
    font-weight: bold
}

.inline_captcha {
    display: inline-block;
}

.inline_captcha_help .help-block {
    text-align: center;
}

.modal-content {
    position: fixed;
}

.modal__form {
    overflow-y: auto;
    overflow-x: hidden;
}

.modal__form.result_form {
    padding: 0 0 5px 0;
}

.fancybox-slide > div.my_modal_content {
    overflow: unset;
}

.form-checkbox__icon.disabled {
    background-color: #e3e3e3;
}

#requisite_agreement {
    color: #000000;
    font-size: 14px;
}

#requisite_agreement.active {
    color: #000000;
}

.clipboard-link {
    cursor: pointer;
}

#clipboardSuccess {
    display: none;
}

.forgot-password-link {
    color: #5197e9;
    text-decoration: none;
    margin-top: 13px;
}

.no-display {
    display: none;
}

.alert-success {
    color: #3c763d;
}

.alert-info {
    color: #31708f;
}

.alert-warning {
    color: #8a6d3b;
}

.alert-danger {
    color: #a94442;
}

.fancybox-slide > .footer__modal {
    max-width: 85%;
    overflow: unset;
}

.one-c-logo {
    margin-bottom: 60px;
}

@media screen and (max-width: 407px) {
    .form-actions .pull-right {
        float: left;
    }
}

@media screen and (max-width: 580px) {
    .form-content__bank.active {
        display: none;
    }

    .form-checkbox__text {
        white-space: nowrap;
    }

    .join__form-row {
        text-align: left;
    }

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

    .form-checkbox {
        margin-right: 10px;
    }

    .fancybox-slide {
        height: 98%;
    }

    .field-driverform-agree_requisites .form-checkbox__text, .field-driverform-agreement .form-checkbox__text {
        white-space: normal;
    }

    .field-driverform-agree_requisites .form-checkbox__text p, .field-driverform-agreement .form-checkbox__text p {
        text-align: left;
    }

    .footer__contacts-item {
        margin-bottom: 50px;
    }
}
