@font-face {
  font-family: "rubik";
  src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

body {
  margin: 0;
  font-family: "rubik", arial;
  font-size: 14px;
}

.short-reports {
  text-align: center;
  margin: 0px auto;
}

.title {
  font-weight: normal;
  font-size: 19.5px;
  color: #333333;
  margin: 0;
}

.container {
  position: relative;
}

.export-buttons {
  /* display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: space-around;
  flex-direction: row;
  position: relative;
  max-width: 100px;
  top: -200px; */
}

.short-content li:first-child {
  width: 16%;
}

.export-buttons > button {
  background-color: SILVER;
  border-radius: 10px;
  border: 0px;
  padding: 3px 5px;
  margin: 3px;
}

.graph {
  display: block;
  width: 100%;
  height: 260px;
  text-align: center;
}

h1,
h2,
h3 {
  text-align: center;
}

th,
td {
  width: 9%;
}

#tab-shorts {
  list-style-type: none;
  cursor: pointer;
  margin: 0px 20px;
  padding-inline-start: 0px;
}

#tab-shorts > li {
  display: inline-block;
  padding: 10px;
  margin: 5px 0px 0px 5px;
  font-size: 16px;
}

#short-results {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  height: fit-content;
  max-height: 610px;
  overflow-y: scroll;
  overflow-x: hidden;
  border: 2px solid #d9d9d9;
}

#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 0px 0px 0px;
  padding: 0px;
  display: flex;
  align-items: center;
  color: #01549d;
  justify-content: space-around;
  /* border: 2px solid #d9d9d9; */
  border: 2px solid #d9d9d9;
  border-bottom: none;
  width: 99.7%;
}

#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 {
  color: #008000; /*#239B56*/
  /* font-weight: bold; */
}

.red {
  color: #ff0000; /*#CB4335*/
  /* font-weight: bold; */
}

.bond-val > li:nth-child(1) {
  font-size: 0.8em;
}

.bond-content {
  list-style-type: none;
  margin: 10px;
  padding: 10px;
  text-align: center;
  width: 100%;
  background-color: #c4cfcf;
}

.short-content {
  list-style-type: none;
  /* margin-bottom: 5px; */
  padding: 0px;
  text-align: center;
  width: 100%;
  cursor: pointer;
  border-bottom: 1px solid #d9d9d9;
  /* background-color:#ffebcd80; */
}

.bond-title,
.short-title {
  padding: 10px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  /* background-color: #e3f0ff80; */
  color: #01549d;
  position: relative;
}

.short-title > li:first-child {
  width: 16%;
}

.short-title > li {
  box-sizing: border-box;
  width: 14%;
  padding: 2px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  /* direction: ltr; */
  display: flex;
  align-items: center;
  gap: 5px;
}

.short-title > li a {
  direction: rtl;
}

.short-content > li {
  display: inline-block;
  box-sizing: border-box;
  width: 14%;
  min-height: 30px;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
  direction: ltr;
}

.title-link {
  margin: 10px;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.4s;
  color: blue;
  text-decoration: underline;
}

.title-container {
  display: flex;
  justify-content: center;
}

.graph-title {
  color: #00367c;
  line-height: 12px;
  font-weight: 500;
  font-size: 18px;
  margin: auto;
  text-decoration: underline;
}

.graph-title:hover {
  color: #006bb7;
  text-decoration: underline;
}

.search-btn,
.reset-btn {
  cursor: pointer;
}

.short-search {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 15px;
  align-items: center;
}

#short-search {
  width: 145px;
  height: 20px;
  background-color: white;
  border-radius: 3px;
  /* border: 1px solid #7da7cc; */
  border: 2px solid #00367c;
  border-radius: 5px;
  text-align: center;
}
.ui-widget.ui-widget-content {
  border: 2px solid #00367c !important;
  border-radius: 5px;
  top: 68px !important;
}

.arrows {
  display: flex;
  flex-direction: column;
}

.fas.green {
  transform: translateY(7px);
}

.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: 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;
}

.ui-autocomplete {
  max-height: 200px;
  width: 250px;
  overflow-y: auto;
  overflow-x: hidden;
}

.line {
  /* background-color: #ffebcd80; */
  background-color: #fff;
}

.short-content:hover {
  background-color: #d9d9d9;
}

.graph-icon {
  font-size: 17px;
}

canvas {
  /* background-image: url(/wp-content/uploads/2023/08/weinvest-10.png); */
  background-size: 70% 30%;
  background-position: 60%;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 600px) {
  #tab-shorts > li {
    padding: 10px 0;
    margin: 50px 0px 14px 10px;
  }

  ul#short-results ul li:nth-child(even),
  #title-results li:nth-child(even) {
    /* display: none; */
  }

  .short-content > li {
    /* width: 25% !important; */
  }
}

.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: 149px !important;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
}

.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; */
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 150px;
}

.ui-menu-item:hover {
  /* background-color: #3472a7d1 !important; */
  background-color: #e6ebf2 !important;
  color: #00285b;
}

/* Item Wrapper */
.ui-menu-item-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 151px;
  font-size: 12px; /* Consistent font size */
}

.ui-menu-item-wrapper:hover {
  /* background-color: #3472a7d1 !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;
  color: #00285b;
}
.ui-state-active,
.ui-widget-content .ui-state-active {
  background-color: #e6ebf2 !important;
  color: #00285b !important;
}

.ui-menu {
  position: relative;
  padding: 0 !important;
}

.ui-menu-item-wrapper {
  position: relative;
  padding: 2px 0 !important;
}

#shorts-sales-table-title {
  margin-bottom: 6.43px;
  position: relative;
  display: inline-block;
  font-size: 19.5px;
  /* font-weight:bold; */
  /* right: 300px; */
}

#shorts-sales-table-title::after {
  content: "";
  position: absolute;
  height: 1.5px;
  width: 100%;
  right: 0;
  bottom: 0;
  background-color: #ffa527;
}

.export-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  direction: rtl;
}

.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;
}

#title-bonds-sells-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-image {
  opacity: 1;
  position: absolute;
  width: 12%;
  height: 13%;
  left: 86%;
  top: 72%;
  z-index: 100;
}

.mobile-chart-wraper {
  display: none;
}

#short-results {
  overflow-y: auto;
  direction: ltr;
  scrollbar-color: #006bb7 #ffffff;
}

#short-results .line {
  direction: rtl;
}

@media (max-width: 768px) {
  .mobile-chart-wraper {
    display: block;
  }
  .logo-image {
    opacity: 1;
    position: absolute;
    width: 22%;
    left: 76%;
    top: 59%;
    z-index: 100;
  }
  .short-reports {
    width: 100%;
    /* overflow-x: scroll; */
  }
  #short-results {
    width: 100%;
    overflow: scroll;
    height: fit-content;
    max-height: 280px;
  }

  #title-results {
    width: 1000px;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f1f7ff;
  }
  #title-results li:first-child {
    position: sticky;
    right: 0;
    top: 0;
    background-color: #f1f7ff;
    z-index: 11;
  }

  .line {
    width: 1000px;
  }

  .name-field {
    position: sticky;
    right: 0;
    background-color: #f1f7ff;
  }

  #shorts-sales-table-title {
    font-size: 15.5px;
  }
  #tab-shorts > li {
    font-size: 14px;
  }
}
