/** Общее **/
.container{
    margin: 0 auto;
    max-width: 1680px;
    width: 100%;
}

.inside-container{
    padding: 1.5rem 7rem;
}

@media(max-width: 1023px){
    .inside-container{
        padding: 1.5rem 3rem;
    }
}

@media(max-width: 640px){
    .inside-container{
        padding: 1.5rem 1rem;
    }
}

.ci-headers{
    color: #BC2539;
    font-weight: 550;
    line-height: 1.375;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
}

h1.ci-headers, h2.ci-headers{
    font-size: 2.5rem;
}

@media(max-width: 640px){
    h1.ci-headers, h2.ci-headers{
        font-size: 2rem;
    }
}

h3.ci-headers{
    font-size: 2rem;
}

@media(max-width: 640px){
    h3.ci-headers{
        font-size: 1.5rem;
    }
}

.ci-common-link, .ci-common-link:active, .ci-common-link:visited, .ci-common-link:hover{
    color: #BC2539;
    text-decoration: none;
}

/** Баннер **/
#top-banner{
    background: url( "../images/egais/index/top-banner.png") no-repeat center center;
    background-size: contain;
    height: 680px;
}

@media(max-width: 1023px){
    #top-banner{
        height: unset;
    }
}

@media(max-width: 640px){
    #top-banner{
        background: unset;
    }
}

.top-banner-header{
    margin-top: 5rem;
}

@media(max-width: 640px){
    .top-banner-header{
        text-align: center;
        margin-top: 2rem;
    }
}

.top-banner-features-container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin: 7rem auto 0;
    box-sizing: border-box;
}

@media(max-width: 640px){
    .top-banner-features-container{
        margin-top: 2rem;
    }
}

.top-banner-feature-item{
    text-align: center;

    flex-basis: 18%;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 18%;
    position: relative;
    display: flex;
    flex-direction: column;
}

@media(max-width: 1023px){
    .top-banner-feature-item{
        flex-basis: 45%;
        width: 45%;
        margin-bottom: 0;
    }
}

@media(max-width: 640px){
    .top-banner-feature-item{
        flex-basis: 100%;
        width: 100%;

        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        text-align: left;
    }
}

.top-banner-feature-image-container{
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);

    padding: 1.5rem 0;
}

@media(max-width: 640px){
    .top-banner-feature-image-container{
        background: unset;
        border-radius: unset;
        -webkit-box-shadow: unset;
        -moz-box-shadow: unset;
        box-shadow: unset;
    }
}

.top-banner-feature-image{
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

@media(max-width: 640px){
    .top-banner-feature-image{
        width: 100px;
        height: 60px;
    }
}

#cup{
    background: url( "../images/egais/index/cup.png") no-repeat center center;
    background-size: contain;
}

#flag{
    background: url( "../images/egais/index/flag.png") no-repeat center center;
    background-size: contain;
}

#logo{
    background: url( "../images/egais/index/logo.png") no-repeat center center;
    background-size: contain;
    width: 155px;
}

@media(max-width: 640px){
    #logo{
        width: 100px;
    }
}

#regulator{
    background: url( "../images/egais/index/regulator.png") no-repeat center center;
    background-size: contain;
}

.top-banner-feature-title-container{
    display: flex;
    flex: 1;
    flex-wrap: wrap;
}

.top-banner-feature-title{
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.375;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    color: #000000;
    width: 100%;
    margin-bottom: 0;
}

@media(max-width: 640px){
    .top-banner-feature-title{
        margin-top: 0;
    }
}

.top-banner-feature-link, .top-banner-feature-link:active, .top-banner-feature-link:visited{
    text-decoration: none;
    color: #000000;
    cursor: pointer;
    font-weight: 550;
}

.top-banner-feature-link:hover{
    color: #BC2539;
}

.top-banner-feature-divider{
    display: none;
    width: 80%;
    background: #666666;
    border: none;
    height: 1px;
}

@media(max-width: 640px){
    .top-banner-feature-divider{
        display: block;
    }
}

/** Модальные окна **/
.popup-content{
    display: none;
}

.popup-content-header{
    margin-top: 0.5rem;
}

.popup-content p{
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    font-weight: 500;
}

.popup-content-container{
    display: flex;
    flex-direction: row;
}

@media(max-width: 640px){
    .popup-content-container{
        flex-direction: column;
    }
}

.popup-content-container__item-image{
    width: 230px;
}

#popup-form{
    display: none;
    width: 100%;
    max-width: 800px;
    padding: 2.5rem;
    box-sizing: border-box;

    background: #FFFFFF;
    border-radius: 1rem;
    -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);

}

#popup-form p{
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    font-weight: 500;
}

/** Возможности **/
#features{
    background: #F7F7F7;
    padding: 1.5rem 0;
}

.features-header{
    text-align: center;
}

.features-header__mobile-visible{
    display: none;
}

@media(max-width: 640px){
    .features-header__mobile-visible{
        display: block;
    }

    .features-header__mobile-hide{
        display: none;
    }
}

.features-list-container{
    width: 640px;
    margin: 0 auto;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
}

@media(max-width: 640px){
    .features-list-container{
        width: unset;
        font-size: 1.175rem;
    }
}

.features-list__item{
    line-height: 1.3;
    margin-top: 1em;
    margin-bottom: 1em;
}

.features-list__item::marker {
    color: #BC2539;
    font-size: 2.2rem;
}

@media(max-width: 640px){
    .features-list__item::marker {
        font-size: 1.5rem;
    }
}

@media(max-width: 640px){
    #features br{
        display: none;
    }
}

/** Техподдержка **/
#support{
    padding: 1.5rem 0;
}

.support-header{
    text-align: center;
}

.support-list{
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    font-weight: 550;
    padding-left: 2rem;
    font-size: 1.25rem;
}

.support-list__item{
    margin-bottom: 1rem;
}

.support-list__light-item{
    font-weight: normal;
}

.support-list__item::marker {
    color: #BC2539;
    font-size: 2.2rem;
}

@media(max-width: 640px){
    .support-list__item::marker {
        font-size: 1.5rem;
    }
}

.support-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    font-size: 1.25rem;
}

@media(max-width: 640px){
    .support-container{
        flex-direction: column;
        gap: 1rem;
    }
}

.support-item__title{
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    font-weight: 550;
    margin-left: 2rem;
}

.support-item__list{
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    padding-left: 2rem;
}

.support-item__list-item{
    margin-bottom: 0.5rem;
}

.support-item__list-item::marker {
    color: #BC2539;
}

/** Блок по центру **/
#middle-block{
    padding: 1.5rem 0;
    background: #F7F1F1;
}

.middle-block-header{
    text-align: center;
    color: #000000;
}

@media(max-width: 640px){
    .middle-block-header{
        margin-top: 2rem;
        margin-bottom: 3rem;
    }

    .middle-block-header:first-child{
        margin-top: 0;
        margin-bottom: 5rem;
    }
}

/** Шаги подключения **/

.steps-container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin: 5rem auto 0;
    box-sizing: border-box;
    padding: 0 5rem;
}

@media(max-width: 1023px){
    .steps-container{
        justify-content: center;
        gap: 3rem;
    }
}

@media(max-width: 640px){
    .steps-container{
        margin-top: 2rem;
        padding: 0 1rem;
    }
}

.steps-item{
    text-align: center;

    flex-basis: 28%;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 28%;
    position: relative;
    display: flex;
    flex-direction: column;

    padding: 2.5rem 2.5rem 1.5rem;
    background: #FFFFFF;
    border-radius: 1rem;
    -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);

    margin-bottom: 0;
}

@media(max-width: 1023px){
    .steps-item{
        flex-basis: 45%;
        width: 45%;
        margin-bottom: 2rem;
    }
}

@media(max-width: 640px){
    .steps-item{
        flex-basis: 100%;
        width: 100%;
    }
}

.steps-title-container{
    /*margin-bottom: 1rem;*/
    margin-top: -1rem;
}

.steps-result-item .steps-title-container{
    margin-top: 0;
}

.steps-title{
    font-weight: 550;
    font-size: 1.25rem;
    line-height: 1.375;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    color: #000000;
    margin-top: 0;
}

.steps-description-container{
    margin-bottom: 0.5rem;
}

.steps-description{
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.375;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    color: #000000;
    width: 100%;
    margin-bottom: 0;
}

.steps-image{
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

#step-1-image{
    background: url( "../images/egais/index/step-1-image.png") no-repeat center center;
    background-size: contain;
}

#step-2-image{
    background: url( "../images/egais/index/step-2-image.png") no-repeat center center;
    background-size: contain;
}

#step-3-image{
    background: url( "../images/egais/index/step-3-image.png") no-repeat center center;
    background-size: contain;
}

.steps-number{
    width: 68px;
    height: 158px;
    margin: -110px auto -10px;
}

#step-1{
    background: url( "../images/egais/index/step-1.png") no-repeat center center;
    background-size: contain;
    height: 125px;
    margin: -96px auto 4px
}

#step-2{
    background: url( "../images/egais/index/step-2.png") no-repeat center center;
    background-size: contain;
}

#step-3{
    background: url( "../images/egais/index/step-3.png") no-repeat center center;
    background-size: contain;
}

#steps-links{
    width: 65%;
    height: 131px;
    margin: -5px auto 0;
    position: relative;
    z-index: 99;
    background: url( "../images/egais/index/step-links-full.png") no-repeat center center;
    background-size: contain;
}

@media(max-width: 1023px){
    #steps-links{
        display: none;
    }
}

.steps-result{
    justify-content: center;
    margin-top: -5px;
    margin-bottom: 7rem;
}

@media(max-width: 1023px){
    .steps-result{
        display: none;
    }
}

.steps-result-item{
    padding: 1.5rem 2.5rem;
}

.steps-result-item .steps-title-container, .steps-result-item .steps-title{
    margin-bottom: 0;
}

/** Список программ **/
.programs-container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin: 5rem auto 0;
    box-sizing: border-box;
    padding: 0 3rem;
}

@media(max-width: 640px){
    .programs-container{
        margin-top: 2rem;
        padding: 0 1rem;
    }
}

.programs-item{
    text-align: center;

    flex-basis: 29%;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 29%;
    position: relative;
    display: flex;
    flex-direction: column;

    padding: 1rem 2.5rem 1.5rem;
    background: #FFFFFF;
    border-bottom-right-radius: 3.5rem;
    -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);

    margin-bottom: 5rem;
}

@media(max-width: 1023px){
    .programs-item{
        flex-basis: 45%;
        width: 45%;
        margin-bottom: 2rem;
    }
}

@media(max-width: 640px){
    .programs-item{
        flex-basis: 100%;
        width: 100%;
    }
}

.programs-image{
    width: 130px;
    height: 75px;
    margin: 0 auto 1rem;
}

#master-utm{
    background: url( "../images/egais/index/master-utm.png") no-repeat center center;
    background-size: contain;
}

#master-utm-mk{
    background: url( "../images/egais/index/master-utm-mk.png") no-repeat center center;
    background-size: contain;
}

#master-utm-pro{
    background: url( "../images/egais/index/master-utm-pro.png") no-repeat center center;
    background-size: contain;
}

#master-inpack{
    background: url( "../images/egais/index/master-inpack.png") no-repeat center center;
    background-size: contain;
}

#master-utm-re{
    background: url( "../images/egais/index/master-utm-re.png") no-repeat center center;
    background-size: contain;
}

#master-utm-shop{
    background: url( "../images/egais/index/master-utm-shop.png") no-repeat center center;
    background-size: contain;
}

.programs-title-container{
    margin-bottom: 1rem;
}

.programs-title{
    font-weight: 550;
    font-size: 1.25rem;
/*    font-size: 1.175rem;*/
    line-height: 1.375;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    color: #666666;
    width: 100%;
    margin-bottom: 0;
}

.programs-description-container{
    margin-bottom: 1rem;
}

.programs-description{
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.375;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    color: #000000;
    width: 100%;
    margin-bottom: 0;
}

.program-link-container{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 1rem;
}

@media(max-width: 640px){
    .program-link-container{
        flex: unset;
        justify-content: unset;
    }
}

.program-link{
    border: 1px solid #BC2539;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    width: max-content;
    margin: 0 auto 1rem;
    min-width: 150px;
}

.program-link:hover, .program-link:active {
    background: #BC2539;
}

.program-link a{
    text-decoration: none;
    font-size: 1rem;
    font-weight: 550;
    line-height: 1.375;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    color: #000000;
}

.program-link:hover a, .program-link:active a{
    color: #FFFFFF;
}

/** Отзывы **/
#reviews{
    background: #F7F1F1;
    overflow-x: hidden;
    padding: 1.5rem 0;
}

@media(max-width: 640px){
    #reviews{
        padding: 1.5rem 1rem 0;
    }
}

.reviews-header{
    text-align: center;
    color: #000000;
}

@media(max-width: 640px){
    .reviews-header{
        margin: 0;
    }
}

.reviews-container{
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0 3rem;
    box-sizing: border-box;
}

@media(max-width: 1360px){
    .reviews-container{
        padding: 2rem 0 3rem;
    }
}

@media(max-width: 640px){
    .reviews-container{
        padding: 2rem 0 0;
    }
}

.reviews-item-container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

@media(max-width: 640px){
    .reviews-item-container{
        display: none;
    }
}

.reviews-item-container__mobile{
    display: none;
}

@media(max-width: 640px){
    .reviews-item-container__mobile{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 2rem;
    }
}

.reviews-item{
    flex-basis: 45%;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 45%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.reviews-divider{
    width: 1px;
    background: #BC2539;
    margin: 0 2rem;
}

@media(max-width: 1023px){
    .reviews-item{
        flex-basis: 100%;
    }

    .reviews-divider{
        width: 100%;
        height: 1px;
        background: #BC2539;
        margin: 2rem 0;
    }
}

.reviews-item-container__mobile .reviews-item{
    display: none;
}

.reviews-item__title-container{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
}

.reviews-item__icon{
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    flex-basis: 120px;
}

@media(max-width: 1023px){
    .reviews-item__icon{
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        flex-basis: 70px;
    }
}

.reviews-item__title{
    font-weight: 550;
    font-size: 1rem;
    line-height: 1.375;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
}

.reviews-item__description{
    font-size: 1rem;
    line-height: 1.5;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    color: #000000;
    margin: 0;
}

/** Стрелочки отзывов **/
.reviews-directions{
    margin: -1.75rem 0 0;
    position: relative;
    z-index: 9;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;

    font-weight: 550;
    font-size: 1rem;
    line-height: 1.375;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    color: #000000;
}

.reviews-directions__item{
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: inline-block;
}

.reviews-directions__left{
    background: url( "../images/directions/direction-left.svg") no-repeat center center;
    background-size: cover;
}

.reviews-directions__left:hover{
    background: url( "../images/directions/direction-left-hover.svg?v=1") no-repeat center center;
    background-size: cover;
}

.reviews-directions__left.reviews-directions__disabled:hover{
    background: url( "../images/directions/direction-left.svg") no-repeat center center;
    background-size: cover;
}

.reviews-directions__right{
    background: url( "../images/directions/direction-right.svg") no-repeat center center;
    background-size: cover;
}

.reviews-directions__right:hover{
    background: url( "../images/directions/direction-right-hover.svg") no-repeat center center;
    background-size: cover;
}

.reviews-directions__right.reviews-directions__disabled:hover{
    background: url( "../images/directions/direction-right.svg") no-repeat center center;
    background-size: cover;
}

.reviews-directions__space{
    display: inline-block;
    width: 0.5rem;
}

@media(max-width: 1023px){
    .reviews-directions{
        text-align: center;
    }
}

@media(max-width: 640px){
    .reviews-directions{
        display: none;
    }
}

.reviews-footer-points{
    text-align: center;
    width: 100%;
    margin: 2rem 0 0;
}

.reviews-footer-points__item{
    cursor: pointer;
    width: 14px;
    height: 14px;
    margin-right: 0.5rem;
    display: inline-block;
    background: url( "../images/directions/point.svg") no-repeat center center;
    background-size: contain;
}

.reviews-footer-points__item-active{
    background: url( "../images/directions/point-active.svg") no-repeat center center;
    background-size: contain;
}

.reviews-footer-points__item:last-child{
    margin-right: 0;
}

ul.reviews-list{
    font-size: 1rem;
    line-height: 1.5;
    font-family: "Montserrat",Helvetica,Arial,sans-serif;
    color: #000000;
    margin: 0;
}

ul.reviews-list li::marker{
    color: #BC2539;
}

/*------------------------------------------------------------------*/

.steps-item:hover .steps-title, .steps-item:hover .steps-description {
    color: #bc2539;
    cursor: pointer;
}