#estepona-map-container {
    width: 100%;
    height: 100vh; /* Altura completa de la ventana */
    position: relative;
}

#estepona-map {
    width: 100%;
    height: 100%;
}


/* Popup personalizado elerta no gps */
.custom-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 20px;
    max-width: 300px;
    text-align: center;
}

.custom-popup-content p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #333;
}

.custom-popup-content button {
    background-color:#599bb3;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.custom-popup-content button:hover {
    background: #005f82;
}




/* Botones desactivados */
.route-btn.disabled,
.start-route-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}






.estepona-route-popup .start-route-btn {
    background: #28a745; /* Verde para "comenzar" */
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.estepona-route-popup .start-route-btn:hover {
    background: #218838; /* Verde más oscuro al hover */
}


/* Contenedor general del popup */
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: #fff;
    padding: 8px; /* Padding mínimo para visibilidad */
    animation: fadeIn 0.3s ease-out; /* Animación de entrada */

}

/* Popup de carga */


/* Estilos para el popup personalizado */
.contenedor-loading-popup .leaflet-popup-content-wrapper {
    background-color: #0000006b;
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra */

}

.contenedor-loading-popup .leaflet-popup-tip {
    background-color: #0000006b; /* Color de la punta del popup */
}

.contenedor-loading-popup .leaflet-popup-content {
    font-size: 16px; /* Tamaño de fuente */
    color: #333; /* Color del texto */
}



.estepona-loading-popup {
background: white;
    /* border: 2px solid #e8e4e4; */
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    width: 250px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 50px rgb(14 14 14 / 80%);
    animation: slideUp 0.5sease-out;
    animation: slideUp 0.5s ease-out; /* Animación de deslizamiento hacia arriba */
}

.estepona-loading-popup h5 {
    color: #599bb3;
    font-size: 18px;
    margin: 0 0 12px 0;
    font-weight: 700;
    text-transform: uppercase;
    animation: bounceIn 0.6s ease-out; /* Rebote al aparecer */
}

.estepona-loading-popup .loading-gif {
    width: 50px;
    height: 50px;
    margin: 12px 0;
    animation: spin 1s linear infinite; /* Rotación continua */
}

.estepona-loading-popup p {
    color: #444;
    font-size: 14px;
    margin: 0;
    font-style: italic;
    animation: fadeIn 0.8s ease-out 0.2s backwards; /* Desvanecimiento con retraso */
}

/* Popup de ruta */
.estepona-route-popup {
    padding: 15px;
    width: 260px;
    background: #fff;
    border: 2px solid #599bb3;
    border-radius: 6px;
    animation: zoomIn 0.4s ease-out; /* Zoom al aparecer */
}

.estepona-route-popup h5 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #599bb3;
    font-weight: bold;
    border-bottom: 1px solid #28a745;
    padding-bottom: 5px;
    animation: slideInLeft 0.5s ease-out; /* Deslizamiento desde la izquierda */
}

.estepona-route-popup .route-info {
    background: #f0fff0;
    padding: 10px;
    border-radius: 4px;
    border: 1px dashed #599bb3;
    margin-bottom: 10px;
    animation: fadeInUp 0.6s ease-out 0.1s backwards; /* Subida con desvanecimiento */
}

.estepona-route-popup .route-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.estepona-route-popup .route-choice {
    font-size: 14px;
    color: #555;
    margin: 10px 0 5px 0;
    font-weight: 500;
}

.estepona-route-popup .route-buttons {
    display: flex;
    justify-content: space-around;
}

.estepona-route-popup .route-btn {
    background: #ff6f61;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

.estepona-route-popup .route-btn:hover {
    background: #e65b50;
    transform: scale(1.1) rotate(5deg); /* Escalado y rotación al pasar el ratón */
    animation: pulse 0.5s infinite alternate; /* Pulso continuo al hover */
}

.estepona-route-popup .route-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.estepona-route-popup .route-btn:hover .route-icon {
    transform: rotate(360deg); /* Rotación completa del icono al hover */
}

/* Flecha del popup */
.leaflet-popup-tip {
    background: #fff;
    border: 2px solid #28a745;
    border-top: none;
    border-left: none;
    animation: fadeIn 0.3s ease-out;
}

/* Definición de animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}










.single-post:not(.elementor-page) .entry-content a:not(.wp-block-button__link):not(.wp-block-file__button), .page:not(.elementor-page):not(.woocommerce-page) .entry a:not(.wp-block-button__link):not(.wp-block-file__button), .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
    
	text-decoration: none;
	
}

/* Contenedor general del popup */
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: #fff;
    padding: 8px; /* Padding mínimo para visibilidad */
	/*
		z-index: 9999;
		position: relative;
		*/
		
}

/* Popup inicial del punto */
.estepona-point-popup {
    padding: 15px;
    
    background: #fff;
    border: 2px solid #0078A8;
    border-radius: 6px;
}
.leaflet-popup-content img.point-thumbnail {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.estepona-point-popup .point-thumbnail {
    width: 100%; /* Ocupa todo el ancho del popup */
    max-height: 120px; /* Altura máxima para no desbordar */
    object-fit: cover; /* Recorta la imagen proporcionalmente */
    border-radius: 4px;
    margin-bottom: 10px;
}
.point-icon-cat{
position: absolute;
    top: 55px;
    margin-left: 0px;
    border-radius: 0px 0px 5px 5px;
    padding: 10px;
	z-index: 2; /* Mayor prioridad */
	
}
.estepona-point-popup .point-category {
    position: absolute;
    top: 55px;
    left: 44px;
    font-size: 13px;
    color: white;
    margin: 5px 0;
    font-style: italic;
    background: #00000099;
	box-shadow: #A3A3A3 5px 0px 20px 1px;
    padding: 15px;
    padding-left: 50px;
    border-radius: 0px 24px 24px 0px;
    z-index: 1;
}
	

/*
.point-icon-cat{
    position: absolute;
    top: 45px;
    margin-left: 205px;
    border-radius: 0px 0px 5px 5px;
    padding: 10px;
    background: white;
	box-shadow: #A3A3A3 0px 0px 16px 0px;	
}

*/
.estepona-point-popup h5 {
    margin: 0 0 3px 0;
    font-size: 16px;
    color: #4B92A4;
    font-weight: bold;
    border-bottom: 1px solid #0078A8;
    line-height: 1.4;
	    padding-top: 10px;
	text-transform: none;
}
/*
.estepona-point-popup .point-category {
    font-size: 13px;
    color: #555;
    margin: 5px 0;
    font-style: italic;
}
*/
.estepona-point-popup .point-direccion {
    font-size: 13px;
    color: #666;
    margin: 0px 0 10px 0;
    line-height: 1.4;
    text-align: justify;
    padding: 0px;


}
.estepona-point-popup .point-web {
    font-size: 15px;
	font-weight: none;
    color: #555;
    margin: 5px 0;
    font-style: italic;
}

.estepona-point-popup .point-description {
    font-size: 13px;
    color: #666;
    margin: 5px 0 10px 0;
    line-height: 1.4;
	text-align: justify;
	padding-top: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8d5d5;	
}

.estepona-point-popup .route-choice {
    font-size: 14px;
    color: #555;
    margin: 10px 0 5px 0;
    font-weight: 500;
}

.estepona-point-popup .route-buttons {
    display: flex;
    justify-content: space-around;
}

.estepona-point-popup .route-btn {
    background: #ddd;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.estepona-point-popup .route-btn:hover {
    background: #0078a86e;
}

.estepona-point-popup .route-icon {
    width: 30px;
    height: 30px;
}

/* Flecha del popup */
.leaflet-popup-tip {
    background: #fff;
    border: 2px solid #0078A8;
    border-top: none;
    border-left: none;
}

/* Estilos para el control de capas */
.leaflet-control-layers {
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.leaflet-control-layers-overlays label {
    display: block;
    margin: 5px 0;
    font-size: 14px;
}

.leaflet-control-layers-overlays input[type="checkbox"] {
    margin-right: 5px;
}

/* Botones de control en el mapa */
.centrar-gps-button{
	
	display: block;
	
}
.leaflet-control {
    display: block;
    margin: 10px 0 5px 10px; 
    padding: 8px 12px;
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.leaflet-control:hover {
    	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
}

.leaflet-control.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}
/* Estilos para el control de capas */
.leaflet-control-layers {
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.leaflet-control-layers-overlays label {
    display: block;
    margin: 5px 0;
    font-size: 14px;
}

.leaflet-control-layers-overlays input[type="checkbox"] {
    margin-right: 5px;
}

.more-info-btn{
    padding: 10px;
    cursor: pointer;
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;	
	width: 100%;
}
.more-info-btn:hover{
    padding: 10px;
    cursor: pointer;
	background:linear-gradient(to bottom, #599bb3 55%, #408c99 100%);
	background-color:#599bb3;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:grey;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;	
}
#center-gps-button{
    position: absolute;
    top: 10px;
    right: 10px;

    padding: 10px;
    cursor: pointer;
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;	
}
#clear-route-button {
    position: absolute;
    top: 80px;
    right: 10px;
    z-index: 1000;
    padding: 10px;
    cursor: pointer;
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;
border: 0px;	
	
}

#center-gps-button:hover, #clear-route-button:hover {
	background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
	background-color:#408c99;
}


/* FullInfo*/

.fullinfolugar {
    position: fixed;
    bottom: -100%; /* Fuera de la pantalla al inicio */
    left: 0;
    width: 100%;
    height: 80%; /* Ajusta la altura según necesites */
    z-index: 1000; /* Asegura que esté por encima del mapa */
    transition: bottom 0.5s ease; /* Animación suave de 0.5 segundos */
    overflow-y: auto; /* Permitir desplazamiento vertical */
    box-sizing: border-box; /* Incluir padding/bordes en la altura */
	border-top: 5px solid #408c99;
	background: #F5F5F5;
	
}

.fullinfolugar.visible {
    bottom: 0; /* Al añadir esta clase, sube hasta el borde inferior */
}


#Cont-todo{
	padding: 0px;
	margin: 0px;
}
.Cont-todo-margen{
	padding: 60px 10px 10px 10px;
}
.ContBotonClose{
    position: relative;
    text-align: center;
}
.close-full-info {
    width: 200px;
    padding: 4px 20px 4px 20px;
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
    color: white;
    border: none;
    cursor: pointer;
	position: absolute;
	z-index: 5;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 15px;
	border-radius: 0px 0px 10px 10px;  


}
.close-full-info:hover{
    width: 200px;
    padding: 4px 20px 4px 20px;
	box-shadow: 0px 10px 14px -0px #276873;
	background:linear-gradient(to bottom, #599bb3 15%, #408c99 100%);
	background-color:#599bb0;
    color: white;
    border: none;
    cursor: pointer;

	position: absolute;
	z-index: 5;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 15px;
	border-radius: 0px 0px 10px 10px;  

}
.ContCat{
  padding-top: 20px;
  display: flex;
  align-items: top; /* Opcional: centra verticalmente */
     margin: 0PX;
    padding: 0px; 
}
.ContCat img{

  margin-right: 5px;
}
.ContWeb{
	padding: 0px;
	margin: 0px;
	text-align: right;
    padding-bottom: 30px;
    padding-right: 15px;	
}
.btn-web{
    padding: 4px 20px 4px 20px;
    box-shadow: 0px 6px 10px -2px #276873;
    background: linear-gradient(to bottom, #599bb3 15%, #408c99 100%);
    background-color: #599bb0;
    color: white;
    border-radius: 5px;
}
.ContLocali{
	margin-bottom: 20px;
    display: flex;
    align-items: start; /* Opcional: centra verticalmente */	
	margin: 0PX;
    padding: 0px;
}
.ContLocali img{
	width: 20px;
	height: 20px;
	margin-right: 9px;
	margin-left: 2px;
}
.ContLocali p{
    line-height: 1.3em;
    margin-bottom: 10px;
    padding: 0px;
}
.fullinfo-photo{
	width: 150px;
	height: 150px;
	margin-bottom: 10px;
	
transition: opacity 0.5s ease;	
	
}
.fullinfo-photo:hover{
	width: 150px;
	height: 150px;
	margin-bottom: 10px;
	opacity: 0.7;
}
.ContGallery{
	
  display: flex;
  flex-wrap: wrap; /* Permite que los elementos se reorganicen en líneas múltiples */
  justify-content: space-between; /* O space-around, según el espaciado deseado */
     border-top: 1px solid #d8d7d7;
    padding-top: 20px; 
}
.ContDesc{
	margin: 0px;
	padding: 0px;
}
.ContDesc p{
	margin: 0px;
	padding: 0px;
    font-size: 15px;
    line-height: 1.3em;	
    text-align: justify;
    padding-bottom: 10px;	
}
.full-info-titular{
    font-size: 22px;
    line-height: 1.1em;
    margin: 0px;
    padding: 0px;
	    padding-bottom: 5px;
    border-bottom: 1px solid #408c99;	
}
.full-info-direccion{
	font-size: 13px;
	margin: 0px;
	padding: 0px;
	line-height: 1.3em;
	padding-top: 5px;
	    margin-bottom: 25px;
}

