/* Ajustes da versão estática (antes feitos via JavaScript/SharePoint). */

/* A capa do relatório acompanha a altura da caixa (antes: JS que copiava a altura) */
.box-relatorios { display: flex; flex-wrap: wrap; }
.box-relatorios > .col-capa { position: relative; min-height: 230px; }
.box-relatorios > .col-capa .box-relatorios-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.box-relatorios-links h5 { line-height: 1.3; }
@media (max-width: 767px) {
    .box-relatorios { display: block; }
    .box-relatorios > div { padding-left: 0; padding-right: 0; }
    .box-relatorios > .col-capa { min-height: 0; }
    .box-relatorios > .col-capa .box-relatorios-img { position: static; height: auto; }
}
.box-relatorios .detalhe-doc { opacity: .8; font-size: 80%; white-space: nowrap; }

/* Menu lateral das iniciativas (antes movido via JS a partir do SharePoint) */
#sideNavBox ul.root { list-style: none; padding-left: 0; }
#sideNavBox .menu-item { display: block; }

/* Faixa superior e cabeçalho (no SharePoint vinham do portal da loja) */
.barra-loja { height: 50px; background: #08788a; line-height: 50px; font-family: Arial, sans-serif; font-size: 14px; }
.barra-loja a { color: #fff; text-decoration: underline; }
.barra-loja .mdi { font-size: 20px; vertical-align: middle; text-decoration: none; }
.pagina-interna .header-container { height: 100px; background: #1e1a44; }
.navbar.bg-menu { background-color: rgba(0, 0, 0, .4); border: none !important; z-index: 2; opacity: 1 !important; }
.pagina-interna .navbar.bg-menu { background-color: transparent; }

/* Item de menu da página atual */
.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus { background: transparent; color: #fff; text-decoration: underline; text-underline-offset: 6px; }

/* Linha decorativa ao lado do menu das iniciativas (o SharePoint calculava a altura via JS) */
.linha-lateral { display: none; }

video { max-width: 100%; height: auto; }

/* Owl Carousel: setas sem margem/padding/arredondamento (antes editado direto em vendor/owl/owl.theme.default.min.css) */
.owl-theme .owl-nav [class*="owl-"] { margin: 0; padding: 0; border-radius: 0; }
/* Owl Carousel 2.3 usa <button> nas setas e bolinhas; anula a regra global de button herdada do SharePoint (style.css) */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot { min-width: 0; }
.owl-carousel button.owl-dot { margin-left: 0; }

/* Antes: setImagesResponsive() do SharePoint adicionava .img-responsive nestas imagens */
.responsive-selector img,
img[style="BORDER:0px solid;"] { display: block; max-width: 100%; height: auto; }
