html {
    font-family: "Rubik" !important;
    direction: rtl;
    text-align: center;
}

body {
    font-size: 14px;
    margin: 0;
}

table {
    width: 100%;
    border-spacing: 0px;
    height: 85%;
}

.tab-item {
    font-family: "Rubik" !important;
}

th,
td {
    box-sizing: border-box;
    width: auto;
    padding: 2px 10px;
    direction: ltr;
    /* width: 94px; */
    width: 110px;
    white-space: nowrap;
    /* Prevent text from wrapping */
    overflow: hidden;
    /* Hide overflow */
    /*text-overflow: ellipsis;*/
}

#folder-content tr {
    cursor: pointer;
}

.portfolios-members th,
.portfolios-members td {
    padding: 3.95px 10px;
}

.inner-cont th,
.inner-cont td {
    padding: 3px 10px;
}

.bazaz th,
.bazaz td {
    padding: 2.5px 10px;
}

th {
    cursor: default;
}

.stars {
    direction: ltr;
    min-width: 80px;
}

h3 {
    margin: 5px 0;
    font-size: 18px;
}

.folder-content {
    position: relative;
}

.strategy {
    cursor: pointer;
}

#link-page {
    position: absolute;
    bottom: 0;
    left: 0;
}

.tab-item {
    width: 100%;
    display: flex;
    justify-content: center;
}

.tab-span {
    width: 75%;
    height: auto;
    float: left;
    transition: 0.5s linear;
    position: relative;
    display: block;
    overflow: hidden;
    padding: 11px 0;
    text-align: center;
    background: transparent;
    font-weight: bold;
    font-size: 14px;
    color: black;
    margin: 0;
    padding: 3px;
}

.folder-content-name:hover {
    /* color: blue; */
}

.tab-span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: black;
    transition: width 0.5s ease, left 0.5s ease;
}

/* Effect on hover (tabs) */
.tab-span:hover::after,
.tab-span.active::after {
    width: 100%;
    left: 0;
}

.tab-item {
    color: black;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    border: none;
    background: transparent;
}

.tabs-btns-container {
    display: flex;
}

.mockchat .reply {
    /* full scale */
    transform-origin: 100% 50%;
    background: white;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);

    border-radius: 10px;
    position: relative;
    opacity: 0;
    transform: translateY(2rem) scale(0.5);
    -webkit-animation: mockchat-reply-pop cubic-bezier(0, 0.81, 0.58, 1.2) 1.5s;
    animation: mockchat-reply-pop cubic-bezier(0, 0.81, 0.58, 1.2) 1.5s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    text-align: right;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(233, 233, 233, 1);
    backdrop-filter: blur(13.600000381469727px);
    padding: 0.5rem;

    /* width: auto; wrap content */
}

#message-2 img,
#message-4 img,
#message-6 img,
#message-8 img,
#message-10 img,
#message-12 img,
#message-14 img,
#message-16 img {
    background: linear-gradient(0deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.1)),
        linear-gradient(90deg,
            rgba(0, 54, 124, 0.16) 0%,
            rgba(0, 54, 124, 0.12) 20%,
            rgba(0, 54, 124, 0.08) 50%,
            rgba(0, 54, 124, 0.12) 80%,
            rgba(0, 54, 124, 0.16) 100%) !important;
}

#message-1 img,
#message-3 img,
#message-5 img,
#message-7 img,
#message-9 img,
#message-11 img,
#message-13 img,
#message-15 img,
#message-17 img,
#message-19 img {
    background: rgba(255, 255, 255, 1) !important;
}

.reply:hover {
    box-shadow: 0px 2px 2px 0px rgba(255, 165, 39, 0.61) !important;

    backdrop-filter: blur(13.600000381469727px);
}

.message>img {
    /* transform-origin: 100% 50%;
  transform: translateY(2rem) scale(0.5); */
    -webkit-animation: mockchat-reply-pop cubic-bezier(0, 0.81, 0.58, 1.2) 1s;
    animation: mockchat-reply-pop cubic-bezier(0, 0.81, 0.58, 1.2) 1s;
    position: relative;
    animation-fill-mode: forwards;
    transition: all 0.3s;
    -webkit-animation-fill-mode: forwards;
    opacity: 0;
    top: 0.5rem;
}

/* MOCK CHAT */
.mockchat {
    position: relative;
    overflow: hidden;
    /* This is the primary solution */
    position: relative;
    font-family: "Rubik", sans-serif;
    margin-right: 0.7rem;
    padding-bottom: 0.3px;
    height: 290px;
}

/* .mockchat .reply {
  width: 91%;
  /* full scale */
/* transform-origin: 100% 50%;
  background: white;
  border-radius: 10px;
  position: relative;
  padding: 0.3rem 1rem;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(2rem) scale(0.5);
  -webkit-animation: mockchat-reply-pop cubic-bezier(0, 0.81, 0.58, 1.2) 1.5s;
  animation: mockchat-reply-pop cubic-bezier(0, 0.81, 0.58, 1.2) 1.5s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  text-align: right;
  transition: all 0.3s;
  max-height: 0;
  display: flex;
  flex-direction: column; */
/* width: auto; wrap content */
/* } */

.message>img {
    transform-origin: 100% 50%;
    transform: translateY(2rem) scale(0.5);
    -webkit-animation: mockchat-reply-pop cubic-bezier(0, 0.81, 0.58, 1.2) 1s;
    animation: mockchat-reply-pop cubic-bezier(0, 0.81, 0.58, 1.2) 1s;
    position: relative;
    animation-fill-mode: forwards;
    transition: all 0.3s;
    -webkit-animation-fill-mode: forwards;
    opacity: 0;
}

.reply.blue {
    /* transform-origin: 0 50%; */
    /* background: #1446a0; */
    background: linear-gradient(0deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.1)),
        linear-gradient(90deg,
            rgba(0, 54, 124, 0.16) 0%,
            rgba(0, 54, 124, 0.12) 20%,
            rgba(0, 54, 124, 0.08) 50%,
            rgba(0, 54, 124, 0.12) 80%,
            rgba(0, 54, 124, 0.16) 100%);
    color: rgba(0, 0, 0, 1);
    border: 1px solid rgba(233, 233, 233, 1);
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(13.600000381469727px);

    /* text-align: left; */
}

.reply a {
    color: black;
}

.community-chat {
    position: relative;
}

.carousel-container {
    position: relative;
    min-height: 360px;
    box-shadow: -1px 0px 4px 0px rgba(0, 0, 0, 0.25) !important;

    box-shadow: 1px 3px 4px 0px rgba(0, 0, 0, 0.25) !important;
}

/* position: absolute;
  bottom: 0px;
  /* right: calc(50% - 15px); */
/* display: flex;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;

  flex-direction: row-reverse;
  justify-content: center; */
#pagination-dots {
    position: absolute;
    /* Positions the element relative to its nearest positioned ancestor */
    bottom: 0px;
    /* Aligns the element to the bottom of its container */
    left: 50%;
    /* Aligns the left edge to the horizontal center */
    transform: translateX(-50%);
    /* Shifts the element back by half its own width for perfect centering */

    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 10px;
    padding-bottom: 10px;
}

#pagination-dots>button {
    border: none;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    padding: 0;
    cursor: pointer;
}

#pagination-dots>button.active {
    background-color: rgba(0, 54, 124, 1);
}

.message {
    display: flex;
    flex-direction: row;
    margin-top: 5px;
    padding: 2px 0;
    max-width: 80% !important;
    min-width: 30% !important;
    text-align: center;
    gap: 15px;
    height: 3.5rem;
}

.message>img {
    top: 0.9rem;
    height: 30px;
    width: 30px;
    border-radius: 5px;
    margin-left: 5px;
    border: 1px solid rgba(0, 54, 124, 0.47);
}

@-webkit-keyframes mockchat-reply-pop {
    to {
        transform: none;
        font-size: 16px;
        opacity: 1;
        max-height: 50px;
    }
}

@keyframes mockchat-reply-pop {
    to {
        transform: none;
        font-size: 16px;
        opacity: 1;
        max-height: 50px;
    }
}

/* MOCK CHAT END */

p {
    margin: 0;
    display: inline;
}

.members-community {
    height: 535px;
    margin: 0;
    padding: 5px;
    display: flex;
    flex-direction: column;
}

.portfolios-strategies-members {
    height: 57%;
}

.community-chat {
    height: 43%;
}

.portfolios-strategies-members {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.portfolios-members {
    position: relative;
    margin-left: 5px;
    padding: 0 10px 12px 10px;
    background-color: #f1f7ff;
    height: fit-content;
}

.inner-cont {
    position: relative;
    padding: 4px 10px 12px 10px;
    background-color: #f1f7ff;
}

.bazaz {
    position: relative;
    padding: 0 10px 12px 10px;
    margin-top: 5px;
    height: 137px;
    background-color: #f1f7ff;
}

table tr:nth-child(odd) {
    /* תכלת */
    background-color: #f1f7ff;
}

table tr:nth-child(even) {
    /* חול */
    background-color: #fffbf5;
}

table tr th {
    background-color: #fffbf5;
}

.link-page {
    position: absolute;
    left: 0;
    bottom: 1px;
}

.forum-list {
    padding: 2px;
    margin: 2px;
    text-align: right;
    list-style: none;
    /* Remove default bullets */
    justify-content: space-around;
}

.forum-list li {
    display: inline-block;
    margin-right: 12px;
    position: relative;
    right: 0;
}

ul.forum-list a {
    font-size: 15px;
}

/* .forum-list li::after {
  content: "•";
  position: absolute;
  right: -10px;
} */

/* .forum-list li:last-child::after {
    content: "";
} */

/* .forum-list li,
.forum-list a {
  background-color: white;
  color: #3d7fb8 !important;
}
*/
ul.forum-list {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style-type: none;
    margin-left: 10px;
    justify-content: space-between;
    width: 800px;
    margin-bottom: 10px;
}

ul.forum-list li {
    flex-shrink: 1;
    /* Allows the items to shrink */
}

.mock-message {
    display: flex;
    gap: 5px;
}

.reply span a:first-child {
    color: rgba(0, 107, 183, 1) !important;
}

.userNameId {
    color: rgba(0, 0, 0, 1) !important;
    font-family: "Rubik";
    font-weight: 500 !important;
    font-style: Medium;
    font-size: 15px !important;
    line-height: 20px !important;
    letter-spacing: 0%;
    text-align: right;
    white-space: nowrap;
    width: max-content;
    vertical-align: middle;
}

.textOfUser {
    color: rgba(0, 0, 0, 1);
    font-family: "Rubik";
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 21px;
    letter-spacing: 0%;
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* width: 80%; */
}

@media (max-width: 768px) {
    .reply {
        width: 100%;
        height: fit-content;
    }

    .reply span:nth-child(2)>a {
        display: inline-block;
        width: 85%;
    }

    .forum-list-container {
        overflow: auto;
    }

}