.page-title {
  text-align: center;
  background: white;
  color: #062760;
  padding-top: 5px;
  padding-bottom: 6px;
  margin-top: -1px;
}

#mcx_charts {
  #mcx_chart_ul {
    display: flex;
    list-style: none;
    padding-left: 2px !important;

    li {
      cursor: pointer;
      border: 2px solid #ba6003;
      margin-inline: 0px;
      padding-inline: 12px;
      text-transform: uppercase;
      border-radius: 5px 5px 0px 0px;
      color: black;
      margin-left: -2px;
      border-bottom-color: #ba6003;
      text-shadow: 1px 1px 2px silver;
      background-color: white;
      font-size: 1.3rem;
      letter-spacing: 0.5pt;
    }

    li.active {
      background: #ba6003;
      color: white;
      text-shadow: 1px 1px 2px black;
    }

    li:hover {
      scale: 1.1;
    }
    li.active:hover {
      scale: 1;
    }
  }

  #mcx_chart_display {
    width: 100%;
    /* height: 300px; */
    border: 2px solid #ba6003;
    padding: 0;
    margin-top: -12px;
    border-radius: 0px 10px 10px 10px;
    background: white;

    #mcx_chart_canvas {
      width: 100% !important;
      max-height: 254px !important;
    }

    #overlay {
      position: absolute;
      top: 28px;
      left: 0;
      z-index: 90;
      background: rgba(0, 0, 0, 0.45);
      width: 100%;
      height: 100%;
      text-align: center;

      div {
        position: absolute;
        display: inline-block;
        background: black;
        color: white;
        padding: 10px;
        border-radius: 20px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }

    #mcx_chart_top {
      margin-bottom: 6px;

      #mcx_chart_title {
        display: inline-block;
        color: #73726f;
        text-transform: uppercase;
        padding-top: 5px;
        padding-left: 5px;
        font-weight: 600;
        letter-spacing: 1pt;
      }

      #mcx_chart_date_range {
        display: inline-block;
        color: black;
        font-size: 1.3rem;
        margin: 5px;
        float: right;

        input {
          width: 102px;
        }
      }
    }

    #mcx_chart_date_text {
      color: #767373;
      text-align: center;
      margin-bottom: 5px;
      font-weight: 600;
      font-size: 1.3rem;
    }
  }
}

/* ticker tape */
.ticker-tape-container {
  overflow-x: hidden;
  background-color: white;
  width: 100%;
  height: 31px;
  display: flex;
  padding-top: 3px;
}

.bg-ticker-light {
  background-color: #f0eaea !important;
}

.ticker-tape-container .cap {
  background-color: #fff;
  font-weight: 600;
  color: #031e38;
  letter-spacing: 1px;
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1;
  width: 154px;
  height: 31px;
  padding-left: 5px;
  border-right: solid 2px;
}

.ticker-tape-container .cap span {
  font-size: 8px;
  position: absolute;
  top: 13px;
  color: grey;
}

.ticker-tape {
  --direction: normal;
  --duration: 180s;
  --delay: 0s;
  --iteration-count: infinite;
  display: flex;
  gap: 1rem;
  flex: 0 0 auto;
  margin-right: 1rem;
  min-width: 100%;
  align-items: center;
  animation: scrmarqueeoll var(--duration) linear var(--delay) var(--iteration-count);
  animation-play-state: var(--play);
  animation-delay: var(--delay);
  animation-direction: var(--direction);
}

.ticker-slow {
  --direction: normal;
  --duration: 480s;
  --delay: 0s;
  --iteration-count: infinite;
  animation: scrmarqueeoll var(--duration) linear var(--delay) var(--iteration-count);
  animation-play-state: var(--play);
  animation-delay: var(--delay);
  animation-direction: var(--direction);
}

.ticker-tape span,
.ticker-tape span a {
  color: #031e38;
  letter-spacing: 1px;
  font-size: 10.5pt;
}

@keyframes scrmarqueeoll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.high {
  color: green;
}

.low {
  color: red;
}
/* end ticker tape */

.spot_mcx_box {
  position: relative;
  display: none;
  text-align: center;
  border-radius: 20px;
  color: white;
  width: 100%;
  height: 49px;
  margin-bottom: 10px;
  box-shadow: 0px 0px 4px #e6f2fe;
  z-index: 99;

  & img {
    position: absolute;
    top: 50%;
    left: 3px;
    width: 45px;
    transform: translateY(-50%);
  }
}

.spot_mcx_box:hover {
  scale: 1.1;
}

.display {
  display: inline-block;
}

.top-data-container {
  background: white;
  border-radius: 20px;
  padding-bottom: 5px;
  padding-inline: 5px;
  border: 2px solid #ba6003;

  #overlay-data {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
    text-align: center;

    div {
      position: absolute;
      display: inline-block;
      background: black;
      color: white;
      padding: 10px;
      border-radius: 20px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }

  .ul-future-options {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ba6003;

    li {
      cursor: pointer;
      background-color: white;
      color: black;
      padding-inline: 10px;
      border-inline: 1px solid;
      text-shadow: 1px 1px 2px silver;
      letter-spacing: 0.5pt;

      &.active {
        background-color: #ba6003;
        color: white;
        text-shadow: 1px 1px 2px black;
      }
      &:hover {
        scale: 1.1;
      }
      &.active:hover {
        scale: 1;
      }
    }
  }

  h3 {
    margin: 0;
    background: transparent;
    text-transform: capitalize;
    color: black;
    padding-top: 5px;
    margin-bottom: 1px;
    letter-spacing: 0.5pt;
  }

  .top-data-header {
    display: flex;
    cursor: pointer;
    justify-content: space-evenly;
    width: 100%;

    .top-data-header-item {
      text-align: center;
      width: 100px;
      background: white;
      color: black;
      border-radius: 12px 12px 0px 0px;
      text-shadow: 1px 1px 0px #d0d0d0;
    }

    .active {
      background: #031e38;
      color: white;
      text-shadow: 1px 1px 0px #000000;
    }
    .top-data-header-item:hover {
      scale: 1.1;
    }
    .top-data-header-item.active:hover {
      scale: 1;
    }
  }

  .options-nav {
    display: none;
  }

  .top-data-area {
    background: transparent;

    .top-data-area-item {
      background: #031e38;
      display: none;
      height: 261px;
      padding: 10px;
      border-radius: 0 0 20px 20px;

      .top-data-area-title {
        font-size: 2rem;
        border-bottom: 1px solid #ba6003;
        margin-bottom: 12px;
        margin-top: 5px;
        padding-bottom: 5px;

        .commoditytabs {
          display: inline-flex;
          list-style: none;
          float: right;
          margin-right: 2px;

          .active {
            background: #ba6003;

            a {
              color: white;
              text-shadow: 1px 1px 2px black;
            }
          }

          li {
            background: white;
            font-size: 1.3rem;
            width: 70px;
            text-align: center;
          }

          li a {
            display: block;
            width: 100%;
            color: black;
            text-decoration: none;
            text-shadow: 1px 1px 2px silver;
          }

          li:first-child {
            border-radius: 10px 0 0 10px;
          }

          li:last-child {
            border-radius: 0 10px 10px 0;
          }
        }
      }
    }

    .active {
      display: block;
    }
  }
}

.slick-slide {
  margin-right: 10px;
}

.slick-dots li button:before {
  color: white !important;
}

.card-wealth-news {
  background-color: #01666f;
  width: 100%;
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
  /* height: 308px; */
  box-shadow: 0px 0px 6px silver;
  scale: 1;
  transition: all 0.5s ease;
}
.card-wealth-news:hover {
  scale: 0.9;
  box-shadow: 0px 0px 26px 2px silver;
}

.img-wealth-news {
  min-width: 100% !important;
  max-height: 190px !important;
  object-fit: contain;
  box-shadow: 0px 0px 4px silver;
  border-radius: 10px;
}

.desc-wealth-news {
  display: block;
  width: 100%;
  color: white !important;
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 5px;
  min-height: 50px;
  line-height: 1.8rem;
}

.desc-wealth-news:hover {
  background-color: #01666f;
}

.market-watch {
  .market-watch-nav {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;

    li {
      cursor: pointer;
      padding-inline: 10px;
      background: white;
      color: black;
      letter-spacing: 0.5pt;
      font-size: 1.7rem;

      &:first-child {
        border-radius: 10px 0px 0px 0px;
      }

      &:last-child {
        border-radius: 0px 10px 0px 0px;
      }

      &:hover {
        scale: 1.1;
      }

      &.active {
        background: #ba6003;
        border: 2px solid #ba6003;
        color: white;
      }

      &.active:hover {
        scale: 1;
      }
    }
  }

  .market-watch-display-area {
    background: white;
    color: black;
    min-height: 200px;
    border: 3px solid #ba6003;
    margin-inline: 5px;
    margin-bottom: 10px;
    margin-top: 0px;
    border-radius: 10px;

    #market_watch_options {
      display: none;
    }

    .mw-dis-title {
      display: inline-block;
      font-size: 1.9rem;
      font-weight: 600;
      letter-spacing: 1pt;
      padding-left: 10px;
      padding-top: 6px;
      padding-bottom: 4px;
    }

    hr {
      margin: 0;
      border-top: 3px solid #ba6003;
    }

    .mw-dis-ar-item {
      padding-inline: 10px;
      padding-block: 5px;

      .mw-dis-ar-ul-future,
      .mw-dis-ar-ul-options {
        display: flex;
        list-style: none;
        justify-content: start;
        padding: 0;
        margin: 0;
        margin-block: 5px;

        li {
          cursor: pointer;
          padding-inline: 10px;
          background: white;
          color: black;
          letter-spacing: 0.5pt;
          font-size: 1.6rem;
          border: 2px solid #ba6003;

          &:first-child {
            border-radius: 10px 0px 0px 10px;
          }

          &:last-child {
            border-radius: 0px 10px 10px 0px;
          }

          &:hover {
            scale: 1.1;
          }

          &.active {
            background: #ba6003;
            color: white;
          }

          &.active:hover {
            scale: 1;
          }
        }
      }
    }
  }

  #mw_future_symbols,
  #mw_future_exp_date,
  #mw_options_symbols,
  #mw_options_strike_price,
  #mw_options_exp_date {
    margin-left: 5px;
    margin-right: 15px;
    border-radius: 10px;
    padding-inline: 5px;
    border: 2px solid #ba6003;
  }
}

/* animation rotate-scale-up */
.bounce-in-top {
  -webkit-animation: rotate-scale-up 0.65s linear both;
  animation: rotate-scale-up 0.65s linear both;
}

@-webkit-keyframes rotate-scale-up {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
    transform: scale(1) rotateZ(0);
  }

  50% {
    -webkit-transform: scale(2) rotateZ(180deg);
    transform: scale(2) rotateZ(180deg);
  }

  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
    transform: scale(1) rotateZ(360deg);
  }
}

@keyframes rotate-scale-up {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
    transform: scale(1) rotateZ(0);
  }

  50% {
    -webkit-transform: scale(2) rotateZ(180deg);
    transform: scale(2) rotateZ(180deg);
  }

  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
    transform: scale(1) rotateZ(360deg);
  }
}

/* animation: slit-in-vertical */
.slit-in-vertical {
  -webkit-animation: slit-in-vertical 0.45s ease both;
  animation: slit-in-vertical 0.45s ease both;
}

@-webkit-keyframes slit-in-vertical {
  0% {
    -webkit-transform: translateZ(-800px) rotateY(90deg);
    transform: translateZ(-800px) rotateY(90deg);
    opacity: 0;
  }

  54% {
    -webkit-transform: translateZ(-160px) rotateY(87deg);
    transform: translateZ(-160px) rotateY(87deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateZ(0) rotateY(0);
    transform: translateZ(0) rotateY(0);
  }
}

@keyframes slit-in-vertical {
  0% {
    -webkit-transform: translateZ(-800px) rotateY(90deg);
    transform: translateZ(-800px) rotateY(90deg);
    opacity: 0;
  }

  20% {
    -webkit-transform: translateZ(-160px) rotateY(87deg);
    transform: translateZ(-160px) rotateY(87deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateZ(0) rotateY(0);
    transform: translateZ(0) rotateY(0);
  }
}

/* animation: scale-up */
@-webkit-keyframes scale-up {
  0% {
    scale: 1;
  }

  50% {
    scale: 1.5;
  }

  100% {
    scale: 1;
  }
}

@keyframes scale-up {
  0% {
    scale: 1;
  }

  50% {
    scale: 1.5;
  }

  100% {
    scale: 1;
  }
}
