@font-face {
  font-family: "rubik";
  src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

body {
  margin: 0;
  font-family: "rubik", arial;
  font-size: 14px;
  height: 130px;
}

p {
  margin: 0;
}

table {
  width: 100%;
  text-align: center;
  border-spacing: 0;
  border-collapse: collapse;
  table-layout: fixed;
}
td,
th {
  border: 0px;
  margin: 0px;
}

tr:nth-child(even) {
  background: #ccc;
}
tr:nth-child(odd) {
  background: #fff;
}

.scroll-display {
  max-height: 500px;
  overflow-y: scroll;
}

input,
select,
option {
  width: 90%;
  padding: 5px;
  border: 0px;
  text-align: center;
  background-color: inherit;
}

input:focus {
  outline: none;
}

input[name="note"] {
  width: 100%;
  height: 2em;
  text-align: right;
}

button {
  height: 30px;
  width: 100px;
  /* background: MediumSeaGreen; */
  border: 0px;
  cursor: pointer;
}

#save {
  display: block;
  position: fixed;
  top: 0px;
  left: 0px;
  height: 60px;
  width: 200px;
  background: tomato;
  border: 0px;
  z-index: 100;
  cursor: pointer;
}

.top > ul,
.top > ul > li > ul > li:nth-child(n + 2):not(#final-update-container) {
  display: grid;
  grid-template-columns: auto auto;
  list-style-type: none;
  text-align: center;
  direction: rtl;
  padding-inline-start: 0px;
}

.top > ul {
  grid-template-columns: auto;
  margin: 0;
  height: 100%;
}

.top > ul > li > ul {
  list-style-type: none;
  padding-inline-start: 0px;
}
.top > ul > li > ul > li {
  color: #003f48;
  background-color: white;
  border-radius: 3px;
}

/* .top>ul>li>ul>li:first-child {
background-color: #F1F7FF;
color: #01549D;
font-weight: bold;
} */

.green {
  color: seagreen;
  font-weight: bold;
}

.red {
  color: red;
  font-weight: bold;
}

tbody {
  direction: ltr;
}

.row {
  cursor: pointer;
}

.modal {
  display: none;
  position: absolute;
  width: 300px;
  height: auto;
  background-color: #c9c9c9;
  border: 1px solid black;
  z-index: 9999;
  top: -300px;
  transition: top 0.5s;
}

.modal-title-container {
  direction: ltr;
  padding: 0.4em 1em;
  position: relative;
  border: 1px solid #bbbbbb;
  background: #dddddd;
  color: #444444;
  font-weight: bold;
}
.modal-title {
  margin: 0.1em 16px 0.1em 0;
}

.modal-content {
  padding: 20px;
}

.close {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
}

.modal-btn {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

.show {
  top: 5px;
}

.scatter {
  opacity: 0;
  transform: scale(0.2) rotate(180deg);
}

.hide {
  opacity: 0;
  pointer-events: none;
}

.final-update-img,
.anchor-img {
  height: 16px;
  width: 16px;
}

.final-update {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.info {
  cursor: pointer;
}

.top > ul span {
  direction: ltr;
}

.top > ul > li {
  border: 1px solid #d4dfee;
}

.top {
  height: 100%;
}

#final-update-container {
  transform: translateY(10px);
  margin-bottom: 5px;
}

@media only screen and (max-width: 650px) {
  th,
  td {
    display: none;
    width: 24%;
  }
  #notes-title > tr > th,
  #notes > tr > td,
  #stocks-title > tr > th:nth-child(n + 6),
  #stocks > tr > td:nth-child(n + 6),
  #close-stocks-title > tr > th:nth-child(n + 5),
  #close-stocks > tr > td:nth-child(n + 5) {
    display: table-cell;
  }
  th:nth-child(1),
  td:nth-child(1) {
    display: table-cell;
    width: 36%;
  }
  #notes-title > tr > th:nth-child(1),
  #notes > tr > td:nth-child(1) {
    width: 10%;
  }
  #vix-graph {
    max-width: 100% !important;
    height: 117px !important;
  }
}
