@font-face {
  font-family: "Rubik";
  src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

@font-face {
  font-family: "Heebo";
  src: url("/wp-includes/fonts/Heebo-Regular.ttf");
}

.indice-wrapper * {
  font-family: Rubik, Arial, Helvetica, sans-serif;
}

.indice-header {
  color: #00367c;
  font-weight: 700;
  font-size: 24px;
  text-align: right;
}

.indice-selector-wrapper {
  position: sticky;
  top: 10px;
  z-index: 3;
  background: #fff;
}

.select-market-type-wrapper-wrapper {
  background: #ffffff;
  box-shadow: 0px 2px 5px 0px #00000040;
  border: 2px solid #c9cfe033;
  padding: 2px;
  border-radius: 14px;
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.select-market-sector-wrapper,
.select-market-type-wrapper {
  display: flex;
  column-gap: 15px;
  overflow-x: auto;
  scrollbar-width: none;
}

.select-market-sector-wrapper {
  margin-top: 15px;
  border-bottom: 2px solid #00367c21;
  padding-inline: 10px;
}

.select-market-sector-wrapper::-webkit-scrollbar,
.select-market-type-wrapper::-webkit-scrollbar,
.graph-btn-slider::-webkit-scrollbar {
  display: none;
}

.select-market-sector-wrapper .market-sector,
.select-market-type-wrapper .market-type {
  text-align: right;
  white-space: nowrap;
  font-weight: 500;
  color: #00367c;
}

.select-market-type-wrapper .market-type {
  padding: 9px 5px;
  font-size: 16px;
}

.select-market-type-wrapper .market-type.select {
  color: #fff;
  border-radius: 10px;
  background: #00367c;
}

.select-market-sector-wrapper .market-sector {
  font-size: 20px;
  padding-bottom: 10px;
}

.select-market-sector-wrapper .market-sector.select {
  font-weight: 700;
  border-bottom: 3px solid #ffa527;
}

#indice-list {
  margin-top: 15px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
}

.indice-list-item {
  border-radius: 16px;
  box-shadow:
    0px 1px 2px -1px #0000001a,
    0px 1px 3px 0px #0000001a;
  border-top: 0.75px solid #f3f4f6;
  background: #ffffff;
  display: flex;
  flex-flow: row;
  min-height: 64px;
  padding: 0 15px;
  justify-content: space-between;
  align-items: center;
  width: 90%;
}

.indice-list-item .right,
.indice-list-item .left {
  display: flex;
  flex-direction: column;
}

.indice-list-item .right .row1,
.indice-list-item .right .row2,
.indice-list-item .left .row1,
.indice-list-item .left .row2 {
  display: flex;
  align-items: center;
}

.indice-list-item .right .row1 {
  gap: 6px;
}

.indice-list-item .right .row2 {
  gap: 6px;
}

.indice-list-item .left {
  align-items: flex-end;
}

.indice-list-item .left .row1,
.indice-list-item .left .row2 {
  justify-content: flex-end;
}

.indice-profit-procent,
.indice-profit-procent span {
  direction: ltr;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
}

.indice-time-symbol {
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #000;
}

.indice-green,
.info-table tr td:nth-child(2).indice-green {
  color: #00a63e;
}

.indice-red,
.info-table tr td:nth-child(2).indice-red {
  color: #d91400;
}

.indice-name {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #00367c;
}

.large-font {
  font-size: 18px;
}

.indice-price {
  font-weight: 700;
  font-size: 17px;
  line-height: 20px;
  color: #1e2939;
}

.indice-profit-percent {
  font-size: 15px;
}

.info-container-wrapper {
  width: min(max(312px, 70%), 100%);
  box-shadow:
    0px 1px 2px -1px #0000001a,
    0px 1px 3px 0px #0000001a;
  border: 0.75px solid #e5e7eb;
  background: #ffffff;
  border-radius: 14px;
  position: relative;
  display: flex;
  height: 440px;
  align-self: center;
  justify-content: space-around;
  flex-direction: column;
  overflow: hidden;
}

#charts-wrapper {
  position: relative;
}

/* For indice details */
.info-container {
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
  margin-top: 70px;
}

.indiceD-headers-container {
  position: absolute;
  top: 0;
  display: flex;
  justify-content: space-around;
  gap: 25px;
  width: 100%;
  height: 60px;
  align-items: center;
  border-bottom: 0.75px solid #e5e7eb;
  background: linear-gradient(270deg, #f9fafb 0%, #ffffff 100%);
}

.indiceD-header {
  font-size: 16px;
  color: #364153;
  cursor: pointer;
  user-select: none;
  font-family: Heebo;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
}

.indiceD-header-active {
  color: #000000;
  position: relative;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
}

.indiceD-header-active:after {
  content: "";
  position: absolute;
  bottom: -2px;
  height: 2px;
  width: 100%;
  left: 0;
  background-color: #ffa527;
  transform-origin: center;
}

.info-table {
  width: 100%;
  position: absolute;
  top: 70px;
}

.info-table td {
  width: 50%;
  text-align: center;
  padding: 12px 0;
  border-bottom: 0.75px solid #f3f4f6;
}

.info-table tr td:nth-child(1) {
  color: #374151;
  font-family: Heebo;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.info-table tr td:nth-child(2) {
  font-family: Heebo;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #101828;
  direction: ltr;
}

img.commodity-image {
  height: 21px;
  width: 13px;
}

img.crypto-image {
  height: 24px;
  width: 24px;
  position: relative;
  left: 4%;
}

.logo-image {
  /* opacity: 1; */
  position: absolute;
  width: 14%;
  left: 86%;
  bottom: 32%;
  z-index: 100;
}

@media only screen and (max-width: 600px) {
  .info-container-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .indiceD-headers-container {
    gap: 10px;
  }

  .tab-span {
    font-size: 14px;
  }
}

@media only screen and (max-width: 600px) {
  .container {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  .tab-span {
    font-size: 14px;
  }

  .info-container-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .apexcharts-toolbar {
    top: 0 !important;
    right: 40px !important;
    gap: 10px;
    z-index: 20 !important;
  }

  .apexcharts-toolbar > div {
    transform: unset;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .apexcharts-menu-icon,
  .apexcharts-zoom-icon {
    transform: scale(1.4) !important;
  }

  .apexcharts-reset-icon svg {
    fill: white !important;
  }

  .apexcharts-menu-icon,
  .apexcharts-zoom-icon {
    display: none !important;
  }

  #charts-wrapper {
    /* width: 85% !important; */
    height: 230px !important;
    align-self: center;
    position: relative;
    height: 310px;
    width: 100%;
  }

  #chart-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9;
  }

  #chart-overlay.shrink {
    display: block;
  }

  #chart-overlay.expand {
    display: none;
  }

  #error-area {
    background-color: white;
    z-index: 12;
    display: flex;
    flex-direction: column;
    border: 1px solid #3199f4;
  }

  #error-area > button {
    width: 100px;
    border: none;
    border-radius: 10px;
    color: white;
    background-color: #3199f4;
    align-self: center;

    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); */
  }

  .expand-button {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #3d7fb8;
    z-index: 10;
  }

  .expand-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M8 3.098s-3.966-.356-4.612.29S3.098 8 3.098 8M8 20.902s-3.966.356-4.612-.29S3.098 16 3.098 16M16 3.098s3.966-.356 4.612.29s.29 4.612.29 4.612M16 20.902s3.966.356 4.612-.29s.29-4.612.29-4.612M14.01 9.998l6.053-6.051M9.997 14.002L3.64 20.381m6.357-10.379L3.846 3.86M13.98 14.002l6.548 6.496'/%3E%3C/svg%3E");
  }

  .shrink-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' d='m.5 13.5l4-4M1 9.5h3.5V13m9 .5l-4-4m3.5 0H9.5V13M.5.5l4 4M1 4.5h3.5V1m9-.5l-4 4m3.5 0H9.5V1' stroke-width='1'/%3E%3C/svg%3E");
  }

  .logo-image {
    position: absolute;
    width: 23%;
    left: 77%;
    bottom: 14%;
    z-index: 100;
  }
}

#navigation-buttons-for-graph {
  display: inherit;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
  top: 14px;
  width: fit-content;
}

.new-title-blue {
  color: #006bb7 !important;
}

.apexcharts-tooltip {
  text-align: right;
}

.apexcharts-tooltip-title {
  padding: 3px !important;
  margin-bottom: 0 !important;
}

.apexcharts-tooltip-series-group.apexcharts-active,
.apexcharts-tooltip-series-group.apexcharts-active {
  padding: 0 !important;
  justify-content: flex-end;
  height: 20px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #888;
  max-width: 400px;
  text-align: center;
}

.select-date-confirm {
  word-wrap: break-word;
  margin: 0;
  outline: none;
  list-style: none;
  font-style: normal;
  box-sizing: border-box;
  padding: 4px;
  cursor: pointer;
  vertical-align: middle;
  width: fit-content;
  justify-self: left;
  border: 1px solid #e5b485;
  border-radius: 10px;
  color: #3d7fb8;
  background-color: white;
}

.graph-btns-container {
  width: 85%;
  border-radius: 5px;
  box-shadow: 0 2px 4px #c9cfe0;
  z-index: 1;
  margin-top: -35px;
}

.graph-type-btn,
.graph-time-btn {
  color: #3199f4;
  border-radius: 5px;
  border: 0px;
  box-shadow: 0 2px 4px gray;
  background-color: white;
  width: auto;
  font-size: 13px;
  cursor: pointer;
  width: auto;
  height: 20px;
  margin: 6px;
  flex: 1;
  text-wrap-mode: nowrap;
  padding: 0 8px;
}

.graph-type-btn.active,
.graph-time-btn.active {
  color: #fff;
  background-color: #3199f4;
}

.graph-type {
  background-color: #fff9f4;
  border: 1px solid #97133f;
  cursor: pointer;
}

.graph-type.active {
  background-color: #97133f;
  color: white;
}

#error-area {
  background: white;
  /* #ffebcd80; */
  border-radius: 2px;
  padding: 10px;
  position: absolute;
  top: 8px;
  right: 16px;
  display: none;
}

#error-message {
  color: red;
}

.date-filter-container label.label_info {
  font-size: 12px;
}

.date-filter-container input {
  width: 60px;
  height: 12px;
}

.date-input {
  background-color: white !important;
  border: 1px solid #d9d9d9 !important;
  text-align: start !important;
  width: 120px !important;
  /* padding-left: 30px !important; */
}

.graph-btn-slider {
  width: 100%;
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  height: 45px;
}

.graph-display-container-wrapper {
  margin-top: 20px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#graph-and-buttons-container {
  display: flex;
  flex-direction: column;
  width: 95%;
}

/* .apexcharts-toolbar{
    display: none !important;
} */

#chart-overlay {
  pointer-events: none;
}

#charts-wrapper:focus,
#charts-wrapper *:focus,
#chart-overlay:focus,
#stock-chart-area:focus,
.apexcharts-canvas:focus,
#chart-overlay:active,
#stock-chart-area:active,
#charts-wrapper:active,
#charts-wrapper *:active,
.apexcharts-canvas:active {
  outline: none !important;
}

#indice-info-header-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row;
  width: 100%;
  height: 52px;
  background: #c9cfe033;
}

.back-arrow {
  position: absolute;
  right: 5px;
  top: 15px;
}

.indice-info-header {
  display: flex;
  gap: 10px;
  margin-right: 15px;
  flex-flow: row;
  width: fit-content;
}

.indice-info-name {
  font-family: Rubik;
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  color: #00367c;
}

.indice-info-extra {
  color: #6a7282;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  gap: 8px;
}

#indice-details-wrapper,
#indice-info-header-wrapper {
  display: none;
}

.date-filter-container .label_info {
  width: auto;
  display: contents;
}

#wrapper-speed {
  display: none;
  margin-top: 15px;
  margin-bottom: 30px;
  position: relative;
  width: 100%;
}

.indice-info-flag img {
  height: 20px;
  width: auto;
}

#stock-chart-area .apexcharts-tooltip {
  z-index: 100;
}

#indice-details-header-price {
  margin-top: 10px;
  background-color: #fff;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 10px;
  margin-right: 20px;
}

.indice-details-header-amount {
  color: #1e2939;
  font-family: Rubik;
  font-weight: 700;
  font-size: 24px;
  line-height: 20px;
  margin-left: 5px;
}

#indice-details-header-price .row1 img {
  height: 26px;
  width: auto;
}
#indice-details-header-price .row2 {
  display: flex;
  flex-flow: row;
  gap: 10px;
}
#indice-details-header-price .row2 img {
  height: 13px;
  width: auto;
}

.indice-details-header-procent {
  font-family: Rubik;
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
  direction: ltr;
  display: flex;
  align-items: center;
  flex-flow: row;
}

.indice-details-header-time {
  color: #6a7282;
  font-family: Rubik;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-flow: row;
}

.hide-details {
  display: none;
}
.show-details {
  display: flex;
}

.search-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233d7fb8' d='m19.6 21l-6.3-6.3q-.75.6-1.725.95T9.5 16q-2.725 0-4.612-1.888T3 9.5t1.888-4.612T9.5 3t4.613 1.888T16 9.5q0 1.1-.35 2.075T14.7 13.3l6.3 6.3zM9.5 14q1.875 0 3.188-1.312T14 9.5t-1.312-3.187T9.5 5T6.313 6.313T5 9.5t1.313 3.188T9.5 14' stroke-width='0.5' stroke='%233d7fb8'/%3E%3C/svg%3E");
}

.flag-image {
  width: 15px;
}

.slide-from-right {
  animation: slideFromRight 1s linear forwards;
}
.slide-from-left {
  animation: slideFromLeft 1s linear forwards;
}

@media (max-width: 600px) {
  /* .date-filter-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  } */
}

@keyframes slideFromRight {
  from {
    transform: translateX(50%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideFromLeft {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

#border-slider,
#market-type-border-slider {
  width: 0;
}

@media (min-width: 800px) {
  /*New styles for desktop mode*/
  #indice-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }

  #indice-list .indice-list-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    direction: ltr;
    padding: 15px 10px;
    border: 0.67px solid #f3f4f6;
    box-shadow:
      0px 1px 1.5px rgba(0, 0, 0, 0.1),
      0px 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    height: 112px;
  }

  #indice-list .indice-list-item .right {
    align-items: flex-end;
    grid-column: 1/-1;
    display: contents;
  }

  #indice-list .indice-list-item .right .row1 {
    flex-direction: row-reverse;
    gap: 8px;
    grid-column: 1/-1;
  }

  #indice-list .indice-list-item .right .row1 .arrow-img {
    margin-right: auto;
  }

  #indice-list .indice-list-item .right .row1 .crypto-image {
    left: 0 !important;
  }

  #indice-list .indice-list-item .right .row2 {
    flex-direction: column;
    position: relative;
    margin-right: auto;
  }

  #indice-list .indice-list-item .right .row2 .clock-img {
    position: absolute;
    top: -118%;
    left: 25%;
    /* filter: grayscale(100%) opacity(60%); */
  }

  #indice-list .indice-list-item .right .row2 .indice-time-symbol {
    direction: rtl;
  }

  #indice-list .indice-list-item .left {
    flex-direction: row-reverse;
    grid-column: 1/-1;
    justify-content: space-between;
  }

  #indice-list .indice-list-item.selected-card {
    border: 2px solid #00367c;
    background-color: white;
    box-shadow:
      0px 4px 7px rgba(0, 0, 0, 0.15),
      0px 1px 1px rgba(0, 0, 0, 0.1);
  }

  #indice-info-header-wrapper,
  #indice-details-header-price,
  #indice-details-wrapper
    .indiceD-headers-container
    .indiceD-header:nth-child(2),
  #speedometer-legend-mobile,
  #wrapper-speed {
    display: none !important;
  }

  /*Styles for tabs*/
  #border-slider {
    position: absolute;
    bottom: 10px;
    top: 0;
    border: 1.55px solid #00367c;
    width: 0;
    transform: translateX(0);
    transition:
      left 0.3s ease,
      width 0.3s ease;
    border-radius: 22369600px;
  }

  .select-market-sector-wrapper .market-sector {
    padding: 5px 12px;
    border-bottom: none !important;
    cursor: pointer;
  }

  .select-market-type-wrapper-wrapper {
    position: relative;

    &.indice-market,
    &.stock-market,
    &.wallstreet-market {
      box-shadow: none;
      border: none;
      /* border-bottom: 2px solid #00367c21; */
      border-radius: 0;
      padding-bottom: 0;
      margin-right: 0.5rem;
    }

    & .market-type {
      font-size: 20px;
      z-index: 2;
      cursor: pointer;
    }

    & .market-type.select {
      font-weight: 700;
      background-color: white;
      color: #00367c;
      border-radius: 0;
    }

    &::after {
      position: absolute;
      content: "";
      height: 2px;
      width: 98%; /*95%*/
      background-color: #00367c21;
      bottom: 0;
      right: 5px;
      z-index: 1;
    }
  }

  .market-type {
    position: relative;

    &::after {
      position: absolute;
      content: "";
      right: 0;
      width: 0;
      background-color: #ffa527;
      bottom: 0;
      transition: width 0.3s ease-in-out;
      height: 2px;
    }
  }

  .indice-wrapper .indice-selector-wrapper .select-market-sector-wrapper {
    position: relative;
    justify-content: center;
    border-bottom: 0.67px solid #f3f4f6;
    padding-bottom: 10px;
  }

  .market-type.select::after {
    width: 100%;
    left: 0;
  }

  #graph-and-buttons-container #charts-wrapper .graph-btn-slider {
    overflow: visible;
  }

  #navigation-buttons-for-graph {
    flex-wrap: wrap;
    top: 3rem;
    box-shadow: none;
  }

  #stock-chart-area .apexcharts-toolbar {
    display: none;
  }

  #indice-list .indice-list-item .right .row2 .indice-time-symbol {
    color: #9ca3af;
    font-weight: 500;
  }

  #graph-and-buttons-container #charts-wrapper .logo-image {
    transform: scale(2) translateX(-25%) translateY(-30%);
  }

  .indice-list-item .left .profit-percent.red {
    color: #d91400;
    font-size: 15px;
    font-weight: 500;
  }

  .indice-list-item .left .profit-percent.green {
    color: #00a63e;
    font-size: 15px;
    font-weight: 500;
  }

  /*bottom of page - graph and data*/
  #indice-details-wrapper {
    display: grid !important;
    grid-template-columns: 25% 50% 25%;
    background: #ffffff;
    border: 0.666667px solid #e5e7eb;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding-right: 1.5rem;
    padding-top: 1rem;
    position: relative;
  }

  #indice-details-wrapper .graph-display-container-wrapper {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }

  #indice-details-wrapper .info-container,
  #indice-details-wrapper .info-container .info-container-wrapper,
  #indice-details-wrapper
    .info-container
    .info-container-wrapper
    .indiceD-headers-container,
  #indice-details-wrapper
    .info-container
    .info-container-wrapper
    .table-info-wrapper {
    display: contents !important;
  }

  #indice-details-wrapper .info-container .indiceD-header:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    justify-self: flex-start;
    align-self: flex-start;
    pointer-events: none;
    font-size: 17px;
    color: #00367c;
    font-weight: 600;
  }

  #indice-details-wrapper .info-container .indiceD-header:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
    justify-self: flex-start;
    align-self: start;
    pointer-events: none;
    font-size: 17px;
    color: #00367c;
    font-weight: 600;
  }

  #trading-info-table-wrapper {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  #trading-info-table {
    grid-column: 1;
    grid-row: 1;
    align-self: flex-end;
    position: relative;
    top: 0;
  }

  #yield-table-wrapper {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  #yield-table-wrapper #yield-table {
    visibility: visible !important;
    position: relative;
    top: 0;
  }

  #indice-details-wrapper .info-container .indiceD-header:nth-child(1)::after {
    height: 0;
  }

  #trading-info-table-body tr td,
  #yield-table-body tr td {
    border-bottom: none !important;
  }

  #trading-info-table-body tr td:first-child,
  #yield-table-body tr td:first-child {
    color: #6a7282;
    font-size: 15px;
    font-weight: 400;
    text-align: right;
  }

  #trading-info-table-body tr:not(:nth-child(2)) td:nth-child(2) {
    color: #101828;
    font-size: 17px;
    font-weight: 600;
  }

  #trading-info-table-body tr:nth-child(2) td:nth-child(2) {
    font-weight: 600;
  }

  #yield-table-body tr td:nth-child(2) {
    font-weight: 600;
  }

  .indice-selector-wrapper.static-wrapper {
    position: static;
    top: 7.3%;
    z-index: 3;
    right: calc(50% - 605px);
    box-shadow: none;
  }

  #extra-details-redirect {
    left: 4%;
    position: absolute;
    bottom: 2%;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
  }

  #arrow-to-detailed-page {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTkuOTk3OCAxNS44MjkxTDQuMTY2MDIgOS45OTczMUw5Ljk5NzggNC4xNjU1MyIgc3Ryb2tlPSIjMDA2QkI3IiBzdHJva2Utd2lkdGg9IjEuNjY2MjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTUuODI5NiA5Ljk5NzMxSDQuMTY2MDIiIHN0cm9rZT0iIzAwNkJCNyIgc3Ryb2tlLXdpZHRoPSIxLjY2NjIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+);
    display: inline-block;
    width: 20px;
    height: 20px;
  }

  #extra-details-text {
    color: #006bb7;
    font-size: 16px;
    font-weight: 500;
  }

  #extra-details-redirect.hide-arrow {
    display: none !important;
  }

  .select-market-type-wrapper-wrapper.indice-market .select-market-type-wrapper,
  .select-market-type-wrapper-wrapper.stock-market .select-market-type-wrapper,
  .select-market-type-wrapper-wrapper.wallstreet-market
    .select-market-type-wrapper {
    gap: 35px;
  }

  /*End new styles for desktop mode*/
}

@media (max-width: 768px) {
  .select-market-sector-wrapper {
    border-bottom: none;
    column-gap: 5px;
    position: relative;
  }
  .select-market-sector-wrapper .market-sector {
    padding: 5px 12px;
  }
  .select-market-sector-wrapper .market-sector.select {
    /* border: 2px solid #00367c; */
    font-weight: 700;
    color: #00367c;
    border-radius: 12px;
    border: none;
  }
  .select-market-type-wrapper {
    column-gap: 8px;
  }
  .select-market-type-wrapper .market-type {
    padding: 5px;
  }
  .select-market-type-wrapper-wrapper {
    position: relative;

    &.indice-market,
    &.stock-market,
    &.wallstreet-market {
      box-shadow: none;
      border: none;
      /* border-bottom: 2px solid #00367c21; */
      border-radius: 0;
      padding-bottom: 0;
      margin-right: 0.5rem;
    }

    & .market-type {
      font-size: 20px;
      z-index: 2;
    }

    & .market-type.select {
      font-weight: 700;
      background-color: white;
      color: #00367c;
      border-radius: 0;
    }

    &::after {
      position: absolute;
      content: "";
      height: 2px;
      width: 98%; /*95%*/
      background-color: #00367c21;
      bottom: 0;
      right: 5px;
      z-index: 1;
    }
  }
  #top-space {
    height: 55px !important;
  }

  #indice-info-header-wrapper {
    & .back-arrow {
      right: 10px;
      top: 18px;
    }

    & .indice-info-header {
      margin-right: 1.7rem;
    }
  }

  .indice-info-header .indice-info-name {
    font-size: 18px;
  }

  .indice-selector-wrapper {
    margin-bottom: 1rem;
  }

  .market-type {
    position: relative;

    &::after {
      position: absolute;
      content: "";
      right: 0;
      width: 0;
      background-color: #ffa527;
      bottom: 0;
      transition: width 0.3s ease-in-out;
      height: 2px;
    }
  }

  .market-type.select::after {
    width: 100%;
    left: 0;
  }

  #border-slider {
    position: absolute;
    bottom: 0;
    top: 0;
    border: 2px solid #00367c;
    width: 0;
    transform: translateX(0);
    transition:
      left 0.3s ease,
      width 0.3s ease;
    border-radius: 12px;
  }

  /* #market-type-border-slider,
  #stock-border-slider,
  #wallstreet-border-slider {
    position: absolute;
    bottom: 0;

    background-color: #ffa527;
    width: 0;
    height: 2px;
    transform: translateX(0);
    transition:
      left 0.3s ease,
      width 0.3s ease;

    z-index: 2;
  } */

  #graph-and-buttons-container #charts-wrapper .logo-image {
    left: 73%;
    z-index: 99;
  }

  #extra-details-redirect {
    left: 10%;
    position: absolute;
    bottom: 1%;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
  }

  #arrow-to-detailed-page {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTkuOTk3OCAxNS44MjkxTDQuMTY2MDIgOS45OTczMUw5Ljk5NzggNC4xNjU1MyIgc3Ryb2tlPSIjMDA2QkI3IiBzdHJva2Utd2lkdGg9IjEuNjY2MjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTUuODI5NiA5Ljk5NzMxSDQuMTY2MDIiIHN0cm9rZT0iIzAwNkJCNyIgc3Ryb2tlLXdpZHRoPSIxLjY2NjIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+);
    display: inline-block;
    width: 20px;
    height: 20px;
  }

  #extra-details-text {
    color: #006bb7;
    font-size: 16px;
    font-weight: 500;
  }

  #extra-details-redirect.hide-arrow {
    display: none !important;
  }

  #indice-details-wrapper .info-container-wrapper.expand-height {
    min-height: 400px;
  }
}
