html { 
	height: 100%;
}
body {
	font-family:Arimo, Arial, Helvetica, sans-serif;
	background-color:#00aac1;
	color:#3581ff;
	height: 100%;margin:0;padding:0;
}

.leaflet-popup-content h4 {
	font-size: 1.4em
}

input, select, .btnPantallaCompleta {
	width: auto;
	margin: 2px 5px 2px 0;
	border: 0;
	padding: 4px 6px;
	border-radius: 4px;
	font-family: inherit;
	background-color: white;
	cursor: pointer;
	box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 3px;
}
input:hover, select:hover, .btnPantallaCompleta:hover {
	background-color: #00aac1;
	color: #fff;
}
#cabecera {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color:#00aac1; 
	color:#FFFFFF;	
	text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
	margin-bottom: -4px;
	/* Estilos para que la cabecera sea semitransparente y el mapa ocupe el 100% del la pantalla (Cambiar el height del mapa a 100% y usar el logo medusapp_banner_t.png)*/
	position: absolute;
	top: 0;
	z-index: 1000;
	width: 100%;
	 background-color: rgba(0, 0, 0, 0.3); 
	/*Fin estilos para que la cabecera sea semitransparente */
}
.minima{
	font-size: calc(0.8em + 0.15vw);
	font-weight: bold;
	background: rgba(0, 0, 0, 0.1);
	width: fit-content;
	border-radius: 4px;
	padding: 4px 6px;
	text-align: center;
}
.mobile {
	display:none;	
}	
@media (max-width: 768px) {
	.mobile {
		max-height: 80px;
		padding: 10px;
		display:block;
		max-height: 80px;
		height: 13vw;
		min-height: 40px;
	}
	.desktop {
		display:none;
	}
}
img { /* para que rote según EXIFF */
	image-orientation: from-image;
}
.leaflet-popup-content img, video{
	cursor: pointer;
}
/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}	
.modalImagen {
	display: none;
	position: fixed;
	z-index: 1000;
	padding-top: 65px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.9);
}
.modal-content {
	margin: auto;
	display: block;
	
	max-width: 98%;
	max-height: 90%;
}
#caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	max-height: 85vh;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	height: 150px;
}

/* Add Animation */
.modal-content, #caption {    
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
	from {-webkit-transform:scale(0)} 
	to {-webkit-transform:scale(1)}
}
@keyframes zoom {
	from {transform:scale(0)} 
	to {transform:scale(1)}
}

.close {
	position: fixed;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}
.close:hover, .close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}
.btnPantallaCompleta {
	background: url("../fullscreen-thin.svg");
	/*background: url("../maximize.svg");*/
	width: 2em;
	height: 2em;
	background-color: #fff;
	background-size: 1.2em;
	background-position: center;
	background-repeat: no-repeat;
	/*
	position: absolute;
	right: 2vw;
	top: 100%;
	display: block;
	padding: 4px 6px 0px 6px;
	max-width: 6em;	
	text-align: center;
	text-decoration: none;
	color: #000;
	text-shadow: none;
	padding: 5px 10px;
	border-style: solid;
	border-radius: 5px;box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 3px 10px 0 rgba(0,0,0,0.19);
	border-width: 1px;
	background-color: rgba(0,0,0, 0.15);
	*/
}
/*.btnPantallaCompleta:hover {
	background-color: #fff;
	color: #00aac1;
	text-shadow: none;
}*/



.estrellaMedia {
    background: linear-gradient(to right, #0086a4 50%, rgba(0, 0, 0, 0.2) 50%);
    background-clip: border-box;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.estrellaLlena {
    color: #0086a4;
}
.estrellaVacia {
    color:rgba(0, 0, 0, 0.2);
}

.leaflet-marker-icon, .itemsleyenda img {
	box-shadow: 0px 0px 8px #fff inset;
	border-radius: 32px;
	border: 1px solid #fff;
}

.itemsleyenda img {
	width: calc(2em + 0.6vw);
	max-width: 32px;
}

.divleyenda {
	position: fixed;
	bottom: 0;
	z-index: 999;
	right: 0;
	background-color: rgba(0, 0, 0, 0.3);
	color: #fff;
	padding: 1vh 0.5vw 4vh 0.5vw;
	border-radius: 10px 0 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	font-size: calc(0.5em + 0.2vw);
	/*font-weight: bold;*/
	text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
	flex-direction: column;
}
.itemsleyenda {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.leaflet-control-attribution {
	font-size: 0.7rem;
}
#enlaces {
	position: fixed;
	bottom: 3vh;
	z-index: 1000; 
	/*width: 100%*/
}

#divCargando {
	display: none;
	z-index: 999;
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;  
  }
.loader {
  /*border: 16px solid #ccc;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;*/
  height: 80px;
  border-radius: 80px;
  border: 15px ridge #00aac1;
  transform: translate(-15px, -15px);
  animation: spin 2s linear infinite;
  
}
/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


*/video {
	background: transparent url('https://www.medusapp.net/assets/images/medusapp-logo.jpg') 50% 50% / cover no-repeat ;
	height: 80px;
  border-radius: 80px;
  border: 15px ridge #00aac1;
  transform: translate(-15px, -15px);
  animation: spin 2s linear infinite;
}*/