/*
    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%; margin: 0 auto; padding: 0; position: relative;
    background: url(https://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;
}

/* in case script does not load */
.cycle-slideshow img:first-child {
    position: static; z-index: 100;
}


/* caption */
.cycle-caption { position: absolute; color: white; bottom: 15px; right: 15px; z-index: 700; }


/* overlay */
.cycle-overlay { 
    position: absolute; bottom: 0; height: 40px; width: 100%; z-index: 600;
    background: black; color: white; padding: 10px 40px; opacity: .5;
    overflow: hidden; 
}

.cycle-overlay-large {
    height: 90px;
}

.cycle-caption-text {
line-height: 25px;
}

/* cycle-caption-toggle */
.cycle-caption-toggle { position: absolute; top: 100%; left: 10px; margin-top: -30px; height: 20px; width: 20px; background: transparent url('../cycle2/images/button_slideshow.png') no-repeat 0 0; z-index: 800; cursor: pointer; }

.cycle-caption-toggle-minus {
    background: transparent url('../cycle2/images/button_slideshow.png') no-repeat -20px 0;
}

/* prev / next links */

.cycle-prev, .cycle-next { position: absolute; top: 0; width: 10%; opacity: 0; filter: alpha(opacity=0); z-index: 800; height: 100%; cursor: pointer; }

.cycle-prev, .cycle-next { position: absolute; top: 0; width: 10%; z-index: 800; height: 100%; cursor: pointer; }
.cycle-prev { left: 0; }
.cycle-next { right: 0; }

.cycle-arrow { width: 50%; max-width: 50px; position: absolute; top: 55%; }

@media screen and (max-width: 629px) {
.cycle-arrow { top: 45%; }
}
.cycle-prev .cycle-arrow { left: 0; }
.cycle-next .cycle-arrow { right: 0; }


.cycle-prev { left: 0;  background: url('/template/btn_prev.png') no-repeat left center; }
.cycle-next { right: 0; background: url('/template/btn_next.png') no-repeat right center; }


.cycle-prev:hover, .cycle-next:hover { opacity: .7; filter: alpha(opacity=70) }


.disabled { opacity: .5; filter:alpha(opacity=50); }

.cycle-next { position: absolute; top: 100%; right: 10px; margin-top: -30px; height: 20px; width: 20px; font-size: 20px; font-weight: bold; color: #FFF; opacity: 0.5; filter: alpha(opacity=50); z-index: 800; cursor: pointer; }


/* 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: 480px), only screen and (max-device-width: 480px) {
    .cycle-overlay { padding: 4px }
    .cycle-caption { bottom: 4px; right: 4px }
}

/******************/

/* Cycle Caption */

#caption-container {
	background-color: #4b4845;
	color: #fff;
	padding: 5px 4% 1px;
	width: 100%;
}

.caption {
	display: inline-block;
}

.caption .cycle-pager {
	float: right;
}

#content .link-bar a,
#content .link-bar a:hover {
	color: #fff;
}

.caption .overlay-copy,
.caption .link-text {
	display: none;
}

/* Cycle Pager */

.cycle-pager {
	float: right;
}

.cycle-pager span { 
    font-family: arial;
	font-size: 10px; 
    display: inline-block;
	color: #fff;
	cursor: pointer;
	padding-left: 6px;
	padding-right: 0;
}

.cycle-pager span.cycle-pager-active {
	color: #c8a261;
}

.cycle-pager > * {
	cursor: pointer;
}

/* Down Arrow */
#downarrow {
	display: none;
}


@media screen and (min-width: 500px) {

	.caption,
	.caption .overlay-copy,
	.caption .link-text {
		display: block;
	}
	
	.caption .link-text-mobile {
		display: none;
	}

	.cycle-pager {
		float: none;
	}

	.cycle-pager span { 
		padding-left: 3px;
		padding-right: 3px;
	}

	#caption-container {
		background-color: rgba(0, 0, 0, 0.25);
		border: 2px solid #ffffff;
		color: #ffffff;
		left: 0;
		right: 0;
		padding-top: 10px;
		margin: 0 auto;
		width: 50%;
		position: absolute;
		text-align: center;
		top: 35%;
		z-index: 999;
		display: block;
	}

	.caption .overlay-copy {
		font-size: 1.2rem;
		letter-spacing: 3px;
	}

	.caption .overlay-copy > span {
		display: inline-block;
		box-shadow: 0 2px 0 0 #ffffff;
		line-height: 2.2rem;
	}

	.caption .link-text {
		font-size: 0.7rem;
		font-weight: 700;
		margin-bottom: 3px;
	}



}

@media screen and (min-width: 900px) {

	#downarrow {
		display: block;
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 50px;
		position: absolute;
		text-align: center;
		bottom: 10%;
		z-index: 999;
	}

	#caption-container {
		padding-top: 30px;
		width: 55%;
		top: 40%;
	}

	.caption .overlay-copy {
		font-size: 2.1rem;
		letter-spacing: 6px;
	}

	.caption .overlay-copy > span {
		line-height: 3.2rem;
	}

	.caption .link-text {
		font-size: 0.8rem;
	}
}


@media screen and (min-width: 1200px) {

	#caption-container {
		width: 45%;
	}
}

@media screen and (min-width: 1400px) {

	#caption-container {
		width: 40%;
	}
}

@media screen and (min-width: 1600px) {

	#caption-container {
		width: 35%;
	}
}