﻿
/* set border-box so that percents can be used for width, padding, etc (personal preference) */
.cycle-slideshow, .cycle-slideshow * { overflow:hidden; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }


.cycle-slideshow { width: 100%; min-width: 200px; max-width: 920px; margin:0; padding: 0; position: relative;

 }

/* slideshow images (for most of the demos, these are the actual "slides") */
.cycle-slideshow img { 
    /* 
    some of these styles will be set by the plugin (by default) but setting them here
    helps avoid flash-of-unstyled-content
    */
    position: absolute; top: 0; left: 0;
    width: 100%; padding: 0; display: block;
}

/* in case script does not load */
.cycle-slideshow img:first-child {
    position: static; z-index: 100;
}

/* pager */
.cycle-pager { 
    text-align: right; width: 93%; z-index: 999990; position:absolute; overflow: none; margin-left:22px; margin-top:-52px;
}
.cycle-pager span { 
    font-family: arial; font-size: 30px; width: 12px; height: 12px; 
    display: inline-block; color: #888; cursor: pointer; margin-right:1px;
}
.cycle-pager span.cycle-pager-active { color: #444444;}
.cycle-pager > * { cursor: pointer;}



/* caption */
.cycle-caption { position: absolute; color: white; bottom: 15px; right: 15px; z-index: 700; }


/* overlay */
.cycle-overlay { 
    font-family: arial;
    position: absolute; bottom: 0; width: 100%; z-index: 600;
    background: black; color: white; padding: 15px;
}


/* prev / next links */
.cycle-prev, .cycle-next { position: absolute; top: 0; width: 48%; opacity: 0; filter: alpha(opacity=0); z-index: 800; height: 100%; cursor: pointer; }
.cycle-prev { left: 0;  background: url(/img/prev.png) 20% 40% no-repeat;}
.cycle-next { right: 0; background: url(/img/next.png) 80% 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: #444444; padding: 5px; font-size:10pt; font-style:italic;
    z-index: 500; position: absolute; top: 10px; right: 10px; padding-right:10px; padding-left:10px;
    opacity: .5; filter: alpha(opacity=40);
}

/* 
    media queries 
    some style overrides to make things more pleasant on mobile devices
*/

@media screen and (max-width: 768px) {
	.cycle-pager{
	position: absolute;
	margin-top:-42px;
	}
}


@media screen and (max-width: 668px) {
	.cycle-pager{
	position: absolute;
	margin-top:290px;
	}
}


@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    .cycle-slideshow { width: 100%;}
    .cycle-overlay { padding: 4px }
    .cycle-caption { bottom: 4px; right: 4px }
	.cycle-pager{
	position: absolute;
	margin-top:240px;
	}
}