.second-title {
    font-weight:400!important;
}

.platforms {
    background: #f4f4f4!important;
}

.platforms .platform-header {
    font-size: 18px;
    font-weight: 500;
}

.platforms .bg-white {
    position: relative;
    max-width: 90%;
}

.platforms .bg-white .hfm-logo {
    background-image: url(/assets/hfappnew/websites/main/images/homepage/redesign/platforms/hfm-platform.svg);
    width: 80px;
    height: 46px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.platforms .bg-white .mt5-logo {
    background-image: url(/assets/hfappnew/websites/main/images/homepage/redesign/platforms/mt5.svg);
    width: 45px;
    height: 45px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.platforms .bg-white .mt4-logo {
    background-image: url(/assets/hfappnew/websites/main/images/homepage/redesign/platforms/mt4.svg);
    width: 45px;
    height: 45px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.platforms .bg-white ul li {
    padding: 15px 0;
}

.platforms .bg-white .btn {
    position: absolute;
    left: 50%;
    bottom: 3px;
    transform: translate(-50%, -50%);
}

.mt4-box {
    background: #F4F4F4;
}

.mt4-box:hover {
    background: #EEE;
}

.fs-16 {
    font-size:16px!important;
}

.fs-20 {
    font-size:20px!important;
}

hr {
    border-color: #cccccc;
}

.vertical-line {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 2%;
    border-left: 1px solid #cccccc;
}

.multiline-li {
    display: flex;
    align-items: baseline;
}

.multiline-li i {
    vertical-align: middle;
    margin-right: 4px;
}

.who .fa-check:before {
    padding: 3px;
}

.movesTabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: transparent;
}

.cursor-pointer {
    cursor: pointer;
}


.section-scroll-margin {
    scroll-margin-top: 120px;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px;
    width:95%;
    font-size: 14px;
    border-radius: 5px;
    text-align: left;
    opacity: 0;
    background-color:#F4F4F4;
    transition: opacity 0.2s ease-in-out;
}

.mt4-box:hover .overlay-text {
    opacity: 1;
    background-color: #EEE;
}

.top-margin {
    margin-top: 75px;
}
.how-to-trade-cards {
    background-color: #f4f4f4;
    padding: 40px 60px;
    height: 100%;
}
.hover-color:hover {
    background-color: #E7E7E7 !important;
}

.tick-offset {
    position: absolute;
    top: 5px;
    left: -29px;
}

.price-cards {
    padding: 25px;
    height: 310px;
}

.affects-price-cards {
    background-color: #ffffff;
    border-radius: 12px;
}

.embed-responsive img {
    cursor:pointer;
}

.video-section .col-xl-6 {
    width:100%!important;
}
.video-section .mt-120 {
    margin-top: 50px !important;
}

.mt4-box {
    position: relative;
    height: 130px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.overlay-text {
    position: absolute;
    inset: 0;
    background: #EEE;
    color: #161616;
    padding: 5px 12px 5px 12px;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width:100%
}

.mt4-box:hover .overlay-text {
    opacity: 1;
    transform: translateY(0);
}

.square {
    padding: 10px;
}



@media (min-width: 992px) {
    .platforms .bg-white:hover {
        background: #E7E7E7 !important;
        transition: 0.8s;
    }
    .platforms .bg-white:hover .ptf-1 {
        display: none !important;
    }
    .platforms .bg-white:hover .ptf-2 {
        display: block !important;
    }
    .platforms .bg-white:hover .ptf-2 .list-group-item {
        background: transparent;
    }
}

@media (max-width: 1199px) {
    .price-cards {
        height: 385px;
    }
}

@media (max-width: 992px) {
    .price-cards {
        height: 425px;
    }
}

@media (max-width: 991.98px) {
    .platforms .bg-white {
        max-width: 100%;
    }

    .nav-tabs .nav-item {
        padding: 0px 15px!important;
    }
    .fs-20 {
        font-size:18px!important;
    }
}

@media (max-width: 767px) {
    .nav-tabs .nav-item {
        padding: 0px 10px!important;
    }

    .price-cards {
        height: auto;
    }
    mt4-box {
        height: 85px;
    }
}
