body {
    font-family: var(--font-style-site);
    color: #000;
    font-size: var(--font-size-site);
    position: relative;
    padding-bottom: 30vh;
}
#header {
    width: 100%;
    padding: 25px 20px;
    font-weight: bold;
    background-color: var(--background-color-header);
    color: var(--text-color-header);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px rgba(51, 51, 51, 0.5);
}
#header img {
    width: 140px;
    margin: 0px 20px;
    object-fit: contain;
    justify-content: flex-start;
}
#header .title {
    display: inline-block;
    text-align: center;
    padding-left: 3em;
}
#header .title h1 {
    font-size: var(--font-size-header);
    margin: 0;
}
#header .title h2 {
    font-size: 20px;
    margin: 0;
}
#header .ul-item {
    margin: 0 10px;
    width: 100%;
    font-size: var(--font-size-header);
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
}
#header .ul-item li {
    display: inline;
    list-style: none;
    font-weight: bold;
    font-size: var(--font-size-header);
}
#header .ul-item li.active {
    display: inline;
}
.itemSelectable {
    margin-right: 15px;
    font-size: var(--font-size-header);
    transition: all 300ms;
}

.burguer-menu {
    margin-right: 15px;
    font-size: var(--font-size-header);
    transition: all 300ms;
    cursor: pointer;
}

#header .itemSelectable:hover {
    padding: 0 20px;
    cursor: pointer;
    background-color: var(--text-color-header);
    color: var(--background-color-header);
    box-shadow: 0px 0px 2px #eee;
}
#dashboard-container {
    margin-top: 2em;
}
.util-btns {
    display: flex;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 1em;
    color: gray;
}
.util-histogram {
    padding: 0;
    padding-left: 1.5em;
    padding-bottom: 1em;
}
#indicator-select-containers {
    display: flex;
}
#indicator-2-container {
    display: none;
}
#subgroups {
    display: none;
}
#info-subgroup {
    position: relative;
    float: right;
    padding: 6px 12px;
    font-size: 22px;
    cursor: pointer;
}
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  background-color: var(--background-color-header);
  filter: brightness(85%);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}
.sidenav li {
  padding: 8px;
  text-decoration: none;
  font-size: 25px;
  color: var(--text-color-header);
  display: block;
  transition: 0.3s;
}
.body-diseases {
    padding-bottom: 15vh;
}
.sidenav .closebtn {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 36px;
  color: var(--text-color-header);
  cursor: pointer;
  opacity: 1;
  transition: all 300ms;
}
.groups-list > a {
    color: inherit;
}
.groups-list > a:hover {
    text-decoration: none;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 25px;
    color: var(--text-color-header);
    cursor: pointer;
    opacity: 1;
    transition: all 300ms;
    margin-bottom: 3em;
}

#menu-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1002;
    background: rgba(26, 26, 26, 0.171);
    display: none;
}

.sidenav .closebtn:hover{
  cursor: pointer;
  padding: 0 20px;
  background-color: var(--text-color-header);
  color: var(--background-color-header);
  box-shadow: 0px 0px 2px #eee;
}
.link-custome{
  position: relative;
  color: var(--text-color-header);
  padding:2px 6px;
}
.link-custome:after {
  position: absolute;
  top:0; bottom: 0;
  right: 0;left: 0;
  display: block;
  background-color: var(--text-color-header);
  content: "";
  transform: translate3d(-201%,0,0);
  z-index:-1;
  transition: transform .8s cubic-bezier(0.11, 0.7, 0, 1);
}
.link-custome:hover {
  color: var(--background-color-header);
  cursor: pointer;
}
.link-custome:hover:after {
  transform: translate3d(0,0,0);
}
#ul-item-content{
    padding: 0;
}
.nav-tabs {
    background-color: #e3e3e3;
}
.nav-tabs > li {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    position: relative;
    display: block;
    padding: 10px 15px;
}
.nav-tabs > li:hover {
    border-color: #eeeeee #eeeeee #ddd;
    cursor: pointer;
    color:#337ab7;
}
.nav-tabs > li.active,
.nav-tabs > li.active:hover,
.nav-tabs > li.active:focus {
    color: #555555;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    cursor: default;
}
.nav-tabs li > img {
    width: 17px;
    height: 17px;
    color: #337ab7;
    object-fit: contain;
}
.classification {
    margin-right: 10px;
    display: none;
}
.tab-content {
    display: block;
}
.tab-content .tab-pane .container {
    width: 100%;
    padding: 5px 10px 0;
}
.tab-content .tab-pane .container .category .btn {
    padding: 5px 0
}
.tab-content .tab-pane .container .category .category-item-1 {
    color: white;
    background-color: orangered;
    margin: 0 auto;
    text-align: center;
}
.tab-content .tab-pane .container .category .category-item-2 {
    color: white;
    background-color: black;
}
.tab-content .tab-pane .container .category .progress-content {
    font-weight: bold;
}
.tab-content .tab-pane .container .category .progress-content > p {
    margin: 0;
}
.tab-content .tab-pane .container .category .progress-content .percent {
    color: #337ab7;
}
#top-chart, #histogram-container {
    position: relative;
}
#chart-placeholder, #histogram-placeholder {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #a5a5a5;
    letter-spacing: 1px;
    font-size: 22px;
}
/*
=================================================
 * Plot and map
 *
=================================================
 */

.plot-map-container {
    display: flex;
}

.card-style {
    border: 1px solid var(--background-color-header);
    border-radius: 6px;
    box-shadow: 0 0.15rem 1.75rem #d7d7d7;
    background-clip: border-box;
    width: calc(100% - 1em);
    /* height: fit-content; */
    margin: 1em;
}

.card-style-header {
    padding: 1em;
    background-color: var(--background-color-interface);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: 1px solid #e3e6f0;
}

.map-title {
    display: flex;
    justify-content: space-between;
}

.card-style-header-title {
    font-weight: 800;
    color: var(--text-color-interface);
    letter-spacing: 0.7px;
    font-size: 17px;
}

.leaflet-sbs-range {
    padding-left: 14px!important;
}

.clean-selection {
    color: var(--text-color-header);
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    display: none;
}

.tools-bar {
    margin-top: 0.7em;
}

.statistics-container {
    padding: 1em;
    display: none;
    box-shadow: 0px 3px 8px 0px #b6b6b69c;
}

.statistics-header {
    color: #919191;
}

.tool-btn {
    border: none;
    border-radius: 5px;
    padding: 0.5em;
    color: var(--background-color-interface);
    background-color: var(--text-color-interface);
    filter: contrast(1.3);
}

.tooltiptext {
    visibility: hidden;
    position: absolute;
    width: max-content;
    background: #5b5b5b;
    color: #dedede;
    padding: 6px;
    font-size: 14px;
    border-radius: 4px;
}

.tooltiptext-left {
    left: -3px;
    top: -44px;
}
.tool-btn:hover .tooltiptext {
    visibility: visible;
}

.tooltiptext::after {
    content: "";
    position: absolute;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #505050 transparent transparent transparent;
}


.tooltiptext-left::after {
    top: 100%;
    left: 24%;
}

.stats-row {
    display: flex;
    justify-content: center;
}

.stats-item {
    display: flex;
    padding: 0.5em;
    color: #939393;
}

.stats-item-title {
    color: #7b7b7b;
    font-weight: 800;
    margin-right: 1em;
}


.clean-selection i {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-color-header);
}

.card-style-header-subtitle {
    color: var(--text-color-interface);
    filter: invert(0.1);
    font-size: 15px;
    margin-top: 6px;
}

.card-style-body {
    padding: 1em;
}

.chart-container, .chart-container-compare {
    height: 650px;
    padding: 2em;
}

.indicator-select-body {
    display: flex;
    justify-content: space-between;
}

#map, #mapHistogram {
    width: calc(100% - 4em);    
    height: 650px;
    margin: 2em;
}

#mapDiseases{
    width: calc(100% - 4em);    
    height: 650px;
    margin: 2em;
}

#mapHistogram { 
    height: 550px;
}
#footer {
    padding: 15px 0 0;
    background-color: var(--background-color-site);
    width: 100%;
    position: absolute;
    bottom: 0;
}

.card-histogram-map {
    width: calc(40% - 1em);
}


.card-histogram-plot {
    width: calc(60% - 1em);
}

#bottom-chart {
    display: none;
}

#footer-breadcrumb {
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 12px;
    color: var(--text-color-site);
}

#links-footer li > a {
    color: var(--text-color-site);
    font-size: 15px;
}

.modal-info {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 30px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

#histogramDiv{
    margin: 0 1em;
}

.histogram-card {
    width: calc(100% - 2em);
}

/*
=================================================
 * Modal
 *
=================================================
 */
.modal-info .modal-content {
    position: relative;
    background-color: rgb(255, 255, 255);
    margin: auto;
    padding: 0;
    width: 80%;
    height: 92%;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    z-index: 3 !important;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s

}
@-webkit-keyframes animatetop {
    from {
        top:-300px;
        opacity:0;
    }
    to {
        top:0;
        opacity:1;
    }
}
@keyframes animatetop {
    from {
        top:-300px;
        opacity:0;
    }
    to {
        top:0;
        opacity:1;
    }
}
.modal-info .close {
    color: #333;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin: 5px;
}
.modal-info .close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.modal-info .modal-header {
    padding: 10px;
    border: 0px solid #f3f3f3;
}
.modal-info .modal-body {
    width: 100%;
    height: 90%;    
    overflow-y: auto;    
    font-size: var(--font-size-site);
}
.modal-info .modal-body > h2 {
    text-align: center;
    font-size: var(--font-size-header);
}
.modal-info .modal-body > p {
    height: auto;    
    color: #333;
}
/**
 ===============================================================
 * Cluster markers
 *
 ===============================================================
 */
 .marker-cluster-small, .marker-cluster-small div, .marker-cluster-medium, .marker-cluster-medium div, .marker-cluster-large, .marker-cluster-large div {
    background-color: rgb(113 113 113 / 60%)!important;
    color: white;
}

/**
 *
 ================================================================
 * Loading CSS
 *
 ================================================================
 */
 #loading {
    display: block;
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0%;
    left: 0%;
    background-color: white;
    z-index: 99999;
  }
  
  .inner-loading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .loading-text-dots {
    display: flex;
  }
  
  .loading-text {
    font-size: 30px;
    font-weight: 800;
    color: #7d695d;
  }

  .loading-bar {
      background-color: #f8b26a;
  }

  .loading-bar-text {
      text-align: center;
      font-size: 17px;
      margin-top: 1em;
  }
  /**
   * ==============================================
   * Dot Flashing
   * ==============================================
   */
   .dot-flashing {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #f8b26a;
    color: #f8b26a;
    animation: dotFlashing 1s infinite linear alternate;
    animation-delay: .5s;
    margin-left: 22px;
    margin-top: 21px;
  }
  
  .dot-flashing::before, .dot-flashing::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
  }
  
  .dot-flashing::before {
    left: -15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #f8b26a;
    color: #f8b26a;
    animation: dotFlashing 1s infinite alternate;
    animation-delay: 0s;
  }
  
  .dot-flashing::after {
    left: 15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #f8b26a;
    color: #f8b26a;
    animation: dotFlashing 1s infinite alternate;
    animation-delay: 1s;
  }
  
  @keyframes dotFlashing {
    0% {
      background-color: #f8b26a;
    }
    50%,
    100% {
      background-color: #fdebd8;
    }
  }


/*
===========================================
 * Info boxes
 *
===========================================
*/

#infoBoxContainer {
    display: flex;
    padding: 1em;
    padding-top: 0;
    padding-bottom: 0;
}

.info-box {
    width: fit-content;
    padding: 1em;
    border-radius: 6px;
    color: white;
    margin: 1em;
    box-shadow: 2px 4px 9px 1px #808080bf;
}

/*Clases para estilos de borde*/

.edge-style-1{
    border-left: 5px solid #fff;
  }
  
  .edge-style-2{
    border-right: 5px solid #fff;
  }
  
  .edge-style-3{
    border-top: 5px solid #fff;
  }
  
  .edge-style-4{
    border-bottom: 5px solid #fff;
  }
  
  .edge-style-5{
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
  }
  
  .edge-style-6{
    border-right: 5px solid #fff;
    border-left: 5px solid #fff;
  }
  
  .edge-style-7{
    border-right: 5px solid #fff;
    border-left: 5px solid #fff;
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
  }
  
  .info-box-size-1{
    width: calc(25% - 1em);
  }
  
  .info-box-size-2{
    width: calc(50% - 1em);
  }
  
  .info-box-size-3{
    width: calc(75% - 1em);
  }

.btn-info {
    display: none;
    border-radius: 50%;
    width: 30px;
    height: 29px;
    background: transparent;
    color: gray;
    border: 3px solid gray;
    padding: 0px!important;
    padding-left: 3px!important;
    padding-right: 3px!important;
    margin: 0;
    line-height: 23px;
    font-size: 21px;
    margin-left: 1em;
}

.btn-info:hover {
    color: #fff;
    background-color: var(--background-color-header);
    border-color: lightgray;
}

.info-box-percentage {
    height: 6px;
    background: white;
    border-radius: 3px;
}

.icon-subgroup{
    width: 25px !important;
    height: 25px !important;
    margin-right: 10px;
}

.multi-select {
    width: 350px;
    margin: 0 auto;
}
h1 {
    width: 350px;
    margin: 0 auto 1em auto;
    border-bottom: 2px solid;
    padding-bottom: .3em;
}
.si-result {
    padding: 0.4em 0.8em 0.5em;
    font: inherit;
    font-size: 14px;
    background: transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    cursor: default;
}
.si-hide .si-result {
    border-radius: 3px;
}
.si-list {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

#histogram-select-compare {
    margin-left: 11px;
}

#compare-div {
    display: none;
    justify-content: space-around;
    width: 100%;
}

.range-slider {
    width:300px;
    height:20px;
    margin:0 auto 1em;
    position:relative;
    cursor:e-resize;
  }
  .range-slider:before {
    content:"";
    display:block;
    position:absolute;
    top:9px;
    left:0;
    width:100%;
    height:2px;
    background-color: var(--text-color-interface);
  }
  .range-slider span {
    display:block;
    height:inherit;
    position:relative;
    z-index:2;
    border-radius: 50%;
    border: 1px solid var(--text-color-interface);
    background-color: var(--background-color-interface);
    cursor:inherit;
    width: 20px;
  }

  .tools-box {
    width: fit-content;
    margin-left: auto;
  }
.select-filter {
    color: var(--text-color-interface);
    width: 50%;
    background: transparent;
    margin-left: 1.5em;
    border: none;
    border-bottom: 1px solid var(--text-color-interface);
}

#regular-filters, #histogram-filters {
    padding-left: 2em;
    padding-top: 1em;
    display: flex;
    flex-wrap: wrap;
}

.select-div-container {
    width: 50%;
}

.select-div-container label {
    font-weight: 100;
}

.card-style-header-filters {
    color: var(--text-color-header);
    filter: invert(0.5);
}

.card-style-header-filters-header {
    font-weight: 500;
    border-bottom: 1px solid #efefef47;
    letter-spacing: 2px;
    font-size: 18px;
}

.select-filter option {
    color: rgb(92, 92, 92);
}

#multiselect-histogram {
    padding-top: 1em;
}
.multiselect-data-header {
    color: var(--text-color-interface);
    font-size: 17px;
    letter-spacing: 1px;
    padding-bottom: 0.5em;
}

#multiselect-histogram .si-result {
    border: 1px solid var(--text-color-interface);
}

#type_chart {
    margin-top: 1em;
}

#regular-filters-container, #histogram-filters-container {
    display: none;
}

.wrap-container {
    width: 100%;
    margin: 0 auto;
    display: flex; 
}
.wrap-item {
    float: left;
    box-sizing: border-box;
} 

.select-diseases {
    width: 45%;
}

.select-level {
    display: flex;
}

#state {
    border: none;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    font-weight: 100;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

#mun {
    border: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-left: 1px solid #d8d8d8;
    font-weight: 100;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

.level-selected {
    background: gray;
    color: white;
}

.tool-btns {
    display: flex;
}

#cleanSelectionDiseases {
    color: var(--text-color-interface);
    padding-top: 5px;
    margin-right: 1em;
}

#cleanSelectionDiseases i {
    color: var(--background-color-header);
}

.diseases-filter {
    padding: 1em;
    display: block;
}

.diseases-filter select {
    background: transparent;
    border: none;
    border-bottom: 1px solid #b2b2b2;
    padding: 5px;
}

.diseases-filter div {
    padding: 5px;
}

#compare-diseases-btn {
    padding-left: 13px;
}

.filters-containers-div {
    display: flex;
}

#diseases-filter-compare {
    display: none;
}
.id-flex {
    display: flex;
    justify-content: space-between;
}
#links-footer.styled-diseases > li {
    text-align: right;
}
.idegeo-link {
    font-size: 25px;
    padding-bottom: 1em;
}

#links-footer.styled-diseases > li > a {
    color: var(--text-color-site);
    font-size: 14px;
    font-weight: 100;
}
.align-left {
    text-align: left;
}
.text-dark {
    color: white;
}
.full-width {
    width: 95%;
    margin: auto;
}
.choose-filter-container {
    margin-bottom: 1em;
}
.choose-filter-title {
    font-weight: 600;
    color: gray;
    font-size: 18px;
    margin-bottom: 1em;
}

.choose-filter-checkboxes {
    color: gray;
}
.choose-filter-checkboxes > input {
    margin-right: 0.3em;
    margin-left: 0.8em;
}
.half-height {
    height: 50%;
}
.full-height {
    height: 100%;
}
.charts-container {
    height: calc(100% - 57.28px);
}
.charts-container-v1 {
    height: calc(100% - 179.16px);
}
.charts-card {
    height: 900px
}
.compare-chart {
    background: #f1f1f1;
    position: relative;
    padding-top: 3em;
}
.compare-chart-title {
    position: absolute;
    top: 13px;
    left: 0;
    font-weight: 600;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}
#diseases-select-containers {
    padding-bottom: 3em!important;
}
#chart-diseases {
    position: relative;
    padding-top: 3em;
}
#warning {
    margin-top: 1.5em;
    display: block;
    color: red;
}
.classification-selected {
    font-size: 18px;
    padding: 5px;
    font-weight: 600;
}
#my-pics {
    max-height: 100%; /* Adjust the max-height as needed */
    overflow: hidden;
}

#my-pics .carousel-inner img {
    width: auto;
    max-height: 100%;
    margin: 0 auto;
    display: block;
}