

/* Start:/bitrix/templates/optikaoptima_2.0/components/ag/ag.plugin/stylist_partnerskaya_programma_landing_page/style.css?17828191246876*/
/***** OTHER *****/

h1{
    display: none;
}

.affiliate_program_page h3 {
    text-align: center;
    font-size: 45px;
    line-height: 120%;
    color: #2d3c5c;
}

.affiliate_program_page .margin_b_60{
    margin-bottom: 60px;
}

/**** IMG ITEMS ****/

.affiliate_program_page .wrap_content_items > div{
    width: calc((100% - 30px) / 2);
}

.affiliate_program_page .wrap_content_items .img_items{
    background-size: cover;
    border-radius: 20px;
}

/**** LIST ****/

.affiliate_program_page ol {
    list-style-type: none;
    counter-reset: num;
    margin: 0 0 0 45px;
    padding: 0;
    font-size: 16px;
}
.affiliate_program_page ol li {
    position: relative;
    margin: 0 0 15px 0;
    padding:0;
    line-height: 1.4;
}
.affiliate_program_page ol li:before {
    content: counter(num) '.';
    counter-increment: num;
    display: inline-block;
    position: absolute;
    top: 0;
    left: -38px;
    width: 28px;
    height: 28px;
    background: #fff;
    color: #2d3c5c;
    text-align: center;
    line-height: 28px;
    font-size: 18px;
    font-weight: bold;
}

.affiliate_program_page ol li:last-child{
    margin-bottom:0;
    padding-bottom: 0;
}

/***** MAIN BANNER *****/

.affiliate_program_page .main_banner{
    position: relative;
}

.affiliate_program_page .main_banner img{
    display: block;
    width: 100%;
}

.affiliate_program_page .main_banner .list_blocks{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px 60px;
}

.affiliate_program_page .main_banner .item_block{
    width: 100%;
}

.affiliate_program_page .main_banner .wrap_logo_baner{
    position: absolute;
    top: 30px;
}

.affiliate_program_page .main_banner .logo_baner{
    width: 140px;
    height: auto;
    margin-left: -25%;
}

.affiliate_program_page .main_banner .text_banner{
    width: calc((100% - 60px) / 2);
    font-size:60px;
    font-weight: bold;
    color: #2d3c5c;
    line-height: 120%;
}

/**** block 1 ****/

.block_1_list_items .item{
    width: calc((100% - 60px) / 3);
    background-color: #ebecec;
    border-radius: 20px;
    padding: 30px;
}

.block_1_list_items .item:nth-last-child(-n+3){
    margin-bottom: 0;
}

.block_1_list_items .number_item{
    border-radius: 50%;
    border: 2px solid #2d3c5c;
    width: 50px;
    height: 50px;
    font-weight: bold;
    color: #2d3c5c;
    margin: 0 auto 15px auto;
}

/**** block 2 ****/

.block_2 .block_2_img_items,
.block_2_list_items{
    width: calc((100% - 30px) / 2);
}

.block_2 .img_items{
    background: url("/bitrix/templates/optikaoptima_2.0/components/ag/ag.plugin/stylist_partnerskaya_programma_landing_page/images/block_2_bk.png") center center no-repeat;
}

.block_2 .item{
    position: relative;
    text-align: center;
}

.block_2 .item:first-child:after{
    content: 'или';
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid #2d3c5c;
    width: 50px;
    height: 50px;
    font-weight: bold;
    color: #2d3c5c;
    margin: 30px auto 0 auto;
}

.block_2 .title_item{
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

/**** block 3 ****/

.block_3 .img_items{
    background: url("/bitrix/templates/optikaoptima_2.0/components/ag/ag.plugin/stylist_partnerskaya_programma_landing_page/images/block_3_bk.png") center center no-repeat;
}

/**** block 4 ****/

.block_4 .img_items{
    background: url("/bitrix/templates/optikaoptima_2.0/components/ag/ag.plugin/stylist_partnerskaya_programma_landing_page/images/block_4_bk.png") center center no-repeat;
}

.block_4 li{
    position: relative;
    padding-bottom: 0;
}

.block_4 li:after{
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    margin: 30px auto 0 auto;
    border: 2px solid #2d3c5c;
    background: url("/bitrix/templates/optikaoptima_2.0/components/ag/ag.plugin/stylist_partnerskaya_programma_landing_page/images/blue_right_arr.png") center center no-repeat;;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-background-size: auto 50%;
    -moz-background-size: auto 50%;
    background-size: auto 50%;
    transform: rotate(90deg);
    transform-origin: center;
}

.block_4 li:last-child:after{
    content: '';
    display: none;
}

.block_4 li:last-child{
    margin-bottom: 0;
}

@media only screen and (max-width: 1306px) {

    .affiliate_program_page .main_banner .list_blocks{
        padding: 20px;
    }

    .affiliate_program_page .main_banner .text_banner{
        font-size: 30px;
    }
}

@media only screen and (max-width: 768px) {

    .affiliate_program_page .main_banner .logo_baner{
        display: none;
    }

    .affiliate_program_page .main_banner .text_banner{
        font-size: 22px;
    }

    .affiliate_program_page h3{
        font-size: 22px;
    }

    /**** BLOCK 1 ****/

    .block_1_list_items .item:nth-last-child(-n+3),
    .block_1_list_items .item{
        width: calc((100% - 20px) / 2);
        padding: 20px;
        margin-bottom: 20px;
    }

    .block_1_list_items .item:last-child{
        margin-bottom: 0;
    }

    /**** IMG ITEMS ****/

    .affiliate_program_page .wrap_content_items > div{
        width:100%;
    }

    /*.affiliate_program_page .wrap_content_items div:first-child{
        margin-bottom: 20px;
    }*/

    .affiliate_program_page .wrap_content_items .text_items{
        margin-bottom: 20px;
    }

    .affiliate_program_page .wrap_content_items .img_items{
        background-size: cover;
        border-radius: 20px;
        height: 300px;
        -webkit-order: 100;
        order: 100;
    }

}

@media only screen and (max-width: 500px) {

    .affiliate_program_page .main_banner .list_blocks{
        padding: 20px;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-align-content: stretch;
        align-content: stretch;
        -webkit-align-items: center;
        align-items: center;
    }

    .affiliate_program_page .main_banner .wrap_logo_baner{
        position: relative;
        top: inherit;
    }

    .affiliate_program_page .main_banner .logo_baner{
        margin: 0;
    }

    .affiliate_program_page .main_banner .text_banner{
        font-size: 22px;
        width: 100%;
        text-align: center;
    }

    /**** block 1/3 ****/

    .block_1_list_items .item,
    .block_1_list_items .item:nth-last-child(-n+3){
        width:100%;
    }

}
/* End */
/* /bitrix/templates/optikaoptima_2.0/components/ag/ag.plugin/stylist_partnerskaya_programma_landing_page/style.css?17828191246876 */
