/***********
GENERAL
***********/

:root {
  --color-principal: #016185;
  --color-principal: #006990;
}

*{
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
	border: none;
	outline: none;
}

body{
    font-family: 'Helvetica', 'Arial', sans-serif;
    margin: 0px; padding: 0px;
    font-size: 1em;
    box-sizing: border-box;
	background-color: rgba(55,183,250, 0.1);
}

a, a:visited {
    color:var(--color-principal);
    text-decoration: none;
    font-size: 1.5em;
}

h3, h4{
    color: var(--color-principal);
    _border-bottom:1px solid #eee;
	margin: 5px auto;
	text-align: center;
	padding: 5px 0px;
	width: 80%;
}

h4{
	width: 60%;
}


/***********
HEAD
***********/


img {
	height: 50px;

}

#header{
	top: 0px;
	left: 0px;
	position: fixed;
	width: calc(100% - 20px);
	height: 30px;
	background-color: rgba(255,255,255,0.8);
	padding: 10px;
	display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items:center;
	z-index: 10;	
	color: var(--color-principal);
	font-size: 1.2em;
}

#opcions{
	display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items:center;	
	margin-top: 10px;
}

.opcio{
	display: flex;
    flex-direction: column;
    justify-content:center
    align-items:center;
	_margin-left: 10px;
	text-align: center;
	min-width: 50px;
}

#etiquetaOnSoc, #etiquetaOpcions{
	font-size: 0.5em;
	font-weight: bold;
	_border: 1px solid red;
	text-align: center;
	margin-top: 2px;
}

.red{
	color: red;
}



/**********
PRINCIPAL
***********/

#principal{
	margin-top: 50px;
}

#map {
    height: calc(100% - 50px);
	margin-top: 50px;
}


@media screen and (max-width: 1024px) {
img {
	width: 200px;
	height: auto; 

}
}

/***********
CONTROL MAPA
***********/

#controlMapa{
	display: none;
	position: absolute;
	z-index: 2;
	width: 100%;
	height: auto;
	top: 50px;
	left: 0px;
	padding: 5px 0px 5px 0px;
	background-color: rgba(255,255,255,0.8);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	box-shadow: 0px 1px 10px 1px rgba(0,0,0,0.2);
}

#controlesMapa, #mostrarCoordenades{
	height: auto;
	padding: 15px;
	display: flex;
	flex-direction: row;
	justify-content:space-around;
	align-items: center;
	flex-wrap: wrap;
	font-size: 1em;
}

#mostrarCoordenades{
	color: #999;	
}

#mostrarCoordenades input{
	font-size: 1.1em;
	width:5.5em;
	color: var(--color-principal); 
}



.botons input[type="checkbox"] {
	display: none;
}

.botons  label {
    background-color: #EFEFEF;
    padding: 5px 15px;
    border: 1px solid #D0D0D0;
    width: 300px;
    text-align: center;
	border-radius: 20px;
}

.botons input[type="checkbox"]:checked + label{
	background-color: #404040;
	color: #f7f7f7;
}

.botons input[type="checkbox"]:disabled + label {
	background-color: rgba(0, 0, 0, 0.01);
	color: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(0, 0, 0, 0.05);
}




