/*
Esempio di utilizzo
<!-- SLIDESHOW -->
<div class="slideshow-container">
	<?php 
	if($slider != null)
		foreach($slider as $slide)
		{
			echo '<div class="mySlides_0 fade">';
			echo '	<img src="34Press/images/homeslider/thumbnails/big/'.$slide["IMMAGINE"].'" style="width:100%">';
			echo '	<div class="text">'.$slide["TITOLO"].'</div>';
			echo '</div>';
		}
	?>
	
	<!-- Next and previous buttons -->
	<a class="prev-slider" onclick="plusSlides(-1, 0)">&#10094;</a>
	<a class="next-slider" onclick="plusSlides(1, 0)">&#10095;</a>
</div>
<br>
<!-- The dots/circles -->
<div style="text-align:center">
	<?php 
	if($slider != null)
		for($i = 1; $i <= count($slider); $i++)
		{
			$active = ($i === 1) ? 'active' : '';
			echo '<span class="dot '.$active.'" onclick="currentSlide('.$i.', 0)"></span>';
		}
	?>
</div>
*/

/* Slideshow container */
.slideshow-container {
	/*
	max-width: 1140px;
	position: relative;
	*/
	margin: auto;
	
    height: 700px;
}

/* Hide the images by default */
.mySlides {
	display: none;
}

/* Next & previous buttons */
.prev-slider, .next-slider {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	margin-top: -22px;
	padding: 16px;
	color: var(--primary-color);
	font-weight: bold;
	font-size: 25px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
}

/* Position the "next button" to the right */
.next-slider {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev-slider:hover, .next-slider:hover {
	background-color: var(--secondary-color);
}

/* Caption text */
.text {
	color: var(--primary-color);
	font-size: 15px;
	padding: 8px 12px;
	position: absolute;
	bottom: 8px;
	width: 100%;
	text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
	color: var(--primary-color);
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}

/* The dots/bullets/indicators */
.dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 2px;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
	background-color: var(--grey);
}

.dot:hover, .dot.active {
	background-color: var(--primary-color);
}

/* Fading animation */
.fade {
	animation-name: fade;
	animation-duration: 1.5s;
	opacity: 1;
}

@keyframes fade {
	from {opacity: .4}
	to {opacity: 1}
}


@media (max-width: 768px) {

.slideshow-container {
	/*
	max-width: 1140px;
	position: relative;
	*/
	margin: auto;
	
    height: 400px;
}
}