/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    left: 0;
    top: 0;
    width: 100vw; /* Full width */
    height: 100vh; /* 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/Box */
  .modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 85%;
    text-align: center;
  }

  #modalImage {
      width: 100%;
      margin: 0px auto;
      cursor: zoom-out;
  }

  /* The Password Modal (background) */
.password {
  display: flex; 
  justify-content: center;
  align-items: center;
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  left: 0;
  top: 0;
  width: 100vw; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.611); /* Black w/ opacity */
}

/* Password Modal Content/Box */
.password-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 85%;
  text-align: center;
}

.passwordContainer {
  display: flex;
  width: 100%;
  height: 80vh;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

  /* TheRSVP Modal (background) */
.rsvp-modal {
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  left: 0;
  top: 0;
  width: 100vw; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: #171e33; /* Fallback color */
  background-color: #171e336d; /* Navy w/ opacity */
}

/* Modal Content/Box */
.rsvp-content {
  display: block;
  background-color: #f7ece1;
  padding: 10px 20px;
  border: 2px solid #d8c5b2;
  width: 720px;
  text-align: center;
  font-size: 2.3em;
}

.rsvp-wrap {
  background-color: rgba(255, 255, 255, 0.419);
  padding: 40px;
}

#rsvpClose {
  cursor: pointer;
  float: right;
  top: 0;
  margin: 0;
  padding: 0;
  color: #545f68;
}

#rsvpClose:hover {
  color: #6f102a;
}

.rsvpCard {
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    font-weight: 100;
    font-size: .7em;
    color: #171e33;
    padding: 20px;
}

.guestDiv {
  margin: 0px auto 10px auto;
}

.smallType {
  display: inline;
  font-size: .75em;
}

.formDiv {
  margin: 30px auto 0px auto;
}

.formSpace {
  margin: 0px 0px 0px 30px;
}

.rsvpCard input[type=text] {
  border: none;
  border-bottom: solid 1px #171e33;
  padding: 10px;
  width: 400px;
  background-color: #f7ece1;
  font-size: .8em;
}

.rsvpCard input[type=button], input[type=submit], input[type=reset] {
  border: 2px solid #d8c5b2;
  background-color: #f7ece1;
  color: #6f102a;
  padding: 16px 32px;
  text-decoration: none;
  margin: 15px 2px;
  cursor: pointer;
  font-size: .7em;
}

.rsvpCard input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
  background-color: #6f102a;
  color: white;
}

.rsvp {
  cursor: pointer;
  display: none;
}

#guestEmail {
  width: 420px;
  margin-top: 6px;
  padding: 5px 15px;
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
  font-weight: 100;
  font-size: 1.1em;
  color: #6f102a;
}

#emailDiv {
  padding: 10px;
}