@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
*{margin: 0; padding: 0;}

#map {
  width: 100%;
  height: 600px;
  top: -50px;
font-family: 'Roboto Condensed', sans-serif;

}

.mapboxgl-popup{
  opacity: 0.99;

}


.geocoder {
  z-index: 1;
  position: relative;
  height:48px;
  margin: 0 auto;
  width: 350px;
  border: 1px solid hsl(0, 0%, 5%);;
  background-color: #ffffff;
  z-index: 50;
  border-radius: 0em !important;
  box-shadow: none !important;
  font-size: 0.9em !important;
  font-family: 'Roboto Condensed', sans-serif !important;  
  text-align: center;
  top: 30px;



}


.mapboxgl-ctrl-geocoder{
min-width: 100%;
}
.geocoder-icon, .geocoder-icon-search{
  fill: #323232;
  top:14px!important;
}
/* COPIAR2 INICIO */

/* FIN COPIAR2 */


.legend {
  background-color: #ffffff;
  padding: 7px;
  bottom: 30px;
  position: absolute;
  left: 30px;
  z-index: 100;
  width: 200px;
  text-align: center;
  box-shadow: none !important;
  border: 1px solid #323232;
}

.legend clearfix {
  background-color: #ffffff;
  padding: 7px 10px 8px 5px;
  position: absolute;
  right: 0px;
  z-index: 1;
  width: 200px;
  text-align: left;
  
}
.legend h1 {
  font-size: 14px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
  /*fill: #aeaeaf;*/
  margin: 0px 0 -5px 0;
  text-transform: uppINDEPESase;
  text-align: left;
}
.legend span {
  float: left;
  height: 10px;
  width: 12%;
  font-size: 9px;
  /*color: #00ff00;*/
  margin-bottom: 5px;
  padding: 2px;
}
.legend label {
  font-size: 10px;
  font-family: 'Roboto Condensed', sans-serif;
  /*fill: #aeaeaf;*/
  padding: 0 6px;
  text-align: left;
}



#menuPartidos {
  margin: auto;
  top: 10px;
  left: 0;
  right: 0;
  width: 100%;
  height: 25px;
  font-family: 'Roboto Condensed', sans-serif;
  text-align: center;
  z-index: 1002;
  position: fixed;

}

#menuPartidos button {
  border-color:rgb(14, 14, 14);
  border-width: 1px;
  background-color: #ffffff;
  z-index: 50;
  padding: 10px;
  margin-left: 6px;
  font-weight:200;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.9em;
  border-radius: 0.1em;
  color: rgb(14, 14, 14);
  margin: 0.3vh;
  text-transform: uppercase;
}


/* RENTA */
#menuPartidos a.desactive {
  opacity: 0.3;
  background-color: hsla(0, 0%, 70%, 1);
}

#menuPartidos a.active {
  opacity: 1;
}

/* RENTA */
#menuPartidos a.desactive {
  opacity: 0.3;
  background-color: hsla(0, 0%, 70%, 1);
}

#menuPartidos a.active {
  opacity: 1;
}

/* GANADOR */
#menuPartidos button:nth-child(1){
  outline: none;
  border: 1px solid #323232;
  color:  #323232;
  transition-duration: 0.4s;
  min-width: 100px;
}

#menuPartidos button:nth-child(1).active{
  opacity: 1;
  background-color: rgb(161, 161, 161);
  color: white;
  border: 1px solid white;
  border-radius: 0.1em;



}

#menuPartidos button:nth-child(1).desactive:hover {
  outline: none;
  border: 1px solid #323232;
  color:  #323232;
  transition-duration: 0.4s;
  box-shadow: 0px 0px 4px #323232,
  inset 0 0 0 2px #323232;

}

#menuPartidos button:nth-child(2){
  outline: none;
  border: 1px solid #323232;
  color:  #323232;
  transition-duration: 0.4s;
  min-width: 100px;
  margin-right:25px;

}

#menuPartidos button:nth-child(2).active{
  opacity: 1;
  background-color: rgb(161, 161, 161);
  color: white;
  border: 1px solid white;
  border-radius: 0.1em;



}

#menuPartidos button:nth-child(2).desactive:hover {
  outline: none;
  border: 1px solid #323232;
  color:  #323232;
  transition-duration: 0.4s;
  box-shadow: 0px 0px 4px #323232,
  inset 0 0 0 2px #323232;

}

#menuPartidos button:nth-child(3){
  outline: none;
  border: 1px solid #323232;
  color:  #323232;
  transition-duration: 0.4s;

  
}
#menuPartidos button:nth-child(3).active{
  opacity: 1;
  background-color: #119bd1;
  color: white;
  border: 1px solid white;
  border-radius: 0.1em;
  
  


}

#menuPartidos button:nth-child(3).desactive:hover {
  outline: none;
  border: 1px solid #119bd1;
  color:  #119bd1;
  box-shadow: 0px 0px 2px #119bd1,
  inset 0 0 0 2px #119bd1;
  transition-duration: 0.4s;

}

/* psoe */
#menuPartidos button:nth-child(4){
  outline: none;
  border: 1px solid #323232;
  color:  #323232;
  transition-duration: 0.4s;

  
}

#menuPartidos button:nth-child(4).active{
  opacity: 1;
  background-color: #cf6666;
  color: white;
  border: 1px solid white;
  border-radius: 0.1em;

}

#menuPartidos button:nth-child(4).desactive:hover {
  outline: none;
  border: 1px solid #aa1e1e;
  color:  #aa1e1e;
  box-shadow: 0px 0px 2px #aa1e1e,
  inset 0 0 0 2px #aa1e1e;
  transition-duration: 0.4s;
}

 /* mm */
#menuPartidos button:nth-child(5){
  outline: none;
  border: 1px solid #323232;
  color:  #323232;
  transition-duration: 0.4s;
}



/* vox */
#menuPartidos button:nth-child(5){
  outline: none;
  border: 1px solid #323232;
  color:  #323232;
  transition-duration: 0.4s;
}

#menuPartidos button:nth-child(5).active{
  opacity: 1;
  background-color: #6fc92e;
  color: white;
  border: 1px solid white;
  border-radius: 0.1em;
}

#menuPartidos button:nth-child(5).desactive:hover {
  outline: none;
  border: 1px solid #6fc92e;
  color: #6fc92e;
  box-shadow: 0px 0px 2px #6fc92e,
  inset 0 0 0 2px #6fc92e;
  transition-duration: 0.4s;
}

/* up */
#menuPartidos button:nth-child(6){
  outline: none;
  border: 1px solid #323232;
  color:  #323232;
  transition-duration: 0.4s;
}

#menuPartidos button:nth-child(6).active{
  outline:none;
  opacity: 1;
  background-color: #166e5e;
  color: white;
  border: 1px solid white;
  border-radius: 0.1em;

}

#menuPartidos button:nth-child(6).desactive:hover {
  border: 1px solid #166e5e;
  color:  #166e5e;
  box-shadow: 0px 0px 2px #166e5e,
  inset 0 0 0 2px #166e5e;
  transition-duration: 0.4s;

}

/* cs */


#menuPartidos button:nth-child(7).active{
  outline: none;
  border: 1px solid purple;
  color:  purple;
  transition-duration: 0.4s;
   
}

#menuPartidos button:nth-child(7).active{
  outline:none;
  opacity: 1;
  background-color: purple;
  color: white;
  border: 1px solid white;
  border-radius: 0.1em;

}

#menuPartidos button:nth-child(7).desactive:hover {
  border: 1px solid purple;
  color:  purple;
  box-shadow: 0px 0px 2px purple,
  inset 0 0 0 2px purple;
  transition-duration: 0.4s;
}


.mapboxgl-popup-content {

  margin: 0px;
  padding: 0px !important;
  width:200px;
  font-size: 15px;
}

.return-button {
  display: none;
  position: absolute;
  z-index: 2000;
  top: 105px;
  right: 5px;
  margin-left: 10px;
  width: 60px;
  border: 1px solid #323232;
  color:  #323232;
  margin-right: 10px;
  padding:2px;
  outline: none;
  box-sizing: border-box;
  background-color: #ffffff;
  cursor: pointer;
}
  
.return-cyl-button {
  top: 70px;
  left: 10px;
  margin-left:0px
}
  
.mapboxgl-ctrl-geocoder input{

  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 300 !important;
  color: #323232;
  height: 48px!important;
}
.mapboxgl-popup {

  z-index: 9999;
}
.a.mapboxgl-ctrl-logo {
  z-index: -100 !important;
}

.mapboxgl-ctrl-top-right {

  margin-top: 25px;
  margin-right: 5px;
  

}

.mapboxgl-ctrl-group{
  border-radius: 0px;
  box-shadow: none !important;
  margin-left: 2px !important;

}

.mapboxgl-ctrl-group button {
  border: 1px solid #323232 ;
  background-color: #ffffff !important;
  box-shadow: border-box;
  z-index: 9999;
}

/* For mobile phones: */
@media only screen and (max-width: 600px) {
  /* COPIAR2 INICIO*/

  .mapboxgl-ctrl-top-right {

  visibility: hidden;
    
  
  }
  #cabecera{
    margin-bottom: 20px; 
  }

  .mapboxgl-ctrl-geocoder{
    height: 48px;
    padding-bottom:2px;
  }

  .mapboxgl-ctrl-geocoder input{
    height: 48px !important;
    padding-left: 40px !important;
    font-family: 'Roboto Condensed', sans-serif !important;
    font-weight: 300 !important;
    color: #323232;
  }

  .mapboxgl-ctrl-geocoder svg{
    top: 14px !important;
    width: 20px;
    height: 20px;
  }

  
  .mapboxgl-ctrl-logo {
    z-index: -5;
  }
    .mapboxgl-popup {
      width: 100% !important;
      position: fixed;
      transform: none !important;
      top: auto;
      bottom: 0;
      left: 0;
      z-index: 999;
    }
  
    .mapboxgl-popup-content {
      width: 100% !important;
      left: 0px;
      font-size: 16px;
   
    }
    .mapboxgl-popup-anchor-right {
      left: 0px
    }
    
    .mapboxgl-popup-anchor-bottom-right {
      left: 0px
    }
    
    .mapboxgl-popup-anchor-top-right {
      left: 0px
    }
    
    .mapboxgl-popup-anchor-bottom {
      top: 0px;
      left: 0px

    }
    
    .mapboxgl-popup-anchor-top {
      top: 0px;
      left: 0px

    }
    
    .mapboxgl-popup-anchor-left {
      left: 0px;
   
    }
    .mapboxgl-popup-tip {
      border: 0px;
    }
    
    .mapboxgl-popup-anchor-bottom-left {
      left: 0px
    }
    
    .mapboxgl-popup-anchor-top-left {
      left: 0px
    }

    .mapboxgl-popup-close-button {
      opacity: 1;
      right: 5px;
      top: 5px;
      padding-right: 7px;
      padding-left: 7px;


      font-size: 25px;
      font-weight: 700;
      color: white;
      background: #ffffff5e;
      border-radius: 0.9em;

    }


    #menuPartidos button:nth-child(1){
      outline: none;
      border: 1px solid #323232;
      color:  #323232;
      transition-duration: 0.4s;
      min-width: 45%;
      margin-left: 10px !important;


    }
    #menuPartidos button:nth-child(2){
      outline: none;
      border: 1px solid #323232;
      color:  #323232;
      transition-duration: 0.4s;
      min-width: 45%;
      margin-right: 10px !important;
    
      
    }

    .geocoder {
      top: 20px;
      width: 300px;


}

.return-button {

  top: 105px;

}
}