

@font-face {
  font-family: "Alit Halloween";
  src: url("../fonts/AlitHalloween-Regular.otf");
}

header {
    width: 100%;
    height: 820px;
    background-color: #000b0f;
    background-image: url("../images/header.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    left: 0; top: 0;
    z-index: 10;
}

#wrapper {    
    margin-top: 820px;
    background: #fff9f7;
    position: relative;
    z-index: 20;
}

/* TOPBAR */

#topbar {
    width: 100%;
    background: #ffe4d9;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-color: #fff9f7;
    position: sticky;
    position: -webkit-sticky;
    top: 0; z-index: 77;
}

#topbar #site {
    padding: 20px;
    background: #d54711;
    box-sizing: border-box;
    position: relative;
}

#topbar #site h1 {
    color: #fff9f7;
    font-family: 'Metal Mania', cursive;
    font-size: 30px;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    position: relative;
    z-index: 25;
}

#topbar #site::after {
    content: '';
    position: absolute;
    top: 0; right: -15px;
    background: #d54711;
    width: 30px; height: 100%;
    transform: skewX(-20.5deg);
    margin: auto;
    z-index: 20;
}

#topbar nav {
    padding: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-style: normal;
    text-align: center;
    text-transform: uppercase;
    box-sizing: border-box;
    position: absolute;
    left: 0; right: 0;
    margin: auto;
    font-weight: 800;
}

#topbar nav ul.menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#topbar nav ul.menu li {
    margin: 0 2vw;
    display: inline-block;
    position: relative;
}

#topbar nav ul.menu li a {
    color: #2e0f01;
    letter-spacing: 0.021em;
    text-decoration: none;
    -webkit-transition: all 0.42s ease-out;
    -moz-transition: all 0.42s ease-out;
    -o-transition: all 0.42s ease-out;
    transition: all 0.42s ease-out;
}

#topbar nav ul.menu li.menu-item-has-children a:not(:only-child)::after {
	content: '';
	margin: 0 0 2px 10px;
	padding: 2px;
	border-width: 0 1px 1px 0;
	border-style: solid;
	border-color: #2e0f01;
	display: inline-block;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

#topbar nav ul.menu li .sub-menu {
	display: none;
	width: max-content;
    max-width: 25vw;
	position: absolute;
	top: 100%; left: 0;
	margin: 0; padding: 0 15px;
	background: #fff9f7;
	list-style-type: none;
	box-sizing: border-box;
	border-width: 2px;
	border-style: solid;
	border-color: #2e0f01;
	z-index: 50;
}

#topbar nav ul.menu > li.menu-item-has-children:hover > .sub-menu, nav li.menu-item-has-children .sub-menu > li.menu-item-has-children:hover .sub-menu {
	display: block;
}

#topbar nav ul.menu li .sub-menu li {
	margin: 8px 0;
	padding: 8px 0;
    text-align: left;
    border-width: 0 0 2px 0;
	border-style: solid;
	border-color: #2e0f01;
	display: block;
}

#topbar nav ul.menu li .sub-menu li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

#topbar #show-menu {
    padding: 20px;
    background: #ffe4d9;
    color: #2e0f01;
    text-align: right;
	box-sizing: border-box; 
	cursor: pointer; 
	display: none;
    flex: 1;
}

#topbar #show-menu i {
    font-size: 16px;
}

#topbar #social {
    padding-right: 20px;
    position: relative;
}

#topbar #social i {
    margin-left: 5px;
    color: #2e0f01;
    font-size: 12px;
    -webkit-transition: all 0.42s ease-out;
    -moz-transition: all 0.42s ease-out;
    -o-transition: all 0.42s ease-out;
    transition: all 0.42s ease-out;
}

#topbar nav ul.menu li a:hover, #topbar #social i:hover, footer ul#links li a:hover {
    color: #d54711;
}

#topbar nav ul.menu li::before, #topbar nav ul.menu li .sub-menu li::before {
    content: '';
    margin-right: 10px;
    width: 24px; height: 11px;
    background: #d54711;
    transform: skewX(-13deg);
    display: inline-block;
    position: relative;
}

#topbar nav ul.menu li::before {
    width: 5.25vw;
    height: 5px;
    margin-bottom: 4px;
    display: none;
}

#topbar nav ul.menu li .sub-menu li::before {
    height: 5px;
    background: #2e0f01;
}

main {
    margin: 60px auto 0 auto;
    width: 100%;
    max-width: 1270px;
    display: block;
}

main article {
    margin-top: 60px;
}

/* COPPERMINE MENU */

#smenu {
    font-family: 'Playfair Display', serif;;
    padding-top: 15px;
    padding-bottom: 15px;
    color: #2e0f01;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-width: 1px 0;
    border-style: solid;
    border-color: #2e0f01;
}

#smenu ul {
    list-style-type: none;
}

#smenu ul a {
    font-weight: 800;
}

#smenu ul a::after, footer ul#links li::after {
    content: '//';
    margin-left: 10px;
    margin-right: 10px;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

#smenu ul a:last-of-type::after {
    display: none;
}

#smenu ul a:hover {
    color: #d54711;
}

#smenu ul a:hover::after {
    color: #2e0f01;
}

main .admin_menu_wrapper {
    margin-top: 20px;
    text-align: center;
}

main .admin_menu_wrapper a, main a.admin_menu {
    margin: 2px 4px;
    color: #675f5c;
    font-size: 12px;
    font-weight: 600;
    text-transform: lowercase;
    text-decoration: underline;
    letter-spacing: 0.042em;
    display: inline-block;
}

main .admin_menu_wrapper .admin_menu {
    display: inline-block;
}

main .admin_menu_wrapper a:hover, main a.admin_menu:hover {
    color: #2e0f01;
}

/* THUMBNAILS */

.thumbnails {
    padding: 20px 10px;
    border-bottom-width: 4px;
    border-bottom-style: double;
    border-color: #2e0f01;
}

.thumbnails .image {
    margin: 4px 2px; padding: 2px;
    border: 1px solid transparent;
	outline: 1px solid transparent;
	outline-offset: -6px;
	-webkit-transition: all 0.42s ease-out;
	-moz-transition: all 0.42s ease-out;
	-o-transition: all 0.42s ease-out;
	transition: all 0.42s ease-out;
}

.thumbnails .image:hover {    
	outline-color: #fff9f7;
    border-color: #2e0f01;
}

.thumbnails .thumb_title_title {
    margin-bottom: 0px;
    color: #2e0f01;
    display: block;
    font-size: 12px;
    font-weight: 500;
}

.thumbnails .thumb_title_views, .thumbnails .thumb_caption_ctime {
    margin-bottom: 5px;
    padding-top: 6px;
    padding-bottom: 4px;
    padding-left: 4px;
    background: #ffe4d9;
    color: #2e0f01;
    font-family: 'Metal Mania', cursive;
    font-size: 11px;
    font-weight: bold;
    line-height: 100%;
	text-transform: uppercase;
    letter-spacing: 0.021em;
    display: inline-block;
    position: relative;
}

.thumb_caption_ctime::before {
	content: "n";
	color: #030303;
	font-family: "Alit Halloween";
	font-size: 17px;
	font-weight: normal;
	margin: 0px 4px 0 0px;
	display: inline-block;
	position: relative;
	line-height: 8px;
	text-transform: lowercase;
}

.thumbnails .thumb_resolution {
    margin-bottom: 5px;
    padding-top: 6px;
    padding-bottom: 4px;
    background: #F7F5EE;
    color: #2e0f01;
    font-family: 'Metal Mania', cursive;
    font-size: 11px;
    font-weight: normal;
    line-height: 100%;
	text-transform: uppercase;
    letter-spacing: 0.021em;
    display: block;
    width: 75%;
}

.thumbnails .thumb_resolution {
    background: #675f5c;
    color: #fff9f7;
}

.thumbnails .thumb_caption_ctime {
    background: #d54711;
    color: #fff9f7;
}

/* CATEGORIES */

main .catrow, main .catrow_noalb {
    padding-top: 20px;
    padding-bottom: 20px;
    font-style: normal;
    border-bottom-width: 4px;
    border-bottom-style: double;
    border-color: #2e0f01;
}

main .catrow .catlink, main .catrow_noalb .catlink {
    color: #2e0f01;
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 800;
    line-height: 100%;
    text-transform: uppercase;
    letter-spacing: 0.042em;
    position: relative;
    display: table;
}

main .catrow .catlink a:hover, main .catrow_noalb .catlink a:hover {
    color: #d54711;
}

main .catrow .catlink::before, main .catrow_noalb .catlink::before {
    content: 'j';
    margin-right: 10px;
    font-family: "Alit Halloween";
    display: inline-block;
    position: relative;
    text-transform: lowercase;
    font-size: 50px;
    font-weight: normal;
    color: black;
}

main .catrow .catdsk, main .catrow_noalb .catdsk {
    margin-top: 5px;
    padding-left: 34px;
    display: table;
}

main .catrow .count, main .catrow_noalb .count {
    color: #2e0f01;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.042em;
}

main .catrow img.thumbnail, main .catrow_noalb img.thumbnail {
    margin-right: 20px;
}

main .stath1, main .navmenu {
    padding-top: 15px;
    color: #2e0f01;
    font-size: 10px;
    font-weight: 600;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

main .stath1 strong {
    color: #000000;
    font-weight: 800;
}

/* ALBUMS */

main .alblink {
    width: 100%;
    padding-bottom: 5px;
    font-weight: 600;
    border-bottom-width: 4px;
    border-bottom-style: double;
    border-color: #2e0f01;
    display: table;
}

main .alblink a {
    color: #2e0f01;
    position: relative;
}

main .alblink a::after {
    content: '';
    position: absolute;
    bottom: -14px; left: 0;
    width: 100%; height: 4px;
    background: #2e0f01;
    margin: auto;
    display: block;
	-webkit-transition: all 0.42s ease-out;
	-moz-transition: all 0.42s ease-out;
	-o-transition: all 0.42s ease-out;
	transition: all 0.42s ease-out;
}

main .alblink a:hover {
    color: #d54711;
}

main .alblink a:hover::after {
    background: #d54711;
}

main .at {
    border-bottom: none;
}

main .statlink h2 {
    padding-right: 15px;
    font-size: 36px;
    font-weight: 400;
}

main input, main textarea, main select {
	margin: 0;
    padding: 5px 10px;
    background: #fff9f7;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
    font-weight: 300;
	line-height: 24px;
    border-width: 1px;
    border-style: solid;
    border-color: #2e0f01;
    box-sizing: border-box;
	outline: none;
	-webkit-transition: all 0.42s ease-out;
	-moz-transition: all 0.42s ease-out;
	-o-transition: all 0.42s ease-out;
	transition: all 0.42s ease-out;
}

main input:focus, main textarea:focus {
    border-color: #d54711;
}

main select {
    padding: 5px;
}

main input[type=radio], main input[type=checkbox] {
    margin-right: 10px;
}

main button.button, main .buttonlist ul li a {
    padding: 4px 5px 2px 5px;
    background: #2e0f01;
    color: #fff9f7;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 11px;
    font-weight: normal;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.12em;
    display: inline-block;
	border: none;	
	cursor: pointer;
	-webkit-transition: all 0.42s ease-out;
	-moz-transition: all 0.42s ease-out;
	-o-transition: all 0.42s ease-out;
	transition: all 0.42s 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 {
    background: #d54711;
}

main button.button img, main .buttonlist ul li a img {
    width: 10px;
    height: 10px;
}

main .buttonlist ul li a {
    line-height: 100%;
}

main .thumb_view_title_row {
    margin-bottom: -5px;
}

main .thumb_view_title_row .albmenu {
    padding-right: 15px;
    display: flex;
}

main .sortorder_cell span, main .tableh1 span.statlinn, main span#album_listbox_wrappen, main span#upload_method_selecton {
    display: unset;
}

main .sortorder_cell span::after, main .tableh1 span.statlink::after, main span#album_listbox_wrapper::after, main span#upload_method_selector::after {
    display: none;
}

main .sortorder_cell, main .sortorder_options {
    margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

main .navmenu {
    padding-left: 5px;
    padding-right: 5px;
}

main .navmenu a {
    font-weight: 800;
}

main .current, main .navmenu a:hover {
    color: #d54711;
}

main .img_nav {
    padding: 15px;
    background: #ffe4d9;
    color: #2e0f01;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    font-weight: normal;
	text-transform: uppercase;
    letter-spacing: 0.021em;
}

main .toolwrap {
    padding: 15px;
    background: #ffe4d9;
}

main table#pic_sort tr td, main table#album_sort tr td {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #2e0f01;
}

p.album_stat { font-size: 10px;}

/* BREADCRUMB */

.breadh1 .statlink {
    margin: 0 auto;
    padding: 0 10px;
    background: #F7F5EE;
    color: #fff9f7;
    font-size: 23px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.12em;
    display: table;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    -webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-o-transition: all 0.4s;
}

.breadh1 .statlink a:hover {
    text-decoration: none;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	box-shadow: 0px 3px #663232;
}

.breadh1 .statlink::before {
    content: 'k';
    font-family: "Alit Halloween";
    font-size: 40px;
    color: black;
    padding-right: 5px;
    text-transform: lowercase;
    font-weight: normal;
}

.breadh1 .statlink::after {
    content: 'l';
    font-family: "Alit Halloween";
    font-size: 40px;
    color: black;
    padding-left: 5px;
    text-transform: lowercase;
    font-weight: normal;
}

/* FOOTER */

footer {
    margin: 15px auto 25px auto;
    padding-top: 10px;
    border-top-width: 5px;
    border-top-style: solid;
    border-color: #000b0f;
    box-sizing: border-box;
}

footer ul#links {
    text-align: center;
    list-style-type: none;
}

footer ul#links li {
    font-size: 10px;
    font-weight: 600;
    line-height: 100%;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: inline-block;
    list-style-type: none;
}

footer ul#links li a {
    color: #2e0f01;
    font-weight: 800;
}

footer ul#links li:last-child::after {
    display: none;
}

.welcome {
    width: 1130px;
    text-align: justify;
    padding: 20px;
    border: 0px solid #888;
    margin-top: 25px;
    margin-bottom: 50px;
    color: #000000;
    background-color: transparent;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    line-height: 30px;
    font-weight: 500;
}

.first-letter {
    font-family: 'Metal Mania', cursive;
    font-weight: normal;
    color: #663232;
    font-size: 60px;
    line-height: 30px;
    padding-right: 5px;
    padding-top: 13px;
    text-transform: uppercase;
    float: left;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    max-width: 95%;
    margin: auto;
    margin-bottom: 30px;
}

.affiliates {
    flex: 30%;
    text-align: center;
}

.disclaimer {
    flex: 30%;
    border: 0px;
    font-family: 'Anuphan', sans-serif;
    font-size: 12px;
    line-height: 30px;
    font-weight: 500;
    text-align: justify;
    padding-left: 20px;
    padding-right: 26px;
}

.stats {
    flex: 30%;
    border: 0px;
    font-family: 'Anuphan', sans-serif;
    font-size: 12px;
    line-height: 30px;
    font-weight: 500;
    text-align: justify;
}

.aff a,
.aff a:hover {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    width: 85px;
    height: 35px;
    line-height: 15px;
    text-align: center;
    font-size: 8.5pt;
    letter-spacing: .75px;
    color: #000000 !important;
    text-transform: uppercase;
    margin: 2px;
    padding: 0px;
    text-shadow: none;
    text-decoration: none;
    margin-bottom: 3px;
    padding-top: 9px;
    background-color: transparent;
    font-weight: 800;
    border-bottom: 1px solid #663232;
}

.aff b {
    font-family: 'Metal Mania', cursive;
    text-transform: lowercase;
    color: #000000;
    font-size: 12pt;
    font-weight: 400;
    text-shadow: none;
    letter-spacing: .75px;
}

/* Slideshow container */
.slideshow-container {
    max-width: 400px;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 47%;
    width: auto;
    padding: 0px;
    margin-top: -22px;
    color: #663232;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: transparent;
}

/* Caption text */
.text {
    color: #663232;
    font-size: 23px;
    padding: 0px 0px;
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    font-family: 'Metal Mania', cursive;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #FBFBFB;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}