* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #b8b6b4;
    background-color: #000000;
    background-image: linear-gradient(to bottom, #0a0e13 0%, #000000 400px);
    background-repeat: no-repeat;
}

a {
    color: #e67e22;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

#wrapper {
    width: 94%;
    max-width: 1200px;
    min-width: 640px;
    margin: 20px auto;
    background-color: #1b1f24;
    border: 1px solid #000000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

#header {
    background-color: #171a21;
    background-image: linear-gradient(to bottom, #2a2e35 0%, #171a21 60%, #101216 100%);
    border-bottom: 1px solid #000000;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 4px rgba(0, 0, 0, 0.6);
    padding: 14px 25px 0 25px;
}

.header-inner {
    overflow: hidden;
    padding-bottom: 12px;
}

#header h1 {
    float: left;
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.top-nav {
    float: right;
    list-style: none;
    margin-top: 4px;
}

.top-nav li {
    display: inline-block;
    margin-left: 22px;
}

.top-nav li a {
    color: #94918d;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
}

.top-nav li a:hover {
    color: #ffffff;
}

#header .subtitle {
    clear: both;
    font-size: 11px;
    color: #6b7076;
    padding: 8px 0;
    border-top: 1px solid #05070a;
}

#middle {
    width: 100%;
    overflow: hidden;
    background-color: #16181c;
}

#sidebar {
    float: left;
    width: 220px;
    background-color: #24272c;
    background-image: linear-gradient(to bottom, #2a2d33 0%, #1c1e22 100%);
    border-right: 1px solid #000000;
    padding: 18px 14px;
}

#sidebar h2 {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8f98a0;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #000000;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

#sidebar ul {
    list-style: none;
}

#sidebar ul li {
    margin-bottom: 5px;
}

#sidebar ul li a {
    display: block;
    padding: 8px 10px;
    color: #c6d4df;
    font-size: 12px;
    background-color: #3a3f47;
    background-image: linear-gradient(to bottom, #4a4f58 0%, #2c2f35 100%);
    border: 1px solid #050607;
    border-radius: 2px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.5);
}

#sidebar ul li a:hover {
    background-image: linear-gradient(to bottom, #4c96d1 0%, #17415e 100%);
    color: #ffffff;
    text-decoration: none;
}

#sidebar ul li a.current {
    background-color: #cd6b1e;
    background-image: linear-gradient(to bottom, #e08a3c 0%, #a85a1a 100%);
    color: #ffffff;
    border-color: #4a2c0e;
    border-left: 3px solid #ffb066;
    padding-left: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.5);
}

#sidebar ul li a.current:hover {
    background-image: linear-gradient(to bottom, #e08a3c 0%, #a85a1a 100%);
}

#sidebar ul li ul {
    margin-top: 6px;
    margin-left: 8px;
}

#sidebar ul li ul li a {
    font-size: 11px;
    background-image: linear-gradient(to bottom, #33363c 0%, #1e2024 100%);
}

#content {
    margin-left: 252px;
    padding: 20px 25px;
    background-color: #16181c;
}

.content-tabs {
    background-color: #3c3c3c;
    background-image: linear-gradient(to bottom, #464646 0%, #2e2e2e 100%);
    border: 1px solid #000000;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 3px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    overflow: hidden;
}

.content-tabs .tab {
    display: block;
    float: left;
    padding: 11px 16px;
    color: #cfcfcf;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
    border-right: 1px solid #1a1a1a;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.content-tabs .tab:hover {
    background-image: linear-gradient(to bottom, #55555a 0%, #3a3a3d 100%);
    color: #ffffff;
    text-decoration: none;
}

.content-tabs .tab.active {
    background-color: #4c86b3;
    background-image: linear-gradient(to bottom, #e08a3c 0%, #a85a1a 100%);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

#content h2 {
    font-size: 19px;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

#content h3 {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e67e22;
    margin-top: 22px;
    margin-bottom: 10px;
    padding: 6px 10px;
    background-color: #23262b;
    background-image: linear-gradient(to bottom, #2b2e34 0%, #1c1e22 100%);
    border: 1px solid #000000;
    border-radius: 2px;
}

#content p {
    margin-bottom: 12px;
}

#content ul,
#content ol {
    margin-left: 25px;
    margin-bottom: 12px;
}

#content ul li,
#content ol li {
    margin-bottom: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    background-color: #1e2126;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

caption {
    text-align: left;
    font-weight: bold;
    margin-bottom: 6px;
    color: #8f98a0;
}

table th,
table td {
    border: 1px solid #000000;
    padding: 8px 10px;
    text-align: left;
}

table thead th {
    background-color: #3a3f47;
    background-image: linear-gradient(to bottom, #4a4f58 0%, #2c2f35 100%);
    color: #e67e22;
    text-transform: uppercase;
    font-size: 11px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
}

table tbody tr:nth-child(even) {
    background-color: #262a30;
}

table tfoot td {
    font-weight: bold;
    background-color: #101216;
    color: #ffffff;
}

video,
iframe {
    display: block;
    max-width: 100%;
    margin-bottom: 15px;
    border: 4px solid #2c2f35;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

img.thumb {
    display: block;
    max-width: 100%;
    height: auto;
    border: 4px solid #2c2f35;
    border-radius: 2px;
    background-color: #101216;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 12px;
}

.buttons-row {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 9px 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
    border: 1px solid #000000;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.btn-primary {
    background-color: #2a6ea6;
    background-image: linear-gradient(to bottom, #4c96d1 0%, #17415e 100%);
    color: #cfe9ff;
    border-color: #0d2436;
}

.btn-primary:hover {
    background-image: linear-gradient(to bottom, #62aee0 0%, #1e567d 100%);
    color: #ffffff;
    text-decoration: none;
}

.btn-secondary {
    background-color: #4a4f58;
    background-image: linear-gradient(to bottom, #5a5f68 0%, #34373d 100%);
    color: #e2e2e2;
    border-color: #000000;
}

.btn-secondary:hover {
    background-image: linear-gradient(to bottom, #6b7078 0%, #44474d 100%);
    color: #ffffff;
    text-decoration: none;
}

.btn[disabled] {
    background-image: linear-gradient(to bottom, #4a4a4a 0%, #2e2e2e 100%);
    color: #797979;
    cursor: not-allowed;
    box-shadow: none;
    text-shadow: none;
}

fieldset {
    border: 1px solid #000000;
    background-color: #1e2126;
    background-image: linear-gradient(to bottom, #23262b 0%, #1a1c20 100%);
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 4px rgba(0, 0, 0, 0.6);
    padding: 18px;
    margin-bottom: 20px;
}

legend {
    padding: 2px 10px;
    color: #e67e22;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    background-color: #2c2f35;
    border: 1px solid #000000;
    border-radius: 2px;
}

label {
    color: #b8b6b4;
    font-size: 12px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    max-width: 320px;
    padding: 7px 8px;
    margin-top: 4px;
    background-color: #101216;
    background-image: linear-gradient(to bottom, #0c0d10 0%, #16181c 100%);
    border: 1px solid #000000;
    border-radius: 2px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 4px rgba(230, 126, 34, 0.6);
}

textarea {
    resize: vertical;
}

input[type="range"] {
    width: 100%;
    max-width: 320px;
    margin-top: 4px;
}

input[type="color"] {
    vertical-align: middle;
    margin-left: 8px;
    border: 1px solid #000000;
    border-radius: 2px;
    background-color: #101216;
    width: 40px;
    height: 28px;
    padding: 0;
}

.checks-row {
    margin-bottom: 12px;
}

.checks-row label {
    display: inline-block;
    margin-bottom: 4px;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 6px;
    vertical-align: middle;
}

#footer {
    clear: both;
    background-color: #101216;
    background-image: linear-gradient(to bottom, #16181c 0%, #0a0b0d 100%);
    color: #6b7076;
    text-align: center;
    padding: 14px;
    font-size: 11px;
    border-top: 1px solid #000000;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
