
@import url("normalize.css");

@font-face {
    font-family: Titillium;
    src: url("../fonts/Titillium-Regular.otf") format("opentype");
}
* {
    box-sizing: border-box;
}
html {
    font-family: Titillium, arial;
}
body {
    background: url("../images/backdrop.jpg");
    background-size: 100%;
    color: white;
    margin: 0;
    text-align: center;
}
header.version {
    position: fixed;
    left: 8px;
    top: 8px;
    font-family: Titillium, arial;
    font-size: 11px;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4px 15px 4px 15px;
    border-radius: 3px;
    display: none;
}
header.version:hover {
    background-color: rgba(0, 0, 0, 0.6);
    cursor: help;
}

/* ------ First page specifics ------ */

div.admin-login {
    position: fixed;
    top: 15px;
    right: 20px;
    font-family: Titillium, arial;
	font-size: 14px;
    padding: 12px 25px 12px 25px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    opacity: 0.3;
    display: inline-block;
    vertical-align: middle;
}
div.admin-login:hover {
    opacity: 1;
}
div.admin-login input[type=text] {
    width: 70px;
    height: 32px;
    padding: 2px;
    margin-left: 3px;
    vertical-align: middle;
}
div.admin-login input[type=password] {
    width: 90px;
    height: 32px;
    padding: 2px;
    margin-left: 3px;
    vertical-align: middle;
}
div.admin-login > button {
    margin-left: 3px;
    font-family: Titillium, arial;
    height: 32px;
    padding: 4px 15px 4px 15px;
    vertical-align: middle;
}
content.filezone {
    display: block;
    text-align: center;
    vertical-align: middle;
    font-size: 45px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -70px;
    margin-left: -280px;
}
content.filezone > span {
    text-shadow: 0 0 20px black, 0 0 40px black, 0 0 60px black;
}
content.filezone > input {
    font-size: 50px;
    font-family: Titillium, arial;
    color: white;
    width: 300px;
    border: 2px solid rgba(160, 160, 255, 0.4);
    border-radius: 5px;
    text-align: center;
	padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
}
content.filezone > div.download {
    display: inline-block;
    font-size: 25px;
    background-color: rgba(0,0,0,0.5);
    padding: 6px 20px 7px 20px;
    border-radius: 5px;
    border: 1px solid #559;
    cursor: pointer;
    margin-left: 10px;
  	margin-bottom: 15px;
    vertical-align: middle;
}
content.filezone > div.download:hover {
    background-color: rgba(200, 200, 200, 0.3);
}
content.filezone > div.download:active {
    background-color: rgba(255, 255, 255, 0.6);
    color: black;
}
content.filezone section {
    font-family: Titillium, arial;
    font-size: 20px;
    padding: 7px;
    border: 3px solid #faa;
    margin-top: 30px;
    color: #faa;
    text-shadow: 0 0 20px black, 0 0 40px black, 0 0 60px black;
    background-color: rgba(70, 0, 0, 0.7);
}
footer.fid {
    font-size: 14px;
    font-family: Titillium, arial;
    color: white;
    padding: 20px;
    background-color: rgba(0,0,0,0.5);
    display: block;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 40px;
}
footer.fid > div {
    padding: 2px;
}
footer.fid > div a {
    color: white;
    padding: 2px 5px 2px 5px;
    background-color: rgba(200,200,200,0.3);
    text-decoration: none;
    border-radius: 3px;
}

/* ------ Fileadmin page specifics ------ */

content.file-admin {
    position: relative;
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 30px;
    padding: 15px;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.4);
}
content.file-admin header {
    position: relative;
    color: white;
    top: -7px;
    display: inline-block;
    background-color: rgba(0,0,0,0.3);
    font-size: 20px;
    padding: 3px 20px 3px 20px;
    border-radius: 5px;
}
content.file-admin button.refresh {
    font-size: 13px;
    position: absolute;
    left: 225px;
    top: 17px;
	height: 23px;
//	padding: 2px 8px 2px 8px;
}
content.file-admin table {
    border-spacing: 0;
    border-collapse: separate;
    background-color: white;
    color: black;
    padding: 6px;
    font-size: 14px;
    border-radius: 5px;
    border: 4px solid rgba(0,0,0,0.7);
}
content.file-admin table th {
    text-align: left;
    padding-left: 4px;
    padding-right: 30px;
    border-bottom: 3px solid rgba(0,0,0,0.6);
}
content.file-admin table td {
    text-align: left;
    border-bottom: 1px solid #b0b0b0;
    padding: 4px 35px 4px 8px;
}
content.file-admin table td.no-files {
    text-align: center;
    padding: 30px;
    font-style: italic;
}
content.file-admin table tr:hover td.no-files {
    background-color: transparent;
}
content.file-admin table td:nth-child(4), content.file-admin table td:nth-child(6), content.file-admin table td:nth-child(7), content.file-admin table td:nth-child(8), content.file-admin table td:nth-child(9) {
    text-align: right;
    padding: 4px 8px 4px 35px;
}
content.file-admin table td:nth-child(even), content.file-admin table th:nth-child(even) {
    background-color: #eee;
}
content.file-admin table tr:hover td {
    background-color: #bbb;
    cursor: pointer;
}
content.file-admin table td.Active {
    background-color: rgba(0,120,0,0.3);
}
content.file-admin table td.Disabled {
  background-color: rgba(120,120,0,0.3);
}
content.file-admin table td.Deleted {
}
div.admin-logout {
    font-size: 13px;
    position: fixed;
    top: 10px;
    right: 15px;
    color: white;
    padding: 5px 10px 5px 10px;
    background-color: rgba(255,255,255,0.25);
    border-radius: 5px;
    vertical-align: middle;
}
div.admin-logout button {
    height: 32px;
    padding: 4px 15px 4px 15px;
    vertical-align: middle;
    margin-left: 15px;
}
#progress {
    display: none;
    position: absolute;
    right: 135px;
    top: 4px;
    width: 150px;
    margin-top: 8px;
    padding: 2px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 3px;
}
#progress > .bar {
    height: 23px;
    background: url("../images/progress.jpg");
    opacity: 0.8;
    border-radius: 3px;
}
#free-space {
    font-size: 13px;
    position: absolute;
    right: -50px;
    top: 10px;
}
#file-filter {
    font-size: 14px;
    position: absolute;
    left: 25px;
    top: 15px;
}
#file-filter select {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1px;
    color: white;
    border: 2px solid rgba(0, 0, 0, 0.3);
    margin-left: 7px;
	min-width: 150px;
}
#file-filter option {
    padding: 0 20px 0 4px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-shadow: 0 0 6px black;
}
#fileupload {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
#fileupload + label {
    display: inline-block;
    position: absolute;
    right: 18px;
    top: 13px;
    font-size: 14px;
    color: black;
    width: 105px;
    background-color: rgba(255,255,255,0.65);
    padding: 4px 5px 4px 5px;
    border-radius: 3px;
}
#fileupload + label:hover {
    background-color: rgba(255,255,255,0.9);
    cursor: pointer;
    color: black;
}
footer.file-admin {
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 280px;
    display: none;
}
footer.file-admin table {
    color: white;
    font-size: 13px;
    border-spacing: 5px;
    border-collapse: separate;
    position: absolute;
    top: 20px;
    left: 50px;
}
footer.file-admin label.delete {
    margin-left: 10px;
    font-size: 13px;
}
footer.file-admin label.delete input {
    vertical-align: middle;
}
footer.file-admin table td {
    text-align: left;
}
footer.file-admin table td:first-child {
    padding-right: 10px;
}
footer.file-admin table td:nth-child(3) {
    padding-right: 10px;
    padding-left: 30px;
}
footer.file-admin table input[type=text] {
    font-family: Titillium, arial;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    font-size: 13px;
    width: 110px;
    padding: 2px 2px 3px 6px;
}
footer.file-admin table input:not([readonly])[type=text]:focus {
	  background-color: rgba(150, 150, 255, 0.4);
}
footer.file-admin table input[type="text"]:read-only {
    border: 1px solid rgba(200,200,200,0.3) !important;
}
footer.file-admin table input[type="text"]:-moz-read-only {
    border: 1px solid rgba(200,200,200,0.3) !important;
}
footer.file-admin button.delete {
    padding: 1px;
    font-size: 11px;
}
footer.file-admin button.save {
    font-size: 14px;
    margin-left: 32px;
    font-size: 13px;
    padding: 2px 14px 4px 14px;
}
footer.file-admin header.event-log {
    position: absolute;
    top: 15px;
    right: 777px;
    font-size: 15px;
    color: white;
}
footer.file-admin div.event-log {
    position: absolute;
    top: 30px;
    right: 50px;
    width: 800px;
    height: 222px;
    color: white;
    font-size: 12px;
    text-align: left;
    padding: 8px;
    overflow-y: auto;
}
footer.file-admin div.event-log item {
    display: block;
    padding: 3px;
    background-color: rgba(255,255,255,0.2);
    margin-bottom: 2px;
}
footer.file-admin div.event-log item span {
    color: grey;
    margin-left: 10px;
}
footer.file-admin div.event-log item:hover {
    background-color: rgba(255,255,255,0.7);
    color: black;
}
footer.file-admin div.close {
	font-size: 13px;
    position: absolute;
    right: 5px;
    top: 3px;
    background-color: #333;
    padding: 2px;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
}
footer.file-admin div.close:hover {
    cursor: pointer;
    background-color: #555;
}
footer.file-admin span.mms {
    font-size: 14px;
    margin-left: 10px;
    padding: 1px;
    padding-left: 6px;
    padding-right: 6px;
    cursor: pointer;
}
footer.file-admin span.mms:hover {
    background-color: #333;
}
dialog.file-admin {
    display: none;
    width: 800px;
    height: 600px;
    position: absolute;
    top: 65px;
    border: 20px solid black;
    background: url('../images/backdrop.jpg');
    background-size: cover;
    text-align: center;
    cursor: pointer;
}
dialog.file-admin div {
    position: relative;
    border: 3px dashed white;
    width: 530px;
    height: 400px;
    margin: 0 auto;
    margin-top: 80px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    text-align: center;
}
dialog.file-admin header {
    font-size: 16px;
    position: absolute;
    left: 10px;
    top: 8px;
}
dialog.file-admin footer {
    font-size: 14px;
    position: absolute;
    right: 10px;
    bottom: 8px;
}
dialog.file-admin h2 {
    margin-top: 40px;
    font-size: 20px;
    font-weight: normal;
}
dialog.file-admin h1 {
    font-size: 55px;
    margin-top: -15px;
    padding-bottom: 15px;
}
dialog.file-admin table {
    margin: 0 auto;
    font-size: 18px;
}
dialog.file-admin table th {
    text-align: left;
    padding: 3px;
    padding-right: 30px;
    font-weight: normal;
}
dialog.file-admin table td {
    text-align: left;
    font-weight: bold;
    padding: 3px;
    padding-left: 5px;
}

/* ------ Banned page specifics ------ */

content.banned {
    font-size: 20px;
    font-family: Titillium, arial;
    color: white;
    padding: 14px;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    display: block;
    text-align: center;
    top: 50%;
    width: 100%;
    margin-top: -100px;
    padding-bottom: 40px;
}
content.banned > a {
    color: white;
    padding: 3px 8px 3px 8px;
    background-color: rgba(200,200,200,0.3);
    text-decoration: none;
    border-radius: 3px;
}
content.banned > h1 {
    font-size: 35px;
}
