/*
Source:  https://www.sitepoint.com/make-a-simple-javascript-slideshow-without-jquery/
essential styles:
these make the slideshow work
*/

@media  only screen and (max-width: 9999px) {
	#slides {
		position: relative;
		height:260px;
		width: 100%;
		padding: 0px;
		margin: 0px;
		list-style-type: none;
	}
}

@media only screen and (max-width: 1440px) {
	#slides {
		position: relative;
		height:250px;
		width: 100%;
		padding: 0px;
		margin: 0px;
		list-style-type: none;
	}
}

@media only screen and (max-width: 1024px) {
	#slides {
		position: relative;
		height:225px;
		width: 100%;
		padding: 0px;
		margin: 0px;
		list-style-type: none;
	}
}

@media only screen and (max-width: 800px) {
	#slides {
		position: relative;
		height:160px;
		width: 100%;
		padding: 0px;
		margin: 0px;
		list-style-type: none;
	}
}

@media only screen and (max-width: 480px) {
	#slides {
		position: relative;
		height:85px;
		width: 100%;
		padding: 0px;
		margin: 0px;
		list-style-type: none;
	}
}

/*
#slides {
    position: relative;
	height:250px;
    width: 100%;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}
*/
.slide {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;

    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
	
}

.showing {
    opacity: 1;
    z-index: 2;
}

/*
non-essential styles:
just for appearance; change whatever you want
*/

.slide {
    font-size: 40px;
    padding: 0px;
    box-sizing: border-box;
    background: #333;
    color: #fff;
}

.slide:nth-of-type(1) {
    background: none;
}
.slide:nth-of-type(2) {
    background: none;
}
.slide:nth-of-type(3) {
    background: none;
}
.slide:nth-of-type(4) {
    background: none;
}
.slide:nth-of-type(5) {
    background: none;
}

