footer {
  position: relative;
	z-index: 0;
}
footer::after {
  background: rgb(50, 53, 56);
  background: linear-gradient(
    120deg,
    rgba(var(--dark-shade2-rgb), 0.4) 0%,
    rgba(var(--button-gradient-light-rgb)) 100%
  );
  content: "";
  height: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  position: absolute;
  width: 100%;
  z-index: 0;
}
#upper-footer {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
  padding: 100px 0 0 0;
  position: relative;
  z-index: 1;
}
#social-and-links-container {
  display: flex;
  flex-direction: column;
  flex: 0 1 32.2%;
}
#footer-logo {
  margin-bottom: 18px;
  min-width: 100px;
  max-width: 200px;
  width: 53%;
}
#footer-logo svg {
  display: block;
  height: auto;
  margin: 0;
  max-width: 100%;
}
#social-and-links-container > div:nth-child(2) {
  font-size: min(max(0.75rem, 2vw), var(--fs-17p));
  line-height: 147%;
  margin-bottom: 35px;
}
#social-buttons-container {
  display: flex;
}
#social-buttons-container .social-media-icon {
  height: min(max(48px, 5vw), 64px);
  margin: 0 20px 0 0;
  width: min(max(48px, 5vw), 64px);
}
#social-buttons-container .social-media-icon:nth-child(3) {
  margin: 0;
}
#links-container {
  flex: 0 1 17%;
}
#links-container ul li {
  align-items: flex-start;
  display: flex;
  font-weight: 800;
  justify-content: flex-start;
  margin-bottom: 20px;
  text-transform: uppercase;
}
#links-container ul li:last-child {
  margin-bottom: 0;
}
#links-container .caret {
  display: flex;
  max-height: 100%;
  width: 6px;
}
#links-container .caret svg {
  max-height: 100%;
  max-width: 100%;
}
#links-container a {
  font-size: 0.875rem;
  line-height: 128%;
  margin-left: 10px;
  width: calc(100% - 16px);
}
#links-container a:hover {
  color: var(--gray-shade5);
}
#newsletter-container {
  flex: 0 1 32.2%;
}
#newsletter-container > div:first-child {
  font-size: 1.25rem;
  font-weight: 800;
	line-height: 120%;
  margin-bottom: 25px;
}
#newsletter-container > div:nth-child(2) {
  font-size: var(--fs-17p);
  line-height: 147%;
  margin-bottom: 35px;
}
#newsletter-container .message {
	font-weight: 800;
	margin-bottom: 10px;
}
#newsletter-form {
  position: relative;
}
#newsletter-form .loader {
	border: 3px solid rgb(255, 255, 255);
	border-top: 3px solid var(--dark-shade2);
	display: none;
	height: 40px;
	left: 10px;
	margin: 0;
	top: 8px;
	width: 40px;
	z-index: 1001;
}
#newsletter-form .overlay {
  position: absolute;
}
#newsletter-email {
  background: rgba(var(--dark-shade1-rgb), 0.35);
  border: 2px solid var(--dark-shade2);
  color: #fff;
  display: flex;
  font-size: var(--fs-17p);
  padding: 0 20px;
  height: 55px;
  width: 100%;
}
#newsletter-form button {
  align-items: center;
  box-shadow: 0 3px 6px rgba(var(--dark-shade2-rgb), 0.9);
  display: flex;
  height: 100%;
  justify-content: center;
  width: 55px;
  position: absolute;
  right: 0;
  top: 0;
}
#newsletter-form button svg {
  height: 26px;
  width: 23px;
}
footer address ul {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 100px;
}
footer address ul li {
  background: rgba(var(--dark-shade2-rgb), 0.3);
  box-shadow: 10px 10px 30px rgba(var(--dark-shade1-rgb), 0.3);
  transition: all 0.3s ease-in-out 0s;
  flex: 0 0 393px;
}
footer address ul li:hover {
  background: rgba(var(--dark-shade2-rgb), 0.9);
  box-shadow: 10px 10px 30px rgba(var(--dark-shade1-rgb), 0.9);
}
.contact-container {
  align-items: center;
  justify-content: center;
  display: flex;
  height: 100%;
  padding: 40px 0px;
  width: 100%;
}
.contact-container .contact-icon {
  height: 52px;
  width: 52px;
}
.contact-container .contact-icon svg {
  display: block;
  max-height: 100%;
  max-width: 100%;
}
.contact-container .contact-content {
  width: 65%;
  margin-left: 20px;
}
.contact-container .contact-content > div:first-child {
  font-size: var(--fs-17p);
  margin-bottom: 10px;
}
.contact-container .contact-content > div:nth-child(2) {
  font-size: var(--fs-18p);
  font-weight: 800;
}
#middle-footer {
  position: relative;
  z-index: 1;
}
#bottom-footer {
  padding-bottom: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}
@media only screen and (max-width: 1180px) {
  footer {
    padding: 0 20px;
  }
  #upper-footer {
    flex-wrap: wrap;
    padding: 30px 0 0 0;
  }
  #social-and-links-container {
    flex-basis: calc(50% - 10px);
    margin-bottom: 20px;
    margin-right: 10px;
    order: 2;
  }
  #links-container {
    flex-basis: 100%;
    margin-bottom: 40px;
    order: 1;
  }
  #links-container ul {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    flex-grow: 0;
  }
  #links-container ul li {
    margin-bottom: 0px;
  }
  #links-container a {
    align-items: center;
    display: flex;
    height: 44px;
    padding: 0 10px;
    margin-left: 0;
    text-align: center;
    width: 100%;
  }
  #links-container .caret {
    display: none;
  }
  #newsletter-container {
    flex-basis: 50%;
    order: 3;
  }
  footer address ul li {
    flex-basis: 325px;
  }
  .contact-container {
    padding: 20px 0px;
  }
  .contact-container .contact-icon {
    height: 40px;
    width: 40px;
  }
  .contact-container .contact-content > div:first-child {
    font-size: 0.875rem;
    margin-bottom: 5px;
  }
  .contact-container .contact-content > div:nth-child(2) {
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 600px) {
  #upper-footer {
  }
	#links-container {
		margin-bottom: 10px;
	}
  #links-container a {
    font-size: 0.75rem;
  }
  #footer-logo {
    max-width: 145px;
  }
  #social-and-links-container {
    align-items: center;
    flex-basis: 100%;
		margin-bottom: 40px;;
		margin-right: 0;
  }
  #social-and-links-container > div:nth-child(2) {
    text-align: center;
  }
	#newsletter-container {
		flex-basis: 100%;
		text-align: center;
	}
}
