/*******************
Footer Styling
*******************/

footer.footer {
  background-color: var(--base-3);
  padding: 50px;
}

/*This is the container for the entire footer, it is a flex container that will allow us to align the items in the footer in a row and space them out evenly.*/
.footer-container {
  display: grid;
  justify-content: center;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
  margin: auto;
}

/*All rights Reserved and Terms of Service Left Column*/
.rights span,
.terms_link {
  font-family: var(--gp-font--lato);
  font-weight: 300;
  font-size: 1rem;
  color: var(--contrast);
}

.terms_of_services {
  margin-top: 7px;
}

.terms_link:hover,
a.subscribe_form_link:hover {
  color: var(--accent);
  text-decoration: underline;
  transition: 0.3s ease;
}

a.terms_link {
  text-decoration: none;
  text-transform: uppercase;
}

/*Subscribe Center Column*/
.subscribe_form_link {
  font-size: clamp(1.5rem, 10vw, 1.875rem);
  font-weight: 300;
  font-family: var(--gp-font--oswald);
  color: var(--contrast);
  text-decoration: none;
  text-align: center;
}

.gform-button {
  width: 100% !important;
}

/*Newsletter Popup Styling*/
.popup_container {
  position: relative;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
}

.popup_container.active {
  max-height: 1500px;
  opacity: 1;
}

.popup_container .close-newsletter {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  line-height: 1;
}

.popup_container .close-newsletter:hover {
  color: #000;
}

.popup_area {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1330px;
  margin: auto;
  gap: 30px;
  padding: 20px;
  position: relative;
  background: #fff;
  border: 1px solid var(--contrast-4);
}

.popup_area p {
  margin: 0;
}

.popup_content {
    width: 100%;
    max-width: 281px;
}

/* input#gform_submit_button_1 {
  align-items: center;
  background-color: var(--accent, #94ca5a) !important;
  color: var(--contrast) !important;
  cursor: pointer;
  display: inline-flex !important;
  height: auto !important;
  text-decoration: none;
  border: 1px solid var(--base) !important;
  padding: 20px 0 !important;
  transition: all 0.3s ease-in-out !important;
} */

div#gform_fields_1 {
  align-items: center;
}

h2.gform_submission_error.hide_summary {
  font-size: 1rem !important;
}

/*Social Media Right Column*/
.social_media_icons-container {
  display: flex;
  flex-flow: row;
  gap: 25px;
  justify-content: flex-end;
}

.social_icon_link img {
  transition: padding-top 0.3s ease;
}

/* .social_icon_link img:hover{
padding-top: 10px;
} */

@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    display: flex;
  }

  .social_media_icons-container {
    justify-content: center;
  }

  .popup_area{
    flex-direction: column;
  }

  .popup_area .gform_shortcode{
    justify-content: center;
    display: flex;
  }
  .popup_content{
    max-width: 100%;
    text-align: center;
  }

  .popup_area button.gform-button {
    width: 100%;
}
}