*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FCFDFF;
    padding: 4rem 2rem;
}

.container {
    max-width: 1200px;
}

#brazilMap path {
    fill: #333;
    stroke: rgb(246, 246, 246);
    transition: all .2s ease;
    cursor: pointer;
}

#brazilMap path:hover {
    opacity: 1;
    stroke: #000;
}

.custom-tooltip{
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    position: absolute;
    white-space: nowrap;
    font-size: 16px;
    color: #000;
    max-width: 200px;
    box-shadow: rgba(16, 120, 51, .2) 0 2px 8px 0;
    border: 1px solid #107833;
}

#simulateTooltip {
    opacity: 0 !important;
    visibility: hidden !important;
}

#brazilMap {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 650px;
}

.brazil-states .brazil-state-item {
    padding: .5rem 1rem;
    border-radius: .6rem;
    white-space: nowrap;
    display: inline-block;
    background-color: rgba(99, 99, 99, 0.1);
    margin-right: .7rem;
}

.brazil-states .brazil-state-item  > * {
    font-size: 1.35rem;
    color: #000;
    display: inline-block;
}

.modal .modal-header .btn-close {
    padding: .8rem;
    box-shadow: 0 5px 20px 0 rgba(34,41,47,.1);
    border-radius: .357rem;
    background-color: #fff;
    opacity: 1;
    transition: all .23s ease .1s;
    position: relative;
    transform: translate(18px,-10px);
}

.modal-header .btn-close {
    padding: 0.4rem 0.7rem;
    margin: -0.4rem -0.7rem -0.4rem auto;
}

.btn-close {
    box-sizing: content-box;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0.25em 0.25em;
    color: currentColor;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1.25rem auto no-repeat;
    background-color: transparent;
    border: 0;
    border-radius: 0.357rem;
    opacity: 0.4;
    font-size: 1.6rem;
}

.modal > * {
    font-size: 1.6rem;
}

.modal .nav-tabs {
    border-bottom: 1px solid  rgba(0,0,0,.2);
}

.modal .nav-item {
    border: 1px solid rgba(0,0,0,.2);
    padding: .35rem .75rem;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    border-bottom-color: #fff;
    transform: translateY(2px);
    background-color: #fff;
}

.modal .nav-item .nav-link {
    color: gray;
}

.modal .nav-item .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 567px) {
    .datatable-header {
        justify-content: center;
    }

    .dataTables_filter,
    .dataTables_info {
        margin-bottom: 1rem;
    }

    .datatable-footer {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .datatable-header input, .datatable-header select {
        font-size: 1.1rem;
    }

    .modal > * {
        font-size: 1.1rem !important;
    }

    .modal-dialog {
        max-width: 92.5vw;
        margin: 30px auto;
    }
}