@font-face {
  font-family: "rubik";
  src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

html {
  direction: rtl;
  text-align: center;
}

body {
  /* min-height: 710px; */
  font-family: "rubik", arial;
  margin: 0;
  font-size: 14px;
}

table {
  width: 100%;
  border-spacing: 0px;
}

th,
td {
  /* box-sizing: border-box;
  
  width: auto;
  padding: 3px; */
  direction: ltr;
}

th {
  cursor: default;
}

tr:not(.empty) td {
  cursor: pointer;
}

.folder-scroll-relative {
  width: 100%;
}

.read-more-container {
  display: flex;
  justify-content: flex-end;
  cursor: pointer;
  position: fixed;
  left: 0;
  bottom: 0;
}

.read-more-icon {
  height: 15px;
  width: 30px;
}

.favorite-tr:not(:first-child):hover,
.folder-content:hover {
  background-color: #aababa;
}

#folder-content {
  display: flex;
  flex-direction: column;
  border-bottom: 1.5px solid #c9cfe080;
}

/* #table-header {
  display: flex;
  flex-direction: row;
} */

#table-header:hover {
  background-color: white !important;
}

.folder-content {
  position: relative;
}

.folder-content td {
  line-height: 2;
}

#folder-table #folder-content tr:not(.empty):hover {
  background-color: #c9cfe0;
}

.folder-content:hover {
  background-color: #ffebcd80;
}

.green {
  color: seagreen;
  position: relative;
}

.red {
  color: tomato;
}

.stars {
  direction: ltr;
  min-width: 85px;
  /*80px*/
  position: relative;
  /* left:-24px; */
  /*color: #ef9b4b*/
}

.stars > span {
  color: orange;
  font-size: 15px;
  max-width: 17px;
  /* its the max width that allows the 5 stars to be adjacent */
  -webkit-text-stroke: 1px orange;
  /* width and color */
}

.folder {
  cursor: pointer;
}

.folder-chart {
  /* width: 45%; */
  width: 100%;

  float: left;
}

#folder-content tr td:first-child .name-container {
  text-align: right;
}

.appendComments,
.displayComments {
  width: 50%;
  margin: 0px;
  display: inline-block;
  max-height: 300px;
  overflow-y: auto;
}

#comments,
#comments > li > ul,
#addComment {
  list-style-type: none;
  padding-inline-start: 0px;
}

.username-comment {
  color: white;
  background-color: #476b6b;
  font-weight: bold;
  /* width: 100%; */
  text-align: right;
  border-radius: 5px;
  padding-right: 10px;
}

.text-comment {
  width: 100%;
  text-align: right;
}

.time-comment {
  width: 100%;
  font-size: 0.7em;
  text-align: left;
  margin-bottom: 30px;
}

#addStock {
  list-style-type: none;
  position: relative;
  text-align: right;
  background-color: silver;
  direction: rtl;
  padding-inline-start: 10px;
  animation: easy-in 0.4s;
  max-width: 340px;
  margin: 15px auto;
  display: flex;
  flex-direction: column;
  padding-top: 15px;
}

#editStock {
  padding: 0;
}

.edit-stock-title {
  align-self: center;
  margin: 0;
}

.edit-stock-container {
  list-style-type: none;
  position: relative;
  text-align: right;
  background-color: silver;
  direction: rtl;
  padding-inline-start: 10px;
  animation: easy-in 0.4s;
  max-width: 340px;
  margin: 15px auto;
  display: flex;
  flex-direction: column;
  padding-top: 15px;
}

#addStockbutton {
  float: right;
  margin-top: 0;
  margin-bottom: 0;
}

#addStock {
  display: none;
}

#editStock > li::before {
  opacity: 0;
}

#editStock > li:last-child {
  text-align: center;
}

#editStock > li {
  transition: opacity 0.3s;
}

button {
  margin: 10px;
  border: 0px;
  border-radius: 5px;
  background-color: #aababa;
  padding: 5px;
}

.inner-cont {
  border-radius: 10px;
  background-color: #d2d2d2;
  margin: 10px;
  padding: 0 15px 30px;
}

.cont {
  display: grid;
  grid-template-columns: 50% 50%;
}

/* #editRow {
  animation: easy-in 0.4s;
} */

.apexcharts-canvas {
  background-image: url("/wp-content/uploads/2023/04/graph-bg.png") !important;
  background-size: 77% 50%;
  background-position: center;
  background-repeat: no-repeat;
}

@-webkit-keyframes easy-in {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#addStock > li,
#editStock > li {
  padding: 5px;
  display: block;
}

li > input {
  border: 0px;
  border-radius: 5px;
  padding: 5px;
}

.exit-button {
  border-radius: 3px;
  position: relative;
  /* right: 133px; */
  right: 185px;
  /* top: -10px; */
  top: -58px;
  background-color: tomato;
  color: white;
  border: 0;
  margin: 0px;
  padding: 4px 7px;
}

#add-comment-button {
  background-color: silver;
  border-radius: 10px;
  border: 0px;
}

.option-stock > a {
  background-color: #252525;
  padding: 3px;
  margin: 0px;
  color: white;
  text-decoration: none;
  border-radius: 1px;
  cursor: pointer;
  font-size: 0.9em;
}

.option-stock > a:first-child {
  display: none;
}

#addStock > li:first-child {
  text-align: left;
}

#addStock > li > .exit-button {
  right: -4px;
}

.graph-btns-container {
  display: flex;
}

.folder-tabs {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.folder-tab {
  width: 100%;
  border: 2px solid black;
  margin: 0;
  padding: 15px;
}

.apexcharts-menu-item.exportCSV {
  display: none;
}

.folder-tab.active {
  background-color: rgb(170, 186, 186);
}

#editRow {
  position: fixed;
  width: 100%;
  display: flex;
  z-index: 99;
}

.popup-td {
  width: 100%;
  margin: auto auto;
}

.option-stock > a.active {
  background-color: rgb(170, 186, 186);
  color: black;
  border: 1px solid black;
  box-shadow: 2px 2px 5px black;
}

/* .page-title {
  margin: 0;
  color: black;
} */

/* #page-title {
  font-weight: normal;
  font-size: 19.5px;
  margin: 0;
  text-align: center;
} */
.title {
  color: #00367d;
  font-family: Rubik;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  vertical-align: middle;
}

.folder-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  position: absolute;
  /* width: 98%; */
  width: fit-content;
  right: 0;
  /* height: 95%; */
  background: #ffffff;
  border: 1px solid #f5f5f5;
  /* box-shadow: 3px 5px 4px #c9cfe0; */
  /* box-shadow: -1px 4px 4px 0px #c9cfe0, 1px 0px 4px 0px #00000040 !important; */
  box-shadow: 0px 2px 0px 1px #c9cfe0;
  /* width: 98%; */
  border-radius: 10px;
  padding: 10px;
  margin: 1px;
}

.folder-container {
  /* width: 292px; */
  width: 100%;
}

.folder-container.hide-shadow {
  border: none;
  box-shadow: none;
}

#no-folders {
  max-width: 213px;
  justify-self: center;
}

@media only screen and (orientation: portrait) and (max-width: 650px) {
  .folder-chart,
  .appendComments,
  .displayComments {
    width: 100%;
  }

  .cont {
    grid-template-columns: 100%;
  }

  textarea {
    width: 97%;
    resize: none;
  }

  .folder-content > td:nth-child(4),
  .folder-content > td:nth-child(n + 6) {
    display: none;
  }

  .folder-content > th:nth-child(4),
  .folder-content > th:nth-child(n + 6) {
    display: none;
  }

  .option-stock > a:first-child {
    display: initial;
  }

  .exit-button {
    right: 0px;
  }
}

.arrows {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  cursor: pointer;
}

span.arrow.up-arrow.green {
  margin-bottom: -3px;
}

.folder-content {
  position: relative;
  top: -2px;
  margin-bottom: 4px;
  height: 35px;
  display: flex;
  justify-content: space-between;
  word-break: break-all;
}

/* .folder-content:nth-child(4) td:nth-child(1){
  position:relative;
  right:-5px;
} */

.folder-content:nth-child(4) td:nth-child(2) {
  position: relative;
  right: 3px;
  word-break: keep-all;
}

.table-arrows-container {
  display: flex;
  justify-content: center;
  height: 22px;
  align-items: center;
}

.table-arrows-container p {
  color: black;
}

/* New Design Classes */

.tabel-title {
  font-family: Rubik;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: right;
  vertical-align: middle;
}

.folder-content-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0px;
  /*10px*/
}

.folder-content-row {
  display: grid;
  grid-template-columns: 35% 29% 35%;
  border-top: 2px solid #c9cfe080;
  border-collapse: collapse;
  min-height: 22px;
}

.profit-text {
  font-family: Rubik;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
}

.name-text {
  font-family: Rubik;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: right;
  vertical-align: middle;
  color: #252525;
  direction: rtl;
}

.name-text a {
  text-decoration: none;
  color: black;
}

.name-container {
  display: grid;
  grid-template-columns: 0 100%;
  text-align: center;
  margin-left: 5px;
}

/* stars */
#rating-stars {
  direction: ltr;
  position: relative;
  left: 5px;
  /* font-size: 30px; */
  font-size: 20px;
  unicode-bidi: bidi-override;
  /* color: #ccc; empty stars */
  color: #d0c5c5;
  /* display: inline-block; */
  display: flex;
  line-height: 1;
}

#rating-stars::before {
  content: "★★★★★";
  color: #ffa723;
  /* filled stars */
  position: absolute;
  left: 0;
  top: 0;
  width: var(--rating-width);
  overflow: hidden;
  white-space: nowrap;
  /* pointer-events: none; */
}

/* icons */
.line-md--link {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: -10px;
  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='none' stroke='%2345A6DD' stroke-dasharray='28' stroke-dashoffset='28' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 6l2 -2c1 -1 3 -1 4 0l1 1c1 1 1 3 0 4l-5 5c-1 1 -3 1 -4 0M11 18l-2 2c-1 1 -3 1 -4 0l-1 -1c-1 -1 -1 -3 0 -4l5 -5c1 -1 3 -1 4 0'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.6s' values='28;0'/%3E%3C/path%3E%3C/svg%3E");
}

.custom-scrollbar-track {
  left: 14px !important;
  right: unset;
  border: var(--border-size-small) #668fbd !important;
  background-color: #00367c4a !important;
  opacity: 1 !important;
  min-height: 105px;
}

.custom-scrollbar-thumb {
  background-color: #00367c !important;
}

.scrollable-content {
  padding: 0 24px;
}

.folder-scroll {
  /* max-height: 120px; */
  /* overflow-y: auto; */
}

tr,
.table-arrows-container {
  white-space: nowrap;
}

#no-folders .user-notification {
  color: #00367c;
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  position: relative;
  top: 10px;
}

#no-folders .user-add-stock {
  position: relative;
  top: 10px;
}

#no-folders .user-add-stock svg {
  cursor: pointer;
}

#no-folders .user-add-stock svg:hover path {
  stroke: #006bb7;
}

.folder-noStocks-parent {
  height: 109px;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  display: flex;
  transform: translateY(-18%);
  gap: 15px;
  flex-direction: column;
}

.folder-noStocks-parent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url("/wp-content/uploads/blur-images/my-stock-blur.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; */
  /* filter: blur(5px); */
}

span.user-notification {
  font-size: 14px;
  font-weight: bold;
}

.folder-noStocks-parent span.user-notification {
  margin-top: 40px;
}

.folder-noStocks {
  position: relative;
  z-index: 2;
  border: 2px solid #ffa527;
  width: 138px;
  height: 39px;
  border-radius: 5px;
  border-width: 2px;
  box-shadow: 0px 4px 4px 0px #00000040;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 5px;
}

.folder-noStocks .user-lock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.folder-noStocks .bod {
  z-index: 2;
  width: 25px;
  height: 15px;
  border-radius: 3px;
  background: #00367d;
  display: grid;
  place-items: center;
}

.folder-noStocks .key {
  background: white;
  border-radius: 50%;
  height: 5px;
  width: 5px;
  display: grid;
  place-items: center;
}

.folder-noStocks .key::after {
  content: "";
  display: block;
  width: 3px;
  height: 7.5px;
  background: white;
  border-radius: 50px;
}

.folder-noStocks .lock {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #00367d;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  margin-bottom: -9px;
  transform: rotate(45deg);
  transition: all 0.3s linear;
}

.folder-noStocks .user-lock:hover .lock,
.folder-noStocks:has(.user-notification:hover) .lock {
  transform: rotate(0deg);
  border-top-color: #006bb7;
  border-left-color: #006bb7;
}

.folder-noStocks .user-lock:hover .bod,
.folder-noStocks:has(.user-notification:hover) .bod {
  background: #006bb7;
}

.folder-noStocks .user-notification {
  color: #00367d;
  font-weight: 600;
  font-size: 13px;
}

.folder-noStocks:hover .user-notification,
.folder-noStocks:has(.user-lock:hover) .user-notification {
  color: #006bb7;
}

.folder-noStocks .user-lock,
.folder-noStocks .user-notification {
  cursor: pointer;
}

#my-stocks-folder-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.uit--bag {
  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='%2300367C' d='M19.5 6H16V5a2.003 2.003 0 0 0-2-2h-4a2.003 2.003 0 0 0-2 2v1H4.5A2.5 2.5 0 0 0 2 8.5v10A2.5 2.5 0 0 0 4.5 21h15a2.5 2.5 0 0 0 2.5-2.5v-10A2.5 2.5 0 0 0 19.5 6M9 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1H9zm12 13.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 18.5v-6.473l5.842 1.948A.5.5 0 0 0 9 14h6a.5.5 0 0 0 .158-.025L21 12.027zm0-7.494a.5.5 0 0 0-.158.02L14.919 13H9.081l-5.923-1.975a.5.5 0 0 0-.158-.02V8.5A1.5 1.5 0 0 1 4.5 7h15A1.5 1.5 0 0 1 21 8.5z'/%3E%3C/svg%3E");
}

.uit--bag-yellow {
  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='%23FFA527' d='M19.5 6H16V5a2.003 2.003 0 0 0-2-2h-4a2.003 2.003 0 0 0-2 2v1H4.5A2.5 2.5 0 0 0 2 8.5v10A2.5 2.5 0 0 0 4.5 21h15a2.5 2.5 0 0 0 2.5-2.5v-10A2.5 2.5 0 0 0 19.5 6M9 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1H9zm12 13.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 18.5v-6.473l5.842 1.948A.5.5 0 0 0 9 14h6a.5.5 0 0 0 .158-.025L21 12.027zm0-7.494a.5.5 0 0 0-.158.02L14.919 13H9.081l-5.923-1.975a.5.5 0 0 0-.158-.02V8.5A1.5 1.5 0 0 1 4.5 7h15A1.5 1.5 0 0 1 21 8.5z'/%3E%3C/svg%3E");
}

.page-title {
  display: inline;
  font-family: Rubik;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-align: right;
  vertical-align: middle;
  color: #00367c;
  cursor: pointer;
  margin: 0;
}

.page-title:hover {
  color: #006bb7;
}

.page-title-line {
  content: "";
  position: relative;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  /* center origin */
  transform-origin: center;
  width: 100%;
  height: 2px;
  bottom: 2px;
  background-color: #006bb7;
  transition: transform 0.3s ease;
}

.page-title-line.animate {
  transform: translateX(-50%) scaleX(1);
}

#no-folders .user-add-stock svg path:first-child {
  filter: drop-shadow(0px 2px 0px rgba(0, 0, 0, 0.1));
}
