@font-face {
    font-family: "rubik";
    src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

body {
    margin: 0;
    /* max-width: 1080px; */
    max-width: 1180px;
    font-family: "rubik", arial;
}

button {
    font-family: inherit;
}

.export-buttons button {
    background-color: transparent;
    border: none;
}

canvas {
    /* background-image: url(/wp-content/uploads/2023/08/weinvest-10.png);
  background-image: url(/wp-content/uploads/logo_with_white_stroke.png); */
    /* background-size: 92% 92%;
    background-position: center;
    background-repeat: no-repeat; */
}

#sidebar-graph-background {
    background-image: url(/wp-content/uploads/logo_with_white_stroke.png);
    background-size: 46% 19%;
    filter: opacity(0.5);
    background-position: 50% 17%;
    background-repeat: no-repeat;
}

#yieldGraph {
    /* background-image: url(/wp-content/uploads/2023/08/weinvest-10.png); */
    background-size: 92% 92%;
    background-position: center;
    background-repeat: no-repeat;
}

.div-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 680px;
}

.page-container {
    display: flex;
    gap: 1%;
    /* height:700px; */
    height: 100%;
}

.sidebar-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* max-width: 265px; */
    max-width: 295px;
    width: 100%;
    margin-bottom: 55px;
}

.sidebar-table {
    width: 100%;
}

.sidebar-table th {
    color: #000;
    font-size: 14px;
}

table {
    border-collapse: collapse;
}

.table-container {
    max-height: 212px;
    overflow: hidden;
    display: block;
}

#table thead {
    display: table;
    width: 100%;
    table-layout: fixed;
}

#table tbody {
    display: block;
    max-height: inherit;
    overflow-y: auto;
    overflow-x: hidden;
}

#table tr {
    display: table;
    width: 100%;
}

#table tbody tr,
#table thead tr {
    display: table;
    width: 100%;
    box-sizing: border-box;
}

#top-table,
.bottom-table {
    width: 100%;
}

#field-table-head>tr {
    background: #e3f0ff80;
}

#field-table-body>tr {
    background: #ffebcd80;
}

td.green-stock,
td.red-stock {
    direction: ltr;
}

td {
    text-align: center;
    border-bottom: 1px solid #ccc;
}

#field-table-body td span {
    /* direction: rtl; */
    font-size: 14px;
}

.red {
    color: red;
    direction: ltr !important;
}

.green {
    color: green;
}

.field-container {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.arrows {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.arrows>span {
    cursor: pointer;
}

.arrow {
    cursor: pointer;
}

.sortable {
    white-space: nowrap;
}

.shorts-arrows {
    display: inline-flex;
    flex-direction: column;
    vertical-align: middle;
    margin-right: 5px;
}

#shorts-tbody tr {
    cursor: pointer;
}

.sort-arrows {
    display: inline-block;
    vertical-align: middle;
}

.tabs-btns-container {
    display: flex;
    justify-content: center;
    /* background: #f7f7f7; */
    height: 46px;
    direction: rtl;
    list-style-type: none;
    margin-top: 0;
    width: 99%;
    position: relative;
}

#important-to-know-container {
    padding-bottom: 20px;
    margin-top: 70px;
}

#important-to-know-title {
    margin-bottom: 4px;
    font-size: 32px;
    color: #000000;
    font-weight: 700;
}

#important-to-know-title .highlight {
    color: var(--button-text-color-hovered);
    /* your desired color */
}

#search-button {
    border: 1px solid #e5b485;
    border-radius: 5px;
    color: #3d7fb8;
    background-color: white !important;
    width: 70px;
}

#classification {
    width: 99%;
    border: 1px solid black;
    text-align: center;
    height: 70px;
    margin-top: 32px;
    margin-bottom: 67px;
}

#fundSection.active::after,
#fundSection:hover:after,
#fundSection:focus:after {
    left: 535% !important;
    right: 36% !important;
    width: 125px !important;
}

#etfSection.active::after,
#etfSection:hover:after,
#etfSection:focus:after {
    left: 9% !important;
    right: 40% !important;
    width: 88px !important;
}

.tab-btn {
    font-size: 18.5px;
    color: #006bb7;
    /*#3d7fb8*/
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    border: none;
    background: none;
    text-transform: uppercase;
    transition: color 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#etfSection {
    background-color: transparent !important;
}

#top-buttons-etf {
    flex-direction: column;
    gap: 5px;
    align-items: end;
    margin: 2px;
}

.tab-btn:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0%;
    height: 3px;
    /*1.5px*/
    background-color: #ffa527;
    /*#e5b485*/
    transition: width 400ms cubic-bezier(0.25, 0.8, 0.25, 1),
        left 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

/* chnged from px to % after the css broke - for future - try to change back to pixles */
.tab-btn.active::after {
    left: 40%;
    width: 20%;
    /* width: 63px;
  right: 168px; */
}

.tab-btn.active {
    color: #00367c;
}

#etf-fund-btns-container:after {
    content: "";
    position: absolute;
    background-color: #00367c21;
    right: 2px;
    width: 100%;
    height: 3px;
    bottom: -2px;
}

#etf-fund-btns-container {
    margin-bottom: 11px;
}

.tab-btn:hover:after,
.tab-btn:focus:after {
    width: 20%;
    /* width: 63px;
  right: 168px; */
    left: 40%;
}

/* .tab-btn {
  padding: 10px;
  width: 50%;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid #eaeaea;
  background: #efeded;
  font-size: 18px;
} */

/* .tab-btn.active {
  box-shadow: 0 -1px 2px #d4d4d4;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
} */

.field-head {
    padding: 5px;
}

.field-td {
    padding: 5px;
    font-size: 14px;
    border: 2px solid white;
}

.details-table-data {
    cursor: pointer;
    border: 1px solid transparent !important;
}

tr {
    width: 100%;
}

.green-stock {
    color: red;
}

.red-stock {
    color: green;
}

#fields-container {
    margin: 5px 15px;
}

.top-btns-container {
    display: flex;
    justify-content: center;
    background: #fff;
    margin: 10px auto;
    gap: 35px;
}

/* .emoji-img{
  height: 35px;
  width: 35px;
} */

/* .emoji-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;
} */

.small-text {
    align-self: start;
    font-size: 14px;
    /* margin-right: 50px; */
}

#search,
.table-filters select {
    height: 20px;
    direction: rtl;
    font-weight: bold;
    outline: none;
    border: none;
    border-bottom: 2px solid #000;
    text-align: center;
    font-size: 15px;
}

#search {
    font-weight: normal;
}

#table-body {
    height: 212px;
}

#field-table-head th,
#field-table-head td,
#table-body td {
    font-size: 14px;
}

.table-style {
    width: 100%;
}

#tabs {
    margin-top: 2px;
}

.table-style tbody tr.line:nth-child(odd),
#table-body tr:nth-child(odd) {
    text-align: center;
    background-color: #ffebcd80;
}

.field-container>span {
    font-size: 15px;
}

.title-tooltip-container,
.tooltip-container {
    position: relative;
}

.title-tooltip-container .title-name-tooltip,
.tooltip-container .name-tooltip {
    position: absolute;
    top: 0px;
    right: 9999px;
    width: fit-content;
    min-width: 96px;
    margin-left: -30px;
    color: #000;
    background: #fff;
    -webkit-box-shadow: 2px 2px 5px #aaa;
    -moz-box-shadow: 2px 2px 5px #aaa;
    box-shadow: 2px 2px 5px #aaa;
    opacity: 0;
    -webkit-transition: opacity 250ms ease-out;
    -moz-transition: opacity 250ms ease-out;
    -ms-transition: opacity 250ms ease-out;
    -o-transition: opacity 250ms ease-out;
    transition: opacity 250ms ease-out;

    z-index: 999;
}

.title-tooltip-container .title-name-tooltip:before,
.tooltip-container .name-tooltip:before {
    content: " ";
    position: absolute;
    top: 50%;
    left: -16px;
    width: 0;
    height: 0;
    /* border:8px solid transparent;
  border-right-color:#fff; */
}

.tooltip-container:hover .name-tooltip {
    right: 4px;
    opacity: 1;
}

.title-tooltip-container:hover .title-name-tooltip {
    opacity: 1;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

.field-td.title-tooltip-container {
    direction: rtl;
}

@keyframes appear {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.top-red-btn {
    transition: 0.5s;
    /* text-shadow: 0 0 15px red; */
}

.top-green-btn {
    transition: 0.5s;
    /* text-shadow: 0 0 15px green; */
}

#top-red-btn,
#top-green-btn {
    cursor: pointer;
}

.top-green-btn-active {
    border: 2px solid #008000 !important;
}

.top-red-btn-active {
    border: 2px solid #ff0000 !important;
}

.etf-full-page-link {
    display: flex;
    justify-content: flex-start;
    margin-right: 5px;
    position: fixed;
    height: 12px;
    width: 22px;
    bottom: 1px;
    left: 10px;
}

#fullLine {
    display: flex;
    height: 60px;
    text-align: center;
}

.fullLine {
    width: 100%;
    display: flex;
    margin-top: 50px;
    direction: ltr;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

#shortLine {
    background-color: #ff5359;
}

#longLine {
    background-color: #00ae6a;
}

#shortLine,
#longLine {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.long-short-container {
    margin-top: 25px;
}

.etf-title {
    margin: 0;
}

#shortLine h2,
#longLine h2 {
    margin: 0;
    font-size: 16px;
}

#fullLine span {
    font-size: 14px;
}

@keyframes scaleUp {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

#table-head tr th:nth-child(1),
#table-body tr td:nth-child(1),
#table-head tr th:nth-child(2),
#table-body tr td:nth-child(2) {
    width: 50px;
}

#yields-container td {
    white-space: nowrap;
    overflow: hidden;
    max-width: 140px;
}

#table-head tr th:nth-child(3),
#table-body tr td:nth-child(3) {
    text-align: right;
    width: 200px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#table-head tr th:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)),
#table-body tr td:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)) {
    width: 100px;
}

.frame-title>h3 {
    margin: 0;
}

.fullLine {
    width: 100%;
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    direction: ltr;
    height: 0px;
    box-shadow: rgb(0 0 0 / 19%) 0px 10px 20px, rgb(0 0 0 / 23%) 0px 6px 6px;
}

.fullLineShortLong {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    direction: ltr;
    box-shadow: rgb(0 0 0 / 19%) 0px 10px 20px, rgb(0 0 0 / 23%) 0px 6px 6px;
    border-radius: 5px;
    overflow: hidden;
    height: 40px;
}

.frame-etfs {
    padding: 5px 0;
}

.frame-etfs .fullLineShortLong {
    padding: 0;
}

.fullLineShortLong>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.4s;
}

.fullLineShortLongInfo {
    display: flex;
    justify-content: space-between;
    margin-top: 1%;
}

.fullLineShortLongInfo>div {
    display: flex;
    align-items: center;
}

.fullLineShortLongInfo>div>h3 {
    font-size: 1.3em;
    margin: 0;
}

#long-part,
#short-part {
    font-size: 14px;
    padding: 5px;
    color: white;
}

.box * {
    padding: 5px;
}

.box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#box {
    margin-top: 28px;
}

#box.no-pro {
    position: relative;

    &::before {
        content: '';
        inset: 0;
        position: absolute;
        backdrop-filter: grayscale(1) blur(10px);
        z-index: 1;
        background: rgba(0, 0, 0, 0.19);
        pointer-events: none;
    }

    &::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        aspect-ratio: 2 / 1;
        background-image: url(https://weinvest.co.il/wp-content/plugins/payments/payButton.svg);
        background-position: center;
        background-repeat: no-repeat;
        cursor: pointer;
        z-index: 2;
        pointer-events: auto;
    }
}

#shorts-table-title {
    margin-bottom: 10px;
    font-weight: bold;
}

.frame-title {
    display: block;
    position: relative;
    text-align: center;
    padding-top: 0;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.frame-title h2 {
    margin: 0;
    padding-bottom: 0;
    padding-top: 0;
    font-size: 24px;
    font-weight: bold;
    color:#00367c;
}

.frame-title h3 {
    margin: 0;
    margin-top: 3px;
}

#red1,
#red2,
#red3,
#red4,
#shortLine,
#partline5 {
    background-color: #b92d2e;
}

#shortLine {
    background-color: #ff5359;
}

#longLine {
    background-color: #00ae6a;
}

.fullLineShortLongInfo {
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.fullLineShortLongInfo>div {
    display: flex;
    align-items: center;
    padding-top: 0;
}

.fullLineShortLongInfo>div>h3 {
    font-size: 15px;
    margin: 0;
}

.fullLineShortLongInfo span {
    font-size: 14px;
}

.forum-section-title,
.title {
    font-weight: bold;
    font-size: 19.5px;
    color: #00367c;
    text-align: center;
}

.forum-section-title {
    max-width: 802px;
    text-align: center;
}

.full-width {
    width: 100%;
    /* max-width: 1080px; */
    max-width: 1180px;
}

.short-width {
    width: 100%;
    /* max-width: 800px; */
    max-width: 870px;
}

.yields-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
    margin-bottom: 25px;
}

#yields-container {
    margin-top: 3%;
}

.table-title {
    font-weight: normal;
    font-size: 19.5px;
    color: #333333;
    margin-bottom: 5px;
    text-align: center;
}

#table-title-top-up,
#table-title-top-down {
    margin-bottom: 10px;
}

.yield-table {
    width: 49%;
}

.yield-table table {
    width: 100%;
    border-collapse: separate; 
    border-spacing: 0;          
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
}

.yield-table td,
.yield-table th {
    padding: 5px;
    border-bottom: 1px solid #ccc;
}

.info-tabs {
    display: flex;
    /* justify-content: space-evenly; */
    gap: 60px;
    justify-content: center;
    margin-top: 20px !important;
}

/* .info-tab {
  list-style-type: none;
  cursor: pointer;
  margin: 0px 20px;
  padding-inline-start: 0px;
  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;
} */
/* 
.info-tab {
  display: inline-block;
  padding: 10px;
  margin: 5px 0px 0px 5px;
  font-size: 16px;
}

.info-tab.active:after,
.info-tab:focus:after,
.info-tab:hover:after {
  width: 100%;
  left: 0%;
}

.info-tab: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;
} */

.table-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
}

#table-chart-container {
    width: 100%;
    height: 200px;
    position: relative;
}

#yieldGraph {
    width: 100% !important;
    height: 300px !important;
    direction: ltr;
}

.sidebar-graph-container canvas {
    direction: ltr;
    /* height: 168px !important; */
}

.graph-time-buttons {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.graph-time-btn {
    /* background-color: transparent ;
  border: none; 
  cursor: pointer; */
    background-color: #fff9f4;
    border: 1px solid #97133f;
    cursor: pointer;
    font-family: "rubik", arial;
}

#table-chart-container {
    display: none;
}

.graph-time-btn.active {
    /* background-color: transparent;
  font-weight: bold; */
    background-color: #97133f;
    color: white;
    font-family: "rubik", arial;
}

.sidebar-graph-buttons-container {
    background: #f1f7ff;
    height: 35px;
    direction: rtl;
    border-radius: 12px;
    border-bottom: 1px solid #9bc7ff73;
    padding: 8px 10px 0;
    display: flex;
    justify-content: space-evenly;
}

.sidebar-tab-item {
    /* color: black; */
    color: #444444;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    border: none;
    background: transparent;
    font-size: 16px;
    padding: 4px 9px;
}

.sidebar-tab-item.active {
    background: #fff;
    box-shadow: 0 -1px 2px #d4d4d4;
    -moz-box-shadow: 0 -1px 2px #d4d4d4;
    /* -webkit-box-shadow: 0 -1px 2px #d4d4d4; */
    -webkit-box-shadow: 0 -1px 2px #d4d4d4, inset 0 2px 5px 0px #d4d4d4;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    /* padding: 10px 15px; */
    margin-bottom: -1px;
    font-size: 16.5px;
    font-weight: bold;
}

.sidebar-tab-span:hover {
    color: #000000;
}

.sidebar-tab-span {
    /* color: black; */
    color: #444444;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    border: none;
}

input[type="checkbox"] {
    cursor: pointer;
}

.reset-btn {
    cursor: pointer;
}

.short-search {
    display: flex;
    justify-content: flex-start;
}

/* .ui-autocomplete {
  max-height: 200px;
  width: 250px;
  overflow-y: auto;
  overflow-x: hidden;
} */

#screener-title {
    margin: 5px 0;
}

.sidebar-tr td:nth-child(1),
.sidebar-tr td:nth-child(2) {
    text-align: right;
}

.sidebar-tr.sidebar-etf:hover,
.sidebar-tr.sidebar-etf.active {
    /* background-color: #ffebcd80; */
    background-color: #e9e9e9;
    cursor: pointer;
}

.sidebar-tr:hover {
    background-color: #e9e9e9;
}

#sidebar-tbody td {
    font-size: 14px;
}

#sidebar-tbody tr td:not(:first-child) {
    text-align: center;
}

#sidebar-tbody tr td:first-child {
    text-align: right;
}

#shorts-container {
    margin-top: 3%;
}

@media (min-width: 600px) and (max-width: 900px) {
    .yields-container {
        justify-content: center;
    }

    .page-container {
        flex-direction: column;
    }

    .short-width,
    .sidebar-container {
        max-width: none;
    }

    /* WP SIDEBAR STYLES */

    .wp-block-latest-posts.wp-block-latest-posts__list {
        list-style: none;
        padding-right: 0;
    }

    .wp-block-latest-posts__post-author,
    .wp-block-latest-posts__post-date {
        display: block;
        font-size: 0.8125em;
    }

    .wp-block-latest-posts.wp-block-latest-posts__list li {
        list-style: none;
        clear: both;
    }

    .wp-block-latest-posts__featured-image.alignright {
        float: right;
        margin-left: 1em;
    }

    .wp-block-latest-posts__featured-image a {
        display: inline-block;
    }

    .wp-block-latest-posts__post-title {
        font-size: 13px;
    }

    .latest-posts-widget-class li:not(:last-child) {
        margin-bottom: 50px;
    }

    .wp-block-latest-posts__featured-image img {
        height: 70px;
        width: 70px;
    }

    .wp-block-latest-posts li {
        text-align: center;
    }

    .wp-block-latest-posts {
        font-size: 13px;
        color: #000;
        text-align: center;
        text-decoration: none;
    }

    .wp-block-latest-posts__post-title {
        font-size: 13px;
        color: #444444;
        text-decoration: none;
    }

    .wp-block-latest-posts__post-date {
        font-size: 0.7125rem;
        color: #000000;
    }

    .yield-table {
        width: 360px;
    }

    .yields-container {
        gap: 5px;
    }

    .yield-table td,
    .yield-table th {
        height: 2.5rem;
    }

    #shorts-container {
        overflow-x: scroll;
    }

    #shorts-table {
        width: 100%;
    }

    #shorts-table thead tr th:first-child,
    #shorts-tbody .line .name-field {
        position: sticky;
        right: 0;
        background-color: #f1f7ff;
    }
}

@media only screen and (max-width: 600px) {
    #table tbody {
        display: table;
    }

    .bottom-table th,
    .bottom-table td {
        padding: 5px;
    }

    .page-container {
        flex-direction: column;
    }

    .field-td {
        padding: 0;
    }

    .yield-table,
    .div-container.short-width,
    .sidebar-container {
        width: 100%;
        max-width: 100%;
    }

    .table-filters {
        flex-wrap: wrap;
    }

    /* #shorts-table tr td:nth-child(2),
  #shorts-table tr td:nth-child(3),
  #shorts-table tr td:nth-child(4),
  #shorts-table tr td:nth-child(6),
  #shorts-table th:nth-child(2),
  #shorts-table th:nth-child(3),
  #shorts-table th:nth-child(4),
  #shorts-table th:nth-child(6){
    display:none;
  } */

    #shorts-container {
        overflow-x: scroll;
    }

    #shorts-table {
        width: 100%;
    }

    #shorts-table thead tr th:first-child,
    #shorts-tbody .line .name-field {
        position: sticky;
        right: 0;
        background-color: #f1f7ff;
    }

    .table-head.sortable span {
        max-width: 40px;
        white-space: normal;
    }

    .name-field {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
        direction: rtl;
        text-align: right;
    }

    /* WP SIDEBAR STYLES */

    .wp-block-latest-posts.wp-block-latest-posts__list {
        list-style: none;
        padding-right: 0;
    }

    .wp-block-latest-posts__post-author,
    .wp-block-latest-posts__post-date {
        display: block;
        font-size: 0.8125em;
    }

    .wp-block-latest-posts.wp-block-latest-posts__list li {
        list-style: none;
        clear: both;
    }

    .wp-block-latest-posts__featured-image.alignright {
        float: right;
        margin-left: 1em;
    }

    .wp-block-latest-posts__featured-image a {
        display: inline-block;
    }

    .wp-block-latest-posts__post-title {
        font-size: 13px;
    }

    .latest-posts-widget-class li:not(:last-child) {
        margin-bottom: 50px;
    }

    .wp-block-latest-posts__featured-image img {
        height: 70px;
        width: 70px;
    }

    .wp-block-latest-posts li {
        text-align: center;
    }

    .wp-block-latest-posts {
        font-size: 13px;
        color: #000;
        text-align: center;
        text-decoration: none;
    }

    .wp-block-latest-posts__post-title {
        font-size: 13px;
        color: #444444;
        text-decoration: none;
    }

    .wp-block-latest-posts__post-date {
        font-size: 0.7125rem;
        color: #000000;
    }

    .top-table-container {
        overflow-x: auto;
        width: 100%;
    }

    .title-name-tooltip {
        display: none;
    }

    .field-td {
        padding: 5px;
    }

    .table-container {
        overflow-x: auto;
        width: 100%;
    }

    #table-head tr th:nth-child(1),
    #table-head tr th:nth-child(2),
    #table-head tr th:nth-child(3),
    #table-body tr td:nth-child(1),
    #table-body tr td:nth-child(2),
    #table-body tr td:nth-child(3) {
        position: sticky;
        right: 0;
        background-color: #f1f7ff;
    }
}

/* 
#searchResults {
  position: absolute;
  top: 35px;
  display: none;
  background-color: white;
  z-index: 5;
  padding: 8px 12px;
  max-height: 250px;
  width: 100%;
  overflow-y: hidden;
  padding-inline-start: 0;
  margin: auto;
  display: none;
} */

/* #searchResults li {
  font-size: 14px;
  display: block;
  background-color: white;
  cursor: pointer;
  width: 100%;
  padding: 5px 0;
  max-height: 14px;
  overflow: hidden;
}

#searchResults li:hover {
  background-color: #3472a7d1;
  color: white;
} */

#search {
    font-family: "Rubik", sans-serif;
    /* padding-left: 30px */
    background-size: 16px 16px;
    background-position: 80px center;
}

#search:not(:focus)+ul:not(:focus)+li:not(:focus) {
    visibility: hidden;
}

#search:focus+ul,
#search:focus+li {
    visibility: visible;
}

.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: 151px !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;
}

/* 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;
}

.ui-menu-item div:hover {
    background: #3472a7d1 !important;
}

.ui-menu {
    position: relative;
    padding: 0 !important;
}

.ui-menu-item-wrapper {
    position: relative;
    padding: 2px 0 !important;
}

.ui-autocomplete-input {
    width: 145px;
    height: 20px;
    background-color: white;
    border-radius: 3px;
    border: 1px solid #7da7cc;
}

#searchResult li:nth-child(n + 11) {
    display: none;
}

#manager-select,
#field-select,
#letters-select,
#numbers-select {
    width: 10vw;
    white-space: nowrap;
    /* Prevent text from wrapping */
    overflow: hidden;
    /* Hide overflow */
    text-overflow: ellipsis;
}

.tooltip-container {
    direction: rtl;
}

.name-tooltip {
    direction: rtl;
}

.Btn {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 11px;
    /* Half of the original 30px */
    height: 11px;
    /* Half of the original 30px */
    border: none;
    cursor: pointer;
    /* box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199); */
    background-color: transparent;
}

.sign svg {
    width: 15px;
    /* Half of the original 20px */
    height: 15px;
    /* Half of the original 20px */
}

/* Tooltip text above the button */
.text {
    position: fixed;
    transform: translateX(-50%);
    background-color: #7da7cc;
    color: white;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    z-index: 100000;
    width: 80px;
    font-size: 12px;
    pointer-events: none;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: "rubik", sans-serif;
    font-weight: normal;
    white-space: nowrap;
}

/* 
/* Show the text when hovering over the button */
/* .Btn-folder:hover .text, 
.Btn-favorites:hover .text {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px); /* Slight upward movement */
/* transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none; /* To ensure the hover state doesn't interfere */
/* } */

.Btn-folder .sign,
.Btn-favorites .sign {
    width: 12px;
    height: 14px;
}

.Btn-folder .sign,
.Btn-favorites .sign {
    width: 12px;
    height: 14px;
}

#search::placeholder {
    font-weight: 350;
    color: #3472a7;
}

#search {
    border-radius: 3px;
    /* border: 1px solid #7da7cc; */
    border: 2px solid #00367c;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* long-short */

.long-color {
    color: green;
}

.short-color {
    color: red;
}

#longshort-avg-container {
    width: 135px;
    height: 200px;
    display: flex;
    margin-bottom: 1%; 
    border-radius: 12px;
    flex-direction: column;
    justify-content: center;
    direction: ltr;
    align-items: stretch;
}

#longshort-avg-container>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top:10%;
}

#longshort-avg-container>span {
    text-align: center;
}

.box50 {
    position: relative;
    /* height: 293px; */
    /* height: 310px; */
    margin-top: 6px;
}

.reset-ls-button {
    position: absolute;
}

.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: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

#longshort-graph-container {
    height: 220px !important;
    width: 985px !important;
}

.export-buttons>button {
    cursor: pointer;
    background-size: 18px;
}

.export-buttons>button>span {
    font-size: 18px;
}

#graph-title {
    text-align: center;
    width: 100%;
    position: absolute;
    z-index: 0;
}

#tags {
    width: 120px;
    padding-right: 25px;
    border: 2px solid #00367c;
}

.ui-widget.ui-widget-content {
    border: 2px solid #00367c;
}

.longshort-frame-longshort-container {
    display: flex;
    /* margin-bottom: 51px; */
    position: relative;
    bottom: 29px;
    width: 100%;
}

.longshort-export-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

h2.longshort-title {
    margin: 0;
    /* margin-bottom: 15px; */
    font-size: 15px;
 
}

#longshortSelect {
    /* margin-bottom: 11px; */
}

div#important-to-know>p {
    margin-top: 0;
}

div#important-to-know>h4 {
    margin-bottom: 0;
}

/* 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%;
}

.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: 20px;
    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;
}

.export-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    /* position: relative; */
    /* max-width: 100px; */
    /* top: -200px; */
}

@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);
    }
}

/* for the top arrows END */

/* New Style */

.top-table-container,
.table-container {
    width: 99%;
    border: 2px solid #d9d9d9;
    border-collapse: collapse;
}

.top-table-container tr,
.table-container tr {
    height: 34px;
    background-color: #fff !important;
    border-bottom: 1px solid #d9d9d9;
}

.table-container tbody>tr:hover {
    background-color: #e9e9e9 !important;
}

.top-table-container th {
    border-bottom: 1px solid #d9d9d9;
}

.header-row {
    display: grid !important;
    grid-template-columns: 1% 9% 30% 12% 11% 12% 14% 10%;
    font-size: 14px;
    align-items: center;
}

.table-head {
    font-size: 15px;
}

.link-field {
    text-decoration: none;
    color: #000;
}

.table-style {
    /* border: 2px solid #d9d9d9;
    border-collapse: collapse; */
    font-size: 14px;
    table-layout: fixed;
    border-collapse: separate; 
    border-spacing: 0;         
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
}

.table-style tr {
    border-bottom: 1px solid #d9d9d9;
}

.table-style tbody>tr:hover {
    background-color: #e9e9e9;
}

.table-style a {
    text-decoration: none;
    color: #000;
    cursor: pointer;
}

.table-style tr {
    height: 34px;
    background-color: #fff !important;
}

.table-style tbody>tr:hover {
    background-color: #e9e9e9 !important;
}

#table-head-row th:nth-child(1) {
    padding-right: 5%;
}

#table-head-row th:nth-child(2),
#table-head-row th:nth-child(3),
#table-head-row th:nth-child(8) {
    padding-right: 4.5%;
}

#table-head-row th:nth-child(4),
#table-head-row th:nth-child(7) {
    padding-right: 4%;
}

#table-head-row th:nth-child(5) {
    padding-right: 3.5%;
}

#table-head-row th:nth-child(6) {
    padding-right: 3%;
}

.topButton.active-top-button .iconWrapper .svgIcon.iconHover {
    /* .downButton.active-top-button .iconWrapper .svgIcon.iconHover { */
    opacity: 1;
    transform: translateY(0%);
}

.downButton.not-active-top-button:hover .iconWrapper .svgIcon.iconHover {
    transform: translateY(-100%);
}

.topButton.active-top-button .iconWrapper .svgIcon.iconDefault,
.downButton.active-top-button .iconWrapper .svgIcon.iconDefault {
    opacity: 0;
}

.topButton,
.downButton {
    height: 25px !important;
    width: 25px !important;
}

.topButton.not-active-top-button,
.downButton.not-active-top-button {
    opacity: 0.5;
    /* box-shadow: none !important; */
}

.yield-table .top-btns-container .downButton,
.yield-table .top-btns-container .topButton {
    width: 70px !important;
    opacity: 1;
    border-radius: 10px;
    cursor: default;
}

.topButton.active-top-button,
.downButton.active-top-button {
    /* box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.25) inset !important; */
    box-shadow: 0px 3px 3px 2px rgba(0, 0, 0, 0.25) inset !important;
}

.topButton.not-active-top-button,
.downButton.not-active-top-button {
    /* box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25) inset !important; */
    box-shadow: 0px 1px 4px 2px rgba(0, 0, 0, 0.25) !important;
}

.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;
}

.downButton.not-active-top-button .iconWrapper .svgIcon.iconHover {
    /* opacity: 0; */
    transform: translateY(-100%) rotate(180deg);
}

.downButton.not-active-top-button:hover .iconWrapper .svgIcon.iconDefault,
.downButton.active-top-button .iconWrapper .svgIcon.iconDefault {
    opacity: 0;
    transform: translateX(3%) rotate(180deg);
    /* transform: rotate(180deg) translateY(-100%) !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 .iconWrapper .svgIcon.iconHover,
.downButton .iconWrapper .svgIcon.iconDefault,
.topButton .iconWrapper .svgIcon.iconHover,
.topButton .iconWrapper .svgIcon.iconDefault {
    height: 20px;
    width: 20px;
}

/* .topButton.active-top-button .iconWrapper .svgIcon.iconHover, */
.downButton.active-top-button .iconWrapper .svgIcon.iconHover {
    transform: translateX(-2%) rotate(180deg);
    opacity: 1;
}

/* .topButton.not-active-top-button .iconWrapper .svgIcon.iconDefault, */
/* .downButton.not-active-top-button .iconWrapper .svgIcon.iconDefault, */
.downButton.not-active-top-button:hover .iconWrapper .svgIcon.iconDefault {
    transform: translateX(-4%) rotate(180deg);
}

.topButton.not-active-top-button .iconWrapper .svgIcon.iconDefault {
    transform: translateX(-4%);
}

.topButton.active-top-button .iconWrapper .svgIcon.iconHover {
    transform: translateX(0%);
}

.downButton.not-active-top-button .iconWrapper .svgIcon.iconDefault {
    transform: translateX(0%) rotate(180deg);
}

.logo-image {
    opacity: 1;
    position: relative;
    width: 25%;
    height: 16%;
    left: -3px;
    bottom: -94%;
    z-index: 100;
}

#line-bagIcon-container svg {
    height: 15px;
    width: 15px;
}

#yields-container .top-btns-container .downButton {
    box-shadow: 0px 3px 3px 5px rgba(0, 0, 0, 0.25) inset !important;
}

#yields-container .top-btns-container .topButton {
    box-shadow: 0px 3px 3px 4px rgba(0, 0, 0, 0.25) inset !important;
}

.chart-bg-logo-image {
    opacity: 1;
    position: absolute;
    width: 23%;
    height: 10%;
    left: 76%;
    bottom: 17%;
    z-index: 100;
}

.short-graph-logo-image {
    opacity: 1;
    position: absolute;
    width: 18%;
    /* height: 16%; */
    left: 80%;
    bottom: 14%;
    z-index: 100;
}

.graph {
    background-color: white !important;
}

#searchDiv {
    transform: scale(1.3);
    margin-left: 10px;
}

/* Base Style for the Header */
/* General layout */
#important-to-know {
    display: grid;
    gap: 10px;
    /* max-height: 700px; */
}

#important-to-know-container {
    height: 500px;
}

/* Each combined section */
.accordion-item {
    background: #fff;
    box-shadow: 3px 1px 6px 0px #c9cfe0;
    border-radius: 5px;
    overflow: hidden;
    /* ensures <p> fits neatly under h4 */
    transition: box-shadow 0.3s ease;
    border: 1px solid #f5f5f5;
    margin: 4px;
}

/* Header styling */
.accordion-item h4 {
    cursor: pointer;
    padding: 12px 16px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}

/* Rotate arrow */
.accordion-item h4::after {
    content: "";
    width: 21px;
    height: 13px;
    margin-left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='13' viewBox='0 0 21 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.3849 12.3654C19.5648 13.2115 18.2352 13.2115 17.4151 12.3654L10.5 5.2308L3.58492 12.3654C2.76482 13.2115 1.43518 13.2115 0.615077 12.3654C-0.205026 11.5193 -0.205026 10.1474 0.615077 9.30127L9.01507 0.634603C9.83518 -0.211534 11.1648 -0.211534 11.9849 0.634603L20.3849 9.30127C21.205 10.1474 21.205 11.5193 20.3849 12.3654Z' fill='%2313151A'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px;
    background-position: center;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.accordion-item h4.open::after {
    transform: rotate(0deg);
}

/* Hidden content */
/* .accordion-item p {
  display: none;
  padding: 12px 16px;
  margin: 0;
  background-color: white;
}

/* Optional: highlight when open 
.accordion-item.open {
  box-shadow: 4px 6px 6px 0px #b7bed3;
} */
.accordion-item .accordion-content {
    display: none;
    /* Hide the entire container */
    padding: 0 16px;
    margin: 0;
    background-color: white;
}

/* Show the content container when the parent item is open */
.accordion-item.open .accordion-content {
    display: block;
}

#pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 12px;
    flex-direction: row-reverse;
}

#pagination button {
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 400;
    font-family: "rubik";
    cursor: pointer;
}

#reset-screener-data-svg,
#reset-graph-svg {
    cursor: pointer;
}

#reset-graph-svg {
    padding-left: 2em;
}

#reset-graph-choice-container {
    display: flex;
    justify-content: flex-end;
    width: 80%;
    position: relative;
    top: 3.5em;
    z-index: 2;
}

#screener-graph-time-buttons {
    width: 34%;
    box-shadow: 0 2px 4px #c9cfe0;
    border-radius: 5px;
    display: flex;
    justify-content: center;
}

#screener-graph-time-buttons .tab-item {
    border-radius: 5px;
    box-shadow: 0 2px 4px gray;
    font-size: 13px;
    cursor: pointer;
    height: 20px;
    margin: 6px;
    font-family: "rubik";
    border: none;
    padding: 1px 6px;
    color: #3199f4;
}

#screener-graph-time-buttons .tab-item.selectedTimePeriod {
    background-color: #3199f4;
    color: #fff;
}

/*
#pagination button:hover {
  border: var(--button-border-hovered);
  background-color: var(--background-color-button-hover);
  color: var(--button-text-color-hovered);
}

#pagination button.active-page {
  border: var(--button-border-selected);
  color: var(--button-text-color-selected);
  background-color: white;
} */
/* .accordion-item .accordion-content {
  display: none;
}

.accordion-item.open .accordion-content {
  display: block;
}

.accordion-item h4.open {
  color: #007bff;
} */