﻿.icon-social {
    color: #213847
}
.dropdown-menu {
    background: #ebedeb;
    color: #13394D;
}

.dropdown-item {
    color: #000;
    padding: 20px;
    border-bottom: 1px solid #13394D;
}

.dropdown-item:hover {
    color: #fff;
    padding: 20px;
    background: #447493;
}

/* Texto truncado na descrição */
.card-body .text-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limitar a 3 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Estilização do rodapé do card */
.card-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e9ecef;
}

/* Ícone de calendário */
.fas.fa-calendar-alt {
    font-size: 1rem;
    color: #6c757d;
}

.carousel-item img {
    max-height:48rem; /* Altura máxima das imagens */
    object-fit: cover; /* Ajusta a imagem sem distorções */
    object-position: center;
}

.carousel-caption {
    padding: 2rem;
    bottom:0;
    left: 0;
    right: 0;
}

.carousel-caption h5 {
    font-size: 2rem;
    font-weight: bold;
}

.carousel-caption p {
    font-size: 1.25rem;
}

.titulo-com-fundo {
    background-image: url('/images/bk1.png');
    background-size: cover;
    background-position: center;
    display: inline-block;
    width: 100%;
    min-height: 130px;
    word-wrap: break-word;
    white-space: normal;
}

.titulo-com-fundo h6 {
    color: white; 
    margin: 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    width:530px;
    text-align:center;
    word-wrap: break-word;
    white-space: normal;
    margin: 0 auto;
    padding-bottom: 0.5em;
    
}
h6 {
    font-size: 1.6rem;
    font-weight: bold;
}

.text-muted {
    font-size: 0.9rem;
    color: #6c757d;
}

.bg-section-info {
    background-color: #213847;
}

/* Card Interativo */
.item-boxes {
    background: #fff;
    padding: 20px;
    height: 14rem;
    border-top-left-radius: 80px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 80px;
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
    position: relative; /* necessário pro posicionamento do rodapé */
}

.item-footer {
    position: absolute;
    bottom: 30px; 
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; 
    pointer-events: none; 
}

.btn-saiba-mais {
    background-color: #BE9320;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
}

.btn-saiba-mais:hover {
    background-color: #e6c200;
}

.icon-fixo {
    position: absolute;
    bottom: -5px;
    right: 30px;
    width: 45px;
    height: auto;
}

.item-boxes:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
    background-color: #F3F3F3;
}

/*Fale Conosco*/
.fc-boxes {
    width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    padding-left: 5rem !important;
    padding-right: 5rem !important;
    padding-bottom: 2rem !important;
    border-top-left-radius: 80px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 80px;
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
}

/* Estilo para o título de Transmissão ao Vivo */
.videos-linha-titulo {
    background: #13394D;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.videos-linha-titulo .icon-container {
    background: #13394D;
    color: #fff;
    border-right: 5px solid #13394D;
  /*  padding: 15px;*/
    border-radius: 2px;
}

.embed-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
}

.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Ajustes para as colunas */
.col-lg-7, .col-lg-5 {
    padding: 15px;
}

/* Responsividade: Aumentando a área de interação nos dispositivos móveis */
@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .img-1 {
        margin-top: -0rem !important;
    }

    .btn-saiba-mais-mb {
        width: 100% !important;
        margin-top: 1rem !important;
    }

    .faleconosco-bk {
        background-color: #6c757d;
        background-image: none !important;
    }

    .fc-boxes {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100%;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .mobile-only {
        display: none !important;
    }

    .pt-sm-custom {
        padding-top: 1rem;
    }

    .img-logo {
        max-height: 125px !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .item-boxes {
        height: 18rem !important;
    }

    .titulo-com-fundo {
        background-image: none;
    }
       
    .titulo-com-fundo h6{
        width: 100%;
        padding-bottom: 1.5em;
    }
    .carousel-item img {
        max-height:100%; 
        object-fit: cover; 
        object-position: center;
    }

}

.offcanvas {
    transition: transform 0.3s ease-in-out;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-body .nav-link {
    margin-bottom: 10px;
}

.offcanvas-body .dropdown-menu {
    background-color: #13394D; /* Azul escuro */
    border: none;
}

.offcanvas-body .dropdown-menu .dropdown-item:hover {
    background-color: #004494; /* Azul mais escuro ao hover */
}

main .nav-link {
    color: #1C222B;
}

main a, main .text-primary {
    color: #1C222B;
    text-decoration: none;
}

main .btn-primary {
    background-color: #13394D;
    border-color: #13394D;
}

main .btn-primary:hover {
    background-color: #1C222B !important;
    border-color: #005900;
}

header .navbar {
    color: #3C66B2 !important;
}

header .nav-link {
    color: #3C66B2;
}
.nav-link:hover{
    font-weight:bold!important;
    color: #3C66B2!important;
}


[data-aos].aos-animate {
    opacity: 1; /* Visível após a animação */
}

h2.element-header.h5, .element-header.h5.h2 {
    color: #8897AE;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 24px;
    text-transform: uppercase;
}

.element-subheader {
    color: #1C222B;
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 48px;
}

.section-accesses .section-row .section-access p a {
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
    text-decoration: none;
    color: #1C222B;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
    justify-content: space-between;
}

.section-accesses .link-external::before {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cg fill='%231C222B'%3e%3cpath d='M14 2.5a.5.5 0 0 0-.5-.5h-6a.5.5 0 0 0 0 1h4.793L2.146 13.146a.5.5 0 0 0 .708.708L13 3.707V8.5a.5.5 0 0 0 1 0z'/%3e%3c/g%3e%3c/svg%3e");
    background-repeat: repeat;
}


.section-accesses .section-row .section-access p a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20 px;
    min-width: 20px;
    min-height: 20px;
    background-repeat: no-repeat;
}

.section-accesses .section-row .section-access p a {
    font-size: 18px;
    font-weight: 400;
    /*  margin-left: 10px;*/
    line-height: 22px;
    color: #1C222B;
}


.section-accesses .section-row .section-access p {
    margin: 0;
    padding: 20px 8px;
    border-bottom: 1px solid #D7DFE9;
}


/* Estilo adicional para o calendário pequeno */
.calendar {
    width: 100%;
    height: auto;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    text-align: center;
    font-weight: bold;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    font-size: 14px;
}

.calendar-days div {
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.calendar-days div:hover {
    background-color: #ddd;
}

.card {
    border-radius: 16px;
}

.btn {
    border-radius: 8px;
}

h5 {
    font-size: 1.25rem;
}

.icon-circle {
    width: 50px;
    height: 50px;
}

.card {
    border-radius: 12px;
}

.btn {
    border-radius: 8px;
}


.card {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: bold;
}

.card-text {
    font-size: 0.9rem;
    color: #6c757d;
}

.card-body {
    padding: 15px;
}

.acesso-bg {
    background-color: #ffffff;
    padding: 20px;
}

.consulta-bg {
    background-color: #ffffff;
    padding: 20px;
}

body {
    background-color: #fff;
}

.link-acessebilidade {
    color: #fff !important;
}

/* Estilos para o widget de acessibilidade */
.accessibility-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-primary {
    font-size: 18px;
    padding: 12px;
    background-color: #13394D;
    color: white;
    border: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

@* .btn-primary:hover {
    transform: scale(1.1);
}

.accessibility-panel {
    display: none;
    position: absolute;
    top: 50px;
    left: -320px !important;
    width: 300px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.accessibility-widget.active .accessibility-panel {
    display: block;
    left: 0;
}

.accessibility-panel h5 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #13394D;
}

.form-label {
    font-size: 14px;
    color: #495057;
}

.form-range {
    width: 100%;
}

.form-select {
    width: 100%;
}

.w-100 {
    width: 100%;
}

.d-flex .justify-content-between small {
    font-size: 12px;
    color: #495057;
}

button:focus, input:focus {
    outline: none;
    box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.5);
}

/* Tornar o menu de acessibilidade visível quando focado */
.sr-only {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.sr-only:focus-within {
    position: static;
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ccc;
    z-index: 1000;
}

/* Estilo para os links no menu de acessibilidade */
.skip-link {
    display: inline-block;
    margin: 5px 10px;
    padding: 8px 15px;
    color: #fff;
    background-color: #13394D;
    text-decoration: none;
    border-radius: 4px;
}

.skip-link:focus {
    outline: 2px dotted #13394D;
    outline-offset: 4px;
}

/* Adicionar borda pontilhada para elementos focados */
:focus {
    outline: 2px dashed #13394D !important;
    outline-offset: 4px !important;
}

/* Barra de Acessibilidade */
.accessibility-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #005ca9; /* Azul GOV.BR */
    color: #fff;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Mostrar a barra ao focar */
.accessibility-bar:focus-within {
    transform: translateY(0);
}

/* Links da barra */
.accessibility-link {
    display: inline-block;
    margin: 0 15px;
    padding: 5px 10px;
    color: #fff !important;
    font-size: 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.conteudoPagina {
    background: #fdfdfd;
    padding: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.text-center a, .table a, .data-list a, .row a {
    text-decoration: none !important;
}

.noticia-img {
    padding-top: 15px;
    width: 92%;
    height:  540px!important;
    object-fit: cover;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    transition: transform 0.3s ease;
}

.news-card:hover .noticia-img {
    transform: scale(1.05);
}

.card-title a {
    color: #343a40;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #13394D;
}


.card-text {
    color: #6c757d;
    font-size: 0.95rem;
}

.btn-gradient {
    background: linear-gradient(45deg, #13394D, #00d4ff);
    border: none;
    color: white;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(45deg, #13394D, #0085c6);
    transform: scale(1.05);
}

/******************************/
/* Ajustando a Acessibilidade */
/******************************/
[data-bs-theme="dark"] .card-body {
    background: #000 !important;
}

[data-bs-theme="dark"] .main-content {
    background: #000;
    color: #FF0;
}
[data-bs-theme="dark"] .main-content {
    background: #000;
    color: #FF0;
}

[data-bs-theme="dark"] .bg-section-info {
    background: #000;
    color: #FF0;
}
[data-bs-theme="dark"] .text-white {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .fa {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .header-estilo {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .navbar {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] #rodape {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .videos-linha-titulo{
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .videos-linha-titulo {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .dropdown-item {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .table-light {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .bg-primary {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .content {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .btn-primary {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .conteudoPagina {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .text-primary {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] .nav-link {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] header {
    background: #000 !important;
    color: #FF0 !important;
}

[data-bs-theme="dark"] main {
    background: #000;
    color: #FF0;
}

[data-bs-theme="dark"] .acesso-bg {
    background: #000;
    color: #FF0;
}

[data-bs-theme="dark"] .text-muted {
    color: #FF0 !important;
}

[data-bs-theme="dark"] .text-dark {
    color: #FF0 !important;
}

[data-bs-theme="dark"] .event-title {
    color: #FF0;
}

[data-bs-theme="dark"] .text-success {
    color: #FF0 !important;
}

[data-bs-theme="dark"] .text-primary {
    color: #FF0;
}

[data-bs-theme="dark"] h2 {
    color: #FF0;
}

[data-bs-theme="dark"] .fs-5 {
    color: #FF0 !important;
}

[data-bs-theme="dark"] .card-title {
    color: #FF0;
}

[data-bs-theme="dark"] .card-body {
    color: #FF0;
}

[data-bs-theme="dark"] h4 {
    color: #FF0 !important;
}

[data-bs-theme="dark"] h6 {
    color: #FF0 !important;
}

[data-bs-theme="dark"] p {
    color: #FF0 !important;
}

[data-bs-theme="dark"] label {
    color: #FFF !important;
}

[data-bs-theme="dark"] .modal-header h5 {
    color: #FFF !important;
}

[data-bs-theme="dark"] .user-status-bar {
    color: #FF0 !important;
    background: #000 !important;
}

[data-bs-theme="dark"] fas {
    color: #FF0 !important;
}

[data-bs-theme="dark"] .acessibilidade {
    color: #FF0 !important;
}

[data-bs-theme="dark"] a {
    color: #FF0;
}

[data-bs-theme="dark"] .bg-white {
    color: #FFF !important;
    background: #000 !important;
}

[data-bs-theme="dark"] .azul-p {
    color: #FFF !important;
    background: #000 !important;
}
[data-bs-theme="dark"] .azul-s {
    color: #FFF !important;
    background: #000 !important;
}
[data-bs-theme="dark"] .azul-t {
    color: #FFF !important;
    background: #000 !important;

}
[data-bs-theme="dark"] .bk-cinza {
    color: #FFF !important;
    background: #000 !important;
}
[data-bs-theme="dark"] .btn-saiba-mais {
    color: #FF0 !important;
    background: #000 !important;
    border: 1px solid #fff;
}
[data-bs-theme="dark"] .btn-saiba-mais {
    color: #FF0 !important;
    background: #000 !important;
    border: 1px solid #fff;
}
[data-bs-theme="dark"] .btn-saiba-mais {
    color: #FFF !important;
    background: #000 !important;
    border: 1px solid #fff;
}
[data-bs-theme="dark"] .item-boxes {
    color: #FFF !important;
    background: #000 !important;
}
[data-bs-theme="dark"] .consulta-bk {
    color: #FFF !important;
    background-color: #000 !important;
    background-image: none !important;
    border: 1px solid #fff;
}
[data-bs-theme="dark"] .faleconosco-bk {
    color: #FFF !important;
    background-color: #000 !important;
    background-image: none !important;
    border: 1px solid #fff;
}
[data-bs-theme="dark"] .bk-azul-p  {
    color: #FFF !important;
    background-color: #000 !important;
    background-image: none !important;
}
[data-bs-theme="dark"] .titulo-com-fundo {
    color: #FFF !important;
    background-color: #000 !important;
    background-image: none !important;
}
[data-bs-theme="dark"] .fc-boxes {
    color: #FFF !important;
    background-color: #000 !important;
    background-image: none !important;
    border: 1px solid #fff;
}
[data-bs-theme="dark"] #contentModal {
    background-color: rgba(0,0,0,0.9); /* fundo preto 90% opaco */
}
[data-bs-theme="dark"] .barra-gold {
    color: #FF0 !important;
    background: #000 !important;
}
[data-bs-theme="dark"] .img-gray {
    filter: grayscale(100%)!important;
}

[data-bs-theme="dark"] .bg-transparent {
    background: #000 !important;
}

[data-bs-theme="dark"] .section-accesses .section-row .section-access p a {
    color: #FF0;
}