@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;
    width: 100%;
  }
  .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;
}

.screener-search-wrapper{
  display:flex;
  justify-content: flex-end;
}
















.menu-dropdown-container {
  position: relative;
  line-height: 1.6;
  color: #00367c;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 2px solid #00367c;
  border-radius: 5px;
  width: fit-content;
  box-shadow: 1px 2px 2px #89898973;
  width: 100%;
  height: 34px;
  z-index: 2;
  margin-bottom: -2px;
  box-sizing: border-box;
  /* margin-left: -80px; */
  font-size: 14px;
  font-weight: bold;
  margin: 5px 0px 5px 0px;
  align-self: center;
}

.menu-dropdown-container .link {
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  /* gap: 12px; */
  overflow: hidden;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
  height: 100%;
}

.menu-dropdown-container .link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
  background-color: #f0f8ff;
}

/* SVG icon styling */
.menu-dropdown-container .link svg {
  width: 18px;
  height: 15px;
  top: 20px;
  left: 17px;
  fill: #00367c;
  transition: transform 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.selectDropDown {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 100%;
  width: calc(100%);
  border: 1px solid #89898973;
  border-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 100;
  pointer-events: none;
  overflow: hidden;
  border-top: 2px solid #00367c;
}

/* .menu-dropdown-container:hover .selectDropDown:not(.hide-dropDown) { */
.selectDropDown:not(.hide-dropDown) {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* 
.menu-dropdown-container:hover {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
} */

.selectDropDown .menu-dropdown-container:hover {
  background: #e6ebf2;
}

.menu-dropdown-container:not(:has(.hide-dropDown)) .link svg {
  transform: rotate(-180deg);
}

.dropDownBar-item {
  width: 100%;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease, color 0.2s ease;
  color: #000000;
  font-size: 14px;
  font-family: "rubik";
  font-weight: normal;
}

.dropDownBar-item:last-child {
  border-bottom: none;
}

.dropDownBar-item:hover {
  background-color: #e9e9e9;
  color: #00285b;
}