#footer {
  position: relative !important;
  background:#050A38;
  border: none;
  width: 100%;
  position: absolute;
  bottom: 0px;
  overflow: hidden;
  height: 862px;
  padding-bottom: 100px;
  padding-top: 50px;
  background-image: url("/sites/essexcountyarts.org/themes/custom/essex/i/footer-bg.svg");
  background-repeat: no-repeat;
  /* background-size: 75%;
  background-position: center right; */
}
.footer-mountain-river-text ul{
  top: -12px;
}
.footer-button:empty{
  display: none;
}
#footer-logos-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0px;
  margin: auto;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  -ms-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  position: relative;
  padding-bottom: 24px;
}
.footer-button {
  border-radius: var(--border-radius-md, 4px);
  background: var(--surface-action2, #E4EAE8);
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  list-style-type: none;
  color: var(--text-action2, #2294C4);
  font-family: var(--type-font-family-body, Baskerville);
  font-size: var(--fontsize-body-md, 16px);
  font-weight: 600;
  line-height: var(--line-height-body-md, 24px); /* 150% */
  transition: all 0.3s ease-in-out;
}
#media-wrapper a:hover {
  scale: 1.2;
}
.footer-button:hover{
  color:#1C7EA8;
  background: var(--surface-action2-hover, #F6FBFE);
}
.footer-button a{
  text-decoration: none;
  color: #2294C4!important;
}
.footer-button a:hover{
 color:#1C7EA8;!important;
}
#footer-social-icons{
  display: flex;
  align-items: center;
  gap: 126px;
}
#footer-social-icons img{
  width: 205px;
  height: 68px;
}
#footer-lego-container {
  max-width: 1440px;
  margin: 0 auto;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: center;
}
#footer-contact {
  position: relative;
  color: #F2F2F3 !important;
  font-weight: 400;
  font-size: 16px;
  display: flex;
  width:100%;
  justify-content: space-between;
  align-items: flex-start;
  list-style-type: none!important;
  padding-top: 40px;
}
.footer-line{
  display: none;
}
.footer-treeline-wrapper{
  width:100%;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;

  background-image: url("/sites/essexcountyarts.org/themes/custom/essex/i/dividerd.svg");
  background-position: center;
  background-repeat: no-repeat;
  height: 24px;
  background-size: contain;
}
.footer-treeline-wrapper img{
  position: relative;
  width:100%;
}
.footer-address{
  text-align: right;
}
.footer-address a{
  color: var(--text-inverse, #F2F2F3)!important;
  font-family: var(--type-font-family-body, Inter);
  font-size: var(--fontsize-body-sm, 12px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--line-height-body-sm, 20px);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.footer-address a:hover {
  text-decoration: underline;
}
#footer-buttons{
  display: flex;
  gap: 36px;
  justify-content: center;
}
#footer-contact a {
  color: #F2F2F3 !important;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
#footer-contact a:hover {
  text-decoration: underline;
}
#footer-contact .footer-contact-title {
  color: #F2F2F3;
  font-size: 16px;
}
.footer-title-address{
  color: var(--text-inverse, #F2F2F3);
  font-family: var(--type-font-family-sub-heading, Inter);
  font-size: var(--fontsize-heading-h6, 20px);
  font-weight: 700;
  line-height: var(--line-height-heading-h6, 24px);
}
#footer-lego-three{
  width:100%;
}
#footer-top p{
  color: var(--text-inverse, #F2F2F3);
  text-align: center;
  font-family: var(--type-font-family-heading, Sybarite);
  font-size: var(--fontsize-heading-h3, 40px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--line-height-heading-h3, 48px);
  padding-bottom: 40px;
  padding-top:40px;
  background-image: url("/sites/essexcountyarts.org/themes/custom/essex/i/slogand.svg");
  background-position: center;
  background-repeat: no-repeat;
  height: 200px;
  top: -24px;
  position: relative;
  width: 408px;
}

.footer-mountain-river-text a {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  width: 350px;
}
.link-wrapper {
  display: flex;
  justify-content: space-between;
}
#footer-links-2 ul li,
#footer-links ul li,
.footer-contact-title ul li{
  list-style-type: none!important;
}
#footer-links-2 ul,
#footer-contact ul {
  left: -40px;
  position: relative;
  color: var(--text-inverse, #F2F2F3);
  font-family: var(--type-font-family-body, Inter);
  font-size: var(--fontsize-body-md, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--line-height-body-md, 24px);
}
#footer-links-2 ul {
  white-space: nowrap;
  color: var(--text-inverse, #F2F2F3);
  font-family: var(--type-font-family-body, Inter);
  font-size: var(--fontsize-body-md, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--line-height-body-md, 24px);
}
#footer-links ul a,
#footer-links li a {
  color: #F2F2F3 !important;
  text-decoration: none !important;
  transition: all 0.3s ease-in-out;
}
#footer-links ul a:hover,
#footer-links li a:hover {
  text-decoration: underline!important;
}
#footer-links {
  font-style: normal;
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}
.footer-link-title,
.footer-link-title-2,
.title {
  color: var(--text-inverse, #F2F2F3);
  font-family: var(--type-font-family-sub-heading, Inter);
  font-size: var(--fontsize-heading-h6, 18px);
  font-weight: 700;
  line-height: var(--line-height-heading-h6, 24px);
}
.title{
  padding-bottom:12px;
}
@media (max-width: 1440px) {
  #footer-lego-container {
    max-width: 1074px;
  }
}

@media (max-width: 1000px) {
  #footer-lego-container {
    max-width: calc(100vw - 48px) !important;
  }
  #footer{
    height: auto !important;
  }
  .footer-address{
    text-align: center;
    adding-top: 64px;
  }
  a #footer-social {
    position: absolute;
    left: 47.5%;
    top: 94px;
  }
  #footer-social-icons{
    margin: auto;
    padding-bottom: 64px;
  }
  #footer-social-icons a:nth-child(2){
    margin-left:auto;
  }
  #footer-links-2 ul, #footer-contact ul, .footer-mountain-river-text a, #footer-contact{
    line-height: 20px;
    font-size:12px;
  }
  .footer-link-title, .footer-link-title-2, .footer-title-address{
    padding-bottom: 4px;
  }
  .title{
    padding-bottom: 16px;
  }
  footer-social-icons img {
    width: 271px;
    height: 82px;
    top: -24px;
    position: relative;
  }
}

@media (max-width: 780px) {
  #footer-lego-container{
    padding-left:24px;
    padding-right:24px;
  }
}

@media (max-width: 743px) {
  #footer-lego-container {
    padding-left: 0px;
    padding-right: 0px;
  }
  #footer-logo {
    height: 108px;
  }
  #footer-contact{
    flex-direction: column;
  }
  #footer-contact .footer-contact-title{
    width:100%;
    text-align: center;
  }
  #footer-buttons{
    display: unset;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-spacing-md,8px);
  }
  .footer-button{
    width:100%;
    margin: auto;
    max-width: calc(100vw - 48px) !important;
  }
  #footer-top p{
    font-size: var(--fontsize-heading-h3, 24px);
    line-height: var(--line-height-heading-h3, 28px);
    padding-left: 24px;
    padding-right: 24px;
    padding-top:0px;
    width:304px;
    background-image: url("/sites/essexcountyarts.org/themes/custom/essex/i/sloganm.svg");
    margin:auto;
  }
  #footer-social-icons{
    flex-direction: column;
    gap: normal;
    gap: 24px;
  }
  a #footer-social{
    left:46%;
  }
  img#treeimg{
    height: 20px;
  }
  #footer-logos-wrapper{
    padding-bottom:0px;
  }
  a #footer-social{
    top:84px;
  }
  #footer-social-icons a:nth-child(2) {
    margin-left: inherit;
  }
  .link-wrapper {
    width: 100%;
    flex-direction: column;
    text-align: center;
  }
  #footer-links-2 ul, #footer-contact ul{
    left:-20px;
  }
  .footer-link-title,
  .footer-link-title-2{
    padding-top: 16px;
  }
  /* #footer-top svg {
    width: 304px!important;
  } */
  .title{
    padding-top: 24px;
  }
  #footer-contact{
    text-align: center;
  }
  #footer-lego-two{
    width:100%;
  }
  #footer-links{
    padding-bottom:12px;
  }
  .footer-link-title{
    padding-top:24px;
  }
  .footer-treeline-wrapper{
    background-image: url("/sites/essexcountyarts.org/themes/custom/essex/i/dividerm.svg");
  }
}
@media (max-width: 600px) {
  a #footer-social {
    left: 46%;
  }
}
@media (max-width: 550px) {
  a #footer-social {
    left: 45.3%;
  }
}
@media (max-width: 500px) {
  a #footer-social{
    left:45%;
  }
  #footer{
    background-image: url("/sites/essexcountyarts.org/themes/custom/essex/i/footer-bg-m.svg");
  }
}
@media (max-width: 430px) {
  a #footer-social{
    left:44.5%;
  }
}
@media (max-width: 400px) {
  a #footer-social{
    left:43.5%;
  }
}
@media (max-width: 365px) {
  #footer-links li:nth-child(7),
  #footer-links li:nth-child(8),
  #footer-links li:nth-child(9),
  #footer-links li:nth-child(10),
  #footer-links li:nth-child(11) {
    left: 9rem;
  }
}
