@font-face {
    font-family: 'Onest-400';
    src: url('../fonts/woff/Onest/Onest-400.woff') format('woff'),
         url('../fonts/woff/Onest/Onest-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Onest-500';
    src: url('../fonts/woff/Onest/Onest-500.woff') format('woff'),
    url('../fonts/woff/Onest/Onest-500.ttf') format('truetype')
}

.lp-gallery_modal {
    height: 100%;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.lp-gallery_modal p {
    margin: 0;
}

.lp-gallery_modal .lp-gallery_modal-content-wrapper {
    padding: 0 20px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    overflow-y: auto;
}

@media screen and (max-width: 768px) {
    .lp-gallery_modal .lp-gallery_modal-content-wrapper {
        padding-top: 60px;
    }
}

.lp-gallery_modal.is-showed {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.lp-gallery_modal * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

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

.lp-gallery_modal .lp-gallery_modal-content {
    padding-top: 50px;
    font-family: 'Onest-400', sans-serif;
    font-weight: 300;
    background-color: #ffffff;
    max-width: 560px;
    width: 100%;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.lp-gallery_modal .lp-gallery_modal-content .close-modal-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .lp-gallery_modal .lp-gallery_modal-content .close-modal-btn {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        position: relative;
        top: -33px;
        right: 5px;
    }
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-title {
    font-family: 'Onest-400';
    color: #000000;
    font-size: 48px !important;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-descritpion {
    color: #000000;
    font-size: 18px;
    line-height: 1.44;
    margin-bottom: 30px;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group {
    border: solid 1px #dedede;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group-wrap+.lp-gallery_modal-form-group-wrap {
    margin-top: 20px;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group-wrap.has-error .lp-gallery_modal-form-group-error {
    display: block;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group-wrap.has-error .lp-gallery_modal-form-group {
    border-color: #c23c40;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group-wrap .lp-gallery_modal-form-group-error,
.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group-wrap .lp-gallery_modal-form-group-ajax-error {
    text-align: left;
    margin-top: 10px;
    font-size: 13px;
    color: #c23c40;
    display: none;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group-wrap .lp-gallery_modal-form-group-ajax-error.is-showed {
    display: block;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group input {
    padding: 0 20px;
    width: 100%;
    height: 48px;
    border: none;
    outline: none;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group .show-password-btn,
.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group .hide-password-btn {
    cursor: pointer;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn {
    font-family: 'Onest-500', sans-serif;
    margin: 32px 0 14px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #000000;
    border: none;
    outline: none;
    font-size: 11px;
    letter-spacing: 1px;
    height: 50px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 25px;
    cursor: pointer;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn:hover {
    -webkit-box-shadow: 0 0 0 2px #000000;
    box-shadow: 0 0 0 2px #000000;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn.is-loading .lp-gallery_modal-form-submit-btn-text {
    display: none;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn .md-preloader-btn {
    animation: rotator 2s linear infinite;
    width: 20px;
    height: 20px;
    mix-blend-mode: difference;
    display: none;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn.is-loading .md-preloader-btn {
    display: block;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn .md-preloader-btn circle {
    stroke: #fff;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transform-origin: center;
    animation: dash 2s ease-in-out infinite;
}

@keyframes rotator {
    0% {
        transform: rotate(-90deg);
    }

    100% {
        transform: rotate(270deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 300;
    }

    40% {
        stroke-dashoffset: 187.5;
        transform: rotate(130deg);
    }

    100% {
        stroke-dashoffset: 300;
        transform: rotate(360deg);
    }
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-additional-info {
    max-width: 340px;
    margin: 0 auto 40px;
    font-size: 14px;
    line-height: 1.43;
    color: #929292;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-additional-info a {
    color: #929292;
    text-decoration: underline;
}

.lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-additional-info a:hover {
    text-decoration: none;
}

.lp-gallery_modal .lp-gallery_modal-bottom-box {
    font-size: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    flex: 0 0 67px;
    height: 67px;
    background-color: #f7f7f7;
    color: #929292;
}

.lp-gallery_modal .lp-gallery_modal-bottom-box a {
    color: #000000;
    text-decoration: underline;
}

.lp-gallery_modal .lp-gallery_modal-bottom-box a:hover {
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .lp-gallery_modal .lp-gallery_modal-content {
        height: 100%
    }

    .lp-gallery_modal .lp-gallery_modal-content .lp-gallery_modal-title {
        font-size: 42px !important;
    }

    .lp-gallery_modal .lp-gallery_modal-content {
        max-width: 100%;
    }

    .lp-gallery_modal .lp-gallery_modal-content {
        padding-top: 0;
    }

    /*.lp-gallery_modal .lp-gallery_modal-bottom-box {*/
    /*    flex: 0 0 55px;*/
    /*    height: 55px;*/
    /*}*/
}

.text-or {
    font-size: 14px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.43;
    color: #929292;
    margin-bottom: 15px;
}

.button--vk-auth {
    position: relative;
    font-family: 'Onest-500', sans-serif;
    text-transform: uppercase;
    color: #000;
    background-color: transparent;
    border: 1px solid #dedede;
    text-decoration: none;
    outline: none;
    font-size: 11px;
    letter-spacing: 1px;
    height: 50px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 25px;
    cursor: pointer;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.button--vk-auth:hover {
    border: 1px solid #cccccc;
}

.button--vk-auth svg {
    position: relative;
    margin-right: 10px;
}

.button--vk-auth.is-disabled {
    opacity: 0.7;
    cursor: default;
    pointer-events: none;
}

.lp-gallery_modal .field__label {
    margin-bottom: 19px;
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .2em;
    text-align: center;
    text-transform: uppercase;
    color: #1f1f1f;
}


.lp-gallery_modal .social-buttons {
    font-family: 'Onest-400', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0 45px;
}

@media screen and (min-width: 768px) {
    .lp-gallery_modal:not(.mod--new-type) .social-buttons a:first-child {
        border-right: 0;
    }
}

.modal__google-auth-blocked {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    z-index: 1001;
}

.modal__google-auth-blocked.modal__google-auth-blocked--visible {
    display: flex;
}

.modal__google-auth-blocked .modal__google-auth-blocked__content {
    background-color: #fff;
    text-align: center;
    color: #111;
    width: 100%;
    max-width: 550px;
    padding: 60px 35px 70px;
    position: relative;
}

.modal__google-auth-blocked .modal__google-auth-blocked__title {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 20px;
}

.modal__google-auth-blocked .modal__google-auth-blocked__description {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.16px;
    margin-bottom: 30px;
}

.modal__google-auth-blocked .modal__google-auth-blocked__button {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 200px;
    background: #111;
    text-decoration: none;
    color: #fff;
    font-size: 19px;
    letter-spacing: 0.19px;
}

.modal__google-auth-blocked .modal__google-auth-blocked__close {
    position: absolute;
    right: 25px;
    top: 25px;
    border: none;
    outline: none;
    background-color: transparent;
}

@media screen and (max-width: 768px) {
    .modal__google-auth-blocked .modal__google-auth-blocked__content {
        padding: 40px 20px 50px;
    }
}

/* модалка уведомления сброса пароля start */

.notification-reset-password-modal {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0 20px;
    display: none;
}

.notification-reset-password-modal.visible {
    display: flex;
}

.notification-reset-password-modal .notification-reset-password-modal__content {
    background: #fff;
    padding: 60px 55px;
    position: relative;
    width: 100%;
    max-width: 455px;
}

.notification-reset-password-modal .notification-reset-password-modal__message {
    color: #111;
    text-align: center;
    font-size: 19px;
    font-weight: 350;
    line-height: 24px;
    letter-spacing: 0.19px;
    margin-bottom: 40px;
}

.notification-reset-password-modal .notification-reset-password-modal__link {
    width: 100%;
}

.notification-reset-password-modal .notification-reset-password-modal__link:hover {
    color: #fff !important;
}


.notification-reset-password-modal .notification-reset-password-modal__button-close {
    position: absolute;
    top: 25px;
    right: 25px;
    border: none;
    background-color: transparent;
    outline: none;
}

@media screen and (max-width: 768px) {
    .notification-reset-password-modal .notification-reset-password-modal__content {
        padding: 50px 20px;
    }

    .notification-reset-password-modal .notification-reset-password-modal__message {
        margin-bottom: 30px;
    }
}

/* модалка уведомления сброса пароля end */