/*

Theme Name: Love Those Letters
Author: Ancient Wisdom Productions
Author URI: http://awpny.com
Description: A theme for Love Those Letters, based on Divi.
Version: 1.0.0
Template: Divi

*/

/* ==============================================
 * Layout styles
 * =========================================== */
html, body {
  width: 100%;
  overflow-x: hidden;
}

.g-recaptcha > div {
  margin: 0 auto 20px;
}

.wpcf7 label,
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  max-width: 100%;
}

@media (max-width: 375px) {
  .wpcf7 .g-recaptcha {
    -webkit-transform: scale(0.9);
       -moz-transform: scale(0.9);
            transform: scale(0.9);
    -webkit-transform-origin: left center;
       -moz-transform-origin: left center;
            transform-origin: left center;
  }
}

@media (max-width: 340px) {
  .wpcf7 .g-recaptcha {
    -webkit-transform: scale(0.85);
       -moz-transform: scale(0.85);
            transform: scale(0.85);
  }
}

/* ==============================================
 * Loading element
 * =========================================== */
.loading-effect {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fdefac;
  background-image: url("img/loading.gif");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 300px;
  z-index: 9999;
}

/* ==============================================
 * Homepage start button
 * =========================================== */
.pulse-button a {
  box-shadow: 0 0 0 rgba(77, 171, 70, 0.4);
  animation: pulse 2s infinite;
}

a.small-button.smallgreen {
  background: #a6ea3a;
  color: #4e9400 !important;
  text-shadow: none;
  margin: 0;
  border: 2px solid #fff;
}

@-webkit-keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 171, 70 .75);
  }

  70% {
    box-shadow: 0 0 10px 10px rgba(77, 171, 70, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(77, 171, 70, 0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 171, 70, .75);
  }

  70% {
    box-shadow: 0 0 10px 10px rgba(77, 171, 70, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(77, 171, 70, 0);
  }
}

/* ==============================================
 * Video Modal
 * =========================================== */
.video-modal-wrapper,
.video-modal iframe {
  display: none; /* hide until opened by user */
}

.video-modal-wrapper.modal-open {
  display: table;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .90);
  z-index: 99999;
}

.video-modal-align {
  display: table-cell;
  vertical-align: middle;
  padding: 30px;
}

.video-modal {
  display: table;
  position: relative;
  margin: 0 auto;
  border-radius: 3px;
}

.video-modal-close {
  display: block;
  position: absolute;
  top: -25px;
  left: -25px;
  width: 70px;
  height: 70px;
  background-color: #a6ea3a;
  color: white;
  font-family: Arial;
  font-size: 35px;
  font-weight: bold;
  text-align: center;
  padding: 22px 21px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .25s;
  border:3px solid #fff;
}

.video-modal-close:hover {
  background-color: #4e9400;
}

.video-modal iframe.active-video {
  display: block;
}

/* ==============================================
 * Password Protected Form
 * =========================================== */
.et_password_protected_form {
  width: 75%;
  max-width: 700px;
  font-size: 1.7em;
  margin: auto;
  margin-top: 10%;
}

.et_password_protected_form p {
  padding: 0;
  margin-bottom: 30px;
}

.et_password_protected_form .et_submit_button,
.et_password_protected_form .et_submit_button:hover  {
  border: 2px solid;
}

.et_password_protected_form .et_submit_button:hover  {
  padding-left: 20px !important;
  padding-right: 34px !important;
}

.et_password_protected_form button.et_submit_button.et_pb_button::after {
  margin-top: .35em !important;
}

.et_password_protected_form input {
  font-size: 1.5em !important;
}

.et_password_protected_form .password-back-link {
  margin: 30px 0 60px;
}

.et_password_protected_form .password-back-link a {
  background-color: #a6ea3a;
  color: #4e9400;
  font-size: 2em;
  font-weight: bolder;
  line-height: 1.5em;
  padding: 10px 20px;
  border: 4px solid #4e9400;
  border-radius: 120px;
}

.et_password_protected_form .password-back-link a:hover {
  background-color: #4e9400;
  color: #ffffff;
}

/* ==============================================
 * 404 page
 * =========================================== */
body.error404.et_show_nav #page-container {
  padding-top: 0;
}

#main-content.page-404 {
  display: table;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-image: url("img/dot_bg.jpg");
  background-size: cover;
  text-align: center;
  padding: 30px;
}

#main-content.page-404 .vert-aligner {
  display: table-cell;
  vertical-align: middle;
}

#main-content.page-404 .ltl-heart {
  width: 100px;
  height: auto;
  margin-bottom: 30px;
}

#main-content.page-404 .ltl-logo {
  width: 100%;
  max-width: 800px;
  height: auto;
}

#main-content.page-404 .message-404 {
  margin: 60px 0;
}

#main-content.page-404 .message-404 h1 {
  margin-bottom: 30px;
}

#main-content.page-404 .pulse-button {
  transform: scale(3);
  transform-origin: center top;
  margin-bottom: 200px;
}
