@viewport {
    zoom: 1.0;
    width: device-width;
}

@font-face {
    font-family: 'OswaldRegular';
    src: url('/content/fonts/oswald-regular-webfont.eot');
    src: url('/content/fonts/oswald-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('/content/fonts/oswald-regular-webfont.woff') format('woff'),
    url('/content/fonts/oswald-regular-webfont.ttf') format('truetype'),
    url('/content/fonts/oswald-regular-webfont.svg#webfont') format('svg');
}

body, html {
    background: #222;
    margin: 0;
    font-size: 1em;
    font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
    color: #aaa;
}

h1 {
    margin-left: 20px;
    font-family: "OswaldRegular", "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
    text-shadow: 2px 2px 2px #000;
    margin-bottom: 0;;
}

h2 {
    margin-left: 20px;
    margin-top: 0;
    font-weight: 200;
    font-size: 0.8em;
    margin-bottom: 2em;;
}

h3 {
    font-variant: small-caps;
    font-weight: normal;
    font-size: 1.3em;
}

h4 {
    margin-left: 10px;
}

div.list, div#dirlist {
    padding: 20px 35px;
    background: #111 no-repeat 99% bottom;
    background-size: contain;
}

div.foot {
    color: #777;
    padding: 20px 35px;
}

.section {
    text-shadow: 2px 2px 2px #000;
    display: block;
    margin-top: 1em;
    font-size: 1.1em;
    margin-left: 1em;;
    font-family: "OswaldRegular", "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
}

.list a {
    display: inline-block;
    padding: 1px 3px;
    color: #bbbbbb;
    text-decoration: none;
}

.list a:before, .list a:hover:before, .list a:after, .list a:hover:after {
    color: #4D4D4D;
}

.list a:before {
    content: "「";
}

.list a:hover:before {
    content: "『";
    color: #ddd;
}

.list a:after {
    content: "」"
}

.list a:hover:after {
    content: "』";
    color: #ddd;
}

.list a:hover {
    box-shadow: 0 1px 0 #fff;
    transition: all .3s ease;
    color: #FFF;
}

.desc {
    display: block;
    margin-bottom: 1em;
}

.textfield {
    background-color: #000000;
    color: #BBB;
    padding: 3px;
    border-radius: 2px;
    display: inline-block;
    width: 300px;
    border: 1px solid #4D4D4D;

}

#qrtext:focus {
    color: #FFF;
}

#qrc canvas {
    width: 300px;
    margin: 3px;
    display: block;
    border: 1px solid black;
    background-color: #fff;
    padding: 10px;
}

abbr {
    border-bottom: 1px dashed #fcfff4;
}

th {
    margin-left: 4px;
    text-align: right;
    border-right: 1px solid #4D4D4D;
}

td, th {
    padding: 2px;
}

table {
    border-collapse: collapse;
    border-spacing: 10px;
    margin: 3px;
}

li img {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    border: 2px solid black;
    max-width: 50px;
    max-height: 20px;
}

li img:hover {
    max-width: 100%;
    max-height: 100%;
}

#dirlist table {
    border-collapse: collapse;
    border-spacing: 1px;
}

#dirlist th {
    text-align: left;
    border-bottom: 2px solid darkgray;
    color: #aaa;
    font-family: "Arial Narrow", Arial, sans-serif;
}

#dirlist td, #dirlist th {
    padding: 2px 4px;
}

#dirlist tr {
    cursor: pointer;
}

#dirlist a {
    text-decoration: none;
    color: #aaa;
}

#dirlist tr:hover td {
    box-shadow: 0 1px 0 #fff;
    transition: all .3s ease;
    color: #FFF;
}

#dirlist tr:hover td a {
    color: #fff;
}

#dirlist tr.new td {
    margin-top: 4px;
}

#dirlist tr.new td a:after {
    content: "NEW";
    color: gold;
    font-size: 60%;
    vertical-align: top;
    margin-left: 2px;
}

.drop_fileover {
    background-color: white;
    color: black !important;
}

.drop_error {
    background-color: darkred !important;
    color: white !important;
}

#dirlist tr.new td a {
    color: #fff;
}

@media screen and (max-device-width: 720px) and (orientation: portrait) {
    #dirlist td:nth-child(3), #dirlist td:nth-child(4), #dirlist th:nth-child(3), #dirlist th:nth-child(4) {
        display: none;
    }

    /*Improve for nokia*/
    /*    #dirlist td {
            padding: 6px !important;
        }*/
    #dirlist th {
        display: none;
    }

    #dirlist td a {
        font-size: .8em;
    }

    #dirlist table {
        margin: 0 !important;
    }

    #dirlist {
        padding: 3px !important;
    }

    h2 {
        margin-bottom: 1em !important;
        margin-top: 1em !important;
    }

}

#qrcode {
    display: none;
    height: 300px;
    width: 300px;
    background-color: #fff;
    padding: 10px;
    position: absolute;
    right: 24px;
    bottom: 24px;
}

.stattable {
    border-collapse: separate;
    border-spacing: 0 3px;
}

.stattable th {
    border-bottom: 1px solid grey;
    border-right: none;
    font-weight: normal;
    color: grey;
    text-align: left;
    border-left: none;
}

.stattable tr.danger>td {
    background-color: rgba(139, 0, 0, 0.31) !important;
}

.stattable tr.danger>td>span {
    color: red;
}

.stattable tr.danger:hover>td {
    background-color: rgba(139, 0, 0, 0.67) !important;
}

.stattable tr.success>td {
    background-color: rgba(0, 100, 0, 0.3);
}

.stattable tr.success:hover>td {
    background-color: rgba(0, 100, 0, 0.67);
}

.stattable tr.success>td>span {
    color: lawngreen;
}

.stattable td {
    padding: 5px;
}

/* SCROLLBARS */
::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 2px;
    background-color: #555555;
}

::-webkit-scrollbar
{
    width: 12px;
    background-color: #000000;
}

.scrollbar
{
    margin-left: 30px;
    float: left;
    height: 300px;
    width: 65px;
    background: #F5F5F5;
    overflow-y: scroll;
    margin-bottom: 25px;
}

::-webkit-scrollbar-thumb
{
    border-radius: 8px 2px 8px 2px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #1c1e22;
}

#clip-group {
    background-color: #000000;
    color: #BBB;
    padding: 3px;
    border-radius: 2px;
    display: inline-block;
    width: 150px;
    border: 1px solid #4D4D4D;
    margin-top: 10px;
}