@use "../../../plugins/bootstrap-5.1.3/scss/functions";
@use "../../../plugins/bootstrap-5.1.3/scss/variables";
@use "../../../plugins/bootstrap-5.1.3/scss/mixins";
@use "../../../plugins/bootstrap-5.1.3/scss/utilities";
@use "../../../plugins/bootstrap-5.1.3/scss/reboot";
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: auto !important;
  }
}

:root {
  --primary: #CD0511;
  --consumed-by-js: $primary;
  --bs-primary: #CD0511;
  --bs-primary-rgb: 205, 5, 17;
  --success: #179149;
  --consumed-by-js: $success;
  --bs-success: #179149;
  --bs-success-rgb: 23, 145, 73;
  --bs-dark: #161616;
  --bs-dark-rgb: 22, 22, 22;
  --bs-font-open-sans:'Open Sans', sans-serif;
  --bs-body-font-family: var(--bs-font-open-sans);
  --bs-body-color: #161616;
  --bs-link-color: $primary;
}

@use "../../../plugins/bootstrap-5.1.3/scss/bootstrap";
.h-80 {
  height: 80px;
}

.header-stocks-sec {
  background: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/stocks/images/new/stocks-header-2.png) #f4f4f4 no-repeat;
  background-size: 36%;
  background-position: right 27% bottom 0;
}

.header-indices-sec {
  background: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/indices/images/new/indices-header.png?v=1) #f4f4f4 no-repeat;
  background-size: 34%;
  background-position: right 27% bottom 132%;
}

.body-lang-rtl .header-indices-sec {
  background-position: left 27% bottom 132%;
}

.body-lang-rtl .header-stocks-sec {
  background-position: left 27% bottom 0;
}

.forex-icon {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/forex/images/new/best-broker.svg);
}

.forex-icon:hover {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/forex/images/new/best-broker-gold.svg);
}

.commodities-icon {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/commodities/images/new/best-trading-conditions.svg);
}

.commodities-icon:hover {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/commodities/images/new/best-trading-conditions-gold.svg);
}

.conditions-icon {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/energies/images/new/best-conditions.svg);
}

.conditions-icon:hover {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/energies/images/new/best-conditions-gold.svg);
}

.header-icon {
  width: 88px;
  height: 128px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /*margin-left: 55px;*/
  margin-top: 40px;
}

.header-icon:hover {
  transition: 0.8s;
}

.equal-box {
  justify-content: flex-start !important;
  align-items: center;
}

.gray-box-pd {
  padding: 120px 50px 75px 50px;
}

.min-hgt {
  min-height: 400px;
}

.instruments-icon {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 170px;
  width: 170px;
}

.instrument-icon {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 150px;
  width: 150px;
}

.icon-1 {
  height: 130px;
  width: 130px;
}

.icon-2 {
  height: 130px;
  width: 130px;
}

.icon-3 {
  height: 130px;
  width: 130px;
}

.icon-4 {
  height: 130px;
  width: 130px;
}

.icon-5 {
  height: 130px;
  width: 130px;
}

.icon-6 {
  height: 130px;
  width: 130px;
}

.video-icon {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 55px;
  width: 60px;
}

.icon-1 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon1.svg);
}

.icon-2 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon2.svg);
}

.icon-3 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon3.svg);
}

.icon-4 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon4.svg);
}

.icon-5 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon5.svg);
}

.icon-6 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon6.svg);
}

.icon-7 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon7.svg);
}

.icon-8 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon8.svg);
}

.icon-9 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon9.svg);
}

.icon-10 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon10.svg);
}

.icon-11 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon11.svg);
}

.icon-12 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon12.svg);
}

.icon-13 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon13.svg);
}

.icon-14 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon14.svg);
}

.icon-15 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon15.svg);
}

.icon-16 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon16.svg);
}

.icon-17 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon17.svg);
}

.icon-18 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon18.svg);
}

.icon-19 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon19.svg);
}

.icon-20 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon20.svg);
}

.icon-21 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon21.svg);
}

.icon-22 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon22.svg);
}

.icon-23 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon23.svg);
}

.icon-24 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon24.svg);
}

.icon-25 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon25.svg);
}

.icon-26 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon26.svg);
}

.icon-27 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon27.svg);
}

.icon-28 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon28.svg);
}

.icon-29 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon29.svg);
}

.icon-30 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon30.svg);
}

.icon-31 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon31.svg);
}

.icon-32 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon32.svg);
}

.icon-33 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon33.svg);
}

.icon-34 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon34.svg);
}

.icon-35 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon35.svg);
}

.icon-36 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon36.svg);
}

.icon-37 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon37.svg);
}

.icon-38 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon38.svg);
}

.icon-39 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon39.svg);
}

.icon-40 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon40.svg);
}

.icon-41 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon41.svg);
}

.icon-42 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon42.svg);
}

.icon-43 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon43.svg);
}

.icon-44 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon44.svg);
}

.icon-45 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon45.svg);
}

.icon-46 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon46.svg);
}

.icon-47 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon47.svg);
}

.icon-48 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon48.svg);
}

.icon-49 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon49.svg);
}

.icon-50 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon50.svg);
}

.icon-51 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon51.svg);
}

.icon-52 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon52.svg);
}

.icon-53 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon53.svg);
}

.icon-54 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon54.svg);
}

.icon-55 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon55.svg);
}

.icon-56 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon56.svg);
}

.icon-57 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon57.svg);
}

.icon-58 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon58.svg);
}

.icon-59 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon59.svg);
}

.icon-60 {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/icons/icon60.svg);
}

.icon-3, .icon-33 {
  width: 190px;
}

.icon-3 {
  width: 190px;
}

.icon-6 {
  width: 160px;
}

.nav-tabs {
  border: none;
}

.nav-tabs .nav-item {
  border-bottom: 1px solid #dee2e6;
  padding: 0 30px;
  text-align: center;
}

.nav-tabs .nav-item.mw-120 {
  min-width: 120px;
  padding: 0;
}

.nav-tabs .nav-item .nav-link {
  color: #A5A5A5;
  font-weight: 700;
  padding: 15px;
  border: 0;
  font-size: 15px;
}

.nav-tabs .nav-item .nav-link.active {
  border-bottom: 4px solid #A5A5A5 !important;
  color: black !important;
  padding-bottom: 15px;
  width: max-content;
  margin: auto;
}

.nav-tabs .nav-item .nav-link.active:hover {
  border-bottom: 4px solid #A5A5A5;
  color: black;
}

.nav-tabs .nav-item .nav-link:hover, .nav-tabs .nav-item .nav-link:focus {
  border-bottom: 0;
  color: #A5A5A5;
}

.nav-tabs .nav-item .nav-link .logos {
  height: 70px;
  width: 70px;
  margin-bottom: 1rem;
}

/*
.tab-content {
    .mt4-logo, .mt5-logo {
        margin-top: 40px;
        width:80px;
        height: 80px;
    }
}*/
.important-note p, .important-note ol {
  font-size: 14px;
}

.important-note p {
  font-weight: bolder;
  margin-bottom: 0.5rem;
}

.important-note li {
  margin-bottom: 0.25rem;
}

.important-table tr:not(:last-child) {
  border-bottom-color: var(--bs-gray-300);
  border-bottom-width: 1px;
}

.logos {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 1rem;
}

.hfm-logo {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/images/homepage/redesign/platforms/hfm-platform.svg);
  width: 80px;
  height: 46px;
}

.mt5-logo {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/images/homepage/redesign/platforms/mt5.svg);
  width: 45px;
  height: 45px;
}

.mt4-logo {
  background-image: url(https://static.hfm.com/assets/hfappnew/websites/main/images/homepage/redesign/platforms/mt4.svg);
  width: 45px;
  height: 45px;
}

.platforms {
  background: #f4f4f4;
}

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

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

.platforms .bg-white:hover {
  background-color: #EEE !important;
  transition: 0.8s;
}

.other-instruments .sec-p {
  font-weight: normal;
  font-size: 16px;
  position: relative;
}

.other-instruments .gray-box-pd {
  padding: 100px 50px 110px 50px;
}

.other-instruments .equal-box {
  position: relative;
}

.other-instruments .equal-box .btn {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translate(-50%, -50%);
}

/* Acount buttons for table */
#accountTypes .nav-item {
  border: none;
  padding: 0;
}

#accountTypes .nav-item .nav-link {
  border: solid 1px #EEE;
  margin-top: 10px !important;
  border-radius: 15px;
}

#accountTypes .nav-item .nav-link.active {
  border: solid 1px #EEE !important;
  background-color: #EEE !important;
}

table .instruments-with-swaps-and-hours thead th {
  border-top: none;
}

table .instruments-with-swaps-and-hours thead tr:nth-child(1),
table .instruments-with-swaps-and-hours thead th:nth-child(2) {
  border-left: 0.05em solid #666;
}

table td {
  font-size: 12px;
}

table .tableHeader {
  background: #161616;
  color: white;
  font-size: 13px;
}

table .tableHeader th {
  text-align: center !important;
  font-weight: normal;
}

table thead {
  /*
        .sorting_asc {
            &:after {
                    opacity: 0.8;
                    font-family: 'Font Awesome 5 Free' !important;
                    content: "\f077" !important;
                    font-weight: 900;
                }
            }
        .sorting_desc {
            &:after {
                    opacity: 0.8;
                    font-family: 'Font Awesome 5 Free' !important;
                    content: "\f078" !important;
                    font-weight: 900;
                }
            }
        .sorting {
            &:after {
                opacity: 0.8;
                font-family: 'Font Awesome 5 Free' !important;
                content: "\f338" !important;
                font-weight: 900;
            }
        }
        */
}

/* RTL Amendments */
.body-lang-rtl div.dataTables_wrapper div.dataTables_filter input {
  margin-right: .5em;
  margin-left: 0;
}

.body-lang-rtl table.dataTable thead th {
  text-align: left !important;
}

@media (min-width: 2000px) {
  .header-indices-sec {
    background-size: 28%;
    background-position: right 27% bottom -20vh;
  }
  .header-stocks-sec {
    background-size: 27%;
  }
}

@media (min-width: 992px) {
  .rounded-top-left-dsk {
    border-top-left-radius: 0.42rem 0.42rem !important;
  }
  .rounded-top-right-dsk {
    border-top-right-radius: 0.42rem 0.42rem !important;
  }
  .rounded-bottom-left-dsk {
    border-bottom-left-radius: 0.42rem 0.42rem !important;
  }
  .rounded-bottom-right-dsk {
    border-bottom-right-radius: 0.42rem 0.42rem !important;
  }
  .body-lang-rtl .rounded-top-left-dsk {
    border-top-right-radius: 0.42rem 0.42rem !important;
    border-top-left-radius: 0 !important;
  }
  .body-lang-rtl .rounded-top-right-dsk {
    border-top-left-radius: 0.42rem 0.42rem !important;
    border-top-right-radius: 0 !important;
  }
  .body-lang-rtl .rounded-bottom-left-dsk {
    border-bottom-right-radius: 0.42rem 0.42rem !important;
    border-bottom-left-radius: 0 !important;
  }
  .body-lang-rtl .rounded-bottom-right-dsk {
    border-bottom-left-radius: 0.42rem 0.42rem !important;
    border-bottom-right-radius: 0 !important;
  }
}

@media (max-width: 1399.98px) {
  .header-indices-sec {
    background-size: 42%;
    background-position: right 14% bottom -24vh;
  }
  .header-stocks-sec {
    background: url(https://static.hfm.com/assets/hfappnew/websites/main/inside-pages/trading-instruments/stocks/images/new/stocks-header-2.png) #f4f4f4 no-repeat;
    background-size: 53%;
    background-position: right 3% bottom 0;
  }
}

@media (max-width: 1199.98px) {
  .header-indices-sec,
  .header-stocks-sec {
    background: #f4f4f4;
    background-size: auto;
    background-position: unset;
  }
  .video-section {
    text-align: center;
  }
}

@media (max-width: 991.98px) {
  .gray-box-pd {
    padding: 90px 50px 75px 50px;
  }
  .box-pd {
    padding: 20px 50px 0 50px;
  }
  .video-section h2 {
    text-align: center;
  }
  .platforms .bg-white {
    max-width: 100%;
  }
  .platforms .bg-white:hover {
    background-color: transparent !important;
  }
}

@media (min-width: 768px) {
  .body-lang-rtl .dataTables_filter {
    float: left;
  }
}

@media (max-width: 767.98px) {
  .rounded-top-left-mob {
    border-top-left-radius: 0.42rem 0.42rem !important;
  }
  .rounded-top-right-mob {
    border-top-right-radius: 0.42rem 0.42rem !important;
  }
  .rounded-bottom-left-mob {
    border-bottom-left-radius: 0.42rem 0.42rem !important;
  }
  .rounded-bottom-right-mob {
    border-bottom-right-radius: 0.42rem 0.42rem !important;
  }
  section:first-of-type {
    text-align: center;
  }
  .platforms {
    background: white;
  }
  .platforms:hover {
    background: transparent !important;
  }
  .btn-text {
    margin: auto;
  }
  .video-icon {
    height: 60px;
    width: 65px;
    min-width: 65px;
  }
  .dataTables_filter,
  .dataTables_length {
    margin-bottom: 15px;
  }
  .body-lang-rtl .rounded-top-left-mob {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0.42rem 0.42rem !important;
  }
  .body-lang-rtl .rounded-top-right-mob {
    border-top-left-radius: 0.42rem 0.42rem !important;
    border-top-right-radius: 0 !important;
  }
  .body-lang-rtl .rounded-bottom-left-mob {
    border-bottom-right-radius: 0.42rem 0.42rem !important;
    border-bottom-left-radius: 0 !important;
  }
  .body-lang-rtl .rounded-bottom-right-mob {
    border-bottom-left-radius: 0.42rem 0.42rem !important;
    border-bottom-right-radius: 0 !important;
  }
}
