html, body {
    margin: 0;
    padding: 0;
}

body {
    font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.5em;
    background: #eeeeee url('../images/bg.png');
    color: #4d4d4d;
    width: 81em;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

#app {
    background: #fff;
    background: rgba(255, 255, 255, 0.9);
    margin: 50px 0 40px 0;
    border: 1px solid #ccc;
    position: relative;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2),
    0 25px 50px 0 rgba(0, 0, 0, 0.15);
}

#app input::-webkit-input-placeholder {
    font-style: italic;
}

#app input:-moz-placeholder {
    font-style: italic;
    color: #a9a9a9;
}

#app h1 {
    position: absolute;
    top: -40px;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #888;
    -webkit-text-rendering: optimizeLegibility;
    -moz-text-rendering: optimizeLegibility;
    -ms-text-rendering: optimizeLegibility;
    -o-text-rendering: optimizeLegibility;
    text-rendering: optimizeLegibility;
}

.section {
    position: absolute;
}

#header {
    padding-top: 1px;
    border-radius: inherit;
}

#header:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    z-index: 0;
    border-bottom: 1px solid #6c615c;
    background: #8d7d77;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(132, 110, 100, 0.8)), to(rgba(101, 84, 76, 0.8)));
    background: -webkit-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
    background: -moz-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
    background: -o-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
    background: -ms-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
    background: linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr='#9d8b83', EndColorStr='#847670');
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
}

.vorhandene-stunden {
    padding-top: 0;
    border-radius: inherit;
}

.eingabe-stunden {
    padding-top: 0;
    border-radius: inherit;
}

.vorhandene-stunden:before, .eingabe-stunden:before {
    content: '';
    position: absolute;
    top: 1px;
    right: 0;
    left: 0;
    height: 2px;
    z-index: 0;
    border-bottom: 1px solid #6c615c;
    background: #8d7d77;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(132, 110, 100, 0.8)), to(rgba(101, 84, 76, 0.8)));
    background: -webkit-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
    background: -moz-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
    background: -o-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
    background: -ms-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
    background: linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr='#9d8b83', EndColorStr='#847670');
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
}

.view {
    height: 74px;
}

#credits {
    color: #888;
    text-align: center;
    font-size: 10px;
    padding-top: 25px;
    position: relative;
}

#credits a {
    color: #888;
}

.auftrag-label {
    width: 40em;
    text-overflow:ellipsis;
    overflow:hidden;
// Addition lines for 2 line or multiline ellipsis
display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.stunden {
    width: 4em;
    margin-left: 10px;
}

input[readonly] {
    border: none;
    background: transparent;
}

.eingabe-stunden li:nth-child(even) {
    background: #EEE;
}

.eingabe-stunden li:nth-child(odd) {
    background: #FFF;
}

.vorhandene-stunden li:nth-child(even) {
    background: #FCF6CF;
}

.vorhandene-stunden li:nth-child(odd) {
    background: #FEFEF2;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.datum {
    width: 100px;
    text-align: center;
    border: 0;
    color: black;
    text-shadow: 1px 1px 1px #000,
    3px 3px 3px black;
}

.auftrag-header {
    text-align: center;
    border: 0;
    color: black;
    text-shadow: 1px 1px 1px #000,
    3px 3px 3px black;
}

.auftrag-stunden-header {
    text-align: center;
}

#datum-navigation, #user-info {
    text-align: center;
}

.login {
    margin-left: 10px;
}

a {
    text-decoration: none;
}

a:link, a:visited {
    color: #16585A;
}

a:hover {
    color: #FF00FF;
}

a:active {
    color: #FF0000;
}

.reset-password {
    margin-top: 10px;
    font-size: 10px;
}

.reset-password a {
    text-decoration: underline;
}

.error {
    background: red;
    color: white;
    border: solid 2px blue;
}

#message {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    height: 30px;
    font-style: italic;
    margin-left: -2px;
    margin-top: 5px;
    background: #f6f6f6
}

.message-ok {
    color: green;
}

.message-error {
    color: red;
    font-weight: bold;
}

#auftrag-selection-list, #stunden-list {
    margin-top: 2px;
    margin-left: 5px;
}

#aufmassSummen {
    text-align: right;
    float: right;
    width: 235px;
    margin-right: 5px;

}

.edit-mitarbeiter {
    width: 165px;
}

.stundenSumme {
    width: 68px;
    text-align: right;
    background: transparent;
    border: none;
}

input:invalid {
    border: 1px solid red;
}

.select2-results {
    margin: 4px 4px 4px 0;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 0 0 4px;
    position: relative;
}

.popOver {
    z-index: 20;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(128, 128, 128, .5);
    background: #fff;
}

.new-day {
    border-top: 1px solid grey;
}