@font-face {
  font-family: "rubik";
  src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

body {
  font-family: "rubik", arial;
  margin: 0;
}

.short-reports {
  font-size: 16px;
  text-align: center;
  /* padding: 0px 20px; */
  /* margin: 0px auto; */
}

.export-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  /* position: relative; */
  /* max-width: 100px; */
  /* top: -200px; */
}

#tags {
  width: 145px;
  height: 20px;
  background-color: white;
  border-radius: 3px;
  /* border: 1px solid #7da7cc; */
  border: 2px solid #00367c;
  text-align: center;
}

#tags:focus-visible {
  outline: none;
}

.ui-widget.ui-widget-content {
  border: 2px solid #00367c;
  border-top-width: 0;
}
.export-buttons > button {
  background-color: transparent;
  border-radius: 10px;
  border: none;
  padding: 3px 5px;
  margin: 3px;
}

.graph {
  display: block;
  width: 100%;
  height: 260px;
  text-align: center;
  background-color: #fff;
}

h1,
h2,
h3 {
  text-align: center;
}

th,
td {
  width: 9%;
}

#tab-shorts {
  list-style-type: none;
  cursor: pointer;
  margin: 0px 130px 0px 140px;
  padding-inline-start: 0px;
  display: flex;
  gap: 50px;
}

#tab-shorts > li {
  font-size: 16px;
  display: inline-block;
  padding: 5px 10px;
  margin: 5px 0px 0px 5px;
}

.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;
}

.tab-btn.active:after,
.tab-btn:focus:after,
.tab-btn:hover:after {
  width: 100%;
  left: 0%;
}

.tab-btn:after {
  content: "";
  pointer-events: none;
  bottom: -2px;
  height: 2px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #ffa527;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
  z-index: 10;
}

#short-results {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  height: fit-content;
  overflow-y: scroll;
  overflow-x: hidden;
}

#bond-results {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  height: 400px;
  overflow-y: scroll;
  overflow-x: hidden;
}

#title-results {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  /* width: calc(100% - 17px); */
}

#title-results li {
  direction: rtl;
}

#display-results {
  list-style-type: none;
  margin: 0px 0px 5px 0px;
  padding: 0px;
  position: relative;
}

#display-results > li {
  display: inline-block;
  box-sizing: border-box;
  padding: 5px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  direction: rtl;
}

.bond-val {
  list-style-type: none;
  margin: 12px;
  padding-inline-start: 0px;
  text-align: center;
  direction: ltr;
}

.green {
  padding: 2px;
  color: #239b56;
  font-weight: bold;
}

.red {
  padding: 2px;
  color: #cb4335;
  font-weight: bold;
}

.bond-val > li:nth-child(1) {
  font-size: 0.8em;
}

#mehirot-bheser {
  position: relative;
  display: inline-block;
  font-size: 19.5px;
  font-weight: bold;
  right: 46%;
  color:#00367c;
}

#mehirot-bheser::after {
  content: "";
  position: absolute;
  height: 1.5px;
  width: 100%;
  right: 0;
  bottom: 0;
  background-color: #ffa527;
}

.bond-content {
  list-style-type: none;
  margin: 10px;
  padding: 10px;
  font-size: 14px;
  text-align: center;
  width: 100%;
  background-color: #c4cfcf;
}

.short-content {
  list-style-type: none;
  padding: 0px;
  font-size: 14px;
  text-align: center;
  width: 100%;
  /* background-color: #ffebcd80; */
  cursor: pointer;
}

.line:nth-child(even) {
  background-color: #fff;
}

.bond-title,
.short-title {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  position: relative;
}

.short-title > li {
  display: ruby;
  box-sizing: border-box;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  direction: ltr;
}

.short-content > li {
  display: inline-block;
  box-sizing: border-box;
  width: 12%;
  min-height: 30px;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
  direction: rtl;
}

#short-results li.line {
  direction: rtl;
}

.title-link {
  margin: 10px;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.4s;
  font-size: 14px;
  color: blue;
  text-decoration: underline;
}

.graph-title {
  margin: 2px;
}

.search-btn,
.reset-btn {
  cursor: pointer;
}

.search-container {
  position: relative;
  margin-bottom: 10px;
  /*15px*/
  display: flex;
  flex-direction: row;
  justify-content: center;
  border-bottom: 2px solid #d9d9d9;
  /*column-reverse*/
  gap: 8%;
  /*10px*/
  margin-right: 3px;
  align-items: end;
}

.short-search {
  display: flex;
  margin-bottom: 10px;
  /* justify-content: center; */
  /* padding-right: 50px; */
  bottom: 0;
}

/* .line{
  background-color: #ffebcd80;
} */

.title {
  font-weight: normal;
  font-size: 19.5px;
  color: #333333;
  text-align: center;
  margin: 0;
  margin-top: 5px;
}

.graph-icon {
  font-size: 17px;
}

canvas {
  /* background-image: url("/wp-content/uploads/2023/08/weinvest-logo.png"); */
  background-size: 48% 80%;
  background-position: center;
  background-repeat: no-repeat;
}

.arrows {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.table-header-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 600px) and (max-width: 900px) {
  /* .mobile-hide{
    display: none !important;
  }

  .short-content>li,
  .short-title>li{
    width: 25%;
  } */
}

@media only screen and (max-width: 600px) {
  #tab-shorts {
    margin: 0px 20px;
  }

  .short-search {
    bottom: -38px;
    left: 7rem;
  }

  /* .mobile-hide {
    display: none !important;
  } */

  ul.short-content {
    display: flex;
    justify-content: space-around;
  }

  #title-results {
    /* display: flex; */
    justify-content: space-around;
  }

  #short-results {
    /* height: 500px; */
  }

  .short-content > li {
    width: 25%;
  }
}

.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: 147.5px !important;
  position: fixed;
  transform: translateX(-50%);
}

.ui-menu li:nth-child(n + 11) {
  display: none;
}
.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 {
  color: black;
}

.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: 145px;
  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: 145px;
}

.ui-menu-item div:hover {
  /* background-color: #3472a7d1 !important; */
  /* background-color: #e6ebf2 !important; */
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 145px;
}

.ui-menu-item:hover {
  /* background-color: #3472a7d1 !important; */
  /* background-color: #e6ebf2 !important; */
}

/* Item Wrapper */
.ui-menu-item-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 145px;
  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 {
  position: relative;
  padding: 0 !important;
}

.ui-menu-item-wrapper {
  position: relative;
  padding: 2px 0 !important;
}

.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;
}

.export-buttons > button {
  cursor: pointer;
  background-size: 18px;
}

.export-buttons > button > span {
  font-size: 18px;
}

.export-buttons > button {
  height: 40px;
  width: 40px;
  border-width: 0px;
  border-radius: 5px;
  background-color: transparent;
  padding: 5px 5px 3px 5px;
  margin: 0px 10px;
}

/* New Design */
.shorts-table-wraper {
  /* border: 2px solid #d9d9d9;
  border-collapse: collapse; */
  border-collapse: separate; /* Required for radius to work */
  border-spacing: 0;          /* Mimics the collapsed look */
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
}

.short-table ul {
  border-bottom: 1px solid #d9d9d9;
  height: 34px;
  display: flex;
  justify-content: space-between;
}
/* .short-table ul:hover {
  background-color: #e9e9e9;
} */

.line:hover {
  background-color: #d9d9d9;
}

.short-title {
  border-bottom: 1px solid #d9d9d9;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  align-items: center;
  height: 34px;
}

.ui-helper-hidden-accessible {
  display: none;
}

.logo-image {
  opacity: 1;
  position: absolute;
  width: 13%;
  height: 11%;
  left: 84%;
  bottom: 18%;
  z-index: 100;
}

.shorts-table-wraper #short-results {
  max-height: 39em;
  /* scrollbar-color: #46a6dd87 #d5d5d5; */
  direction: ltr;
}

.shorts-table-wraper #short-results::-webkit-scrollbar {
    width: 10px;
    background-color: #d5d5d5;
    border-radius: 10px;
}

/* Target the draggable thumb for the newsticker div */
.shorts-table-wraper #short-results::-webkit-scrollbar-thumb {
    background: hsla(202, 69%, 57%, 0.53);
    border-radius: 10px;
}

@media (max-width: 768px) {
  .shorts-table-wraper {
    overflow-x: scroll;
    height: fit-content;
    max-height: 200px;
  }

  .short-title,
  .short-table {
    width: 900px;
  }
  .short-table {
    height: 350px;
    /* overflow-y: hidden; */
  }
  #mehirot-bheser {
    right: 3%;
    color: rgba(0, 54, 124, 1);
  }
  #mehirot-bheser:after {
    content: none;
  }
  .logo-image {
    opacity: 1;
    position: absolute;
    width: 20%;
    left: 78%;
    bottom: 28%;
    z-index: 100;
  }
  #short-results {
    height: fit-content;
    max-height: 160px;
    width: 100%;
    overflow-y: scroll;
    overflow-x: scroll;
  }
  li.line {
    width: 900px;
  }
  li.name-field {
    position: sticky;
    right: 0;
    background: white;
  }
  #title-results li:nth-child(1) {
    position: sticky;
    right: 0px;
    background: white;
    width: 125px;
  }
  #title-results {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
  }
}
