@font-face {
    font-family: 'georgia';
    src: url('/media/font/Georgia.ttf') format('truetype');
}

@font-face {
    font-family: 'georgia-bold';
    src: url('/media/font/Georgia-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'dejavu';
    src: url('/media/font/DejaVuSans.ttf') format('truetype');
}

html, body {
    font-family: 'georgia';
    width: 100%;
    height: 100%;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #eeeeee;
    background-color: #333333;
}

a, a:link, a:visited, a:active {
    color: #3388cc;
    text-decoration: none;
    outline: none;
}

a:hover {
    color: #cd4f50;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0px;
}

img {
    display: block;
}

#main {
}

#header {
}

#footer {
    height: 50px;
    margin-top: 10px;
}

/*
.menu-button {
    padding: 0px 3px;
    background-color: #444444;
    cursor: pointer;
}

.menu-button:hover {
    background-color: #666666;
}
*/

#view-sidebar {
    height: 100%;
}

#view-map {
    height: 100%;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 800px;
}

#timeline {
    position: sticky;
    position: -webkit-sticky;
    bottom: 0;
    z-index: 1000;
    background-color: #333333;
}

.menu-item {
    padding: 5px 10px;
    color: #333333;
    background-color: #cccccc;
    cursor: pointer;
}

.menu-item:hover {
    background-color: #999999;
}

.list-item {
    padding: 5px 8px;
    color: #d5c3a4;
}

.list-item:hover {
    background-color: #444444;
}

.sidebar {
    width: 20%;
}

.sidebox {
    /*background-color: #444444;*/
}

.sidebox-header {
    padding: 0px 10px;
    background-color: #666666;
    font-family: 'georgia-bold';
}

.sidebox-toolbar {
    padding: 5px 0px;
}

.sidebox-items {
    padding: 5px 10px 5px 0px;
    max-height: 250px;
    overflow-y: scroll;
    
    /*scrollbar-width: none;                                                      /* Firefox */
    -ms-overflow-style: none;                                                   /* Internet Explorer 10+ */
}

.icon-use {
    width: 34px;
    height: 34px;
}

::-webkit-scrollbar {                                                           /* WebKit */
    width: 0;
    height: 0;
}

.pointer {
    cursor: pointer;
}

.center {
    text-align: center;
}

.italic {
    font-style: italic;
}

.mini {
    font-size: 90%;
}

.spread {
    width: 100%;
}

.high {
    height: 100%;
}

.top-5 {
    margin-top: 5px;
}

.top-10 {
    margin-top: 10px;
}

.pad-3 {
    padding: 3px;
}

.pad-5 {
    padding: 5px;
}

.pad-10 {
    padding: 10px;
}

.pad-20 {
    padding: 20px;
}

.left-30 {
    margin-left: 30px;
}

.left-40 {
    margin-left: 40px;
}

.left-50 {
    margin-left: 50px;
}

.hidden {
    display: none;
}

.label {
    padding: 2px 5px;
    /*border-radius: 6px;*/
}

.box {
    background-color: #444444;
}

.content {
    background-color: #eeeeee;
    padding: 10px;
}

/* Colors */
.gray {
    color: #999999;
}

.red {
    color: #a7011d;
}

.green {
    color: #5a9a00;
}

.blue {
    color: #0072b6;
}

.beige {
    color: #d5c3a4;
}

/* FlexBox */
.flex {
    display: flex;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-gap-3 {
    gap: 3px;
}

.flex-gap-5 {
    gap: 5px;
}

.flex-gap-10 {
    gap: 10px;
}

.flex-gap-20 {
    gap: 20px;
}

.flex-grow {
    flex-grow: 1;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-align-top {
    align-items: flex-start;
}

.flex-align-center {
    align-items: center;
}

.flex-align-bottom {
    align-items: flex-end;
}

.flex-align-stretch {
    align-items: stretch;
}

.flex-justify-spread {
    justify-content: space-between;
}

.flex-justify-evenly {
    justify-content: space-evenly;
}

.flex-justify-around {
    justify-content: space-around;
}

.flex-justify-center {
    justify-content: center;
}

.flex-align-left {
    justify-content: flex-start;
}

.flex-align-right {
    justify-content: flex-end;
}

.flex-content-spread {
    align-content: space-between;
}

.flex-pad-5 {
    padding: 0px 5px;
}

.flex-pad-10 {
    padding: 0px 10px;
}

/* Form */

button, input[type="button"], input[type="submit"], input[type="image"] {
    display: inline-block;
    color: #333333;
    background-color: #cccccc;
    border: 1px solid #aaaaaa;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    font-size: 95%;
    outline: none;
    transition-duration: 0.2s;
    cursor: pointer;
}

button:hover, input[type="button"]:hover, input[type="submit"]:hover, input[type="image"]:hover {
    color: #eeeeee;
    border: 1px solid #aaaaaa;
    background-color: #393939;
}

button::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="image"]::-moz-focus-inner {
    border: 0px;
    outline: none;
}

input {
    background-color: #444444;
    padding: 5px;
    color: #fafafa;
    border: 1px solid #666666;
    font-size: 100%;
}

textarea:focus, input:focus {
    outline: none;
}

input[type="checkbox"], input[type="radio"] {
    display: none;
}

input[type="checkbox"] + label, input[type="radio"] + label {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0;
    vertical-align: sub;
    cursor: pointer;
}

input[type="checkbox"].big + label, input[type="radio"].big + label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin: 0;
    vertical-align: middle;
}

input[type="checkbox"].inp-check + label {
    background: url('/media/graphic/icon_input_check.png') left top no-repeat;
}

input[type="checkbox"].inp-check:checked + label {
    background: url('/media/graphic/icon_input_check.png') left -15px no-repeat;
}

input[type="checkbox"].inp-show + label {
    background: url('/media/graphic/icon_input_show.png') left top no-repeat;
}

input[type="checkbox"].inp-show:checked + label {
    background: url('/media/graphic/icon_input_show.png') left -15px no-repeat;
}

input[type="checkbox"].inp-toggle + label {
    background: url('/media/graphic/icon_input_toggle.png') left top no-repeat;
}

input[type="checkbox"].inp-toggle:checked + label {
    background: url('/media/graphic/icon_input_toggle.png') left -15px no-repeat;
}

input[type="checkbox"].inp-lock + label {
    background: url('/media/graphic/icon_input_lock.png') left top no-repeat;
}

input[type="checkbox"].inp-lock:checked + label {
    background: url('/media/graphic/icon_input_lock.png') left -15px no-repeat;
}

input[type="checkbox"].inp-view + label {
    background: url('/media/graphic/icon_input_all.png') left top no-repeat;
}

input[type="checkbox"].inp-view:checked + label {
    background: url('/media/graphic/icon_input_all.png') left -15px no-repeat;
}

input[type="checkbox"].inp-invert + label {
    background: url('/media/graphic/icon_input_invert.png') left top no-repeat;
}

input[type="checkbox"].inp-invert:checked + label {
    background: url('/media/graphic/icon_input_invert.png') left -15px no-repeat;
}

input[type="checkbox"].play + label {
    background: url('/media/graphic/icon_input_play.png') left top no-repeat;
}

input[type="checkbox"].play:checked + label {
    background: url('/media/graphic/icon_input_play.png') left -34px no-repeat;
}

input[type="checkbox"].timeline + label {
    background: url('/media/graphic/icon_input_timeline.png') left top no-repeat;
}

input[type="checkbox"].timeline:checked + label {
    background: url('/media/graphic/icon_input_timeline.png') left -34px no-repeat;
}

input[type="checkbox"].repeat + label {
    background: url('/media/graphic/icon_input_repeat.png') left top no-repeat;
}

input[type="checkbox"].repeat:checked + label {
    background: url('/media/graphic/icon_input_repeat.png') left -34px no-repeat;
}

input[type="radio"].radio + label {
    background: url('/media/graphic/icon_input_radio.png') left top no-repeat;
}

input[type="radio"].radio:checked + label {
    background: url('/media/graphic/icon_input_radio.png') left -15px no-repeat;
}

select {
    color: #333333;
    background-color: #cccccc;
    border: 1px solid #aaaaaa;
    padding: 5px 20px 5px 5px;
    background: url('/media/graphic/icon_input_select.png') right no-repeat #f6f6f6;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select::-ms-expand {
    display: none;
}

/* Modal window */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    right: 0;
    top: 0;
    width: 35%;
    height: 100%;
    overflow: auto;
    color: #333333;
    background-color: rgba(255,255,255,0.9);
}

.modal-menu {
    padding: 20px;
}

.modal-content {
    padding: 10px 50px;
    /*background: url('/media/graphic/overlay_background.png') repeat;*/
}

