/* Page layout */
html, body {
  background: #122F3A;
  font-family: 'Montserrat', sans-serif;
  color: white;
  padding-top: 20px;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 62px;
}

/* Hide some elements on page load */
.hidden { display: none; }

/* Loading message */
#loading-message {
  font-size: 30px;
  padding-top: 30px;
}

/* Error message */
#postcard-error-message img {
  margin-bottom: 20px;
}

/* Post card display */
#visitor-postcard img {
  -webkit-box-shadow: 0px 5px 40px -2px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 5px 40px -2px rgba(0,0,0,0.75);
  box-shadow: 0px 5px 40px -2px rgba(0,0,0,0.75);
}

.animated.zoomIn{
  -webkit-animation-duration: .1s;
  animation-duration: .1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/* Social media buttons */
#social-media-buttons {
  padding: 16px;
}

#social-media-buttons h2 {
  margin-bottom: 20px;
}

#social-media-buttons a {
  margin: 10px;
}

#social-media-buttons a:nth-child(1).animated {
  animation-delay: .3s;
}

#social-media-buttons a:nth-child(2).animated {
  animation-delay: .5s;
}

/* Newsletter */
p.newsletter-description {
  font-weight: 100;
}

.email-alert {
  background: #ff8e10;
  font-weight: 400;
  font-size: 30px;
}

/* Footer */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 64px;
  line-height: 62px; /* Vertically center the text there */
  border-top: 2px solid #09181e;
  background-color: #0b1e25;
  color: #3891b3;
}

.footer a {
  color: #21566a;
}

.rwd-break { display: none; }

@media (max-width: 74.9em) {

  .footer {
    padding-top: 8px;
    font-size: 12px;
    line-height: 22px;
  }

  .rwd-break { display: block; }

}

/* Loading drip animation */
.drip {
  width: 200px;
  height: 250px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  position: relative;
}
.drip:before {
  position: absolute;
  left: 92.5px;
  top: 0;
  content: '';
  width: 15px;
  height: 15px;
  background-color: #FFF;
  border-radius: 50%;
  opacity: 0;
  animation: drip 4s ease infinite;
}
.drip:after {
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0px;
  height: 0px;
  border: solid 4px #FFF;
  border-radius: 50%;
  opacity: 0;
  animation: splash 4s ease infinite;
}
@keyframes drip {
  10% {
    top: 0;
    opacity: 1;
    animation-timing-function: cubic-bezier(0.24, 0, 0.76, 0.14);
  }
  25% {
    opacity: 1;
    top: 200px;
    animation-timing-function: ease-out;
    width: 15px;
    height: 15px;
    left: 92.5px;
  }
  30% {
    opacity: 1;
    top: 160px;
    width: 5px;
    height: 5px;
    animation-timing-function: ease-in;
    left: 97.5px;
  }
  33% {
    top: 200px;
    opacity: 0;
    animation-timing-function: ease-out;
    left: 97.5px;
  }
  33.001% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes splash {
  0% {
    opacity: 0;
  }
  25% {
    bottom: 50px;
    left: 100px;
    opacity: 0;
    width: 0px;
    height: 0px;
  }
  25.001% {
    opacity: 1;
  }
  33% {
    bottom: 0;
    left: 0;
    opacity: 0;
    width: 200px;
    height: 100px;
  }
  33.001% {
    bottom: 50px;
    left: 100px;
    opacity: 1;
    width: 0px;
    height: 0px;
  }
  43% {
    bottom: 0;
    left: 0;
    opacity: 0;
    width: 200px;
    height: 100px;
  }
  43.001% {
    opacity: 0;
  }
}
