/*
MODAL STYLES

*/




/* REMOVING THIS, CAUSED ISSUE WITH SLIDER, UNSURE IF IT'S NECESSARY
*, *::after, *::before {
  box-sizing: border-box;
}
*/




.button {
  float: left;
  color: black;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  font-size: 15px;
  line-height: 25px;
  border-radius: 4px;
  border: solid black;
  background: white;
  font-weight: bold;
  margin-top: 3px;
  margin: 3px;
  font-family: "Arial";
  cursor: pointer;
}

.button:hover
{
    background-image:none !important;
    background-color:#ddd !important;
}



.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 200ms ease-in-out;
  border: 1px solid black;
  border-radius: 10px;
  z-index: 10;
  background-color: white;
  width: 700px;
  max-width: 80%;
  max-height: 80%;
  overflow: auto;
  padding: 20px;
  }

.modal.active {
  transform: translate(-50%, -50%) scale(1);

}

.modal-header {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid black;
}

.modal-header .title {
  font-size: 1.25rem;
  font-weight: bold;
}

.modal-header .close-button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-size: 2.25rem;
  font-weight: bold;
}

.modal-body {
  padding: 10px 15px;
}

#overlay {
  position: fixed;
  opacity: 0;
  transition: 200ms ease-in-out;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
  pointer-events: none;
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}
