﻿:root {
    --es-color-base: #333333;
    --es-color-dark-1: #5C5C5C;
    --es-color-dark-2: #007DB3;
    --es-color-dark-3: #F06292;
    --es-color-dark-4: #6c757d;
    --es-color-light-1: #FFFFFF;
    --es-color-light-2: #f5f5f5;
    --es-color-light-3: #FFFDE7;
    --es-color-light-4: #E1F5FE;
    --es-color-light-5: #FCE4EC;
    --es-header-bg-color: rgba(3,36,78,1);
    --es-header-bg-color-2: rgba(26,65,105,1);
    --es-navbar-bg-color: #0372A2;
    --es-navbar-fg-color: #FFF;
    --es-footerlinks-bg-color: #4e4c4c;
    --es-footerlinks-fg-color: #f8f8f8;
    --es-footerlinks-fg-color-2: #47525c;
    --es-footer-bg-color: #302e2e;
    --es-footer-fg-color: #CCCCCC;
    --es-container-bkp-max-width: 1860px;
    --bs-gutter-x: 15px;
    --adm-color-dark-1: #5C5C5C; /*cinza*/
    --adm-color-dark-2: #007DB3; /*azul*/
    --adm-color-dark-3: #F06292; /*rosa escuro*/
    --adm-color-dark-4: #00796B; /*verde escuro*/
}

main {
    min-height: 639px;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

#logo-prodest {
    fill: #eee !important;
    max-height: 70px;
    height: 70px;
    width: 120px;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/*Header*/
/*Footer*/
/*Tabs*/
.nav-tabs {
    border-bottom: 0px solid #dee2e6 !important;
}

    .nav-tabs .nav-link {
        margin-bottom: -2px;
        border: 1px solid #fff;
        background-color: #124a64;
        color: #fff;
        text-transform: uppercase;
        font-size: 1rem;
        border-top: 4px #ffffff solid !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }

        .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
            color: #fff;
            background-color: #2080ae;
            border-color: #2080ae #ffffff #fff;
            border: 0 !important;
            border-top: 4px #2080ae solid !important;
        }
/*Forms*/
/*Form-control Select*/
.form-control {
    appearance: auto !important;
    -webkit-appearance: auto !important;
}

/*background app-gov*/
.bg-appgov {
    background: linear-gradient( 135deg,#266fd9,#2359a8 40%,#2359a8);
}

.cursor-pointer {
    cursor: pointer;
}

/*Modal*/
.conteudo-modal {
}

.modal-destinatarios .modal-dialog {
    height: 95% !important;
}

/*Botão incluir dado manifestação*/
.pseudo-accordion-active {
    background-color: #e7f1ff !important;
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

.accordion-header-manifestacao {
    background-color: #2080ae !important;
    font-size: 1.1rem !important;
    color: #fff;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    max-height: 43px !important;
}

    .accordion-header-manifestacao:not(.collapsed) {
        background-color: #25617e !important;
        color: #fff;
    }

.accordion-button {
    color: #fff !important;
}

    .accordion-button:not(.collapsed) {
        background-color: #124a64 !important;
    }

    .accordion-button::after {
        background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
    }

    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
    }

.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}


/*Conteudo manifetacao*/
.manifestacao-conteudo {
    background-color: #4692b70d !important;
    border: 1px solid #e9ecef !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/*Font-size*/
.fs-7 {
    font-size: 0.85rem;
}

/*Text-color*/
.text-red, .text-red:hover {
    color: red;
}

.text-orange, .text-orange:hover {
    color: darkorange;
}

.text-pink, .text-pink:hover {
    color: deeppink;
}

.text-area {
    white-space: pre-line;
}

/*Slide*/
.card-eouv {
    position: relative;
}

.card-main {
    position: absolute;
    z-index: 10;
    width: 100%;
}

.card-secondary {
    position: relative;
    height: 0px;
    z-index: 20;
    opacity: 0;
    transition: opacity .2s linear;
    transition: height 1s ease;
    background-color: rgba(0,0,0,.8);
}

.card-eouv:hover .card-secondary {
    opacity: 1;
    height: 100% !important;
}


/* #region FOOTER LINKS */

/* #endregion */

/* #region container especializado */

.es-container {
    width: 95%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 991px) { /*lg*/
    .es-container {
        width: 100%;
        padding: 0;
    }
}

@media (min-width: 1921px) {
    .es-container {
        max-width: var(--es-container-bkp-max-width);
    }
}

.es-navbar > .es-container {
    width: 95%;
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 1921px) {
    .es-navbar > .es-container {
        max-width: var(--es-container-bkp-max-width);
    }
}

/* #endregion */

/* #region SECOES */

.es-section {
    padding: 1.5rem 0 1.5rem 0;
}

/* #endregion */

/* #region MISCELLANEOUS */

.es-bg-light-1 {
    background-color: var(--es-color-light-1) !important;
}

.es-bg-light-2 {
    background-color: var(--es-color-light-2) !important;
}

.es-bg-light-3 {
    background-color: var(--es-color-light-3) !important;
}

.es-bg-light-4 {
    background-color: var(--es-color-light-4) !important;
}

.es-bg-light-5 {
    background-color: var(--es-color-light-5) !important;
}

.es-bg-dark-1 {
    background-color: var(--es-color-dark-1) !important;
}

.es-bg-dark-2 {
    background-color: var(--es-color-dark-2) !important;
}

.es-bg-dark-3 {
    background-color: var(--es-color-dark-3) !important;
}

.es-bg-dark-4 {
    background-color: var(--es-color-dark-4) !important;
}

.adm-bg-dark-4 {
    background-color: var(--adm-color-dark-4) !important;
}

.es-fg-dark-1 {
    color: var(--es-color-dark-1) !important;
}

.es-fg-dark-2 {
    color: var(--es-color-dark-2) !important;
}

.es-fg-dark-3 {
    color: var(--es-color-dark-3) !important;
}

.es-fg-dark-4 {
    color: var(--es-color-dark-4) !important;
}

.adm-fg-dark-4 {
    color: var(--adm-color-dark-4) !important;
}

.es-main-title-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .es-main-title-1 .icone {
        font-size: 3.5rem;
        margin-right: 1rem;
        color: var(--es-color-dark-3);
        text-align: center;
    }

    .es-main-title-1 .titulo {
        font-size: 2.85rem;
        color: var(--es-color-dark-2);
        font-weight: 700;
        text-align: center;
        user-select: none;
    }

@media (max-width: 575px) { /*sm*/

    .es-main-title-1 {
        align-items: baseline;
    }

        .es-main-title-1 .icone {
            font-size: 2.2rem;
        }

        .es-main-title-1 .titulo {
            font-size: 1.5rem;
        }
}

.es-main-title-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

    .es-main-title-2 .icone {
        font-size: 2.125rem;
        margin-right: 0.45rem;
        color: var(--es-color-dark-3);
        text-align: center;
    }

    .es-main-title-2 .titulo {
        font-size: 2rem;
        color: var(--es-color-dark-2);
        font-weight: 700;
        text-align: center;
        user-select: none;
    }

@media (max-width: 575px) { /*sm*/

    .es-main-title-2 {
        align-items: baseline;
    }

        .es-main-title-2 .icone {
            font-size: 1.25rem;
        }

        .es-main-title-2 .titulo {
            font-size: 1.3rem;
        }
}

.es-main-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    text-align: center;
}

    .es-main-subtitle .texto {
        font-size: 1.35rem;
        color: var(--es-color-dark-1);
        font-weight: 500;
        user-select: none;
    }


@media (max-width: 575px) { /*sm*/

    .es-main-subtitle .texto {
        font-size: 1rem;
        text-align: center;
    }
}

/* #endregion */
.card-tipo-manifestacao {
    border: 2px solid rgba(255, 255, 255, .8);
}

.fs-45 {
    font-size: 1.17rem !important;
}

@media only screen and (min-width: 768px) {
    .card-tipo-manifestacao {
        min-height: 230px;
    }
}

/* #region BOTAO VOLTAR */
.botao-voltar {
    position: absolute;
    display: flex;
    align-items: center;
    cursor: pointer;
    max-width: 15rem !important;
}

    .botao-voltar:hover {
        filter: brightness(80%);
    }

    .botao-voltar i {
        color: var(--es-color-dark-3);
        font-size: 2rem !important;
    }

    .botao-voltar span {
        color: var(--es-color-dark-2);
        font-size: 1.65rem;
        font-weight: bold;
        margin-left: 0.75rem;
    }

@media (max-width: 1399px) { /*xxl*/

    .botao-voltar i {
        font-size: 3.5rem;
    }
}

@media (max-width: 575px) { /*sm*/

    .botao-voltar i {
        font-size: 2.5rem;
    }

    .botao-voltar span {
        display: none;
    }
}

/* #endregion */

.btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
    color: #fff !important;
    background-color: var(--es-color-dark-2) !important;
}



/*STAR RATING*/

.starrating > input {
    display: none;
}
/* Remove radio buttons */

.starrating > label:before {
    /*content: '★';*/ /* Star */
    /*font-family: FontAwesome;*/
    font-size: 3em;
    padding-right: 10px;
    display: inline-block;
}

.starrating > label {
    color: #CCCCCC; /* Start color when not clicked */
}

.starrating > input:checked ~ label {
    color: #ffca08;
}
/* Set yellow color when star checked */

.starrating > input:hover ~ label {
    color: #ffca08;
}
/* Set yellow color when star hover */

/*OFFCANVAS*/
.offcanvas-end {
    width: 40%;
}

@media (max-width: 991px) {  /*lg*/

    .offcanvas-end {
        width: 100%;
    }

}

/* #region SPLASH Message */

@keyframes es-splash {
    0% {
        opacity: 0.5;
    }

    10% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.splash-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--es-header-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1024;
    pointer-events: none;
    animation: es-splash 2s forwards;
}

    .splash-message .container {
        text-align: center;
    }

        .splash-message .container img {
            width: 15vw;
            color: var(--es-color-light-1);
        }

        .splash-message .container .message {
            font-size: 6rem;
            font-weight: bold;
            color: var(--es-color-light-1);
            margin-top: 1rem;
        }

@media (max-width: 575px) { /*sm*/
    .splash-message .container img {
        width: 45vw;
    }

    .splash-message .container .message {
        font-size: 3.5rem;
        margin-top: 2rem;
    }
}

/* #endregion */

/* #region TIMELINE */
.timeline {
    position: relative;
    margin-left: 50px;
    padding-left: 0px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

    /* Linha individual por item (exceto o último) */
    .timeline-item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 20px; /* igual à altura do marcador */
        width: 2px;
        height: calc(100% + 44px);
        background-color: #dee2e6;
        z-index: 0;
    }

.timeline-marker {
    position: absolute;
    left: -22px; /* centraliza o marcador na linha */
    top: 2px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

    .timeline-marker i {
        color: white;
        font-size: 25px;
    }

    .timeline-marker.azul {
        background-color: var(--es-color-dark-2);
    }

    .timeline-marker.verde {
        background-color: var(--adm-color-dark-4);
    }

.timeline-datetime {
    position: absolute;
    top: 50px;
    left: -23px;
    width: 90px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--es-color-dark-2);
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 4px 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-weight: 500;
    z-index: 0;
    line-height: 1.2;
}

    .timeline-datetime span {
        display: block;
    }

    .timeline-datetime .data {
        font-weight: bold;
        font-size: 0.9rem;
    }

    .timeline-datetime .hora {
        font-size: 0.8rem;
        margin-top: 2px;
    }

.timeline-card {
    margin-left: 60px; /* mais afastado do marcador */
    position: relative;
    border-color: #dee2e6;
    border-radius: 0.75rem;
}

    .timeline-card .card-title {
        color: var(--es-color-dark-2);
        font-weight: bold;
    }

        .timeline-card .card-title a {
            color: white;
            text-decoration: none;
        }

            .timeline-card .card-title a:hover {
                text-decoration: underline;
            }

    .timeline-card .card-subtitle {
        font-size: 0.85rem;
        color: #6c757d; /* cor secundária (cinza escuro Bootstrap) */
        font-weight: 500;
    }

        .timeline-card .card-subtitle strong {
            color: #495057; /* cor mais escura para o conteúdo (nome do órgão/usuário) */
        }

    .timeline-card::before {
        content: "";
        position: absolute;
        left: -15px;
        top: 15px;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 15px solid #dee2e6;
    }

.anexo-link {
    text-decoration: none;
    color: var(--es-color-dark-2);
}

    .anexo-link:hover {
        text-decoration: underline;
        color: var(--es-color-dark-2);
    }

.anexos-list li {
    font-size: 0.95rem;
}