/* begin: FOOTER */
.full-grid.with-footer footer {
  padding: 0 1rem 1rem 1rem;
  background: rgb(46, 46, 46);
  background: -moz-linear-gradient(
    180deg,
    rgba(46, 46, 46, 1) 0%,
    rgba(80, 80, 80, 1) 100%
  );
  background: -webkit-linear-gradient(
    180deg,
    rgba(46, 46, 46, 1) 0%,
    rgba(80, 80, 80, 1) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(46, 46, 46, 1) 0%,
    rgba(80, 80, 80, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2e2e2e",endColorstr="#505050",GradientType=1);
}

.full-grid.with-footer footer .menu-legenda ul,
.full-grid.with-footer footer .menu-apoio ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.full-grid.with-footer footer .menu-apoio {
  display: flex;
  margin-left: 6.7rem;
  align-items: center;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 50;
}

.full-grid.with-footer footer .menu-apoio .swiperMenu {
  margin: 0;
  width: 100%;
  padding-bottom: 0.4rem;
}

.full-grid.with-footer footer .menu-apoio .bt-voltar {
  margin-right: 1rem;
  margin-top: -0.4rem;
}

.full-grid.with-footer footer .menu-apoio .bt-voltar svg {
  width: 3.2rem;
  fill: #fff;
  transition: fill 250ms linear;
}

.full-grid.with-footer footer .menu-apoio .bt-voltar:hover svg {
  fill: var(--moa-orange);
}

.full-grid.with-footer footer .menu-apoio ul {
  max-width: calc(100vw - 4rem);
}

.full-grid.with-footer footer .menu-apoio li {
  display: flex;
  align-items: center;
  margin-right: 1rem;
  width: fit-content;
  overflow: visible;
}

.full-grid.with-footer footer .menu-apoio li a {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  font-size: 1.2rem;
  background-color: #fff;
  border: solid 2px #fff;
  padding: 0.4rem 1rem;
  color: #4a4a4a;
  white-space: nowrap;
  border-radius: 1.4rem / 50%;
  -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.6);
  transition: background-color 200ms linear, border-color 200ms linear,
    color 200ms linear;
}

.full-grid.with-footer footer .menu-apoio li a.lnk-magnify-ms {
  text-transform: uppercase;
  padding: 0.2rem 1rem;
}

.full-grid.with-footer footer .menu-apoio li a svg {
  max-width: 24px;
  height: 20px;
  margin-left: 0.1rem;
  margin-right: 1rem;
  fill: var(--moa-blue);
  transition: fill 200ms linear;
}

.full-grid.with-footer footer .menu-apoio li a.lnk-referencias svg {
  max-width: 20px;
  margin-left: 0.4rem;
}
.full-grid.with-footer footer .menu-apoio li a.lnk-magnify-ms svg {
  max-width: 42px;
  height: 24px;
  margin-left: 0;
}

.full-grid.with-footer footer .menu-apoio li a.bt-laranja {
  background-color: var(--moa-orange);
  border-color: var(--moa-orange);
  color: #fff;
}

.full-grid.with-footer footer .menu-apoio li a.bt-laranja svg {
  fill: #fff;
}

.full-grid.with-footer footer .menu-apoio li a.ativo,
.full-grid.with-footer footer .menu-apoio li a:hover {
  background-color: var(--moa-blue);
  border-color: var(--moa-orange);
  color: #fff;
}

.full-grid.with-footer footer .menu-apoio li a.ativo svg,
.full-grid.with-footer footer .menu-apoio li a:hover svg {
  fill: #fff;
}

.full-grid.with-footer footer .menu-legenda {
  position: relative;
  margin-left: 4.3rem;
  margin-top: -3.1rem;
  opacity: 1;
  transition: opacity 200ms linear;
}

.full-grid.with-footer footer .menu-legenda ul {
  display: none;
  position: absolute;
  z-index: 30;
  width: fit-content;
  max-width: 40rem;
  top: calc(-10.3rem + 4.6rem);
  left: 4rem;
  padding-left: 2rem;
}
.full-grid.with-footer footer .menu-legenda.menu-legenda-5 ul {
  max-width: 50rem;
  top: calc(-10.3rem + 4.4rem);
}

.full-grid.with-footer footer .menu-legenda ul::before {
  content: "";
  display: block;
  position: absolute;
  width: 90%;
  height: 50%;
  left: 1%;
  top: 43%;
  /*bottom:-19%;*/
  border-radius: 1.5rem 0 0 0;
  border-left: solid 0.1rem var(--moa-orange);
  border-top: solid 1px var(--moa-orange);
}

.full-grid.with-footer footer .menu-legenda.open ul {
  display: flex;
}

.full-grid.with-footer footer .menu-legenda .toggler-menu-legenda {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--moa-orange);
  cursor: pointer;
  z-index: 40;
  pointer-events: all;
  transition: color 200ms linear;
}
.full-grid.with-footer footer .menu-legenda .toggler-menu-legenda span {
  margin-top: 1.4rem;
}
.full-grid.with-footer footer .menu-legenda .toggler-menu-legenda svg {
  width: 9.1rem;
  padding: 1.5rem;
}
.full-grid.with-footer footer .menu-legenda .toggler-menu-legenda::after {
  content: "";
  display: block;
  position: absolute;
  top: 3.6rem;
  left: 3.6rem;
  width: 0;
  height: 0;
  border-left: 1rem solid transparent;
  border-right: 1rem solid transparent;

  border-bottom: 1.6rem solid #0076aa;
  transform: rotate(0);
  transform-origin: 50% 55%;
  transition: transform 200ms linear;
}

.full-grid.with-footer footer .menu-legenda.open .toggler-menu-legenda {
  color: var(--moa-grey);
}
.full-grid.with-footer footer .menu-legenda.open .toggler-menu-legenda::after {
  transform: rotate(180deg);
  border-bottom-color: #969696;
}

.full-grid.with-footer footer .menu-legenda ul li {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 25%;
}

.full-grid.with-footer footer .menu-legenda.menu-legenda-5 ul li {
  width: 20%;
}

.full-grid.with-footer footer .menu-legenda ul li::before {
  /* content:'';
  position:absolute;
  display:block;
  height:1px;
  border-top:solid 1px var(--moa-orange);
  top:calc(50% - 5px);
  left:0;
  right:0; */
}
.full-grid.with-footer footer .menu-legenda ul li:first-child::before {
  width: 50%;
  left: unset;
}
.full-grid.with-footer footer .menu-legenda ul li:last-child::before {
  width: 50%;
  right: unset;
}
.full-grid.with-footer footer .menu-legenda ul li::after {
  content: "";
  width: 100%;
  height: 2rem;
  background: url("../img/sombra_legenda.png") center top no-repeat;
  background-size: cover;
  margin-top: -0.6rem;
}

.full-grid.with-footer footer .menu-legenda ul li a.leg-item.enabled {
  pointer-events: all;
}
.full-grid.with-footer footer .menu-legenda ul li a.leg-item {
  color: rgba(0, 0, 0, 0);
  position: relative;
  display: block;
  pointer-events: none;
}
.full-grid.with-footer footer .menu-legenda ul li a.leg-item.ativo::after,
.full-grid.with-footer footer .menu-legenda ul li a.leg-item:hover::after {
  opacity: 1;
}
.full-grid.with-footer footer .menu-legenda ul li a.leg-item::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  padding: 100% 100% 0 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 150ms linear;
}
.leg-linfocitos::after {
  background-image: url("../img/celulas_apoptose1_hover.png");
}
.leg-linfocitos-saudaveis::after {
  background-image: url("../img/celulas1_hover.png");
}
.leg-linfocitos-autoreativos::after {
  background-image: url("../img/celulas2_hover.png");
}
.leg-celulas-nk::after {
  background-image: url("../img/celulas3_hover.png");
}
.leg-neutrofilos::after {
  background-image: url("../img/celulas4_hover.png");
}
.leg-monocitos::after {
  background-image: url("../img/celulas5_hover.png");
}

.full-grid.with-footer footer .base-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.full-grid.with-footer footer .txt-footer {
  padding: 0;
}

.txt-footer {
  color: #868686;
  font-size: 1rem;
  padding-bottom: 4rem;
}

/* --------------- 
MEDIA QUERIES
---------------  */

@media screen and (max-width: 991.98px) {
  .full-grid.with-footer footer .menu-apoio {
    margin-left: 0;
  }

  .full-grid.with-footer footer .menu-legenda {
    margin-left: -2rem;
  }
}

@media (max-width: 575.98px) {
  .full-grid.with-footer footer .container {
    width: calc(100vw - 2rem);
  }

  .full-grid.with-footer footer .menu-legenda.menu-legenda-5 ul,
  .full-grid.with-footer footer .menu-legenda ul {
    max-width: 72vw;
    padding-left: 0;
    top: unset;
    left: 2rem;
    bottom: 8.5rem;
  }
  .full-grid.with-footer footer .menu-legenda.menu-legenda-5 ul {
    max-width: 90vw;
  }
  .full-grid.with-footer footer .menu-legenda ul::before {
    border-radius: 0;
    top: 50%;
    left: 2.6rem;
    height: 60%;
    width: 80%;
  }
  .full-grid.with-footer footer .menu-legenda ul li:first-child {
    margin-left: -12px;
  }
  .full-grid.with-footer footer .menu-legenda ul li::before {
    top: 50%;
  }
  .full-grid.with-footer footer .menu-legenda ul li::after {
    display: none;
  }
}

@media (max-width: 499.98px) {
  .full-grid.with-footer footer .menu-legenda ul li:first-child {
    margin-left: 0;
  }
  /* .full-grid.with-footer footer .menu-legenda ul{
    padding-left:0;
    top:unset;
    bottom:80px;
  }
  .full-grid.with-footer footer .menu-legenda ul::before{
    border-radius:0;
  }
  .full-grid.with-footer footer .menu-legenda ul li:first-child{
    margin-left:-12px;
  }
  .full-grid.with-footer footer .menu-legenda ul li::before{
    top:50%;
  }
  .full-grid.with-footer footer .menu-legenda ul li::after{
    display:none;
  } */
  .base-footer img {
    /*max-width:25%;*/
    margin-left: 1.2rem;
  }
}

/* end: FOOTER */

@media screen and (min-width: 1040px) and (min-height: 1900px) {
  .full-grid.with-footer footer .menu-apoio {
    margin-left: 0;
  }

  .full-grid.with-footer footer .menu-apoio .bt-voltar svg {
    width: 2.3rem;
  }

  .full-grid.with-footer footer .menu-apoio li a {
    padding: 0.8rem 1rem;
    border-radius: 1.4rem / 50%;
  }

  .full-grid.with-footer footer .menu-legenda {
    margin-left: -2rem;
  }

  .full-grid.with-footer footer .menu-legenda ul {
    padding-left: 0;
    width: 40rem;
    /*top:unset;
    bottom:80px;*/
    top: calc(-10.3rem + 3rem);
  }

  .full-grid.with-footer footer .menu-legenda ul::before {
    border-radius: 0;
  }
  .full-grid.with-footer footer .menu-legenda ul li:first-child {
    margin-left: -3rem;
  }
  .full-grid.with-footer footer .menu-legenda ul li::before {
    top: 50%;
  }
  .full-grid.with-footer footer .menu-legenda ul li::after {
    display: none;
  }
  .full-grid.with-footer footer .menu-legenda img {
    width: 8rem;
    max-width: unset;
  }

  .txt-footer {
    font-size: 1rem;
  }

  .base-footer img {
    max-width: unset;
    margin-left: 1.2rem;
  }

  .full-grid.with-footer footer .menu-apoio li a.lnk-magnify-ms {
    padding: 0.8rem 1rem;
  }
}
