* { box-sizing: border-box; }
body {
    font-family: "Palatino", Georgia, Times New Roman;
    background-color: #000000;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center top;
    background-image: url('/images/mages.jpg');
    color: #ffffff;
    margin: 0;
    min-height: 100%;
}
body.waiting * { 
    cursor: wait !important;
}
a {
    text-decoration: none;
    color: #ffff00;
}
h2 {
    text-align: center;
}
a:active, a:visited { color: #ffff00; }
a:hover { color: #FF6600; }
.container {
    width: 800px;
    min-height: 100%;
    margin: 0 auto;
    background-repeat: repeat;
    background-image: url('/images/fire.png');
    border-left: 1px solid #FFFF00;
    border-right: 1px solid #FFFF00;
}
#logo {
    text-align: center;
    display: block;
}
#servertype {
    display: block;
    height: 40px;
    padding: 8px;
    color: #ffff00;
    font-weight: 800;
    margin-bottom: -40px;
    font-size: 22px;
    text-align: right;
    text-transform: uppercase;
}
#navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-size: 18px;
}
#navbar a {
    padding: 8px;
    margin: 0;
    border: 1px solid #ffff00;
    background-image: linear-gradient(to top, rgba(255, 102, 0, 0.4), rgba(255, 102, 0, 0));
    flex-grow: 1;
    text-align: center;
    text-transform: uppercase;
}
#navbar a:hover {
    background: rgba(255, 102, 0, 0.3);
    border: 1px solid #FF6600;
}
#content {
    margin: 10px;
    margin-bottom: 40px;
    min-height: calc(100vh - 430px);
}
#footer {
    border-top: 1px solid #ffff00;
    display:block;
    text-align:center;
    padding:40px 0;
}
.info, .error, .success {
    text-align: center;
    display: block;
    width: 500px;
    padding: 8px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    margin: 4px auto;
    color: #ffffff;
    border: 1px solid #ffffff;
}
.info { background-color: #1b7bb3bb; }
.error { background-color: #cc2c2cc5; }
.success { background-color: #42a723c7; }
form {
    width: 322px;
    margin: 12px auto;
}
label { margin: 10px 0 0 5px; }
input[type=text], input[type=password], input[type=submit], input[type=number] {
    display: block;
    width: 320px;
    height: 38px;
    margin: 5px;
    text-align: center;
    color: #FFFF00;
    border: 1px solid #FFFF00;
    border-radius: 4px;
    background-color: #4C0000;
    background: rgba(255, 102, 0, 0.2);
    font-family: "Palatino", Georgia, Times New Roman;
    font-size: 18px;
}
input[type=submit] { cursor: pointer; margin-top: 12px;}
input:hover, input:focus {
    color: #ffffff;
    border: 1px solid #FF6600;
    background-color: rgba(255, 102, 0, 0.2);
}

table {
    margin: 5px auto;
    width: 90%;
    background: rgba(255, 102, 0, 0.2);
    border-radius: 2px;
    border-spacing: 0;
    text-shadow: 1px 1px #030303, 2px 1px #030303;

}
th {
    color: #ffffff;
    border-bottom: solid 2px #ffff00ce;
    padding: 4px 0;
}
td {
    padding: 3px 0;
    text-align: center;
    border-top: solid 1px #ffff00ce;
}

.gold, .silver, .bronze {
    font-weight: 700;
}
.gold {
    color: #e6b226;
}
.silver {
    color: #a8a8a8;
}
.bronze {
    color: #977330;
}
.unranked {
    color: #eeeeee;
}

.usertable>tbody>tr>td, .usertable>tbody>tr>th {
    padding: 4px 6px;
}
.usertable>tbody>tr>td:nth-child(1), .usertable>tbody>tr>td:nth-child(4),
.usertable>tbody>tr>th:nth-child(1), .usertable>tbody>tr>th:nth-child(4) {
    text-align: right;
}
.usertable>tbody>tr>td:nth-child(2), .usertable>tbody>tr>td:nth-child(3),
.usertable>tbody>tr>th:nth-child(2), .usertable>tbody>tr>th:nth-child(3) {
    text-align: left;
}

.received {
    color: #58ee33;
    text-shadow:1px 1px #000000, -1px -1px #000000;
}
.sent {
    color: #e75757;
    text-shadow:1px 1px #000000, -1px -1px #000000;
}