[v-cloak] {display: none}
.page-header{
    position: relative;
    height: auto !important;
    background-color: #0a132d1f;
}
.page-header::before{
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;  
    opacity: 1; 
    z-index: -1;
    background: #0a132dd4;
    background-size: cover;
    background-position-y: 22%;
}
.page-header .page-header-title{
    padding-left: 5vw;
    padding-top: 5vh;
}
.header-metrics{
    height: 100%;
    width: calc(100% - 100px);
}
.header-metric{
    display: flex;
    width: 207px;
    padding: 0 10px;
}
.header-metric.active .box,
.header-metric .box:hover{
    background-color: white;
    /*background-color: #0a132d;*/
    /*background-color: #0969b2;*/
    color: inherit;
}
.header-metric.active .value,
.header-metric .box:hover  .value
{
    color: #0969b2;
}
.header-metric .box{
    background-color: #0a132d;
    color: white;
    position: relative;
    display: flex;
    text-align: center;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    max-height: 190px;
    border-radius: 2px;
    width: 100%;
    padding: 10px 10px 10px 10px;
    cursor: pointer;
    transition: all .1s ease-in;
}
.header-metric .value{
    color: white;
    font-size: 30px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .1s ease-in;
}
.header-metric .date{
    position: absolute;
    background: #eb3c46;
    bottom: -10px;
    right: 0;
    margin-right: 10px;
    padding: 2px 8px;
    color: white;
    border-radius: 3px;
}

.header-metric .box .title{
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}
.page-fixed-nav{
    position: fixed;
    background-color: white;
    z-index: 99999;
    top: -50%;
    width: 100%;
    overflow: hidden;
    transition: top .4s ease;
}
.page-fixed-nav > div:first-child{
    z-index: 11;
    position: relative;
    background-color: white;
}
.page-fixed-nav.active{
    top: 0;
}
.page-fixed-nav .header-metrics{
    width: calc(100% - 100px);
    /*width: 100%;*/
    height: 68px;
}

.page-fixed-nav .header-metrics .header-metric{
    flex: 200px;
    height: 68px;
}
.page-fixed-nav .header-metrics .header-metric .box{
    padding: 0px 2px;
    max-height: 48px;
}
.page-fixed-nav .header-metrics .header-metric .box .value{
    font-size: 22px;
}
.page-fixed-nav .header-metrics .header-metric .box .title{
    height: 22px;
}
.page-fixed-nav .navbar-sections  {
    min-height: 32px;
    padding: 0;
}
.row-header-metrics{
    box-shadow: 0px -160px 800px inset #0a132d;
    min-height: 88vh;
}
.row-header-metrics .header-metric{
    flex: 220px;
    height: 220px;
}
.navbar-sections .navbar-nav{
    max-width: none;    
    flex-wrap: nowrap;
    white-space: nowrap;
}
.row-header-navbar-sections{
    transform: translateY(-100%);
}
.row-header-navbar-sections .row-header-metrics{
    min-height: 200px;
}
.row-header-navbar-sections .navbar-nav .nav-link{
    cursor: pointer;
    margin-bottom: 2px;
    min-height: 34px !important;
    white-space: nowrap;
}
.row-header-navbar-sections .navbar-nav .nav-link:hover, .row-header-navbar-sections .navbar-nav .nav-link.active{
    margin-bottom: 0px !important;
    min-height: auto !important;
}

/* section */
#sections{
    overflow-x: hidden;
}
.section{
    min-height: 85vh;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}
.section .header-trigger{
    cursor: pointer;
}
.section .section-container{
    background-color:white;
    margin: 0 -1vw;
    padding: 2vw;
    border-radius: 2px;
    margin-top: 5vh;
    position: relative;
    width: 100%;
}
.section-graph{
    min-height: 200px;
}
/* Desktop */
@media (min-width: 768px){
    .section{
        padding-left: 5rem !important;
        padding-right: 5rem !important;
    }
    .share-btn{
        z-index: 3;
    }
    .section-graph{
        min-height: 80%;
    }
}
/* filters */
.filter-radio input{
    height: 0;
    width: 0;
    overflow: hidden;
    position:absolute;
}
.filter-radio label{
    position: relative;
}
.filter-radio .checkmark {
    width: 100%;
    height: 100%;
    position: relative;
    left: 0;
    top: 0;
    color:inherit;
    background: #EEEEEE;
    border-left: 1px solid #e0e0e0;
}
.filter-radio .checkmark:hover {
    background: #0969b245;
}
.filter-radio input:checked ~ .checkmark {
    color: white  !important;
    background: #3490dc !important;
}
.input-group-text {
    border-radius: 2px;
}
.multiselect-native-select .btn-group{
    width: 100%;
}
/* visualization */
.graph-loader {
    background: rgba(255,255,255,.2);
    position: absolute;
}
.visualization{
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 550px; /* solo mobile */
    max-height: 82vh;  /* solo mobile */
    margin-bottom: 1vh;
    margin-top: 5vh;
    width: 100%;
}

.visualization.datamaps{
    display: flex;
    align-items: center;
    flex-flow: column;
}
.visualization.datamaps > svg{
    flex-grow: 2;
    overflow: hidden;
    max-width: 330px;
    max-height: 600px;
}
@media (min-width: 768px){
    .visualization-x2{
        width: 50%;
    }
    .visualization-x3{
        width: 33%;
    }
    .visualization{
        min-height: 60vh;
        max-height: 64vh;
    }
}
.bb text, .bb .bb-button{
    font-size: 14px !important;
}
/* datamaps */
.datamaps-legend {
    left: auto !important;
    position: relative !important;
    padding-bottom: 0;
    transform: translateY(20px);
    max-width: 100%;
}
.datamaps-legend h2{
    font-size: 10px;
    width: 100%;
    text-align: center;
}
.datamaps-subunits, .bubbles{
    transform: scale(1.2) translateX(calc(-490px + 38%))
}
.datamaps-hoverover{
    transform: translateY(50px);
}

.datamaps dl{
    display: flex;
    max-width: 100%;
}
.datamaps-legend h2 {
    font-size: 14px;
}
.back_to_top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #e9ecef;
    color: #495057;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 3px;
}
.back_to_top:hover {
    background-color: #0969b2;
    color: #ffffff;
}
.bb-tooltip td:first-child {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.custom-bb-svg-wrapper{
    height: auto;
    width: 100%;
    max-height: 100%;
    flex-grow: 3;
}
.custom-bb-legend{
    display: flex;
    align-content: start;
    flex-grow: 2;
    max-height: 25%;
    flex-wrap: wrap;
    justify-content: center;
    overflow: auto;
}
.custom-bb-legend-item{
    display: flex;
    white-space: nowrap;
    align-items: center;
    font-family: sans-serif,Arial,nanumgothic,Dotum;
    font-size: 14px !important;
    margin-right: 6px;
}
.custom-bb-legend-item .square{
    width: 10px;
    height: 10px;
    margin-right: 3px;
}
.bb-legend-item-hidden:hover{
    opacity: 1 !important;
}
.tooltip{
    z-index: 999999;
    font-size: 15px;
}
.datamaps-bubble{
    stroke-width: 1px !important;
}
.datamaps-legend dt, .datamaps-legend dd{
    white-space: nowrap;
}
.navbar-sections{
    overflow-x: auto;
    overflow-y: hidden;
}
svg{
    max-width: 100vw;
}
.row-header-navbar-sections .navbar-nav{
    max-width: none;
}
/* Visualzacion Map */

/* Mobile */
.datamaps .datamaps-subunits,.datamaps .bubbles {
    transform: scale(1.75) translate(-48px, -50px);
}
@media (min-width: 400px) {
    .datamaps .datamaps-subunits,.datamaps .bubbles {
        transform: scale(1.9) translate(-45px, -34px);
    }
}

/* Desktop */
@media (min-width: 768px) {
    .datamaps .datamaps-subunits, .datamaps .bubbles {transform: scale(0.75)  translate(80px,  -30px);}
}
@media (min-width: 768px) and (min-height: 500px){
    .datamaps .datamaps-subunits, .datamaps .bubbles {transform: scale(0.8)   translate(70px,  -30px);}
}
@media (min-width: 768px) and (min-height: 550px){
    .datamaps .datamaps-subunits, .datamaps .bubbles {transform: scale(0.9)   translate(60px,  -30px);}
}
@media (min-width: 768px) and (min-height: 600px){
    .datamaps .datamaps-subunits, .datamaps .bubbles { transform: scale(1.05) translate(40px,  -30px);}
}
@media (min-width: 768px) and (min-height: 650px){
    .datamaps .datamaps-subunits, .datamaps .bubbles { transform: scale(1.15) translate(10px,  -30px);}
}
@media (min-width: 768px) and (min-height: 700px){
    .datamaps .datamaps-subunits, .datamaps .bubbles { transform: scale(1.25) translate(0px,   -30px);}
}
@media (min-width: 768px) and (min-height: 750px){
    .datamaps .datamaps-subunits, .datamaps .bubbles { transform: scale(1.35) translate(-20px, -30px);}
}
@media (min-width: 768px) and (min-height: 800px){
    .datamaps .datamaps-subunits, .datamaps .bubbles { transform: scale(1.5)  translate(-30px, -30px);}
}
@media (min-width: 768px) and (min-height: 850px){
    .datamaps .datamaps-subunits, .datamaps .bubbles { transform: scale(1.6)  translate(-35px, -30px);}
}
@media (min-width: 768px) and (min-height: 900px){
    .datamaps .datamaps-subunits, .datamaps .bubbles { transform: scale(1.75) translate(-40px, -30px);}
}
@media (min-width: 768px) and (min-height: 950px){
    .datamaps .datamaps-subunits, .datamaps .bubbles { transform: scale(1.85) translate(-45px, -30px);}
}
@media (min-width: 768px) and (min-height: 1000px){
    .datamaps .datamaps-subunits, .datamaps .bubbles { transform: scale(1.9)  translate(-55px, -30px);}
}
@media (min-width: 768px) and (min-height: 1050px){
    .datamaps .datamaps-subunits, .datamaps .bubbles { transform: scale(2)    translate(-53px, -30px);}
}


/* Visualzaciones */

#sections{
    background-color: #e8eaed;
}
.bb-grid line {
    stroke-dasharray: none;
    stroke-linecap: round;
}

.flickity-prev-next-button.next {
    transform: translateX(50px);
}
.flickity-prev-next-button.previous {
    transform: translateX(-50px);
}
.page-fixed-nav .flickity-prev-next-button.next,
.page-fixed-nav .flickity-prev-next-button.previous {
    top:20%;
}
.flickity-viewport{
    width: 100%;
    margin: 0 auto;
}

.page-fixed-nav .flickity-button:disabled {
    pointer-events: initial;
}

.card{
    border-radius: 2px;
    border: 0;
}

.card-header{
    border: 0;
    background-color: #fafafa;
    border-radius: 3px;
    cursor: pointer;
}
.card-header:hover{
    background-color: #eceff1;
}

.section-hidden{
    opacity: 0;
    height: 0;
    width: 0;
    margin: 0;
    overflow: hidden;
    display: block;
    min-height: 0;
}
.section-metric-name{
    text-align: center;
    font-size: 18px;
    margin-top: 10px;
}
@media (min-width: 991px){
    .section-metric-name{
        position: absolute;
        right: 0;
        text-align: center;
        font-size: 20px;
    }
}
.nav-link{
    cursor: pointer;
}

/* RadarChart */
/* RadarChart Expand Button */
.expand-visualization{
    display: none; /* no disponible por defecto */
    position: absolute;
    top: 10px;
    right: 10px;
}
.expand-visualization button{
    border: solid 1px #ccc;
    background-color: #0063af;
    padding: 7px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
}
@media (min-width: 768px){
    .visualization-x2 .expand-visualization{
        display: block;
    }
}
/* RadarChart Visualization */
.RadarChart svg{
    overflow: visible !important;
    transform: scale(0.8);
    height: calc(100% + 20px);
    padding-top: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: all .4s ease; 
}
.RadarChart svg > g:first-child{
    transform: translateY(-10px);
}
/* estilo de los tick*/
.RadarChart .bb-chart-radars .bb-axis text {
    text-decoration: underline;
    fill: #0063af;
    cursor: pointer;
}
/* solo para desktop*/
@media (min-width: 768px){
    /* visualization-x1 */
    /* en escala 1 */
    .visualization-x1.RadarChart svg{
        transform: scale(1);
    }
    /* visualization-x2 */
    /* efecto de ampliacion*/
    .visualization-x2.RadarChart.active svg{
        transform: scale(1);
        width: 175%;
        padding-left: 33%;
        margin-left: -75%;
        background-color: white;
        box-shadow: 0 1px 6px 0 rgb(32 33 36 / 28%);
    }
    /* tick sin estilos si es x2 y no esta ampliado */
    .visualization-x2.RadarChart:not(.active) .bb-chart-radars .bb-axis text {
        text-decoration: none;
        fill: inherit;
        cursor: default;
    }
}

#share-link{
    position: absolute;
    left: -100%;
}
.share-btn{
    position: absolute;
    right: 2vw;
    cursor: pointer;
}
.share-btn:hover{
    color: #3490dc;
}
.z-index-2{
    z-index: 2;
}
.btn-description{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}
.section-descriptions-card .card-body{
    max-height: 50vh;
    overflow-y: auto;
}
/* Visualization Reset Button */
.reset-visualization-zoom{
    position: absolute;
    top: 10px;
    right: 10px;
}
.reset-visualization-zoom button{
    border: solid 1px #ccc;
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
.vue-monthly-picker .month-picker-wrapper{
    min-width: auto !important;
}
