@media only screen and (max-width: 1190px) {
	body, header { overflow-x: hidden; }
    main, footer { width: 96%; max-width: 96%; }
}

@media only screen and (max-width: 1100px) {
	.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: 900px) {
	header { height: 40vw; background-size: 170%; image-rendering: auto; }
    footer ul li { margin: 0 auto; padding: 15px 0; text-align: left; border-bottom: 1px solid #e0dede; box-sizing: border-box; display: block; }
    footer ul::before { position: relative; }
}

@media only screen and (min-width: 801px) {
	#rmenu { display: block !important; }
}

@media only screen and (max-width: 800px) {
	#show-menu { display: block; }
	#rmenu { display: none; }
    nav ul.menu { width: 96%; }
    nav ul.menu li { margin: 0 auto; padding: 15px 0 15px 15px; text-align: left; border-bottom: 1px solid #e0dede; box-sizing: border-box; display: block; }
    nav ul.menu li::before { content: ''; margin-right: 12px; width: 8px; height: 8px; background: #e0dede; display: inline-block; position: relative; }
	.thumbnails { padding-left: 0; padding-right: 0; }
	.thumb_title_views, .thumb_caption, .thumb_resolution, .thumb_caption_ctime, .navmenu { padding-left: 2px; padding-right: 2px; }
    .catlink { font-size: 14px; }
}

@media only screen and (max-width: 560px) {
	.pgs, .sortorder_cell { display: none; }
}

@media only screen and (max-width: 480px) {
	.image { margin: 5px 0; }
}