/* SITE TITLE */

#site {
    margin: 40px auto 0 auto;
    text-align: center;
    text-transform: uppercase;
    display: block;
}

#site h1 {
    font-family: 'Archivo', sans-serif;
    font-size: 4.25vw;
    font-weight: 900;
    font-variation-settings: "wdth" 125;
    font-optical-sizing: auto;
    line-height: 100%;
}

/* MENU */

nav {
    margin: 0 auto 40px auto;
    padding: 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    box-sizing: border-box;
    display: block;
}

nav ul.menu, footer #cred ul {
    margin: 0;
    padding: 0;
    text-align: center;
    list-style-type: none;
}

nav ul.menu li, footer #cred ul li {
    margin: 0 1.75vw;
    padding: 10px 0;
    display: inline-block;
    position: relative;
	counter-increment: li;
}

nav ul.menu li::before {
	content: counter(li, decimal-leading-zero)".";
    margin-right: 5px;
    position: relative;
}

#show-menu {
    margin-top: 20px;
    padding: 10px 20px;
    text-align: left;
    box-sizing: border-box;
    cursor: pointer;
    display: none;
}

#show-menu i {
    margin-top: 3px;
    margin-right: 15px;
    font-size: 10px;
}

/* HEADER */

header {
    width: 100%;
    height: 460px;
    background-image: url("../images/header.png");
    background-position: center center;
    background-repeat: no-repeat;
}

main {
    margin: 60px auto 0 auto;
    width: 100%;
    max-width: 1227px;
    display: block;
}

main article {
    margin-top: 60px;
}

#smenu {
    padding: 15px 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 120%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-width: 1px 0;
    border-style: solid;
    display: block;
}

#smenu a {
    margin: 0 0.5vw;
}

#smenu a:hover {
    text-decoration: none;
}

main .admin_menu_wrapper {
    margin-top: 30px;
    text-align: center;
    box-sizing: border-box;
}

main .admin_menu_wrapper a, main a.admin_menu {
    margin: 2px 4px;
    font-size: 10px;
    font-weight: 400;
    line-height: 150%;
    text-transform: lowercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    letter-spacing: 0.1em;
    display: inline-block;
}

main .admin_menu_wrapper .admin_menu {
    display: inline-block;
}

/* THUMBNAILS */

.thumbnails {
    padding: 20px 10px;
}

.thumbnails .image, .display_media img {
    margin: 3px; padding: 6px;
	-webkit-transition: all 0.24s ease-out;
	-moz-transition: all 0.24s ease-out;
	-o-transition: all 0.24s ease-out;
	transition: all 0.24s ease-out;
}

.thumbnails .thumb_title_title {
    margin-bottom: 15px;
    display: block;
}

.thumbnails .thumb_title_views, .thumbnails .thumb_resolution, .thumbnails .thumb_caption_ctime {
    margin-bottom: 5px;
    padding: 10px;
    max-width: 70%;
    font-size: 10px;
    font-weight: 700;
    line-height: 100%;
	text-transform: uppercase;
    letter-spacing: 0.025em;
    display: block;
}

/* CATEGORIES */

main .catrow, main .catrow_noalb {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid;
}

main .catrow .catlink, main .catrow_noalb .catlink {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    position: relative;
    display: table;
}

main .catrow .catlink::before, main .catrow_noalb .catlink::before, main .alblink::before {
    content: '\f0da';
    margin-right: 10px;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
    font-style: normal;
    position: relative;
    display: inline-block;
}

main .catrow .image, main .catrow_noalb .image {
    margin-right: 15px;
}

main .catrow .count, main .catrow_noalb .count {
    font-size: 15px;
    font-weight: 900;
}

main .stath1 {
    padding-top: 10px;
}

main .stath1 .statlink, main .stath2 {
    padding: 8px;
    font-size: 10px;
    font-weight: 700;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-sizing: border-box;
    display: block;
}

main .stath2 {
    display: table-cell;
}

main .stath2 a:hover {
    color: #eeeeee;
}

/* ALBUMS */

#voting_title, #comments .tableh2 {
    font-size: 21px;
    font-weight: 900;
    text-transform: uppercase;
}

main .alblink {
    padding-bottom: 5px;
    border-bottom: 1px so;
    display: block;
}

main .alblink a {
    text-decoration: none;
}

.cats .tableb_alternate {
    padding-top: 20px;
}

/* BREADCRUMB */

.breadh1 {
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-transform: none;
    box-sizing: border-box;
    position: relative;
}

.breadh1 a {
    margin: 0 0.5vw;
}

.breadh1 a:hover {
    text-decoration: underline;
}

/* ELEMENTS */

main input, main textarea, main select {
	margin: 0;
	padding: 4px 8px;
    font-family: 'Archivo', sans-serif;
    font-size: 11px;
    font-weight: 400;
    font-variation-settings: "wdth" 112.5;
	line-height: 24px;
	letter-spacing: 0.05em;
	border-width: 1px;
	border-style: solid;
    box-sizing: border-box;
	outline: none;
	-webkit-transition: all 0.24s ease-out;
	-moz-transition: all 0.24s ease-out;
	-o-transition: all 0.24s ease-out;
	transition: all 0.24s ease-out;
}

main select {
    padding: 5px;
}

main .stath2 select {
    line-height: 100%;
    border: none;
}

main input[type=radio], main input[type=checkbox] {
    margin-right: 10px;
}

main button.button, main .buttonlist ul li a {
    padding: 5px;
    font-family: 'Archivo', sans-serif;
    font-size: 10px;
    font-weight: 700;
    font-variation-settings: "wdth" 112.5;
	line-height: 100%;
    text-transform: uppercase;
    text-decoration: none;
	letter-spacing: 0.1em;
	border: none;	
	cursor: pointer;
	-webkit-transition: all 0.24s ease-out;
	-moz-transition: all 0.24s ease-out;
	-o-transition: all 0.24s ease-out;
	transition: all 0.24s ease-out;
}

main .buttonlist ul {
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
}

main .buttonlist ul li {
    display: inline-block;
    float: none;
}

main button.button:hover, main .buttonlist ul li a:hover {
    text-decoration: none;
}

main button.button img, main .buttonlist ul li a img {
    width: 10px;
    height: 10px;
}

.display_media .image {
	max-width: 75%;
	height: auto;
	margin-right: 0;
	margin-left: 0;
}

#film {
    max-width: 70vw !important;
}

#film table {
    margin: 0 auto;
}

#film td { 
    border: none;
    display: table-cell; 
}

.filmstrip_background { 
    background-color: transparent; 
}

.prev_strip { 
    text-align: left; 
}

.next_strip { 
    text-align: right; 
}

.filmstrip_background td { 
    padding: 0 1% !important; 
}

img.strip_image { 
    padding: 0.25vw; 
}

main .buttonlist ul li a {
    line-height: 100%;
}

main .thumb_view_title_row .albmenu {
    padding-right: 10px;
}

main .thumb_view_title_row .albmenu a {
    margin: 0 4px;
    line-height: 100%;
}

main .statlink h2, .tableh1 h2 {
    font-size: 21px;
    font-weight: 900;
}

main .thumb_view_title_row .statlink, .maintable .tableh1 span.statlink {
    display: unset;
}

main .sortorder_cell {
    margin: 0;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.2em;
    white-space: nowrap;
}

main span.sortorder_cell, main span.sortorder_options {
    display: unset;
}

.sortorder_cell span::before, .tableh1 span.statlink::before, .tableh1 span.statlink1::before, span#album_listbox_wrapper::before, span#upload_method_selector::before {
    display: none !important;
}

main .img_nav {
    padding: 10px;
    font-size: 10px;
    font-weight: 700;
	text-transform: uppercase;
    letter-spacing: 0.02em;
    border-width: 1px 0;
    border-style: solid;
}

main .toolwrap {
    padding: 15px;
}

main table#pic_sort tr td, main table#album_sort tr td {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid;
}

/* FOOTER */

footer {
    margin: 0 auto;
    max-width: 1227px;
    box-sizing: border-box;
}

footer #disc {
    padding: 20px 0 20px 95px;
    background-image: url("../images/footer-pic.png");
    background-position: left center;
    background-repeat: no-repeat;
    font-size: 9px;
    font-weight: 700;
    text-align: justify;
    text-transform: uppercase;
    border-width: 1px 0;
    border-style: solid;
}

footer #cred {
    padding: 20px 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer #cred ul li {
    margin-left: 0;
    margin-right: 1vw;
}

footer #social a {
    margin-left: 10px;
    font-size: 12px;
}