@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;
}
td {
  cursor: pointer;
}

.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;
}

#folder-content tr td:first-child {
  text-align: center;
}
/* #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: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;
}

.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;
}

.folder-scroll {
  max-height: 250px;
  overflow-y: auto;
}
.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;
} */

.folder-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  position: absolute;
  width: 98%;
  right: 4px;
  height: 95%;
  background: #ffffff;
  border: 1px solid #f5f5f5;
  box-shadow: 3px 5px 4px #c9cfe0;
  border-radius: 5px;
}

.folder-container.hide-shadow {
  border: none;
  box-shadow: none;
}

#no-folders {
  position: relative;
  top: 77px;
  font-size: 21px;
}

#no-folders a {
  text-decoration: none;
}

.folder-noStocks a {
  color: black;
  text-decoration: underline;
}

.folder-noStocks a:hover {
  cursor: pointer;
}

.folder-noStocks {
  background-image: url(https://weinvest.co.il/wp-content/uploads/AnimatedStocksBag.gif);
  background-repeat: no-repeat;
  height: 200px; /*200px*/
  background-size: 170% 210%; /*161% 192%*/
  background-position: center;
  text-align: center;
  margin-top: 26.4px; /*-16px*/
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.folder-noStocks p {
  font-size: 20px;
  position: relative;
  top: 81px;
}

@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 */

.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;
}

.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: 10px;
  background-color: #006bb7;
  transition: transform 0.3s ease;
}

.page-title-line.animate {
  transform: translateX(-50%) scaleX(1);
}

.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;
}

.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;
}

.name-container {
  display: grid;
  grid-template-columns: 0 100%;
}

.title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 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");
}

.uit--bag {
  display: inline-block;
  width: 21px;
  height: 21px;
  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"); */
  background-image: url(https://weinvest.co.il/wp-content/uploads/BagIconHeader.png);
}

/* .uit--bag:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e7f23d' 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: 21px;
  height: 21px;
  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"); */
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20width%3D%2224%22%20height%3D%2222%22%3E%3Cpath%20d%3D%22M0%200%20C2.64%200%205.28%200%208%200%20C8.33%201.32%208.66%202.64%209%204%20C9.969375%203.979375%2010.93875%203.95875%2011.9375%203.9375%20C15%204%2015%204%2016%205%20C16.09981214%207.6773138%2016.13879875%2010.32304175%2016.125%2013%20C16.13080078%2014.12535156%2016.13080078%2014.12535156%2016.13671875%2015.2734375%20C16.12661053%2020.87338947%2016.12661053%2020.87338947%2015%2022%20C13.37742456%2022.0991657%2011.75060169%2022.13079777%2010.125%2022.1328125%20C9.14015625%2022.13410156%208.1553125%2022.13539062%207.140625%2022.13671875%20C6.10421875%2022.13285156%205.0678125%2022.12898438%204%2022.125%20C2.44539062%2022.13080078%202.44539062%2022.13080078%200.859375%2022.13671875%20C-0.12546875%2022.13542969%20-1.1103125%2022.13414063%20-2.125%2022.1328125%20C-3.03507813%2022.13168457%20-3.94515625%2022.13055664%20-4.8828125%2022.12939453%20C-7%2022%20-7%2022%20-8%2021%20C-8.09981214%2018.3226862%20-8.13879875%2015.67695825%20-8.125%2013%20C-8.12886719%2012.24976563%20-8.13273438%2011.49953125%20-8.13671875%2010.7265625%20C-8.12661053%205.12661053%20-8.12661053%205.12661053%20-7%204%20C-5.00041636%203.95919217%20-2.99954746%203.95745644%20-1%204%20C-0.67%202.68%20-0.34%201.36%200%200%20Z%20M1%203%20C1%203.33%201%203.66%201%204%20C2.98%204%204.96%204%207%204%20C7%203.67%207%203.34%207%203%20C5.02%203%203.04%203%201%203%20Z%20M-6%206%20C-6%206.99%20-6%207.98%20-6%209%20C-1.23861467%2011.8568312%202.56067385%2012.84180048%208%2012%20C11.40241824%2010.6351132%2011.40241824%2010.6351132%2014%209%20C14%208.01%2014%207.02%2014%206%20C7.4%206%200.8%206%20-6%206%20Z%20M-6%2012%20C-6%2014.64%20-6%2017.28%20-6%2020%20C0.6%2020%207.2%2020%2014%2020%20C14%2017.36%2014%2014.72%2014%2012%20C11.69%2012.66%209.38%2013.32%207%2014%20C7%2014.66%207%2015.32%207%2016%20C5.02%2016%203.04%2016%201%2016%20C1%2015.34%201%2014.68%201%2014%20C-1.31%2013.34%20-3.62%2012.68%20-6%2012%20Z%20M2%2013%20C6%2014%206%2014%206%2014%20Z%20%22%20fill%3D%22%23FFA527%22%20transform%3D%22translate(8%2C0)%22%2F%3E%3C%2Fsvg%3E");
}

#folder-content-wrapper {
  height: 99%;
}
