/**
 * Footer styles (extracted from main theme for use with isolated templates).
 * Font-size on #footer scopes %-based typography to match original theme body scaling.
 */

#footer {
  font-size: 58%;
  background-color: #f8f8f4;
}

#footer.pv {
  margin-bottom: 0 !important;
}

#footer .inner {
  background-color: #007a53;
  height: 600px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#footer .inner .wrapper {
  width: 1498px;
  height: 100%;
}

#footer .site-title img {
  max-width: 190px;
  margin-right: 7vw;
}

#footer .left-side {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-row-gap: 20px;
  margin-left: 10vw;
  max-width: 50%;
}

#footer .left-side p,
#footer .left-side a,
#footer #navFooter a {
  font-size: 200%;
  color: #fff;
  line-height: 1.2;
}

#footer .info {
  grid-column-start: 2;
  align-self: end;
}

#footer .land {
  margin-top: 20px;
  grid-column-end: 3;
  grid-column-start: 1;
  width: 90%;
}

#footer #navFooter {
  grid-column-end: 3;
  grid-column-start: 1;
}

#footer .right-side {
  margin-right: 10vw;
  margin-left: 80px;
}

#footer .social-media {
  clear: both;
  grid-column-end: 3;
  grid-column-start: 1;
}

#footer .social-media a {
  padding: 10px;
}

#footer .social-media svg path {
  fill: #fff;
}

#footer #navFooter li {
  display: inline;
  margin-left: 12px;
}

#footer #navFooter li a {
  text-decoration: underline;
}

#footer #navFooter li a:after {
  content: "";
  height: 23px;
  width: 2px;
  background-color: #fff;
  display: inline-block;
  margin-bottom: -5px;
  margin-left: 12px;
}

#footer #navFooter li:first-child {
  margin-left: 0 !important;
}

#footer #navFooter li:last-child a:after {
  display: none;
}

/* Footer transitions & hover */
.social-media svg,
#footer #navFooter li a,
#footer .site-title img {
  -webkit-transition: 1250ms opacity cubic-bezier(0.19, 1, 0, 1);
  -o-transition: 1250ms opacity cubic-bezier(0.19, 1, 0, 1);
  transition: 1250ms opacity cubic-bezier(0.19, 1, 0, 1);
  opacity: 1;
  color: #fff !important;
}

.social-media svg:hover,
#footer #navFooter li a:hover,
#footer .site-title img:hover {
  opacity: 0.7;
  color: #fff !important;
}

/* Constant Contact (newsletter form in footer) */
#email_address_label_0 {
  display: block !important;
  margin-top: 30px;
  margin-bottom: 0 !important;
  font-family: "Ideal Sans SSm A", "Ideal Sans SSm B", sans-serif !important;
  font-weight: 500 !important;
}

.ctct-inline-form .ctct-form-footer {
  display: none;
}

.ctct-form-defaults {
  padding: 0 !important;
}

h2.ctct-form-header,
.ctct-form-button,
#email_address_0 {
  font-family: "Ideal Sans SSm A", "Ideal Sans SSm B", sans-serif !important;
  font-weight: 500 !important;
}

h2.ctct-form-header {
  font-size: 35px !important;
  max-width: 400px !important;
  line-height: 1.2 !important;
  margin-bottom: 0 !important;
  margin-top: 47px !important;
}

.ctct-form-button {
  font-size: 18px !important;
  text-transform: uppercase !important;
  width: auto !important;
  border: 0 !important;
  margin-top: 0;
  background-color: #fff !important;
  color: #007a53 !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.ctct-form-button:hover {
  border: 0 !important;
  opacity: 0.8 !important;
  color: #007a53 !important;
}

#email_address_0 {
  background-color: transparent !important;
  border: 2px solid #fff !important;
  border-radius: 0 !important;
  max-width: 70% !important;
  float: left !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

div.ctct-form-embed form.ctct-form-custom div.ctct-form-errorMessage {
  color: #fff !important;
}

.ctct-form-embed.form_0 .ctct-form-defaults .ctct-gdpr-text {
  font-size: 80%;
  font-family: "Ideal Sans SSm A", "Ideal Sans SSm B", sans-serif;
  margin-top: 5px !important;
  display: inline-block !important;
}

div.ctct-form-embed form.ctct-form-custom .ctct-form-required::before {
  color: #fff;
}

.ctct-form-defaults #gdpr_text {
  margin-top: 60px;
  width: 70%;
}

/* Responsive */
@media screen and (max-width: 1798px) {
  #footer {
    font-size: 56%;
  }
  #footer .inner {
    padding: 0 100px;
  }
  #footer .left-side,
  #footer .right-side {
    margin-left: 0 !important;
    margin-right: 0;
  }
  #footer .left-side {
    margin-right: 60px !important;
  }
}

@media screen and (max-width: 1600px) {
  #footer {
    font-size: 54%;
  }
}

@media screen and (max-width: 1530px) {
  #footer .inner {
    padding: 0 70px;
  }
}

@media screen and (max-width: 1400px) {
  #footer {
    font-size: 52%;
  }
}

@media screen and (max-width: 1300px) {
  #footer .site-title img {
    margin-right: 6vw;
  }
}

@media screen and (max-width: 1200px) {
  #footer {
    font-size: 50%;
  }
  #footer .inner {
    height: auto;
    padding: 80px 70px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  #footer .left-side,
  #footer .right-side {
    display: block;
  }
  #footer .left-side {
    margin-right: 130px !important;
  }
  #footer .social-media {
    margin-top: 20px;
  }
  .social-media svg {
    height: 27px !important;
  }
  h2.ctct-form-header {
    font-size: 30px !important;
  }
  #email_address_0 {
    max-width: 100% !important;
  }
  .ctct-form-defaults #gdpr_text {
    width: 100%;
    margin-bottom: 40px;
  }
  #footer .site-title img {
    margin-right: 0;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 1060px) {
  #footer #navFooter {
    margin-top: 20px;
  }
}

@media screen and (max-width: 900px) {
  #footer {
    font-size: 48%;
  }
  #footer .left-side {
    margin-right: 40px !important;
  }
  #footer .inner {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

@media screen and (max-width: 700px) {
  #footer .inner {
    height: auto;
    padding: 80px 40px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  #footer .site-title img {
    max-width: 150px;
  }
  h2.ctct-form-header {
    font-size: 27px !important;
  }
  #footer .left-side,
  #footer .social-media {
    margin-top: 80px;
    text-align: center;
    margin-right: 0 !important;
  }
  #footer .left-side {
    max-width: 100%;
  }
}

@media screen and (max-width: 640px) {
  #footer .left-side {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #footer .left-side .site-title {
    margin-bottom: 40px;
    margin-left: -4px;
  }
  #footer .right-side {
    margin: 0 !important;
    padding: 0 !important;
  }
  #footer .social-media {
    padding: 40px 0 0 0;
  }
}

@media screen and (max-width: 420px) {
  #footer .inner {
    height: auto;
    padding: 80px 40px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  #footer .left-side,
  #footer .right-side,
  #footer .social-media {
    margin-right: auto !important;
    margin-left: auto !important;
  }
}
