.mt4_head {
    background-image: linear-gradient(to bottom, #e3e3e3, #eaeaea, #f1f1f1, #f8f8f8, #ffffff);
    width: 100%;
    padding: 56px 0 30px;
}

.desk_mt4_icn {
    width: 59%;
    height: 413px;
    text-align: right;
    background: url(/images/front/lpage/desktop_mt4.png) no-repeat;
    background-position: center;
    background-size: contain;
}

body[dir=rtl] .desk_mt4_icn {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    text-align: left;
}


.desk_mt5_icn {
    width: 59%;
    height: 413px;
    text-align: right;
    background: url(/images/front/lpage/desktop_mt5.png) no-repeat;
    background-position: center;
    background-size: contain;
}

body[dir=rtl] .desk_mt5_icn {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    text-align: left;
}


.plt_mt4_img,
.plt_mt5_img{
    width: 192px;
    height: 50px;
    background: url(/images/lpages/platforms_sprite_mt_nt.png) no-repeat;
    margin-bottom: 20px;
    display: inline-block;
}

.plt_mt4_img{
    background-position: -282px 0;
}

.plt_mt5_img{
    background-position: -141px 0;
}

.mt4_right_part {
    width: 41%;
    display: inline-block;
    margin-left: -40px;
}

body[dir=rtl] .mt4_right_part {
    margin-right: -40px;
    margin-left: 0;
}

.mt4_right_part h1 {
    text-align: left;
    font-size: 30px;
    font-weight: 300;
    margin: 0 0 20px;
}

.mt4_txt {
    margin-bottom: 30px;
    text-align: left;
    font-size: 20px;
    font-weight: 300;
}

body[dir=rtl] .mt4_right_part h1 ,
body[dir=rtl] .mt4_txt{
    text-align: right;
}

.mt4_devices .button_outline_white:hover {
    color: #768699;
}

.mt4_devices:before {
    content: "";
    position: absolute;
    left: calc(50% - 20px);
    right: calc(50% - 20px);
    top: -1px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #fff;
}

.mt4_devices:after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: calc(50% - 20px);
    right: calc(50% - 20px);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #768699;
    z-index: 1;
}

.inst_wrap:after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: calc(50% - 20px);
    right: calc(50% - 20px);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #f1f1f1;
}

.mt4_devices {
    background-color: #768699;
    padding: 60px 15px 10px;
    position: relative;
}

.mt4_devices .title {
    font-family: Montserrat;
    font-size: 30px;
    font-weight: normal;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

.devices_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 50px;
}

.devices_wrap_mt5{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
}

.devices_block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-right: 30px;
}

body[dir=rtl] .devices_block {
    margin-left: 30px;
    margin-right: 0;
}
@media (min-width: 651px){
    .devices_wrap_mt5 .devices_block{
        margin: 0 60px 20px;
    }
}

.devices_wrap_mt5 .devices_block:last-child .dvc_mobile{
    width: 60px;
}

.dvc_left_part {
    height: 82px;
    background-repeat: no-repeat;
    display: inline-block;
    margin-right: 23px;
}

body[dir=rtl] .dvc_left_part {
    margin-left: 23px;
    margin-right: 0;
}

.mac_pc {
    width: 104px;
    background-image: url(/images/front/lpage/mac_pc.svg);
}

.mobile {
    width: 44px;
    background-image: url(/images/front/lpage/mobile.svg);
}

.ipad {
    width: 60px;
    background-image: url(/images/front/lpage/ipad.svg);
}

.dvc_right_part > div:first-child {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 300;
    color: #fff;
}

.dvc_pc {
    width: 146px;
    height: 24px;
    display: inline-block;
    background-image: url(/images/front/lpage/dvc_pc.svg);
}

.dvc_mobile {
    width: 104px;
    height: 24px;
    display: inline-block;
    background-image: url(/images/front/lpage/dvc_mobile.svg);
}

.inst_wrap {
    background-color: #f1f1f1;
    display: inline-block;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
}

.inst_wrap .title {
    font-family: Montserrat;
    font-size: 30px;
    font-weight: normal;
    color: #000;
    margin-bottom: 50px;
    text-align: center;
}

@media (max-width: 807px) {
    .devices_block {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .mt4_head {
        padding: 30px 0 0;
    }

    .mt4_right_part h1,
    .mt4_devices .title,
    .inst_wrap .title {
        font-size: 24px;
    }

    .mt4_txt {
        font-size: 16px;
    }

    .desk_mt4_icn,
    .desk_mt5_icn{
        height: auto;
    }

    .mt4_devices .devices_wrap {
        padding: 0;
    }
    .dvc_right_part>div:first-child{
        font-size: 20px;
    }
}

@media (max-width: 650px) {
    .desk_mt4_icn,
    .desk_mt5_icn{
        display: none;
    }

    .mt4_right_part,
    body[dir=rtl] .mt4_right_part{
        width: 100%;
        margin: 0;
    }

    .plt_mt4_img,
    .plt_mt5_img{
        display: block;
        margin: 0 auto 20px;
    }

    .mt4_right_part h1, body[dir=rtl] .mt4_right_part h1,
    .mt4_txt, body[dir=rtl] .mt4_txt,
    .mt4_right_part {
        text-align: center;
    }

    .dvc_left_part {
        width: 104px;
        background-position: center;
    }

    .devices_wrap,
    .devices_wrap_mt5{
        flex-direction: column;
    }

    .devices_block,
    body[dir=rtl] .devices_block{
        width: 280px;
        margin: 0 auto 20px;
    }
}