#block-mahi-facelift-popupportalpaciente {
  position: fixed;
  background: white;
  z-index: 700;
  margin: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* display: none; */
  width: 100%;
  height: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  background: #00000080;
  background: rgb(0 0 0 / 50%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(5px);
  display: none;
}


.caixa-popup-portal {
  width: 767px;
  background: white;
  padding: 10px 0;
  max-height: 767px;
}

.close-popup-portal {
  display: flex;
  justify-content: end;
  margin: 10px 20px;
}

.close-popup-portal img {
  width: 30px;
  cursor: pointer;
}

.box-popup-portal {
  padding: 40px;
  padding-top: 0;
}

.ct-header-popup-portal {
  display: flex;
  justify-content: space-between;
}

.title-popup-portal {
  font-size: 38px;
  color: var(--verde-nobre);
  font-weight: 700;
  font-family: 'Raleway';
  max-width: 410px;
  line-height: 34px;
  display: flex;
  margin-bottom: 10px;
}

.span-popup-portal {
  font-family: 'Raleway';
  display: flex;
  max-width: 330px;
  font-weight: 500;
  font-size: 18px;
}

.img-popup-portal img {
  width: 212px;
}

.ct-body-popup-portal {
  padding: 20px;
  background: var(--background-image-home);
}

.ct-body-popup-portal {
  padding: 40px;
  background: var(--background-image-home);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: -25px;
}

.body-popup-portal,
.ct-cta-portal {
  max-width: 450px;
}

.body-popup-portal {
  background: var(--verde-menta);
  padding: 20px;
  border-radius: 20px;

  font-weight: 400;
  font-size: 18px;
}

.body-popup-portal strong {
  display: flex;
  margin-top: 10px;
}

.body-popup-portal *,
.body-popup-portal span,
.body-popup-portal strong {
  color: black;
  line-height: 22px;
}

.ct-cta-portal {
  width: 450px;
  display: flex;
  justify-content: end;
}

.ct-cta-portal a {
  padding: 20px;
  border-color: var(--laranja-facelift-1);
  background: #fed16d;
  border-radius: 40px;
  color: var(--verde-nobre);
  font-weight: bold;
  font-size: 18px;
  margin-top: -20px;
}

.footer-popup-portal {
  max-width: 70%;
  padding: 15px 30px;
  border-radius: 0 30px 30px 0;
  border: solid 2px var(--verde-nobre);
  border-left: 0;
  margin: 10px 0;
  padding-left: 100px;
  /* display: flex; */
  margin-top: 0;
}

.footer-popup-portal>span:nth-child(1) {
  font-weight: bold;
  display: flex;
  color: black;
  margin-bottom: 10px;
}

.footer-popup-portal a {
  color: black;
  text-decoration: underline;
}

.footer-popup-portal a span {
  color: black;
  font-weight: bold;
}

.footer-popup-portal span {
  color: black;

}

@media (max-width:767px) {
  .close-popup-portal img {
    width: 20px;
  }


  .title-popup-portal {
    font-size: 28px;
    line-height: 24px;
    overflow: initial;
  }

  .caixa-popup-portal {
    width: auto;
    background: white;
    padding: 10px 0;
    max-height: 90vh;
    max-width: 90%;
    margin: auto;
  }

  .ct-body-popup-portal {
    margin-top: 10px;
  }

  .span-popup-portal {
    font-size: 16px;
  }

  .body-popup-portal,
  .ct-cta-portal {
    max-width: 100%;
    width: 100%;
  }

  .body-popup-portal,
  .body-popup-portal *,
  .body-popup-portal a,
  .body-popup-portal span,
  .body-popup-portal strong,
  .body-popup-portal a span {
    font-size: 16px;
    line-height: 18px;
  }

  .ct-body-popup-portal {
    padding: 20px;
  }

  .box-popup-portal {
    padding-bottom: 20px;
  }

  .footer-popup-portal {
    padding: 15px;
    max-width: 90%;
    padding-left: 30px;
  }

  .ct-cta-portal a {
    padding: 15px;
    font-size: 14px;
    margin-top: -15px;
  }

  .box-popup-portal {
    padding: 25px;
    padding-top: 0;
  }

  .img-popup-portal {
    display: none;
  }

  .title-popup-portal {
    font-size: 24px;
    line-height: 22px;
  }

  .title-popup-portal,
  .span-popup-portal {
    max-width: 100%;
  }

  #block-mahi-facelift-popupportalpaciente {
    z-index: 1000;
  }

}


@media (max-width:500px) {
  .img-popup-portal {
    display: none;
  }

  .title-popup-portal {
    font-size: 24px;
    line-height: 22px;
  }

  .title-popup-portal,
  .span-popup-portal {
    max-width: 100%;
  }

}

@media (min-width:1024px) and (max-height:650px) {
  .box-popup-portal {
    padding: 10px 40px;
  }

  .close-popup-portal img {
    width: 24px;
    cursor: pointer;
  }

  .img-popup-portal img {
    width: 150px;
  }

  .title-popup-portal {
    font-size: 32px;
    line-height: 28px;
  }

  .ct-body-popup-portal {
    padding: 20px 40px;
    margin-top: 0;
  }

  .span-popup-portal {
    max-width: 100%;
    font-size: 16px;
  }

  .close-popup-portal {
    margin: 5px 20px;
  }

  .footer-popup-portal {
    padding: 10px 30px;
  }
}

@media (min-width:1024px) and (max-height:500px) {

  .img-popup-portal {
    display: none;
  }

  .title-popup-portal {
    max-width: 100%;
  }

  .body-popup-portal,
  .ct-cta-portal {
    max-width: 100%;
  }

  .ct-cta-portal a {
    padding: 10px;
    border-color: var(--laranja-facelift-1);
    background: #fed16d;
    border-radius: 40px;
    color: var(--verde-nobre);
    font-weight: bold;
    font-size: 16px;
    margin-top: -15px;
  }

  .body-popup-portal *,
  .body-popup-portal span,
  .body-popup-portal strong {
    color: black;
    line-height: 18px;
  }

  .body-popup-portal {
    background: var(--verde-menta);
    padding: 20px;
    border-radius: 20px;
    font-weight: 400;
    font-size: 16px;
  }

  .footer-popup-portal {
    font-size: 15px;
  }
}

@media (min-width:1024px) and (max-height:400px) {

  .ct-body-popup-portal {
    padding: 5px 40px;
    margin-top: 0;
  }

  .title-popup-portal {
    font-size: 32px;
    line-height: 22px;
  }

  .footer-popup-portal>span:nth-child(1) {
    margin-bottom: 0px;
  }

  .box-popup-portal {
    padding: 0px 40px;
  }
}

@media (max-width:767px) and (max-height:600px) {

  .title-popup-portal {
    font-size: 24px;
    line-height: 22px;
  }

  .close-popup-portal {
    margin-bottom: 10px;
  }

  .title-popup-portal {
    font-size: 22px;
    line-height: 18px;
  }

  .ct-body-popup-portal {
    padding: 5px;
  }

  .span-popup-portal {
    display: none;
  }

  .footer-popup-portal {
    padding: 10px;
    font-size: 14px;
  }

  .footer-popup-portal>span:nth-child(1) {
    margin-bottom: 2px;
  }
}


@media (max-width:550px) and (max-height:470px) {

  .caixa-popup-portal {
    overflow: scroll;
  }
}

@media (max-height: 700px) {
    .caixa-popup-portal {
        max-height: unset;
        overflow: initial;
    }
}