/* ======== Newsletter Popup ========= */
section.popup-section {
  background-size: cover !important;
  overflow: hidden;
  background-attachment: fixed !important;
  background-position: center center !important;
  padding-top: 20px;
  padding-bottom: 20px;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 101;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
section.popup-section.hide-popup{
  animation: fadeOut 1s ease-out forwards;
}
/* Define the fade-out keyframes */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    display: none;
  }
}
section.popup-section:before {
  content: '';
  overflow: hidden;
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 1;
  opacity: .9;
  background: #000;
  -webkit-transition: opacity .3s ease-out;
  transition: opacity .3s ease-out;
  height: 100%;
  top: 0;
}

section.popup-section .inner-container {
  max-width: 1220px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  height: 100%;
}
section.popup-section .inner-container  .row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  height: 100%;
}
.popup-inner {
  background: #f8e5bb;
  z-index: 9;
  width: 100%;
  max-width: 80%;
  -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
  animation: slideUp 1s ease-out;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.popup-inner--row {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}
.popup-inner-column {
  flex: 0 0 auto;
  width: 50%;
}
.bg-cover{
  background-size: cover;
  background-position: center center;
  position: relative;
  background-repeat: no-repeat !important;
  overflow: hidden;
}
form.popup-form {
  padding: 15% 8%;
}
.form-header p.form-subheading {
  margin: 0;
  color: #d51f0f;
  font-weight: 600;
  text-transform: uppercase;
  line-height: normal;
  font-style: normal;
  font-size: 15px;
  margin-bottom: 15px;
}
.form-header h2.form-heading {
  text-transform: uppercase;
  color: #383632;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: "Courgette", sans-serif;
  font-size: 1.438rem;
  line-height: 3.2rem;
}
.form-fields .form-field{
  width: 100%;
  color: #8d8987;
  max-width: 100%;
  resize: none;
  outline: 0;
  font-size: 16px;
  border: 1px solid #e4e4e4;
  padding: 20px 28px;
  margin-bottom: 15px;
  border-radius: 4px;
}
.form-fields .submit-btn{
  width: 100%;
  background-color: #282725;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  padding: 20px 32px 20px;
  border-radius: 4px;
  font-family: "Courgette", sans-serif;
  display: block;
  column-gap: 10px;
  overflow: hidden;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  text-align: center;
  cursor: pointer;
}
.form-fields .submit-btn:hover{
  -webkit-box-shadow: 0 8px 30px 0 rgba(0, 0, 0, .15);
  box-shadow: 0 8px 30px 0 rgba(0, 0, 0, .15);
  -webkit-transform: translate3d(0, -2px, 0);
  transform: translate3d(0, -2px, 0);
}
span.close-popup--btn {
  height: 40px;
  width: 40px;
  position: absolute;
  right: 20px;
  top: 20px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  color: black;
}

.popup-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 10px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #000;
}
.popup-legal {
    font-size: 10px;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 10px;
    color:#1e1e1e;
}
.popup-no-thanks {
    font-size: 10px;
    color: #000;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
    letter-spacing: 0.5px;
    background: none;
    border: none;
    display: block;
    width: 100%;
    height: 50px;
    transition: color 0.2s;
}

/* RESPONSIVE IPAD  */
@media only screen and (max-width: 981px) {
.popup-inner-column {
    flex: 0 0 auto;
    width: 100%;
}
.bg-cover{
      height: 100px;
}
#newsletter-popup {
  margin-top: 4.5rem;
  margin-left: 1rem;
  height: 85vh;
}
form.popup-form {
    padding: 8% 5%;
    width: 100%;
}
span.close-popup--btn{
      right: 10px;
    top: 10px;
}
}