#hero {
    padding-top: 110px;
    padding-bottom: 70px;
    background-color: #0d0d0d;
    background-image: url("../assets/img/city-1.jpg");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    position: relative;
}
#hero p {
    /*font-size: 26px;*/
    font-weight: 400;
    color: #ffffff;
    max-width: 900px;
    margin: 30px auto;
}
#hero .tio-cta-orange {
    margin-right: 30px;
    margin-top: 30px;
}
#hero .box{
    color: #ffffff;
    background-color: #232127;
    padding: 30px 20px;
}
#hero .box img{
    width: 60px;
    height: 60px;
}
#hero .right-image{
    margin-top: 30px;
}

#why-us{
    padding-top: 0;
    padding-bottom: 120px;
    background-color: #f1f1f1;
}
#why-us h2{
    margin-top: 20px;
    margin-bottom: 20px;
}
#why-us p{
    margin-bottom: 20px;
}
#why-us .text-side{
    max-width: 400px;
    margin: auto;
}
#why-us img{
    width: 100%;
    max-width: 400px;
}
#why-us .some-margin{
    margin-bottom: 70px;
}
#why-us .some-margin2 img{
    margin-top: 70px;
}

#new-standard{
    padding-top: 100px;
    padding-bottom: 100px;
}
#new-standard h3{
    margin-bottom: 20px;
}
#new-standard img{
    height: 80px;
}

#first-section{
    padding-top: 70px;
    padding-bottom: 120px;
    text-align: left;
    max-width: 900px;
    margin: auto;
}
#first-section h2{
    text-align: center;
    max-width: 475px;
    margin: 0 auto 50px;
    line-height: 45px;
}
#first-section .tio-cta-orange{
    margin: 50px auto 0;
    text-align: center;
}

#quote{
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #0a0a0a;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    min-height: 400px;
}
#quote h2{
    margin-bottom: 50px;
}
#quote p{
    max-width: 795px;
    font-size: 32px;
    font-weight: 200;
    z-index: 100;
    position: relative;
}
#quote .pawel{
    color: #ffffff;
    font-weight: 500;
}
#quote .quote-text:before{
    content: '';
    position: absolute;
    background-image: url("../assets/img/quotes.svg");
    background-repeat: no-repeat;
    width: 120px;
    height: 120px;
    top: 97px;
    left: -13px;
    z-index: 1;
}

/*#quote:after{*/
/*    content: '';*/
/*    background-image: url("../images/tio-advantage/schmid.png");*/
/*    background-repeat: no-repeat;*/
/*    width: 305px;*/
/*    height: 450px;*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    background-size: contain;*/
/*    left: 60%;*/
/*}*/

#global{
    padding-top: 100px;
    padding-bottom: 100px;
}
#global .box{
    padding: 50px;
    background-color: #3e4250;
    min-height: 500px;
    margin-bottom: 30px;
}
#global .box img{
    height: 60px;
}
#global a{
    margin-top: 30px;
}
#global .box .tio-text-1-white{
    height: 125px;
}
#global .tio-generic-title-2-white:lang(pl){
    font-size: 19px;
}
#global .tio-cta-orange:lang(pl){
    font-size:14px
}

#trading-platform {
    position: relative;
    padding-top: 10px;
    padding-bottom: 70px;
    background-color: #ffffff;
    /*background-image: url("../images/index/big-white-logo.svg");*/
    background-repeat: no-repeat;
    background-position: right -10px;
    background-size: contain;
}
#trading-platform .metaquotes-logo.mt4{
    width: 175px;
    height: 47px;
    margin-bottom: 20px;
}
#trading-platform .metaquotes-logo.mt5 {
    width: 175px;
    height: 47px;
    margin-bottom: 20px;
}
#trading-platform h2 {
    font-size: 40px;
}

#trading-platform .left-platform {
    padding-bottom: 270px;
}

#trading-platform .left-platform h2 {
    margin-bottom: 30px;
}

#trading-platform .tio-cta-dark {
    margin-top: 30px;
}

#trading-platform .floating-box {
    position: absolute;
    bottom: -110px;
    left: 0;
    text-align: center;
    margin: auto;
    border: 1px solid #ff7a04;
    background-color: #ff7a04;
    max-width: 1140px;
    width: 100%;
    z-index: 5;
    min-height: 220px;
    -webkit-box-shadow: 0px 3px 15px -1px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 3px 15px -1px rgba(0, 0, 0, 0.75);
}

#trading-platform .floating-box h2 {
    margin: auto;
    padding-top: 45px;
    font-size: 35px;
}

#trading-platform .floating-box .tio-cta-white {
    margin-right: 30px;
}

#trading-platform #myTabContent {
    height: 260px;
    margin-top: 50px;
}

#trading-platform .nav-tabs .nav-item {
    width: 50%;
}

#trading-platform .nav-tabs .nav-link {
    text-align: center;
    font-weight: 600;
    border: 1px solid #f1f1f1;
    margin-right: 30px;
}

#trading-platform .nav-tabs .nav-link, .nav-tabs .nav-item.show .nav-link {
    color: #3e4250;
    background-color: #f1f1f1;
}

#trading-platform .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link.active {
    background-color: #3e4250;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    color: #ffffff;
}

#trading-platform .nav-tabs .nav-link {
    border-radius: 30px;
}

#trading-platform .nav-tabs {
    border-bottom: none;
}

#trading-platform .platform-os p {
    margin-top: 6px;
    margin-bottom: 3px;
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 70px;
}

/*ARABIAN LANGUAGE*/
#first-section p:lang(ar),
#why-us:lang(ar),
#quote:lang(ar),
#global .box:lang(ar),
#trading-platform:lang(ar){
    text-align: right;
}
@media (max-width: 991px){
    #quote .quote-text:lang(ar)::before{
        width: 40px;
        height: 120px;
        top: 12px;
        left: 20px;
    }
}

/*END OF ARABIAN LANGUAGE*/

/* MEDIA QUERIES DESCENDING */
@media (min-width: 992px) and (max-width: 1200px) {

    #hero .tabbed-calculator .stock li {
        font-size: 14px;
        line-height: 38px;
    }
    #trading-platform .left-platform {
        padding-bottom: 345px;
    }
}

@media (min-width: 992px) {
    #hero {
        padding-top: 225px;
        min-height: 425px;
    }

    #hero .box{
        height: 400px;
        border-bottom: 1px solid #3e4250;
    }
    #hero .box:nth-child(1),
    #hero .box:nth-child(2),
    #hero .box:nth-child(3){
        border-right: 1px solid #3e4250;
    }
    #trading-platform .right-platform {
        background-image: url("../assets/img/mobile-metatrader.jpg");
        background-position: center center;
        background-size: 250px;
        background-repeat: no-repeat;
    }

}

@media (max-width: 991px) {
    #hero{
        background-position: left;
        margin-top: 55px;
    }
    #hero h1,
    #hero p {
        text-align: center;
    }

    #hero .top-cta {
        margin: auto;
        text-align: center;
        padding-top: 35px;
    }

    #hero .top-cta .tio-cta-orange,
    #hero .top-cta .tio-cta-dark {
        /*width: 100%;*/
        margin: 0 20px 20px;
    }

    #hero h1 {
        font-size: 38px;
        margin-bottom: 30px;
    }

    #hero p {
        font-size: 25px;
    }

    #hero .tabbed-calculator .stock-ul {
        margin-top: 20px;
        display: block;
        text-align: center;
    }

    #hero .tabbed-calculator .stock li {
        font-size: 14px;
        line-height: 38px;
    }

    #hero .hero-video img {
        max-width: 100%;
        position: relative;
        text-align: center;
        margin: 55px auto;
    }

    #hero .modal-container {
        width: 100%;
        height: 100%;
        max-width: 100%;
    }

    #hero .modal-container iframe {
        width: 100%;
        height: 100%;
        max-width: 100%;

    }
    #why-us{
        text-align: center;
    }
    #quote:after {
        display: none;
    }
    .floating-top-box:lang(it),
    .floating-top-box:lang(pl),
    .floating-top-box:lang(pt),
    .floating-top-box:lang(ms),
    .floating-top-box:lang(cz){
        height: 160px;
    }
}

@media (max-width: 767px) {

    #hero .tabbed-calculator .tab-oben a{
        font-size: 12px;
        line-height: 25px;
        padding: 22px 1px;
    }

    .tio-generic-title-1-black,
    .tio-generic-title-1-white{
        font-size: 30px;
    }
    #trading-platform .left-platform {
        padding-bottom: 350px;
    }
    #trading-platform .floating-box {

    }

    #trading-platform .floating-box h2 {
        font-size: 22px;
        /*padding-top: 20px;*/
        padding-bottom: 20px;
    }


}

@media (max-width: 475px){

    #cryptos .tio-cta-orange{
        margin: 20px auto;
    }

    #quote p{
        font-size: 25px;
    }
    #trading-platform .floating-box .tio-cta-white {
        margin: 0;
    }

    #trading-platform .tio-cta-dark {
        margin-top: 20px;
    }

    #trading-platform .floating-box {
        padding-bottom: 30px;
    }

    #trading-platform .nav-tabs .nav-link {
        margin-left: 5px;
        margin-right: 5px;
    }
    #trading-platform .platform-os {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        max-width: 300px;
        margin: auto;
    }

    #trading-platform .platform-os p {
        position: relative;
    }

    #trading-platform .left-platform p {
        /*bottom: -43px;*/
    }

    #trading-platform .left-platform h2 {
        font-size: 28px;
    }
}

@media (max-width: 375px){
    #trading-platform .left-platform {
        padding-bottom: 450px
    }
}

/* END OF MEDIA QUERIES DESCENDING */