/*
Theme Name: Revista piauí 2021 (Atualizado em 2023 v2.0)
Template: piaui_2018
Theme URI: http://piaui.folha.uol.com.br
Author: Revista piauí
Author URI: http://piaui.folha.uol.com.br
Description: Tema personalizado para Revista piauí
Version: 2.0
*/
body::before {
  content: "";
}

a:hover {
  color: initial;
}

h2.main__noticia--destaque--principal--title,
h2.main__noticia--destaque--title,
h2.main__noticia--title,
h2.home__aside--card--title {
  text-transform: uppercase;
}

#barra-aux .barra-folha,
#barra-aux .barrauol,
.barra-folha {
  display: block !important;
}

.edicaohome_old.wrapper {
  padding-top: 7rem;
}

.btnvermais {
  display: none;
}

.main__noticia--destaque--img.imgArtigosSalvos {
  width: 100%;
  max-width: 20rem;
  min-width: 20rem;
  height: 15rem;
  background-size: cover;
}

.alignleft,
img.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright,
img.alignright {
  float: right;
  margin-left: 1.5rem;
}

.aligncenter,
img.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wrapper {
  max-width: 1020px;
}

.header__principal--logo a svg {
  width: max-content;
}

.home__aside--title--container {
  padding: 15px 0 6px 0;
}

.noticia__header--seemore--content.active {
  overflow-wrap: break-word;
}

.header__principal--advert--item--text .italic {
  padding: 3px 0 0 0;
}

.wp-video-shortcode,
.mejs-video {
  width: 100%;
}

.interna__bottom--adverts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5rem;
}

@media (max-width: 720px) {
  .interna__bottom--adverts {
    padding: 3rem 0rem;
    flex-direction: column;
    gap: 3rem;
  }
}

@media (max-width: 720px) {
  #conversion-form-assine-a-newsletter-conteudo .bricks-form__fieldset {
    width: unset !important;
  }

  .piaui-entre-destaques > div > div {
    /*display: none;*/
  }
}

.capitalize,
.capitular {
  font-style: normal;
}

.todosIgualdades__container--item > div > a img {
  height: 23rem;
  object-fit: cover;
}

span.legendaCapaEdicao {
  color: white;
}

.content__lock--icon.iconpodcast {
  color: #2b2b2b;
  width: 2rem;
  height: 2rem;
}

.home__aside--destaque--info a:hover,
.legendaCapaEdicao a:hover {
  color: #f15b40;
}

.contentpaywall p {
  margin-bottom: 25px;
}

#galeriaslick {
  display: grid;
  max-width: 100% !important;
}

#galeriaslick .slick-dots {
  bottom: -50px;
}

#galeriaslick .slick-dots button {
  background: #c6c6c6 !important;
  width: 15px;
  height: 15px;
}

#galeriaslick .slick-active button {
  background: #f05a3f !important;
}

#galeriaslick .slick-dots li.slick-active button:before {
  color: #f05a3f !important;
  opacity: 0.75;
}

#galeriaslick .slick-dots li button:before {
  color: #c6c6c6 !important;
}

#galeriaslick .slick-slide img {
  max-width: 100% !important;
}

@media only screen and (min-width: 800px) {
  #galeriaslick .post-img {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .revista__main--listagem .revista__main--listagem--destaques {
    display: block;
  }

  .revista__main--colaboradores {
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  #galeriaslick .post-img {
    max-width: 400px !important;
  }
}

.tab-container .tab {
  display: none;
}

.tab-container .tab.active {
  display: flex;
}

.herald__posts--archive--month.tab.is-current {
  display: flex;
}

.textupercase {
  text-transform: uppercase;
}

.menu__dropdown.retmenujs.userlogged.alerterrors::before {
  content: "!";
  display: block;
  font-size: 15px;
  color: white;
  background: #f15b40;
  width: fit-content;
  padding: 1px 8px;
  position: absolute;
  top: -3px;
  left: -25px;
  border-radius: 10px;
  font-weight: bold;
}

/* Tooltip text */
.menu__dropdown.retmenujs.userlogged.alerterrors .alerttip {
  visibility: hidden;
  width: 120px;
  background-color: #727272;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  top: -52px;
  left: -32px;
  font-size: 12px;
}

.menu__dropdown.retmenujs.userlogged.alerterrors:hover .alerttip {
  visibility: visible;
}

.editalert {
  color: red;
  font-size: 20px;
  position: absolute;
  top: 31px;
  left: -25px;
}

.blocolistagem {
  padding-bottom: 20px;
  border-bottom: 0.16rem solid #d8d8d8;
  margin-top: 10px;
  display: block;
}

.blocolistagem:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.blocolistagem .styletitle {
  margin: 15px 0 20px 0;
  display: block;
  font-size: 18px;
}

.blocolistagem .alignleft {
  float: left;
  margin-right: 15px;
}

.blocolistagem .alignright {
  float: right;
  margin-left: 15px;
}

.blocolistagem p {
  display: inline-block;
}

.revista__download {
  margin: 10px 0 100px;
  width: 100%;
}

.revista__download a {
  display: flex;
  align-items: center;
  background-color: #2b2b2b;
  font-size: 15px;
  line-height: 17px;
  font-weight: 400;
  color: #fff;
  font-family: "TradeGothic LT Std";
  text-transform: uppercase;
  padding-left: 11px;
}

.revista__download span {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 6px;
  border-left: 1px solid #fff;
}

.revista__download span svg {
  width: 15px;
  height: auto;
}

.revista__item__text {
  flex-basis: 22.5%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: 0.3s;
}

.revista__item__text .revista__download {
  margin-bottom: 0;
}

.noticia__main--materia .noticia__readmore {
  padding: 0 0 7.1rem;
  margin: 4.8rem 0 6.9rem;
  border-bottom: 2px solid #c4c4c4;
}

.noticia__main--materia .noticia__readmore--title {
  border: none;
  padding: 0rem;
  margin: 0 0 2.8rem;
  text-transform: unset;
  font-family: "Palatino", serif;
  font-size: 4rem;
  line-height: 4.4rem;
  color: #f15b40;
  font-weight: 400;
  text-align: left;
}

.noticia__main--materia .noticia__readmore--content {
  flex-direction: column;
}

.noticia__main--materia .noticia__readmore--card--container {
  flex-basis: unset;
}

.noticia__main--materia .noticia__readmore--card--container:not(:last-child) {
  margin-bottom: 2.8rem;
}

.noticia__main--materia
  .noticia__readmore--card--container
  a.noticia__readmore--card {
  width: 100%;
  text-decoration: unset;
}

.noticia__main--materia .noticia__readmore--card--img {
  display: none;
}

.noticia__main--materia .main__noticia--tipo {
  display: none;
}

.noticia__main--materia .main__noticia--autor {
  display: none;
}

.noticia__main--materia .noticia__readmore--card--info {
  gap: unset;
  padding: 0;
  display: block;
}

.noticia__main--materia
  .noticia__readmore--card--info
  .home__aside--card--title,
.noticia__main--materia .noticia__readmore--card--info .main__noticia--desc {
  display: inline;
  color: #211f20;
  font-size: 2.2rem;
  line-height: 3.2rem;
  text-decoration: underline;
  text-transform: unset;
  font-style: italic;
  font-family: "Palatino", serif;
}

.noticia__main--materia
  .noticia__readmore--card--info
  .home__aside--card--title {
  font-weight: 700;
}

.noticia__main--materia
  .noticia__readmore--card--info
  .home__aside--card--title::after {
  content: ":";
}

.home__aside--card--img:has(img) {
  position: relative;
  height: unset;
}

.home__aside--card--img > img {
  width: 100%;
  height: auto;
}

.home__aside--card--img:has(img) .content__lock {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.noticia__main--materia .noticia__readmore--card--info .main__noticia--desc {
  font-weight: 400;
}

.main__noticia--destaque--principal--img {
  height: unset;
  aspect-ratio: 43 / 29;
}

.noticia__readmore--card--img {
  /* background-size: cover;
   background-position: center; */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.divisor--horizontal + .divisor--horizontal {
  display: none;
}

@media only screen and (min-width: 801px) {
  .noticia__readmore--content {
    gap: 5rem;
  }

  .noticia__readmore--card--container {
    flex: 1;
  }

  .noticia__readmore--card--container:not(:nth-child(3))::before {
    content: "";
    position: absolute;
    top: 0;
    right: -2.5rem;
    width: 1px;
    height: 100%;
    background-color: #d8d8d8;
  }
}

.p-plans {
  display: flex;
  justify-content: space-between;
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
}

.p-plan {
  flex: 0 0 calc(50% - 2.1rem);
  background-color: #fff;
  border: 1px solid #a6a7a9;
  box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 3.8rem;
}

.p-plan:first-child {
  border-color: #f15b40;
}

.p-plan > span {
  padding: 1rem 0;
  font-size: 1.7rem;
  color: #fff;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background-color: #f15b40;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  font-family: "TradeGothic", sans-serif;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.p-plan > span:empty {
  background-color: #fff;
}

.p-plan > h3 {
  font-size: 3rem;
  line-height: 2.1rem;
  color: #000;
  font-family: "Palatino", sans-serif;
  margin: 0 0 2rem;
}

.p-plan__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-plan__text div {
  display: flex;
  align-items: center;
}

.p-plan__text div span {
  font-size: 3rem;
  line-height: 2.8rem;
  color: #000;
  font-weight: 700;
  font-family: "TradeGothIC", sans-serif;
  margin-right: 0.5rem;
}

.p-plan__text div span:last-child {
  font-size: 6.5rem;
  line-height: 0.85;
  font-family: "Palatino", sans-serif;
  font-weight: 400;
}

.p-plan__text p {
  font-size: 2.2rem;
  line-height: 2.7rem;
  color: #000;
  font-weight: 400;
  font-family: "Palatino", sans-serif;
}

.p-plan__text p strong {
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  font-weight: 700;
}

/* sale style */
.assinepiaui__header--content.wrapper.sale > h2 {
  letter-spacing: 0.02em;
}

.p-plan__text.sale p {
  font-size: 2.2rem;
  line-height: 2.7rem;
  font-family: "Palatino", sans-serif;
  font-weight: 400;
}

.p-plan__text.sale p:first-child {
  width: 70%;
  position: relative;
}
.p-plan__text.sale p:first-child::after {
  border-bottom: 0.125em solid #f15a24;
  content: "";
  left: 0;
  line-height: 1em;
  margin-top: calc(0.125em / 2 * -1);
  position: absolute;
  right: 0;
  top: 50%;
}

.p-plan__text.sale p:nth-child(2) strong {
  display: inline-flex;
  align-items: center;
}

.p-plan__text.sale p:nth-child(2) span {
  font-size: 6.5rem;
  line-height: normal;
  font-weight: 400;
  padding: 5px 5px 0;
}

.p-plan__text.sale p:nth-child(2) {
  font-size: 3rem;
  line-height: 2.8rem;
  font-family: "Palatino", sans-serif;
  font-weight: 400;
}

.p-plan__text.sale_yearly {
  min-height: 27%;
}

/* yearly sale style */
.p-plan__text.yearly_sale p:first-child {
  width: 100% !important;
  position: static !important;
}

.p-plan__text.yearly_sale p:first-child::after {
  content: none !important;
}

.p-plan__buttons {
  margin: 1rem 0 1.5rem;
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 9rem;
}

.p-plan__buttons > a {
  background: #6c6c6c;
  border-radius: 4px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 3.5rem;
  color: #fff;
  font-weight: 400;
  font-family: "TradeGothIC", sans-serif;
}

.p-plan__buttons > a:not(:last-child) {
  margin: 0 0 0.7rem;
}

.p-plan__buttons .swg-button-dark {
  width: 100%;
  max-width: unset;
  padding: 0;
  min-height: unset;
  height: 3.5rem;
}

.p-plan__buttons .swg-button-dark::after {
  max-width: 100%;
  width: 100%;
  content: "Assine com o Google";
  background-image: unset !important;
  font-size: 2rem;
  line-height: 3.5rem;
  color: #fff;
  font-weight: 400;
  max-height: unset;
  font-family: "TradeGothIC", sans-serif;
}

.p-plan__buttons .swg-button-dark:hover {
  background-color: #000;
}

.p-plan__list {
  width: 80%;
  list-style: none;
}

.p-plan__list li {
  font-size: 2rem;
  line-height: 3.3rem;
  display: flex;
  align-items: baseline;
  font-weight: 400;
  gap: 0.9rem;
  font-family: "TradeGothIC", sans-serif;
}

.p-plan:last-child .p-plan__buttons a {
  background-color: #000;
}

.main-content.bg-gradient-alter {
  padding: 0 10px;
}

div.assinepiaui__header--alter div.assinepiaui__header--content {
  padding: 0;
  margin: 0 auto;
  padding: 65px 0;
  border-top: 1.5px solid #c5c5c5;
}

div.assinepiaui__header--alter div.assinepiaui__header--content h2 {
  font-size: 5.6rem;
  line-height: 6.9rem;
  /* font-family: 'TradeGothic LT', sans-serif; */
  font-weight: 700;
  letter-spacing: 0.0001em;
}

div.assinepiaui__header--alter div.assinepiaui__header--content p {
  font-size: 2.4rem;
  line-height: 1;
  /* font-family: 'TradeGothic LT', sans-serif; */
  font-weight: 700;
  text-transform: unset;
  margin: 0;
  color: #808080;
  letter-spacing: 0.03em;
}

div.assinepiaui__header--alter div.assinepiaui__header--content > img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: auto;
  max-width: 25%;
}

div.bg-gradient-alter {
  background: rgba(255, 255, 255, 1);
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 35%,
    rgba(229, 229, 229, 1) 35%,
    rgba(229, 229, 229, 1) 100%
  );
  background: -webkit-gradient(
    left top,
    left bottom,
    color-stop(0%, rgba(255, 255, 255, 1)),
    color-stop(35%, rgba(255, 255, 255, 1)),
    color-stop(35%, rgba(229, 229, 229, 1)),
    color-stop(100%, rgba(229, 229, 229, 1))
  );
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 35%,
    rgba(229, 229, 229, 1) 35%,
    rgba(229, 229, 229, 1) 100%
  );
  background: -o-linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 35%,
    rgba(229, 229, 229, 1) 35%,
    rgba(229, 229, 229, 1) 100%
  );
  background: -ms-linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 35%,
    rgba(229, 229, 229, 1) 35%,
    rgba(229, 229, 229, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 35%,
    rgba(229, 229, 229, 1) 35%,
    rgba(229, 229, 229, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5', GradientType=0 );
  width: 100%;
  max-width: unset;
}

/* @media only screen and (max-width: 1440px) and (min-width: 800px) { */
div.assinepiaui__header--alter div.assinepiaui__header--content {
  padding: 20px 0 30px;
}

div.assinepiaui__header--alter div.assinepiaui__header--content > img {
  top: 35px;
  transform: unset;
  right: 10px;
  max-width: 23%;
}

/* } */
@media only screen and (min-width: 801px) {
  .page-template-planos-alter .header__principal--menu {
    display: none;
  }
}

@media only screen and (max-width: 800px) {
  .p-plan__text.sale_yearly {
    min-height: 0;
  }

  .revista__header--more {
    margin-bottom: -2rem;
    margin-top: 0;
  }

  .revista__download {
    margin-bottom: 0;
  }

  .revista__item__text {
    flex-basis: 48.5%;
  }

  .revista__header {
    background: linear-gradient(
      180deg,
      #fff 30%,
      #2b2b2b 30%,
      #2b2b2b 76%,
      #fff 76%
    );
  }

  .revista__download a {
    text-transform: unset;
    justify-content: center;
    position: relative;
    padding: 1.1rem 6rem 1.1rem 0;
  }

  .revista__download span {
    margin: 0;
    position: absolute;
    right: 0;
    padding: 11px 16px;
  }

  .revista__item__text .revista__download {
    margin: 0 0 1rem;
  }

  .revista__item__text .revista__download a {
    padding: 0.9rem 1.6rem;
    justify-content: flex-start;
    margin: 0 0 0;
  }

  .revista__item__text .revista__download span {
    padding: 11px;
  }

  .header__mobile--menu > div:not(:first-of-type) {
    display: none;
  }

  .p-plans {
    flex-direction: column;
  }

  .p-plan {
    flex: unset;
    flex: 0 0 100%;
  }

  .p-plan:last-child {
    margin: 2rem 0 0;
  }

  div.assinepiaui__header--alter div.assinepiaui__header--content > img {
    display: none;
  }

  div.assinepiaui__header--alter div.assinepiaui__header--content h2 {
    font-size: 4.3rem;
    line-height: 1.4;
    text-align: center;
  }

  div.assinepiaui__header--alter div.assinepiaui__header--content p {
    font-size: 2.1rem;
    line-height: 1;
    text-align: center;
  }

  div.assinepiaui__header--alter div.assinepiaui__header--content {
    padding: 15px 0;
  }

  .main-content.bg-gradient-alter {
    padding-top: 15px;
  }

  div.assinepiaui__header--alter div.assinepiaui__header--content {
    border-top: none;
  }

  .page-template-planos-alter .header__principal--top a svg {
    width: 90px;
  }

  .page-template-planos-alter .btn__assine {
    opacity: 0;
    visibility: hidden;
  }
}

ul.leiamaislbock h5 {
  margin-left: -15px;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: "TradeGothic LT CondEighteen";
  color: #f15b40;
}

.leiamaislbock {
  display: grid;
  font-family: "TradeGothic";
  font-size: 1.4rem;
  color: black;
  transition: 0.3s;
  margin-left: 15px;
  margin-bottom: 20px;
}

.leiamaislbock li {
  margin-bottom: 2px;
}

@media only screen and (max-width: 480px) {
  .cardeleicao h3 {
    padding-bottom: 1.5rem !important;
  }
}

.piaui-interna-001,
.piaui-interna-002,
.piaui-interna-003 {
  padding: 0 0 50px 0;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.single h2.desc {
  font-weight: 100;
}

:root {
  --plyr-color-main: #f15b40;
}

.plyr--video.plyr--hide-controls .plyr__controls {
  transform: unset !important;
  opacity: 1 !important;
  pointer-events: all !important;
}

.noticia__header--img:not([style]) {
  height: auto;
}

@media only screen and (max-width: 800px) {
  .main__noticia.main__noticia--destaque--principal video {
    height: auto;
  }
}

.galeria-floating {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  background-color: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.galeria-floating.active {
  opacity: 1;
  visibility: visible;
}

.galeria-floating .slick-slider {
  width: 100%;
  margin: 0 auto;
  max-width: 85%;
}

.galeria-floating-close {
  position: absolute;
  top: 35px;
  right: 35px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  color: #fff;
  font-size: 50px;
  font-weight: 900;
  font-family: serif;
  line-height: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.galeria-floating .slick-arrow {
  display: flex !important;
  align-items: center;
  width: unset;
  height: unset;
}

.galeria-floating .slick-arrow::before {
  font-size: 35px;
}

.galeria-floating .post-img {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.galeria-floating .post-img .post-legenda {
  color: #fff;
}

/* .post-legenda {
   width: 1020px;
   max-width: 90%;
   margin: 0rem auto;
} */

.galeria-floating .post-img img {
  max-height: 90vh;
  width: 100%;
  max-width: 90% !important;
  object-fit: contain;
  margin: 0 auto;
}

.galeria-floating .slick-dots {
  display: none;
}

.open-galeria {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f15b40;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 30px 0 auto;
  transform: translateY(-55px);
}

.open-galeria svg {
  height: auto;
}

.open-galeria svg path {
  fill: #fff;
}

.wrapp-contents:not(.slidercat) {
  gap: 1rem;
}

.wrapp-contents:not(.slidercat) .content_item {
  min-width: unset;
  width: unset;
  height: unset;
  padding: 0 0 40px;
  aspect-ratio: 16 / 9;
  flex: 0 0 calc(50% - 0.5rem);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wrapp-contents:not(.slidercat) .content_item::after {
  height: 100%;
}

@media only screen and (max-width: 800px) {
  .wrapp-contents:not(.slidercat) .content_item {
    flex: 0 0 100%;
  }
}

.youtubeiframe {
  height: 100%;
}

.noticia__header--img.hasyoutube {
  height: 64rem;
}

.tag-cards .contentdiv .card__img {
  background-size: cover;
}

.no-margin-bottom {
  margin-bottom: 0;
}

.post-legenda {
  font-family: "Piaui";
  font-size: 1em;
  padding: 3px 0;
  text-align: justify;
  max-width: 1024px;
  width: 100%;
  margin: 1rem auto;
}

/* parallax */
.parallax-container {
  font-family: "Palatino", serif;
}

/* parallax toogle box */
.parallax-container > p.toogle-box {
  background-color: rgba(255, 255, 255, 0.88);
  text-shadow: none !important;
  padding: 2rem;
  border-radius: 0.5rem;
  color: black !important;
}

/* parallax endentação */
.parallax-container > p.endentacao {
  width: 1020px;
  max-width: 90% !important;
  margin: 2rem auto;
}

.parallax-container > p:last-of-type {
  background: none !important;
}
