﻿.image-rotator{
  padding: 15px 15px 15px 0;
}


.imageRotator {
	 position: relative; 
	 width: 100%; /* for IE 6 */
}

.text-overlay {
	 position: absolute; 
	 bottom: 20px; left: 0; 
	 width: 100%; 
	 /*background: white; */ /* fallback color */
	 /*background: rgba(255, 255, 255, 0.70);*/
	 background-image: url(../Imgs/transparency_pixel_white.png); 
	 background-repeat: repeat; 
	 padding: 10px;
	-khtml-opacity:.50; 
	-moz-opacity:.50; 
	-ms-filter:"alpha(opacity=50)";
	filter:alpha(opacity=50);
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.5);
	opacity:.50; 
}
.text-overlay span {
	 color: #005AA3; 
	 font: normal 40px "Segoe UI", Helvetica, Sans-Serif;
}



/* ------------------------------------- */
/* Novi rotator */
/* ------------------------------------- */

.rotator * {
	box-sizing: border-box
}

/* Slideshow container */
.rotator .slideshow-container {
	position: relative;
	margin: auto;
}

/* Hide the images by default */
.rotator .mySlides {
	display: none;
}

/* Next & previous buttons */
.rotator .prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	margin-top: -22px;
	padding: 16px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
}

/* Position the "next button" to the right */
.rotator .next {
	right: 0;
	border-radius: 8px 0 0 8px;
}

/* On hover, add a black background color with a little bit see-through */
.rotator .prev:hover, .next:hover {
	background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.rotator .text {
	/*color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;*/
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 100%;
	/*background: white; */ /* fallback color */
	/*background: rgba(255, 255, 255, 0.70);*/
	background-image: url(../Imgs/transparency_pixel_white.png);
	background-repeat: repeat;
	padding: 10px;
	-khtml-opacity: .50;
	-moz-opacity: .50;
	-ms-filter: "alpha(opacity=50)";
	filter: alpha(opacity=50);
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.5);
	opacity: .50;
	color: #005AA3;
	font: normal 40px "Segoe UI", Helvetica, Sans-Serif;
}

/* Number text (1/3 etc) */
.rotator .numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}

/* The dots/bullets/indicators */
.rotator .dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 2px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.1s ease;
}

.rotator .active, .dot:hover {
	background-color: #717171;
}

/* Fading animation */
.rotator .fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 0.5s;
	animation-name: fade;
	animation-duration: 0.5s;
}

@-webkit-keyframes fade {
	from {
		opacity: .4
	}

	to {
		opacity: 1
	}
}

@keyframes fade {
	from {
		opacity: .4
	}

	to {
		opacity: 1
	}
}

@-webkit-keyframes pulse {
	0% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}

	50% {
		-webkit-transform: scale3d(1.05, 1.05, 1.05);
		transform: scale3d(1.05, 1.05, 1.05);
	}

	100% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}

@keyframes pulse {
	0% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}

	50% {
		-webkit-transform: scale3d(1.05, 1.05, 1.05);
		transform: scale3d(1.05, 1.05, 1.05);
	}

	100% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
} 

/* Sliding animation */
.rotator .slide {
	-webkit-animation: slide 0.5s forwards;
	-webkit-animation-delay: 2s;
	animation: slide 0.5s forwards;
	animation-delay: 2s;
}

@-webkit-keyframes slide {
	100% {
		left: 0;
	}
}

@keyframes slide {
	100% {
		left: 0;
	}
}