﻿
html {
    font-size: 15px;
}

body {
    font-size: 1.0rem;
    font-family: 'Source Sans Pro', sans-serif;
    /*font-family: Arial;*/
    margin: 0;
    box-sizing: border-box;
}

div.container {
    display: flex;
    flex-direction: row;
}

.stretch {
    width: 100%;
}

.spacer {
    margin: auto;
}

.center {
    text-align: center;
}

.bold {
    font-weight: bold;
}

.normal {
    font-weight: normal;
}

.small {
    font-size: 0.8rem;
}

.right {
    text-align: right;
}

.large {
    font-size: 1.2rem;
}

.default {
    font-size: 1rem;
}

.no-break {
    white-space: nowrap;
}

#head, #foot {
    color: #FFFFFF;
    padding: 10px 30px 10px 30px;
}

#head {
    font-weight: bold;
    line-height: 2.2rem;
    font-size: 1.1rem;
    /*padding-top: 15px;*/
}

#page {
    background-color: #4C565C;
    height: 620px;
}

#main {
    /*margin: 0 5px 0 5px;*/
    border-top: 1px solid #FFFFFF;
}

#box {
    overflow-y: scroll;
    background-color: #FFFFFF;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    text-align: center;
    /*width: calc(100% - 16px);*/
    /*width: 100%;*/
    /*table-layout: auto;*/
    /*width: 974px;*/
}

td {
    padding: 1px 0 1px 0;
    box-sizing: border-box;
}

#label td {
    color: #FFFFFF;
}

#content tr {
    background-color: #FFFFFF;
    cursor: default;
}

#content tr.single {
    border-bottom: 1px dashed /*#CFCCCC*/ #4C565C;
}

#content tr.double, #content td.double {
    border-bottom: 2px solid #4C565C;
}

#content td {
    border-right: 1px dashed /*#CFCCCC*/ #4C565C;
}

#content td.darker/*, #content td.shaded:last-child*/ {
    border-right: 1px solid #4C565C;
}

#content td.last {
    border-left: 1px solid #4C565C;
    border-right-width: 0;
    /*height: 50%;*/
    color: #5FC3DB;
}

#content td.last img {
    vertical-align: middle;
}

/*#content td:last-child {
    border-right-width: 0;
}*/

#content td.shaded {
    background-color: #F2F2F2;
    border-right-width: 0;
}

#content td.shaded-border {
    background-color: #F2F2F2;
}

#content tr.colored {
    color: #0070C0;
}

#content td.left {
    text-align: left;
    padding-left: 5px;
}

#content td.right {
    text-align: right;
    padding-right: 5px;
}

#content td.correct {
    font-size: initial;
}

#content tr.canceled {
    color: lightgrey;
}

select, input[type=date] {
    /*margin: 0 30px 0 5px;*/
    margin-left: 5px;
}

select, input {
    border: 3px solid #5FC3DB;
    border-radius: 2px;
    padding-top: /*3px*/ 2px;
    padding-bottom: /*3px*/ 2px;
    font-size: 1.1rem;
    font-family: 'Source Sans Pro', sans-serif;
    /*font-family: Arial;*/
}

input[type=button] {
    background-color: #F2F2F2;
    cursor: pointer;
}

input[type=checkbox] {
    vertical-align: middle;
    margin-right: 1px;
}

/*#date {
    font-family: 'Source Sans Pro', sans-serif;
}*/

/*div.backwards {
    padding-top: 2px;
    line-height: normal;
    text-align: right;
}*/

div.lower {
    padding-top: 5px;
    line-height: normal;
}

input.nav-left {
    padding: 0 10px 0 10px;
    margin-right: 20px;
}

input.nav-right {
    padding: 0 10px 0 10px;
    margin-left: 20px;
}

td.borders {
    border-width: 0 1px 0 1px;
    border-style: solid;
    border-color: #FFFFFF;
}

td.borders-right {
    border-width: 0 1px 0 0;
}

td.borders-left {
    border-width: 0 0 0 1px;
}

td.dashed-left {
    border-left-style: dashed;
}

td.dashed-right {
    border-right-style: dashed;
}

span.vertical {
    writing-mode: vertical-lr;
    vertical-align: middle;
    font-weight: normal;
    font-size: 0.9rem;
}

#bar {/*
    background-color: #F2F2F2;*/
    height: 30px;
}

#bar div.handle {
    width: 160px;
    height: 30px;
    box-sizing: border-box;
    border-radius: 4px 4px 0 0;
    margin-right: 2px;
    border-style: solid;
    border-width: 2px 2px 0 2px;
    border-color: #4C565C;
    color: #4C565C;
    cursor: pointer;
    line-height: 0.8rem;
    padding-top: 2px;
    background-color: #F2F2F2;
}

#bar div.active {
    background-color: #4C565C;
    color: white;
    cursor: default;
}

#bar div.new {
    width: 30px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    margin-right: 0;
    padding-top: 8px;
}

#bar div.label {
    overflow: hidden;
    text-wrap: none;
    padding-left: 5px;
}

#bar div.close {
    margin: 0 5px auto 10px;
    font-weight: bold;
    cursor: pointer;
}

/* <-- gesuchten Tag markieren */

td.selected {
    background-color: inherit;
    /*background-color: #F2F2F2;*/
}

td.marked {
    color: #5FC3DB !important;
    /*color: inherit;*/
}

/* gesuchten Tag markieren --> */

/*div.sector {
    position: absolute;
    width: 100px;
    background-color: #333333;
    opacity: 0;
    cursor: pointer;
}

div.sector:hover {
    opacity: 0.25;
}

div.sector div {
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 4rem;
    position: relative;
}*/

tr.expand {
    line-height: 2.5rem;
}

td.nexpand {
    line-height: 1rem;
}

#calc {
    width: 380px;
    border: 1px solid #4C565C;
    /*border-radius: 3px;*/
    display: none;
    position: absolute;
    font-family: Arial;
    box-shadow: 0 0 15px #2E2E2E;
}

#calc > div.dark {
    background-color: #4C565C;
    color: white;
    padding: 3px 5px 0px 5px;
    line-height: 1.4rem;
}

#calc > div.head {
    padding: 8px 5px 4px 5px;
}

#calc .green {
    color: #67F782;
}

#calc > div.light {
    background-color: #F2F2F2;
    padding: 0 5px 0 5px;
    line-height: 1.4rem;
}

#calc > div.begin {
    padding-top: 3px;
}

#calc > div.white {
    background-color: white;
    padding: 5px 5px 7px 5px;
}

#calc img {
    position: relative;
    top: 5px;
}

#calc input {
    width: 100px;
    border: 2px solid #67F782;
    margin-bottom: 3px;
    outline: none;
    height: 1rem;
}

img.calc {
    margin-top: 5px;
    cursor: pointer;
}

#load {
    display: none;
    position: absolute;
}
