/*
 * portal.css
 * Overrides do portal HTML+Bootstrap. NAO substitui style.css/custom.css legado;
 * apenas adiciona acessibilidade, alto contraste e classes novas (portal-*).
 *
 * Paleta original mantida: primaria #01349a, secundaria #904e8b.
 */

/* -------- Acessibilidade base -------- */

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    left: 8px;
    top: 8px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: #01349a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    z-index: 99999;
    font-family: Muli, Arial, sans-serif;
}
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Foco visivel para conformidade WCAG 2.4.7 */
a:focus, button:focus, input:focus, select:focus, textarea:focus, [tabindex]:focus {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
}
@supports selector(:focus-visible) {
    a:focus, button:focus, [tabindex]:focus {
        outline: none;
    }
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
        outline: 3px solid #ffbf47;
        outline-offset: 2px;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* -------- Header -------- */

.portal-header { background: #fff; }

/* Skip-links visiveis estilo eMAG/gov.br (linha azul fina no topo) */
.portal-skiplinks {
    background: #f0f4fa;
    border-bottom: 1px solid #e6e6e6;
    font-size: 13px;
}
.portal-skiplinks .container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 6px;
    padding-bottom: 6px;
    align-items: center;
}
.portal-skiplinks a, .portal-skiplinks__btn {
    color: #01349a;
    text-decoration: none;
    padding: 2px 6px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 13px;
}
.portal-skiplinks a:hover, .portal-skiplinks__btn:hover { text-decoration: underline; }
.portal-skiplinks__num {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    line-height: 18px;
    background: #01349a;
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
    margin-left: 2px;
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
}
.portal-skiplinks__right {
    margin-left: auto;
    display: flex;
    gap: 16px;
    align-items: center;
}
.portal-skiplinks__btn[aria-pressed="true"] { background: #01349a; color: #fff; border-radius: 3px; }

.portal-topbar {
    background: #fff;
    padding: 4px 0;
    border-bottom: 0;
}
.portal-topbar__btn {
    background: transparent;
    border: 1px solid #d0d0d0;
    color: #555;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border-radius: 3px;
    margin-left: 4px;
    min-width: 28px;
    text-align: center;
}
.portal-topbar__btn:hover {
    background: #01349a;
    color: #fff;
    border-color: #01349a;
}

.portal-brand { padding: 16px 0; }
.portal-brand__logo img { max-height: 70px; width: auto; }
.portal-brand__text { margin-left: 16px; }
.portal-brand__tipo {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}
.portal-brand__nome {
    font-family: Muli, Arial, sans-serif;
    font-size: 28px;
    color: #01349a;
    margin: 0;
    line-height: 1.1;
    font-weight: 700;
}
.portal-brand__contact {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.portal-brand__phone {
    color: #042433;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}
.portal-brand__phone i { color: #01349a; margin-right: 4px; }
.portal-brand__phone:hover { color: #01349a; }
.portal-brand__search { display: flex; max-width: 280px; }
.portal-brand__search input {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 38px;
    font-size: 13px;
}
.portal-brand__search button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0 14px;
}

@media (max-width: 767.98px) {
    .portal-skiplinks .container { font-size: 12px; gap: 4px; }
    .portal-skiplinks__right { width: 100%; margin-left: 0; }
    .portal-brand__contact { width: 100%; margin-top: 14px; justify-content: space-between; }
    .portal-brand__nome { font-size: 22px; }
}

/* -------- Menu -------- */

.portal-nav { background: #01349a; }
.portal-nav__toggle {
    background: transparent;
    border: 0;
    color: #fff;
    padding: 12px 16px;
    font-size: 16px;
    cursor: pointer;
}
.portal-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.portal-nav__item { position: relative; }
.portal-nav__link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 14px 18px;
    font-family: Muli, Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    transition: background-color 0.15s;
}
.portal-nav__link:hover, .portal-nav__link:focus, .portal-nav__link[aria-expanded="true"] {
    background: #042b7a;
    color: #fff;
}
.portal-nav__submenu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #904e8b;
    z-index: 100;
    display: none;
}
.portal-nav__item:hover > .portal-nav__submenu,
.portal-nav__item:focus-within > .portal-nav__submenu,
.portal-nav__item.is-open > .portal-nav__submenu { display: block; }
.portal-nav__sublink {
    display: block;
    padding: 8px 18px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
.portal-nav__sublink:hover, .portal-nav__sublink:focus { background: #f4f4f4; color: #01349a; }

@media (max-width: 991.98px) {
    .portal-nav__list { display: none; flex-direction: column; }
    .portal-nav__list.is-open { display: flex; }
    .portal-nav__submenu { position: static; box-shadow: none; border-top: 0; padding-left: 16px; }
}

/* -------- Home: slide -------- */

.portal-home-slide .carousel-item img { width: 100%; height: auto; max-height: 480px; object-fit: cover; }
.portal-home-slide .carousel-caption {
    background: rgba(1, 52, 154, 0.7);
    border-radius: 6px;
    padding: 16px 24px;
    bottom: 32px;
}
.portal-home-slide .carousel-caption h2 { font-size: 22px; margin: 0 0 4px; }

/* -------- Slide alternativo (banner full-width) -------- */

.portal-slidealt { background: #f5f5f5; }
.portal-slidealt img { width: 100%; height: auto; max-height: 360px; object-fit: cover; display: block; }
.portal-slidealt .carousel-item img { max-height: 360px; object-fit: cover; }

/* -------- Home: secoes -------- */

.portal-home { padding-top: 30px; padding-bottom: 30px; }
.portal-home__main { padding-right: 30px; }
.portal-home__sidebar { padding-left: 0; }

@media (max-width: 991.98px) {
    .portal-home__main { padding-right: 15px; }
    .portal-home__sidebar { padding-left: 15px; margin-top: 30px; }
}

.portal-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 2px solid #e6e6e6;
    padding-bottom: 10px;
    margin: 30px 0 20px;
}
.portal-section-header > div { flex: 1; min-width: 0; }
.portal-section-header__title {
    font-size: 22px;
    color: #042433;
    margin: 0;
    font-weight: 700;
}
.portal-section-header__sub {
    margin: 2px 0 0;
    color: #904e8b;
    font-size: 13px;
    font-style: italic;
}
.portal-section-header__more {
    color: #904e8b;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    align-self: center;
}
.portal-section-header__more:hover { text-decoration: underline; color: #01349a; }
.portal-section-header__more i { margin-left: 6px; }

.portal-section-header--accent {
    background: linear-gradient(to right, #fff5f9 0%, #fff 60%);
    border-left: 5px solid #904e8b;
    padding: 12px 14px 10px;
    margin: 30px 0 18px;
    border-bottom: 1px solid #e6e6e6;
}

/* -------- Data badge: DD em cima, MES embaixo -------- */

.portal-date-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(1, 52, 154, 0.92);
    color: #fff;
    border-radius: 4px;
    padding: 4px 10px;
    text-align: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-family: Muli, Arial, sans-serif;
    z-index: 2;
    min-width: 42px;
}
.portal-date-badge__day {
    display: block;
    font-size: 22px;
    font-weight: 700;
}
.portal-date-badge__month {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.portal-date-badge--sm {
    top: 8px;
    left: 8px;
    padding: 3px 7px;
    min-width: 36px;
}
.portal-date-badge--sm .portal-date-badge__day { font-size: 18px; }
.portal-date-badge--sm .portal-date-badge__month { font-size: 10px; }

/* -------- Noticias em destaque (carrossel grande) -------- */

.portal-destaque__carousel {
    position: relative;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
}
.portal-destaque__item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.portal-destaque__media {
    position: relative;
    flex: 0 0 45%;
    max-width: 45%;
    overflow: hidden;
}
.portal-destaque__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    min-height: 280px;
}
.portal-destaque__media:hover img { transform: scale(1.04); }
.portal-destaque__body {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.portal-destaque__title {
    font-size: 20px;
    margin: 0 0 12px;
    line-height: 1.3;
    font-weight: 700;
}
.portal-destaque__title a { color: #042433; text-decoration: none; }
.portal-destaque__title a:hover { color: #01349a; }
.portal-destaque__resumo {
    color: #555;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 16px;
}
.portal-destaque__more {
    align-self: flex-end;
    color: #01349a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.portal-destaque__more:hover { color: #042b7a; text-decoration: underline; }
.portal-destaque__more i { margin-right: 4px; }

.portal-destaque__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e6e6e6;
    color: #01349a;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.portal-destaque__nav:hover { background: #fff; color: #042b7a; }
.portal-destaque__nav--prev { left: 12px; }
.portal-destaque__nav--next { right: 12px; }

@media (max-width: 767.98px) {
    .portal-destaque__item { flex-direction: column; }
    .portal-destaque__media { flex: 1; max-width: 100%; }
    .portal-destaque__media img { min-height: 200px; max-height: 240px; }
    .portal-destaque__body { padding: 18px; }
}

.portal-card { margin-bottom: 24px; }
.portal-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: #f4f4f4;
}
.portal-card__media img { width: 100%; height: 170px; object-fit: cover; transition: transform 0.3s; display: block; }
.portal-card__media:hover img { transform: scale(1.04); }
.portal-card__media--video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.35));
    pointer-events: none;
}
.portal-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(1, 52, 154, 0.85);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.2s, background-color 0.15s;
}
.portal-card__media:hover .portal-card__play {
    transform: translate(-50%, -50%) scale(1.1);
    background: #01349a;
}
.portal-card__body { padding: 12px 0; }
.portal-card__date { font-size: 12px; color: #888; display: block; margin-bottom: 4px; }
.portal-card__title { font-size: 15px; line-height: 1.35; margin: 0; font-weight: 600; }
.portal-card__title a { color: #042433; text-decoration: none; }
.portal-card__title a:hover { color: #01349a; }

/* -------- Sidebar: Acesso Rapido -------- */

.portal-acessorapido { margin-bottom: 30px; }
.portal-acessorapido__list { list-style: none; padding: 0; margin: 0; }
.portal-acessorapido__list li { margin-bottom: 6px; }

.portal-acessorapido__btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px !important;
    border-radius: 0 !important;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff !important;
    text-decoration: none;
    transition: filter 0.15s, transform 0.15s;
    border: 0 !important;
}
.portal-acessorapido__btn:hover {
    filter: brightness(1.08);
    color: #fff !important;
    transform: translateX(2px);
    text-decoration: none;
}
.portal-acessorapido__btn i { font-size: 16px; }

/* Cores do legado (btn-laranja, btn-azul, etc) - reproduzidas aqui caso o CSS
   antigo nao defina para botoes empilhados. */
.btn-laranja { background-color: #ec7c0d !important; }
.btn-azul    { background-color: #01349a !important; }
.btn-verde   { background-color: #2e7d32 !important; }
.btn-roxo    { background-color: #904e8b !important; }
.btn-vermelho{ background-color: #c0392b !important; }
.btn-amarelo { background-color: #d4a800 !important; }
.btn-cinza   { background-color: #5a6268 !important; }

.portal-thumb {
    display: block;
    margin-bottom: 16px;
    text-decoration: none;
    color: #fff;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.portal-thumb img { width: 100%; height: 140px; object-fit: cover; }
.portal-thumb__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    font-size: 13px;
    font-weight: 600;
}

.portal-home__destaque-card {
    display: flex;
    background: #fafafa;
    border: 1px solid #e6e6e6;
    border-left: 5px solid #01349a;
    text-decoration: none;
    color: inherit;
    margin-bottom: 30px;
    transition: box-shadow 0.2s;
}
.portal-home__destaque-card:hover { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); }
.portal-home__destaque-card img { width: 35%; max-width: 320px; object-fit: cover; }
.portal-home__destaque-text { padding: 18px 24px; flex: 1; }
.portal-home__destaque-text h3 { color: #01349a; margin: 0 0 8px; }

/* -------- Footer -------- */

.portal-footer { background: #042433; color: #cfd6dc; margin-top: 40px; }
.portal-footer__main { padding: 36px 0 20px; }
.portal-footer__title { color: #fff; font-size: 16px; margin-bottom: 14px; font-weight: 700; }
.portal-footer__address, .portal-footer__phones { font-size: 14px; line-height: 1.6; }
.portal-footer__phones { list-style: none; padding: 0; }
.portal-footer__phones a { color: #cfd6dc; text-decoration: none; }
.portal-footer__phones a:hover { color: #fff; }
.portal-footer__links { list-style: none; padding: 0; columns: 1; }
.portal-footer__links a { color: #cfd6dc; text-decoration: none; font-size: 14px; line-height: 2; }
.portal-footer__links a:hover { color: #fff; text-decoration: underline; }
.portal-footer__social { list-style: none; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.portal-footer__social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.15s;
}
.portal-footer__social a:hover { background: #01349a; }
.portal-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 0;
    font-size: 12px;
}
.portal-footer__top {
    background: #01349a;
    color: #fff;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}
.portal-footer__top:hover { background: #042b7a; }

/* -------- Paginas auxiliares -------- */

.portal-page { padding: 30px 0 60px; }
.portal-page__header { margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid #e6e6e6; }
.portal-page__header h2 { color: #01349a; }
.portal-form .form-group label { font-weight: 600; }
.portal-sitemap { list-style: none; padding-left: 0; }
.portal-sitemap > li { margin-bottom: 12px; }
.portal-sitemap ul { list-style: disc; padding-left: 24px; }

.portal-noscript-banner {
    padding: 12px;
    background: #fff3cd;
    color: #664d03;
    text-align: center;
    border-bottom: 1px solid #ffe69c;
}

/* -------- Tema alto contraste (data-theme=hc) -------- */

html[data-theme="hc"], html[data-theme="hc"] body {
    background: #000 !important;
    color: #fff !important;
}
html[data-theme="hc"] a,
html[data-theme="hc"] .portal-brand__nome,
html[data-theme="hc"] .portal-section-header h2 { color: #ffbf47 !important; }
html[data-theme="hc"] .portal-nav { background: #000 !important; border-top: 1px solid #ffbf47; border-bottom: 1px solid #ffbf47; }
html[data-theme="hc"] .portal-nav__link { color: #ffbf47 !important; }
html[data-theme="hc"] .portal-footer { background: #000 !important; color: #fff !important; border-top: 1px solid #ffbf47; }
html[data-theme="hc"] .portal-card__body, html[data-theme="hc"] .portal-card__title a { color: #fff !important; }
html[data-theme="hc"] .btn-primary { background: #ffbf47 !important; color: #000 !important; border-color: #ffbf47 !important; }
html[data-theme="hc"] img { filter: grayscale(100%) contrast(1.1); }

/* -------- Escala de fonte -------- */

html[data-fontscale="lg"]  body { font-size: 1.10em; }
html[data-fontscale="xl"]  body { font-size: 1.20em; }
html[data-fontscale="sm"]  body { font-size: 0.92em; }

/* -------- Compatibilidade visual Vue legado -------- */

.bar_acessibilidade {
    margin-top: 9px;
    margin-bottom: -9px;
    padding-bottom: 7px;
    border-bottom: 1px solid #f2f2f2;
}
.linkacessib {
    font-size: 12px;
    margin-right: 9px;
}
.linkacessib span {
    padding: 1px 3px;
    background-color: blue;
    color: #fff;
    font-size: 11px;
}
header.site-header-3 nav.site-desktop-menu > ul > li > a,
header.site-header-3 nav.site-desktop-menu > ul > li > a span {
    color: #fff !important;
    font-family: Raleway, Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
}
header.site-header-3 nav.site-desktop-menu > ul > li > ul a,
header.site-header-3 nav.site-desktop-menu > ul > li > ul a span {
    font-family: Raleway, Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
}
header.site-header-3 .main-bar > .container > .row > .col-md-12[style*="height: 106px"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0 !important;
}
header.site-header-3 #logo.site-logo {
    margin-top: 0 !important;
}
header.site-header-3 #logo.site-logo > a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
header.site-header-3 .logo-principal {
    float: none;
    flex: 0 0 auto;
}
header.site-header-3 .nomes-logo {
    float: none;
    margin-top: 0;
}
header.site-header-3 .header-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
header.site-header-3 .header-buttons > * {
    float: none !important;
    margin-left: 0 !important;
}
header.site-header-3 .header-contact {
    order: 1;
}
header.site-header-3 #buscasite {
    order: 2;
}
header.site-header-3 .header-contact {
    margin-top: 0 !important;
}
header.site-header-3 .search-button {
    margin-top: 0 !important;
}
header.site-header-3 .header-contact ul {
    display: flex;
    align-items: center;
    margin: 0;
}
header.site-header-3 .search-form {
    display: flex;
    align-items: center;
}
header.site-header-3 .busca-top {
    height: 30px;
    line-height: 30px !important;
}

/* Menu mobile legado: centralizacao do botao hamburguer */
@media (max-width: 991.98px) {
    #menuprincipal {
        position: relative;
    }
    .site-header #show-mobile-menu.btn-mobile-menu {
        float: none;
        margin: 0;
        width: 42px;
        height: 42px;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .site-header #show-mobile-menu.btn-mobile-menu i {
        width: auto;
        line-height: 1;
        border: 0;
        color: #fff;
        font-size: 18px;
    }
    nav.site-mobile-menu > ul > li > ul > li > a {
        padding-left: 34px;
    }
}
.bgpreto { background: #000 !important; }
.textobranco { color: #fff !important; }
.textopreto { color: #000 !important; }
.linkamarelo { color: #FFF333 !important; }
.bgbranco { background: #fff !important; }

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 35px;
    height: 35px;
}
.newbtnslide { border: 2px solid; color: #fff; }
.caixatextoslide {
    position: absolute;
    z-index: 100;
    top: 28%;
    color: #fff;
    width: 100%;
    text-align: center;
}
.btn-more {
    border: 0;
    background-color: transparent;
}
.btn-more:hover { background-color: #a1b1bc; }
h3.post-title.notic,
.dif-text-item {
    margin-top: 15px;
    font-size: 17px;
}
.projects-boxes .project-item { margin-bottom: 0; }
.project-details2 p {
    text-align: center;
    padding-top: 18px;
    color: #fff;
}
.project-details2 {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: rgba(0,0,0,.5);
    top: 0;
    left: 0;
    opacity: 0;
    text-align: center;
    transition: all .5s ease-in-out;
}
.project-details2:hover {
    display: block;
    top: 0;
    left: 0;
    opacity: 1;
}
.img_banalter { width: 100%; }
.owl-theme .owl-controls {
    display: none;
    margin: 0;
}
.slidealter .owl-wrapper { margin: 0 -1.5px; }
.slidealter .owl-item { padding: 0 1.5px; }
.compact-buttons,
.compact-buttons div,
.compact-buttons i {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.compact-buttons div {
    -webkit-tap-highlight-color: transparent;
}
.compact-buttons div:focus,
.compact-buttons div:active {
    outline: none;
}
.compact-buttons .compact-first { margin-right: 2px; }
.compact-buttons .compact-last { margin-left: 2px; }
.compact-buttons div.is-disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}
.compact-buttons div.is-hidden {
    display: none;
}
.slidealter .owl-item .item {
    box-sizing: border-box;
    position: relative;
    transition: none;
}
.slidealter .owl-item .img_banalter {
    display: block;
    transition: none;
}
.slidealter .owl-item.is-current .item {
    z-index: 2;
}
.slidealter .owl-item.is-current .img_banalter {
    transform: none;
    filter: none;
}
.slidealter .owl-item .item:hover .project-details2 {
    display: block;
    top: 0;
    left: 0;
    opacity: 1;
}
.slidealter .project-details2 p {
    display: none !important;
}
.slidealter .owl-item.is-current .item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .22);
    z-index: 101;
    pointer-events: none;
}
.galeria-div-videos .project-item-inner {
    background: #eef1f5;
    aspect-ratio: 16 / 9;
}
.galeria-div-videos .project-item-inner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Página de vídeo: ampliar player e remover largura fixa legada */
.page-simples-vue-parity #container_video {
    width: 100%;
    max-width: 100%;
}
.page-simples-vue-parity #container_video .placeholder {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin: 20px 0 28px;
    padding: 0;
}
.page-simples-vue-parity #container_video .placeholder:after {
    display: none;
}
.page-simples-vue-parity #container_video .placeholder iframe,
.page-simples-vue-parity #container_video > iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    min-height: 360px;
    aspect-ratio: 16 / 9;
    margin: 0;
    border: 0;
}
.page-simples-vue-parity #container_video .placeholder h2 {
    margin-top: 10px;
}

@media (max-width: 767.98px) {
    .page-simples-vue-parity #container_video .placeholder iframe,
    .page-simples-vue-parity #container_video > iframe {
        min-height: 220px;
    }
}
.acesso-serv { width: 100%; }
.btn.itemservico2 { line-height: 22.5px; }
.btn-acess-serv { margin: 0 0 10px; }
.btn-acess-serv > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    min-height: 54px;
}
.btn-acess-serv > a,
.btn-acess-serv > a:visited,
.btn-acess-serv > a:hover,
.btn-acess-serv > a:active,
.btn-acess-serv > a:focus,
.btn-acess-serv > a:focus-visible {
    color: #fff !important;
    text-decoration: none;
}
.btn-acess-serv > a .titulosistema,
.btn-acess-serv > a i {
    color: inherit !important;
}
.titulosistema {
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.btn-acess-serv > a i {
    flex: 0 0 auto;
}
.btn-acess-serv > a i:first-of-type {
    margin-left: auto;
}
.link-redes-sociais {
    color: black;
    font-weight: bold;
    margin-left: 20px;
}
.social-badge {
    display: inline-flex;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    vertical-align: middle;
}
.social-badge__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff !important;
    text-decoration: none;
    line-height: 1;
}
.social-badge__link .fa {
    font-size: 18px;
}
.espaco-entre-redes { margin-bottom: 20px; }
footer.bg-color-1 { margin-top: 25px; }
.gotop {
    float: right;
    position: relative;
    margin-right: 5%;
    border-radius: 50%;
    background-color: #042433;
    margin-top: -43px;
    cursor: pointer;
}
.gotop i {
    padding: 10px 10px;
    color: #fff;
    margin-top: -2px;
}
.copy-site { margin: 0 auto; }

ul.listmapasite {
    padding-left: 0px;
    margin-bottom: 1.5rem;
}
ul.listmapasite li {
    list-style: none;
    font-weight: 400;
}
ul.listmapasite li ul { padding-left: 20px; }
.titmenumapa {
    font-size: 14px;
    font-weight: 500;
}
.hidden { display: none; }
.idpagina {
    display: inline-block;
    margin: 0 15px;
    font-size: 15px;
}
.setapaginate { font-size: 20px; }
.pager li > a { border-radius: 3px; }
.legacy-pagination-wrap {
    margin-top: 10px;
    text-align: center;
}
.legacy-pagination {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.legacy-page-btn {
    min-width: 30px;
    height: 30px;
    border: 1px solid #d8dbe2;
    border-radius: 8px;
    background: #f3f5f8;
    color: #7c8391;
    font-size: 15px;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}
.legacy-page-btn:hover { background: #e8ebf1; text-decoration: none; color: #6a7180; }
.legacy-page-btn.is-disabled,
.legacy-page-btn.is-disabled:hover {
    opacity: .6;
    cursor: not-allowed;
    pointer-events: none;
}
.legacy-page-info {
    font-size: 13px;
    color: #404850;
    min-width: 116px;
    text-align: center;
}
.legacy-page-size {
    height: 30px !important;
    min-width: 56px;
    border: 1px solid #cfd6e3 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    color: #404850 !important;
    background: #fff;
    line-height: 28px !important;
    padding: 0 7px;
    box-sizing: border-box !important;
}
.legacy-page-size:focus { border-color: #9fb5dd !important; box-shadow: none !important; }
@media (max-width: 767px) {
    .legacy-pagination { gap: 6px; }
    .legacy-page-btn {
        min-width: 26px;
        height: 26px;
        font-size: 13px;
        line-height: 24px;
        border-radius: 6px;
    }
    .legacy-page-info { font-size: 13px; min-width: auto; }
    .legacy-page-size { height: 26px !important; min-width: 50px; font-size: 12px !important; line-height: 24px !important; border-radius: 7px !important; }
}

#section-about { padding-top: 0px; }
.control-label {
    margin-bottom: 0;
    margin-top: 5px;
}
.form-control, select.form-control {
    height: calc(2.25rem + 5px) !important;
    font-size: 12px;
    text-transform: uppercase;
}
.textcadastro p {
    line-height: 18px;
    margin-bottom: 10px;
    font-size: 13px;
    text-align: justify;
}
.textcadastro h4 { font-size: 20px; }

.enquete-pergunta {
    font-weight: 700;
    color: #2f3a46;
    margin: 6px 0 12px;
}
.conteudoenquete label {
    font-weight: 400;
    color: #5a6470;
}
.conteudoenquete label:has(input[type="radio"]:checked) {
    font-weight: 500;
    color: #4a5561;
}

/* Ajuste de paridade tipografica da listagem Vue (noticias/fotos/videos/eventos)
   sem depender do bundle Quasar/Vue. */
.page-listagem-noticias .blog-list .post-content,
.page-listagem-noticias .blog-list .post-content p,
.page-listagem-noticias .blog-list .post-metadata span,
.page-listagem-noticias .main-sidebar .widget ul li a {
    font-family: Roboto, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.page-listagem-noticias .blog-list .post-title h5,
.page-listagem-noticias .blog-list .post-title h5 a {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: normal;
    text-transform: none;
}
.page-listagem-noticias .blog-list .post-entry p {
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 16px;
}
.page-listagem-noticias .blog-list .post-metadata span,
.page-listagem-noticias .blog-list .post-metadata span a {
    font-size: 16px;
}
.page-listagem-noticias .blog-list .latest-blog-post-data .btn-read a {
    font-size: 16px;
    line-height: 1.5;
}

/* Paridade Vue -> PHP para paginas carregadas por menu/submenu
   (ex.: Historia, Telefones Uteis e Contato). */
.page-simples-vue-parity,
.page-simples-vue-parity p,
.page-simples-vue-parity li,
.page-simples-vue-parity li a,
.page-faleconosco-vue-parity,
.page-faleconosco-vue-parity p,
.page-faleconosco-vue-parity li,
.page-faleconosco-vue-parity li a,
.page-faleconosco-vue-parity input,
.page-faleconosco-vue-parity select,
.page-faleconosco-vue-parity textarea {
    font-family: Roboto, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.page-simples-vue-parity p,
.page-faleconosco-vue-parity p {
    font-size: 14px;
    line-height: 1.7;
}
.page-simples-vue-parity .tit-bloco-princ,
.page-faleconosco-vue-parity .tit-bloco-princ {
    letter-spacing: normal;
}

@media (min-width: 768px) {
    .row .cad_tipo { padding-right: 6px; width: 8.6%; }
    .row .cad_cpfcnpj { padding: 0 6px; width: 13%; }
    .row .cad_nome { padding: 0 6px; width: 77.59%; }
    .row .cad_cep { padding-right: 6px; width: 9%; }
    .row .cad_endereco { padding: 0 6px; width: 84%; }
    .row .cad_num { padding-left: 6px; width: 7%; }
    .row .cad_complemento { padding-right: 6px; width: 54.59%; }
    .row .cad_municipio, .row .cad_bairro { padding: 0 6px; width: 20%; }
    .row .cad_uf { padding-left: 6px; width: 5.5%; }
    .row .cad_email { padding-right: 6px; width: 76.18%; }
    .row .cad_celular { padding: 0 6px; width: 12%; }
}
