/* set border-box so that percents can be used for width, padding, etc (personal preference) */
.cycle-slideshow, .cycle-slideshow * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-align: left;
}

/* in case script does not load */
.cycle-slideshow img:first-child {
	position: static;
	z-index: 1;
}

/* pager */
.cycle-pager { 
    text-align: left; width: 100%; z-index: 700; position: absolute; bottom: -50px; overflow: hidden; display: block;
}
.cycle-pager span { font-family: helvetica; font-size: 12px; width: 20px; height: 15px; display: inline-block; color: #fefefe; cursor: pointer; margin: 0 5px; 
}

.cycle-pager span a { color: #ddd; }

.cycle-pager span.cycle-pager-active a { font-weight:bold; color: #aaa; }
.cycle-pager > * { cursor: pointer;}


/* caption */
.cycle-caption { position: absolute; color: #666; bottom: -22px; width:100%; text-align:center; z-index: 700; }


/* overlay */
.cycle-overlay { 
    font-family: tahoma, arial;
    position: absolute; bottom: 0; width: 100%; z-index: 600;
    background: black; color: white; padding: 15px; opacity: .5;
}

/* prev / next links */
.cycle-prev, .cycle-next {
	position: absolute;
	top: 3px;
	width: 30%;
	opacity: 0;
	filter: alpha(opacity=0);
	z-index: 800;
	height: 100%;
	cursor: pointer;
	background-image: url(../img/arw_r_40a.png);
}
.cycle-prev {
	left: -20px;
	background: url(../img/arw_l_40a.png) 0% 40% no-repeat;
}
.cycle-next {
	right: 20px;
	background: url(../img/arw_r_40a.png) 100% 40% no-repeat;
}
.cycle-prev:hover, .cycle-next:hover { opacity: .7; filter: alpha(opacity=70) }

.disabled { opacity: .5; filter:alpha(opacity=50); }

/* display paused text on top of paused slideshow */
.cycle-paused:after {
    content: 'Paused'; color: white; background: black; padding: 10px;
    z-index: 500; position: absolute; top: 10px; right: 10px;
    border-radius: 10px;
    opacity: .5; filter: alpha(opacity=50);
}

/* 
    media queries 
    some style overrides to make things more pleasant on mobile devices
*/

@media only screen and (max-width: 640px) {
    .cycle-pager {
      display: none;
    }

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    .cycle-overlay { padding: 4px }
    .cycle-caption { bottom: 4px; right: 4px }
}
