/**
 * NikoMotoSport - CSS del shim de Revolution Slider.
 * Comportamiento visual identico al RS 5.4.1 de prod:
 *  - height la pone el JS (setREVStartSize: round(500 * min(1, winW/1240)))
 *  - activity responsiva via el wrapper en flow (.forcefullwidth_wrapper_tp_banner)
 *  - bullets "persephone" (CSS exacto del plugin: 12px, border 1px #e5e5e5,
 *    #aaa, hover/selected #222), vertical derecha offset 30px, espacio 5,
 *    ocultos bajo 600px (hide_under del markup prod).
 * Version: 1.1.0
 */

.rev_slider_wrapper.fullwidthbanner-container {
	/* el width/height/position los fija el JS (init rs-like) */
	width: 100%;
	position: relative;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
}

.rev_slider.fullwidthabanner {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #E7E7E7;
	display: block !important; /* el markup de prod trae display:none inline */
}

.rev_slider ul {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 0;
}

.rev_slider ul li {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 0;
	-webkit-transition: opacity 300ms ease;
	transition: opacity 300ms ease;
	list-style: none;
}

.rev_slider ul li.active {
	opacity: 1;
	z-index: 2;
}

/* Imagen de fondo de cada slide (data-bgfit="cover") */
.rev_slider ul li img.rev-slidebg {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	max-width: none !important;
	max-height: none !important;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center center;
	object-position: center center;
}

/* Capas de texto (tp-caption) */
.rev_slider div.tp-caption {
	position: absolute;
	visibility: visible;
	white-space: nowrap;
	z-index: 5;
	-webkit-transform-origin: left top;
	transform-origin: left top;
}

/* --------------------- Bullets persephone ----------------------------- */

.tp-bullets.persephone {
	position: absolute;
	top: 50%;
	right: 30px;
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: 5px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

/* replica del :before del plugin (area de toque extendida 10px) */
.tp-bullets.persephone:before {
	content: " ";
	pointer-events: none;
	position: absolute;
	width: 100%;
	height: 100%;
	background: #transparent;
	padding: 10px;
	margin-left: -10px;
	margin-top: -10px;
	box-sizing: content-box;
}

.tp-bullets.persephone .tp-bullet {
	width: 12px;
	height: 12px;
	position: static;
	display: block;
	background: #aaa;
	border: 1px solid #e5e5e5;
	margin: 0;
	padding: 0;
	cursor: pointer;
	box-sizing: content-box;
	-webkit-appearance: none;
	border-radius: 0;
}

.tp-bullets.persephone .tp-bullet:hover,
.tp-bullets.persephone .tp-bullet.selected {
	background: #222;
}

/* Forcer (reserva de altura en flow mientras el banner es absolute) */
.tp-fullwidth-forcer {
	width: 100%;
	pointer-events: none;
}

/* ======================= Responsivo ================================== */
/* La altura NO va por media queries: la calcula el JS
 * (height = round(500 * min(1, winW/1240)), como setREVStartSize de prod). */

/* Bullets ocultos bajo 600px (hide_under: 600) */
@media (max-width: 599px) {
	.tp-bullets.persephone {
		display: none !important;
	}
}
