/* général */
.glide {
	position: relative;
	--utc-slider-height: 430px;
}
.glide__arrow {
	position: absolute;
	top: 50%;
	cursor: pointer;
	background: none;
	color: white;
	font-weight: bold;
	box-shadow: 0 0 3px #0009;
	border: none;
	padding: 0;
	margin-top: -2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--utc-main-color);
	transition: 0.2s;
}
.glide__arrow:hover {
	background: var(--utc-accent-color);
}
.glide__arrow--left {
	left: 10px;
}
.glide__arrow--right {
	right: 10px;
}
.glide__arrow .dashicons {
	font-size: 4rem;
	height: 1em;
	width: 1em;
}
.utc-slider .wp-block-cover {
	min-height: var(--utc-slider-height);
}
.utc-page ul.glide__slides {
	padding-left: 0;
}

/* admin slider */
.utc-slider-admin {
	display: none;
	position: absolute;
	top: 5px;
	gap: 8px;
	padding-left: 5px;
}
.glide__slide:hover .utc-slider-admin {
	display: flex;
}
.utc-slider-admin a {
	text-decoration: none;
	background: #fffe;
	color: var(--utc-main-color);
	border: 1px solid var(--utc-main-color);
	padding: 5px 10px;
	font-size: 1.3rem;
}
.utc-slider-admin a:hover {
	background: var(--utc-accent-color);
}

/* slider des vidéos */
.utc-video-slider iframe {
	border: none;
	width: 100%;
	height: 200px;
	text-align: center;
}
.utc-video-slider a {
	text-decoration: none;
}
.utc-video-slider p {
	padding-left: 10px;
	text-align: center;
}
.utc-video-slider .glide__arrow {
	top: 120px;
}
.utc-arrows-outside .glide__arrow--left {
	left: -70px;
}
.utc-arrows-outside .glide__arrow--right {
	right: -70px;
}

/* responsive des sliders */
@media (max-width: 1020px) {
	.glide__arrow {
		position: static;
	}
	.glide__arrows {
		position: absolute;
		bottom: 20px;
		width: 100%;
		display: flex;
		justify-content: center;
		gap: 10px;
	}
	.utc-arrows-outside .glide__arrows {
		position: static;
	}
}