

/* Start:/local/templates/redesign/template_styles.css?17853384417639*/
button[type=submit]:disabled {
    opacity: 0.4;
}

.modal__description .error,
.error{
    color: #dc0000;
}

.success{
    color: #088900;
}

img {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.popup-open {
    overflow: hidden;
}

.modal-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: 100%;
    height: 100vh;
}

.modal-wrapper .modal__block {
    position: absolute;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 40px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
}

.modal__blackout {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modal {
    position: relative;
    z-index: 2;
    background: #fff;
    width: 870px;
    max-width: 100%;
    border-radius: 25px;
}

.modal__container {
    width: 100%;
    overflow-y: auto;
    max-height: calc(100vh - 40px);
    padding: 10px;
}

.modal.modal_thanks {
    width: 710px;
}

.modal.modal_thanks .modal__container {
    padding: 20px;
}

.modal-wrapper .form {
    position: static;
    top: auto;
    width: auto;
    max-width: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.modal-wrapper .modal_1 .form {
    width: 300px;
}

.modal-wrapper .modal_1 .form .btn {
    width: 100%;
}

.modal-wrapper .modal__content {
    border-radius: 20px;
    overflow: hidden;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.modal-wrapper .modal_thanks .modal__content {
    padding: 60px;
    border-radius: 20px;
    border: 1px solid #F7F7F7;
    background: #F7F7F7;
    text-align: center;
}

.modal-wrapper .connect__links {
    display: flex;
    justify-content: center;
}

.modal-wrapper .connect__links a {
    position: relative;
    display: flex;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 12px;
}

.modal-wrapper .connect__links a img {
    width: 100%;
    transition: opacity 0.3s ease;
}

.modal-wrapper .connect__links a img:first-child {
    position: relative;
    z-index: 1;
}

.modal-wrapper .connect__links a img:last-child {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
}

@media (hover: hover) {
    .modal-wrapper .connect__links a:hover img:first-child {
        opacity: 0;
    }

    .modal-wrapper .connect__links a:hover img:last-child {
        opacity: 1;
    }
}

.modal__info {
    width: calc(100% - 345px);
    padding: 30px;
}

.modal__img {
    width: 345px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
}

.modal__info_wide {
    width: calc(100% - 280px);
}

.modal__info_wide + .modal__img {
    width: 280px;
}

.modal__title {
    color: #1E1E1E;
    font-family: var(--second-family);
    font-size: 30px;
    font-weight: 600;
    line-height: 110%;
    margin-bottom: 24px;
}

.modal__description {
    margin-bottom: 35px;
}

.modal__description p {
    color: #262626;
    font-size: 16px;
    line-height: 155%;
    margin-bottom: 15px;
}

.modal__description p:last-child {
    margin-bottom: 0;
}

.modal-wrapper .form .btn {
    display: block;
    width: auto;
    min-height: 0;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #191E39;
    border-radius: 2px;
    background: #191E39;
    color: #fff;
}

.modal-wrapper .form .btn span {
    display: block;
    padding: 12px 20px;
    text-transform: none;
    font-family: var(--second-family);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    border: 1px solid #333750;
    border-radius: 2px;
    text-align: center;
    transition: border-color 0.3s ease;
}

@media (hover: hover) {
    .modal-wrapper .form .btn:hover {
        background: #191E39;
        color: #fff;
    }

    .modal-wrapper .form .btn:hover span {
        border-color: #fff;
    }
}

.modal-wrapper .input {
    display: block;
    width: 100%;
    height: 60px;
    margin-bottom: 10px;
    border-radius: 2px;
    border: 1px solid #CACACA;
    background-color: #fff;
    color: #262626;
    font-size: 16px;
    font-weight: 300;
    padding-left: 20px;
    padding-right: 20px;
}

.modal-wrapper select.input {
    padding-right: 35px;
    background: #fff url(/local/templates/redesign/img/select-arrow.svg) right 10px center no-repeat;
    background-size: 25px 25px;
}

.modal-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
}

.modal-wrapper select::-ms-expand {
    display: none;
}

.modal-wrapper .form.flex .input {
    margin-right: 10px;
    width: calc(100% - 240px);
}

.modal-wrapper .form.flex .btn {
    width: 230px;
}

.modal__close {
    cursor: pointer;
    position: absolute;
    width: 16px;
    height: 16px;
    top: -20px;
    right: -20px;
}

.modal__close:before, .modal__close:after {
    position: absolute;
    display: block;
    content: "";
    width: 22px;
    height: 2px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
    background: #fff;
    border-radius: 2px;
}

.modal__close:after {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 992px) {
    .modal {
        width: 750px;
    }

    .modal-wrapper .form.flex .input {
        width: 100%;
        margin-right: 0;
    }

    .modal-wrapper .form.flex .btn {
        width: 100%;
    }

    .modal__description {
        margin-bottom: 20px;
    }

    .modal__info {
        padding: 20px;
    }

    .modal__title {
        margin-bottom: 18px;
    }
}

@media screen and (max-width: 768px) {
    .modal {
        width: 540px;
    }

    .modal__info,
    .modal__info_wide {
        width: 100%;
    }

    .modal__img {
        display: none;
    }

    .modal-wrapper .modal_1 .form {
        width: 100%;
    }

    .modal.modal_thanks {
        width: 540px;
    }

    .modal_thanks .modal__content {
        padding: 40px;
    }
}

@media screen and (max-width: 576px) {
    .modal-wrapper .modal__block {
        padding: 20px;
    }

    .modal {
        width: 290px;
        border-radius: 15px;
    }

    .modal__container {
        padding: 0;
    }

    .modal__info {
        padding: 15px;
    }

    .modal__title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .modal__description {
        margin-bottom: 15px;
    }

    .modal__description p {
        line-height: 140%;
    }

    .modal-wrapper .form .btn {
        width: 100%;
        margin-bottom: 0;
    }

    .modal-wrapper .input {
        height: 55px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .modal.modal_thanks {
        width: 290px;
    }

    .modal.modal_thanks .modal__container {
        padding: 10px;
    }

    .modal-wrapper .connect__links a {
        margin-right: 6px;
        margin-left: 6px;
    }

    .modal-wrapper .modal_thanks .modal__content {
        padding: 15px;
        border-radius: 12px;
    }
}

/* End */
/* /local/templates/redesign/template_styles.css?17853384417639 */
