@media only screen and (max-width: 1260px) {
	body, header { overflow-x: hidden; }	
	main { width: 98%; max-width: 98%; }
	.thumbnails .image, img.image, #film img, #film a { max-width: 12vw; height: auto; }
	.display_media img { max-width: 65vw !important; }
}

@media only screen and (max-width: 1180px) {
	nav#top ul.menu, footer #inner ul#cred, #show-menu span { width: 80%; max-width: 100%; 
}

@media only screen and (max-width: 1130px) {
}

@media only screen and (max-width: 900px) {
	body { font-size: 13px; }
	.tableh1 { font-size: 24px; }
	.thumbnails { padding: 2vw 1vw; }
	td.thumbnails:first-of-type { padding-left: 30px; }
	td.thumbnails:last-of-type { padding-right: 30px; }
	.thumbnails .image, img.image, #film img, #film a { max-width: 11vw; height: auto; }
}

@media only screen and (min-width: 801px) {
	#rmenu { display: block !important; }
}

@media only screen and (max-width: 800px) {
	#show-menu { display: block; }
	#show-menu span { flex-direction: row-reverse; }
	nav#top::before, nav#top ul.menu li:last-child::after, footer #inner::before, footer #inner ul#cred li:last-child::after, #rmenu, #wlbox { display: none; }
	nav#top ul.menu, footer #inner ul#cred { padding: 15px 0; width: 96%; max-width: 100%; border: none; display: block; }
	nav#top ul.menu li, footer #inner ul#cred li { margin: 0 auto; padding: 20px 0; text-align: left; border-bottom: 1px solid #dedede; display: block; }
	nav#top ul.menu li::before, nav#top ul.menu li:first-child::before, footer #inner ul#cred li:first-child::before, footer #inner ul#cred li::before { content: counter(li, decimal-leading-zero)'.'; min-width: 26px; margin: 0 1vw 0 0; color: #c6c2c1; font-weight: 300; letter-spacing: 0.05em; display: inline-block; position: relative; }
	nav#top ul.menu li:first-child::before, footer #inner ul#cred li:first-child::before { width: auto; background-color: transparent; }
	nav#top ul.menu li a::before, footer #inner ul#cred li a::before { height: 6px; }
	nav#top ul.menu li { width: 93%; }
	footer::before { margin: 0 auto; }
	footer #inner ul#cred li:last-child { border-bottom: none; }
	header { background-size: 200%; height: calc(100vw - 50vw); image-rendering: auto; }
	main { margin: 30px auto 0 auto; }
	.tableh1, main h1, main h2 { font-size: 18px; }
	.catlink { font-size: 14px; }
	.thumb_caption, .thumb_title_views { font-size: 8px; }
	.thumb_resolution { padding: 10px 0; }
	.albtable tr.tableb .thumbnails { padding: 1vw; }
	span#tabs_dropdown_span, #tabs_dropdown_span, .sortorder_cell, .maintable tr td.thumbnails:first-of-type::before, .maintable tr td.thumbnails:last-of-type::after, .maintable01 tr .catrow:first-of-type::before, .maintable01 tr .catrow:last-of-type::after, .stath1::before, .stath2::before { display: none; }
	.maintable01 tr .catrow:first-of-type { padding-left: 0; }
	.maintable01 tr .catrow:last-of-type { padding-right: 0; }
	td.thumbnails:first-of-type { padding-left: 1vw; }
	td.thumbnails:last-of-type { padding-right: 1vw; }
    #tabsMenu .navmenu a { display: none!important; }
    #tabsMenu .navmenu span { display: block!important; }
	.navmenu, .navmenu1 { padding: 15px 1px; }
	.navmenu a, .navmenu1 a { margin: 0; }
	.sortorder_options { font-size: 100%; }
	.buttonlist ul {margin: 0 0 0 1vw; }
	.button, .buttonlist ul li a { margin: 1px 0; padding: 2px; }
	.stath1 { font-size: 8px; }
	.thumbnails, .albtable tr.tableb td.album, .albtable tr.tableb .empt { border: none; }
}

@media only screen and (max-width: 640px) {	
	#show-menu span { padding: 15px 4.5vw; }
}

@media only screen and (max-width: 560px) {	
	body { font-size: 11px; }
	.thumbnails { padding: 1vw 0; }
	.tableh1, main h1, main h2 { font-size: 14px; }
	.statlink2, .navmenu, .navmenu1 { font-size: 8px; }
	.pgs { display: none; }
}

@media only screen and (max-width: 480px) {	
	.image { margin: 5px 0; }
    .catrow_noalb table,.catrow table { font-size: 70%!important; }
	.maintable01 .tableh1 { padding: 15px 2vw; }
	.maintable01 .tableh1::before, .breadh1::before, .breadh1::after { display: none; }
	.tableh1, main h1, main h2 { font-size: 10px; }
	.thumb_title_title { margin: 5px auto; }
	.thumb_resolution { font-size: 8px; }
}