.first-screen {
    height: calc(100vh - 400px);
    position: relative;
    z-index: 1;
}

.first-screen .container {
    width: 100%;
    padding: 0 140px;
    max-width: none;
    position: initial;
}

.first-screen:after {
    content: "";
    background-color: #292e3b
}

.first-screen:after, .main-slider__elem {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0
}

.first-screen .main-slider__elem {
    z-index: -1;
    display: flex;
    align-items: center
}

.first-screen .main-slider__elem.active .main-slider__img {
    -webkit-animation: animV5Active 1s backwards;
    animation: animV5Active 1s backwards;
    opacity: 1
}

.first-screen .main-slider__img {
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-animation: animV5 1s backwards;
    animation: animV5 1s backwards;
    opacity: 0
}

.first-screen .main-slider__title {
   font-size: 45px;
    line-height: 50px;
    font-weight: 900;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; 
    margin-bottom: 16px;
    max-width: 1055px;
}

/*[data-slide-index='1'] .main-slider__title {*/
/*    color: #fff;*/
/*}*/

/*[data-slide-index='1'] .main-slider__description{*/
/*    color: #fff!important;*/
/*}*/

/*.first-screen [data-slide-index='1'] .main-slider__link {*/
/*    background-color: #E53434 !important;*/
/*    border: 1px solid #E53434 !important;*/
/*    box-shadow: 0px 11px 38px rgba(229, 52, 52, 0.6)!important;*/
/*}*/

[data-slide-index='2'] .main-slider__title {
    color: #E20613;
}

.first-screen .main-slider__description {
    font-size: 24px;
    line-height: 28px;
    font-weight: 400;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; 
    opacity: .7;
    margin-bottom: 40px;
}

.first-screen .main-slider__description, .main-slider__title {
    transform: translateY(30px);
    opacity: 0
}

.first-screen .main-slider__link {
    line-height: 60px;
    position: relative;
    background-color: #E20613 !important;
    border: 1px solid #E20613 !important;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: .1em;
    color: #fff;
    cursor: pointer;
    text-align: center;
    display: block;
    width: 100%;
    max-width: 300px;
    border-radius: 3px;
    outline: none !important;
    transition: 0.5s;
}


.first-screen .main-slider__bullets {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    /*display: none;*/
    z-index: 1;
}

.first-screen .main-slider__bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #16254c;
    cursor: pointer;
    transition: background-color .3s
}

.first-screen .main-slider__bullet:not(:last-child) {
    margin-right: 30px
}

.first-screen .main-slider__bullet.active {
    background-color: #E20613
}

.first-screen .main-slider__arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: #555c63;
    border-radius: 50%;
    color: #c6cddb;
    transition: background-color .3s;
    z-index: 2
}

.first-screen .main-slider__arrow:first-child {
    left: -80px
}

.first-screen .main-slider__arrow:nth-child(2) {
    right: -80px
}

.first-screen .main-slider__elem.active {
    z-index: 1
}

@media (min-width: 1200px) {

    .first-screen .main-slider__bullet:hover {
        background-color: #E20613
    }

    .first-screen .main-slider__arrow:hover {
        background: #E20613
    }
}

@media (max-width: 1219.98px) and (min-width: 800px) {
    .first-screen .main-slider .container {
        padding: 0 70px
    }
}

@media (max-width: 2500px) {
    .first-screen .main-slider__elem.active .main-slider__title {
        -webkit-animation: showY20pxmain-slider__title2500px .4s linear 0s forwards;
        animation: showY20pxmain-slider__title2500px .4s linear 0s forwards
    }

    .first-screen .main-slider__elem.active .main-slider__description {
        -webkit-animation: showY30pxmain-slider__description2500px .4s linear .2s forwards;
        animation: showY30pxmain-slider__description2500px .4s linear .2s forwards
    }
}

@media (max-width: 1630px) {
    .first-screen .main-slider__title{
        max-width: 1000px;
    }
}

@media (max-width: 1450px) {
    .first-screen .main-slider__title{
        max-width: 920px;
    }
}

@media (max-width: 1366px) {
    .first-screen .main-slider__arrow {
        top: 45%
    }

    .first-screen .main-slider__arrow:first-child {
        left: -55px
    }

    .first-screen .main-slider__arrow:nth-child(2) {
        right: -55px
    }
}

@media (max-width: 1365.98px) {
    .first-screen {
        height: 550px
    }

    .first-screen .main-slider__title {
        font-size: 30px;
        line-height: 35px;
        font-weight: 900;
        margin-bottom: 20px;
        max-width: 900px;
    }

    .first-screen .main-slider__description {
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
        margin-bottom: 25px
    }

    .first-screen .main-slider__link {
        line-height: 46px;
        max-width: 250px
    }
}

@media (max-width: 1219.98px) {
    .first-screen .main-slider__title {
        font-size: 40px;
        line-height: 40px;
        font-weight: 900;
        margin-bottom: 30px;
        max-width: 665px;
    }

    .first-screen .main-slider__description {
        font-size: 24px;
        line-height: 30px;
        font-weight: 400;
        margin-bottom: 50px;
        max-width: 445px;
    }

    .first-screen .main-slider__bullets {
        bottom: 40px
    }
}

@media (max-width: 1200px) {
    .first-screen .main-slider__arrow {
        top: 40%
    }
}

@media (max-width: 900px) {
    .first-screen .main-slider__arrow:first-child {
        left: -45px
    }

    .first-screen .main-slider__arrow:nth-child(2) {
        right: -45px
    }
}

@media (max-width: 799.98px) {
    .first-screen {
        height: 80vw
    }

    .container_block{
        position: absolute;
        top: 70px;
    }

    .first-screen .main-slider__img:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0
    }

    .first-screen .main-slider__title {
        font-size: 40px;
        line-height: 40px;
        font-weight: 900;
        margin-bottom: 22px;
        max-width: 610px;
    }

    .first-screen .main-slider__description {
        margin-bottom: 46px;
    }

    .first-screen .main-slider__link {
        line-height: 60px;

    }

    .first-screen .main-slider__bullets {
        bottom: 20px
    }

    .first-screen .main-slider__bullet {
        width: 15px;
        height: 15px
    }

    .first-screen .main-slider__bullet:not(:last-child) {
        margin-right: 20px
    }

    .first-screen .main-slider .container {
        padding: 0 58px
    }

    .first-screen .main-slider__arrow:first-child {
        left: -85px
    }

    .first-screen .main-slider__arrow:nth-child(2) {
        right: -85px
    }
}

@media (max-width: 650px) {
    .first-screen .main-slider__title{
        font-size: 20px;
        line-height: 21px;
        max-width: 310px;
        margin-bottom: 10px;
    }

    .first-screen .main-slider__description{
        font-size: 16px;
        line-height: 19px;
        max-width: 250px;
        margin-bottom: 20px;
    }

    .first-screen .main-slider__link {
        font-size: 16px;
        line-height: 50px;
    }
}

@media (max-width: 576px) {
    .first-screen {
        height: 130vw
    }

    .first-screen .main-slider .container {
        padding: 0 20px
    }


    .first-screen .main-slider__arrow:first-child {
        left: -45px
    }

    .first-screen .main-slider__arrow:nth-child(2) {
        right: -45px
    }

    .first-screen .main-slider__description {
        font-size: 14px;
        line-height: 21px;
        font-weight: 400
    }

    .first-screen .main-slider__bullets {
        bottom: 33px
    }
}

@media (max-width: 450px) {

    .container_block{
        top: 25px;
    }

    .first-screen .main-slider__bullets {
        bottom: 33px
    }

    .first-screen .main-slider__arrow {
        display: none
    }
}

@media (max-width: 320px) {
    .first-screen {
        height: 150vw
    }
}

@-webkit-keyframes showY20pxmain-slider__title2500px {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes showY20pxmain-slider__title2500px {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@-webkit-keyframes showY30pxmain-slider__description2500px {
    0% {
        opacity: 0;
        transform: translateY(30px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes showY30pxmain-slider__description2500px {
    0% {
        opacity: 0;
        transform: translateY(30px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}



/* Popup Action  */

.xcritical-wrapper.custom button{
  font-size: 24px;
    line-height: 47px;
    text-transform: initial;
    font-weight: 500;
    transition: 0.5s;
}

.xcritical-wrapper.custom button:hover{
    color: #333;
}

.modal-email-from {
    max-width: 494px !important;
    width: 100%;
    background: #fff;
    padding: 77px;
}

.modal-registration {
    max-width: 494px !important;
    width: 100%;
    background: #fff;
    padding: 40px 77px 77px;
    top: 53%;
}

@media (max-width: 475px) {
    .infinite-mobile-header{
        z-index: 1;
    }

    .modal-email-from, .modal-registration {
        padding: 20px;
    }
}

.first-screen .modal-email-from .main-slider__link,
.first-screen .modal-registration .main-slider__link
{
    max-width: 100%;
    background-color: #fff!important;
    border: none!important;
}


.first-screen .modal-email-from .main-slider__link input,
.first-screen .modal-registration .main-slider__link input
{
    border: 1px solid #D0D0D0;
    background: #fff;
    border-radius: 10px;
}

.first-screen .modal-email-from .main-slider__link button,
.first-screen .modal-registration .main-slider__link button
{
    background-color: #1FA03D !important;
    border: 1px solid #1FA03D !important;
    width: 100%;
    font-weight: 700;
    font-size: 18px;
    line-height: 170%;
    padding: 10px;
    margin-top: 20px;
}

.modal-email-from h2,
.modal-registration h2
{
    font-weight: 700;
    font-size: 34px;
    line-height: 41px;
    text-align: center;
    margin-bottom: 42px;
    color: #111111;
    margin-top: 45px;
}

.modal-thank-you {
    max-width: 494px !important;
    width: 100%;
    background: #fff;
    padding: 62px;
    text-align: center;
}

.modal-thank-you h3
{
    color: #1FA03D;
    font-weight: 700;
    font-size: 34px;
    line-height: 41px;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 45px;
}

.modal-thank-you p{
    font-weight: 700;
    font-size: 18px;
    line-height: 170%;
    color: #111111;
    text-align: center;
    max-width: 365px;
    margin: 0 auto;
}

.modal-thank-you a{
    font-weight: 700;
    font-size: 18px;
    line-height: 170%;
    color: #fff;
    max-width: 200px;
    width: 100%;
    display: inline-block;
    padding: 22px;
    background: #1FA03D;
    box-shadow: #1FA03D;
    border-radius: 4px;
    margin-bottom: 43px;
    margin-top: 43px;
}


.modal-registration .xcritical-form .xcritical-form_term{
    text-align: left;
    letter-spacing: 1px;
}

.modal-registration .xcritical-form .xcritical-form_phone .xcritical-form_phone__country{
    background: #fff;
}

.modal-registration .xcritical-form .xcritical-form_phone .xcritical-form_phone__country input{
    border: none;
}

.modal-registration .xcritical-form .xcritical-form_phone.error .xcritical-form_phone__country input{
    border: none;
}

.modal-registration .xcritical-form .xcritical-form_phone .xcritical-form_phone_list{
    background: #eceef2;
}

.modal-registration .xcritical-form .xcritical-form_phone .xcritical-form_phone_list .country-item_code,
.modal-registration .xcritical-form .xcritical-form_phone .xcritical-form_phone_list .country-item_name{
    color: #111;
    line-height: 24px;
    font-size: 14px;
    letter-spacing: 1px;
}

.modal-registration .xcritical-form .xcritical-form_term span{
    font-size: 14px;
    line-height: 24px;
    color: #111;
    letter-spacing: 1px;
}

.modal-registration .xcritical-form,
.modal-email-from .xcritical-form
{
    line-height: 0;
}

.modal-registration .xcritical-form .xcritical_input-wrapper{
    margin-bottom: 15px;
}

.modal-registration .xcritical-form .xcritical_input-wrapper.error input,
.modal-email-from .xcritical-form .xcritical_input-wrapper.error input
{
    border: 1px solid red;
}

.marketing-event-received{
    line-height: 60px!important;
    position: relative;
    background-color: #1FA03D !important;
    border: 1px solid #1FA03D !important;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .1em;
    color: #fff;
    cursor: pointer;
    text-align: center;
    display: block;
    width: 100%;
    max-width: 300px;
    border-radius: 3px;
    outline: none !important;
    transition: 0.5s;
}

@media (max-width: 1365.98px) {
    .marketing-event-received{
        max-width: 250px
    }
}

@media (max-width: 650px) {
    .marketing-event-received{
        line-height: 50px!important;
    }
}


/*@media (max-width: 1200px){*/

/*    .xcritical-form{*/
/*        display: inline-flex;*/
/*    }*/
/*}*/