@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');
}

.lp-gallery_modal.mod--new-type {
    font-family: 'Onest-400', sans-serif;
    background-color: #fff;
    overflow: auto;
}

.lp-gallery_modal.mod--new-type.is-showed {
    align-items: flex-start;
}

@media screen and (max-width: 767px) {
    .lp-gallery_modal.mod--new-type.is-showed {
        display: block;
    }

    .lp-gallery_modal.mod--new-type .lp-gallery_modal-content {
        overflow: hidden;
        height: auto;
    }
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content {
    padding-top: 115px;
    background-color: transparent;
}

.lp-gallery_modal.mod--new-type.mod--login-type .lp-gallery_modal-content {
    padding-top: 50px;
}

@media screen and (max-width: 1023px) {
    .lp-gallery_modal.mod--new-type .lp-gallery_modal-content,
    .lp-gallery_modal.mod--new-type.mod--login-type .lp-gallery_modal-content {
        padding-top: 0;
    }
}

.lp-gallery_modal.mod--new-type .close-modal-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 19px;
    line-height: 21px;
    text-align: center;
    letter-spacing: 0.01em;
    position: relative;
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .lp-gallery_modal.mod--new-type .close-modal-btn span {
        display: none;
    }
}

.lp-gallery_modal.mod--new-type .close-modal-btn:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.25s linear;
}

.lp-gallery_modal.mod--new-type .close-modal-btn svg {
    margin-left: 15px;
}

.lp-gallery_modal.mod--new-type .close-modal-btn.mod--back svg {
    margin-left: 5px;
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-head {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 60px;
    padding-top: 79px;
    /*background-color: #fff;*/
}

@media screen and (max-width: 1023px) {
    .lp-gallery_modal.mod--new-type .lp-gallery_modal-head {
        padding: 20px;
        height: 88px;
    }

    .is--menu-scrolling .lp-gallery_modal.mod--new-type .lp-gallery_modal-head {
        padding: 10px 20px;
        height: 80px;
    }

    .lp-gallery_modal.mod--new-type .lp-gallery_modal-content-wrapper {
        padding-top: 127px;
        padding-bottom: 55px;
    }
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-title {
    font-family: 'Onest-400', sans-serif;
    font-size: 56px !important;
    line-height: 60px;
    text-transform: none;
    margin-bottom: 15px;
}

@media screen and (max-width: 767px) {
    .lp-gallery_modal.mod--new-type .lp-gallery_modal-title {
        font-size: 48px !important;
        line-height: 50px;
    }
}

@media screen and (max-width: 420px) {
    .lp-gallery_modal.mod--new-type.mod--reset-password-type .lp-gallery_modal-title {
        font-size: 36px !important;
        line-height: 40px;
    }
}

@media screen and (max-width: 320px) {
    .lp-gallery_modal.mod--new-type .lp-gallery_modal-title {
        font-size: 40px !important;
        line-height: 42px;
    }
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-descritpion {
    font-family: 'Onest-400', sans-serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.01em;
}


.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form {
    max-width: 440px;
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group {
    border: 0;
    width: 100%;
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group input {
    font-family: 'Onest-400', sans-serif;
    font-weight: 350;
    font-size: 19px;
    line-height: 24px;
    letter-spacing: 0.01em;
    width: 100%;
    height: 80px;
    background-color: #F0F0F0;
    border: 2px solid #F0F0F0;
    color: #000;
    border-radius: 100px;
    text-align: center;
    transition: background-color 0.2s linear, border 0.2s linear;
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group input.input-type__password {
    padding: 0 69px;
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group input::placeholder {
    font-family: 'Onest-400', sans-serif;
    font-weight: 350;
    font-size: 19px;
    color: #000;
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group .field__input-pass {
    width: 100%;
}

@media screen and (max-width: 767px) {
    .lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group-wrap+.lp-gallery_modal-form-group-wrap {
        margin-bottom: 15px;
    }
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn {
    font-family: 'Onest-400', sans-serif;
    font-size: 19px;
    font-weight: 350;
    line-height: 22px;
    letter-spacing: 0.01em;
    text-transform: none;
    margin-top: 20px;
    margin-bottom: 15px;
    width: 100%;
    height: 80px;
    border-radius: 80px;
    border: 2px solid #000;
    transition: 0.2s linear;
}

@media screen and (min-width: 767px) {
    .lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn.no-hover:hover {
        color: #fff !important;
    }
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn.is-loading {
    pointer-events: none;
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn:hover {
    /*color: #000;*/
    /*background-color: transparent;*/
    box-shadow: none;
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-form-submit-btn .lp-gallery_modal-form-submit-btn-text {
    font-size: 19px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.01em;
    text-transform: none;
}

.lp-gallery_modal.mod--new-type  .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn .md-preloader-btn {
    width: 35px;
    height: 35px;
}

.lp-gallery_modal.mod--new-type  .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn:hover .md-preloader-btn svg path {
    stroke: #000;
}

.lp-gallery_modal.mod--new-type .text-or {
    font-family: 'Onest-400', sans-serif;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #000;
}

.lp-gallery_modal.mod--new-type .social-buttons a {
    position: relative;
    font-family: 'Onest-400', sans-serif;
    font-size: 19px;
    line-height: 22px;
    text-align: center;
    letter-spacing: 0.01em;
    height: 80px;
    font-weight: 300;
    text-transform: none;
    color: #000;
    border-radius: 80px;
    background-color: transparent;
    border: 2px solid #000 !important;
    transition: 0.2s linear;
}

.lp-gallery_modal.mod--new-type .social-buttons a:first-child:after {
    display: none;
}

.lp-gallery_modal.mod--new-type .button--vk-auth {
    --btn-text: #000;
    --btn-text-hover: #fff;
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-additional-info a {
    text-decoration: none;
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group-wrap .lp-gallery_modal-form-group-error,
.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group-wrap .lp-gallery_modal-form-group-ajax-error,
.lp-gallery_modal.mod--new-type.reset-password__form-wrap.result--status-fail .result--fail {
    font-family: 'Onest-400', sans-serif;
    font-size: 16px;
    text-align: center;
}

.lp-gallery_modal.mod--login-type {
    position: relative;
    display: flex;
    padding-top: 60px;
}

.lp-gallery_modal.mod--login-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-group {
    flex-direction: column;
}

.lp-gallery_modal.mod--login-type .field__icon {
    width: 24px;
    height: 24px;
    fill: none;
}

.lp-gallery_modal.mod--login-type .field__eye {
    position: absolute;
    top: 28px;
    right: 40px;
    width: 17px;
    height: 24px;
    cursor: pointer;
}

.lp-gallery_modal.mod--new-type.mod--login-type .lp-gallery_modal-content .lp-gallery_modal-additional-info {
    color: #111;
}

.lp-gallery_modal.mod--new-type.mod--login-type .lp-gallery_modal-content .lp-gallery_modal-additional-info a {
    font-family: 'Onest-400', sans-serif;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #111;
    text-decoration: none;
}

.lp-gallery_modal.mod--login-type .button_type_submit_loading:before {
    top: 27px;
    left: 50%;
    margin-left: -17px;
}

.lp-gallery_modal.mod--login-type .login-form__errors,
.lp-gallery_modal.mod--login-type .login-form--fail {
    font-family: 'Onest-400', sans-serif;
    font-size: 16px;
    font-weight: 350;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 0;
}

.lp-gallery_modal.mod--login-type .lp-gallery_modal-content .lp-gallery_modal-form .lp-gallery_modal-form-submit-btn {
    font-family: 'Onest-400', sans-serif;
    font-weight: 350;
    font-size: 19px;
    line-height: 22px;
    text-align: center;
    letter-spacing: 0.01em;
}

.lp-gallery_modal.mod--reset-password-type .lp-gallery_modal-content .lp-gallery_modal-additional-info {
    font-family: 'Onest-400', sans-serif;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #111;
    text-decoration: none;
    margin-top: 35px;
}

.lp-gallery_modal.mod--reset-password-type.reset-password__form-wrap.result--status-fail .result--fail {
    margin-top: 5px;
}

@media screen and (max-width: 1023px) {
    .lp-gallery_modal.mod--login-type .lp-gallery_modal-content-wrapper {
        padding-top: 25px;
    }
}

@media screen and (max-width: 767px) {
    .lp-gallery_modal.mod--login-type .lp-gallery_modal-content-wrapper {
        padding-top: 68px;
    }

    .lp-gallery_modal.mod--login-type .button_type_submit_loading:before {
        top: 18px;
    }
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-additional-info {
    color: #bcbcbc;
    line-height: 22px;
}

.lp-gallery_modal.mod--new-type .lp-gallery_modal-content .lp-gallery_modal-additional-info a {
    color: #bcbcbc;
}

.lp-gallery_modal.mod--new-type .input-with-placeholder {
    position: relative;
    width: 100%;
}

.lp-gallery_modal.mod--new-type .input-with-placeholder .placeholder {
    font-family: 'Onest-400', sans-serif;
    font-weight: 350;
    font-size: 19px;
    line-height: 24px;
    letter-spacing: 0.01em;
    position: absolute;
    z-index: -1;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.2s linear, font-size 0.2s linear;
}

.lp-gallery_modal.mod--new-type .input-with-placeholder.is--focus .placeholder {
    font-size: 13px;
    color: #8E8E8E;
    top: 1px;
    z-index: 1;
}
