@font-face {
  font-family: "rubik";
  src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

body {
  font-family: "rubik", arial;
}

body {
  margin: 0;
  font-size: 14px;
}

table {
  width: 100%;
  text-align: center;
  border-spacing: 0;
  border-collapse: collapse;
  table-layout: fixed;
}
td,
th {
  border: 0px;
  margin: 0px;
}

.title {
  font-weight: normal;
  font-size: 19.5px;
  color: #333333;
}

#current-bonds-folder {
  font-size: 19.5px;
  font-weight: bold;
  display: inline-block;
  position: relative;
  right: 446px;
}

#current-bonds-folder::after {
  content: "";
  position: absolute;
  height: 1.5px;
  width: 100%;
  right: 0;
  bottom: 0;
  background-color: #ffa527;
}

td:first-child,
th:first-child {
  width: 10%;
}

h2 {
  text-align: center;
}

#notes tr td:nth-child(2) {
  text-align: right;
}

/* #bond tbody>td:nth-child(4n+1),#close-bond tbody>td:nth-child(4n+1) {background: #CCC}
#bond tbody>td:nth-child(4n),#close-bond tbody>td:nth-child(4n) {background: #FFF} */
#bond tr:not(.info-more):nth-child(4n + 1),
#close-bond tr:not(.info-more):nth-child(4n + 1) {
  background: #ffebcd80;
}

#notes tr:nth-child(2n) {
  background: #ffebcd80;
}
#notes tr:nth-child(2n + 1) {
  background: #fff;
}

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

.scroll-display {
  overflow-y: hidden;
}

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 {
  list-style-type: none;
  max-width: 300px;
  margin: 0px auto;
  padding-inline-start: 0px;
}

.canvas-holder {
  max-width: 600px;
  margin: auto;
}

#pie-chart-holder {
  margin-bottom: 52px; /*78px*/
}

#notes-table-wrapper {
  margin-bottom: 51px;
}

#closed-bonds-table-wrapper {
  margin-bottom: 6px;
}

#notes-table-title,
#closed-bonds-table-title {
  margin-bottom: 17.43px;
}

.top > ul > li > ul > li {
  display: grid;
  grid-template-columns: auto auto;
  list-style-type: none;
  text-align: center;
  direction: ltr;
  gap: 15px;
}

.top > ul > li > ul {
  list-style-type: none;
  padding-inline-start: 0px;
}
.top > ul > li > ul > li:first-child {
  margin: 5px;
  padding: 5px;
  background-color: #003f48;
  color: white;
  border-radius: 3px;
}
.top > ul > li > ul > li:nth-child(2) {
  margin: 5px;
  padding: 5px;
  background-color: #003f48;
  color: white;
  border-radius: 3px;
}
.top > ul > li > ul > li > span:first-child {
  text-align: left;
}
.top > ul > li > ul > li > span:nth-child(2) {
  text-align: right;
}

tbody {
  direction: ltr;
}
.info-more {
  display: none;
  animation: appear 0.5s;
  direction: rtl;
}

#fv {
  display: flex;
  width: 500px;
}
@keyframes appear {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

#notes tr td:first-child {
  width: 10%;
  text-align: center;
}

#close-bond a {
  color: black;
}
@media only screen and (max-width: 650px) {
  th,
  td {
    /* display: none; */
    width: 24%;
  }
  #notes-title > tr > th,
  #notes > tr > td,
  #bond-title > tr > th:nth-child(n + 11),
  #bond > tr > td:nth-child(n + 11),
  #close-bond-title > tr > th:nth-child(n + 5),
  #close-bond > 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%;
  }

  #fv {
    flex-direction: column;
    align-items: center;
    width: auto;
  }

  #fv > li {
    width: 65%;
  }

  .scroll-display,
  #headers-table,
  #notes-table-headers,
  #closed-table-headers {
    width: 1000px;
  }

  h2 {
    text-align: right;
    padding-right: 5px;
  }
}
