/*TRADE_STEPS_HEADERS*/
p{
    text-align: left;
}
body[dir=rtl] p{
    text-align: right;
}
.trade_steps_header {
    height: 111px;
    margin-bottom: 20px;
}

.international_exchange_market_forex_header {
    background: url(/images/multidoc/trade_steps/international_exchange_market_forex_header.jpg) left top no-repeat;
}    

.know_about_cfd_header  {
    background: url(/images/multidoc/trade_steps/know_about_cfd_header.jpg) right top no-repeat;
}

.earn_on_trading_header {
    background: url(/images/multidoc/trade_steps/earn_on_trading_header.jpg) left top no-repeat;
}

.start_with_ifcmarkets_header   {
    background: url(/images/multidoc/trade_steps/start_with_ifcmarkets_header.jpg) left top no-repeat;
}

.margin_trading_laverage_header  {
    background: url(/images/multidoc/trade_steps/margin_trading_laverage_header.jpg) left top no-repeat;
}

.spread_swap_commission_header  {
    background: url(/images/multidoc/trade_steps/spread_swap_commission_header.jpg) right top no-repeat;
}

/*TRADE_STEPS_HEADERS*/

/*TRADE_WITH_IFCM_STEPS*/


.trade_forex_steps > ul{
    padding: 0;
    margin-bottom: 50px;
}

.trade_forex_steps h2   {
    text-align: left;
    padding-top: 0;
}

.trade_forex_steps .trade_forex_header {
    height: 116px;  
}

.trade_forex_steps .trade_forex_header .tab_cont  {
    position: absolute;
    height: 160px;
    bottom: -116px;
    width: 100%;
}

.trade_forex_steps .trade_forex_header .tab   {
    height: 46px;
    text-align: center;
    z-index: 1;
}

.trade_forex_steps .trade_forex_header .tab .tab_top  {
    height: 44px;
    width: 87%;
    display: inline-block;
    background: #3a3a3a;
    border-radius: 10px 10px 0px 0px;
    text-align: left;
    padding-left: 4%;
}

body[dir=rtl] .trade_forex_steps .trade_forex_header .tab .tab_top    {
    text-align: right;
    padding-left: auto;
    padding-right: 4%;
}

.trade_forex_steps .trade_forex_header .tab:last-child .tab_top  {
    background: #757575;
}

.trade_forex_steps .trade_forex_header .tab.active .tab_top   {
    background: #126320;
    -webkit-background: linear-gradient(to bottom, #40804b, #13511d);
    -moz-background: linear-gradient(to bottom, #40804b, #13511d);
    -o-background: linear-gradient(to bottom, #40804b, #13511d);
    background: linear-gradient(to bottom, #40804b, #13511d);
}

.trade_forex_steps .trade_forex_header .tab .tab_top.mouseover_tab  {
    background: #126320;
    -webkit-background: linear-gradient(to bottom, #13511d, #40804b);
    -moz-background: linear-gradient(to bottom, #13511d, #40804b);
    -o-background: linear-gradient(to bottom, #13511d, #40804b);
    background: linear-gradient(to bottom, #13511d, #40804b);
}

.trade_forex_steps .trade_forex_header .tab .tab_top span {
    color: #fff;
    font-weight: bold;
    font-size: 38px;
    float: left;
    line-height: 38px;
}

body[dir=rtl] .trade_forex_steps .trade_forex_header .tab .tab_top span {
    float: right;
}

.trade_forex_steps .trade_forex_header .tab .tab_top sup  {
    color: red;
    font-size: 16px;
    display: inline-block;
    vertical-align: text-top;
    margin: 22px -4px 0 4px;
}

body[dir=rtl] .trade_forex_steps .trade_forex_header .tab .tab_top sup    {
    margin: 22px 4px 0 -4px;
}

.trade_forex_steps .trade_forex_header .tab .tab_top .tab_top_txt {
    color: #fff;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    height: 44px;
    line-height: 16px;
    font-size: 14px;
    font-weight: normal;
    width: 54%;
    padding-right: 3%;
}

body[dir=rtl] .trade_forex_steps .trade_forex_header .tab .tab_top .tab_top_txt   {
    padding-right: 0;
    padding-left: 3%;
}

.trade_forex_steps .trade_forex_header .tab .tab_txt  {
    height: 110px;
    width: 87%;
    border-radius: 0px 0px 10px 10px;
    text-align: left;
    border: solid 1px #126320;
    background: #bed5c2;
    display: none;
    position: relative;
    z-index: 10;
}

body[dir=rtl] .trade_forex_steps .trade_forex_header .tab .tab_txt  {
    text-align: right;
}

.trade_forex_steps .trade_forex_header .tab .tab_txt ul   {
    margin-top: 2px;
}

.trade_forex_steps .trade_forex_header .tab .tab_txt ul li  {
    margin-bottom: 2px !important;
    margin-left: 10%;
    text-align: left !important;
    font-size: 16px;
    display: -o-flex;
    display: -ms-flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
}

body[dir=rtl] .trade_forex_steps .trade_forex_header .tab .tab_txt ul {
    float: none;
}

body[dir=rtl] .trade_forex_steps .trade_forex_header .tab .tab_txt ul li  {
    margin-left: 0;
    text-align: right !important;
}

.trade_forex_steps .trade_forex_header .tab .tab_txt ul li div    {
    height: 20px;
    vertical-align: text-top;
    margin-right: 6px;
}

body[dir=rtl] .trade_forex_steps .trade_forex_header .tab .tab_txt ul li div  {
    margin-right: 0;
    margin-left: 6px;
}

.trade_forex_steps .trade_forex_header .tab .tab_txt ul li div span   {
    display: inline-block;
    width: 0px;
    height: 0px;
    border: solid 2px #373737;
    border-radius: 50%; 
    vertical-align: middle;
    margin-top: -4px;
}

.trade_forex_steps .trade_forex_header .tab .tab_txt ul li span   {
    position: relative;
    left: -8px;
    vertical-align: baseline;
    color: #373737;
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
}

.trade_forex_steps .trade_forex_cont    {
    min-height: 150px;
    display: flex;
    clear: both;
}

.trade_forex_steps .trade_forex_cont>div    {
    text-align: center;
}

.trade_forex_steps .trade_forex_cont>div:last-child {
    padding-left: 0px;
}

body[dir=rtl] .trade_forex_steps .trade_forex_cont>div:last-child {
    padding-left: 15px;
    padding-right: 0px;
}

@media (max-width: 767px){
    .trade_forex_steps .trade_forex_cont>div:last-child {
        padding: 0px 15px 8px 15px; 
    }
    .trade_forex_steps .trade_forex_header_1,
    .trade_forex_steps .trade_forex_header_2,
    .trade_forex_steps .trade_forex_header_3,
    .trade_forex_steps .trade_forex_header_4    {
        background: none;
    }
}
.trade_forex_steps .trade_forex_cont>div .button_green  {
    margin-bottom: 6px;
}


.trade_forex_steps .trade_forex_cont div div span   {
    color: #126320;
    text-align: left;
    display: table-cell;
    height: 100%;
    vertical-align: middle;
    padding-left: 10px;
}

body[dir=rtl] .trade_forex_steps .trade_forex_cont div div span {
    text-align: right;
}

.trade_forex_steps .trade_forex_cont div div span img   {
    margin-top: 4px;
    max-width: 100%;
}

.trade_forex_steps .trade_forex_cont div div span>a{
    display: inline-block;
    font-size: 18px;
}

.trade_forex_steps .trade_forex_cont .trade_forex_cont_video,
.trade_forex_steps .trade_forex_cont .trade_forex_cont_book    {
    display: inline-block;
    height: 26px;
    margin: 8px 8px 0 0;
    background-image: url(/images/front/001_sprite.png);
    background-repeat: no-repeat;
}

body[dir=rtl] .trade_forex_steps .trade_forex_cont .trade_forex_cont_video,
body[dir=rtl] .trade_forex_steps .trade_forex_cont .trade_forex_cont_book   {
    margin: 8px 0 0 8px;
}

.trade_forex_steps .trade_forex_cont .trade_forex_cont_video    {
    background-position: -1258px 0px;
    width: 35px;
}

.trade_forex_steps .trade_forex_cont .trade_forex_cont_book    {
    background-position: -1296px 0px;
    width: 40px;
}



.trade_forex_steps .trade_forex_cont div:nth-child(3) p {
    text-align: left;
    cursor: pointer;
}

.trade_forex_steps .trade_forex_cont div:nth-child(3) .button_green {
    margin-bottom: 10px;
    margin-top: 4px;
}

body[dir=rtl] .trade_forex_steps .trade_footer div ul   {
    float: none;
}

.trade_forex_steps .trade_footer div ul li  {
    border-left: none;
    border-right: none;
}

.trade_forex_steps .trade_footer div:nth-child(2) ul li {
    border-right: solid 1px #b9b9b9; 
}

body[dir=rtl] .trade_forex_steps .trade_footer div:nth-child(2) ul li {
    border-right: none;
    border-left: solid 1px #b9b9b9;
}


@media (max-width: 991px) {
    .trade_forex_steps .trade_forex_header_1 {
        background: none;
        height: 108px;
    }

    .trade_forex_steps .trade_forex_header .tab_cont  {
        height: 46px;
        position: static;
    }

    .trade_forex_steps .trade_forex_header .tab   {
        height: 62px;
    }

    .trade_forex_steps .trade_forex_header .tab .tab_top .tab_top_txt{
        width: 1%;
        padding-right: 8%;
    }

    body[dir=rtl] .trade_forex_steps .trade_forex_header .tab .tab_top .tab_top_txt{
        padding-right: 0;
        padding-left: 8%;
    }

    .trade_forex_steps .trade_forex_header .tab .tab_top .tab_top_txt br    {
        display: none;
    }
}

@media (max-width: 767px) {
    .trade_forex_steps .trade_forex_header {
        height: 226px;
        margin-bottom: 10px;
    }
    .trade_forex_steps .trade_forex_header .tab   {
        margin: 0 auto;
        float: none;
    }

    .trade_forex_steps .trade_footer div:nth-child(2) ul li {
        border-right: none; 
    }

    .trade_forex_steps .trade_forex_cont    {
        display: inherit;
        overflow: hidden;
    }
    .trade_forex_steps .trade_forex_cont div div span>a{
        width: 100%;
    }

    .trade_forex_steps .trade_forex_cont>div:nth-child(1)    {
        border-bottom: none;
    }
}

/*END_TRADE_WITH_IFCM_STEPS*/

/*BOOKS DOWNLOAD MODAL STYLES*/

.book-modal-back {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,.5);
    z-index: 1000;
}

.book-modal-body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 500px;
    max-width: 70%;
    height: 50%;
    margin: auto;
    background-color: #fff;
}

.book-modal-header {
    position: relative;
    height: 55px;
    padding: 0 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    border-bottom: none;
    z-index: 5;
    padding-right: 55px;
    font-size: 18px;
    text-align: left;
}

body[dir=rtl] .book-modal-header{
    text-align: right;
}

.book-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: .2s ease-in;
    font-style: normal;
}

body[dir=rtl] .book-modal-close{
    left: 15px;
    right: auto;
}

.book-modal-close:hover,
.book-modal-close:active {
    opacity: .5;
    outline: none;
}

.book-modal-content {
    padding: 15px;
}

.book_indicate{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
}
.book_indicate .img_text{
    font-size: 18px;
    margin-bottom: 20px;
    text-align: left;
    font-family: Roboto, sans-serif;
    font-weight: normal;
}
body[dir=rtl] .book_indicate .img_text {
    text-align: right;
}
.book_indicate .inp_div{
    width: 100%;
    margin-bottom: 10px;
}
.book_indicate .inp_div input{
    width: 100%;
    padding: 10px;

}
.book_indicate .check_div{
    display: flex;
    margin-bottom: 15px;
}
.book_indicate .check_div input{
    opacity: 0;
}
.book_indicate .check_div label{
    margin-left: 18px;
    font-size: 14px;
    font-family: Roboto, sans-serif;
    text-align: left;
    position: relative;
}

body[dir=rtl] .book_indicate .check_div label {
    margin-left: 0;
    margin-right: 18px;
    text-align: right;
}
.book_indicate .check_div label:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    background-color: #red;
    border: solid 1px #ccc;
    left: -37px;
    top: 0;
    position: absolute;
}

body[dir=rtl] .book_indicate .check_div label:before{
    right: -30px;
}


.book_indicate .check_div label::after {
    height: 6px;
    width: 10px;
    border-left: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(-45deg);
    left: -31px;
    top: 5px;
    position: absolute;

}

.book_indicate .check_div  input[type="checkbox"] + label::after {
    content: none;
}
.book_indicate .check_div input[type="checkbox"]:checked + label::after {
    content: "";
}
.book_indicate .book_button a i {
    font-size: 20px;
    padding-right: 5px;
}

.inp_div input[type='text']:focus,
.inp_div input[type='text']:active{
    outline: none;
}

.book_indicate [on=submit-success] {
    display: none;
}