body {
	margin: 0px;
	min-width: 800px;
	font-family: verdana, sans-serif;
	background-color: #222;
	color: #ccc;
}

a {
	color: #fff;
}

a:hover {
	color: #aaa;
}

nav {
	/*overflow: hidden;*/
	width: 100%;
	height: 50px;
	background-color: #aaa;
}

nav ul.main {
	height: 100%;
	display: block;
	font-size: 16px;
	margin: 0px;
}

nav ul.main li {
	height: 100%;
	display: inline-block;
	list-style-type: none;
	vertical-align: middle;
	text-align: center;
}

nav ul.main li a.current {
	background-color: #ddd;
}

nav ul.main li a {
	display: block;
	height: 100%;
	line-height: 3em;
	cursor: pointer;
	text-decoration: none;
	font-weight: bold;
	padding: 0px 15px;
	color: #000;
}


nav ul.main li a:hover {
	color: #000;
	background-color: #bbb;
}

nav a.logo {
	float: left;
	width: 50px;
	height: 50px;
	margin-left: 20px;
}

aside {
	float: left;
	border-right: 2px solid #AAA;
	width: 240px;
	top: 60px;
	padding-left: 20px;
}

aside section {
	padding-bottom: 20px;
}

aside input {
	width: 200px;
	margin-top: 8px;
	margin-bottom: 8px;
}

aside section.menu a {
	font-size: 18px;
	line-height: 1.5;
}

section.main {
	margin-top: 10px;
}

section.main_indent {
	margin-top: 10px;
	margin-left: 230px;
}

section.main-full {
	margin: 10px 20px 0px 20px;
}

section.infobox {
	border: 2px solid #aaa;
	background-color: #444;
	padding: 5px;
	margin-right: 20px;
}

section.infobox div.infobox-header {
	font-size: 14pt;
	font-weight: bold;
	margin-bottom: 6px;
}

section.content {
	padding-left: 10px;
	display: grid;
}

section.front {
	position: absolute;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	width: 800px;
	height: 300px;
	margin: 200px auto 0px auto;
}

section.sideheader {
	margin-top: 0.5em;
	padding: 0px;
	font-weight: bold;
	line-height: 1.0;
}

div.ribbon {
	background-image: linear-gradient(to right, #222, #555, #555, #222);
}

div.ribbon h3 {
	padding-top:15px;
}

div.ribbon div.menu {
	line-height: 2.7;
}

div.ribbon div.info {
	font-size: 14px;
	line-height: 2;
}

div.formblock {
	float: left;
	display: block;
	width: 350px;
	text-align: center;
	background-color: #444;
	border: solid #000 1px;
	border-radius: 15px;
	padding: 15px;
	margin: 20px 20px 20px 20px;
}

div.formblock h2 {
	margin: 10px;
}

div.formblock form > input {
	width: 80px; 
	margin-top: 10px; 
	margin-bottom: 10px; 
	margin-left: auto; 
	margin-right: auto;
}

div.cform {
	display: table;
	margin: auto;
	text-align: center;
}

div.cform p {
	display: table-row;
}

div.cform p label {
	display: table-cell;
	width: 150px;
	text-align: right;
	padding-right: 8px;
}

div.cform p input, select {
	display: table-cell;
	width: 150px;
}

div.imagecount {
	line-height: 4;
	font-size: 18px;
}

div.cform input, select {
	margin: 5px;
}

div.tag span {
	margin-left: 5px;
	color: #AAA;
	font-size: 12px;
}

div.tag div.tagname {
	display: inline-flex;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 200px;
	white-space: nowrap;
}

div.tag a {
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
}

div.thumbnail {
	height: 200px;
	width: 200px;
	padding: 10px;
	position: relative;
	display: inline-block;
	word-wrap: break-word;
	vertical-align: top;
}

div.thumbnail a img {
	border: 3px solid black;
	border-radius: 5px;
	vertical-align: middle;
}

div.thumbnail span.image-tag {
	position: absolute;
	left: 0px;
	top: 20px;
	background-color: #aaa;
	text-align: center;
	border-radius: 5px;
	color: #000;
	padding: 3px 5px;
	font-size: 60%;
	font-weight: 700;
	border: 1px solid #000;
}

div.uploadbox {
	margin-right: 200px;
	min-height: 200px;
	padding: 30px;
	border: 2px dashed #ccc;
	border-radius: 10px;
}

.is-dragover {
	background-color: #666;
}

div.uploadbox div.fileupload {
	border-top: 2px solid #AAA;
	margin: 5px;
	padding: 5px;
	height: 100px;
}

div.uploadbox div.fileupload img {
	width: 90px;
	height: 90px;
}

div.uploadbox div.fileupload .col {
	float: left;
	margin: 3px;
	line-height: 25px;
}

div.progress {
	display: block;
	height: 1.5em;
	width: 200px;
	border: 1px #000 solid;
	border-radius: 6px;
	overflow: hidden;
}

div.progress-fill {
	display: block;
	text-align: center;
	font-size: 1em;
	height: 100%;
	width: 0%;
	background-color: #FF0;
}

section.modal {
	display: none;
	position:fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height:100%;
	z-index: 1;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.9);
}

section.modal-content {
	background-color: #222;
	margin: 200px auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	height: 50%;
}

table {
	border-collapse:collapse;
	width: 100%;
}

th {
	text-align: left;
	padding: 5px 10px;
}

tr:nth-child(even) {
	background-color: #363636;
}

tr:nth-child(odd) td {
	background-color: #2B2B2B;
}

td {
	padding: 5px 10px;
	border-bottom: 1px solid #ccc;
}

table.tagtable td:nth-child(1) {
	text-align: right;
	width: 75px;
}

table.tagtable td:nth-child(2) {
	text-align: left;
	width: 50%;
}

table.tagtable td:nth-child(3) {
	text-align: left;
}

.user-dropdown {
	position: relative;
	display: inline-block;
}

.user-dropdown-content {
	display: none;
	position: absolute;
	right: 0px;
	background-color: #f1f1f1;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.user-dropdown-content a:hover {
	background-color: #ddd;
}

.user-dropdown:hover .user-dropdown-content {
	display: block;
}

.user-dropdown:hover .dropbtn {
	background-color: #3e8e41;
}

section.pagenav a {
	display: inline-block;
	border: 1px solid #bbb;
	border-radius: 5px;
	padding: 5px;
	margin: 0px 2px;
	text-decoration: none;
	background-color: #aaa;
	color: #000;
}

section.pagenav a.current {
	background-color: #fff;
	border-color: #fff;
	font-weight: bold;
}

section.footer {
	clear: both;
	text-align: center;
	margin: 15px;
	border-top: solid 2px #444;
	padding: 10px;
}