.tds-caption *, .tds-caption *:after, .tds-caption *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.tds-caption {
	/*padding: 20px 20px 100px 20px;
	max-width: 1300px;*/
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

.tds-caption {
	display: inline-block;
	max-width: 100%;
	/*min-height: 200px;*/
	margin: 0;
	padding: 0;
	/*padding: 20px;*/
	text-align: left;
	position: relative;
}

.tds-caption figure, .tds-caption > div {
	margin: 0;
	position: relative;
	/*min-height: 340px;*/
}

.tds-caption > div { margin: 0 auto; }

.tds-caption figure img, .tds-caption figure span.animated {
	margin: 0 auto;
	max-width: 100%;
	display: block;
	position: relative;
}

.tds-caption figure span.animated {
	position: absolute;
	top: 35%;
	left: 45%;
	width: auto;
	text-align: center;
	vertical-align: middle;
}

.tds-caption figure span.animated .fa {
	vertical-align: middle;
}

.tds-caption figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0;
	background: #2c3f52;
	color: #ed4e6e;
}

.tds-caption figcaption > div{
	padding: 20px;
	height: 100%;
	width: 100%;
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}

.tds-caption figcaption .tds-header {
	background: none;
}

.tds-caption figcaption .tds-header * {
	margin: 0;
	padding: 0;
}

.tds-caption figcaption span:before {
	/*content: 'by ';*/
}

.tds-caption figcaption a, .tds-caption figcaption a:hover {
	text-align: center;
	/*padding: 5px 10px;
	border-radius: 2px;*/
	display: inline-block;
}

/* Individual Caption Styles */

/* Caption Style 1 */
.moveDown figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	text-align: center;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	-ms-transition: -ms-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}

.moveDown div:hover figcaption,
.no-touch .moveDown figure:hover figcaption,
.moveDown figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translate(15px, 15px);
	-moz-transform: translate(15px, 15px);
	-ms-transform: translate(15px, 15px);
	transform: translate(15px, 15px);
}

.moveDown figcaption .tds-header * {
	margin-top: 70px;
}

.moveDown figcaption span {
	display: block;
}

.moveDown figcaption a, .moveDown figcaption a:hover {
	margin-top: 30px;
}

/* Caption Style 2 */
.moveUp figure img, .moveUp figure span.animated {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	-ms-transition: -ms-transform 0.4s;
	transition: transform 0.4s;
}

.moveUp div:hover img,
.no-touch .moveUp figure:hover img,
.moveUp figure.cs-hover img,
.moveUp div:hover span.animated,
.no-touch .moveUp figure:hover span.animated,
.moveUp figure.cs-hover span.animated {
	-webkit-transform: translateY(-90px);
	-moz-transform: translateY(-90px);
	-ms-transform: translateY(-90px);
	transform: translateY(-90px);
}

.moveUp figcaption {
	height: 90px;
	width: 100%;
	top: auto;
	bottom: 0;
}

.moveUp figcaption a, .moveUp figcaption a:hover {
	position: absolute;
	right: 20px;
	top: 30px;
}

/* Caption Style 3 */
.slideUp figure {
	overflow: hidden;
}

.slideUp figure img, .slideUp figure span.animated {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	-ms-transition: -ms-transform 0.4s;
	transition: transform 0.4s;
}

.slideUp div:hover img,
.no-touch .slideUp figure:hover img,
.slideUp figure.cs-hover img,
.slideUp div:hover span.animated,
.no-touch .slideUp figure:hover span.animated,
.slideUp figure.cs-hover span.animated {
	-webkit-transform: translateY(-50px);
	-moz-transform: translateY(-50px);
	-ms-transform: translateY(-50px);
	transform: translateY(-50px);
}

.slideUp figcaption {
	height: 100px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	-ms-transition: -ms-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.slideUp div:hover figcaption,
.no-touch .slideUp figure:hover figcaption,
.slideUp figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	-ms-transition: -ms-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.slideUp figcaption a, .slideUp figcaption a:hover {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* Caption Style 4 */
.flip li {
	-webkit-perspective: 1700px;
	-moz-perspective: 1700px;
	-ms-perspective: 1700px;
	perspective: 1700px;
	-webkit-perspective-origin: 0 50%;
	-moz-perspective-origin: 0 50%;
	-ms-perspective-origin: 0 50%;
	perspective-origin: 0 50%;
}

.flip figure {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.flip figure > div {
	overflow: hidden;
}

.flip figure img, .flip figure span.animated {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	-ms-transition: -ms-transform 0.4s;
	transition: transform 0.4s;
}

.flip div:hover img,
.no-touch .flip figure:hover img,
.flip figure.cs-hover img,
.flip div:hover span.animated,
.no-touch .flip figure:hover span.animated,
.flip figure.cs-hover span.animated {
	-webkit-transform: translateX(25%);
	-moz-transform: translateX(25%);
	-ms-transform: translateX(25%);
	transform: translateX(25%);
}

.flip figcaption {
	height: 100%;
	width: 50%;
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	-ms-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: rotateY(-90deg);
	-moz-transform: rotateY(-90deg);
	-ms-transform: rotateY(-90deg);
	transform: rotateY(-90deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	-ms-transition: -ms-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.flip div:hover figcaption,
.no-touch .flip figure:hover figcaption,
.flip figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	-ms-transition: -ms-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.flip figcaption a, .flip figcaption a:hover {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* Caption Style 5 */
.zoomIn figure img, .zoomIn figure span.animated {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	-ms-transition: -ms-transform 0.4s;
	transition: transform 0.4s;
}

.zoomIn div:hover img,
.no-touch .zoomIn figure:hover img,
.zoomIn figure.cs-hover img,
.zoomIn div:hover span.animated,
.no-touch .zoomIn figure:hover span.animated,
.zoomIn figure.cs-hover span.animated {
	-webkit-transform: scale(0.4);
	-moz-transform: scale(0.4);
	-ms-transform: scale(0.4);
	transform: scale(0.4);
}

.zoomIn figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	-moz-transition: -moz-transform 0.4s, opacity 0.4s;
	-ms-transition: -ms-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
}

.zoomIn div:hover figcaption,
.no-touch .zoomIn figure:hover figcaption,
.zoomIn figure.cs-hover figcaption {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

.zoomIn figure a, .zoomIn figure a:hover {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* Caption Style 6 */
.zoomOut figure img, .zoomOut figure span.animated {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	-ms-transition: -ms-transform 0.4s;
	transition: transform 0.4s;
}

.zoomOut div:hover img,
.no-touch .zoomOut figure:hover img,
.zoomOut figure.cs-hover img,
.zoomOut div:hover span.animated,
.no-touch .zoomOut figure:hover span.animated,
.zoomOut figure.cs-hover span.animated {
	-webkit-transform: translateY(-50px) scale(0.5);
	-moz-transform: translateY(-50px) scale(0.5);
	-ms-transform: translateY(-50px) scale(0.5);
	transform: translateY(-50px) scale(0.5);
}

.zoomOut figcaption {
	height: 100%;
	width: 100%;
}

.zoomOut figcaption .tds-header * {
	margin-top: 60%;
}

.zoomOut figcaption a, .zoomOut figcaption a:hover {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* Caption Style 7 */
.expand li:first-child { z-index: 6; }
.expand li:nth-child(2) { z-index: 5; }
.expand li:nth-child(3) { z-index: 4; }
.expand li:nth-child(4) { z-index: 3; }
.expand li:nth-child(5) { z-index: 2; }
.expand li:nth-child(6) { z-index: 1; }

.expand figure img, .expand figure span.animated {
	z-index: 12;
}

.expand figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	-moz-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	-ms-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	box-shadow: 0 0 0 0px #2c3f52;

}

.expand div:hover figcaption,
.no-touch .expand figure:hover figcaption,
.expand figure.cs-hover figcaption {
	opacity: 1;
	height: 130%;
	box-shadow: 0 0 0 10px #2c3f52;
}

.expand figcaption .tds-header {
	margin-top: 110%;
}

.expand figcaption .tds-header,
.expand figcaption span,
.expand figcaption a {
	opacity: 0;
	-webkit-transition: opacity 0s;
	-moz-transition: opacity 0s;
	-ms-transition: opacity 0s;
	transition: opacity 0s;
}

.expand figcaption a, .expand figcaption a:hover {
	position: absolute;
	bottom: 10px;
	right: 20px;
}

.expand div:hover figcaption .tds-header,
.expand div:hover figcaption span,
.expand div:hover figcaption a,
.no-touch .expand figure:hover figcaption .tds-header,
.no-touch .expand figure:hover figcaption span,
.no-touch .expand figure:hover figcaption a,
.expand figure.cs-hover figcaption .tds-header,
.expand figure.cs-hover figcaption span,
.expand figure.cs-hover figcaption a,
.expand figure.cs-hover figcaption a:hover {
	-webkit-transition: opacity 0.3s 0.2s;
	-moz-transition: opacity 0.3s 0.2s;
	-ms-transition: opacity 0.3s 0.2s;
	transition: opacity 0.3s 0.2s;
	opacity: 1;
}


@media screen and (max-width: 650px) {
	.tds-caption {
		padding: 10px 10px 100px 10px;
	}
	.tds-caption, .tds-caption li {
		width: 100%;
		min-width: 240px;
	}
	.tds-caption figure {
		/*min-height: 270px;*/
	}
}
