@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Outfit:wght@100&family=Pacifico&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-primary: #3479bc;
    --color-primary-light: #8cb6d9;
    --color-primary-dark: #1b5387;
    --color-danger: #ff7782;
    --color-success: #41f1b6;
    --color-warning: #ffbb55;
    --color-info: #17a2b8;
    --color-white: #fff;
    --color-info-dark: #7d8da1;
    --color-info-light: #dce1eb;
    --color-dark: #363949;
    --color-light: #f0f4f8;
    --color-primary-variant: #9e675d;
    --color-dark-variant: #677483;
    --color-background: #f6f6f9;

    --card-border-radius: 2rem;
    --border-radius-1: 0.4rem;
    --border-radius-2: 0.8rem;
    --border-radius-3: 1.2rem;

    --card-padding: 1.8rem;
    --padding-1: 1rem;
    --padding-2: 0.4rem;

    --box-shadow: 0 2rem 3rem var(--color-light);

    --invert: 0;
}

.dark-theme-variables {
    --color-background: #181a1e;
    --color-white: #202528;
    --color-dark: #edeffd;
    --color-dark-variant: #a3bdcc;
    --color-light: rgba(0, 0, 0, 0.4);
    --box-shadow: 0 2rem 3rem var(--color-light);
    --invert: 1;
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    appearance: none;
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    font-family: poppins, sans-serif;
    font-size: 0.88rem;
    background: var(--color-background);
    overflow-x: hidden;
    color: var(--color-dark);
    position: relative;
}

a {
    color: var(--color-dark);
}

img {
    display: block;
    width: 100%;
}

h1 {
    font-weight: 800;
    font-size: 1.6rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 0.87rem;
}

h4 {
    font-size: 0.8rem;
}

h5 {
    font-size: 0.77rem;
}

small {
    font-size: 0.75rem;
}

.error {
    background-color: var(--color-danger) !important;
    box-shadow: inset 5rem 5rem var(--color-danger) !important;
}

.hidden {
    display: none !important;
}

.noScrool {
    overflow: hidden;
}

.boxInput {
    position: relative;
    max-width: 800px;
    margin: .5em auto 0 auto;
}

.boxInput input {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.boxInput label {
    position: relative;
    display: flex;
    height: 5em;
    justify-content: center;
    border-radius: 0.5em;
    border: 0.2em dashed gainsboro;
    align-items: center;
    font-weight: bold;
    color: #000;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

.boxInput label:hover {
    box-shadow: gainsboro 0 0.5em 0.5em;

}

.grupo_box_input {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 1rem 0.5rem 0;
    position: relative;
    height: max-content;
    width: 24rem;
}

.grupo_box_input .box_input {
    margin: 0;
    flex-direction: row;
    height: fit-content;
    align-items: center;
}

.grupo_box_input>label {
    width: 100%;
}

.box_input {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 1rem 0.5rem 0;
    position: relative;
}

.box_input .btn_dropdown {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.5rem;
    border: 1px solid lightgrey;
    border-radius: 0.5rem;
    cursor: pointer;
    background-color: #fff;
    color: #000;
    width: 16rem;
}

.box_input .btn_dropdown .filter_option {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box_input .box_lista {
    position: absolute;
    top: 4.5rem;
    width: 100%;
    height: 10rem;
    max-height: 10rem;
    overflow: auto;
    z-index: 1;
    background-color: white;
}

.box_input .box_lista ul {
    width: 100%;
    top: 0;
    margin: 0;
}

.box_input .box_lista ul li.checked:before {
    content: '\2713';
    display: inline-block;
    color: var(--color-primary);
    padding: 0 1rem 0 0;
    font-weight: bold;
}

.box_input ul li:first-child {
    border-radius: 0.25rem 0.25rem 0 0;
}

.box_input ul li:last-child {
    border-radius: 0 0.25rem 0.25rem;
}

.box_input ul {
    position: absolute;
    top: 100%;
    z-index: 100;
    background-color: white;
    border-radius: .25rem;
    margin-top: .5rem;
    border: 1px solid rgba(0, 0, 0, .125);
}

.box_input ul li {
    padding: .5rem;
    color: #000;
    border-bottom: 1px solid gainsboro;
}

.box_input ul li:first-child {
    border-radius: .25rem .25rem 0 0;
}

.box_input ul li:last-child {
    border-radius: 0 0.25rem .25rem;
}

.box_input ul li:hover {
    cursor: pointer;
    background-color: gainsboro;
}

input {
    border: 1px solid lightgrey;
    border-radius: 5px;
    outline: none;
    width: 100%;
    padding: 0.5rem;
    transition: all .1s linear;
    -webkit-transition: all .1s linear;
    -moz-transition: all .1s linear;
    -webkit-appearance: none;
    box-shadow: inset 5rem 5rem white;
    color: #000;
}

select {
    border: 1px solid lightgrey;
    border-radius: 5px;
    outline: none;
    width: auto;
    padding: 0.5rem;
    transition: all .1s linear;
    appearance: auto;
    color: #000;
}

textarea {
    overflow: hidden;
    border: 1px solid lightgrey;
    border-radius: 5px;
    outline: none;
    width: 100%;
    padding: 0.5rem 0.5rem 0;
    -webkit-appearance: none;
    box-shadow: inset 5rem 5rem white;
    color: #000;
    resize: none;
}

.btn-excel {
    background-color: #107C41 !important;
    color: white;
    padding: 0 1.2rem;
    height: 35px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    transition: filter 0.2s;
}

.btn-excel:hover {
    filter: brightness(1.1);
}

table {
    position: relative;
    display: block;

    width: 100%;
    height: auto;
    max-height: calc(100vh - 8em);

    overflow-y: scroll;
    overflow-x: scroll;

    font-family: 'Nunito', sans-serif;
    font-size: .8em;
    color: #000;
}

table a {
    color: #000;
}

table::-webkit-scrollbar {
    width: .2em;
    height: .5em;
}

table::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
}

table::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.3);
}

table th {
    border: 0;
    margin: 0;
    padding: .5em;

    background-color: var(--color-primary);
    color: white;

    position: sticky;
    top: 0;
    z-index: 1;
}

table th a {
    font-size: 1em;
    font-weight: bold;
    color: white;
    white-space: nowrap;
}

table .linha {
    border: 0;
    margin: 0;
    padding: 0;

    background-color: #eeeeee;
    color: #666666;
}

table td {
    border: 0;
    margin: 0;
    padding: 0.25em;

    font-size: 1em;
    font-weight: normal;


    white-space: normal;
    text-overflow: ellipsis;

    overflow: hidden;
    overflow-wrap: break-word;

    max-width: 25em;
}


table td a {
    white-space: nowrap;
}

tr:nth-child(odd) {
    background: #CCC
}

tr:nth-child(even) {
    background: #FFF
}

table .colTexto {
    padding: 0.5em;
    padding-left: 1em;
    text-align: left;
    vertical-align: middle;
}

table .colTexto a {
    font-size: 1.4em;
    line-height: 1.3em;
}

.boxSelect {
    width: 100%;
    text-align: left;
    position: relative;
    display: flex;
    justify-content: space-between;
}

@media screen and (min-width: 600px) {
    .boxSelect {
        font-size: 6em;
    }
}

@media screen and (max-width: 599px) {
    .boxSelect {
        font-size: 16vw;
    }
}

.boxSelect .icon_col {
    font-size: .4em;
    cursor: pointer;
    width: 1em;
    height: 1em;
    min-width: 1em;
    background-image: url(../img/svg/table.svg);
}

.boxSelect .boxMenu {
    position: absolute;

    top: .05em;
    left: .5em;

    z-index: 2;
    filter: drop-shadow(2px 2px 2px grey);
    font-size: 1em;

    max-height: 60vh;
    overflow: auto;
}

.boxSelect .boxMenu::-webkit-scrollbar {
    width: .1em;
    height: .5em;
}

.boxSelect .boxMenu::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
}

.boxSelect .boxMenu::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.3);
}

.boxSelect .boxMenu .linha {
    position: relative;
    display: block;

    font-size: .2em;
    line-height: 1em;
    padding: .5em 1em;

    background-color: white;
    color: #777777;

    white-space: nowrap;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;

    border: solid .01em gray;
}

.boxSelect .boxMenu .linha.ativo {
    background-color: var(--color-primary);
    color: white;
}

.boxSelect .boxMenu .linha:hover {
    background-color: var(--color-primaryHover);
    color: white;
}

.boxSelect .maxLinhas {
    display: flex;
    font-size: .25em;
    font-family: 'Nunito', sans-serif;
    align-items: center;
}

.boxSelect .maxLinhas input {
    position: relative;
    padding-left: .5em;

    width: 2.5em;
    height: 1.6em;

    font-size: .7em;
    font-family: 'Nunito', sans-serif;
    color: #666666;

    margin-left: .5em;
    border-radius: 0.5em;
    border-width: 1px;
    background-color: #ffffff;
    outline: none;
}

.download-button {
    position: relative;
    border-width: 0;
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    padding: 0;
    z-index: 1;
    margin-top: .5em;
}

.download-button .docs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 4px;
    z-index: 1;
    background-color: #242a35;
    border: solid 1px #e8e8e82d;
    transition: all .5s cubic-bezier(0.77, 0, 0.175, 1);
}

.download-button:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.download {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    margin: 0 auto;
    z-index: -1;
    border-radius: 4px;
    transform: translateY(0%);
    background-color: #01e056;
    border: solid 1px #01e0572d;
    transition: all .5s cubic-bezier(0.77, 0, 0.175, 1);
}

.download-button .download a {
    cursor: pointer;
    width: 1em;
    height: 2em;
    min-width: 1em;
    /* background-image: url(../img/svg/file-arrow-down-solid.svg); */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.download-button:hover .download {
    transform: translateY(100%)
}

.download svg polyline,
.download svg line {
    animation: docs 1s infinite;
}

@keyframes docs {
    0% {
        transform: translateY(0%);
    }

    50% {
        transform: translateY(-15%);
    }

    100% {
        transform: translateY(0%);
    }
}

/* Set the size of the div element that contains the map */

#floating-panel {
    display: flex;
    height: 4rem;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.box_input button {
    position: relative;
    border-width: 0;
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: .5rem;
    height: 2rem;
    background-color: #f77d00;
    padding: 0 1rem;
    cursor: pointer;
    box-shadow: 5px 8px 4px rgba(0, 0, 0, 0.2);
}

.box_input button:hover {
    box-shadow: none;
}

#map {
    margin-top: .5rem;
    height: calc(100vh - 6rem);
    /* The height is 400 pixels */
    width: 100%;
    /* The width is the width of the web page */
}

main {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0rem 0rem 1rem var(--color-dark-variant);
}

main h1.titulo {
    color: var(--color-primary);
    border-bottom: solid 1px var(--color-primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.box_cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.required {
    position: relative;
}

.required:after {
    content: "*";
    color: red;
}

input[type=number].no_arrow::-webkit-inner-spin-button {
    -webkit-appearance: none;

}

input[type=number].no_arrow {
    -moz-appearance: textfield;
    appearance: textfield;
}

.pc_3 {
    width: calc(33% - 1.03rem);
}

.pc_2 {
    width: calc(50% - 1.15rem);
}

.pc {
    width: calc(100% - 1rem);
}

@media print {
    nav {
        display: none !important;
    }

    body {
        padding: 0 !important;
    }

    main {
        width: 100% !important;
        box-shadow: none !important;
    }

    .page_break_after {
        page-break-after: always;
    }
}

@media only screen and (max-width: 635px) {
    .mob_3 {
        width: calc(33% - 1.075rem);
    }

    .mob_2 {
        width: calc(50% - 1.15rem);
    }

    .mob_1 {
        width: calc(100% - 1rem);
    }
}