@font-face {
  font-family: "RedditSans-Regular";
  src: url("../fonts/RedditSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "RedditSans-Bold";
  src: url("../fonts/RedditSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* 
  iBahia • 2023 - MUNDIWARE
*/
.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease-in 1 forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.fade-out {
  opacity: 1;
  animation: fadeOut 0.5s ease-in 1 forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

*::selection {
  background: #FF1938 100%;
  color: #fff;
}

* {
  margin: 0px;
  padding: 0px;
  border: 0px;
  font-weight: normal;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  list-style: none;
  line-height: 1;
  outline: 0px;
  background: none;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  transition: 0.4s;
  font-family: 'RedditSans-Regular', Arial, Helvetica, sans-serif;
}

*::-webkit-scrollbar-track {
  background-color: transparent;
  -ms-overflow-style: none;
  /* IE 11 */
  scrollbar-width: none;
  /* Firefox 64 */
}

* {
  -ms-overflow-style: none;
  /* Disable scrollbar IE 10+ */
}

body::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
body::-webkit-scrollbar-button {
  width: 4px;
  height: 4px;
}
body::-webkit-scrollbar-thumb {
  background: var(--vermelhoPadrao);
  border: 0px none #ffffff;
  border-radius: 50px;
}
body::-webkit-scrollbar-thumb:hover {
  background: var(--vermelhoPadrao);
}
body::-webkit-scrollbar-thumb:active {
  background: var(--vermelhoPadrao);
}
body::-webkit-scrollbar-track {
  background: #ffffff;
  border: 0px none #ffffff;
  border-radius: 50px;
}
body::-webkit-scrollbar-track:hover {
  background: #b3b3b3;
}
body::-webkit-scrollbar-track:active {
  background: #ebebeb;
}
body::-webkit-scrollbar-corner {
  background: transparent;
}
*::-webkit-scrollbar {
  width: 1px;
  background-color: transparent;
  -ms-overflow-style: none;
  /* IE 11 */
  scrollbar-width: none;
  /* Firefox 64 */
}

*::-webkit-scrollbar-thumb {
  background-color: transparent;
  -ms-overflow-style: none;
  /* IE 11 */
  scrollbar-width: none;
  /* Firefox 64 */
}

a,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  cursor: pointer;
}

/* Cores Principais */
:root {
  --verdePadrao: #158543;
  --verdeEscuro: #26603c;
  --verdeClaro: #20c634;
  --roxoPadrao: #812ccb;
  --cinzaPadrao: #727070;
  --cinzaClaro: #efefef;
  --azulPadrao: #1462a3;
  --cinzaEscuro: #4e4e4e;
  --douradoPadrao: #b79116;
  --douradoEscuro: #937100;
  --vinho: #67161e;
  --pretoFull: #000;
  --pretoPadrao: #161616;
  --branco: #FFFFFF;
  --vermelhoPadrao: #FF1938;
  --laranjaPadrao: #CB4C1C;
}

body {
  overflow-x: hidden;
  -ms-overflow-style: none;
  background-color: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

b {
  font-weight: bold;
}

i {
  font-style: italic;
}
.spin {
  transform-origin: center;
  animation: spin 1s linear infinite;
}
@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.lightbox,
#maisTocadasVideos,
#lightboxVideo {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.lightbox.hidden,
#maisTocadasVideos.hidden,
#lightboxVideo.hidden {
  opacity: 0;
  visibility: hidden;
}

#lightboxVideo > *,
#maisTocadasVideos>* {
  max-width: 95%;
  width: 100%;
  max-height: 85%;
}

.lightbox .close {
  position: absolute;
  right: -4px;
  top: -10px;
  font-size: 0.7em;
  cursor: pointer;
  background-color: var(--vermelhoPadrao);
  color: #fff;
  padding: 5px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  display: flex;
  margin: 5%;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-content img {
  max-width: 1220px;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-position: top;
}

/* ESTILO PADRÃO PARA PÁGINA + RESPONSIVIDADE */
.ib-page {
  max-width: 1240px;
  width: 100%;
  margin: auto;
  padding: 0 20px;
  margin-top: 24px;
}

/* PARAR SCROLL DA PÁGINA */
.stopScroll {
  overflow-y: hidden;
  height: 100%;
}

/* DOTS DOS WIDGETS */
.ib-dot {
  width: 8px;
  min-width: 8px;
  height: 8px;
  background-color: var(--vermelhoPadrao);
  border-radius: 50%;
}


/* BARRA DE PROGRESSO */
.ib-progressBar {
  position: fixed;
  top: 0;
  background: red;
  width: 100%;
  height: 8px;
  display: flex;
  align-items: center;
}

#progressBar {
  background-color: #fff;
  height: 80%;
  border-radius: 0 5px 5px 0;
}

/* ANUNCIOS IBAHIA */
.ib-ad {
  background: #f5f6f7 0% 0% no-repeat padding-box;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow:hidden;
}
.ib-ad > div {
  display: flex;
  justify-content: center;
  align-items: center;
  position: inherit;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 0.5s ease-in 1 forwards;
}
.ib-ad > div:empty,
.ib-ad > div > div:empty{
  display:none;
}
.ib-ad.ad350x300 {
  width: 100%;
  max-width: 350px;
  max-height: 300px;
  height: 300px;
}
.ib-ad.ad336x280 {
  width: 100%;
  max-width: 336px;
  max-height: 280px;
  min-height: 280px;
  height: 280px;
  margin: auto;
}

.continue-after-publi {
    font-family: 'RedditSans-Regular', Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-align: center;
    width: 100%;
    display: block;
    color: #646464;
    margin-bottom: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 700px){
  .ib-ad.full{
    height: 280px;
  }

  .ib-storiesIframe .content>iframe {
    max-height: 700px;
}
}

/* lightbox stories */

.ib-storiesIframe {
  cursor: pointer;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.ib-storiesIframe.hidden {
  opacity: 0;
  visibility: hidden;
}

.ib-storiesIframe .content {
  position: relative;
  max-width: 620px;
  width: 100%;
  padding: 20px;
  height: 100%;
  max-height: 100vh;
}

.ib-storiesIframe .content .close {
  position: absolute;
  left: 38px;
  top: 38px;
  cursor: pointer;
}

.ib-storiesIframe .content .close > img {
  width: 12px;
  height: 12px;
}

.ib-storiesIframe .content>iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
.ib-patrocinio {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--pretoFull);
  opacity: 0.8;
  letter-spacing: 0.12px;
}
.ib-patrocinio > a > img {
  width: 65px;
  height: 22px;
}
.ib-scroll-header {
  width: 100%;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  position: fixed;
  top: 0;
  z-index: 99;
  opacity: 0;
  height: 0;
  overflow: hidden;
  box-shadow: 0 5px 15px #0000000d;
}
.ib-scroll-header.visible {
  opacity: 1;
  height: 130px;
}

.ib-scroll-header .mw-header-content {
  z-index: 3;
  margin: 20px auto 20px auto;
}

@media screen and (max-width: 768px) {
  .ib-scroll-header.visible {
    height: 108px;
  }
}