@font-face {
  font-family: "rubik";
  src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

body {
  font-family: "rubik", arial;
  margin: 0;
}

button {
  font-family: inherit;
}

.main {
  display: flex;
  align-items: flex-end;
  gap: 15px;
}

ul.tabs {
  display: flex;
  direction: ltr;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  list-style-type: none;
  cursor: pointer;
  font-size: 13px;
  text-align: center;
  height: 53px;
  /* margin-top:8px; */
  margin-bottom: 0;
}

.tab-item {
  width: 100%;
}

.tab-span {
  width: 100%;
  height: auto;
  float: left;
  /* transition: 0.5s linear; */
  position: relative;
  display: block;
  overflow: hidden;
  padding: 10px 2px;
  text-align: center;
  background: transparent;
  font-size: 15px;
  font-weight: bold;
}

.tab-span {
  min-width: 95px;
}

.tab-span:before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  /* border-bottom: 2px solid transparent; */
  /* border-left: 2px solid transparent; */
  box-sizing: border-box;
  transform: translateX(100%);
}

.tab-span:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  /* border-top: 2px solid transparent; */
  /* border-right: 2px solid transparent; */
  box-sizing: border-box;
  transform: translateX(-100%);
}

/* .tab-span.active {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
} */

.tab-span.active:before {
  border-color: #262626;
  height: 100%;
  transform: translateX(0);
  transition: 0.3s transform linear, 0.3s height linear 0.3s;
}

.tab-span.active:after {
  border-color: #262626;
  height: 100%;
  transform: translateX(0);
  transition: 0.3s transform linear, 0.3s height linear 0.5s;
}

.tab-item {
  color: black;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: none;
  background: transparent;
}

.tradingview-widget-copyright {
  display: none;
}

.forum-section-title,
.title {
  font-weight: normal;
  font-size: 19.5px;
  color: #333333;
}

.title {
  text-align: center;
  margin: 0;
  font-family: "Rubik";
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 100%;
  text-align: center;
  color: black;
}

.forum-section-title {
  max-width: 802px;
  text-align: center;
}

/* 
.full-width {
  width: 100%;
  max-width: 1080px;
} */

.sidebar {
  display: flex;
  flex-direction: column;
  /* width: 265px; */
  width: fit-content;
  justify-content: flex-end;
}

.sidebar-title {
  font-size: 12px;
  text-align: center;
  margin: 5px;
}

.wrap-table {
  display: inline-grid;
  position: fixed;
  left: 44%;
}

.all-time-table {
  /* border: 2px solid rgba(217, 217, 217, 1); */
  border-radius: 5px;
  justify-self: center;
  font-family: "Heebo";
  text-align: center;
  /* border: 1px solid black; */
  /* width: 13rem; */
  width: calc(100% - 30px);
  margin: auto;
  /* padding-bottom: 20px; */
  /* padding: 7px; */
  height: 7rem;
  border-collapse: collapse;
}

.all-time-table-body tr:nth-child(odd) {
  color: rgba(0, 54, 124, 1);
  font-family: "Heebo";
  font-weight: 700;
  font-style: Bold;
  font-size: 16px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
}

.bitcoin-value,
.ethereum-value,
.litcoin-value,
.tether-value {
  font-family: "Heebo";
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
}

/* .all-time-table td {
  padding: 8px;
  text-align: center;
} */

.all-time-table tbody tr:nth-child(2n) tr:not(:last-child) {
  border-bottom: 2px solid rgba(217, 217, 217, 1);
}

td.bitcoin-value,
td.ethereum-value {
  border-bottom: 2px solid rgba(217, 217, 217, 1);
}

.all-time-table tbody tr td:first-child {
  /* border-left: 2px solid rgba(217, 217, 217, 1); */
  border-left: none;
}

.all-time-table-body td {
  background: white;
  border-left: 2px solid rgba(217, 217, 217, 1);
}

#quick-view {
  pointer-events: none;
}

.quick-view-and-analysis-container {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

#quick-view-and-analysis-container-section {
  margin-bottom: 49px;
}

.all-time-table-body td {
  padding: 3px;
  font-size: 14px;
}

.calculator {
  margin: 5px;
  box-shadow: 3px 0px 4px 0px rgba(201, 207, 224, 1),
    0px 1px 4px 0px rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 1);
  border-radius: 5px;
}

.table-record {
  box-shadow: 3px 0px 4px 0px rgba(201, 207, 224, 1),
    0px 1px 4px 0px rgba(0, 0, 0, 0.25);
  margin: 5px;
  padding-bottom: 20px;
  /* border: solid 2px transparent; */
  border-radius: 5px;
}

.conversion-container {
  display: flex;
  align-items: center;
  margin: 2px;
  padding: 5px;
  /* border: 1px solid #ccc; */

  /* background-color: #f5f5f5; */
  direction: rtl;
  justify-content: space-between;
  flex-direction: row;
}

.from-container,
.to-container {
  display: flex;
  align-items: center;
  width: 100%;
  flex-direction: column;
}

svg {
  padding: 5px;
}

.conversion-container input[type="number"],
.conversion-container select {
  height: 20px;
  padding: 5px 5px;
  border: 2px solid rgba(0, 0, 0, 1);
  border-radius: 5px;
  font-size: 14px;
  flex: 1;
  width: 85%;
  display: flex;
}

.conversion-container #cryptoAmount,
.conversion-container #currencyAmount {
  font-weight: bold;
  justify-items: legacy;
}

.trading-analysis-container {
  width: 100%;
  text-align: center;
  text-align: -webkit-auto;
}

#trading-analysis-container {
  width: 100%;
  margin-top: 25px;
  display: flex;
  /* direction: unset; */
  height: 240px;
  align-items: flex-start;
  flex-direction: column;
}

.trading-analysis + iframe {
  width: 408px;
  height: 370px;
  display: flex;
  position: relative;
  left: 50px;
}

.header-crypto-technical-analysis {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#crypto-dropdown-title {
  margin: 7px;
  font-size: 18.5px;
}

/* #select-crypto-dropdownlist {
    width: 96px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-position: left 1px center;
    background-repeat: no-repeat;
    background-size: 10px;
    pointer-events: auto;
    border: none;
    border-bottom: 2px solid #000;
    text-align: center;
    font-size: 19px;
    background-color: white;
    border-radius: 0;
    padding: 4px;
    font-size: 17.25px;
} */

#select-crypto-dropdownlist {
  width: 96px;
  height: 29px;
}

#select-crypto-dropdownlist:focus {
  outline: none;
}

.conversion-container select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-position: right 5px center;
  background-repeat: no-repeat;
  background-size: 10px;
  padding-right: 25px;
}

.conversion-container select {
  height: 32px;
  width: 60px;
}

.from-container input,
.to-container input {
  width: 50px;
}

#crypto-table-widget {
  margin-top: -5px;
  margin-bottom: 73px;
}

#coins-charts {
  margin-bottom: 64px;
}

#top-green,
#top-red {
  margin-bottom: 13px;
}

#gainer-loser-container .topButton {
  background: linear-gradient(180deg, #5cfa95 0%, #03b50c 100%) !important;
  box-shadow: 0px 3px 3px 4px rgba(0, 0, 0, 0.25) inset !important;
}

#gainer-loser-container .downButton {
  background: linear-gradient(180deg, #f36b41 0%, #ef4d50 100%) !important;
  box-shadow: 0px 3px 3px 5px rgba(0, 0, 0, 0.25) inset !important;
}

@media (min-width: 600px) and (max-width: 900px) {
  .crypto-graphs-container {
    width: 100%;
  }

  .trading-analysis,
  .tradingview-widget-container {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .main,
  .quick-view-and-analysis-container {
    flex-direction: column;
    align-items: center;
  }

  .main {
    flex-direction: column;
  }

  .charts-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  ul.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    cursor: pointer;
    font-size: 6px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    height: fit-content;
    background: white;
    padding: 0;
  }

  .sidebar {
    width: 100%;
  }

  #quick-view {
    width: 100% !important;
  }

  /* WP SIDEBAR STYLES */

  .wp-block-latest-posts.wp-block-latest-posts__list {
    list-style: none;
    padding-right: 0;
  }

  .wp-block-latest-posts__post-author,
  .wp-block-latest-posts__post-date {
    display: block;
    font-size: 0.8125em;
  }

  .wp-block-latest-posts.wp-block-latest-posts__list li {
    list-style: none;
    clear: both;
  }

  .wp-block-latest-posts__featured-image.alignright {
    float: right;
    margin-left: 1em;
  }

  .wp-block-latest-posts__featured-image a {
    display: inline-block;
  }

  .wp-block-latest-posts li {
    text-align: center;
  }

  .wp-block-latest-posts {
    font-size: 13px;
    color: #000;
    text-align: center;
    text-decoration: none;
  }

  .wp-block-latest-posts__post-title {
    font-size: 13px;
    color: #444444;
    text-decoration: none;
  }

  .wp-block-latest-posts__post-date {
    font-size: 0.7125rem;
    color: #000000;
  }

  .latest-posts-widget-class li:not(:last-child) {
    margin-bottom: 50px;
  }

  .wp-block-latest-posts__featured-image img {
    height: 70px;
    width: 70px;
  }

  #mobile-sidebar {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .trading-analysis,
  .tradingview-widget-container {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .trading-analysis-container {
    width: 100%;
    text-align: center;
    text-align: -webkit-center;
  }

  .sidebar {
    width: 100%;
    margin-right: 0 !important;
  }

  .main,
  .quick-view-and-analysis-container {
    flex-direction: column;
    align-items: center;
  }

  .charts-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  ul.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    cursor: pointer;
    font-size: 6px;
    text-align: center;
    width: 95%;
    margin: 0 auto;
    height: fit-content;
    background: white;
    padding: 0;
    margin-top: 0;
  }

  #quick-view {
    width: 100% !important;
  }

  /* WP SIDEBAR STYLES */

  .wp-block-latest-posts.wp-block-latest-posts__list {
    list-style: none;
    padding-right: 0;
  }

  .wp-block-latest-posts__post-author,
  .wp-block-latest-posts__post-date {
    display: block;
    font-size: 0.8125em;
  }

  .wp-block-latest-posts.wp-block-latest-posts__list li {
    list-style: none;
    clear: both;
  }

  .wp-block-latest-posts__featured-image.alignright {
    float: right;
    margin-left: 1em;
  }

  .wp-block-latest-posts__featured-image a {
    display: inline-block;
  }

  .wp-block-latest-posts li {
    text-align: center;
  }

  .wp-block-latest-posts {
    font-size: 13px;
    color: #000;
    text-align: center;
    text-decoration: none;
  }

  .wp-block-latest-posts__post-title {
    font-size: 13px;
    color: #444444;
    text-decoration: none;
  }

  .wp-block-latest-posts__post-date {
    font-size: 0.7125rem;
    color: #000000;
  }

  .latest-posts-widget-class li:not(:last-child) {
    margin-bottom: 50px;
  }

  .wp-block-latest-posts__featured-image img {
    height: 70px;
    width: 70px;
  }

  .table-record {
    margin-top: 20px;
  }
}

/* .is-mobile #currencySelect .dropDownBar-item {
  padding: 3.5px;
}

.is-mobile #cryptoSelect .dropDownBar-item {
  padding: 2px;
} */

.selectDropDown {
  overflow-y: auto !important;
  max-height: 246px;
}

@media (max-width: 768px) {
  #gainer-loser-container
    .top-down-button-container
    .top-btns-container.etf-top-buttons
    .downButton:not(.clicked) {
    width: 70px;
    border-radius: 10px;
    background-color: #ef4d50 !important;
    background: linear-gradient(180deg, #f36b41 0%, #ef4d50 100%) !important;
    box-shadow: none !important;
  }

  #gainer-loser-container .top-down-button-container .topButton:not(.clicked) {
    width: 70px;
    border-radius: 10px;
    /* background: linear-gradient(180deg, #5cfa95 0%, #03b50c 100%) !important; */
    background-color: #03b50c !important;
    box-shadow: none !important;
  }

  #gainer-loser-container
    .top-down-button-container
    .top-btns-container.etf-top-buttons
    .downButton:not(.clicked)
    .buttonText,
  #gainer-loser-container
    .top-down-button-container
    .topButton:not(.clicked)
    .buttonText {
    font-size: 15px;
  }

  #gainer-loser-container
    .top-down-button-container
    .top-btns-container.etf-top-buttons
    .downButton:not(.clicked)
    svg.svgIcon.iconDefault,
  #gainer-loser-container
    .top-down-button-container
    .topButton:not(.clicked)
    svg.svgIcon.iconDefault {
    opacity: 0;
  }
}
