
/*------------------------------------------------------------------------------------
	Maquetación de un solo servicio dentro de la lista de todos los servicios
-----------------------------------------------------------------------------------*/
.drServicios{
	margin-top: 30px;
	display: grid;
	grid-template-columns: repeat(4, 1fr); 
	gap: 10px;
	list-style-type: none;
}
.wpUnServBd{
	position: relative;
	box-sizing: border-box;
	margin-bottom: 20px;
	width: 250px;
}
.DK .wpUnServBd:hover img
,.MB .wpUnServBd:active img{
	transform: scale(1.1);
}
.drNuestrosServBd .wpUnServBd:nth-child(4n){
	margin-right: 0;
}
.wpImgServBd{
	border-radius: 8px;
	overflow: hidden;
	width: 100%;
	height: 250px;
	background: rgba(0,0,0,.05);
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 15px;
}
.wpImgServBd img{
	object-fit: cover;
	width: 100%;
	height: 100%;
	transition: transform .5s;
}
.servBd{
	width: 100%;
	display: block;
	text-decoration: none;
}
.nombreServBd{	
	height: 47px;
	color: #000;
	width: calc(100% - 25px);
	font-family: fontBold;
	text-align: center;
	display: block;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	word-wrap: break-word;
	-webkit-line-clamp: 2;	
	height: 47px;
	font-size: 16px;
}
.iconWhatsServBd{
	position: absolute;
	bottom: 23px;
	right: 0;
}
.iconWhatsServBd svg{
	width: 18px;
	height: 18px;
}

@media (max-width: 1217px) and (min-width: 966px) {		
	/*-------------- SERVICIOS QUE SE MUESTRAN EN EL BODY --------------*/
	.wpUnServBd{
		width: 200px;
		margin-right: 0;
	}
	.wpImgServBd{
		height: 200px;
	}	
}

@media (max-width: 965px) and (min-width: 758px) {
	/*------- SERVICIOS QUE SE MUESTRAN EN EL BODY -------*/
	.wpUnServBd{
		width: 210px;
	}
	.wpImgServBd{
		height: 210px;
	}	
	.drServicios{
		justify-items: center;
		grid-template-columns: repeat(3, 1fr); 
	}
}

@media (max-width: 757px){
	/*------- SERVICIOS QUE SE MUESTRAN EN EL BODY -------*/
	.wpUnServBd{
		width: 170px;
	}
	.wpImgServBd{
		height: 170px;
	}
	.drServicios{
		justify-items: center;
		grid-template-columns: repeat(3, 1fr); 
	}
}

@media (max-width: 640px){
	.wpUnServBd{
		width: 40vw;
	}
	.wpImgServBd{
		height: 40vw;
	}
	.drServicios{
		justify-items: start;
		grid-template-columns: repeat(2, 1fr); 
	}
	.nombreServBd{
		font-size: 14px;
		height: 40px;
	}
}