@media only screen and (max-width: 1366px) {
    nav { max-width: 96%; padding-left: 0; padding-right: 0; }
}

@media only screen and (max-width: 1210px) {
    nav ul.menu li::after { margin: 0 1vw; }
	body, header { overflow-x: hidden; }	
    main { width: 98%; height: 98%; }
}

@media only screen and (max-width: 1180px) {
	header { height: 40.75vw; background-size: 150%; image-rendering: auto;	}
    #disclaimer { width: 96%; max-width: 96%; }
}

@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; }
    footer { margin-top: 20px; }
}

@media only screen and (max-width: 960px) {
    nav ul.menu, #show-menu { font-size: 21px; }
    nav ul.menu li::after { width: 18px; height: 18px; }
    #disclaimer #pic { display: none }
    #disclaimer #message::after { border-width: 1px; }
}

@media only screen and (min-width: 801px) {
	#rmenu { display: block !important; }
}

@media only screen and (max-width: 800px) {
    nav { max-width: 100%; margin-top: 0; padding: 0; background-position: center top; background-size: 100% 60px; }
	#show-menu { display: block; }
	#rmenu, nav ul.menu li::after { display: none; }
    nav ul.menu { max-width: 98%; }
    nav ul.menu li {margin: 0 auto; padding: 17px 0 8px 46px; background-image: url("../images/line-li.png"), url("../images/bullet.png"); background-position: center bottom, 22px 26px; background-size: 100% 8px, 7px 6px; background-repeat: no-repeat; text-align: left;  display: block; }
    nav ul.menu li:first-child { padding-top: 0; background-position: center bottom, 22px 9px; }    
	.thumbnails { padding-left: 0; padding-right: 0; }
    .navmenu { padding: 0 2px; }
}

@media only screen and (max-width: 720px) {
	body { font-size: 13px; }
    .tableh1, .catrow .catlink, .catrow_noalb .catlink { font-size: 30px; }
    .catrow .catstats, .catrow_noalb .catstats, .stats, .stath1 { font-size: 16px; }
    .breadh1 { font-size: 21px; }
    #latest { display: none; }
}

@media only screen and (max-width: 660px) {	
    #smenu ul { font-size: 12px; }
	.categories { background-size: 68vw; height: 12vw; image-rendering: auto; }
    .tableh1, .catrow .catlink, .catrow_noalb .catlink { font-size: 24px; }
    .breadh1 { font-size: 18px; }
    .thumbnails .thumb_title_views, .thumbnails .thumb_resolution, .thumbnails .thumb_caption_ctime { padding: 3px; font-size: 14px; }
	.pgs, .sortorder_cell { display: none; }
}

@media only screen and (max-width: 480px) {
	.image { margin: 5px 0; }
}