/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* 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.7); /* Black w/ opacity */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s
}

/* Modal Content */
.modal-content {
  position: fixed;
  border-top: 5px solid #826A95;
  bottom: 0;
  background-color: #32373E;
  width: 100%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s
}

.form-side, .email-side {
  width: 100%;
  float: left;
  font-size: 1.1em;
  line-height: 1.2em;
}

.form-side {
  padding-left: 0!important;
}


/* The Form */

.name, .email {
  height: 40px;
  width: 49%;
  border: 2px solid #ffffff;
  border-radius: 40px;
  opacity: 0.5;
}

.name:hover, .email:hover, .name:focus, .email:focus {
  border: 2px solid #ffffff;
  opacity: 1;
}

.message {
  min-height: 70px;
  height: auto;
  width: 99%;
  border: 2px solid #ffffff;
  border-radius: 20px;
  opacity: 0.5;
}

.message:hover, .message:focus {
  border: 2px solid #ffffff;
  opacity: 1;
}

input[type=text] {
  padding: 5px 10px;
  color: #826A95;
  margin: 8px 0;
  font-family: 'Baloo Paaji 2', sans-serif; cursive;
  font-style: italic;
  box-sizing: border-box;
}

textarea {
  padding: 5px 10px;
  color: #826A95;
  margin: 8px 0;
  font-family: 'Baloo Paaji 2', sans-serif; cursive;
  font-style: italic;
  box-sizing: border-box;
}

input[type="submit" i] {
  background-color: #826A95;
  width: 200px;
  text-align: center;
  color: #ffffff;
  font-family: 'Baloo Paaji 2', sans-serif; cursive;
  font-weight: 700;
  border:none;
  font-size: 1.2em;
  margin: 5px auto 25px;
  padding: 0.8em 2em;
  border-radius: 100px;
  cursor: pointer;
}

input[type="submit" i]:hover {
  background-color: #5F4E6D;
}

.form-m-txt {
  padding-bottom: 10px;
}

.classic-email p {
  padding-bottom: 10px;
}

.classic-email-fix {
  padding: 20px 0!important;
  margin: 5px 0 15px
}

.classic-email span {
  background-color: #826A95;
  color: #ffffff;
  font-size: 1.5em;
  min-height: 40px;
  padding: 10px;
}

.email-side a {
    color: #826A95;
    font-weight: 500;
    text-decoration: none;
}

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

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

.modal-header {
  padding: 2rem 2rem 1rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.5em;
}

.modal-body {
  padding: 1rem 2rem 2rem;
  color: #CDD7D6;
}

.modal-footer {
  padding: 5px 25px;
  color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0} 
  to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@media only screen and (max-width: 900px) {
  .form-side, .email-side {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    max-width: none;
  }
  .classic-email-fix {
    padding: 20px 0 30px!important;
  }
  .g-recaptcha div {
    margin: 15px auto 10px;
    text-align: center;
  }
  input[type="submit" i] {
    margin: 0px auto 15px;
  }
} /*END 1600px*/