body{
    margin:0;
    overflow:hidden;
    font-family:'Source Sans Pro', sans-serif !important;
    line-height: 1!important;
    padding:0; 
}
iframe{
    border:0;
    width:100%;
    height:100%;
}
#modalFaqs,#modalContactar{
    height: 75%;
}
#modalFaqs .modal-content,#modalContactar .modal-content{
    height: 100%;
}
.seleccioPuntContainer button {
    display: none !important;
}
#menuFooter{
    background-color: white;
    position: absolute;
    z-index: 99999;
    width: 100%;
    border: 1px solid #008B00;
    display:none;
}
#menuFooter ul{
    padding-left: 10px;
    margin: 0;    
}

.divFaqsContactar{
    width: 100%;
    background-color: white;
    padding: 2px;
    text-align: center;
}
.obrirModalFaqs{
    text-transform:none;
    background-color:#008B00;
    color:white;
    width: 49.7%;
    font-size: 0.87rem;
    letter-spacing: .4px;
    padding-left: 8px;
    padding-right: 8px;
    display:inline-block;
 
}
.obrirModalFaqs:hover{
    background-color: #a9a4a4;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.obrirModalFaqs span{
   
    vertical-align:middle;   
}
.obrirModalFaqs i{
    
    vertical-align:middle;   
}
#menuFooter li{
    padding-top: 0.4em;
    padding-bottom: 0.4em;
}
#menuFooter a{
    color: #666666;
}
#categoria_1,#categoria_2,#categoria_3{
    background-color:#fff;
}
#categoria_5{
    max-height: 88px;
    overflow-y: auto;
}
#categoria_10{
    background-color: #fff;
    padding-bottom: 3px;
}
#categoria_9{
    max-height: 200px;
    overflow-y: auto;
    
}
#categoria_aire_4{
    background-color: #fff;
    padding-bottom: 3px;
}
#categoria_aire_5{
    background-color: #fff;
    padding-bottom: 3px;
}
#categoria_aire_6{
    background-color: #fff;
    padding-bottom: 3px;
}
#categoria_aire_7{
    background-color: #fff;
    padding-bottom: 3px;
}
#categoria_aire_1,#categoria_aire_2,#categoria_aire_3{
    background-color:#fff;
}
.container{
    position: relative; 
    width: 100%;
    margin:auto;  
}

.map {
    width: 100%;
    overflow:hidden;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom:0; 
}
.legendContainer{
    display:none !important;
}
.fonsContainer{
    display:none !important;
}
.collapsible-inactive{
    color: #a2a2a2 !important;
    background-color: #e8e8e8 !important;
    border-bottom: 1px solid #e8e8e8 !important;
}
.material-icons.olbuttons {
    font-size: 1.14em;
    font-weight:700;
    text-align: center;
}

.titolTopNav{
    text-decoration:none;
    cursor: default;
    color:#000000 !important;
    border-right:1px solid black;
    float:right !important;
}

/*Menu*/

.topnav {
    background-color: 'rgba(255,255,255,0)';
    /*overflow: hidden;*/
    width: 100%;
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 9999999;
    box-sizing:border-box;
    padding-left:20vw;

}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #999393;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 13px;
}
.topnav img{
    width:7rem;
}

/* Add an active class to highlight the current page */
.active {
    color: black !important;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
    border: none;
    outline: none;
    color: #999393;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-left: 16px;
}

/* Style the links inside the dropdown */
.dropdown-content a {
    float: none;
    color: #9e9e9e;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: rgba(255,255,255,0);
    color: black;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
    /*background-color: #ddd;*/
    color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}

.collapsible-titol{
    display:inline-block;
    width:90%;  
}

.collapsible-icon{
    display:inline-block;
    width:10%;  

}

.collapsible-header i {
    font-size: 0.8rem !important;
    margin-right: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.collapsible li{
    border-top:2px solid white;
}

.collapsible-body {
    border-bottom: 0px solid #ddd !important;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
    padding-left: 0px;
 }

 .collapsible-header {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 2px;
    padding-left: 5px;
    background-color:#dbdbdb;
    font-weight: bold;
}

.collection a.collection-item {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 20px;
    padding-left: 20px;
    color: #707070;
}

#graficos_de_barras{
    display:none;
    position:absolute;
    bottom:20px;
    right:4.5%;
    z-index:500 !important;
    
}

.collection .collection-item {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left:   8px !important;
    padding-right:  0px !important;
    border-bottom:  0px !important;
    line-height: 1rem !important;
}


.compartirTopNav{
    text-decoration:none;
    cursor: pointer;
    color:#000000 !important;
    float:right !important;   
    width:180px;
}
.compartirTopNav i{
    font-size: 1.14em;
    font-weight: 700;
}

.logo{
    padding: 0px 16px !important; 
    float: right !important;      
}

.titolSubCategoria{
    font-size: 1.1rem !important;
    background-color:#008B00;    
    color: #ffffff;
    cursor: pointer;
    line-height: 32px;
}

.titolSubCategoriaText{
    padding-left:7px;
}
#spanTitolSubCategoriaMenu{
    font-size: 1rem;
    width: 34px;
    display: inline-block;
    text-align: left;
    padding-left:1em;
    display:none;
}
#iTitolSubCategoriaMenu{
    
}
#menuInfoLlegenda{
    position: relative;
    overflow: hidden;
    width: 39px;  
    display:none;
}

.descarrega-dades-control {
    overflow: auto !important;
    position: relative !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
}
.descarrega-dades-control button{
    height: 32px !important;
    width: 32px !important;
    -webkit-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    -moz-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    color: rgb(0, 116, 248) !important;
    background-color:rgb(255, 255, 255) !important;

}
.faqs-control{
    overflow: auto !important;
    position: relative !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
}

.faqs-control button{
    height: 32px !important;
    width: 32px !important;
    -webkit-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    -moz-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    color: rgb(0, 116, 248) !important;
    background-color:rgb(255, 255, 255) !important;
}

.infoLlegenda {
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    background-color: rgba(255,255,255,0);
    width:570px;
    position: absolute;
    top: 0px;
    left: 28px;
    z-index: 99999999;
    font-size:0.87rem;
    padding-left: 13px;
    padding-bottom: 13px;
    padding-right:13px;
    padding-top: 1px;
}

#menuTipusDadesAVisualitzar{
    border-top: 2px solid #f8f8f8;
    border-right: 2px solid #fff;
    border-left: 2px solid #fff;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    font-size: 0.87rem;
    padding-top: 0;
    background-color: #ffffff;
    display: block;
    border-bottom: 2px solid #ffffff;
    height: 28px;
}

.btnMenuTipusDades{
    overflow: none !important;
    position: relative !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: 50%;
    float: left;
    overflow: auto !important;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    background-color: #f3f3f3;;
    color: #666666;  
}
.btnMenuTipusDades:hover{
    background-color: #dbdbdb !important;
    color: #000000 !important;  
    font-weight:bolder;  
}
.btnMenuTipusDadesActive{
    background-color: #dbdbdb !important;
    color: #000000 !important;  
    font-weight:bolder; 
}
#btnDadesQualitatAire{
    border-left:1px solid #f3f3f3;
}
#elementInformacio{
    display: block;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    border-left: 2px solid #fff;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    font-size:0.87rem;
    padding-left: 7px;
    padding-right: 7px;
    padding-bottom: 1px;
    padding-top: 1px;
    background-color: #ffffff;
}

.elementInfoInlineBlock{
    display:inline-block;
    vertical-align: top;
}
.imgPeriode{
    border: 0;
    margin: 0;
    max-width: 100%;
    width: 2rem;
}
#elementInfoHeader{

}

.icobcn-info-cercle-l-light{
    color:#c60c30;
    font-size: 14px;
    font-weight:bolder;
}
#elementInfoTitol{
    color:#c60c30;
    font-weight:bolder;
    height: 2.9rem;
}
#elementInfoTitolIcona{
    height: 2.9rem;    
}
#elementInfoMissatge{
    width: 45%;
    min-height: 2.9rem;
    overflow: hidden;
}
#elementInfoIconaPeriode{
    height: 2.9rem;     
}
#elementInfoIcona{

}
#elementInfoIconaText{
    text-align: center;
}
#elementInfoValorLlegenda{
    font-size: 1.7rem;
    color: rgb(187,187,187);
    font-weight: bolder;
    height: 2.9rem;
    vertical-align: middle;
    margin: auto;
    line-height: 2.9rem;
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
}
.textShadow{
     text-shadow: 0 0 2px #000000;
}
#elementInfoValorLlegendaUnitats{
    height: 2.9rem;
    line-height: 2.9rem;
    vertical-align: middle;
    font-size: 0.8rem;
}
#elementInfoLlegendaValorLimitNO2{
    margin-left:11em;
    font-size: 0.74rem;
}
#elementInfoLlegendaValorLimit_2021_OMS{
    margin-left:1.5em;
    font-size: 0.74rem;
}
#elementInfoLlegendaValorLimitNO2_2021_UE{
    margin-left:6.5em;
    font-size: 0.74rem;
}
#elementInfoLlegendaValorLimit_PM10_OMS {
    margin-left: 7em; 
    font-size: 0.74rem;
}
#elementInfoLlegendaValorLimit_PM10_UE {
    margin-left: 11em; 
    font-size: 0.74rem;
}
#elementInfoLlegendaValorLimit_PM10_2021_OMS {
    margin-left: 3em; 
    font-size: 0.74rem;
}
#elementInfoLlegendaValorLimit_PM10_2021_UE {
    margin-left: 14em; 
    font-size: 0.74rem;
}
#elementInfoLlegendaValorLimit_PM25_OMS {
    margin-left: 7.5em; 
    font-size: 0.74rem;
}
#elementInfoLlegendaValorLimit_PM25_UE {
    margin-left: 6.5em; 
    font-size: 0.74rem;
}
#elementInfoLlegendaValorLimit_PM25_2021_OMS{
    margin-left: 3em; 
    font-size: 0.74rem;
}
#elementInfoLlegendaValorLimit_PM25_2021_UE{
    margin-left: 10.5em; 
    font-size: 0.74rem;
}
#elementInfoLlegenda{

}
#elementInfoFooter{

}
#elementInfoTitolFilAriadna{
    color:#c60c30;
    font-weight:bolder;
}
#elementInfoValorFilAriadna{

}

.titolCaixetiLogo{
    font-size: 3.5px;
    margin-top: 3px;
    margin-left: 41px;
    font-weight: bold;
    /* margin-right: 5px; */
}

.divCaixetiLogo{
    width: 75px;
    height: 15px;
}

.titolCaixetiProjecteFix{
    font-size: 2.5px;
    margin-top: 4px;
    margin-bottom: 1px;
    margin-left: 10px;
    word-spacing: 1px;
}

.titolCaixetiProjecte{
    font-size: 3.5px;
    margin-top: -1px;
    margin-left: 11px;
    font-weight: bold;
    max-width: 74px;
}

.divCaixetiProjecte{
    width: 120px;
    height: 15px;
    border-left: none;
}

.titolCaixetiDataFix{
    font-size: 2.5px;
    margin-top: 4px;
    margin-bottom: 0px;
    margin-left: 6px;
}

.titolCaixetiData{
    font-size: 3.5px;
    margin-top: 0px;
    margin-left: 11px;
    font-weight: bold;
}

.divCaixetiData{
    width: 35px;
    height: 15px;
    border-left: none;
}

.titolCaixetiTitolPlanolFix{
    word-spacing: 1px;
    font-size: 2.5px;
    margin-top: 4px;
    margin-left: -12px;
    margin-bottom: 0px;
}

.titolCaixetiTitolPlanolEstrategicSoroll{
    font-size: 3.5px;
    margin-top: 0px;
    margin-bottom: 0px;
    max-width: 90px;
    font-weight: bold;
}

.titolCaixetiTitolPlanol{
    font-size: 3.5px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: bold;
}

.divCaixetiTitolPlanol{
    width: 117px;
    height: 15px;
    border-left: none;
}

.titolLlegendaImpresio{
    font-size: 3.5px;
    margin-left: 2px;
    word-spacing: 0px;
}

.divLlegendaImpresio{
    width: 100px;
    height: 8px;
    background-color: white;
}

#loader-print {
    display: none;
    background-color: darkgrey;
    position: absolute;
    border-radius: 4px;
    width: 100%;
    height: 100%;
    z-index: 999999999;
}

#loader-print > button{
    margin: 0 auto;
    display: block;
}

.loader-text {
    width: 100%;
    font-size: 15px;
    font-weight: 300;
    text-align: center;
    float: left;
    margin-top: 10px;
}

.spinner {
    margin-left: 49%;
    margin-top: 300px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: rgb(24, 139, 0);
  
    animation: spin 1s ease infinite;
}
  
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.elementMapaInfo{
    font-size:inherit;
    height: 5%;
}

.infoElement{
    font-size:inherit;
    height: 3vw;
}

.elementMapaImgs{
    width:100%;
    display:table;   
    margin: 6px 0;
}

.elementMapaTitol{
    text-decoration: underline;
    font-weight: bolder;
    margin: 6px 0;
    font-size:inherit;
}

.elementMapaDetallMissatge{
    text-decoration: underline;
    font-weight: bolder;
    margin: 6px 0;
}

.elementMapaImg{
    border:1px solid white;
    display:table-cell;
    text-align:center;
    vertical-align:middle;
    width:50%;
} 

.elementMapaImg img{
    max-width:100%;
    vertical-align:middle; /*siempre para quitar el espacio qeu deja abajo*/
}   

.elementMapaLlegenda{
    margin: 6px 0;
    height: 33.5vw;
    top: 14vw;
    position: absolute;
    text-align: center;
}

.elementMapaLlegendaCarrilBici{
    height: 14.5vw !important;
    top: 33vw !important;    
}

.elementMapaLlegendaPromocions{
    height: 27.5vw !important;
    top: 20vw !important;    
}

.titolLlegenda{
    font-weight: bolder;
    margin: 6px 0;
    text-align: left;
}

.infoCategoria {
    height: 7vw;
    top: 39.9vw;
    position: absolute;
    text-align: justify;
    box-sizing: border-box;
    overflow: hidden;
    width: 23vw;
    z-index: 99999999;
    right: 93px;
    font-size: 0.87rem;
    background: rgba(255,255,255,0.7);
    padding: 13px;
}

.titolInfoCategoria{
    margin-bottom:5px;
    color: rgba(0, 175, 245, 1);
    font-weight: bolder;
}

.bottomNav   { 
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 55px;
    top: 46vw;
    color: rgba(41, 41, 42, 0.7);
    cursor: pointer;
}

/*Openlayers Controls*/
#opendata-map-control{
    position: absolute;
    bottom: 26px;
    right: 20px;
    z-index: 2;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1);
    background-color: rgb(255 255 255);
    padding: 3px 5px 3px 5px;
}
#opendata-map-control a {
    text-decoration: none;
    color: #666;
}
.opendata-blue{
    color: #1e529e;
    font-weight: 700;

}
.opendata-gray{
    color:#000;
    font-size: 0.75em;
}
.ol-zoom {
    bottom: 8.7em !important;
    right: 1.5em !important;
    top:auto !important;
    left:auto !important;
    z-index:2;
}
.ol-scale-line {
    bottom: auto !important;
    right: 6.5em !important;
    top: 3em !important;
    left: auto !important;
    background: rgba(0,0,0,0) !important;
    z-index:2;
}
.ol-scale-line-inner {
    border: 1px solid #000000 !important;
    color: #000000 !important;
}

.fit-extent-control{
    border: medium none;
    border-radius: 0;
    bottom: 13.5em;
    left: auto;
    padding: 0 !important;
    right: 20px;
    top: auto;
    background-color: transparent;
    z-index:2;    
}
.fit-extent-control button{
    height: 32px !important;
    width: 32px !important;
    -webkit-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    -moz-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    color: rgb(0, 116, 248) !important;
    background-color:rgb(255, 255, 255) !important;

}

.orientation-control{
    border: medium none;
    border-radius: 0;
    bottom: 19em;
    right: 20px;
    padding: 0 !important;
    top: auto;
    background-color: transparent;
    z-index:2;    
}

.orientation-control-mobile{
    display: none;  
}

.icobcn-bruixola-l-light{
    height: 32px !important;
    width: 32px !important;
    -webkit-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    -moz-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    color: rgb(0, 116, 248) !important;
    background-color:rgb(255, 255, 255) !important;
}

.control-rotacio{
    top: 45% !important;
    left: 50%;
}

.control-rotacio-mobile{
    top: 45% !important;
    left: 35% !important;
}

.printWebMap-control-mobile{
    display: none;
}

.printWebMap-control{
    border: medium none;
    border-radius: 0;
    bottom: 22em;
    right: 20px;
    padding: 0 !important;
    top: auto;
    background-color: transparent;
    z-index:2;    
}

.icobcn-impressora{
    height: 32px !important;
    width: 32px !important;
    -webkit-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    -moz-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    color: rgb(0, 116, 248) !important;
    background-color:rgb(255, 255, 255) !important;
}

#iNorthControl{
    font-size: 2.5em;
    color: rgb(0, 116, 248) !important;
}
#imgNorthControl{
    width: 3.5em;
    transform:rotate(-45deg);
}
.north-control{
    border: medium none;
    border-radius: 0;
    bottom: auto;
    left: auto;
    padding: 0 !important;
    right: 21px;
    top: 2em;
    background-color: transparent !important;    
}
.north-control button{
    height: 32px !important;
    width: 32px !important;
    -webkit-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    -moz-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    color: rgb(0, 116, 248) !important;
    background-color:rgb(255, 255, 255) !important;

}

#div_llegenda {
    min-height: 10px;
    background-image: none;
    background-position: 0 0;
    background-color: white;
    background-repeat: no-repeat;
}

label {
    color:#666666;
}

#main{
    width: 100%;
    height: calc(100% - 118px);
    position: absolute;
}

#contadores {
    display: none;
    font-size: 1.05rem;
    font-weight: bolder;
    height: 25px;
    width: 100%;
    background-color: rgb(24, 139, 0);
    z-index: 1;
    text-align: center;
    bottom: 0;
    position: absolute;
    line-height: 25px;
    color:white;

}

#infoDistricte { 
    display:none;
    font-size:1.3rem;
    font-weight:bolder;
    height:60px;
    width:215px;
    position:absolute;
    bottom:29px;
    left:420px;
    background-color:rgba(255,255,255,0);
    z-index:1; 
}

#socialShare{
    position:absolute;
    right:15px;
    top:0px;
    z-index:1;
}

#socialShare a,
#socialShare > .socialBox {
    position: relative;
    float: none;
    display: inline-block;
    color: #000;
    font-size: 20px;
    padding: 5px;
    background-color: transparent;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
}
 
#socialShare  a {
    background-color: rgba(0, 0, 0, 0.2);
}

#socialShare > * > span {
    background-color: rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
    display: block;
    color: #000;
    font-size: 20px;
    padding: 1px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all .35s ease-in-out;
    -moz-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out;
}

#socialShare > * > span:hover,
#socialShare > .open > span {
    -webkit-transform: scale(1.20);
    -moz-transform: scale(1.20);
    transform: scale(1.20);
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

#socialGallery {
    right:-7px;
    position: absolute;
    top: 40px;
    visibility: visible;
}

#socialGallery a {
    visibility: hidden;
    opacity: 0;
    margin: 2px 4px;
    background-color: rgba(0, 0, 0, 0);
    position: relative;
    top: 0px;
    padding:1px 0px;
}

#socialGallery a > span {
    position: relative;
    top: 4px;
    left: 4px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

.socialToolBox {
    cursor: default;
}

.pointer {
    cursor: pointer
}

.facebook:hover {
    background: #3b5998 !important
}

.google:hover {
    background: #dd4b39 !important
}

.instagram:hover {
    background: #517fa4 !important
}

.tumblr:hover {
    background: #32506d !important
}

.twitter:hover {
    background: #00aced !important
}

.linkedin:hover{
    background:#0077b5 !important;
}

.copyToClipboard:hover{
    background:#ff0080 !important;   
}
#copyToClipboardInput{
    border: 0px !important;
    font-size: 0.5px !important;
    width: 1px;
    position: absolute;
    height: 0px;
    right: 0px; 
}
#copyToClipboardInput:focus{
    -webkit-box-shadow: 0 0px 0 0 #26a69a;
    box-shadow: 0 0px 0 0 #26a69a;
}


.fab{
    font-size:20px;
}

    
   
.material-tooltip {
    padding: 6px 8px;
    font-size: inherit;
    z-index: 99999999;
    background-color: transparent;
    border-radius: 2px;
    color: #fff;
    min-height: 32px;
    line-height: 120%;
    opacity: 0;
    position: absolute;
    text-align: center;
    max-width: calc(100% - 4px);
    overflow: hidden;
    left: 0;
    top: 0;
    pointer-events: none;
    visibility: hidden;
}



/*Checkbox*/
[type="checkbox"].filled-in:checked+label:after {
    top: 2px;
    left:1px;
    width: 13px;
    height: 13px;
    border: 2px solid #666666;
    background-color: #666666;
    z-index: 0;
}

[type="checkbox"].filled-in:not(:checked)+label:after {
    height: 13px;
    width: 13px;
    background-color: transparent;
    border: 2px solid #666666;
    top: 2px;
    left:1px;
    z-index: 0;
}

[type="checkbox"].filled-in:disabled:not(:checked)+label:after {
    border-color: #949494;
    background-color: transparent;
}

[type="checkbox"].filled-in:disabled:checked+label:after {
    border-color: #949494;
    background-color: #949494;
}

.ul-layers-collection-item [type="checkbox"]+label{
    font-size:0.8rem !important;
    height: 19px !important;
    line-height: 20px !important;
    padding-left:25px;
}


[type="checkbox"].filled-in:checked+label:before {
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
}


[type="checkbox"]+label {
    height: 20px !important;
    font-size:inherit !important;
    line-height: 20px;
    padding-left: 25px;
}

/*Fin checkbox*/

.collapsible {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    border-left: 2px solid #fff;
    margin: 0rem 0 0rem 0;
   
}
#collapsibleLlegenda{
    -webkit-box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%), 0 3px 1px -2px rgb(0 0 0 / 20%) !important;
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%), 0 3px 1px -2px rgb(0 0 0 / 20%) !important;    
}

#collapsible_info{
    background-color:white;
}

.spider-leg-container .spider-leg-pin {
    position: relative;
    width: 30px;
    height: 35px;
    margin-left: -15px;
    margin-top: -15px;
    font-size: 15px;
}

.spider-leg-container .spider-leg-pin i.type-icon {
    color: white;
}

.spider-leg-container .spider-leg-line {
    width: 1px !important;    
}


/*Sobreescribiendo estilos ayuntamiento*/

#brand.v2017 .bcnbrand-desktop .bcnbrand-navs-container nav{
    background-color: #f2f2f2 !important;   
}

#brand.v2017 a:hover{
    background-color: rgba(0, 0, 0, 0); 
}

#brand.v2017 ul{
    line-height:1;
}

#footer{
    background-color: #fff;
    padding: 0 20px;
    font-size: 0.8em;
    position: absolute;
    bottom: 0;
    z-index: 999999999;
    width: 100%;
    height: 25px;
}

footer .right {
    float: right!important;
    margin: 0;
    padding: 0;
}

footer ul {
    display: table;
}

footer .right li {
    padding-left: 20px;
}

footer ul li {
    display: table-cell;
    height: 30px;
    vertical-align: middle;
    color: #666666;
}

footer .right li a {
    text-decoration:none;
    color: black;
    display:inline-block;
}

footer .right li a:hover{
    text-decoration:underline;
}

#icono_graficos_de_barras{

    display: none;
    margin: 1px;
    padding: 4px;
    font-size: 1.14em;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    line-height: .4em;
 
    border: none;
    border-radius: 2px;
    height: 32px !important;
    width: 32px !important;
    -webkit-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    -moz-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    color: rgb(0, 116, 248);
    background-color: rgb(255, 255, 255) !important;
    position:absolute;
    bottom: 280px;
    right:24px;
    z-index:99999999;  
}
#icono_capas{
    margin: 1px;
    padding: 8px;
    font-size: 1.14em;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    line-height: .4em;
    border: none;
    border-radius: 2px;
    height: 32px !important;
    width: 32px !important;
    -webkit-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    -moz-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1) !important;
    color: rgb(0, 116, 248);
    background-color: rgb(255, 255, 255) !important;
    position:absolute;
    bottom: 14.2em;
    right:20px;
    z-index:2;
    cursor:pointer;  
}
.icono_active{
    color:#CECFCE !important;
}
#icono_ciudad{
    position:absolute;
    bottom:200px;
    right:13px;
    display:none;
    z-index:9999999999999;
    width:30px;
    height:30px;    
}

.fa-city{
    font-size:23px;
}

.fa-chart-bar{
    font-size:24px;
}
.fa-angle-double-right{
    font-size:24px;
}
.fa-angle-double-left{
    font-size:24px;
}
.icobcn-fletxa-dalt2-l{
    font-size:0.8rem !important;
}
.icobcn-fletxa-baix2-l{
    font-size:0.8rem !important;
}
.icobcn-creu-l{
    font-size:0.8rem !important;
}
.modal-icon-tancar{
    font-size: 1.2rem !important;
    margin-bottom: 2px;
}

.collection_estacions_mesura{
    background-color: #fff;
    padding-bottom: 3px;
    padding-left: 8px !important;
}

#cercaAdreca{
    margin-left: 1% !important;
    width: 60% !important;
    color: #666666;
    height: 1.4rem;
}
#cercaCruilla1{
    margin-left: 1% !important;
    width: 60% !important;
    color: #666666;
    height: 1.4rem;
    
}
#cercaCruilla2{
    margin-left: 1% !important;
    width: 60% !important;
    color: #666666;
    height: 1.4rem;
   
    
}
#cercaAdreca:focus,#cercaCruilla1:focus,#cercaCruilla2:focus{
        outline-color: #666666;
}


label[for="cercaCruilla2"],label[for="cercaCruilla1"],label[for="cercaAdreca"]{
    width: 4em;
    display: inline-block;
    font-size:0.87rem;
}
label[for="cercaCruilla2"]{
    visibility:hidden;
}
.geobcn-candidates-cercaAdreca{
    z-index:100000000 !important;
}
.geobcn-candidates-cercaCruilla1{
    z-index:100000000 !important;   
}
.geobcn-candidates-cercaCruilla2{
    z-index:100000000 !important;   
}


.frmInput{
    padding-top:5px;
    padding-bottom:2px;
    padding-left: 8px;
    font-family:'Source Sans Pro', sans-serif !important;
    font-size: 0.87rem;
}

.geobcn .ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content.ui-corner-all {
    max-height: 68px !important;
    
}

.geobcn .ui-widget {
    font-family:'Source Sans Pro', sans-serif !important;
    font-size: 0.87rem;
}

.geobcn .ui-widget-content {
    border: 1px solid #666666 !important;
    background: #ffffff url("../images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x;
    color: #222222;
}
.ui-state-focus {
    border:0 !important;
}

.geobcn-tool button {
    -webkit-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1);
    -moz-box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1);
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,.1);
    z-index:2;
}

.ol-zoom .ol-zoom-in:hover {
    background-position: 0 -288px !important;
}
.ol-zoom .ol-zoom-out:hover {
    background-position: 0 -224px !important;
}
.geoLocationContainer{
    bottom: 6.1em !important;    
}
.mobile .geoLocationContainer button {
    background-position: -6px -97px !important;
}

.mobile .geobcn-tool button {
    height: 32px !important;
    width: 32px !important;
 
}
.mobile .geobcn-tool.ol-zoom {
    display:none !important;
}
.mobile .fit-extent-control {
    bottom: 8.67em !important;
}

/*Tooltip color fondo*/
.backdrop {
    background-color: #4d9efa;
}

.geobcn-tool {
    right: 21px !important;
    z-index:2;
}
.geobcn-style {
    box-shadow: none !important;
}

.geobcn-style:hover {
    box-shadow: none !important; 
}

.errorInput {
    top: 2px !important;
}

h3{
    font-size: 0.8rem !important;
    margin: 0rem !important;
    line-height: 1.5rem !important;
}

.ol-control {
    background-color: unset !important;
}

input:not([type]), input[type=text]:not(.browser-default), input[type=password]:not(.browser-default), input[type=email]:not(.browser-default), input[type=url]:not(.browser-default), input[type=time]:not(.browser-default), input[type=date]:not(.browser-default), input[type=datetime]:not(.browser-default), input[type=datetime-local]:not(.browser-default), input[type=tel]:not(.browser-default), input[type=number]:not(.browser-default), input[type=search]:not(.browser-default), textarea.materialize-textarea {
  
    border-radius: unset; 
    height: unset;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}
input:not([type]):focus:not([readonly]), input[type=text]:not(.browser-default):focus:not([readonly]), input[type=password]:not(.browser-default):focus:not([readonly]), input[type=email]:not(.browser-default):focus:not([readonly]), input[type=url]:not(.browser-default):focus:not([readonly]), input[type=time]:not(.browser-default):focus:not([readonly]), input[type=date]:not(.browser-default):focus:not([readonly]), input[type=datetime]:not(.browser-default):focus:not([readonly]), input[type=datetime-local]:not(.browser-default):focus:not([readonly]), input[type=tel]:not(.browser-default):focus:not([readonly]), input[type=number]:not(.browser-default):focus:not([readonly]), input[type=search]:not(.browser-default):focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
    border-bottom: unset;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}

.animated {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
   }
   @-webkit-keyframes flash {
    0%, 50%, 100% {
    opacity: 1;
    }
   25%, 75% {
    opacity: 0;
    }
   }
   @keyframes flash {
    0%, 50%, 100% {
    opacity: 1;
    }
   25%, 75% {
    opacity: 0;
    }
   }
   .flash {
    -webkit-animation-name: flash;
    animation-name: flash;
   }


.ol-popup {
    /* padding: 0 0 15px 0 !important; */
}

.ol-popup-closer {  
    top: 8px !important;
}


.ol-popup-content {
    overflow-y: auto;
}

.ol-popup-closer{
    margin-top: 18px;
    margin-right: 18px;
    width: 20px !important;
    height: 20px !important;
    background: url(../images/tancar_popup.svg) no-repeat !important;
}

.div-estacio-popup {
    background: url(../images/cel_nuvols.PNG) no-repeat center center !important;
    background-size: 50% 50%; /* Force stretch */
    display: flex;
    justify-content: center;    
    align-items: center;      
    width: 100%;
    height: 80px;
    background-color: #85d2e9;
    box-sizing: border-box;
}


.titol-estacio-popup{
    color:black; 
    font-size:15px;
    text-align:center;
    margin: 0;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.icona-estacio {
    width: 15px; 
    height: 20px; 
    /* background:  url(../images/location_estacio_white.svg) no-repeat;  */
    background:  url(../images/location_estacio.svg) no-repeat; 
    background-size: cover;
    background-position: center;
    /* margin-right: 10px; */

    z-index: 9999;
}

.popup-wrapper {
    /* height: 425px; */
    height: fit-content;
    width: 600px;
}

.div-mesures-wrapper {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
}

.div-mesures-no-data {
    display: flex;
    align-items: center;
    height: fit-content;
    margin-top: 1rem;

    justify-content: left;
    margin-bottom: 8px;

    .acronym {
        margin-left: 0.5rem;
    }
}

.div-mesures {
    display: flex;
    align-items: center;
    height: fit-content;

    justify-content: space-between;
    margin-bottom: 8px;
}

.no_data {
    font-size: 1.2rem;
}

.div-mesures-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    /* width: 450px; */
    /* max-width: 450px; */
    align-items: center;
    background-color:#008B00;
    padding:6px 12px;
    font-weight:bold;


    .info {
        display: flex;
        align-items: center;
        gap: 6px;

        .info-svg-wrapper {
            cursor: pointer;
        }

        svg {
            width: 16px;
            height: 16px;
        }
    }
}

.district {
    text-align: left;
    padding: 0 12px;
}

.separator {
    height: 0rem;
    width: 94%;
    border-bottom: 1px solid #e2e1e1;
    position: absolute;
    top: 7.5rem;
}

.popup-close-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  line-height: 22px;
  text-align: center;
  transition: background 0.2s ease;
}
.popup-close-btn:hover {
  background: rgba(255,255,255,0.3);
}

.legend-container {
  display: flex;
  flex-wrap: wrap;           /* 🔥 allows wrapping */
  justify-content: center;   /* center all items horizontally */
  align-items: center;       /* vertical centering within each row */
  gap: 10px 20px;            /* vertical / horizontal spacing */

  width: 100%;
  margin-top: 11px;
  border-top: 1px solid #e2e1e1;
  padding-top: 14px;
  text-align: left;
}

.legend-item {
  display: flex;
  align-items: center;
  white-space: nowrap;       /* keep text on one line */
  flex-shrink: 0;            /* prevent squishing */
}

.legend-label {
  margin-left: 4px;
}


.legend-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    margin-right: 5px;
    border: 1px solid #000;
    border-radius: 20px;
}

.legend-label {
    font-size: 12px;
    color: #000;
}

.flex-spacer {
    flex-grow: 1;
}

.right-span {
    flex-shrink: 0;          
    display: flex;            
    justify-content: center;
    align-items: center;
}

.mes-informacio {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.mes-informacio a {
    background-color: #008B00;
    color: white;
    text-decoration: none; /* Elimina el subrayado típico de los enlaces */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px; /* Puedes ajustar el radio de los bordes si lo deseas */
}

.mes-informacio a:hover {
    background-color: #007700; /* Un tono más oscuro para el hover */
}

.icona-informacio{
    width: 25px; 
    height: 25px;
    background: url(../images/icona-information.svg) no-repeat; 
    margin-right: 8px;
}

/*Estilos planol bcn*/
.equipaments {
    box-sizing: border-box;
    overflow: hidden;
    display: none;
    background-color:#FFFFFF;
    width: 360px;
    position: absolute;
    top: 0px;
    left: 600px;
    z-index: 99999999;
    font-size:0.87rem;
    padding-top: 1px;
    color: #666666;
}

.equipaments .titolEquipaments{
    font-size: 1.1rem !important;
    background-color:#008B00;    
    color: #ffffff;
    cursor: pointer;
    line-height: 32px;
}

.equipaments .menu{
    padding-right: 2px;
    padding-left: 2px;
}
.equipaments #titol{
    font-size: 1rem;
    width: 83%;
    display: inline-block;
    text-align: left;
    padding-left:1em;
}

.nivell2{
    padding-left:30px;
}
.equipaments .collapsible-header {
    border-bottom: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 2px;
    padding-left: 5px;
    background-color: #f7f7f7;
    font-weight: normal;
}
.equipaments .active{
    color: #666666 !important;
}

.equipaments .collapsible-body{
    padding-top: 0px;
    margin-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.equipaments .icona-categoria{
    padding-left: 20px;
    display: inline-block;
    vertical-align: middle;
    
    background-repeat: no-repeat;
    background-color: transparent;
    cursor: pointer;
    width: 32px;
    height: 32px;
    
}

.equipaments .z-depth-1, nav, .card-panel, .card, .toast, .btn, .btn-large, .btn-floating, .dropdown-content, .collapsible, .side-nav {
    -webkit-box-shadow: none;
    box-shadow: none;
}



.equipaments [type="checkbox"]+label {
    height: 34px !important;
    font-size: inherit !important;
    line-height: 34px;
    padding-left: 38px;
}

.equipaments .collapsible{
    margin: 0rem 0 0rem 0;
    border-right: 0;
    border-left: 0;
    border-top:0;
}

.equipaments .collection-item{
    background-color: #f2f2f2;
    padding: 2px;
}

.equipaments .btn, .btn-large, .btn-flat{
    text-transform:none;
    background-color: #dbdbdb;
    color:black;
}
.equipaments .peu{
    padding: 2px;
}

.equipaments .peu a{
    width: 100%;
    font-size: 0.87rem;
}

.equipaments .peu i{
    padding-right: 5px;
    font-size: 1rem;
}
.equipaments .collapsible-icon {
    display: inline-block;
    padding-right: 7px;
    width:unset !important;
}

.equipaments .collapsible-titol {
    display: inline-block;
    width: 100%;
}
.equipaments .iTitolEquipaments{
    width: 6%;
    display:inline-block;
}
.equipaments .iTitolEquipamentsTancar{
    width: 9%;
    display:inline-block;
}
.equipaments li, .equipaments li label {
    cursor:pointer;
}

.equipaments [type="checkbox"].filled-in:checked+label:after {
    display:none;
}
.equipaments [type="checkbox"].filled-in:not(:checked)+label:after {
    display:none;
}
.equipaments .displaynone{
    display:none;
}
.equipaments .displayblock{
    display:inline-block;
}

.slider-current-value {
    position: absolute;
    width: 50px;
    text-align: center;
    transform: translateY(10px); /* Ajusta este valor para posicionarlo justo encima del pulgar */
    font-size: 14px;
    font-weight: bold;
    transition: left 0.1s ease-in-out; /* Transición suave cuando cambie la posición */
}

input[type="range"].categoria_slider {
    -webkit-appearance: none;
    width: calc(100% - 20px); /* Ajusta el ancho para dejar espacio adicional a la derecha */
    height: 8px;
    background: rgba(0, 139, 0, 0.5);
    border-radius: 5px;
    outline: none;
    margin-top: 40px;
    margin-left: 8px;  /* Añade un pequeño margen izquierdo para equilibrar visualmente */
}

input[type="range"].categoria_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: rgb(0, 139, 0);
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

input[type="range"].categoria_slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: rgb(0, 139, 0);
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.slider-labels {
    position: relative;
    width: 100%;
    height: 20px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.slider-label {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
}

.slider-label:first-child {
    transform: translateX(0);
    text-align: left;
}

.slider-label:last-child {
    transform: translateX(-100%);
    text-align: right;
    margin-right: 5px;
}

.thumb{
    display: none;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-right: 4px;
    /* margin-bottom: 5px;  */
}

/* POPUP */
.popup-pollutant-container {
    display: flex;
    flex-direction: column;

    width: 20rem;
    border-radius: 0.2rem;
    position: absolute;
    background-color: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    z-index: 99999 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    bottom: 12px;
    left: -50px;
    backdrop-filter: blur(10px);
}

.popup-pollutant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2rem;
    border-radius: inherit;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 0.2rem 0.5rem;
    background-color: rgb(220,220,220);
}

.popup-pollutant-close-icon {
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.popup-pollutant-close-icon:active {
    transform: scale(0.95);
}
  
.popup-pollutant-ul {
    padding-top: 0.2rem;
}
.popup-pollutant-ul span{
    color: rgb(110,110,110);
}
.popup-pollutant-ul li{
    margin-bottom: 0.5rem;
}
  
/* Show animation */
.popup-pollutant-container.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Triangle pointer */
.popup-pollutant-container:after, 
.popup-pollutant-container:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    transition: all 0.3s ease;
}

.popup-pollutant-container:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.popup-pollutant-container:before {
    border-top-color: rgba(200, 200, 200, 0.3);
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}


/* Text styling */
.popup-pollutant-header span {
    font-size: 1rem;
    font-weight: 700;
}

/* Hide animation - add to your JS when closing */
.popup-pollutant-container.hide {
  opacity: 0;
  transform: translateY(10px) scale(0.95);
}












.slider-container, input[type="range"].categoria_slider, .ticks {
    width: 95%;
}
.slider-container {
  position: relative;
  max-width: 500px;
  margin: 2rem auto;
}

input[type="range"].categoria_slider {
  height: 10px;
  -webkit-appearance: none;
  background: linear-gradient(to right, #008B00 50%, #eee 50%);
  border-radius: 5px;
  outline: none;
}

input[type="range"].categoria_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #008B00;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  margin-top: -9.5px;
}

input[type="range"].categoria_slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #008B00;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.hour-display {
  position: absolute;
  top: 0rem;
  margin-right: 40ch;
  transform: translateX(-20%);
  font-weight: bold;
  transition: left 0.2s ease;
  min-width: 20ch;
}

.ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0 5px;
}

.tick {
  font-size: 0.8rem;
  color: #555;
  text-align: center;
  width: 2ch;
}