/*
    these are just the default styles used in the Cycle2 demo pages.  
    you can use these styles or any others that you wish.
*/


/* 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; }


.cycle-slideshow { width: 100%; min-width: 200px; margin: 0px auto; padding: 0; position: relative;
    /*background: url(http://malsup.github.com/images/spinner.gif) 50% 50% no-repeat;*/
 }

/* 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;
	height: auto !important;
	max-width: 100%;
}

/* in case script does not load */
.cycle-slideshow img:first-child {
    position: static; z-index: 100;
	display:block;
}
.cycle-slideshow a{
width: 100%;
height: auto;
}
.cycle-slideshow a:not(:first-of-type){
display:none;
}

/* pager */
.cycle-pager { 
    text-align: center; width: 100%; z-index: 500; position: absolute; bottom: 20px; overflow: hidden;
	opacity:0.85;
}
.cycle-pager span { 
    font-family: arial; font-size: 20px; width: 16px; height: 16px; 
    display: inline-block; color: #ddd; cursor: pointer; 
}
.cycle-pager span.cycle-pager-active { color:#CC0000;}
.cycle-pager > * { cursor: pointer;}


/* caption */
.cycle-caption { position: absolute; bottom: 15px; right: 15px; z-index: 700; }


/* overlay */
.cycle-overlay { 
    font-family: tahoma, arial;
    position: absolute; bottom: 0; width: 100%; z-index: 600;
}
.cycle-overlay span.bg{
position: absolute;display:block;
top:0;left:0;width:100%;height:100%;
background: black; padding: 15px; opacity: .5;
}
.cycle-overlay span.txt{
position: relative;display:block;
width:100%;text-align:center;
color:white;padding: 15px; 
}


/* prev / next links */
.cycle-prev, .cycle-next { position: absolute; top: 0; width: 30%; opacity: 0; filter: alpha(opacity=0); z-index: 800; height: 100%; cursor: pointer; }
.cycle-prev { left: 0;  background: url(http://malsup.github.com/images/left.png) 50% 50% no-repeat;}
.cycle-next { right: 0; background: url(http://malsup.github.com/images/right.png) 50% 50% no-repeat;}
.cycle-prev:hover, .cycle-next:hover { opacity: .85; filter: alpha(opacity=85) }

.disabled { opacity: .6; filter:alpha(opacity=60); }


/* display paused text on top of paused slideshow */
.cycle-paused:after {
    content: '||'; color: white; background: black; padding: 4px 7px;
	font-size:11px;
    z-index: 500; position: absolute; top: 10px; right: 10px;
    border-radius: 3px;
    opacity: .6; filter: alpha(opacity=60);
}

/* 
    media queries 
    some style overrides to make things more pleasant on mobile devices
*/

@media only screen and (max-width: 650px), only screen and (max-device-width: 650px) {
.cycle-slideshow { width: 100%;}
.cycle-overlay { padding: 4px }
.cycle-caption { bottom: 4px; right: 4px }
.cycle-overlay span.txt{font-size:3vw;padding:0.5vw;}
}
