/* Reset for the demo */
*, ::before, ::after {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
	min-width: 0;
	min-height: 0; 
}
body {
	margin: 0;
	font-size: 1.4rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	line-height: 1.5;
}

#slides figure  {
	max-width: 100%; 
	height: 100%;
    text-align: center;
    margin: auto;

}

#slides img {
	width: 100%; 
	height: 100%;
    text-align: center;
    margin: auto;

}
button {
	padding: 0;
	margin: 0;
	border-style: none;
	touch-action: manipulation;
	display: inline-block;
	border: none;
	background: none;
	cursor: pointer;	
}
/* End Reset for the demo */

/* Sass Config */
/* End Sass Config */

#slides {
	position: relative;	
	padding-bottom: 3rem;
    margin-top: 0px;
    overflow: hidden;	
}
#slides, #slides-items .slide-item, figure {
	width: 100%;
	max-width: 100%;
	height: 100%;	
	/* max-height: calc(100vw / (1200 / 600)); */
}



#slides-items .slide-item {
	position: absolute;		
}

#slides-items .slide-item figcaption {
    position: absolute;
    bottom: 0;
    width: 1200px;
    max-width: calc(100% - 6.8rem);
    max-height: calc(100% - 3.4rem);
    overflow:auto;
    padding: 1.7rem 3.4rem;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);	
            
   
}

#slides-items .slide-item figcaption  a {
    color: #fff;	
}

#slides-items .slide-item figcaption  a:hover,
#slides-items .slide-item figcaption  a:focus,
#slides-items .slide-item figcaption  a:active,
#slides-items .slide-item figcaption  a:focus
{
    text-decoration: none;
}

/* CSS Transition */
#slides-items .slideactive {
	opacity: 1;
	transition: opacity 3s;
	visibility: visible;
}
#slides-items .slide-item:not(.slideactive) {
	opacity: 0;
	transition: opacity 5s;
	visibility: hidden;
}

/* Control Buttons */

.slides-control button svg , .slides-control button g{
    fill: #f6f6f6;
}

.slides-control button:hover,
.slides-control button:focus,
.slides-control button:active{
    background-color: rgba(255, 255, 255, 0.9);
}

.slides-control button:hover svg,
.slides-control button:focus svg,
.slides-control button:active svg{
    fill: #474747;
}

#slides .slides-control button{
    position:absolute;
    z-index: 1;
}

#slides .slides-prev, .slides-next{
    top: calc(50% - 3rem);
		padding: 0.6rem;
				
}

#slides .slides-prev svg, #slides .slides-next svg{
    width: 1.7rem; height: 1.7rem;
}

#slides .slides-prev {
    left:0;	
    border-radius: 0px 7px 7px 0px;
}

#slides .slides-next {
    right:0;
    border-radius: 7px 0px 0px 7px;
}

#slides .slides-playpause {
    top:40px; right:0;
    width: 0.7rem; height: 0.7rem;		
    padding:0.7rem;	
    background-color: rgba(0, 0, 0, 0.7);	
} 

#slides .slides-playpause  svg {
        width: 0.7rem;
        height: 0.7rem;
    }

#slides .slides-playpause .play,
#slides .slides-playpause .playpause.paused .pause {
    display: none;	
}
#slides .slides-playpause .playpause.paused .play {
    display: block;	
}



/* Dots Buttons */
#slides .slides-dots {
	position: absolute;
	bottom: 0;
	z-index: 1;
	width: 1200px;
	max-width: 100%;
	text-align: center;
}

.slides-dots svg {
    width: 1.7rem; height: 1.7rem;
    fill: rgba(0, 0, 0, 0.7);
}

.slides-dot	button:hover svg , .slides-dot	button:focus svg , .slides-dot	button:active svg , .slides-dot	button[aria-selected="true"] svg  {

        fill: #3A72B1;

}



