﻿

.cycle-slideshow, .cycle-slideshow * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.cycle-slideshow {
	margin: 0 auto;
	padding: 0;
	position: relative; /*background: url(giphy.gif) 50% 50% no-repeat;*/
}

.cycle-slideshow .img-slider {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position-y: center;
}

.t-slider {
	width: 50%;
	height: 50%;
	background-size: cover;
	background-position: center center;
	float: left;
	border: solid 3px;
	cursor: pointer;
}


.cycle-slideshow img {
	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: 100%;
	z-index: 500;
	position: absolute;
	bottom: 0;
	overflow: hidden;
	right: 10px;
}

.cycle-pager span {
	font-family: arial;
	font-size: 50px;
	width: 16px;
	height: 16px;
	display: inline-block;
	color: #999;
	cursor: pointer;
}

.cycle-pager span.cycle-pager-active {
	color: #fff;
}

.cycle-pager > * {
	cursor: pointer;
}

/* caption */
.cycle-caption {
	position: absolute;
	color: white;
	bottom: 15px;
	right: 15px;
	z-index: 700;
}

/* overlay */
.cycle-overlay {
	font-family: tahoma, arial;
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 400;
	background: black;
	color: white;
	opacity: .5;
}

.cycle-overlay div:not(:empty) {
	padding: 15px;
}


/* prev / next links */
.cycle-prev, .cycle-next {
	position: absolute;
	top: 0;
	width: 150px;
	opacity: 0;
	filter: alpha(opacity=0);
	z-index: 450;
	height: 100%;
	cursor: pointer;
}

.cycle-prev {
	left: 0px;
	background: url(left.png) 20% 50% no-repeat;
}

.cycle-next {
	right: 0px;
	background: url(right.png) 80% 50% no-repeat;
}

.cycle-prev:hover, .cycle-next:hover {
	opacity: .5;
	filter: alpha(opacity=50)
}

.disabled {
	opacity: .5;
	filter: alpha(opacity=50);
}

/* display paused text on top of paused slideshow */
.cycle-paused:after {
	content: 'Pause';
	color: white;
	background: black;
	padding: 5px;
	z-index: 500;
	position: absolute;
	top: 10px;
	right: 10px;
	border-radius: 6px;
	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-slideshow {
		width: 200px;
	}

	.cycle-overlay {
		padding: 4px
	}

	.cycle-caption {
		bottom: 4px;
		right: 4px
	}
}

#pager1 a {
	color: #bbb;
	text-decoration: none;
}

#pager1 a.cycle-pager-active {
	color: #fff;
}

.cycle-slideshow-pager div {
	width: 100%;
	height: auto;
	display: block;
}

.carousel-pager {
	position: relative;
}

.carousel-pager .previous {
	position: absolute;
	top: -30px;
	cursor: pointer;
	z-index: 99;
}

.carousel-pager .next {
	position: absolute;
	top: -30px;
	right: 0;
	cursor: pointer;
	z-index: 99;
}


/***********************/
/****** CAROUSEL *******/
/***********************/

.cycle-carousel-wrap {
	height: 40px;
}

[data-cycle-fx="carousel"] .img-carousel-wrapper.cycle-slide {
	width: 60px;
	height: 40px;
	margin-left: 2px;
	margin-right: 2px;
	cursor: pointer;
}
/*[data-cycle-fx="carousel"] {display:flex;justify-content:center;}
[data-cycle-fx="carousel"] .cycle-carousel-wrap {position:static !important;}*/

.cycle-slideshow .img-carousel-wrapper {
	background-color: #000;
}

.cycle-slideshow .img-carousel-wrapper > div {
	background-color: rgba(0,0,0,.4);
	opacity: 0.6;
	width: 100%;
	height: 100%;
}

.cycle-slideshow .img-carousel {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position-y: center;
}

.cycle-slideshow .img-carousel-wrapper.cycle-slide-active {
	background-color: #fff;
}

.cycle-slideshow .img-carousel-wrapper.cycle-slide-active > div {
	opacity: 1;
}

.cycle-slideshow .img-carousel-wrapper.cycle-slide:hover {
	background-color: #fff;
	opacity: 1;
}

.cycle-slideshow .img-carousel-wrapper.cycle-slide:hover > div {
	opacity: 1;
}

.cycle-slideshow .img-carousel {
	color: #fff;
	padding-left: 5px;
}
