/* --- SLIDER --- */

.carrusel-slider {
	position: relative;
	width: 100%;
	height: 230px;
	display: inline-block;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-perspective: 800px;
	perspective: 800px;
}

.carrusel-item {
	position: absolute;
	display: block;
	width: calc(100% - calc(var(--distancia-carousel) * 2));
	left: 0;
	height: auto;
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
	border: none;
	border-radius: 0 0 20px 0;
}

.card {
	border: solid 2px var(--blanco);
	border-radius: 0 0 20px 0;
	overflow: hidden;
	background: none;
	margin-left: -2px;
}

.left .carrusel-item {
	left: auto;
	right: 0;
}

.card-block-wrap {
	position: relative;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.card > .card {
	border: none;
	position: relative;
}

.teacher-language {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	color: var(--negro);
	text-align: center;
	z-index: 20;
	font-size: 0.7em;
	font-family: "Urbanist";
	letter-spacing: 1px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.6;
}

.teacher-name {
	position: absolute;
	bottom: 35px;
	left: 0;
	width: 90%;
	text-align: right;
	font-size: 1.5em;
	color: var(--negro);
	z-index: 21;
	line-height: 1.2;
	font-family: "Urbanist";
	font-weight: 800;
	padding-right: 8px;
}

.card.teacher:last-child > .teacher-language,
.card.teacher:last-child > .teacher-name {
	display: none;
}

.btn-wrap {
	position: absolute;
	z-index: 20;
	bottom: 50%;
	left: 50%;
	width: 100%;
	transform: translateX(-50%);
}

.btn-arrow-nav {
	cursor: pointer;
	width: 40px;
	height: 40px;
	top: calc(65% - 20px);
	position: absolute;
	z-index: 50;
}

.btn-prev {
	left: -20px;
	right: auto;
}

.btn-next {
	right: -20px;
	left: auto;
}

@media screen and (min-width: 767px) {
	.teacher-language {
		font-size: 1.2em;
		letter-spacing: 2px;
		line-height: 35px;
	}

	.teacher-name {
		font-size: 2.5em;
		line-height: 1.2;
	}

	.carrusel-slider {
		margin-top: 0;
		height: 100%;
	}

	.card-block-wrap {
		width: 100%;
	}

	.btn-prev {
		left: 20px;
		right: auto;
	}

	.btn-next {
		right: -20px;
		left: auto;
	}

	.left .btn-prev {
		left: -20px;
		right: auto;
	}

	.left .btn-next {
		right: 20px;
		left: auto;
	}
}

@media only screen and (min-width: 767px) and (max-width: 991px) {
	.carrusel-slider {
		position: relative;
		width: 100%;
		height: 350px;
	}
}
