footer p {
  font-size: 16px;
  margin: 0 0 1.4rem;
  line-height: 1.6;
  font-family: arial, helvetica, sans-serif;
  font-style: normal;
  font-weight: 100;
  text-decoration: none;
}

footer * {
  color: #ffffff;
}

.content-wrapper {
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 20px;
  width: 100%;
}

.footer-container > div:not(.footer__main) {
	flex: 1 1 0px;
}

@media (min-width: 1200px) {
	.footer__main {
		padding-right: 34px;
	}
}

.flex-container > div:first-of-type, .flex-container--two-col > div:nth-of-type(3n) {
  margin-left: 0;
}
.flex-container > div {
  display: unset;
  vertical-align: top;
  margin-right: 21px;
  margin-left: 21px;
}
.footer__main {
  flex: 0 350px;
}
@media (min-width: 1200px) {
  .footer__main {
      padding-right: 34px;
  }
}

.flex-container > div:first-of-type, .flex-container--two-col > div:nth-of-type(3n) {
  margin-left: 0;
}
.flex-container > div {
  display: unset;
  vertical-align: top;
  margin-right: 21px;
  margin-left: 21px;
}
.footer__main {
  flex: 0 350px;
}
@media (min-width: 1200px) {
  .footer__main {
      padding-right: 34px;
  }
}

.footer__social-link {
  margin-bottom: 43px;
}

.footer__social-link a {
  background: rgba(255, 255, 255, 0.12);
}
.footer__social-link a {
  height: 50px;
  width: 50px;
  display: inline-block;
  text-align: center;
  line-height: 50px;
  border-radius: 60px;
  position: relative;
  overflow: hidden;
  margin-right: 7px;
}

.footer__legal-menu ul li:first-child a {
  font-size: 14px;
  font-weight: 400;
}
.footer__legal-menu a {
  text-transform: none;
  font-size: 14px;
  margin-right: 12px;
  display: inline-block;
  font-weight: 300;
}


@media (min-width: 1200px) {
  .footer__text {
      max-width: 270px;
  }
}
.footer__text, .footer__copyright-text, footer .hs-menu-depth-2 a, .footer__legal-menu a {
  opacity: .7;
}

.footer__legal-menu ul li:first-child a {
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}
footer a:not(.cta_button):hover {
  opacity: 1;
  color: inherit;
  text-decoration: none;
}

.footer__legal-menu ul {
  padding: 0 0 0 1.0234rem;
}

/* Social Links */
.footer__social-link a {
  height: 50px;
  width: 50px;
  display: inline-block;
  text-align: center;
  line-height: 50px;
  border-radius: 60px;
  position: relative;
  overflow: hidden;
  margin-right: 7px;
}

.footer__social-link a svg {
  height: 43%;
  position: absolute;
  transform: translate(-50%,-50%);
  left: 50%;
  fill: #fff;
  top: 50%;
}

.footer__social-link {
  margin-bottom: 43px;
}


/* Footer Text */

.footer__left * {
  font-size: 14px;
}

.footer__text,
.footer__copyright-text,
footer .hs-menu-depth-2 a,
.footer__legal-menu a {
  opacity: .7;
}

@media (min-width: 1200px) {
  .footer__text {
    max-width: 270px;
  }
}

@media (max-width: 900px) {
  .footer__main {
    flex: auto !important;
  }
}

.footer__menu {
  margin-top: 1.2rem;
}

.footer__menu .hs-menu-wrapper ul {
  justify-content: space-between;
  width: 100%;
}

.footer__menu.hs-menu-wrapper ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
  line-height: 1.4;
}

.footer__menu .hs-menu-wrapper li {
  text-align: left;
  display: block;
  width: 100%;
}

.footer__menu .active-branch ul li:first-child a {
  font-size: 18px;
  font-weight: 700;
}
.footer__menu .hs-menu-wrapper li a {
  display: block;
}
.footer__menu .hs-menu-depth-1 > a {
  text-transform: uppercase;
  margin-bottom: 21px;
}
.footer__menu a {
  font-size: 14px;
}

/* Footer navigation */

.footer--footer_main .footer-container .footer-nav > div:not(.footer__main):first-child {
    padding-left: 0;
}

@media (max-width: 767px) { 
  
  .footer__main {
    display: flex;
    flex-direction: column;
    align-items: center;  
  }
  
  .footer__logo {
    text-align: center;  
  }
  
  .footer__text {
    text-align: center;  
  }
  
  .footer--footer_main .footer-container .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer--footer_main .footer-container .footer-nav > div:not(.footer__main) {
    width: 50%;
    display: flex;
    justify-content: center;
    padding: 0 10px !important;
  }
  
  .footer__menu .hs-menu-wrapper li {
    text-align: center;  
    line-height: 1.5;
  }
  
  .footer__menu .hs-menu-wrapper li a {
    text-align: center;  
  }
  
  .footer__menu .hs-menu-depth-2 > a {
    text-align: center; 
  }
  
  .footer--footer_main .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
  
  .footer--footer_main .footer__social-link {
    margin-bottom: 15px !important;
  }
  
  
  
}

.footer__menu .hs-menu-wrapper li {
  text-align: left;
	display: block;
	width: 100%;
}

.footer__menu .hs-menu-wrapper li a {
  display: block;
}

.footer__menu a {
  font-size: 14px;
}

footer a:not(.cta_button):hover {
  opacity: 1;
  color: inherit;
}

.footer__menu .hs-menu-wrapper {
  width: 100%;
}

.footer__menu .hs-menu-wrapper ul {
  justify-content: space-between;
	width: 100%;
}

.footer__menu .hs-menu-depth-2 a {
  font-weight: 300;
  padding: 4px 0 12px 0;
}

.footer__legal-menu a {
  text-transform: none;
  font-size: 14px;
  margin-right: 12px;
  display: inline-block;
  font-weight: 300;
}

@media (max-width: 767px) {
  .footer__menu .hs-menu-item,
  .footer__menu .hs-menu-flow-horizontal {
    display: block;
    width: 100%;
  }
  
  .footer__menu .hs-menu-depth-1 > a, 
  .footer__menu .hs-menu-depth-2 > a,
  .footer__legal-menu a {
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 0;
    display: block;
  }
  
  .footer__menu .hs-menu-depth-1 {
    margin-bottom: 2rem;
  }
}

.footer__menu {
	margin-top: 1.2rem;
}

/* Fluid / Full width footer */

.footer-container--wide {
	padding: 0 5%;
}
  
/* Footer on landing pages */

.footer--no-nav {
	background:  rgba(33, 34, 39, 1.0);
	padding: 30px;
}
  
.footer--no-nav p {
	margin: 0;
}

.footer__copyright p {
	margin: 0;
}
	
.footer--no-nav .hs_cos_wrapper_type_logo {
  display: flex; 
}

.footer--no-nav .hs_cos_wrapper_type_logo a {
  line-height: 0;
}


/* Layout */

.flex-container {
  display: flex;
}

@media (max-width: 1200px) {
  .flex-container {
    flex-direction: column;
  }
}

.flex-container > div {
  display: unset;
  vertical-align: top;
	margin-right: 21px;
	margin-left: 21px;
}

.flex-container > div:first-of-type, .flex-container--two-col > div:nth-of-type(3n)
{
	margin-left: 0;
}

.flex-container--two-col > div:nth-of-type(2n+1) {
    margin-left: 0 !important;
}

.flex-container > div:last-of-type {
	margin-right: 0;
}

@media (max-width: 1200px) {	
	.flex-container > div {
		margin-right: 0;
		margin-left: 0;
	}
}

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

.flex-container--vertical {
	align-items: center;
}

.flex-container--wrap {
	flex-wrap: wrap;
}

.flex-container--two-col > div {
	flex: 0 calc(46% - 16px);
	margin-bottom: 43px;
}

.flex-container--3-col > div {
	flex: 0 29%;
}

.flex-container--3-col > div {
	margin-bottom: 43px;
}

.flex-container--width-even > div {
	flex: 1 1 0px;
}

