body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background: url('../img/background.png') no-repeat top center;
    background-size: 100%;
    background-position: 80px 36px;
}

.container {
    max-width: 1110px;
    margin: 0 auto;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 30px 0;
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}

.header__logo-block {
    display: flex;
    align-items: center;
}

.header__logo {
    margin-left: 13px;
}

.form {
    position: absolute;
    right: 30px;
    top: 25px;
    z-index: 10;
    width: 255px;
    border-radius: 40px;
    background-color: #2e71b9;
    padding: 28px 30px 42px;
    box-sizing: border-box;
}

.form__header {
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 3px;
}

.form__text {
    font-size: 12px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 3px;
}

input {
    border-radius: 25px;
    background-color: #2e71b9;
    border: 1px solid #8eadcb;
    width: 100%;
    font-size: 14px;
    color: #ecf4fd;
    font-weight: 400;
    font-style: italic;
    height: 52px;
    margin-top: 14px;
    padding-left: 24px;
    box-sizing: border-box;
    outline: none;
}

input::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.4); }
input:-ms-input-placeholder { color: rgba(255, 255, 255, 0.4); }
input::-ms-input-placeholder { color: rgba(255, 255, 255, 0.4); }
input::placeholder { color: rgba(255, 255, 255, 0.4);}

input:focus::-webkit-input-placeholder {
    color: transparent
}
input:focus::-moz-placeholder {
    color: transparent
}
input:focus:-moz-placeholder {
    color: transparent
}
input:focus:-ms-input-placeholder {
    color: transparent
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]:hover,
input[type="number"]:focus {
    -moz-appearance: number-input;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 26px;
}

.form__bottom a {
    font-size: 12px;
    color: #ffffff;
    font-weight: 400;
    text-align: right;
}

.form__bottom a:hover {
    text-decoration: none;
}

.button {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-radius: 25px;
    color: #ffffff;
    outline: none;
    padding: 14px 34px;
    text-decoration: none;
    transition: .4s;
    box-sizing: border-box;
    cursor: pointer;
    border: 1px solid transparent;
}

.center {
    margin: 0 auto;
}

.button--yellow {
    background-color: #f4a261;
}

.button--yellow:hover {
    border: 1px solid #f4a261;
    color: #f4a261;
    background: #fff;
}

.button--blue {
    font-size: 18px;
    background-color: #23bce1;
    padding: 14px 26px;
    box-sizing: border-box;
}

.button--blue:hover {
    border: 1px solid #23bce1;
    background: #fff;
    color: #23bce1;
}

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

.first-screen__header {
    width: 100%;
    font-size: 54px;
    line-height: 64px;
    color: #2e71b9;
    font-family: 'Cabin', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-top: 14px;
}

.first-screen__text {
    max-width: 650px;
    font-size: 20px;
    line-height: 30px;
    color: #4a4a4a;
    font-weight: 600;
    text-align: center;
    margin: 30px auto 50px;
}

.main-slider {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    text-align: left;
}

.main-slider .swiper-slide {
    display: flex;
}

.main-slider__img {
    width: 48.5%;
    text-align: center;
}

.main-slider__img img {
    height: 100%;
    object-fit: cover;
}

.main-slider__info {
    width: 50%;
    padding-left: 126px;
    box-sizing: border-box;
    padding-top: 84px;
}

.main-slider__header {
    max-width: 445px;
    font-size: 34px;
    line-height: 40px;
    color: #2e71b9;
    font-weight: 700;
}

.main-slider__list {
    list-style-type: none;
    margin: 30px 0 60px;
    padding: 0;
}

.main-slider__list li {
    position: relative;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    font-weight: 400;
    padding-left: 20px;
    margin-bottom: 10px;
}

.main-slider__list li:before {
    content: '';
    position: absolute;
    left: 1px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #f4a261;
}

.swiper-button-prev, .swiper-button-next {
    background: none;
    width: 66px;
    height: 66px;
    border-radius: 33px;
    outline: none;
    margin-top: -36px;
    transition: .4s;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
    background-color: #e2effc;
}

.swiper-button-prev:after, .swiper-button-next:after {
    display: none;
}

.swiper-button-prev {
    left: 30px;
    transform: rotate(180deg);
}

.swiper-button-next {
    right: 30px;
}

.slider-block {
    position: relative;
}

.swiper-pagination {
    left: 50%;
    transform: translate(-50%, 33px);
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    border-radius: 7px;
    background-color: #f4a261;
    transition: .4s;
    opacity: 1;
    margin: 0 5px;
}

.swiper-pagination-bullet-active {
    width: 28px;
    height: 14px;
    border-radius: 6px;
    background-color: #2e71b9;
}

.comment {
    text-align: center;
    padding-top: 124px;
    margin: 0 auto 0;
    max-width: 734px;
    background: url('../img/points.png') no-repeat center 100px;
}

.comment__text {
    text-align: left;
    font-size: 18px;
    line-height: 28px;
    color: #245991;
    font-weight: 400;
    font-style: italic;
}

.comment__inner {
    display: flex;
    margin-top: 28px;
    margin-bottom: 58px;
}

.comment__img {
    position: relative;
    width: 65px;
    height: 65px;
    border-radius: 100%;
}

.comment__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment__info {
    margin-left: 12px;
    padding-top: 12px;
    text-align: left;
}

.comment__name {
    font-size: 16px;
    color: #245991;
    font-weight: 600;
}

.comment__small-text {
    font-size: 16px;
    color: #4a4a4a;
    font-weight: 400;
    margin-top: 5px;
}

.second-screen {
    margin-top: 40px;
    padding-bottom: 100px;
    background: url('../img/background-second.png') no-repeat center center;
    background-size: cover;
    background-color: #e2effc;
}

.second-screen__inner {
    display: flex;
}

.second-screen__img {
    width: 50%;
    padding-top: 100px;
    position: relative;
}

.second-screen__img-text {
    position: absolute;
    top: 162px;
    left: 72px;
    font-size: 72px;
    color: #245991;
    font-family: 'Cabin', sans-serif;
    font-weight: bold;
    text-align: center;
}

.second-screen__img-text span {
    font-size: 38px;
    text-transform: uppercase;
    display: block;
    margin-top: -16px;
}

.second-screen__info {
    width: 50%;
    padding-top: 74px;
    padding-left: 28px;
    padding-right: 20px;
}

.second-screen__header {
    font-size: 38px;
    line-height: 50px;
    color: #245991;
    font-family: 'Cabin', sans-serif;
    font-weight: 700;
}

.second-screen__text {
    font-size: 24px;
    line-height: 35px;
    color: #4a4a4a;
    font-weight: 600;
    margin-top: 36px;
}

.second-screen__btn {
    margin-top: 56px;
}

.second-screen__btn .button {
    font-size: 18px;
    padding: 12px 24px;
}

.footer {
    background-color: #2e71b9;
    padding: 70px 20px 64px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
}

.footer__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer a, .footer span {
    font-size: 14px;
    color: #ffffff;
    font-weight: 400;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer__left-links {
    margin-top: 32px;
}

.footer__left-links a {
    margin-right: 13px;
}

label.error {
    text-align: center;
    width: 100%;
    display: block;
    font-size: 14px;
    line-height: 18px;
    color: #f4a261;
    font-family: "Open Sans";
    font-weight: 600;
}

@media only screen and (max-width: 1250px) {
    .container {
        padding: 0 20px;
    }

    .header {
        flex-direction: column;
        padding: 20px 20px 0;
    }

    .form {
        position: relative;
        width: 100%;
        left: 0;
        padding: 24px 20px 32px;
    }

    .form__header {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .form__bottom {
        justify-content: space-between;
        align-items: center;
    }

    .button__blue {
        padding: 14px 45px;
    }

    .first-screen {
        padding: 0 20px;
    }

    .slider-block {
        margin: 0 -20px;
    }

    .first-screen__header {
        font-size: 34px;
        line-height: 40px;
        margin-top: 54px;
    }

    .first-screen__text {
        font-size: 18px;
        line-height: 26px;
        margin-top: 21px;
        max-width: 96%;
        margin-bottom: 23px;
    }

    .button--yellow {
        display: block;
        width: 100%;
    }

    .main-slider .swiper-slide {
        flex-direction: column;
    }

    .main-slider__img, .main-slider__info {
        width: 100%;
    }

    .main-slider__img img {
        /*width: 100%;*/
        max-height: 350px;
    }

    .main-slider__info {
        padding: 0;
        text-align: center;
        margin-top: 22px;
    }

    .main-slider__header {
        font-size: 24px;
        line-height: 32px;
    }

    .main-slider__list {
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .main-slider__list li {
        font-size: 16px;
        line-height: 18px;
        color: #000000;
        padding-left: 0;
    }

    .main-slider__list li:before {
        display: none;
    }

    .swiper-button-prev, .swiper-button-next {
        display: none;
    }

    .comment {
        padding-top: 84px;
    }

    .comment__text {
        font-size: 18px;
        line-height: 28px;
    }

    .comment__inner {
        margin-top: 20px;
        margin-bottom: 42px;
    }

    .comment .button {
        display: none;
    }

    .second-screen {
        overflow: hidden;
        background-image: none;
        background-color: #eef6fd;
        padding-bottom: 44px;
    }

    .second-screen__inner {
        flex-direction: column;
    }

    .second-screen__img, .second-screen__info {
        width: 100%;
    }

    .second-screen__img {
        padding-top: 40px;
        text-align: center;
    }

    .second-screen__img img {
        width: 400px;
    }

    .second-screen__img-text {
        top: 100px;
        left: 50%;
        font-size: 64px;
        transform: translate(-127%, 0);
    }

    .second-screen__img-text span {
        font-size: 32px;
    }

    .second-screen__info {
        padding: 0;
        text-align: center;
        margin-top: 30px;
    }

    .second-screen__header {
        font-size: 24px;
        line-height: 32px;
    }

    .second-screen__text {
        font-size: 18px;
        line-height: 24px;
        margin-top: 18px;
    }

    .second-screen__btn {
        margin-top: 30px;
    }

    .second-screen__btn .button {
        font-size: 16px;
    }

    .footer {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__left {
        align-items: center;
    }

    .footer a, .footer span {
        margin-top: 20px;
    }

    .button--blue {
        padding: 14px 46px;
    }
}

@media only screen and (max-width: 440px) {
    .second-screen__img-text {
        transform: translate(0%, 0);
        left: 65px;
    }
}

.form-error {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 18px;
    color: #f4a261;
    font-family: "Open Sans";
    font-weight: 600;
}

.form-error img {
    margin-right: 10px;
}

.hide {
    display: none;
}

#bntWebForm {
    display: none;
}

.forms--donthave #form {
    display: none;
}

.forms--donthave #bntWebForm{
    display: block;
}

.success {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
}

.success--active {
    display: flex;
}

.success__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    color: #2e71b9;
    font-weight: 400;
    background: #fff;
    padding: 20px;
}

.success__inner .button {
    margin-top: 20px;
}

.invite--none {
    opacity: 0.5;
    pointer-events: none;
}
