/* ------------- FOOTER -------------------- */
.footer {
  padding: 0;
  margin: 0;
  border: none;
}

.region-footer-top {
  background-color: var(--verde-nobre);
  padding: 30px 0;
  max-width: 1260px;
  margin: auto;
}

.view-footer-midias-sociais-col {
  border-radius: 20px;
  border: solid 2px white;
  padding: 10px;
  margin: 10px;
}

.footer-region {
  background-color: var(--verde-nobre);
}

.container-arrow {
  display: flex;
  justify-content: end;
}

.arrow-to-top {
  cursor: pointer;
}

.footer-region .views-element-container {
  margin-bottom: 0;
}

.view-footer-midias-sociais-col img {
  width: 35px;
}


#block-mahi-custom-views-block-home-doacoes-block-1,
#block-mahi-custom-views-block-home-servicos-para-o-paciente-block-1 {
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  font-size: var(--fonte-texto-p1);
}

.footer-bottom .box-footer-bottom:nth-child(2) {
  text-align: end;
}

.page-header {
  padding: 0;
  background-color: white;
  background-image: none;
  padding: 0 5%;
}

.ul.sf-menu a,
ul.sf-menu span.nolink {
  padding: 0;
}



.region-header-top {
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width:1280px) {
  .region-footer-top {
    max-width: 1100px;
  }
}

@media only screen and (max-width:1024px) {

  .footer-blocks .region-footer {
    display: flex;
    width: 100%;
  }

  .footer-blocks .region-footer #block-mahi-custom-acfooterblackmenu {
    display: flex;
    width: 100%;
  }

  .footer-blocks .region-footer #block-mahi-custom-acfooterblackmenu .block-content {
    display: flex;
    width: 100%;
  }

  .footer-blocks .region-footer #block-mahi-custom-acfooterblackmenu .block-content .field--name-body {
    display: flex;
    width: 100%;
  }

  .footer-blocks .region-footer #block-mahi-custom-acfooterblackmenu .block-content .footer-bottom {
    display: flex;
    padding: 20px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-bottom .box-footer-bottom:nth-child(2) {
    text-align: center;
    margin: 10px 0;
  }



}



.footer-responsavel,
.footer-responsavel font {
  color: white;
}

.footer-copyright,
.footer-copyright font,
.footer-copyright a,
.footer-copyright a font {
  color: white;
}


.footer-top .views-row {
  margin-bottom: 0 !important;
}



/* ------------------- */


.menu-footer .menu {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.menu-footer li {
  position: relative;
  padding: 8px 0;
  margin: 0 20px;
  /* width: 100%; */
}

.menu-footer a,
.menu-footer a font {
  color: white !important;
}

.menu-footer .menu-item-level-1>a {
  border-bottom: solid 1px;
}

.footer li::before,
.sidebar li::before {
  content: none !important;
}

.footer li::before,
.footer li::after,
.sidebar li::before,
.sidebar li::after {
  content: none !important;
}



.footer .menu .menu-item-level-1>a,
.footer .menu .menu-item-level-2 {
  margin: 0;
  padding: 0;
  margin-bottom: 5px;
  display: flex;
}

.footer .menu .menu-item-level-1>a {
  margin-bottom: 10px;
}


.footer .menu .menu-item-level-1>a {
  font-weight: bold;
  font-size: 18px;

}

.footer .menu .menu-item-level-2>a {
  /* font-weight: bold; */
  font-size: var(--fonte-texto-p1);
}


@media only screen and (max-width:767px) {

  .menu-footer li {
    width: 100%;
  }

}




.footer {
  border-top: solid 4px var(--laranja-facelift-1);
}

.footer,
.footer-region {
  background: var(--verde-facelift-2);
}

.footer-blocks {
  max-width: 1100px;
  margin: auto;
  padding: 50px 0;
}

.footer-blocks .menu {
  display: flex;
  justify-content: space-between;
}

.footer-blocks .menu>.menu-item-level-1 {
  width: 25%;
}

.footer-blocks .menu>.menu-item-level-1:last-child {
  width: 184px;
}


.footer-blocks .menu>.menu-item-level-1:last-child>span {
  display: none;
}

.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-2 {
  opacity: 1;
  padding-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-2 a:not(.menu-item-level-3 a) {
  font-weight: bold;
  font-size: 14px;
  padding: 10px 0;
  width: 100%;
  border: 1.14px solid rgba(255, 255, 255, 1);
  border-radius: 34.34px;
  border-width: 1.14px;
}

.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-2:nth-child(3) a:not(.menu-item-level-3 a) {
  font-size: 12px;
  line-height: 12px;
  padding: 8px;
}

.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-2 a:not(.menu-item-level-3 a):hover {
  background: var(--verde-facelift-1);
  color: var(--verde-facelift-2);
  font-weight: 700;
}

.footer-blocks .menu>.menu-item-level-1:last-child .menu-item-level-2 .submenu {
  display: flex;
}

.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-3 a {
  text-indent: -9999px;
  width: 25px;
  height: 25px;
  margin-right: 20px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: all .5s ease-in;
}

.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-3 a:hover {
  transform: scale(1.1);
}

.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-3:nth-child(1) a {
  background-image: url('/themes/custom/mahi_facelift/images/home/footer/facebook.png');
}

.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-3:nth-child(2) a {
  background-image: url('/themes/custom/mahi_facelift/images/home/footer/instagram.png');
}

.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-3:nth-child(3) a {
  background-image: url('/themes/custom/mahi_facelift/images/home/footer/linkedin.png');
}

.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-3:nth-child(4) a {
  background-image: url('/themes/custom/mahi_facelift/images/home/footer/youtube.png');
}


.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-has-children {
  display: flex;
  flex-direction: column;
  border: unset;
  padding: 0;

}

.footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-has-children>span {
  font-family: Raleway;
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: white;
  margin-bottom: 10px;

}

.footer-blocks .menu .menu-item-level-1>span {
  font-family: Raleway;
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: white;
  margin-bottom: 10px;
  display: flex;
}

.footer-blocks .menu .menu-item .submenu {
  /* padding-left: 7px; */
}

.footer-blocks .menu .menu-item .submenu>li {
  /* padding: 10px 0px; */
  padding-top: 15px;
  /* max-width: 70%; */
}

.footer-blocks .menu .menu-item .submenu li>a {
  font-family: Arial;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 20px;
  letter-spacing: 0%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-footer-facelift .menu>li:not(:last-child) a::before {
  content: '';
  width: 0px;
  height: 6px;
  border-radius: 50px;
  background: var(--laranja-facelift-1);
  display: inline-block;
  opacity: 1;
  transition: all .5s ease;
  margin-right: 7px;
}

.menu-footer-facelift .menu>li:not(:last-child) a:hover::before {
  width: 10px;
}



/* ------------ .footer-certificacoes  */


#block-mahi-facelift-views-block-ac-footer-certificacoes-block-1 {
  padding: 40px 0;

}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 0;
  font-size: var(--fonte-texto-p1);
  background: rgba(1, 55, 52, 1) !important;
}

.footer li,
.sidebar li {
  padding: 0;
}


.footer-certificacoes {
  max-width: 1100px;
  margin: auto;
  display: flex;
  /* justify-content: center; */
  align-items: center;
}

.footer-certificacoes .view-header {
  color: white;
  margin-right: 30px;
  display: flex;
  width: 114px;
}

.footer-certificacoes .view-header span {
  font-family: Raleway;
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: white;

}

.footer-certificacoes .view-content {
  width: 100%;
}

.footer-certificacoes .list-footer-certificacoes {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  justify-content: space-between;
}

.footer-certificacoes .list-footer-certificacoes .row-footer-certificacoes {
  display: flex;
  align-items: center;
}

.footer-certificacoes .list-footer-certificacoes .row-footer-certificacoes .views-field-field-image {
  position: relative;
  z-index: 1;
}

.footer-certificacoes .list-footer-certificacoes .row-footer-certificacoes img {
  max-width: 94px;
}


.footer-certificacoes .list-footer-certificacoes .row-footer-certificacoes .views-field-title {
  padding: 10px 15px;
  border: solid 2px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 60px;
  margin-left: -46px;
  padding-left: 50px;
  max-width: 280px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .5s ease-in;
}

.footer-certificacoes .list-footer-certificacoes .row-footer-certificacoes .views-field-title a {
  color: white;
}


.footer-certificacoes .list-footer-certificacoes .row-footer-certificacoes .views-field-title:hover {
  border-color: var(--laranja-facelift-1);
}

.footer-certificacoes .list-footer-certificacoes .row-footer-certificacoes .views-field-title .field-content {
  color: white;
  /* max-width: 72%; */
  /* display: flex
; */
  font-family: Raleway;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
}

/* ------------ footer copyright  */

#block-mahi-facelift-acfooterblackmenu {
  padding: 50px 0;
  background: var(--verde-facelift-2);
  margin-bottom: -17px;
}

#block-mahi-facelift-acfooterblackmenu .block-content {
  max-width: 1100px;
  margin: auto;
}

#block-mahi-facelift-acfooterblackmenu .block-content .logo-footer {
  display: flex;
  justify-content: center;
  padding: 60px 0;
  padding-top: 0;
}

#block-mahi-facelift-acfooterblackmenu .block-content .logo-footer img {
  max-width: 355px;
}

#block-mahi-facelift-acfooterblackmenu .block-content .footer-bottom {
  background: var(--verde-facelift-2) !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

#block-mahi-facelift-acfooterblackmenu .block-content .footer-bottom .box-footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}

#block-mahi-facelift-acfooterblackmenu .block-content .footer-bottom .box-footer-bottom .footer-responsavel {
  padding-right: 40px;
  border-right: solid 1px;
  margin-right: 40px;
  padding: 5px 0;
  padding-right: 40px;
  font-family: Arial;
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
}

.footer-copyright {
  font-size: 12px;
}


@media only screen and (max-width: 1100px) {

  .footer-blocks .menu {
    flex-wrap: wrap;
    max-width: 90%;
    margin: auto;
  }

  .footer-blocks .menu>.menu-item-level-1 {
    width: auto;
  }

  .footer-certificacoes .list-footer-certificacoes {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-certificacoes {
    flex-wrap: wrap;
  }

  #block-mahi-facelift-acfooterblackmenu .block-content .footer-bottom .box-footer-bottom {
    flex-wrap: wrap;
  }

  #block-mahi-facelift-acfooterblackmenu .block-content .footer-bottom .box-footer-bottom * {
    margin: auto;
  }

  .region-footer-top,
  .region-footer-bottom {
    max-width: 90%;
    margin: auto;
  }
}

/* --------------------------- MEDIA QUERY ------------------------------------- */



@media only screen and (max-width: 767px) {

  .footer-top {
    display: none;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 0;
    font-size: var(--fonte-texto-p1);
    background: rgba(1, 55, 52, 1) !important;
    margin-bottom: -17px;
  }

  .footer-blocks {
    padding: 20px;
    padding-top: 50px;
  }

  .footer-blocks .menu .menu-item-level-1>span {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    font-size: 18px;
    margin-bottom: 20px;

  }

  .footer-blocks .menu .menu-item-level-1>span:before {
    content: '';
    width: 20px;
    height: 6px;
    border-radius: 50px;
    background: var(--laranja-facelift-1);
    display: inline-block;
    opacity: 1;
    transition: all .5s ease;
    margin-right: 7px;
  }

  .footer-blocks .menu .menu-item-level-1>.submenu {
    margin-bottom: 0;
    margin-left: 20px;
  }

  .footer-blocks .menu .menu-item .submenu>li {
    padding: 10px 0;
  }

  .footer-blocks .menu>.menu-item-level-1 {
    width: 100%;
    border-bottom: solid 1px #D7F9D3;
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .footer-blocks .menu>.menu-item-level-1:last-child {
    width: 100%;
  }

  .footer-blocks .menu>.menu-item-level-1:last-child .submenu {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-2 {
    width: 46%;
  }

  .footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-2:not(:nth-child(2n)) {
    margin-right: 8%;
  }

  .footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-2 a:not(.menu-item-level-3 a) {
    border: solid 2px;
  }

  .footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-has-children {
    width: 100%;
    margin: 0 !important;
    border-top: solid 1px #D7F9D3;
    padding-top: 30px;
    margin-top: 30px !important;
  }

  #block-mahi-facelift-views-block-ac-footer-certificacoes-block-1 {
    padding: 30px 0;
    max-width: 90%;
    margin: auto;
    padding-top: 0;
    margin-top: -10px;
  }

  .footer-certificacoes .list-footer-certificacoes {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-certificacoes .list-footer-certificacoes .row-footer-certificacoes {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 20px;
  }

  .footer-certificacoes .list-footer-certificacoes .row-footer-certificacoes img {
    max-width: 60px;
  }

  .footer-certificacoes .list-footer-certificacoes .row-footer-certificacoes .views-field-title {
    max-width: none;
    width: 100%;
    border: solid 2px;
    text-align: start;
    /* font-weight: 700; */
    justify-content: start;
    height: 42px;

  }

  .footer-certificacoes .list-footer-certificacoes .row-footer-certificacoes .views-field-title .field-content {
    font-weight: 700;
    font-size: 14px;
  }

  .footer-certificacoes .view-header span {
    font-size: 18px;
  }

  #block-mahi-facelift-acfooterblackmenu {
    padding: 40px 0;
    background: transparent;
    margin-bottom: 0px;
    border-top: solid 1px #D7F9D3;
  }

  #block-mahi-facelift-acfooterblackmenu .block-content .logo-footer img {
    max-width: 247px;
  }

  #block-mahi-facelift-acfooterblackmenu .block-content .logo-footer {
    padding-top: 0;
    padding-bottom: 40px;
    border-bottom: solid 1px #D7F9D3;
    margin-bottom: 40px;
  }

  #block-mahi-facelift-acfooterblackmenu .block-content .footer-bottom .box-footer-bottom .footer-responsavel {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: solid 1px #D7F9D3;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  #block-mahi-facelift-acfooterblackmenu .block-content .footer-bottom .box-footer-bottom * {
    margin: auto;
    font-size: 13px;
  }

  #block-mahi-facelift-acfooterblackmenu .block-content .footer-bottom {
    background: transparent;
  }

  .footer-blocks .menu>.menu-item-level-1:last-child .submenu .menu-item-level-3 a {
    width: 34px;
    height: 32px;

  }
}
