﻿html, body {
    height: calc(100% - 8px);
}
body {
    background-color: #222;
    font-family: 'Open Sans';
    cursor: default;
    margin: 0;
    padding: 8px;
}

div.bloc, div.image {
    vertical-align: top;
    background-color: #000;
    border: solid 1px #666;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
}
div.hdr {
    display: block;
}
div.data, div.image {
    display: inline-block;
}
div.data {
    width: calc(100% - 409px);
    overflow-x: auto;
}
div.image {
    width: 360px;
    height: auto;
    margin-right: 8px;
    text-align: left;
}
div.image span {
    font-family: 'Syne Mono';
    font-size: 12pt;
    font-weight: normal;
    color: #eee;
    display: inline-block;
}
div.image label.rub {
    display: inline-block;
    font-size: 9pt;
    width: 35%;
}
div.image img {
    border-top: solid 1px #333;
    margin-top: 4px;
    width: 100%;
}
table {
    background-color: #000;
    cursor: default;
    font-family: 'Syne Mono';
    width: 100%;
}
tbody tr:hover, tbody tr.sel:hover {
    background-color: #6c6;
}
tbody tr:hover td, tbody tr.sel:hover td {
    color: #000;
    font-weight: bold;
}
tbody tr:hover input {
    color: #000;
}
tbody tr.sel td {
    color: #6c6;
    font-weight: bold;
}
th {
    padding: 8px 9px 8px 8px;
}
td {
    padding: 8px 8px 8px 8px;
}
th {
    color: #6c6;
    font-size: 9pt;
    font-weight: bold;
    border-bottom: solid 1px #444;
}
td {
    color: #eee;
    font-size: 12pt;
    font-weight: normal;
    border-bottom: solid 1px #444;
    white-space: nowrap;
}
.l {
    text-align: left;
}
.c {
    text-align: center;
}
.r {
    text-align: right;
}
.chrono {
    font-family: "Syne Mono";
    font-size: 12pt;
}
.small {
    font-size: 9pt;
    font-weight: bold;
}
.green {
    color: #6c6;
}
td.del {
    font-size: 9pt;
}
td.best {
    color: #6c6;
    font-weight: bold;
}

label {
    color: #6c6;
    font-family: 'Syne Mono';
    font-size: 9pt;
    font-weight: bold;
}
.lst {
    font-family: 'Syne Mono';
    font-size: 12pt;
    background-color: #000;
    color: #eee;
    border: none;
    border-bottom: solid 1px #444;
    height: 28px;
    padding: 2px 8px;
    margin-right: 64px;
}

div.hdr input.btn {
    background-color: #333;
    border: solid 1px #666;
    padding: 4px 16px;
    font-family: 'Syne Mono';
    font-size: 11pt;
    color: #eee;
    vertical-align: top;
    height: 30px;
}
div.hdr input[type=file] {
    font-family: 'Syne Mono';
    font-size: 9pt;
    font-weight: bold;
    color: #eee;
    width: 300px;
}
div.hdr input[type=text] {
    background-color: #222;
    border-top: solid 1px #666;
    border-bottom: solid 1px #666;
    border-left: solid 1px #666;
    border-right: none;
    font-family: 'Syne Mono';
    font-size: 12pt;
    font-weight: normal;
    height: 25px;
    color: #eee;
    outline: none;
    cursor: default;
    padding-left: 8px;
}
div.hdr i.fa-angle-down {
    background-color: #222;
    border-top: solid 1px #666;
    border-bottom: solid 1px #666;
    border-left: none;
    border-right: solid 1px #666;
    height: 27px;
    line-height: 27px;
    vertical-align: top;
}
div.hdr i.fa-search {
    top: 1px;
}
div.hdr input[type=text].track {
    width: 250px;
}
div.hdr input[type=text].car {
    width: 180px;
}
div.data input {
    border: none;
    background-color: transparent;
    color: #eee;
    cursor: pointer;
}

option.dark {
    color: #888;
}
option.light {
    color: #eee;
}

span.vers {
    color: #6c6;
    font-family: 'Syne Mono';
    font-size: 12pt;
    font-weight: bold;
    display: block;
    margin: 0 0 8px 0;
}
#divUpload {
    display:inline-block;
    vertical-align: top;
    width: auto;
}
#divUpload input[type=file] {
    display: none;
}
#divUpload div {
    color: #eee;
    cursor: pointer;
    display: inline-block;
    font-family: 'Syne Mono';
    font-size: 12pt;
    font-weight: normal;
    height: 28px;
    line-height: 28px;
    margin: 0 8px 0 0;
    padding-left: 12px;
    position: relative;
    width: 250px;
    background-color: #222;
    border: solid 1px #666;
}

div.select {
    max-height: 50%;
    overflow-y: auto;
    position: absolute;
    background-color: #000;
    border-left: solid 1px #666;
    border-right: solid 1px #666;
    border-bottom: solid 1px #666;
    border-top: solid 1px #666;
    z-index: 10;
    box-shadow: 3px 3px 6px #000;
    padding: 2px 0 2px 2px;
}
div.track {
    width: 278px;
    top: 74px;
    left: 70px;
    background-color: #222;
}
div.car {
    width: 208px;
    top: 74px;
    left: 457px;
    background-color: #222;
}
div.select input {
    background-color: #222;
    border: none;
    border-bottom: solid 1px #444;
    padding: 8px;
    font-family: 'Syne Mono';
    font-size: 12pt;
    width: 100%;
    text-align: left;
}
div.select input.light:hover, div.select input.dark:hover {
    background-color: #6c6;
    color: #000 !important;
    font-weight: bold;
}
div.select input:last-child {
    border-bottom: none;
}
div.select input.title {
    color: #6c6;
    margin-top: 24px;
}
div.select input.title:first-child {
    margin-top: 0px;
}
div.select input.dark {
    color: #888;
    padding-left: 32px;
}
div.select input.light {
    color: #eee;
    padding-left: 32px;
}
div.select::-webkit-scrollbar {
    width: 8px;
}
div.data::-webkit-scrollbar {
    height: 8px;
}
div.select::-webkit-scrollbar-thumb, div.data::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 4px;
    border: solid 2px #000;
}
div.select::-webkit-scrollbar-track, div.data::-webkit-scrollbar-track {
    background: #222;
}

.fa-angle-down {
    color: #eee;
    height: 22px;
    border-bottom: solid 1px #333;
    margin-right: 48px;
    padding-right: 8px;
    cursor: default;
}
div.track-info {
    height: 30px;
}
div.track-info-left, div.track-info-right {
    display: inline-block;
}
div.track-info-left {
    width: 56%;
}
div.track-info-right {
    width: 42%;
}
div.track-info-left span {
    width: 65%;
}
div.track-info-right span {
    width: 65%;
    text-align: right;
}

div.choice {
    display: inline-block;
    margin: 2px 0;
}
div.choice>* {
    display: inline-block;
}

@media screen and (max-width: 640px) {
    div.track {
        width: 278px;
        top: 96px;
        left: 17px;
        background-color: #222;
    }

    div.car {
        width: 208px;
        top: 151px;
        left: 17px;
        background-color: #222;
    }
    div.bloc, div.image {
        width: calc(100% - 16px);
    }
    div.choice {
        display: block;
    }
    #btnUpload {
        margin-top: 4px;
    }
}