#modal-content {
  width: 1000px;
  margin: 1.5em auto 0;
  padding: 40px;
  background: #fff;
  z-index: 10000;
  position: fixed;
  border-radius: 8px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;

}

@media only screen and (max-width: 799px) {
  #modal-content {
    width: 90%;
    top: 40px;
    padding: 20px;
  }
}

.modal-p {
  margin-top: 1em;
}

.modal-p:first-child {
  margin-top: 0;
}

.button-link {
  color: #00f;
  text-decoration: underline;
}

.button-link:hover {
  cursor: pointer;
  color: #f00;
}

#modal-overlay {
  z-index: 100;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-color: rgba(0, 0, 0, 0.75);
}

#modal-content .table {
  max-height: 80vh;
  overflow: scroll;
  display: block;
}

#modal-content .tableSelect {
  width: 100%;
}

#modal-content .table th,
#modal-content .table td {
  padding: 10px;
}

#modal-content .tableSelect tr th,
#modal-content .tableSelect tr td {
  padding: 10px;
}

#modal-content .tableSelect tr td.name {
  width: 300px;
}

#modal-content .tableSelect tr:hover th,
#modal-content .tableSelect tr:hover td {
  background: #0051e0;
  color: #fff;
  cursor: pointer;
}

#modal-close {
  position: fixed;
  top: 30px;
  right: 30px;
}

#modal-close.is-active {
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 799px) {
  #modal-close {
    top: 0px;
    right: 0px;
    color: #fff;
  }
}