* {
    margin: 0;
    padding: 0;
}

@font-face {
	font-family: "TC October";
	src: url("../fonts/TC-October.otf");
}

/* MENU */

nav {
    width: 100%;
    max-width: 1366px;
	background-image: url("../images/bg-menu.png");
	background-position: center center;
    background-size: 100%, 100%;
	background-repeat: no-repeat;
    margin: 40px auto;
    padding: 35px 30px 25px 30px;
	line-height: 100%;
    text-align: center;
	box-sizing: border-box;
	display: block;
}

nav ul.menu {
    margin: 0 auto;
    max-width: 90%;
    font-family: "Just Another Hand", cursive;
    font-size: 24px; font-weight: normal;
    text-transform: uppercase;
    display: block;
}

nav ul.menu li {
    margin: 0;
    padding: 0;
    color: #313131;
    display: inline-flex;
    align-items: center;
    list-style-type: none;
}

nav ul.menu li::after {
    content: '';
    margin: 0 1.5vw;
    width: 22px; height: 22px;
	background-image: url("../images/star.png");
	background-position: center center;
	background-repeat: no-repeat;
    display: inline-block;
    position: relative;
}

nav ul.menu li:last-child::after, footer ul li:last-child::after {
    display: none;
}

nav ul.menu li a, footer ul li a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
	-webkit-transition: all 0.28s ease-out;
	-moz-transition: all 028 ease-out;
	-o-transition: all 0.28s ease-out;
}

nav ul.menu li a:hover {
    color: #b03b3e;
}

#show-menu {
	padding: 27px 0 27px 52px;
	background-image: url("../images/star.png");
	background-position: 20px center;
	background-repeat: no-repeat;
	color: #313131;
	text-align: left;
    font-family: "Just Another Hand", cursive;
    font-size: 24px; font-weight: normal;
    text-transform: uppercase;
	cursor: pointer;
	box-sizing: border-box;
	display: none;
}

#rmenu {
	width: 100%;
	display: block;
}

.active {
	display: block;
}

/* HEADER */

header {
	width: 100%;
	height: 500px;
	background-image: url("../images/header.png");
	background-position: center center;
	background-repeat: no-repeat;
	margin: 0 auto;
	position: relative;
}

/* MAIN */

main {
	margin: 60px auto 0 auto;
	width: 100%;
	max-width: 1210px;
	display: block;
}

main article {
    margin-top: 60px;
}

a {
	-webkit-transition: all 0.28s ease-out;
	-moz-transition: all 028 ease-out;
	-o-transition: all 0.28s ease-out;
}

a:hover {
    text-decoration: none;
}

/* COPPERMINE MENU */

#smenu {
    margin: 0 auto;
    width: 100%;
    max-width: 1180px;
    text-align: center;
    text-transform: uppercase;
	position: relative;
    display: block;
}

#smenu ul {
	margin: 0 auto;
	padding: 20px;
	font-size: 13px;
	display: table;
	box-sizing: border-box;
	position: relative;
	z-index: 25;
}

#smenu ul a {
    color: inherit;
	font-weight: 700;
    text-decoration: none;
}

#smenu ul a:hover {
    color: #b03b3e;
}

#smenu ul::after, #disclaimer #message::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    border: 1px dashed #313131;
    transform: rotate(-0.35deg);
    margin: auto;
    z-index: -1;
}

.admin_menu_wrapper {
	background: transparent;
	width: 100%;
	margin: 40px auto;
	padding: 0;
	text-align: center;
}

.admin_menu {
    font-size: 13px;
	text-align: center;
	text-transform: lowercase;
	position: relative;
	z-index: 20;
}

.admin_menu a {
	margin: 2px 4px; padding: 0px;
	color: #313131;
	display: inline-block;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.admin_menu a:hover { color: #83a638; }

.admin_float {
    margin: 1px 0 6px 0;
    max-height:1.5em;
    display: inline-block;
    position: relative;
    white-space:nowrap;
}

/* CATEGORIES */

.categories {
	margin: 0 auto 10px auto;
	width: 100%; height: 76px;
	background-image: url("../images/cath1.png");
	background-position: center center;
	background-repeat: no-repeat;
	position: relative;
	display: block;
	z-index: 30;
}

.catrow_noalb, .catrow {
	padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 2px dashed #cfcfcf;
	position: relative;
	z-index: 20;
}

.cat_box { flex-grow: 1; }
.catrow .catlink, .catrow_noalb .catlink {
    margin-bottom: -13px;
	color: #313131; 
    font-family: "TC October";
    font-size: 36px; font-weight: normal;
    line-height: 120%;
    text-align: center;
	position: relative;
	display: table;	
	z-index: 15;
}

.catrow .catlink span, .catrow_noalb .catlink span {
    margin-left: 25px;
    display: inline-block;
    position: relative;
	-webkit-transition: all 0.28s ease-out;
	-moz-transition: all 0.28s ease-out;
	-o-transition: all 0.28s ease-out;
}

.catrow .catlink span::after, .catrow_noalb .catlink span::after {
    content: '';
    width: 100%; height: 15px;
	background-image: url("../images/line-title01.png");
	background-position: left bottom;
    background-repeat: no-repeat;
    display: block;
}

.catrow:nth-of-type(odd) .catlink span::after, .catrow_noalb:nth-of-type(odd) .catlink span::after {
	background-image: url("../images/line-title02.png");
}

.catrow .catlink a, .catrow_noalb .catlink a {
    color: #313131;
    text-decoration: none;
}

.catrow .catlink span:hover a, .catrow_noalb .catlink span:hover a {
    color: #b03b3e;
    text-decoration: none;
}

.catrow .catinfo, .catrow_noalb .catinfo {
    padding: 27px 20px 20px 20px;
	background-image: url("../images/bg-table.png");
	background-position: center center;
    background-size: 100% 90%;
    background-repeat: no-repeat;
    font-size: 14px;
    font-weight: 300;
    box-sizing: border-box;
}

.catrow .catstats, .catrow_noalb .catstats {
    margin: 0 auto;
    padding: 0;
    font-family: "TC October";
    font-size: 18px; font-weight: normal;
    text-align: right;
    display: block;
}

.catrow .catstats span, .catrow_noalb .catstats span {
    padding-bottom: 3px;
	background-image: url("../images/line-red.png");
	background-position: center bottom;
    background-size: 100% 13px;
    background-repeat: no-repeat;
    color: #b03b3e;
    image-rendering: -webkit-optimize-contrast;
}

.catrow:nth-of-type(odd) .catstats span, .catrow_noalb:nth-of-type(odd) .catstats span {
	background-image: url("../images/line-green.png");
    color: #83a638;
    image-rendering: -webkit-optimize-contrast;
}

.stats {
	margin: 12px auto 50px auto;
	color: #313131;
    font-family: "TC October";
    font-size: 18px; font-weight: normal;
	text-align: center;
	display: block;
	box-sizing: border-box;
	position: relative;
}

.stats span, .breadstat, .statlink2 {
	margin: 0 auto;
    padding-bottom: 3px;
    background-image: url("../images/line-black.png");
    background-position: center bottom;
    background-repeat: no-repeat;
	line-height: 100%;
	position: relative;
	z-index: 25;
}

.stats strong, .statlink2 strong { font-weight: normal; }

.breadh1 {
    margin: 40px auto;
    font-family: "TC October";
    font-size: 24px; font-weight: normal;
    line-height: 100%;
    text-align: center;
}

.breadstat a, .alblink a {
    color: #313131;
    text-decoration: none;
}

.alblink {
    padding: 10px 15px;
	background-image: url("../images/bg-table.png");
	background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
	display: block;
}

.alblink a {
    padding-left: 17px;
	background-image: url("../images/bullet-black.png");
	background-position: left center;
    background-size: 7px 6px;
    background-repeat: no-repeat;
}

.alblink a:hover {
    color: #b03b3e;
}

.stath1 {
	color: #313131;
    font-family: "TC October";
    font-size: 18px; font-weight: normal;
	text-align: center;
}

/* THUMBNAILS */

.thumbnails {
    padding: 20px 10px;
}

.thumbnails .image {
    margin: 3px; padding: 2px;
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    border: 4px solid #313131;
	-webkit-transition: all 0.28s ease-out;
	-moz-transition: all 0.28s ease-out;
	-o-transition: all 0.28s ease-out;
}

.thumbnails .image:hover {    
    background: transparent;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    opacity: 0.88;
}

.thumbnails .thumb_title_title {
    margin-bottom: 15px;
    display: block;
}

.thumbnails .thumb_title_views, .thumbnails .thumb_resolution, .thumbnails .thumb_caption_ctime {
    margin-bottom: 5px;
    padding: 3px 8px;
    font-family: "TC October";
    font-size: 16px; font-weight: normal;
    line-height: 100%;
    display: inline-block;
}

.thumbnails .thumb_title_views {
    background: #b03b3e;
    color: #f8f5f3;
    transform: rotate(-1deg);
}

tr td.thumbnails:nth-of-type(even) .thumb_title_views {
    background: #83a638;
}

.thumbnails .thumb_caption_ctime {
    padding: 0 0 8px 0;
    background-image: url("../images/line-black.png");
	background-position: center bottom;
    background-size: 100% 13px;
    background-repeat: no-repeat;
    text-align: center;
    display: table;
    image-rendering: -webkit-optimize-contrast;
}

.thumb_num_comments {
    font-weight: normal;
    font-size: 85%;
    padding: 2px;
    font-style : italic;
    display : block;
}

.user_thumb_infobox {
    margin-top: 1px;
    margin-bottom: 1px;
}

.user_thumb_infobox th {
    font-weight : bold;
    font-size: 100%;
    margin-top: 1px;
    margin-bottom: 1px;
    text-align : center;
}

.user_thumb_infobox td {
    font-size: 85%;
    margin-top: 1px;
    margin-bottom: 1px;
    text-align : center;
}

.user_thumb_infobox a {
    text-decoration: none;
    color: #000000;
}

.user_thumb_infobox a:hover {
    color: #000000;
    text-decoration: underline;
}

.thumb_view_title_row {
    padding: 0 20px;
    text-align: left;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
}

.thumb_view_title_row h2, form#cpgform .tableh1 h2 {
    font-size: 30px;
    font-weight: normal;
}

.thumb_view_title_row .admin_buttons {
    display: inline-flex;
    padding-right: 20px;
}

.thumb_view_title_row .admin_buttons img {
    margin: 0 4px;
}

.thumb_view_title_row .albmenu .admin_menu {
	font-family: 'Karla', sans-serif;
	font-size: 12px; font-weight: 300;
    text-transform: uppercase;
}

/* ELEMENTS */

ul, ol {
    margin-left: 5px;
    margin-top:0px;
    margin-bottom:0px;
    padding: 0px;
}

li {
    margin-left: 10px;
    margin-top: 4px;
    margin-bottom: 4px;
    padding: 0px;
    list-style-position: outside;
}

ul li {
    list-style-type: disc;
}

.textinput, textarea, input[type="text"] {
	padding: 8px;
    background-color: #f8f5f3;
	color: #313131;
	font-family: 'Karla', sans-serif;
	font-size: 14px; font-weight: 400;
	border: 1px dashed #cfcfcf;
    box-sizing: border-box;
}

.textinput:focus { 
	background-color: #f8f5f3;
	outline: none;
	box-shadow: none;
	border-color: #313131;
}

.listbox {
	padding: 5px;
    background-color: #f8f5f3;
	color: #313131;
	font-family: 'Karla', sans-serif;
	font-size: 14px; font-weight: 400;
	border: 1px dashed #cfcfcf;
    box-sizing: border-box;
    vertical-align : middle;
}

select {
	padding: 5px;
    background-color: #f8f5f3;
	color: #313131;
	font-family: 'Karla', sans-serif;
	font-size: 14px; font-weight: 400;
	border: 1px dashed #cfcfcf;
    box-sizing: border-box;
}

.buttonlist ul { padding: 0; margin: 0; }
.buttonlist ul li { margin: 0 0 3px 0; float: none; display: inline-block; }

.button, .buttonlist ul li a, article .maintable:nth-of-type(odd) .buttonlist ul li a {
	margin: 0; padding: 6px 8px;    
    background: #313131;
    color: #f8f5f3;
    font-family: "TC October";
    font-size: 16px; font-weight: normal;
    line-height: 100%;
    text-decoration: none;
    display: inline-block;
	border: none;	
	cursor: pointer;
	-webkit-transition: all 0.28s ease-out;
	-moz-transition: all 0.28s ease-out;
	-o-transition: all 0.28s ease-out;
}

.button:hover, .buttonlist ul li a:hover, article .maintable:nth-of-type(odd) .buttonlist ul li a:hover {
	background: #b03b3e;
	text-decoration: none;
}

.radio {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 100%;
    vertical-align : middle;
}

input[type=radio] { margin: 0 10px 0 0; }

.checkbox {
	margin-right: 5px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 100%;
    vertical-align : middle;
}

main .sortorder_cell span, main .tableh1 span.statlink, main span#album_listbox_wrapper, main span#upload_method_selecton, main span.sortorder_options {
    background-image: none !important;
	font-family: 'Karla', sans-serif;
	font-size: 12px; font-weight: 300;
}

main .sortorder_cell, main .sortorder_options {
    margin: 0;
	font-family: 'Karla', sans-serif;
	font-size: 12px; font-weight: 300;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.navmenu {
    padding: 0 5px;
	color: #313131;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
}

.navmenu a {
    color: #9c9b9b;
    text-decoration: none;
}

.navmenu a:hover {
    color: #313131;
}

.display_media .image { max-width: 75%; height: auto; margin-right: 0; margin-left: 0;}
#filmstrip { margin: 0 auto 4vw auto; }
#film { max-width: 71vw !important; }
#film table { margin: 0 auto; }
#film td { border: none; display: table-cell; }
.filmstrip_background { background: transparent; }
.prev_strip { text-align: left; }
.next_strip { text-align: right; }
.filmstrip_background td { padding: 0 1% !important; }
img.strip_image { padding: 0.25vw; }
#comments { margin: 4vw auto 0 auto; }

.img_caption_table {
    border: none;
    background: #f0efeb;
    width : 100%;
    margin : 0px;
}

.img_caption_table th {
    background: #D1D7DC ;
    font-size : 100%;
    color : #000000;
    padding-top: 4px;
    padding-right: 10px;
    padding-bottom: 4px;
    padding-left: 10px;
    border-top : 1px solid #f0efeb;
}

.img_caption_table td {
    background: #F2F5F7 ;
    padding-top: 6px;
    padding-right: 10px;
    padding-bottom: 6px;
    padding-left: 10px;
    border-top : 1px solid #f0efeb;
    white-space: normal;
}

.debug_text {
    border: #BDBEBD;
    background: #EFEFEF;
    width : 100%;    margin : 0px;
}

.clickable_option {
    cursor : default;

}

span#album_listbox_wrapper::after { display: none; }
.listbox_lang {
    color: #000666;
    background: #F2F5F7;
    border: 1px solid #D1D7DC;
    font-size: 80%;
    font-family: Arial, Helvetica, sans-serif;
    vertical-align : middle;
}

.pic_title {
    color: #000666;
    font-size: 100%;
    font-weight:bold;
    text-align : center;
    padding-top:0px;
    padding-bottom:0px;
    margin-top:0px;
    margin-bottom:0px;
    line-height:1.0em;
}

.pic_caption {
    color: #000666;
    font-size: 100%;
    font-weight:normal;
    text-align : center;
    padding-top:0px;
    padding-bottom:0px;
    margin-top:0px;
    margin-bottom:0px;
    line-height:1.0em;
    background-image:none;
}

.important {
    /* background-image : url(images/important.gif); */
    color: red;
    font-weight: bold;
    padding-left:1px;
    padding-right:1px;
    padding-top:3px;
    padding-bottom:3px;
}

.toolwrap {
	background: transparent;
	padding: 15px 20px;
    border: 1px dashed #9c9b9b;
	box-sizing: border-box;
}

#cpgMessage {
	margin: 12px auto;
	text-align: center;
	max-width: 100%;
}

#cpgChooseLanguageWrapper {
    float:left;
}

#cpgChooseThemeWrapper {
    float:left;
}

.cpg_message_info, .cpg_message_success, .cpg_message_warning, .cpg_message_error, .cpg_message_validation {
    border: 1px solid;
    margin: 10px 0px;
    padding: 15px 2%;
	text-align: center;
    background-repeat: no-repeat;
    background-position: 10px center;
}
.cpg_message_info {
    color: #00529B;
    background: #BDE5F8;
    background-image: url('../../images/message/info.png');
}
.cpg_message_success {
    color: #4F8A10;
    background: #DFF2BF;
    background-image: url('../../images/message/ok.png');
}
.cpg_message_warning {
    color: #9F6000;
    background: #FEEFB3;
    background-image: url('../../images/message/warning.png');
}
.cpg_message_error {
    color: #D7000C;
    background: #FFBABA;
    background-image: url('../../images/message/stop.png');
}
.cpg_message_validation {
    color: #bf2c2a;
    background: #ffaeab;
    background-image: url('../../images/message/error.png');
}

.cpg_summary {
    font-size:0.9em;
	border: 1px solid;
    margin: 10px 0px;
	padding:5px 10px 5px 10px;
    color: #FF2B9C;
    background: #FFDEEF;
	text-align:right;
	float:right;
	width:400px;
}

#GB_window {
	background: #e9e9e9;
    border: 5px solid #949494;
}

.external {
    background: transparent url('../../images/link.gif') 100% 50% no-repeat;
    padding-right: 10px;
}

.detail_head_collapsed, .detail_head_expanded {
	padding: 10px;
	border-bottom: 1px dashed #313131;
	display: block;
}

table#pic_sort tr td {
    padding: 4px;
    border-bottom: 1px dashed #313131;
}

#admin_menu_anim {
    background-image : url(images/button_bg_anim.gif);
}

.icon {
    vertical-align:middle;
    margin-right:1px;
}

.comment_date{
    color : #5F5F5F;
    font-size: 90%;
    vertical-align : middle;
}

/** Swfupload css **/
div.fieldset {
    border:  2px solid #0E72A4;
    margin: 10px 0;
    padding: 20px 10px;
}

div.fieldset span.legend {
    position: relative;
    padding: 3px;
    top: -30px;
    background: #8AA5B5;
    color: #FFF;
    font-weight: bold;
}

div.flash {
    width: 375px;
    margin: 10px 5px;
    border-color: #CCD7E0;
}

input[disabled]{ border: 1px solid #ccc } /* FF 2 Fix */

.progressWrapper {
    width: 357px;
    overflow: hidden;
}

.progressContainer {
    margin: 5px;
    padding: 4px;
    border: solid 1px #E8E8E8;
    background: #F7F7F7;
    overflow: hidden;
}
/* Message */
.message {
    margin: 1em 0;
    padding: 10px 20px;
    border: solid 1px #FFDD99;
    background: #FFFFCC;
    overflow: hidden;
}
/* Error */
.red {
    border: solid 1px #B50000;
    background: #FFEBEB;
}

/* Current */
.green {
    border: solid 1px #DDF0DD;
    background: #EBFFEB;
}

/* Complete */
.blue {
    border: solid 1px #CEE2F2;
    background: #F0F5FF;
}

.progressName {
    font-size: 8pt;
    font-weight: 700;
    color: #555;
    width: 323px;
    height: 14px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}

.progressBarInProgress,
.progressBarComplete,
.progressBarError {
    font-size: 0;
    width: 0%;
    height: 2px;
    background: blue;
    margin-top: 2px;
}

.progressBarComplete {
    width: 100%;
    background: green;
    visibility: hidden;
}

.progressBarError {
    width: 100%;
    background: red;
    visibility: hidden;
}

.progressBarStatus {
    margin-top: 2px;
    width: 337px;
    font-size: 7pt;
    font-family: Arial;
    text-align: left;
    white-space: nowrap;
    color: #555;
}

a.progressCancel {
    font-size: 0;
    display: block;
    height: 14px;
    width: 14px;
    background-image: url(../../images/cancelbutton.gif);
    background-repeat: no-repeat;
    background-position: -14px 0px;
    float: right;
}

a.progressCancel:hover {
    background-position: 0px 0px;
}

.swfupload {
    vertical-align: top;
}

/** styles for album manager and photo album*/
table#album_sort tr td {
    padding: 5px 0;
    border-bottom: 1px dashed #313131;
}

table#album_sort tr td span.editAlbum {
    margin-left: 100px;
    font-size: 10px;
    line-height: 100%;
    text-decoration: underline;
    display: none;
    color: #FF0000;
}

/* DISCLAIMER */

#disclaimer {
    margin: 40px auto 0 auto;
    width: 100%;
    max-width: 1180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

#disclaimer #pic {    
    min-width: 137px;
    max-width: 137px;
    height: 161px;
	background-image: url("../images/disc.png");
	background-position: center center;
	background-repeat: no-repeat;
    flex-basis: 50%;
    position: relative;
    z-index: 25;
}

#disclaimer #message {
    padding: 15px 20px;
    font-size: 13px;
    text-align: justify;
    letter-spacing: -0.025em;
    position: relative;
}

#disclaimer #message::after {
    border-width: 1px 0 1px 1px;
    transform: rotate(0.35deg);
}

#disclaimer #message span {
    padding: 0 2px;
	background-image: url("../images/strike-red.png");
	background-position: center center;
    background-size: 100% 17px;
	background-repeat: no-repeat;
    color: #f8f5f3;
    display: inline-block;
    image-rendering: -webkit-optimize-contrast;
}

/* FOOTER */

footer {
    margin: 0 auto 40px auto;
    color: #313131;
    font-family: "TC October";
    font-size: 18px; font-weight: normal;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    display: block;
}

footer ul {
    margin: 0 auto;
    padding: 0;
	background-repeat: no-repeat;
    box-sizing: border-box;
    display: table;
    position: relative;
}

footer ul::after {
    content: '';
    margin-top: -3px;
    width: 100%; height: 13px;
	background-image: url("../images/line-black.png");
	background-position: center bottom;
    background-size: 100% 13px;
    background-repeat: no-repeat;
    display: block;
}

footer ul li {
    margin: 0;
    display: inline-block;
    list-style-type: none;
}

footer ul li::after {
    content: '+';
    margin: 0 5px;
    display: inline-block;
}

footer ul li a {
    background-image: none;
    font-weight: normal;
}

footer ul li a:hover {
    color: #b03b3e;
}