﻿


/*
	Structure
	----------------------------------- */

	.advanced .slideshow
	{
		position: relative;
		overflow: hidden;

		/*max-width: 960px;*/

		/* No iOS tap highlight */
		-webkit-tap-highlight-color: rgba(0, 0, 0, 0);

		/* No text selection */
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

	.advanced .slideshow .strip
	{
		position: relative;

		/* Specify IE touch actions */
		-ms-touch-action: pan-y;
		touch-action: pan-y;
	}

	.advanced .slideshow .strip,
	.advanced .slideshow .slide
	{
		left: 0;
		top: 0;

		width: 100%;
		height: 100%;
	}

	.advanced .slideshow .strip,
	.advanced .slideshow .slide,
	.advanced .slideshow > button
	{
		-webkit-perspective: 1000;
		-webkit-backface-visibility: hidden;
	}

	.advanced .slideshow img 
	{
		width: 100%;
	}

	.advanced .slideshow.pointerest .strip {
		padding-bottom: 117.5%;
	}

	.advanced .slideshow img.desktop_slide {
		display: none;
	}

	@media (min-width: 30em) {

		.advanced .slideshow img.desktop_slide {
			display: block;
		}


		.advanced .slideshow img.mobile_slide {
			display: none;
		}

		.advanced .slideshow.pointerest .strip {
			padding-bottom: 22.3%;
		}
	}

	.advanced .slideshow .slide
	{
		position: absolute;
		display: none;
		text-align: center;
		outline: none;
	}

	.advanced .slideshow .slide.sticky
	{
		display: block;
	}

	.advanced .slideshow > button
	{
		position: absolute;
		z-index: 1;
		top: 0;
		left: 0;

		padding: 0;
	}

	.advanced .slideshow button.next
	{
		left: auto;
		right: 0;
        display: none;
	}

	.advanced .slideshow .markers
	{
		text-align: right;
	}

	.advanced .slideshow ul,
	.advanced .slideshow li
	{
		display: block;
		overflow: hidden;

		margin: 0;
		padding: 0;

		list-style: none;
	}

	.advanced .slideshow li
	{
		float: left;
	}

	.advanced .slideshow li + li
	{
		margin-left: 10px;
	}

	.advanced .slideshow ul
	{
		display: inline-block;
	}


/*
	Theme
	----------------------------------- */

	.advanced .slideshow .strip
	{
		padding-bottom: 46%;
	}

	.advanced .slideshow .slide
	{
		background: #CFCFCF;
	}

	.advanced .slideshow .slide:nth-child(even)
	{
		background: #DFDFDF;
	}

	.advanced .slideshow .slide p
	{
		position: absolute;
		top: 50%;
		left: 0;

		width: 100%;
		height: 40px;
		margin-top: -20px;

		font-weight: bold;
		font-size: 2em;
		line-height: 40px;
	}

	.advanced .slideshow button
	{
		margin: 0;

		background: none;
		border: 0;
		cursor: pointer;

		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
	}

	.advanced .slideshow > button
	{
		position: absolute;
		top: 50%;

		display: block;

		width: 40px;
		height: 36px;

		margin-top: -40px;
		padding-right: 10px;
		padding-left: 7px;
	}

	.advanced .slideshow > button::-moz-focus-inner
	{
		margin: -1px;
		padding: 0;
	}

	.advanced .slideshow > button b
	{
		display: none;

		width: 23px;
		height: 36px;

		background: transparent url(../media/slideshow/arrow.png) no-repeat 0 -36px;
		background: rgba(0, 0, 0, 0) url(../media/slideshow/arrow.svg) no-repeat 0 -36px;
		background-size: 23px 72px;

		text-indent: -10000px;
	}

	.advanced .slideshow button.next
	{
		padding-right: 7px;
		padding-left: 10px;
	}

	.advanced .slideshow button.next b
	{
		left: 10px;
	}

	.advanced .slideshow button.next b
	{
		background-position: 0 0;
	}

	.advanced .slideshow .markers
	{
		height: 15px;
		margin: 15px 10px;

		text-align: center;
		font-size: 0.8em;

        position: absolute;
        bottom: 30px;
        right: 40px;
	}

	/* Hide buttons when disabled */
	.advanced .slideshow.disabled > button
	{
		display: none;
	}

	.advanced .slideshow .markers button
	{
		display: inline-block;

		*display: block;
		*float: left;

		padding: 0;

		width: 18px;
		height: 18px;

		background: #a29bae;
		border-radius: 50%;

		text-indent: -10000px;
		opacity: 0.6;
	}

	.advanced .slideshow .markers button + button
	{
		margin-left: 10px;
	}

	.advanced .slideshow .markers button.sticky
	{
		background-color: #fefcfa;
		opacity: 0.75;
	}

	/* Bigger markers for touch */
	.advanced .slideshow.touch .markers button
	{
		width: 16px;
		height: 16px;

		border-radius: 8px;
	}

	.advanced .slideshow.touch .markers button + button
	{
		margin-left: 10px;
	}

    .advanced .carousel
	{
		position: relative;
		overflow: hidden;

		/*max-width: 960px;*/

		/* No iOS tap highlight */
		-webkit-tap-highlight-color: rgba(0, 0, 0, 0);

		/* No text selection */
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

    .advanced .carousel .controls
	{
		text-align: center;
	}

	.advanced .carousel .strip
	{
		position: relative;

		/* Specify IE touch actions */
		-ms-touch-action: pan-y;
		touch-action: pan-y;
	}

	.advanced .carousel .strip,
	.advanced .carousel .slide
	{
		left: 0;
		top: 0;
		width: 100%;
	}

	.advanced .carousel .strip,
	.advanced .carousel .slide,
	.advanced .carousel > button
	{
		-webkit-perspective: 1000;
		-webkit-backface-visibility: hidden;
	}

	.carousel img 
	{
		width: 100%;
	}

	.advanced .carousel .slide
	{
		position: absolute;
		display: none;
		text-align: center;
		outline: none;
	}

	.advanced .carousel .slide.sticky
	{
		display: block;
	}
    
	.advanced .carousel .markers
	{
		text-align: right;
	}

	.advanced .carousel ul,
	.advanced .carousel li
	{
		display: block;
		overflow: hidden;

		margin: 0;
		padding: 0;

		list-style: none;
	}

	.advanced .carousel li
	{
		float: left;
	}

	.advanced .carousel li + li
	{
		margin-left: 10px;
	}

	.advanced .carousel ul
	{
		display: inline-block;
	}


/*
	Theme
	----------------------------------- */

	.advanced .carousel .strip
	{
		padding-bottom: 100%;
	}