/* The Modal (background) */
.modal {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  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 Content */
.modal-content {
  background-image: url('../gfx/modalbg.jpg');
  background-position: center right;
  margin: 30px auto;
  padding: 20px 20px 20px 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 666px;
  max-height: 500px;
  z-index: 999;
  
}

/* The Close Button */
.close {
  color: #707070;
  float: right;
  font-size: 60px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-text-1 {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.56;
  text-align: left;
  color: #545871;
  padding-top: 46px;
  width: 100%;
}

.modal-text-2 {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.56;
  text-align: left;
  color: #000000;
  padding: 20px;
  width: 100%;
  background-color: rgba(255,255,255,0.6);
}

.modal-input {
  width: 100%;
  height: 56px;
  border: solid 1px #818181;
  background-color: #ffffff;
  font-size: 24px;
  font-weight: 300;
  color: #000;
  padding: 10px;
  margin-top: 20px;
}

.modal-button {
  width: 100%;
  height: 65px;
  background-color: rgba(171, 38, 42, 0.9);
  border: 0;
  font-size: 20px;
  font-weight: 600; 
  color: #ffffff;
  text-align: center;
  margin-top: 20px;
}

.modal-text-4 {
  text-align: center;
  margin-top: 20px;
  width: 100%;
}

.modal-text-4 a {
  font-size: 20px;
  font-weight: 600;
  color: #545871;
  text-decoration: none;
}