/* 
 *Copyright v1.0.0 - Jul 2025 
 */
body {
    font-family: "Roboto Condensed", serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
    text-align: justify;
}


/*
*
*   All Page
*
*/
a {
    color: #65886b;
}


/*
*
*   Page fixes
*
*/
.illustration {
    max-height: 260px;
    overflow: hidden;
}

h1+p,
h3+p {
    margin-top: 32px;
}

.pag {
    margin: 48px auto;
    max-width: 1200px;
    overflow: hidden;
    width: 95%;
}

.pag a {
    color: #65886b;
}

.pag h3 {
    color: #000;
    font-size: 36px;
    font-weight: 500;
}

.pag table {
    display: block;
    overflow: scroll;
}

.pag .looong table,
div.looong {
    display: block;
    overflow: scroll;
}

.t2 table{
    width: 100% !important;
    margin: 0 auto;
}

div.looong table {
    width: max-content;
}

@media only screen and (min-width: 576px) {
    .pag table {
        display: table;
    }
}

.tooltip {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    color: white;
    display: none;
    font-size: 14px;
    padding: 5px;
    position: absolute;
}

.redC {
    color: #c0392b;
    font-weight: bold;
    display: block;
    margin-top: 2px;
}

.redB {
    color: #2c1fe1;
    font-weight: bold;
    display: block;
    margin-top: 2px;
}

/*
*
*   Cards
*
*/
.card-section {
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    max-width: 1360px;
}


/*
*
*   Map
*
*/
.initial-map .tooltip {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    color: white;
    display: none;
    font-size: 14px;
    padding: 5px;
    position: absolute;
}

.initial-map svg {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 900px;
    width: 85%;
}

.initial-map path {
    cursor: pointer;
    fill: #fafafa;
    stroke-width: 0.5;
    stroke: rgba(71, 97, 67, .25);
}

.initial-map path:hover {
    fill: #476143;
}

/* 
*   Map color
*/
/* 
    .initial-map.c1 path {
        stroke: rgba(71, 97, 67, .25);
    }

    .initial-map.c1 path:hover {
        fill: #476143;
    }

    .initial-map.c2 path {
        stroke: rgba(71, 97, 67, .25);
    }

    .initial-map.c2 path:hover {
        fill: #476143;
    }
*/

.tablita {
    padding: 8px;
}

.tablita p {
    font-weight: 400;
}

/*
*
*   Table Indicator Data
*
*/
.indicator .data table {
    border-collapse: collapse;
    font-size: 16px;
    margin: 40px auto;
    max-width: 950px;
    overflow: scroll;
    width: 100%;
}

.indicator .data th,
.indicator .data td {
    padding: 2px;
    text-align: center;
}

.indicator .data th {
    background-color: #f2f2f2;
}

.indicator .data tr:nth-child(even) {
    background-color: #f2f2f2;
}

.indicator .data tr {
    transform-origin: center center;
    transition-duration: 0.325s;
    transition-property: transform;
    transition-timing-function: ease-in-out;
}

.indicator .data tr:hover {
    background-color: #ddd;
    transform: scale(1.2);
}

.data-table>span,
.source-reference {
    font-size: 15px;
    font-style: italic;
    text-align: justify;
}

/*
*
*   Indicator
*
*/

.indicator a {
    color: #000;
}

.indicator a:hover {
    color: #470137;
}

.indicator-menu a>img,
.data a>img {
    margin: 8px;
    vertical-align: middle;
    width: 18px;
}

.indicator-menu {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.indicator-menu.empty {
    padding: 0;
}

.indicator-menu a,
.data a {
    color: #000;
    font-size: 20px;
}

.indicator-menu>div:nth-child(3) {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 0 auto;
}


.visual>div:nth-child(2) {
    display: none;
}

.comparator-layout {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.comparator-layout>div {
    width: 100%;
}

@media only screen and (min-width: 576px) {
    .comparator-layout>div:nth-child(1) {
        width: 30%;
    }

    .comparator-layout>div:nth-child(2) {
        width: 70%;
    }
}

.chart-wrapper {
    width: 70%;
}

.chart-wrapper .source-reference {
    padding-left: 48px;
}

.states {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 30%;
}

.states>div {
    background-color: #252c2e;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    margin: 2px 0;
    padding: 8px;
    width: 28%;
}


.states.deep-state>div {
    background-color: #252c2e;
    cursor: pointer;
}

.states.deep-state>div:hover {
    background-color: #476143;
}

@media only screen and (min-width: 576px) {
    .states>div {
        width: 40%;
    }
}

@media only screen and (min-width: 768px) {

    .states>div {
        width: 44%;
    }
}

.states>div.active {
    background-color: #476143;
}

.states a {
    float: inline-end;
}

.states a>img {
    margin-left: 4px;
    transition: all 0.3s;
    vertical-align: middle;
    width: 14px;
}

.states a>img:hover {
    width: 13px;
}

.data {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 48px auto;
}

.data>div:nth-child(3) {
    background-color: #fff;
    margin: 24px 0;
    overflow: scroll;
    width: 100%;
}

.data>div:nth-child(3) span {
    display: block;
    font-weight: 300;
    margin: 24px auto;
    max-width: 950px;
    width: 100%;
}


.wrapper-indicator-detail {
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

.wrapper-indicator-detail>div {
    background-color: #fff;
    border-radius: 8px;
    left: 50%;
    padding: 16px 18px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 420px;
    width: 90%;
}

.indicator-detail-close {
    cursor: pointer;
    font-size: 20px;
    height: 16px;
    padding: 8px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 16px;
}

.indicator-detail-close:hover {
    color: maroon;
}

.indicator-detail-title {
    color: #002c2d;
    font-size: 12px;
    margin-top: 16px;
    text-align: right;
}

.indicator-detail-state {
    color: #002c2d;
    font-size: 20px;
    font-weight: bold;
    margin: 12px 0;
}

.indicator-detail-data {
    margin-bottom: 24px;
}

.indicator-detail-data>div {
    align-items: center;
    display: flex;
    font-size: 16px;
    justify-content: space-between;
}

.indicator-detail-data>div>span:nth-child(1) {
    color: #074d3a;
}

.indicator-detail-data>div>span:nth-child(2) {
    color: #002c2d;
}

.indicator-detail-data-content-template {
    display: none;
}

.indicator-detail-source {
    color: #8c8b8b;
    font-size: 11px;
    font-style: italic;
}


/*
*
*   Table inside State Deep Data
*
*/
.states-min {
    border: 0px;
    color: #fff;
    background-color: #252c2e;
    font-size: 24px;
    font-weight: 500;
    width: 100%;
    border-radius: 0;
    padding: 6px;
    margin: 0 0 16px 0;
    cursor: pointer;

    &,
    &::picker(select) {
        appearance: base-select;
        font-weight: 400;
        padding: 12px;
    }
}

.states-min option {
    font-weight: 300;
    font-size: 16px;
    padding: 4px 0;
}

.state-name {
    color: #252c2e;
    font-size: 28px;
    font-weight: 500;
    margin: 0 auto 24px auto;
    width: 90%;
}

.states-min+div {
    display: block !important;
}

.states-deep-data {
    width: 100%;
}

.chart-wrapper .states-deep-data {
    padding-left: 48px;
}

.states-deep-data table {
    width: calc(100% - 48px);
    font-size: 16px;
}

.states-deep-data table td {
    padding: 2px 6px;
}

.states-deep-data table td:has(strong) {
    background-color: #252c2e;
    color: #fff;
    font-weight: 200;
}
table.special td:has(strong) {
    background-color: #252c2e;
    color: #fff;
    font-weight: 200;
}

.states-deep-data table tr.spacer {
    height: 24px;
}

.states-deep-data>div {
    display: none;
}


/*
*
*   Table Simple
*
*/
.simple td,
.simple th {
    padding: 0 12px 0 12px;
}

.simple thead tr,
.simple th {
    background: #252c2e;
}

.simple tbody tr {
    height: 50px;
}

.simple tbody tr:last-child {
    border: 0;
}

.simple td,
.simple th {
    text-align: left;
}

.simple td {
    padding: 8px 16px;
}

.simple th {
    font-size: 18px;
    color: #fff;
    line-height: 1.2;
    font-weight: unset;
    padding: 8px;
}

.simple tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

.simple tbody tr {
    font-size: 18px;
    line-height: 1.2;
    font-weight: unset;
}

.simple tbody tr:hover {
    color: #555555;
    background-color: #f5f5f5;
    cursor: pointer;
}


/*
*
*   Collapsable
*
*/
.collapsible+div {
    max-height: 0;
    overflow: hidden;
}

.collapsible:before {
    content: '\002B';
    float: right;
    margin-left: 5px;
    margin-top: 16px;
    font-size: 48px;
    cursor: pointer;
    line-height: 0;
}

.collapsible:hover::before {
    color: #4d7248;
}

.collapsible.active:before {
    content: "\2212";
}

.CCcontent {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
}