﻿* {
    box-sizing: border-box;
}

@page {
    size: auto;
}

.leaflet-control-layers-group > label {
    display: flex !important;
    gap: 8px;
    align-items: center;
}

.leaflet-control-layers-group-label i {
    padding-top: 4px;
}

.leaflet-control-layers-list label {
    display: flex !important;
}

.form-input-txt {
    background: #FFFFFF;
    border: 1px solid #BDBDB8;
    box-sizing: border-box;
    border-radius: 2px;
    width: 100%;
    padding: .375rem .75rem;
    height: calc(1.5em + .75rem + 2px);
}

    .form-input-txt:focus {
        outline: none !important;
    }

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #BDBDB8;
    opacity: 1; /* Firefox */
}

.form-checkbox {
    appearance: none;
    background: #FFFFFF;
    border: 2px solid #A0AAB5;
    box-sizing: border-box;
    border-radius: 2px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 12px;
}

.form-checkbox-label {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    margin-top: 2px;
}

.form-checkbox:focus {
    outline: none !important;
}

.form-checkbox:active, .form-checkbox:checked:active {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

.form-checkbox:checked {
    background-color: #219BB8;
    border: 2px solid #219BB8;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
    color: #ffffff;
}

    .form-checkbox:checked[readonly="true"] {
        background-color: #9b9e9e;
        border: 2px solid #9b9e9e;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
        color: #ffffff;
    }

    .form-checkbox:checked:after {
        font-family: "Font Awesome 5 Free";
        content: '\f00c';
        font-weight: 900;
        font-size: 12px;
        position: absolute;
        top: 0px;
        left: 2px;
        color: #ffffff;
        position: relative;
    }

.form-btn {
    background: #219BB8;
    border: 1px solid #1389A5;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 15px;
    padding: 12px;
    width: 100%;
    color: #ffffff;
}

    .form-btn:hover {
        background: rgba(44, 179, 204, 1);
        border: 1px solid #1389A5;
    }

    .form-btn:active {
        background: #219BB8;
        border: 1px solid #1389A5;
        box-shadow: inset 4px 4px 5px rgba(0, 0, 0, 0.15);
    }

    .form-btn:focus {
        outline: none !important;
    }

    .form-btn:disabled {
        background: #219BB8;
        opacity: 0.5;
        border: 1px solid #1389A5;
    }

.form-btn-secondary {
    box-sizing: border-box;
    border-radius: 0;
    font-size: 15px;
    padding: 12px;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #1389A5;
    color: #219BB8;
}

    .form-btn-secondary:hover {
        background: #e3eef6;
        border: 1px solid #1389A5;
    }

    .form-btn-secondary:active {
        background: #FFFFFF;
        border: 1px solid #1389A5;
        box-shadow: inset 4px 4px 5px rgba(0, 0, 0, 0.15);
    }

    .form-btn-secondary:focus {
        outline: none !important;
    }

    .form-btn-secondary:disabled {
        background: #219BB8;
        opacity: 0.5;
        border: 1px solid #1389A5;
    }

.texto-sucess {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 11px;
    line-height: 20px;
    color: #6aca2d;
}

.texto-danger {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 11px;
    line-height: 20px;
    color: #C73228;
}

.danger {
    background: #FFFFFF;
    /* Validation / Danger */
    border: 1px solid #C73228;
    box-sizing: border-box;
    border-radius: 2px;
}

.template-menu-sidenav {
    width: 60px;
    height: 100%;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    background-color: #219BB8;
    overflow-x: hidden;
    transition: 0.5s;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .template-menu-sidenav > hr {
        margin-top: 0;
        margin-bottom: 0;
        border-top: 1px solid rgb(73, 173, 196);
        width: 100%;
    }

    .template-menu-sidenav::-webkit-scrollbar {
        display: none;
    }

.sidenav-button {
    min-width: 220px;
    width: auto;
    height: 56px;
    z-index: 10;
    background-color: #219BB8;
    padding: 16px 5px 16px 18px;
    cursor: pointer;
}

    .sidenav-button:hover {
        background-color: #0A7D98;
    }

.sidenav-button-active {
    background-color: #0A7D98;
}

.sidenav-button-menu {
    height: 59px;
    z-index: 10;
    background-color: #219BB8;
    padding: 16px 18px 16px 18px;
}

.sidenav-img {
    float: left;
}

.sidenav-fechamento-forcado {
    max-height: 65px !important;
}

.sidenav-text {
    white-space: nowrap;
    margin-left: 44px;
    font-family: 'Quicksand';
    font-style: normal;
    /* font-weight: bold; */
    font-size: 15px;
    line-height: 30px;
    display: flex;
    align-items: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

.sidenav-img > img {
    width: 24px;
    height: 24px;
}

.template-header {
    height: 60px;
    width: calc(100% - 60px);
    float: left;
    background: #FFFFFF;
    position: fixed;
    z-index: 9;
    top: 0;
    right: 1px;
    border: 1px solid #EBF3F5;
    border-left: 0px;
    border-right: 0px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 50px 1px;
    transition: 0.5s;
}

.header-button {
    gap: 16px;
    margin: 0 8px;
    width: fit-content;
    height: 60px;
    float: right;
    display: flex;
}

.header-img {
    margin: auto;
}

    .header-img > img {
        width: 24px;
        height: 24px;
        cursor: pointer;
    }

.header-logo {
    width: 160px;
    height: 28px;
    margin-top: 16px;
    margin-left: 20px;
    transition: 0.5s;
    cursor: pointer;
}

.template-conteudo {
    background-color: rgba(235, 243, 245, 1);
    width: 100%;
    height: calc(100% - 60px);
    padding: 0px 0px 0px 60px;
    position: absolute;
    overflow: auto;
    margin-top: 60px;
}

a.link-template {
    color: inherit;
    text-decoration: none;
}

    a.link-template:hover {
        color: inherit;
        text-decoration: none;
    }

/* GERAR FILTROS: https://codepen.io/sosuke/pen/Pjoqqp */
.filtro-svg-preto {
    filter: brightness(0) saturate(100%);
}

.filtro-svg-branco {
    filter: brightness(0) saturate(100%) invert(99%) sepia(100%) saturate(0%) hue-rotate(192deg) brightness(109%) contrast(101%);
}

.filtro-svg-azul {
    filter: invert(55%) sepia(72%) saturate(1298%) hue-rotate(173deg) brightness(93%) contrast(94%);
}

@media only screen and (max-width: 768px) {
    .form-input-txt {
        margin-bottom: 15px;
        height: calc(1.5em + .75rem + 10px);
    }

    .form-btn {
        padding: 18px;
    }

    .leaflet-bar.leaflet-control {
        display: flex;
        margin-top: 20px !important;
    }

    .leaflet-top {
        display: flex;
        flex-wrap: wrap;
    }

    .leaflet-bar {
        height: 20px;
    }

    .leaflet-control-layers {
        position: absolute !important;
        top: 94px;
    }

    .leaflet-control-layers-base>label{
        display: flex !important;
        gap: 8px;
    }
}


.btn-template {
    background: #219BB8;
    border: 1px solid #1389A5;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 15px;
    color: #ffffff;
}

    .btn-template:hover {
        background: rgba(44, 179, 204, 1);
        border: 1px solid #1389A5;
    }

    .btn-template:active {
        background: #219BB8;
        border: 1px solid #1389A5;
        box-shadow: inset 4px 4px 5px rgba(0, 0, 0, 0.15);
    }

    .btn-template:focus {
        outline: none !important;
    }

    .btn-template:disabled {
        background: #219BB8;
        opacity: 0.5;
        border: 1px solid #1389A5;
    }

.btn-template-secondary {
    box-sizing: border-box;
    border-radius: 0;
    font-size: 15px;
    background: #FFFFFF;
    border: 1px solid #1389A5;
    color: #219BB8;
}

    .btn-template-secondary:hover {
        background: #e3eef6;
        border: 1px solid #1389A5;
    }

    .btn-template-secondary:active {
        background: #FFFFFF;
        border: 1px solid #1389A5;
        box-shadow: inset 4px 4px 5px rgba(0, 0, 0, 0.15);
    }

    .btn-template-secondary:focus {
        outline: none !important;
    }

    .btn-template-secondary:disabled {
        background: #219BB8;
        opacity: 0.5;
        border: 1px solid #1389A5;
    }


/* MODULOS */
.modulo-accordion {
    min-width: 220px;
    width: 100%;
    height: auto;
    overflow-y: hidden;
    overflow-x: hidden;
    max-height: 65px;
    transition: max-height 0.2s;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid rgb(73, 173, 196);
}

.modulo-accordion-header {
    min-width: 220px;
    width: 100%;
    height: 56px;
    cursor: pointer;
    color: #FFFFFF;
    padding: 0 14px 0 20px;
}

    .modulo-accordion-header:hover {
        background-color: #0A7D98;
    }

.modulo-accordion-header-img {
    float: left;
    height: 56px;
    display: flex;
    align-items: center;
    font-size: 20px;
    width: 24px;
}

    .modulo-accordion-header-img > i {
        margin: auto;
    }

.modulo-accordion-header-text {
    float: left;
    height: 56px;
    display: flex;
    align-items: center;
    font-family: Quicksand;
    font-size: 15px;
    margin-left: 19px;
    letter-spacing: -0.02em;
}

.modulo-accordion-header-seta {
    float: right;
    height: 56px;
    display: flex;
    align-items: center;
    font-size: 11px;
}

.modulo-accordion-conteudo {
    width: calc(100% - 25px);
    height: auto;
    margin-left: 30px;
}

.modulo-accordion-conteudo-img {
    float: left;
    height: 30px;
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #FFFFFF;
}

/* MODAL */
.modal-template-container {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding: 50px 0;
}

.modal-template {
    position: relative;
    background-color: #FFFFFF;
    margin: auto;
    padding: 0;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
    overflow: auto;
    max-height: 100%;
}

.modal-template-header {
    width: 100%;
    height: 64px;
    padding: 0 20px;
}

.modal-template-header-text {
    font-family: Roboto;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    color: #3C3C38;
    float: left;
    height: 64px;
    display: flex;
    align-items: center;
}

.modal-template-header-close {
    font-style: normal;
    font-weight: 900;
    font-size: 16px;
    float: right;
    height: 64px;
    display: flex;
    align-items: center;
}

    .modal-template-header-close > i {
        cursor: pointer;
    }

        .modal-template-header-close > i:hover {
            font-size: 17px;
        }

.modal-template-conteudo {
    width: 100%;
}

.modal-template-loading {
    width: 300px;
    height: 180px;
}

.close {
    cursor: pointer;
}

/*LOADER*/

.loader {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    position: relative;
    margin: 0 auto;
}

/* LOADER 1 */

#loader-1:before, #loader-1:after {
    content: "";
    position: absolute;
    top: 20px;
    left: 26px;
    width: 50%;
    height: 50%;
    border-radius: 100%;
    border: 10px solid transparent;
    border-top-color: #219BB8;
}

#loader-1:before {
    z-index: 100;
    animation: spin 0.37s infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

#loader-1:after {
    border: 10px solid #ccc;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* TABULATOR */
.tabulator-col-title {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 11px;
    color: #878784;
    text-transform: uppercase;
    height: 31px;
    display: flex;
    float: left;
    width: auto !important;
    padding-right: 8px !important;
    padding-top: 3px;
}

.tabulator-cell {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    color: #3C3C38;
}

.tabulator-arrow {
    display: block !important;
    position: initial !important;
    float: left;
    margin-top: 6px;
}

.tabulator-row-odd {
    background: #F4F4F4;
}

.tabulator-row-even {
    background: #FFFFFF;
}

.tabulator-row.tabulator-selectable:hover {
    background-color: #E8E8E8;
    cursor: pointer;
}



.template-menu-configuracoes {
    position: fixed;
    right: 0px;
    top: 60px;
    z-index: 10;
    background: #FFFFFF;
    border: 1px solid #EFEFEF;
    border-top: 0;
}

.template-menu-configuracoes-item {
    font-family: Roboto;
    padding: 5px 10px 5px 10px;
    font-size: 15px;
    /* color: black; */
}

.template-menu-configuracoes-item-link {
    color: black;
}

.botao-fechar-bci {
    display: none;
}

.cabecalho-tabela-relatos {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.botao-limpar-filtro {
    background-color: #219bb8;
    border: none;
    color: white;
    padding: 4px 4px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    min-width: 34px;
}

    .botao-limpar-filtro:hover {
        background-color: #ff6666;
    }

.div-container-botoes-data {
    width: fit-content;
    display: flex;
    align-items: center;
}
/*ESTILO MOBILE*/
@media only screen and (max-width: 1024px) {
    .template-conteudo {
        padding: 0 !important;
        position: relative;
    }

    .template-menu-sidenav {
        max-height: 60px;
        height: auto;
        overflow-y: hidden;
    }

    .pdf-container {
        display: none;
    }
}

@media only screen and (max-width: 450px) {
    .modal-template {
        width: 100% !important;
    }

    .div-container-botoes-data {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .modal-template-conteudo {
        width: 100%;
        align-items: center;
        display: flex !important;
        flex-direction: column;
        gap: 16px;
    }

        .modal-template-conteudo button {
            margin: 0px !important;
            min-width: 200px;
        }

    .botao-fechar-bci {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        height: 39px;
        padding: 4px;
        margin-bottom: 20px;
        width: fit-content;
        margin-left: auto;
    }

        .botao-fechar-bci p {
            margin: 0;
        }

    .template-menu-sidenav {
        position: fixed;
        overflow: auto;
    }

        .template-menu-sidenav a {
            overflow-y: auto;
        }

    .sidenav-button {
        min-width: 40px;
        width: auto;
    }

    .template-header {
        margin-left: 50px;
        position: relative;
        width: calc(100% - 50px);
    }

    .header-usuario {
        display: none;
    }

    .ficha-footer-btn-finalizar {
        margin-left: 10px;
    }

    .pdf-container {
        display: none;
    }

    .template-menu-configuracoes {
        overflow: auto;
        height: calc(100vh - 150px);
    }
}

.topo-pdf {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.container-header-pdf {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pdf-container * {
    word-break: break-all;
}

.pdf-container {
    color: #000; /* Cor do texto branco */
    padding: 10px; /* Espaçamento interno */
    border-radius: 5px; /* Borda arredondada */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra suave */
    width: 500mm;
    position: absolute;
    top: 0;
    display:none;
}

    .pdf-container table {
        width: 100%; /* Tornar a tabela largura total */
        border-collapse: collapse; /* Remover espaçamento entre células */
        margin-top: 10px; /* Espaçamento superior */
    }

    .pdf-container th,
    .pdf-container td {
        text-align: left; /* Alinhar texto à esquerda */
        border-bottom: 1px solid #ccc; /* Linha inferior para cabeçalho e células */
        max-width: 50px;
    }

    .pdf-container th {
        background-color: #2980b9; /* Cor de fundo azul mais escura para cabeçalho */
        color: #fff; /* Cor do texto branco para cabeçalho */
        font-weight: bold; /* Texto em negrito para cabeçalho */
    }

    .pdf-container tr:nth-child(even) {
        background-color: #f2f2f2; /* Cor de fundo cinza claro para linhas pares */
    }

    .pdf-container tr:hover {
        background-color: #e0e0e0; /* Cor de fundo cinza claro quando passar o mouse */
    }

    .pdf-container th[data-nome="Descricao"], .pdf-container td[data-nome=Descricao], pdf-container th[data-nome="RespostaPrefeitura"], .pdf-container td[data-nome=RespostaPrefeitura] {
        padding: 8px 12px;
        max-width: 200px;
    }

.topo-pdf {
    display: flex;
    gap: 16px;
}


.leaflet-control-layers-group-label {
    cursor: pointer;
    user-select: none;
}