.rs-howworks{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 36px;
    background: #FFFFFF;
    overflow: hidden;
}
.home .rs-howworks{
    padding-top: 60px;
    padding-bottom: 80px;
}
.rs-howworks h2{margin: 0;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 38px;
    color: #111111;
}
.rs-howworks .section-descr p{
    margin:0 ;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #4A4E52;
    text-align: left;
}
.rs-howworks_flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rs-howworks__steps{
    margin-top: 70px;
    display: flex;
    align-items: stretch;
    padding: 0 15px;
    justify-content: space-between;
    width: 100%;
}
.rs-howworks .rs-howworks__container .col-md-4 {
    width: 34.75%;
}
.rs-howworks .rs-howworks__container .col-md-8 {
    width: 65.25%;
}
.rs-howworks__steps .works-item{
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 75px;
    max-width: 182px;
    height: 250px;
    box-sizing: content-box;
}
.rs-howworks__steps .works-item.active{
    max-width: unset;
}
.rs-howworks__steps .works-item:first-child{
    padding-left: 0;
}
.rs-howworks__steps .works-item >div{
    background: #0488CD;
    padding: 27px 0;
    height: 100%;
    display: flex;
    align-items: stretch;
    align-content: center;
    justify-content: center;

}
.rs-howworks__steps .works-item:first-child >div{
    border-radius: 8px 0 0 8px;
}
.rs-howworks__steps .works-item:last-child >div{
    border-radius:  0 8px 8px 0;
}
.rs-howworks__steps .works-item:not(:first-child):before {    content: '';
    background: url(../../img/Union@2x.svg) no-repeat left center;
    background-size: auto 100%;
    width: 75px;
    height: 100%;
    left: 2px;
    position: absolute;
}
.rs-howworks__steps .works-item:not(:last-child):after {    content: '';
    background: url(../../img/Union@2x.svg) no-repeat right center;
    background-size: auto 100%;
    width: 75px;
    height: 100%;
    left: calc(100% - 1px);
    position: absolute;
    z-index: -1;
}

.works-item_content{
    opacity: 0;
    width: 0;
height: 100%;
}
.rs-howworks__steps .works-item:last-child .works-item_content{padding-right: 10px}
.works-item.active .works-item_content{
    width: 100%;
    opacity: 1;
    padding-left: 30px;
    border-left:  1px solid rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease 0s;
    -webkit-transition: width 0.3s ease 0s;
    -moz-transition: width 0.3s ease 0s;
    -ms-transition: width 0.3s ease 0s;
}
.works-item.active .works-item_content a{
	color: #fff;
	text-decoration: underline;
	transition: all .5s;
}
.works-item.active .works-item_content a:hover{}


.works-item_title{
    width: 100%;
    max-width: 122px;
    padding: 0 ;
    box-sizing: content-box;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
}
.works-item.active .works-item_title{
    padding-right: 16px;
    /*padding-left: 30px;*/
}
.works-item:first-child .works-item_title{
    padding-left: 30px;
}
.works-item:last-child .works-item_title{
    padding-right: 29px;
}
.works-item_title .works-item_number{
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 52px;
    line-height: 62px;
    text-align: center;
    color: #FFFFFF;
}
.works-item_title .works-item_number span{
    font-size: 18px;
    line-height: 22px;
    display: block;
}
.works-item_title h6{
    margin: 20px 0 0;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #FFFFFF;
    text-align: center;
    word-wrap: break-word;
    position: relative;
    left: 2px;
}
.works-item_content{
    padding-top: 20px;
    padding-bottom: 20px;
}
.works-item_content ul{
    list-style: disc;
    margin: 0;
    padding: 0 0 0 20px;
    position: relative;
    width: 100%;
    top: 0;
    min-width: 180px;
}
.works-item_content li{
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
    margin-bottom: 6px;
}
.works-item_content li:last-child{margin-bottom: 0}
.block__triangle {
    width: 45px;
    height: 100%;
    fill: #0488CD;
    position: absolute;
    top: 0;
    left: calc(100% - 2px);
    bottom: 0;
}
.wrap-line{display: none}
@media (max-width: 1850px){
    .rs-howworks__steps {
        justify-content: center;
        flex-wrap: wrap;
    }
    .wrap-line{   display: flex; flex: 0 0 100%;
        height: 24px;}
    .rs-howworks__steps .works-item{margin: 0 5px;}
    .rs-howworks__steps .works-item[data-step="1"],.rs-howworks__steps .works-item[data-step="2"],.rs-howworks__steps .works-item[data-step="3"],.rs-howworks__steps .works-item[data-step="4"]{transform: translateX(-32px)}
}
@media (max-width: 1200px){
    .rs-howworks__steps {
        flex-direction: column;
        align-content: center;
    }
    .rs-howworks__steps .works-item {
        margin: 0 0 20px 0;
        align-items: center;
        position: relative;
        padding-left: 0;
        width: 100%;
        max-width: 345px;
        height: auto;
        box-sizing: content-box;
        padding-top: 75px;
    }
    .rs-howworks__steps .works-item.active {
        max-width: 345px;
    }

    .rs-howworks__steps .works-item[data-step="1"], .rs-howworks__steps .works-item[data-step="2"], .rs-howworks__steps .works-item[data-step="3"], .rs-howworks__steps .works-item[data-step="4"] {
        transform: translateX(0);
    }
    .works-item:first-child .works-item_title ,
    .works-item:last-child .works-item_title,
    .works-item .works-item_title {
        padding-right: 5px;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
   .works-item.active .works-item_title {
        padding-right: 5px;
        padding-left: 0;
    }
    .rs-howworks__steps .works-item>div{width: 100%;align-items: stretch;}
    .works-item_content,
    .works-item.active .works-item_content {
        display: flex;
        align-items: center;
        padding: 10px 0 10px 10px;
    }
    .rs-howworks__steps .works-item:not(:last-child):after {
        content: '';
        background: url(../../img/subtract.svg) no-repeat center bottom;
        background-size: 100% auto;
        width: 100%;
        height: 80px;
        top: calc(100% - 5px);
        left: 0;
        position: absolute;
    }
    .rs-howworks__steps .works-item:not(:first-child):before {
        content: '';
        background: url(../../img/subtract.svg) no-repeat  center top;
        background-size: 100% auto;
        width: 100%;
        height: 80px;
        top: 1px;
        left: 0;
        position: absolute;
    }
    .rs-howworks__steps .works-item:first-child >div {
        border-radius: 8px 8px 0 0;
    }
    .rs-howworks__steps .works-item:last-child >div {
        border-radius: 0 0 8px 8px;
    }
}
@media (max-width: 767px){
    .rs-howworks_flex {
        /* flex-direction: column; */
        flex-wrap: wrap;
    }
    .rs-17 .rs-page  .rs-howworks_flex .section-descr{margin-top: 0}
    .rs-howworks .rs-howworks__container .col-md-4 {
        width: 100%;
        margin-bottom: 24px;
    }
    .rs-howworks .rs-howworks__container .col-md-8 {
        width: 100%;
    }
    .rs-howworks__steps {
        margin-top: 0;
    }
}