/* iView skin 4: responsive, with bullets (#3) */

#iview {
	display: block;
	max-width: 970px;
	min-width: 280px;
	margin: 40px auto;
	padding: 5px;
	overflow: hidden;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.7);
	box-shadow: 0 38px 30px -18px rgba(0, 0, 0, 0.5);
}

#iview .iviewSlider {
	border-radius: 4px;
}

#iview div.iview-directionNav {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 9;
	width: 100%;
	margin-top: -13px;
}

#iview div.iview-directionNav a {
	display: block;
	position: absolute;
	top: 0;
	width: 27px;
	height: 27px;
	overflow: hidden;
	background-image: url(../img/bg_direction_nav.png);
	text-indent: -9999px;
	cursor: pointer;
	transition: left 0.3s ease-in-out, right 0.3s ease-in-out;
}

#iview div.iview-directionNav a.iview-nextNav {
	right: -27px;
	background-position: 27px 0;
}

#iview div.iview-directionNav a.iview-prevNav {
	left: -27px;
	background-position: 0 0;
}

#iview.iview-hover div.iview-directionNav a.iview-nextNav,
#iview:focus-within div.iview-directionNav a.iview-nextNav {
	right: 20px;
}

#iview.iview-hover div.iview-directionNav a.iview-prevNav,
#iview:focus-within div.iview-directionNav a.iview-prevNav {
	left: 20px;
}

/* Bullets: these were missing in v2, so the control nav showed plain numbers (#3). */
#iview .iview-controlNav {
	position: absolute;
	width: max-content;
	bottom: 14px;
	left: 50%;
	padding: 6px 8px 5px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.35);
	transform: translateX(-50%);
	white-space: nowrap;
	line-height: 0;
}

#iview .iview-controlNav a {
	text-indent: -9999px;
}

#iview .iview-controlNav li {
	display: inline-block;
}

#iview .iview-controlNav a.iview-control {
	display: block;
	width: 11px;
	height: 11px;
	margin: 0 4px;
	overflow: hidden;
	background: url('../img/bullets_2.png') no-repeat 0 0;
}

#iview .iview-controlNav a.iview-control.active {
	background-position: 0 -11px;
}

.iview-caption {
	padding: 10px 15px;
	border-radius: 3px;
	background: url('../img/caption-bg.png');
	color: #fff;
	font-family: Verdana, Tahoma, sans-serif;
	font-size: 12px;
	text-shadow: #000 1px 1px 0;
}

.iview-caption.caption1 {
	text-shadow: none;
}

.iview-caption.caption2 {
	background: #fff;
	color: #000;
	text-shadow: none;
}

.iview-caption.caption3 {
	background: #c4302b;
	box-shadow: rgba(0, 0, 0, 0.7) 10px 10px 15px 0;
	text-shadow: none;
}

.iview-preloader {
	width: 150px;
	border: #666 1px solid;
}

.iview-preloader div {
	background: #666;
}

.iview-timer {
	border-radius: 10px;
}

.iview-timer .iview-timer-bar {
	border-radius: 10px;
}
