/* Fonts */

/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-300.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-300.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-regular.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-regular.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-500 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-500.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-500.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-600.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-600.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-700.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-700.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-800 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-800.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-800.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-300italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-300italic.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-300italic.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-italic.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-italic.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-500italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-500italic.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-500italic.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-600italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-600italic.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-600italic.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-700italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-700italic.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-700italic.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-800italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: local(''),
       url("open-sans-v29-latin-800italic.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("open-sans-v29-latin-800italic.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* HTML */
html {
  scroll-padding-top: 230px;
}
/* Body */
body {
  font-family: "Open Sans", Arial, Sans-Serif;
}

/* Paywall */
.paywall {
  display: none;
}

/* News front page */
@media (min-width: 992px) {
  .post-list-title {
    font-size: 1.25rem;
  }
}

/* Article */
.post .entry-content p, .post .entry-content li  {
  font-size: 1rem;
  line-height: 1.7
}
.post .entry-content p a, .post .entry-content li a  {
  color: #343a40;
  text-decoration: underline;
}
.post .entry-content p a:hover, .post .entry-content li a:hover  {
  color: #000000;
  text-decoration: underline;
}
.post .entry-content figure  {
  padding: 5px 0px 5px 0px;
}
.post .entry-content figure img  {
  background-color: #f8f9fa;
}
.post .entry-content :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 1rem;
}
.wp-block-image figcaption {
  font-size: 80%;
  color: #6c757d;
  text-align: center;
}
.wp-block-quote {
  padding-left: 20px;
  background: #f8f9fa;
  border-left: solid 2px #343a40;
  padding-top: 15px;
  padding-bottom: 10px;
  padding-right: 15px;
}
.post .entry-content table {
  width: 100%;
}
.post .entry-content table tr th {
  text-align: center;
  background: #f8f9fa;
  border-top: solid 1px #dee2e6;
}
.table td, .table th {
  border-bottom: solid 1px #dee2e6;
  border-left: none;
  border-right: none;
  border-top: none;
}
.has-red-color {
  color: #dc3545!important;
}
.has-green-color {
  color: #28a745!important;
}
.has-orange-color {
  color: #fd7e14!important;
}
.has-yellow-color {
  color: #ffc107!important;
}
.has-blue-color {
  color: #007bff!important;
}
/* Sticky Social Share Box */
.sticky-social-share-parent {
  left: -100px;
}
.sticky-social-share {
  padding-top: 130px;
  margin-top: -150px;
}

/* Sticky Article Quotes Box */
.sticky-article-quotes-container {
  right: 0px;
}
.sticky-article-quotes {
  padding-top: 0px;
  margin-top: 0px;
}


@media (min-width: 992px) {
  .article-title {
    font-size: 2.5rem;
  }
  .post .entry-content p, .post .entry-content li  {
    font-size: 1.1rem;
    line-height: 1.8
  }
  .sticky-article-quotes {
    padding-top: 130px;
    margin-top: -130px;
  }
}
.embed-responsive-item {
  object-fit: cover;
  background-color: #f8f9fa;
}
.author-link a {
  color: #6c757d !important;
}

/* Navbar */
.navbar-desktop .navbar .navbar-nav .nav-item::after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: #44bd97;
  width: 0%;
  content: "";
  height: 2px;
}
.navbar-desktop .navbar .navbar-nav .nav-item:hover::after {
  width: 100%;
}
.navbar-desktop .navbar .navbar-nav .nav-item::after {
  transition: all 0.5s;
}
.navbar-social a {
  width: 30px;
}

/* Smart Money button */
.btn-smart-money {
    background-color: #00bf99;
}

/* Single page z-index */ 
#single-wrapper {
  z-index: 1;
}
/* Top Indices Feed */
#indices-feed-wrapper {
  z-index: 2;
}
.top-indices-feed-parent::-webkit-scrollbar {
  display: none;
}
.top-indices-feed-parent {
  scrollbar-width: none;
  width: 100%;
}
#top-indices-feed::-webkit-scrollbar {
  display: none;
}
#top-indices-feed {
  overflow-x: auto;
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
  overflow: -moz-scrollbars-none;
}
#top-indices-feed > div {
  min-width: 1000px;
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
  overflow: -moz-scrollbars-none;
}
#top-indices-feed > div::-webkit-scrollbar { 
  display: none;  /* Safari and Chrome */
  width: 0 !important
}

/* Unique arrow style */
.fa-caret-up  {
  transform: rotate(45deg);
  font-size: 1.4em;
  height: 16px;
  line-height: 8px;
  margin-right: .25rem !important;
}
.fa-caret-down {
  transform: rotate(-45deg);
  font-size: 1.4em;
  transform-origin: center right;
  height: 2px;
  line-height: 8px;
  margin-right: .25rem;
}

/* High low indicator */
.high-low-indicator {
  height: 5px;
}
.high-low-indicator div {
  height: 12px;
  width: 2px;
  top: -3px;
}

/* Chart range selector */
.quote-chart-range {
  cursor: pointer;
}
.quote-chart-range:hover {
  background: #efefef;
}
.quote-chart-range.range-active {
  background: #f8f9fa;
  font-weight: bold;
}

/* Additional bootstrap for position based on screen size */
@media (min-width: 576px) {
  .position-sm-static {
    position: static !important;
  }
  .position-sm-relative {
    position: relative !important;
  }
  .position-sm-absolute {
    position: absolute !important;
  }
  .position-sm-fixed {
    position: fixed !important;
  }
  .position-sm-sticky {
    position: sticky !important;
  }
}

@media (min-width: 768px) {
  .position-md-static {
    position: static !important;
  }
  .position-md-relative {
    position: relative !important;
  }
  .position-md-absolute {
    position: absolute !important;
  }
  .position-md-fixed {
    position: fixed !important;
  }
  .position-md-sticky {
    position: sticky !important;
  }
}

@media (min-width: 992px) {
  .position-lg-static {
    position: static !important;
  }
  .position-lg-relative {
    position: relative !important;
  }
  .position-lg-absolute {
    position: absolute !important;
  }
  .position-lg-fixed {
    position: fixed !important;
  }
  .position-lg-sticky {
    position: sticky !important;
  }
}

@media (min-width: 1200px) {
  .position-xl-static {
    position: static !important;
  }
  .position-xl-relative {
    position: relative !important;
  }
  .position-xl-absolute {
    position: absolute !important;
  }
  .position-xl-fixed {
    position: fixed !important;
  }
  .position-xl-sticky {
    position: sticky !important;
  }
}

/* Active chart option */
.chart-option:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}
.chart-option-active {
  background-color: #f8f9fa;
  border-left: solid 2px #343a40;
}

/* Tab styling */
.tab-control .active {
  font-weight: bold;
  border-bottom: solid 2px #343a40;
}

/* Prevent blue outline on input */
.form-control:focus {
  border-color: #ced4da; /* default B5 color or set your own color*/
  outline: none !important;
  box-shadow: none !important;
}  

/* Wordpress navbar */
.admin-bar.home .fixed-top {
  top: 32px;
}
.admin-bar.single .fixed-top {
  top: 32px;
}
.admin-bar.single .sticky-article-quotes {
  padding-top: 160px;
  padding-bottom: 50px;
}
.admin-bar.page .fixed-top {
  top: 32px;
}
.admin-bar.archive .fixed-top {
  top: 32px;
}
.admin-bar.search .fixed-top {
  top: 32px;
}
.admin-bar.error404 .fixed-top {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar.home .fixed-top {
    top: 0px;
  }
  .admin-bar.single .fixed-top {
    top: 0px;
  }
  .admin-bar.page .fixed-top {
    top: 0px;
  }
  .admin-bar.archive .fixed-top {
    top: 0px;
  }
  .admin-bar.search .fixed-top {
    top: 0px;
  }
  .admin-bar.error404 .fixed-top {
    top: 0px;
  }
}

/* Chart loading gif */
.quote-chart-container {
  background-image: url("loading-chart.gif");
  background-position: center;
  background-repeat: no-repeat;
}

/* Bootstrap Woocommerce CSS conflicts */
.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row,
.woocommerce form .form-row {
  display: block;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  max-width: unset;
}
.woocommerce form .show-password-input, .woocommerce-page form .show-password-input {
  top: 0.2em;
}

/* WooCommerce login register page */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
  border: solid 1px #dee2e6;
  padding: 5px;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
  border-radius: 0px;
  font-weight: 400;
}


/* WooCommerce account page */
/* Change WC Acct Page Column Widths */
@media only screen and (min-width: 769px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 22%;
  }
  .woocommerce-account .woocommerce-MyAccount-content { 
    width: 75%;
  }
}
/* Style WC Account Endpoint Links */
nav.woocommerce-MyAccount-navigation ul {
  list-style-type: none;
  padding-left: 0;
  max-width:200px;
  font-size: 17px;
  line-height: 26px;
}
nav.woocommerce-MyAccount-navigation ul li {
  padding: 8px 20px;
  border-bottom: 1px solid #dee2e6;
}
nav.woocommerce-MyAccount-navigation ul li a {
  color: #6c757d;
  text-decoration: none;
}
nav.woocommerce-MyAccount-navigation ul li a:hover {
  color: #343a40;
  text-decoration: none;
}
nav.woocommerce-MyAccount-navigation ul li.is-active {
  background-color: #F7F9FA;
  border-left: solid 2px #343a40;
}
nav.woocommerce-MyAccount-navigation ul li.is-active a {
  color: #343a40; cursor: default;
}
nav.woocommerce-MyAccount-navigation ul li:not(.is-active):hover {
  background-color: #F7F9FA;
}

/* Comments */
.cancel-comment-reply a {
  color: #343a40;
  font-weight: bold;
}