@font-face {
  font-family: "rubik";
  src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

body {
  font-family: "rubik", arial;
  word-break: break-word;
  margin: 0;
}

h1 {
  color: #000;
  font-size: 19.5px;
  font-weight: 400;
  text-align: center;
}

.container {
  display: flex;
  justify-content: space-between;
}

.us-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 30px;
}

.main,
.slick-dotted.slick-slider {
  border-top: none;
}

.us-page-input {
  width: 50px;
}

.us-stocks-result-pagination-container-absolute {
  position: absolute;
  /* bottom: 10px; */
  width: 100%;
  height: 20px;
}

.us-stocks-result-pagination-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: auto;
  direction: ltr;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  /*-3px*/
}

#us-stocks-result tr:nth-child(even) {
  background-color: white;
}

#us-stocks-result tr:nth-child(odd) {
  background-color: #ffebcd80;
}

.us-stocks-pagination-componenet {
  display: flex;
  width: 300px;
  justify-content: space-evenly;
  align-items: center;
}

.us-stocks-current-page-text {
  border: 1px solid blue;
}

#search-us-stock::placeholder {
  /* padding-left: 5px;
  font-size: x-small;
  opacity: 0.8;
  transform: translateX(-0.2rem); */

  /* text-align: center; */
  /* padding-left: 10px; */
  font-size: 14px;
  font-weight: 100;
  font-family: rubik, "Font Awesome 5 Free", Arial, sans-serif;
}

#search-us-stock:focus-within {
  border: 2px solid #00367c;
}

#search-us-stock {
  /* text-align: center; */
  width: 150px;
  height: 25px;
  padding-right: 9px;
}

.center {
  display: flex;
  flex-direction: column;
  width: 80%;
}

.side {
  display: flex;
  flex-direction: column;
  /* width: 20%; */
  width: 160px;
  /* background-color: #8199a3; */
  background-color: #3472a7d1;
  /* background-color: #e5b485; */

  margin: 0px 6px 0px 6px;
  margin-left: 6px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-track li {
  width: 90px;
  padding: 0 auto;
  text-align: left;
  font-weight: normal;
  font-size: 11px;
  margin-left: 0;
  padding-top: 13px;
  margin: 15px 0;
}

.carousel-li a {
  text-decoration: none;
}

.carousel-li a:hover {
  padding: 0px;
  overflow: visible;
}

.carousel-li {
  font-size: 12px;
  padding: 0 !important;
}

.carousel-li:hover {
  border-bottom: 2px solid #ffa527;
  background-color: #006bb712 !important;
}

.carousel-li:hover .carousel-news-li-date,
.carousel-li:hover .carousel-news-li-title {
  color: #006bb7;
}

.carousel-li,
#running-news-container {
  background-color: white !important;
  color: #000000;
}

.carousel-li {
  width: 100%;
  /* height: 59px; */
  /* margin: 2px !important; */
}

#running-news-container {
  margin: 0;
  margin-right: 15px;
}

.carousel-news-li-date,
.carousel-news-li-title {
  /* color: #072f52 !important; */
  color: #000;
  font-size: 12px;
}

.carousel-news-li-date {
  margin-top: 5px;
  font-weight: 600;
}

.stock-values {
  display: flex;
  justify-content: space-evenly;
  font-size: 0.8rem;
}

.stock-value {
  text-align: center;
  margin: 10px 0px 5px;
  font-size: 15px;
}

.red {
  color: red;
}

.ltr {
  direction: ltr;
}

.green {
  color: #008000;
}

.charts-container {
  position: relative;
  height: 250px;
  width: 100%;
  max-width: 500px;
  margin: 0px auto;
  overflow: hidden;
}

ul {
  display: flex;
  align-items: center;
  padding-inline-start: 0px;
  justify-content: center;
  list-style-type: none;
  justify-content: space-evenly;
  margin-top: 0px;
  margin-bottom: 0;
}

#divRss ul {
  justify-content: left !important;
}

/* ul.wallstreet-tabs button {
  color: black;
  font-size: 13px;
  height: 27px;
  display: flex;
  align-items: center;
  width: 120px;
  justify-content: center;
  background-color: transparent;
  font-weight: bold;
  border: 1px solid #000;
} */

.text-center {
  text-align: center;
}

.wallstreet-tabs li {
  padding: 0;
  font-size: 14px;
}

#divRss:hover {
  /* text-align: center; */
}

table {
  text-align: center;
}

td {
  word-break: break-word;
}

.result-conteiner {
  height: fit-content;
  overflow-y: scroll;
}

.result-conteiner > table {
  width: 100%;
}

th {
  color: #476b6b;
  cursor: pointer;
}

td,
th {
  padding: 5px 0;
  direction: ltr;
  font-size: 0.8em;
}

tr > td {
  word-break: break-word;
}

tr {
  cursor: pointer;
}

td:first-child,
th:first-child {
  /* width: 15%; */
  /* width: 20%; */
}

.green {
  color: #008000;
  /* font-weight: bold; */
}

.red {
  /* color: tomato; */
  /* font-weight: bold; */
}

.bar {
  margin: 5px 5px 10px 5px;

  width: 80%;
}

#clock-us {
  font-size: 14.8px;
  /*1em*/
  /* color: white;
     */
  color: #072f52 !important;
  font-weight: 500;
  /* font-weight: bold; */
  text-align: center;
  padding-left: 6px;
}

h2 {
  text-align: center;
  color: white;
  font-size: 0.75em;
}

.time-headline {
  border: 1px solid #00367c21;
  box-shadow: 0px 2px 4px 0px #00000040;
  border-radius: 3px;
  border-width: 1px;
  background: #006bb733;
  margin-bottom: 10px;
  border-bottom: unset;
}

.time {
  font-size: 0.8em;
  /* height: 35px; */
  padding: 0;
  margin: 0;
  /* background-color:#eba45c; */
  /* background-color: #e5b485; */
  /* background-color: #f9c795; */
  /* background: #006BB733; */
}

.headline-title {
  /* background-color:#eba45c; */
  /* background-color: #e5b485; */
  /* background-color: #f9c795; */
  /* background: #006BB733; */
  margin-top: 0px;
  /* height: 20px; */
}

#headline-title {
  color: #072f52 !important;
  font-weight: 500;
}

#divRss {
  height: 515px;
  /*500px*/
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-direction: column;
  text-align: left;
  font-size: 12px;
  /* border: 1.5px solid #7da7cc; */
  margin-top: -9px;
  top: 1px;

  border: 1px solid #00367c21;
  box-shadow: 0px 2px 4px 0px #00000040;
  border-radius: 3px;
  border-width: 1px;
  border-bottom: unset;
  border-top: unset;
}

#headline-news {
  /* background-color: #f9c795; */
  /* background: #006BB733; */
  margin-bottom: 12px;
  height: 31px;
  font-size: 14.8px;
  color: #072f52 !important;
  font-weight: 500;
}

.ui-autocomplete {
  max-height: 200px;
  /* width: 250px; */
  overflow-y: hidden;
  overflow-x: hidden;
}

* html .ui-autocomplete {
  height: 200px;
}

.ui-menu-item,
.ui-menu-item-wrapper {
  height: fit-content;
  font-size: 12px;
  padding: 1px;
  width: 100%;
  display: block;
}

#divRss::-webkit-scrollbar {
  width: 0;
  height: 0;
}

#divRss > a {
  text-decoration: none;
  color: black;
  margin-bottom: 20px;
  /* color: white; */
}

#ui-id-1 {
  top: 96px !important;
}

.title {
  display: block;
  margin-bottom: 5px;
  padding: 0 5px;
  font-size: 14px;
  margin-top: 5px;
  /* border-bottom: 1px dotted #ccc; */
  direction: ltr;
}

.pubDate {
  display: block;
  font-size: 0.8em;
  font-weight: bold;
  padding: 0 5px;
}

.us-events {
  height: 450px !important;
}

.tradingview-widget-container {
  margin-bottom: 30px;
  width: 100% !important;
}

.tradingview-widget-container > iframe {
  width: 100% !important;
}

.market-quotes-widget__field--name-width {
  min-width: 50px !important;
}

.market-quotes-widget__filling {
  display: none !important;
}

.fullpage-link {
  display: inline-block;
  margin-top: 13px;
  display: flex;
  justify-content: flex-end;
}

.read-more-icon {
  height: 12px;
  margin-bottom: 0px;
}

table.us-stock-titles-talbe,
.result-conteiner > table {
  direction: ltr;
}

table.us-stock-titles-talbe {
  border: 2px solid #d9d9d9;
}

.market-quotes-widget__ro.market-quotes-widget__row--symbol.quote-ticker-inited {
  justify-content: flex-start;
}

#divRss.full-page-div {
  height: 725px !important;
}

.wallstreet-tabs.category-buttons-list {
  justify-content: space-around;
  position: relative;
  /* right: 49px; */
  gap: 22px;
}

.stock-value {
  /* Your CSS styles here */
  margin-top: 0;
  padding-top: 0;
  height: 0;
}

#divRss {
  overflow: hidden;
}

#divRss ul {
  will-change: transform;
  transform: translateZ(0);
}

#wallstreetWidget {
  direction: ltr;
  height: 690px;
  overflow: hidden;
  display: inline;
}

/* WIDGET */

.tabs-btns-container {
  display: flex;
  justify-content: center;
  background: #f7f7f7;
  height: 46px;
  direction: rtl;
  list-style-type: none;
  margin-top: 0;
}

.tab-btn {
  padding: 10px;
  width: 50%;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid #eaeaea;
  background: #efeded;
  font-size: 17px;
  border: 1px solid #000;
}

.tab-btn.active {
  background-color: rgb(171 188 188);
  box-shadow: 0 -1px 2px #d4d4d4;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom: none;
  border: 1px solid #000;
}

canvas {
  /* background-image: url("/wp-content/uploads/2023/08/weinvest-10.png"); */
  background-size: 77% 50%;
  background-position: center;
  background-repeat: no-repeat;
  cursor: crosshair;
}

.widget-container {
  overflow: hidden;
}

.chart-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
}

.widget-table {
  text-align: center;
  width: 100%;
}

.result-conteiner {
  height: fit-content;
  overflow-y: auto;
}

.widget-th {
  color: #476b6b;
  cursor: pointer;
}

.widget-td,
.widget-th {
  padding: 9px 5px;
  width: 8%;
  direction: ltr;
  font-size: 0.8em;
}

.reset-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='%23000' d='M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2v2a8 8 0 1 0 5.135 1.865L15 8V2h6l-2.447 2.447A9.98 9.98 0 0 1 22 12' stroke-width='0.5' stroke='%23000'/%3E%3C/svg%3E");
}

.widget-tr {
  cursor: pointer;
  font-size: 13px;
}

.carousel-li {
  background-color: transparent;
  /* box-shadow: 0px 4px 4px 0px #00000040; */
  border-bottom: 2px solid #00367c33;
}

.carousel-li a {
  /* color: #fff; */
  color: #000;
}

.slick-list.draggable {
  height: 400px !important;
}

table,
th,
td {
  font-size: 14px;
}

.top-buttons {
  display: flex;
  gap: 25px;
}

.top-buttons span:hover {
  cursor: pointer;
}

#top-green-btn {
  transition: 0.5s;
  /* text-shadow: 0 0 15px #008000; */
}

#top-green-btn {
  /* transition: 0.5s;
    text-shadow: 0 0 15px #FF0000; */
  margin-left: -29px;
  position: absolute;
  /*relative*/
  top: 12%;
  left: 48%;
  margin-top: -30px;
  display: inline-block;
  font-size: 15px;
  color: #008000;
  text-align: center;
  width: 58px;
  /*100px*/
  height: 25px;
  /*60px*/
  line-height: 28px;
  border: 1px solid #008000;
  border-radius: 8px;
  overflow: hidden;
  text-transform: uppercase;
  cursor: pointer;
  transition: width 1s * 0.5 ease-in-out, margin 1s * 0.5 ease-in-out, border-radius 1s * 0.25 ease-in-out, color 1s * 0.25 ease-in-out;

  &:hover,
  &.auto {
    width: 50px;
    margin-right: -10px;
    border-radius: 70%;
    /*40px*/
    color: rgba(#008000, 0);
    transition: width 0.5s ease-in-out, margin 0.5s ease-in-out, border-radius 0.25s ease-in-out;
    /* color 0.25s ease-in-out 1s*.25; */

    &:before {
      animation: lineUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
    }

    &:after {
      animation: tipUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
    }
  }

  &:before {
    position: absolute;
    display: inline-block;
    content: "";
    background: #008000;
    width: 3px;
    /*5*/
    height: 24px;
    /*30px*/
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -3px;
    transform: translateY(50px);
  }

  &:after {
    position: relative;
    /*absolute*/
    display: inline-block;
    content: "";
    width: 8px;
    height: 8px;
    color: #008000;
    border-top: 3px solid;
    border-left: 3px solid;
    transform: rotateZ(45deg);
    top: -17%;
    left: 10%;
    /*40%*/
    margin-top: -6px;
    margin-left: -13px;
    transform: translateY(50px) rotateZ(45deg);
  }
}

#top-red-btn {
  /* transition: 0.5s;
    text-shadow: 0 0 15px #FF0000; */
  margin-left: -26px;
  position: absolute;
  /*relative*/
  top: 12%;
  left: 56%;
  margin-top: -30px;
  /* margin-left: -60px; */
  display: inline-block;
  font-size: 15px;
  color: #ff0000;
  text-align: center;
  width: 58px;
  /*100px*/
  height: 25px;
  /*60px*/
  line-height: 30px;
  color: #ff0000;
  border: 1px solid #ff0000;
  border-radius: 8px;
  overflow: hidden;
  text-transform: uppercase;
  cursor: pointer;
  transition: width 0.5s ease-in-out, margin 0.5s ease-in-out, border-radius 0.25s ease-in-out, color 0.25s ease-in-out;

  &:hover,
  &.auto {
    width: 50px;
    margin-left: -20px;
    border-radius: 70%;
    /*40px*/
    color: rgba(#ff0000, 0);
    transition: width 0.5s ease-in-out, margin 0.5s ease-in-out, border-radius 0.25s ease-in-out;
    /* color 0.25s ease-in-out 1s*.25; */

    &:before {
      animation: lineDown 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
    }

    &:after {
      animation: tipDown 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
    }
  }

  &:before {
    position: absolute;
    display: inline-block;
    content: "";
    background: #ff0000;
    width: 3px;
    height: 24px;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -3px;
    transform: translateY(-50px);
  }

  &:after {
    position: relative;
    /*absolute*/
    display: inline-block;
    content: "";
    width: 8px;
    height: 8px;
    color: #ff0000;
    border-top: 3px solid;
    border-left: 3px solid;
    transform: rotateZ(225deg);
    top: 44%;
    /*50%*/
    left: 10%;
    /*41%*/
    margin-top: -4px;
    margin-left: -13px;
    transform: translateY(-50px) rotateZ(225deg);
  }
}

@keyframes tipUp {
  0% {
    transform: translateY(50px) rotateZ(45deg);
  }

  100% {
    transform: translateY(-70px) rotateZ(45deg);
  }
}

@keyframes lineUp {
  0% {
    transform: translateY(50px);
  }

  100% {
    transform: translateY(-70px);
  }
}

@keyframes tipDown {
  0% {
    transform: translateY(-70px) rotateZ(225deg);
  }

  100% {
    transform: translateY(50px) rotateZ(225deg);
  }
}

@keyframes lineDown {
  0% {
    transform: translateY(-70px);
  }

  100% {
    transform: translateY(50px);
  }
}

.top-green-btn-active {
  border: 2px solid #008000 !important;
}

.top-red-btn-active {
  border: 2px solid #ff0000 !important;
}

#divRss {
  height: 515px !important;
  direction: ltr;
}

#divRss ul {
  display: flex;
  flex-direction: column;
  list-style: disc;
}

.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: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: 5px 10px 15px rgba(0, 0, 0, 0.5); */
  padding: 10px 5px;
}

.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;
  /* border:2px solid #FFA527B2; */
}

.tab-item {
  color: black;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: none;
  background: transparent;
}

.text-flip-container-buttons {
  display: flex;
  gap: 40px;
}

#reset-zoom-button {
  display: block;
  width: 50px;
  position: absolute;
  right: 50px;
  top: 0;
  border: none;
  background: none;
  z-index: 5;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}

.reset-zoon-icon {
  height: 15px;
  width: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#search-us-stock::placeholder {
  font-weight: 350;
  color: #3472a7;
}

#search-us-stock {
  text-align: center;
  width: 150px;
  padding-right: 0;
  font-family: rubik, "Font Awesome 5 Free", Arial, sans-serif;
  background-color: white;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" transform="rotate(90)"><path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z" fill="%237da7cc"/></svg>')
    no-repeat;
  background-size: 12px 12px;
  /* Adjust icon size */
  background-position: calc(100% - 20px) center;
  box-sizing: border-box;
  border-radius: 3px;
  /* border: 1px solid #7da7cc; */
  border: 2px solid #00367c;
}

#serch-us-stock:focus-visible {
  /* border: 1px solid #7da7cc; */
  border: 2px solid #00367c !important;
}

.graph {
  position: relative;
}

.title-link {
  position: absolute;
  top: -5px;
  right: 45%;
  font-size: 16px;
  border-bottom: 2px solid #00367c;
  color: #00367c;
  line-height: 12px;
}

.title-link:hover {
  color: #006bb7;
  border-bottom: 0;
}

/* .title-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 100%;
  height: 2px; 
  background-color: #006bb7; 
  transform: translateX(-50%); 
  transition: width 0.3s ease-out;
} */

.title-link:hover::before {
  width: 100%;
  /* Expand to full width on hover */
}

.apexcharts-canvas {
  /* background-image: url("/wp-content/uploads/2023/08/weinvest-10.png") !important; */
  background-size: 77% 50%;
  background-position: center;
  background-repeat: no-repeat;
}

.apexcharts-toolbar {
  right: 82% !important;
  direction: rtl;
}

.apexcharts-tooltip-text-y-label {
  display: none;
}

#charts-wrapper {
  direction: ltr;
}

.us-stocks-pagination-number.active {
  text-decoration: underline #000;
  /* or any color you want */
  /* padding: 5px; /* Ensure there's enough padding */

  border-radius: 4px;
  /* Optional: for rounded borders */
}

.us-stocks-pagination-number {
  /* font-size: smaller; */
  font-size: 16px;
}

/* @media only screen and (max-width: 850px) {
  .apexcharts-toolbar {
      right:70% !important;
      direction: rtl;
  }

} */

.tab-span {
  height: 30px;
  padding-top: 6px;
  /* margin-bottom: 10px; */
}

.fa-magnifying-glass::placeholder {
  font-size: 34px;
  /* Adjust placeholder font size */
  color: #3472a7;
  /* Optional: Change placeholder color */
  /* Optional: Add styling */
  font-family: "Font Awesome 5 Free", Arial, sans-serif;
  align-items: center;
  text-align: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: center;
  justify-items: center;
  width: 100%;
  margin-bottom: 10px;
  margin-top: 0;
  height: 40px;
  margin-top: -5px;
  /*-8px*/
}

.bar.grid-container {
  margin-right: 0;
  justify-items: right;
  grid-template-columns: repeat(1, 1fr);
  margin-bottom: 4px;
  gap: 0;
}

.category-buttons-list {
  margin-top: 0px;
}

.text-container {
  grid-column: 1;
  /* Empty third column */
  text-align: right;
  height: 1px;
  /* Maintains space without visual content */
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.grid-con {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  align-items: center;
  justify-items: center;
  width: 100%;
}

.first {
  grid-column: 1;
}

.last {
  grid-column: 3;
}

.mid {
  grid-column: 2;
}

/* For the scroll container */
/* Style the dropdown list container */

.ui-menu {
  color: #333;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  /* Adjusted to match the .ui-menu-item */
  font-family: "rubik", Arial, sans-serif !important;
  max-height: 450px;
  /* border: none !important; */
  background-color: white;
  width: 130px;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
  border: none !important;
  background-color: #e6ebf2 !important;
  color: black !important;
}

.ui-menu li:nth-child(n + 11) {
  display: none;
}

.ui-menu::-webkit-scrollbar {
  width: 6px;
  /* Thin scrollbar */
}

.ui-menu::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  /* Scrollbar thumb color */
  border-radius: 4px;
  /* Rounded edges */
}

.ui-menu::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
  /* Darker on hover */
}

/* Menu Item Styles */
.ui-menu-item {
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 150px;
  text-align: center;
  list-style: none;
  /* Removed bullet points */
  cursor: pointer;
  font-size: 12px;
  padding: 0 !important;
  margin: 5px 0 !important;
}

.ui-menu-item div {
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 150px;
}

.ui-menu-item div:hover {
  /* background-color: #3472a7d1 !important; */
  background-color: #e6ebf2 !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 150px;
}

.ui-menu-item:hover {
  /* background-color: #3472a7d1 !important; */
  background-color: #e6ebf2 !important;
  color: black !important;
}

.ui-menu-item-wrapper:hover {
  color: black !important;
}

/* Item Wrapper */
.ui-menu-item-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 150px;
  font-size: 12px;
  /* Consistent font size */
}

.ui-menu-item-wrapper:hover {
  /* background-color: #3472a7d1 !important; */
  background-color: #e6ebf2 !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header,
.ui-state-active,
.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
  border: none !important;
  /* background-color: #3472a7d1 !important; */
  background-color: #e6ebf2 !important;
}

.ui-menu-item div:hover {
  /* background: #3472a7d1 !important; */
  background-color: #e6ebf2 !important;
}

.ui-menu {
  position: relative;
  padding: 0 !important;
}

.ui-widget.ui-widget-content {
  border: 2px solid #00367c !important;
}

.ui-menu-item-wrapper {
  position: relative;
  padding: 5px 0 !important;
}

.td-name {
  position: relative;
}

.td-name .full-name {
  position: absolute;
  top: 0;
  left: 5%;
  min-width: 160px;
  max-width: fit-content;
  padding: 5px;
  text-align: center;
  height: auto;
  background: #fff;
  box-shadow: 2px 2px 5px #aaa;
  opacity: 0;
  transition: opacity 250ms ease-out;
  z-index: 999;
}

.td-name:hover .full-name {
  opacity: 1;
}

.full-page {
  width: 100%;
}

.full-page-fit {
  margin-top: 1px;
  margin-bottom: 1px;
  width: auto;
  max-height: 408px;
}

/* for the top arrows START */
.toparrow {
  position: relative;
  display: inline-block;
  font-size: 16px;
  text-align: center;
  width: 40px;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  text-transform: uppercase;
  cursor: pointer;
  transition: width 0.5s ease-in-out, margin 0.5s ease-in-out, border-radius 0.25s ease-in-out, color 0.25s ease-in-out;
}

.top-btn-container {
  margin: auto;
  padding: 10px;
  width: 50px;
  display: flex;
  justify-content: center;
}

.toparrow.green {
  color: #399918;
  border: 2px solid #399918;
  border-radius: 5px;
}

.toparrow.red {
  color: #fd5e53;
  border: 2px solid #fd5e53;
  border-radius: 5px;
}

.toparrow.red.toparrow-active {
  font-weight: bold;
  box-shadow: 0 0 0 1px #fd5e53;
}

.toparrow.green.toparrow-active {
  font-weight: bold;
  box-shadow: 0 0 0 1px #399918;
}

.top-btn-container:hover .toparrow,
.toparrow:hover {
  width: 20px;
  border-radius: 40px;
  color: rgba(179, 195, 58, 0);
  transition: width 0.5s ease-in-out, margin 0.5s ease-in-out, border-radius 1s 0.25 ease-in-out, color 0.25s ease-in-out 0.25s;
}

.top-btn-container:hover .toparrow:before,
.toparrow:hover:before {
  animation: lineUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

.top-btn-container:has(.toparrow.red):hover .toparrow.red:before,
.toparrow.red:hover:before {
  animation: lineUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite reverse 0.5s;
}

.top-btn-container:hover .toparrow:after,
.toparrow:hover:after {
  animation: tipUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

.top-btn-container:has(.toparrow.red):hover .toparrow.red:after,
.toparrow.red:hover:after {
  animation: tipUpRed 1s cubic-bezier(0, 0.6, 1, 0.4) infinite reverse 0.5s;
}

.toparrow:before {
  position: absolute;
  display: inline-block;
  content: "";
  width: 3px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-top: -8px;
  margin-left: -2px;
  transform: translateY(50px);
}

.toparrow.green:before {
  background: #399918;
}

.toparrow.green:after {
  color: #399918;
}

.toparrow.red:before {
  background: #fd5e53;
}

.toparrow.red:after {
  color: #fd5e53;
}

.toparrow:after {
  position: absolute;
  display: inline-block;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid;
  border-left: 3px solid;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -7px;
  transform: translateY(50px) rotateZ(45deg);
}

.toparrow.red:after {
  transform: translateY(50px) rotateZ(-135deg);
  top: 90%;
}

@keyframes tipUp {
  0% {
    transform: translateY(50px) rotateZ(45deg);
  }

  100% {
    transform: translateY(-70px) rotateZ(45deg);
  }
}

@keyframes tipUpRed {
  0% {
    transform: translateY(50px) rotateZ(-135deg);
  }

  100% {
    transform: translateY(-70px) rotateZ(-135deg);
  }
}

@keyframes lineUp {
  0% {
    transform: translateY(50px);
  }

  100% {
    transform: translateY(-70px);
  }
}

.wallstreet-export-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  direction: rtl;
}

.export-buttons {
  display: flex;
  justify-content: center;
  height: 1.9rem;
}

.export-buttons > button {
  cursor: pointer;
  border: 0;
  border-radius: 5px;
  background-color: transparent;
  padding: 5px 5px 3px 5px;
  margin: 0 10px;
  background-size: 18px;
}

.export-buttons > button > span {
  font-size: 18px;
}

.fb-icon,
.twitter-icon,
.whatsapp-icon {
  height: 40px;
  width: 40px;
}

.fb-icon {
  background: url("https://weinvest.co.il/wp-includes/images/fb-icon.svg");
}

.twitter-icon {
  background: url("https://weinvest.co.il/wp-includes/images/x-icon-black.svg");
}

.whatsapp-icon {
  background: url("https://weinvest.co.il/wp-includes/images/whatsapp-icon.svg");
}

.social-icons {
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: center;
}

.box-frame {
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(0, 53, 72, 0.09) !important;
  margin-bottom: 20px;
}

/* for the top arrows END */

/* new Design */

.stocks-table tr {
  background-color: #fff !important;
  border-bottom: 1px solid #d9d9d9;
  cursor: pointer;
}

.stocks-table tr.no-border {
  background-color: #fff !important;
  border-bottom: 0;
}

.stocks-table-data-row {
  display: grid;
  grid-template-columns: 21% 12% 14% 12% 10% 16% 15%;
  height: 34px;
}

.stocks-table-data-row:hover td {
  background-color: #e9e9e9;
}

.stocks-table {
  border-collapse: collapse;
  border: 2px solid #d9d9d9;
  border: none;
  border-top: 0px;
}

.stocks-table th {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 5px;
}

.stocks-table td {
  text-align: center;
}

.graph-btn-container {
  width: 85%;
  border-radius: 5px;
  box-shadow: 0 2px 4px #c9cfe0;
  height: 45%;
  /* margin-left: 20px; */
  z-index: 1;
}

.graph-btn-container > button {
  color: #3199f4;
  border-radius: 5px;
  border: 0px;
  box-shadow: 0 2px 4px gray;
  background-color: white;
  width: auto;
  /*66px*/
  /* font-size: 0.65rem; */
  font-size: 13px;
  cursor: pointer;
}

.graph-btn-container > button.active {
  color: #fff;
  background-color: #3199f4;
}

.stocks-table-header {
  display: flex;
}

.sorting-arrows-container {
  display: flex;
  flex-direction: column-reverse;
}

.header-row {
  display: grid;
  /* grid-template-columns: 17% 16% 14% 11% 12% 16% 14%; */
  grid-template-columns: 21% 12% 14% 12% 10% 16% 15%;
  padding-left: 0%;
  justify-items: center;
  /* grid-template-columns: repeat(7, 1.1fr);*/
}

.header-row > th {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #000;
}

/* .header-row div {
  display: flex;
  flex-direction: column-reverse;
} */

.time-filter-btn {
  width: auto;
  height: 20px;
  margin: 6px;
  flex: 1;
  text-wrap-mode: nowrap;
  font-family: "rubik";
}

#stock-name-above-graph {
  display: inline-block;
  /* width:100%; */
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-bottom: none;
  right: 0px !important;
  position: relative;
  top: 5px;
  margin: 0;
  font-size: 18px;
  z-index: 1;
}

#stock-name-above-graph:after {
  content: "";
  position: absolute;
  /*background-color: #00367c;*/
  height: 1.5px;
  bottom: -4px;
  width: 100%;
  right: 0;
}

#save-as-image-button,
#print-as-image-button,
#export-data-button {
  font-size: 16px;
}

#whatsapp-share-button {
  background-size: 15px;
}

#twitter-share-button {
  background-size: 12px;
}

#facebook-share-button {
  background-size: 13px;
}

.madad-name-values-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 50% 50%;
  gap: 3px;
  padding: 5px 0px;
}

.madad-name-values-container span:first-child {
  padding: 0;
}

#us-stocks-result tr:last-child {
  /* border-bottom: 2.5px solid #d9d9d9; */
  border-bottom: none;
}

.wallstreet-tabs .logo-style.tab-item.selected {
  color: #191970;
}

.top-btns-container.etf-top-buttons {
  gap: 5px;
  flex-direction: column;
  margin: 0;
}

.topButton.active-top-button,
.topButton.not-active-top-button {
  background: linear-gradient(180deg, #5cfa95 0%, #03b50c 100%) !important;
}

.downButton.active-top-button,
.downButton.not-active-top-button {
  background: linear-gradient(180deg, #f36b41 0%, #ef4d50 100%) !important;
}

.topButton.active-top-button .iconWrapper .svgIcon.iconHover,
.downButton.active-top-button .iconWrapper .svgIcon.iconHover {
  opacity: 1;
  transform: translateY(0%);
}

.topButton.active-top-button .iconWrapper .svgIcon.iconDefault,
.downButton.active-top-button .iconWrapper .svgIcon.iconDefault {
  opacity: 0;
}

.topButton.not-active-top-button,
.downButton.not-active-top-button {
  opacity: 0.5;
  /* box-shadow: none !important; */
  box-shadow: 0px 1px 4px 2px rgba(0, 0, 0, 0.25) !important;
}

.topButton.active-top-button,
.downButton.active-top-button {
  /* opacity: 0.5; */
  /* box-shadow: none !important; */
  box-shadow: 0px 3px 3px 2px rgba(0, 0, 0, 0.25) inset !important;
}

.downButton.not-active-top-button:hover .iconWrapper .svgIcon.iconHover

/* .downButton.active-top-button .iconWrapper .svgIcon.iconHover  */ {
  transform: translateY(0%) rotate(180deg) !important;
  opacity: 1;
}

.downButton.not-active-top-button .iconWrapper .svgIcon.iconHover {
  transform: translateY(-100%) rotate(180deg);
}

.downButton.active-top-button .iconWrapper .svgIcon.iconHover {
  transform: translateY(0%) rotate(180deg) translateX(3%) !important;
  opacity: 1;
}

#top-button-wallstreet,
#down-button-wallstreet {
  width: 25px;
  height: 25px;
  transition: none;
}

.grid-parent-wallstreet .top-btns-container {
  margin-right: 10px;
}

.grid-parent-wallstreet #running-news-container {
  margin-right: 7.5px;
}

.logo-image {
  opacity: 1;
  position: absolute;
  width: 23%;
  left: 75%;
  bottom: 18%;
  z-index: 100;
}

#down-button-wallstreet .svgIcon.iconDefault {
  transform: rotate(180deg);
}

tr.graph td {
  padding: 0;
}

.mobile-show {
  display: none;
}

.export-buttons{
  position: relative;
  z-index: 10;
}

@media (min-width: 600px) and (max-width: 900px) {
  .apexcharts-toolbar {
    display: none !important;
  }
}

@media only screen and (max-width: 768px) {
  .table-container {
    /* overflow-x: auto; */
    width: 99%;
    direction: ltr;
    border: 2px solid #d9d9d9;
  }
  table.us-stock-titles-talbe {
    border: none !important;
  }
  .header-row {
    border-bottom: 1px solid #d9d9d9;
  }

  .wallstreet-tabs li:last-child {
    padding-left: 5px !important;
  }

  .mobile-show {
    display: block;
  }

  #mobile-graph-container {
    width: 400px;
    align-self: center;
    margin-right: -25px;
  }

  tr.graph {
    display: flex;
    justify-content: end;
    height: 100%;
  }

  .graph-btn-container {
    height: auto;
    /* width: 75% !important; */
    width: 99.5% !important;
    overflow: scroll;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
  }

  .logo-image {
    /* left: 55%; */
  }

  tr.graph td {
    width: 100vw;
    position: sticky;
    right: 0;
  }
}

@media only screen and (max-width: 600px) {
  body {
    display: flex;
    flex-direction: column;
  }

  ul {
    margin: 0;
    width: 100%;
  }

  .center {
    width: 100%;
  }

  .container {
    flex-direction: column;
    gap: 20px;
  }

  /* .result-conteiner {
        max-height: 270px;
    } */

  .tab-span {
    height: auto;
  }

  .stock-value {
    height: auto;
    margin-bottom: 0;
  }

  .result-conteiner {
    width: 100%;
    overflow: scroll !important;
    min-height: unset !important;
  }

  .us-stock-titles-talbe,
  .stocks-table {
    width: 700px !important;
  }

  .td-name,
  .header-row th:first-child {
    position: sticky;
    left: 0;
    background-color: white;
  }

  .header-row th:first-child {
    width: 100%;
    justify-content: center;
  }

  #us-stocks-result tr:last-child {
    display: flex;
  }

  .us-stocks-result-pagination-container {
    width: 400px;
    position: sticky;
    left: 0;
  }

  /* #stock-name-above-graph {
        right: -30px !important;
    } */

  /* .graph-btn-container {
        left: 30px !important;
    } */

  .wallstreet-tabs.category-buttons-list {
    gap: 10px;
    right: unset;

    li {
      flex-grow: 1;

      &:last-child {
        flex-grow: 0;
      }
    }

    .tab-item {
      padding: 0;
      height: 70px;
    }

    .madad-name-values-container {
      display: grid;
      place-items: center;
      gap: 0;
      height: 100%;
      padding: 0;

      .tab-span {
        font-weight: 500 !important;
        font-size: 14px !important;
      }

      .stock-value {
        font-weight: 500 !important;
        font-size: 12px !important;
      }
    }
  }

  /* 
  .time {
    display: none;
  } */

  .apexcharts-toolbar,
  .apexcharts-element-hidden.apexcharts-selected,
  .apexcharts-element-hidden,
  .apexcharts-zoom-icon.apexcharts-selected,
  .apexcharts-pan-icon,
  .apexcharts-reset-icon,
  .apexcharts-menu-icon,
  .apexcharts-menu {
    display: none !important;
  }

  .apexcharts-toolbar {
    right: unset !important;
  }

  #divRss {
    /* overflow-y: auto !important; */
  }

  .ui-autocomplete {
    max-height: 200px;
    width: 130px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .ui-menu-item,
  .ui-menu-item-wrapper {
    font-size: 12px;
  }

  .apexcharts-toolbar {
    display: none !important;
  }

  #divRss.full-page-div {
    height: 250px !important;
  }
}



@media (max-width: 600px) {
  .graph-btn-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px;
    overflow-x: auto !important;
    overflow-y: hidden;
    white-space: nowrap;
    width: 100% !important;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .graph-btn-container .time-filter-btn {
    flex: 0 0 auto !important;
  }
}

@media (max-width: 600px) {
  #stock-name-above-graph {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    right: auto !important;
    left: auto !important;
    position: relative !important;
    top: 6px !important;
    margin-bottom: 6px !important;
  }

  #stock-name-above-graph::after {
    display: none !important;
  }
}