/* The Modal (background) */
#modal-window, 
.modal-window {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* 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 */
  padding-top: 0;
  z-index: 2;
}

.closecontainer {
  text-align: center;
  margin: 0;
}

/* The Close Button (x) */
.close {
  position: relative;
  top: 0;
  left: 0;
  color: #00aaff;
  font-size: 35px;
  font-weight: bold;
  float: right;  
  line-height: 1;   
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  z-index: 1;
}

.close.small {
  font-size: 20px !important;
}

.close.red {
  color: var(--cst-red);
  opacity: 1;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
  opacity: 1;
}

/* Modal Content/Box */
#modal-window .modal-content,
.modal-window .modal-content {
  position: relative;
  background: var(--blue-bg-color);
  /* 5% from the top, 15% from the bottom and centered */
  margin: 5% auto 15% auto;
  border-radius: 40px;
  width: 100%;
  max-width: 800px;
  padding: 20px 40px;
  /* Could be more or less, depending on screen size */
  top: 10%;
}

.modal-content__header h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  color: #ffffff;
}

.modal-content__wrapper,
.modal-content .content__wrapper {
  color: #fff
}

.modal-content__note {
  color: #ffffff;
  margin: 10px 0 20px;
  padding: 15px 0;
  border-top: 1px solid rgba(244, 228, 252, 0.1);
  border-bottom: 1px solid rgba(244, 228, 252, 0.1);
}


@media (max-width: 425px) {
  #signup-modal .modal-content__header h3 {
    font-size: 16px;
    line-height: 19px;
  }
}

#disease-history-modal-window .modal-content {
  max-width: 1000px;
}