@media only screen and (max-width: 1200px) {
	body, header { overflow-x: hidden; }	
	main { width: 98%; max-width: 98%; }
}

@media only screen and (max-width: 1120px) {
	.thumbnails .image, img.image, #film img, #film a { max-width: 12vw!important; height: auto; }
	.display_media img { max-width: 65vw !important; }
}

@media only screen and (max-width: 1000px) {
	.categories { background-size: 75%; height: 20vw; }
}

@media only screen and (min-width: 801px) {
	#rmenu { display: block !important; }
}

@media only screen and (max-width: 800px) {
	#show-menu { display: flex; align-items: center; }
	#rmenu, nav#top ul.menu li a::after, footer hr { display: none; }
	nav#top ul.menu, footer ul#cred { max-width: 100%; padding: 0; display: block; }
	nav#top ul.menu li, footer ul#cred li { margin: 0 auto; padding: 15px 10px; text-align: left; border-bottom: 1px solid #23262b; display: block; }
	nav#top ul.menu li::before, footer ul#cred li::before { content: '\f0da'; margin-left: 3px; margin-right: 17px; font: 900 14px "Font Awesome 5 Free"; display: inline-block; position: relative; }
	nav#top ul.menu li:first-child { margin-top: 25px; padding-top: 0; }
	nav#top ul.menu li:last-child, footer ul#cred li:last-child{ padding-bottom: 0; border-bottom: none; }
	header { background-size: 200%; height: 49vw; }
	.tableh1 { font-size: 36px; }
	.catlink, .thumb_view_title_row h2, form#cpgform .tableh1 h2 { font-size: 27px; }
	.maintable, .maintable01, .maintable02, .albtable, .dtable { margin-bottom: 60px; }  
	.catrow .catdescbox .catdesc { padding-left: 12px; padding-right: 12px; }
	.thumbnails { padding-left: 0; padding-right: 0; }
	.alblink, .empalblink { font-size: 14px; }
	footer { padding: 0 20px; box-sizing: border-box; }
}

@media only screen and (max-width: 640px) {	
	body, .catrow .catdescbox .catdesc, #smenu { font-size: 12px; }	
	.stats, .stath1, .stath2, .statlink2, .navmenu, .navmenu1 { font-size: 11px; }
	.thumb_caption, .thumb_title_views, .thumb_resolution { font-size: 10px; }
	.pgs, .sortorder_cell { display: none; }
}

@media only screen and (max-width: 568px) {	
	.tableh1 { font-size: 30px; }
	.catlink, .thumb_view_title_row h2, form#cpgform .tableh1 h2 { font-size: 24px; }
	.navmenu, .navmenu1 { padding: 0 1px; }
}

@media only screen and (max-width: 480px) {
	.image { margin: 5px 0; }
}