/**************************************** Layout **************************************/

* {
    margin: 0;
    padding: 0;
}

body,
header,
nav,
main,
footer {
    display: flex;
}

::-webkit-scrollbar {
    display: none;
}

body {
    flex: 1 1 100vw;
    flex-wrap: wrap;
    /* background: #195488; */
    background: #fbfbfb;
    min-height: 100vh;
}

header {
    flex: 1 1 100vw;
    flex-direction: column;   
}

nav {
    flex: 1 1 250px;
}

.navbar{
    height: 50px;
}

main {
    flex: 1 1 100vw; 
    padding-top: 220px; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start;
   
    height: auto;
}

footer {
    flex: 1 1 100vw;
    width: 100%;
    flex-direction: column;
}

.fs-6{
    font-size: 1.15rem !important;
}

.page-link.active, .active > .page-link {
    z-index: 0 !important;
}
.nav-pills .nav-link.active, .nav-pills.show > .nav-link {
    background-color: #fff;
    color: #000;
}
.nav-link:hover {
    color: #91d2fd !important;
}

p{
    margin-bottom: 10;
}

a{
    text-decoration: none;
    color:#192844;
}

.ck-content p {
    margin: 0;
}

.carousel-control-prev, .carousel-control-next {
    width:5%;
    top: 50%;
    transform: translateY(00%);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better visibility */
    border-radius: 50%; /* Make icons circular */
}

.bodyPrincipal{
    /* background-color: #195488; */
    background-color: #fbfbfb;
    z-index: 0 !important;
}
.destaques{
    z-index: 0 !important;
}    
.progress-custom {
    height: 0.3rem; 
    background-color: #0B4272; 
    position: relative;
    overflow: hidden; 
    border-radius: 0px; 
}
.progress-fill {
    width: 40%; 
    height: 100%;
    background-color: #1f8497; 
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 0 0 0 0; 
}

/* botão Voltar ao top */
#btnTopo {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#btnTopo i {
    color: #333;
    font-size: 1.4rem;
}

/* Hover */
#btnTopo:hover {
    transform: translateY(-3px);
}

/* Dark mode */
body.dark-mode #btnTopo {
    background: #1e1e1e;
}

body.dark-mode #btnTopo i {
    color: #ffffff;
}


/**************************************** Fim Layout **************************************/