.slider {
position:relative;
margin-top:140px;
display:block;
z-index:2;
}



#slider {
	overflow: hidden;
}

#slider figure {
	position: relative;
	width: 400%;
	margin: 0;
	left: 0;
	animation: 15s slider infinite;
}

#slider figure img {
	float: left;
	width: 25%;

}

@keyframes slider {
	0% { left: 0;}
	20% { left: 0%;}
	30% { left: -100%;}
	40% { left: -100%;}
	60% { left: -100%;}
	70% { left: -200%;}
	90% { left: -200%;}
}

#test {
}





@media only screen and (max-width: 1800px) {



}



/* 1680 x 1050 */
@media only screen and (max-width: 1700px) {

.slider {
position:relative;
margin-top:125px;
display:block;
z-index:2;
}


}



/* 1600 x 900 */
@media only screen and (max-width: 1600px) {



}



/* 1536 x 864 */
@media only screen and (max-width: 1550px) {

.slider {
position:relative;
margin-top:115px;
display:block;
z-index:2;
}


}




/* 1440 x 900 */
@media only screen and (max-width: 1460px) {

.slider {
position:relative;
margin-top:110px;
display:block;
z-index:2;
}

}




/* 1366 x 768 & 1366 x 760 */
@media only screen and (max-width: 1390px) {

.slider {
position:relative;
margin-top:110px;
display:block;
z-index:2;
}

}




/* 1280 x 800 */
@media only screen and (max-width: 1300px) {



}





@media only screen and (max-width: 1200px) {

.slider {
position:relative;
margin-top:95px;
display:block;
z-index:2;
}


}




@media only screen and (max-width: 1100px) {



}






/* 1024 x 768 */
@media only screen and (max-width: 1050px) {

.slider {
position:relative;
margin-top:0;
}



}




/* 960 x 600 */
@media only screen and (max-width: 980px) {



}




@media only screen and (max-width: 900px) {


}




/* 800 x 1280 & 768 x 1024 */
@media only screen and (max-width: 810px) {



}





@media only screen and (max-width: 700px) {



}





/* 600 x 960 */
@media only screen and (max-width: 620px) {

.slider {
}


}




@media only screen and (max-width: 550px) {



}




/* 480 x 853 */
@media only screen and (max-width: 500px) {



}




/* 412 x 732 & 414 x 736 (iPhone) */
@media only screen and (max-width: 430px) {




}




/* 360 x 740 & 375 x 812 */
@media only screen and (max-width: 380px) {



}




/* 320 x 568 */
@media only screen and (max-width: 330px) {



}




@media only screen and (max-width: 300px) {



}
