/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0
*/

.aviso-mapa {
    background-color: #ffd3d3;
    color: #17224d;
    padding: 1rem;
	    text-align: center;
}
.aviso-mapa p{
	margin-bottom:0;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}
.op-hover{
	opacity:1;
	transition: opacity 0.4s;
}
.op-hover:hover{
	opacity:0.6;
}
.d-none{
	display:none !important;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 1s infinite;
}


/*ROW MAPA DISPOSITIVOS*/
#row-mapa{
	display:flex;
}
#row-mapa #mapa-dispositivos{
	width:100%;
	height: 80vh;
	transition: all 0.4s;
}
#row-mapa #listado-dispositivos{
	width:0%;
	height:0;
	background: #f8eeee;
	transition: all 0.4s;
	    overflow-y: auto;
}

#row-mapa.activo #mapa-dispositivos{
	width:60%;
	height: 80vh;

}
#row-mapa.activo #listado-dispositivos{
	width:40%;
	padding: 1rem;
	padding-left: 2rem;
	padding-top: 2rem;
	height: 80vh;
}

#row-mapa:not(.activo) #listado-dispositivos .dispositivo{
	opacity:0;
}

/*LISTADO DISPOSITIVOS*/

#listado-dispositivos .dispositivo{
	display:flex;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #17224d;
    margin-bottom: 1.5rem;
}

#listado-dispositivos .datos{
	 width: 60%;
	padding:0 1rem;
}
#listado-dispositivos .datos h3{
	font-size:14px;
	    margin-bottom: 0.5rem;
}
#listado-dispositivos .datos h4{
	font-size: 12px;
	margin: 0.5rem 0;
	font-weight: 400;
}
#listado-dispositivos .datos a{
	font-size: 13px;
	color: #17224d;
}

.dashicons.dashicons-phone{
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#listado-dispositivos .datos a.btn-ficha{
    margin-left: 10px;
    background: #17224d;
    padding: 1px 10px;
    border-radius: 5px;
    text-decoration: none;
	color: #f8eeee;
}

#listado-dispositivos .imagen{
    width: 40%;
}
#listado-dispositivos .imagen img{
	border-radius: 10px;
    padding: 3px;
}




/*FILTROS MAPA DISPOSITIVOS*/
#filtros-mapa{
    display: flex;
    align-items: center;
	justify-content: end;
}

#filtros-mapa ul{
	list-style: none;
    display: flex;
    justify-content: end;
    margin: 1rem;
    font-size: 14px;
	    padding: 0;
    margin-left: 0;
}
#filtros-mapa ul li{
	background: #f8eeee;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
}




#filtros-mapa ul li:before{
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
	border: 1px solid #f8eeee;
}

#filtros-mapa ul li.todos:before{
	content: none;
}



/*MAPA DISPOSITIVOS*/
/*
 * Property styles in unhighlighted state.
 */
.property {
    align-items: center;
    border: 1px solid #f8eeee;
    border-radius: 50%;
    color: black;
    display: flex;
    font-size: 14px;
    gap: 15px;
    height: 30px;
    justify-content: center;
    padding: 4px;
    position: relative;
    position: relative;
    transition: all 0.3s ease-out;
    width: 30px;
}



.property::after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 15px solid #a2112a;
    content: "";
    height: 0;
    left: 50%;
    position: absolute;
    top: 90%;
    transform: translate(-50%, 0);
    width: 0;
    z-index: 1;
}




.property .details {
    display: none;
    flex-direction: column;
    flex: 1;
    max-width: 200px;
}



    .property:before {
        content: '';
        width: 15px;
        height: 15px;
        border-radius: 50%;
    }



.property.highlight:before {
    position: absolute;
    bottom: 10px;
    right: 10px;
}


/*
 * Property styles in highlighted state.
 */
.property.highlight {
    background-color: #EDF1FE !important;
    border-radius: 10px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    height: auto;
    padding: 10px;
    width: auto;
}

.property.highlight .details {
	display: block;
}

.property.highlight::after {
    border-top-color: #EDF1FE !important;
    margin-top: 16px;
}

.property .nombre{
	 margin: 5px 0;
    font-weight: 600;
}
.property .cat,.property .direccion,.property .telefono{
    margin: 5px 0;
	font-size: 12px;
}


.property .cat:before{
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 2px;
}



/*por debajo de IPAD PRO*/
@media (max-width: 1365px){
	#row-mapa.activo #listado-dispositivos,
	#row-mapa.activo #mapa-dispositivos{
		width:50%;
		}
}

/*por debajo de IPAD MINI*/
@media (max-width: 1023px){
#listado-dispositivos .datos a.btn-ficha {
    display: block;
    margin-top: 0.5rem;
    margin-left: 0;
}
	
		#filtros-mapa ul{
		display:block;
	}
	#filtros-mapa ul li{
		margin-bottom: 0.25rem;
		font-size: 11px;
	}

}

/*movil*/
@media (max-width: 767px){

	#row-mapa{
		display:block;
	}
	#mapa-dispositivos{
		width:100% !important;
		height: 65vh !important;
	}
	#row-mapa #listado-dispositivos{
		height: 0 !important;
	}
	#row-mapa.activo #listado-dispositivos{
		width:100% !important;
		height: auto !important;
		padding-left: 1rem;
	}
	
	.property {
    height: 20px;
    width: 20px;
	}
	.property::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
	}

}
