/*Modal stuff*/
#modal.inactive {
  display: none;
}

#modal.active {
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#modal-text {
  text-align-last: center;
}

.modal-box {
  background-color: #fefefe;
  margin: auto; /* 15% from the top and centered */
  padding: 20px;
  font-size: 28pt;
  border: 3px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.error>.modal-box {
  background-color: red;
}

/* The Close Button */
#modal-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#modal-close:hover,
#modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.error_form.inactive {
  display: none; 
}


.error_form {
  color: red;
}