﻿.section5{
    background-color: #fbfbfb;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/**/
.feature-title {
    /*width:404px;
    min-width:404px;*/
    width:32%;
    min-width:32%;
    padding-left: calc(50vw - 759px);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.feature-slider-cont {
    /*width:calc(100% - 404px);
    min-width:calc(100% - 404px);*/
    width:68%;
    min-width:68%;
    /*width:100%;*/
    overflow: hidden;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding:193px 30px 158px 0;
    display: flex; 

    position:relative;
    z-index:10;
}
.elements{
    position:relative;
    /*left:306px;*/
    left:0;
    width: 100%;
    display: flex;
    margin-left:280px;
}

.feature-title h2{
    text-align:left;
}
/**/
.f-block{
    margin-right:66px;
    display: flex; 
    flex-wrap: nowrap;
    align-items: center;
    justify-content:center;
}
.feature-element {
    position: relative;
    border-radius: 20px;
    background-color: transparent;
    margin: 10px 0 0 10px;
}
.f-block.featured .feature-element{
    background-color: #02faa7;
}
.feature-info {
    border-radius: 20px;
    box-shadow: 0 9px 22px 7px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    position: relative;
    top: -10px;
    left: -10px;
    padding: 50px 58px;
    overflow: hidden;
    height: 464px;
    width: 310px;
}

.feature-element h3{
    font-size: 30px;
    line-height: 28px;
    font-family: 'Averta-ExtraBold',"Open Sans", Helvetica, Arial, Verdana, sans-serif;
    margin: 40px 0 24px 0;
}

.feature-element p {
    font-size: 20px;
    line-height: 30px;
    margin: 0;
    padding: 0;
}

.f-slider-btns {
    margin-top: 82px;
}
.f-slider-btns a{
    width: 50px;
    height: 35px;
    background-image: url('/Images/arrow_slider.svg');
    background-position: center;
    background-repeat: no-repeat;
    display:inline-block;
    background-size: 100% auto;
}
.f-slider-btns a:hover {
    opacity: 0.6;
}
.prev {
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    margin-right:44px;
}

.left-mask,.right-mask{
    position:absolute;
    z-index:20;
    height:100%;
    background-repeat:repeat-y;
    background-size:100%;
}
.left-mask {
    left: 0;
    top: 0;
    width: 400px;
    background-image: url('/Images/feature_mask_left.png');
    background-position:left top;
}


.right-mask{
    right:0;
    top:0;
    width:460px;
    background-image: url('/Images/feature_mask_right.png');
    background-position:right top;
}

@media screen and (max-width:2500px) {
    .feature-title {
        width: 29%;
        min-width: 29%;
    }

    .feature-slider-cont {
        width: 71%;
        min-width: 71%;
    }
}

@media screen and (max-width:2100px) {
    .feature-title {
        width: 22%;
        min-width: 22%;
    }

    .feature-slider-cont {
        width: 78%;
        min-width: 78%;
    }
}

@media screen and (max-width:1580px) {
    .feature-title {
        width: 18%;
        min-width: 18%;
        padding-left: 30px;
    }

    .feature-slider-cont {
        width: 82%;
        min-width: 82%;
    }
}

@media screen and (max-width:1320px) {
    .feature-title {
        width: 24%;
        min-width: 24%;
        padding-left: 30px;
    }

    .feature-slider-cont {
        width: 76%;
        min-width: 76%;
    }
}

@media screen and (max-width:1278px){
    .section5{
        flex-wrap:wrap;
    }
    .feature-title {
        width: 100%;
        min-width: 100%;
        padding-right: 30px;
        padding-top:193px;
    }
    .feature-slider-cont {
        width: 100%;
        min-width: 100%;
        padding-top:20px;
    }
}