@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-BlackItalic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-LightItalic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/Lato-ThinItalic.ttf") format("truetype");
    font-weight: 100;
    font-style: italic;
}

* {
    font-family: "Lato";
}

.bg-verde-vale {
    background-color: #b50013;
    color: #ffffff;
}

.btn-visualizar {
    background-color: #b50013;
    border-color: #b50013;
    color: #ffffff;
}

.btn-editar {
    background-color: #ecb11f;
    border-color: #ecb11f;
    color: #ffffff;
}

.progress-bar-v2.navegacao {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-visualizar:hover {
    filter: brightness(120%);
    color: #ffffff;
}

.btn-editar:hover {
    filter: brightness(120%);
    color: #ffffff;
}

.btn-deletar {
    background-color: red;
    border-color: red;
    color: #ffffff;
}

.btn-deletar:hover {
    filter: brightness(120%);
    color: #ffffff;
}

#secao05 button {
    float: right;
}

#secao06 {
    display: none;
}

.icone {
    width: 30px;
    height: 30px;
}

.campo-obrigatorio {
    color: red;
    margin-left: 5px;
}

.progress-bars-container {
    display: flex;
    margin-bottom: 20px;
}

.progress-bar-v2 {
    width: 200px;
    height: 20px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    position: relative;
    cursor: pointer;
}

.progress-bar-v2 span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.progress-bars-container {
    display: flex;
    justify-content: space-between;
}

.progress-bar-v2 {
    background-color: #b50013;
    height: 30px;
    width: 100%;
    white-space: nowrap;
    /* Evita que o texto quebre em várias linhas */
    overflow: hidden;
    /* Oculta o texto que não cabe na div */
    text-overflow: ellipsis;
    /* Adiciona reticências */
}

.progress-bar-v2 span {
    color: white;
}

main {
    margin-left: 250px;
    padding: 15px;
}

#sidebar ul.nav a {
    color: white;
}

#sidebar ul.nav a:hover {
    color: #b50013;
    background-color: white;
}

.vertical-item {
    display: block;
}

#familiaSubmenu {
    flex-wrap: nowrap;
}

#organizacaoSubmenu {
    flex-wrap: nowrap;
}

#perfilSubmenu {
    flex-wrap: nowrap;
}

#localizacaoSubmenu {
    flex-wrap: nowrap;
}

#distritosSubmenu {
    flex-wrap: nowrap;
}

#bairrosSubmenu {
    flex-wrap: nowrap;
}

#importacaoSubmenu,
#usuarioSubmenu {
    flex-wrap: nowrap;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: none;
    /* Permite que eventos passem por trás do overlay */
}

.loading-message {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
}

#sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    background-color: #b50013;
    color: white;
    width: 250px;
    overflow-y: auto;
    transition: left 0.3s;
}

@media (max-width: 767.98px) {
    .content-full-width {
        margin-left: 0;
        /* Define a margem esquerda como 0 quando a barra lateral está oculta */
    }

    #sidebar {
        transition: left 0.3s;
        left: -250px;
    }

    .progress-bars-container {
        flex-direction: column;
        /* Exibir as barras uma abaixo da outra */
        margin: 0px;
    }
}

#sidebar.show {
    left: 0;
    /* Define a posição dentro da tela quando a classe show é aplicada */
}

.overlay {
    background-color: #000;
}

.form-group .radio input[type="radio"],
.form-group .checkbox input[type="checkbox"] {
    cursor: pointer;
}

.form-group .radio label,
.form-group .checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    cursor: pointer;
}

.form-group label sup {
    color: #e3342f;
    padding-left: 5px;
    font-size: 0.9rem;
}

.form-group.has-error span.help-block {
    color: #e3342f;
}

a.button-add {
    padding: 6px 18px;
    border-radius: 4px;
    background-color: var(--primary);
    display: block;
    width: fit-content;
    margin: 5px 0;
    text-decoration: none;
    transition: all ease 0.2s;
}

a.button-add:hover {
    filter: brightness(120%);
}

a.button-add span {
    color: #fff;
    font-weight: bold;
    font-size: 28px;
    line-height: 1;
    color: #e3342f;
}

.password-toggle {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding-right: 10px;
}

.form-group {
    position: relative;
}

.password-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.password-field {
    width: calc(100% - 90px);
}

.wrap-mask-dinheiro {
    position: relative;
}

.wrap-mask-dinheiro:before {
    display: inline-block !important;
    content: "R$";
    position: absolute;
    left: 10px;
    top: 52%;
    transform: translateY(-50%);
    color: #495057;
    font-size: 14px;
    pointer-events: none;
    z-index: 9999999999;
}

.mask-dinheiro {
    padding-left: 30px;
}

.table-hover tbody tr:hover {
    background-color: #aeb7bf;
}

.progress-bar-v2.incomplete {
    background-color: red;
}

.table-hover tbody tr:hover {
    background-color: #aeb7bf;
}

.progress-bar-v2.incomplete {
    background-color: red;
}

/* Lighthouse */

.container.lighthouse {
    margin-bottom: 100px;
    width: 100%;
    font-size: 16px;
}

.container.lighthouse h1 {
    font-size: 2.0625em;
    margin: 3.125em 0 0 0;
}

.container.lighthouse h2 {
    font-size: 1.1875em;
}

.container.lighthouse > h3 {
    color: #696969;
    font-size: 1.1875em;
    margin-top: 3.125em;
}

.container.lighthouse > h3.warning {
    color: #c8215d;
}

.container.lighthouse > h3::before {
    content: "!";
    width: 1.75em;
    height: 1.75em;
    line-height: 1.75em;
    font-size: 1.25em;
    font-weight: bold;
    color: #ffffff;
    background-color: #c8215d;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    margin-right: 0.625em;
}

.container.lighthouse > h3.warning::before {
    display: inline-block;
}

.container.lighthouse .violations {
    display: flex;
    gap: 0.625em;
}

.container.lighthouse .violations .column {
    background-color: #ecf0f0;
    border: 2px solid #b50013;
    flex: 1;
    padding: 0.625em;
    height: fit-content;
}

.container.lighthouse .violations .column > h4 {
    color: #b50013;
    font-size: 1.1875em;
    font-weight: bold;
    height: 90px;
    display: flex;
    align-items: center;
}

.container.lighthouse .violations .column > h4 img {
    max-width: 3.125em;
    max-height: 2.8125em;
    margin-right: 0.625em;
}

.container.lighthouse .violations .column .cards {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.container.lighthouse .violations .column .cards .item {
    background-color: #f9fafc;
    border: 2px solid #b50013;
    padding: 1.8575em 0.9375em;
    line-height: 1.125;
    display: flex;
    flex-direction: column;
    gap: 0.625em;
    color: #696969;
    font-weight: bold;
    font-size: 1em;
    position: relative;
}

.container.lighthouse .violations .column .cards .item.warning {
    border-color: #c9205d;
}

.container.lighthouse .violations .column .cards .item span {
    font-size: 1em;
    color: #696969;
    font-weight: normal;
}

.container.lighthouse .violations .column .cards .item span.warning {
    color: #c9205d;
    font-weight: bold;
}

.container.lighthouse .violations .column .cards .item::before {
    content: "!";
    position: absolute;
    width: 1.75em;
    height: 1.75em;
    font-size: 1.25em;
    font-weight: bold;
    color: #ffffff;
    background-color: #c8215d;
    border-radius: 50%;
    top: 0;
    left: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
}

.container.lighthouse .violations .column .cards .item.warning::before {
    display: flex;
}

.container.lighthouse .dimension {
    width: 100%;
    height: 3.75em;
    border: solid 2px #b50013;
    padding: 0.5em;
    position: relative;
}

.container.lighthouse .dimension::before {
    position: absolute;
    content: "";
    height: 140%;
    border-left: solid 2px #b50013;
    left: 50%;
    top: -20%;
}

.container.lighthouse .dimension::after {
    content: "50%";
    color: #b50013;
    font-size: 0.75em;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 130%;
}

.container.lighthouse .dimension img {
    position: absolute;
    width: calc(100% - 1em);
    height: calc(100% - 1em);
    z-index: -1;
}

.container.lighthouse .dimension .graphic {
    height: 100%;
    background-color: #c9205d;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 0.75em;
}

.container.lighthouse .percentages {
    margin-top: 3.5em;
    display: flex;
    gap: 0.4375em;
    overflow-x: auto;
}

.container.lighthouse .percentages .column {
    flex: 1;
    height: 9em;
    border: solid 2px #b50013;
    display: flex;
    flex-direction: column;
    min-width: 12.5em;
}

.container.lighthouse .percentages .column > h4 {
    display: flex;
    gap: 0.75em;
    flex-direction: column;
    width: 100%;
    flex: 1;
    align-items: center;
    justify-content: center;
    font-size: 1em;
}

.container.lighthouse .percentages .column > h4 img {
    max-width: 3.125em;
    max-height: 2.8125em;
}

.container.lighthouse .percentages .column > h4 span {
    font-size: 0.9375em;
    color: #b50013;
    font-weight: bold;
}

.container.lighthouse .percentages .column .cards {
    display: flex;
    height: 1.5625em;
    gap: 2px;
    width: 100%;
}

.container.lighthouse .percentages .column .cards .item {
    background-color: #b2b2b2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container.lighthouse .percentages .column .cards .item.warning {
    background-color: #c8215d;
}

.container.lighthouse .percentages .column .cards .item span {
    color: #fff;
    font-size: 0.6875em;
}

.width-300 {
    width: 300px;
}

.max-screen-height {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

@media screen and (max-width: 1380px) {
    .container.lighthouse {
        font-size: 12px;
        padding: 0 !important;
    }

    .container.lighthouse .violations {
        font-size: 12px;
    }

    .container.lighthouse .violations .column {
        width: 15em;
    }

    .container.lighthouse .percentages {
        font-size: 10px;
    }

    .container.lighthouse .dimension {
        font-size: 12px;
    }
}

@media screen and (max-width: 1000px) {
    .container.lighthouse {
        padding: 0 !important;
        width: 100%;
        margin: 0 auto;
    }

    .container.lighthouse .violations {
        width: 100%;
        display: block;
    }

    .container.lighthouse .violations .column {
        width: 100%;
        margin-top: 10px;
    }

    .container.lighthouse .violations .column .cards {
        gap: 1em;
    }

    .container.lighthouse .dimension .graphic b {
        font-size: 0.8em;
    }
}

.bg-striped-gray {
    background-color: rgba(0, 0, 0, 0.05);
}

.bg-green-100 {
    background-color: #dcfce7;
    color: #919397;
}

.bg-green-200 {
    background-color: #bbf7d0;
    color: #919397;
}

.bg-green-300 {
    background-color: #86efac;
    color: #919397;
}

.bg-green-400 {
    background-color: #4ade80;
}

.bg-green-500 {
    background-color: #22c55e;
}

.bg-green-600 {
    background-color: #16a34a;
}

.bg-green-700 {
    background-color: #15803d;
}

.bg-green-800 {
    background-color: #166534;
}

.bg-green-900 {
    background-color: #14532d;
}

.bg-gray-100 {
    background-color: #f3f4f6;
    color: #1f2937;
}

.bg-gray-200 {
    background-color: #e5e7eb;
    color: #1f2937;
}

.bg-gray-300 {
    background-color: #d1d5db;
    color: #1f2937;
}

.bg-gray-400 {
    background-color: #9ca3af !important;
    color: #ffffff;
}

.bg-gray-500 {
    background-color: #6b7280;
    color: #ffffff;
}

.bg-gray-600 {
    background-color: #4b5563 !important;
    color: #ffffff;
}

.bg-gray-700 {
    background-color: #374151 !important;
    color: #ffffff;
}

.bg-gray-800 {
    background-color: #1f2937;
    color: #ffffff;
}

.bg-gray-900 {
    background-color: #111827;
    color: #ffffff;
}

.bg-blue-100 {
    background-color: #dbeafe;
    color: #1e3a8a;
}

.bg-blue-200 {
    background-color: #bfdbfe;
    color: #1e3a8a;
}

.bg-blue-300 {
    background-color: #93c5fd;
    color: #1e3a8a;
}

.bg-blue-400 {
    background-color: #60a5fa;
    color: #ffffff;
}

.bg-blue-500 {
    background-color: #3b82f6;
    color: #ffffff;
}

.bg-blue-600 {
    background-color: #2563eb;
    color: #ffffff;
}

.bg-blue-700 {
    background-color: #1d4ed8;
    color: #ffffff;
}

.bg-blue-800 {
    background-color: #1e40af;
    color: #ffffff;
}

.bg-blue-900 {
    background-color: #1e3a8a;
    color: #ffffff;
}

.bg-red-100 {
    background-color: #fee2e2 !important;
    color: #991b1b;
}

.bg-red-200 {
    background-color: #fecaca !important;
    color: #991b1b;
}

.bg-red-300 {
    background-color: #fca5a5 !important;
    color: #991b1b;
}

.bg-red-400 {
    background-color: #f87171;
    color: #ffffff;
}

.bg-red-500 {
    background-color: #ef4444;
    color: #ffffff;
}

.bg-red-600 {
    background-color: #dc2626;
    color: #ffffff;
}

.bg-red-700 {
    background-color: #b91c1c;
    color: #ffffff;
}

.bg-red-800 {
    background-color: #991b1b;
    color: #ffffff;
}

.bg-red-900 {
    background-color: #7f1d1d;
    color: #ffffff;
}

.bg-yellow-100 {
    background-color: #fef9c3;
    color: #92400e;
}

.bg-yellow-200 {
    background-color: #fef08a;
    color: #92400e;
}

.bg-yellow-300 {
    background-color: #fde047;
    color: #92400e;
}

.bg-yellow-400 {
    background-color: #facc15;
    color: #92400e;
}

.bg-yellow-500 {
    background-color: #eab308 !important;
    color: #92400e;
}

.bg-yellow-600 {
    background-color: #ca8a04 !important;
    color: #fff;
}

.bg-yellow-700 {
    background-color: #a16207;
    color: #fff;
}

.bg-yellow-800 {
    background-color: #854d0e;
    color: #fff;
}

.bg-yellow-900 {
    background-color: #713f12;
    color: #fff;
}
