@font-face {
  font-family: "rubik";
  src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

body {
  font-family: "rubik", arial;
}

body {
  word-break: break-word;
  margin: 0;
}

table {
  text-align: center;
  border-collapse: collapse;
  border: 2px solid #d9d9d9;
}

th,
td {
  word-break: break-word;
}

td,
th {
  padding: 5px 0;
  direction: ltr;
  font-size: 0.8em;
  border-bottom: 1px solid #d9d9d9;
}

tr {
  cursor: pointer;
}

td:not(:first-child),
th:not(:first-child) {
  width: 20%; /*25%*/
}

td:first-child,
th:first-child {
  width: 20%; /*25%*/
}

.title {
  font-weight: normal;
  font-size: 19.5px;
  color: #333333;
  text-align: center;
  margin: 0;
}

/* WIDGET */

.tabs-btns-container {
  display: flex;
  justify-content: center;
  height: 46px;
  direction: rtl;
  list-style-type: none;
  margin-top: 0;
}

table,
th,
td {
  font-size: 14px;
}

.tabs-btns-container {
  display: flex;
  justify-content: center;
  height: 46px;
  direction: rtl;
  list-style-type: none;
  margin-top: 0;
}

.tab-btn {
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color;
  width: 20%;
}

.table-head tr {
  border-bottom: 1px solid #d9d9d9;
  height: 34px;
}

#chart-title,
.tab-btn {
  font: 14px "arial";
}

.tab-btn.active:after,
.tab-btn:focus:after,
.tab-btn:hover:after {
  width: 100%;
  left: 0%;
}

.tab-btn:after {
  content: "";
  pointer-events: none;
  bottom: 5px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #0d1040;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
  z-index: 10;
}
.container {
  display: flex;
  max-height: 500px;
}

.table-container {
  width: 100%;
}

/* .table-body {
  overflow-y: auto;
  display: block;
  max-height: 500px;
} */

.table-body tr {
  height: 34px;
  border-bottom: 1px solid #d9d9d9;
}

#screener-table-row:hover {
  background-color: #e9e9e9;
}

.table-body td {
  border-bottom: 1px solid #d9d9d9;
}

/* .table-body tr:nth-child(even) {
  background: white;
  height: 34px;
} */

thead tr {
  display: table;
  width: 100%;
  table-layout: fixed;
  height: 34px;
}

tbody,
thead {
  width: 100%;
  display: table;
}

#table-body td:nth-child(2) {
  /* max-width: 200px; */
  width: 212px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

canvas {
  background-image: url("/wp-content/uploads/2023/08/weinvest-10.png");
  background-size: 77% 30%;
  background-position: center;
  background-repeat: no-repeat;
}

#chart-title {
  text-align: center;
}

.apexcharts-toolbar {
  direction: rtl;
}

.apexcharts-tooltip {
  direction: rtl;
  align-items: flex-start;
}

.apexcharts-tooltip-marker {
  display: none !important;
}
.apexcharts-tooltip-title {
  width: 100%;
}

.apexcharts-canvas {
  /* background-image: url("/wp-content/uploads/2023/08/weinvest-10.png") !important; */
  background-size: 70% 70%;
  background-position: center;
  background-repeat: no-repeat;
}

.apexcharts-menu-icon svg {
  width: 20px;
  height: 20px;
}

.apexcharts-tooltip-text-y-value {
  direction: ltr;
}

.green {
  color: green;
}

.red {
  color: red;
}

.apexcharts-toolbar,
.apexcharts-xaxistooltip.apexcharts-xaxistooltip-bottom {
  display: none !important;
}

#screener-heading {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2px;
}

#screener-table-row {
  width: 100%;
}

#screener-table-td {
  /* width:18%; */
  /* max-width:212px; */
  width: 212px;
}

.mobile-show {
  display: none;
}
.mobile-hide {
  display: flex;
}

@media only screen and (max-width: 600px) {
  .tabs-btns-container {
    height: 80px;
  }
  .tab-btn {
    font-size: 12px;
  }
  thead#table-head {
    z-index: unset !important;
  }
  .mobile-show {
    display: flex;
  }
  .mobile-hide {
    display: none;
  }
}

#table-body tr td:nth-child(5) span {
  padding-left: 23px;
}
#table-body tr td:nth-child(6) span {
  padding-left: 23px;
}
#table-body tr td:nth-child(4) span {
  padding-left: 17px;
}
#table-body tr td:nth-child(3) span {
  padding-left: 15px;
}
#table-body tr td:nth-child(2) span {
  padding-left: 16px;
}

.table-scroll-container {
  max-height: 500px; /* Set a fixed height for the scrollable area */
  overflow-y: auto; /* Enable vertical scrolling */
  direction: ltr;
  background-color: white;
  margin-bottom: 10px;
}

.table-scroll-container table {
  width: 98%;
  border-collapse: collapse; /* Collapse borders for a cleaner look */
}

.table-scroll-container thead {
  /* Position the header at the top, making it fixed */
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 2;
}

.table-scroll-container::-webkit-scrollbar-track {
  border-radius: 10px;
}

.table-scroll-container::-webkit-scrollbar-thumb {
  background: #3199f4;
  border-radius: 10px;
}

th:not(:first-child) {
  position: relative;
  left: 10px;
}

.graph {
  position: relative;
}

.logo-image {
  position: absolute;
  width: 14%;
  height: 11%;
  bottom: 18%;
  left: 84%;
  z-index: 100;
}
