* {
  font-family: sans-serif;
}

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: #ffebcd80}
tr:nth-child(odd) {background: #FFF}

.scroll-display {
  max-height: 500px;
  overflow-y: scroll;
}

#bond-title tr{
  background-color: #e3f0ff80;
  color: #01549d;
}

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) {
  display: grid;
  grid-template-columns: auto auto;
  list-style-type: none;
  text-align: center;
  direction: rtl;
  padding-inline-start: 0px;
}

.top>ul>li>ul {
  list-style-type: none;
  padding-inline-start: 0px;
}
.top>ul>li>ul>li {
  margin: 5px;
padding: 5px;
color: #003f48;
background-color: white;
border-radius: 3px;
}

.top>ul>li>ul>li:first-child {
background-color: #003f48;
color: white;
}

.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;
}

/* .top {
  display: flex;
  justify-content: space-between;
} */

.final-update-img,
.anchor-img{
  height: 24px;
  width: 24px;
}

.final-update{
  display: flex;
  align-items: center;
  justify-content: center;
}

.info{
  cursor: pointer;
}

.top > ul span{
  direction: ltr;
}

@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%;
  }
}
