/* 
   http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 
    Created on : 17.12.2017, 08:02:09
    Author     : fmk
*/

sup, sub {
   font-size: 80%;
   position: relative;
   line-height: 0;
   vertical-align: baseline;
}
 
sup {
   top: -0.25em;
}
 
sub {
   bottom: -0.25em;
}

h1 {
    font-weight: bold;
    font-size: 140%;
    padding-bottom: 1em;
}

/*h2 {
    font-weight: bold;
    font-size: 120%;
    padding-bottom: 1em;
}*/

h3 {
    font-weight: bold;
    font-size: 110%;
    padding-top: 1em;
}

p {
    margin: 5px auto;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

a {
    color:gray;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

textarea
{
    resize: none;
}

#main {
    width:50em;
    background-color: #F0F0F0;
    font-family: calibri, arial, sans-serif;
    font-size: 120%;
    margin: 0.5em auto;
    box-shadow: 0 0 20px #bbbbbb;
    border-radius: 15px;
}

header {
    color:#333333;
    font-weight: bold;
    font-size: 150%;
    padding: 0.5em 0;
    text-align: center;
}

nav {
    margin-bottom: 2em;
    background-color: #F9F9F9;
    font-size: 90%;
    border-top: solid lightgray 1px;
    border-bottom: solid lightgray 1px;
}

nav ul {
    /*background-color: #FFD0D0;*/
}

nav ul.loggedin {
    background-color: #ffcc99;
}

nav li {
    float: left;
}

nav li.login {
    float: right;
}

nav li a, nav li span {
    display: block;
    text-align: center;
    color: #002299;
    padding: 0.5em;
    font-weight: normal;
}

nav li span {
    color:#999999;
}

nav li a.currentnav {
    font-weight: bold;
}

nav li a:hover {
    background-color: lightgray;
    text-decoration: none;
}

.username {
    background-color: #F8F8F8;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-right: 0.5em;
    position:relative;
    top: -2.2em;
    text-align: right;
    font-size: 80%;
}

.usage {
    padding: 1em;
}

.month {
    font-weight: bold;
    font-size: 200%;
    text-align: center;
    margin:1em 0px;
}

.parole {
    background-color: lightblue;
    color: midnightblue;
    font-weight: bold;
    font-size: 150%;
    text-align: center;
    margin: 1em 10px;
    padding: 5px;
    border-radius: 8px;
}

.timetext {
    font-weight: bold;
    font-size: 120%;
    text-align: center;
    color: grey;
}

.intime {
    color: green;
}

.delayed {
    color: goldenrod;
}

.toolate {
    color: darkred;
}

.confirm {
    color:blue;
}

.headline {
    font-weight: bold;
    margin:5px;
    margin-bottom: 10px;
    text-align: center;
}

.report {
    width: 35em;
    margin:10px auto;
    padding:10px;
    border:black solid 1px;
    background-color: #F9F9F9;
    border-radius: 10px;
}

.report:hover {
    box-shadow: 3px 3px 5px gray;
}

fieldset div {
    margin:0em 1em;
    border: black solid 1px;
    border-bottom: none;
}

.label {
    display:inline-block;
    margin:0;
    height:1.9em;
    padding-left:0.3em;
    vertical-align: top;
}

label {
    display:inline-block;
    margin-top: 0.4em;
}

fieldset div.login {
    margin: 0 auto;
}

.login {
    padding-left: 1.5em;
}

.loginfail {
    color: #900000;
    font-weight: bold;
}

fieldset div.login label {
    width: 10em;
}

fieldset div.login input {
    width: 19em !important;
}

fieldset.oben div {
    border:none;
}

div.oben {
    font-weight: bold;
    width:6em;
}

fieldset.oben input[type="text"],
fieldset.oben input[type="number"],
fieldset.oben input[type="password"],
fieldset.oben input[type="email"],
fieldset.oben select[name="month"],
fieldset.oben select[name="year"]
{
    width:24em;
    border-bottom:black dashed 1px;
}
fieldset.oben span.monthyear{
    width:24em;
}
fieldset.oben select#month {
    width:16em;
}
fieldset.oben select#year {
    width:8em;
}

input[type="checkbox"] {
    display: inline-block;
    vertical-align: central;
}

fieldset.unten div {
    border-bottom:none;
}

fieldset.unten p {
    padding: 1em;
}

fieldset.unten div.last {
    border-bottom: black solid 1px;
}

div.unten {
    width:25em;
    border:none;
    border-right: black solid 1px;
}

div.untenmcount {
    width:11em;
    border:none;
    border-right: black solid 1px;
}

fieldset.unten input,
fieldset.unten select {
    width:6em;
    text-align: right;
    margin-left: 0.2em;
}

fieldset.unten input[type="checkbox"] {
    margin-top: 0.3em;
}

input,
select {
    padding:0.2em;
}

input, textarea {
    outline: none;
    /*background-color: yellow;*/
}

input[type="checkbox"] {
    color:darkgreen;
    width:24px;
    height:24px;
    margin-top: 5px;
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="checkbox"],
input[type="email"],
select[name="month"],
select[name="year"],
select[name="active"] {
    color:darkgreen;
    background-color: inherit;
    font-size: 105%;
    border:none;
}

.remarks {
    margin: 0.5em 1em;
    /*        width:32em;*/
    border:black solid 1px;
    padding:0.2em 0.4em;
}

.remarks textarea {
    border:none;
    background-color: inherit;
    color:darkgreen;
    font-family: calibri, arial, sans-serif;
    font-size: 110%;
    width:100%;
}

input[type="text"]:hover,  input[type="text"]:focus,
input[type="number"]:hover,  input[type="number"]:focus,
input[type="password"]:hover,  input[type="password"]:focus,
input[type="email"]:hover,  input[type="email"]:focus,
textarea:hover, textarea:focus,
select[name="month"]:hover, select[name="month"]:focus,
select[name="year"]:hover, select[name="year"]:focus
{
    background-color: white;
    box-shadow: 2px 2px 2px gray;
}

.buttons {
    width:15em;
    margin:15px auto;
    padding: 5px;
}

.buttons input{
    width:49%;
    margin:0px auto;
    font-size: 110%;
    padding: 3px;
    border: darkgrey solid 1px;
    border-radius: 5px;
    background-color: #eeeeee;
}

input[type="reset"] {
    color: #444444;
}

.buttons input:hover, .buttons input:focus {
    *font-weight: bold;
    *border: black solid 1px;
    *background-color: #bbbbbb;
    *box-shadow:0 0 2px rgba(128,128,128,0.1);
    box-shadow:0 0 2px black;
}

.buttons input[disabled]:hover {
    box-shadow:none;
}

footer {
    font-size: 80%;
    margin-top: 2em;
    border-top: solid 1px lightgray;
    padding: 1em;
}

input[readonly], textarea[readonly], select[disabled] {
    color:grey;
}

@media (max-width: 50em) {
    #main {
        width:100%;
        background-color: #F0F0F0;
        font-family: calibri, arial, sans-serif;
        font-size: 100%;
    }

    header {
        color:#333333;
        font-weight: bold;
        font-size: 120%;
        padding: 0.5em;
        text-align: left;
    }

/*  
    nav {
        display:none;
    }
*/

    .usage {
        padding: 1em;
    }

    .month {
        font-weight: bold;
        font-size: 200%;
        text-align: center;
        margin:1em 0px;
    }

    .timetext {
        font-weight: bold;
        font-size: 100%;
        text-align: left;
        padding: 0.5em;
        color: grey;
    }

    .intime {
        color: green;
    }

    .delayed {
        color: goldenrod;
    }

    .toolate {
        color: darkred;
    }

    .confirm {
        color:blue;
    }

    .headline {
        font-weight: bold;
        margin:5px;
        margin-bottom: 10px;
        text-align: center;
    }

    .report {
        width: 90%;
        margin:10px auto;
        padding:10px;
        border:black solid 1px;
        background-color: #F9F9F9;
    }

    .report:hover {
        box-shadow: none;
    }

    fieldset div {
        margin:0em 1em;
        border: black solid 1px;
        border-bottom: none;
    }

    .label {
        display:block;
        margin:0;
        height:1em;
        padding-left:0.3em;
        vertical-align: top;
    }

    label {
        display:block;
        margin-top: 0.4em;
    }

    .hipiline .label {
        display:inline-block;
        height:1.9em;
    }

    fieldset.oben div {
        border:none;
    }

    div.oben {
        width:30%;
        font-weight: bold;
    }

    fieldset.oben input[type="text"],
    fieldset.oben input[type="number"],
    fieldset.oben input[type="password"],
    fieldset.oben input[type="email"],
    fieldset.oben select[name="month"],
    fieldset.oben select[name="year"] {
        width:95%;
        border-bottom:black dashed 1px;
    }
    fieldset.oben span.monthyear{
        width:95%;
    }
    fieldset.oben select#month {
        width:16em;
    }
    fieldset.oben select#year {
        width:8em;
    }
    input[type="checkbox"] {
        display: inline-block;
        vertical-align: central;
    }

    fieldset.unten div {
        border-bottom:none;
    }

    fieldset.unten p {
        padding: 1em;
    }

    fieldset.unten div.last {
        border-bottom: black solid 1px;
    }

    div.unten, div.untenmcount {
        width:100%;
        height: 1.2em;
        border:none;
        border-right: none;
    }

    fieldset.unten input,
    fieldset.unten select {
        width:95%;
        text-align: right;
        margin-left: 0.2em;
        margin-bottom: 0.1em;
    }

    input {
        padding:0.2em;
    }

    input, textarea {
        outline: none;
    }

    input[type="checkbox"] {
        color:darkgreen;
/*        width:50px;
        height:50px;*/
    }

    input[type="text"],
    input[type="number"],
    input[type="password"],
    input[type="email"],
    select[name="month"],
    select[name="year"] {
        color:darkgreen;
        background-color: inherit;
        font-size: 105%;
        border:none;
    }

    .remarks {
        margin: 0.5em 1em;
        border:black solid 1px;
        padding:0.2em 0.4em;
    }

    .remarks textarea {
        border:none;
        background-color: inherit;
        color:darkgreen;
        font-family: calibri, arial, sans-serif;
        font-size: 110%;
        width:100%;
    }

    input[type="text"]:hover,  input[type="text"]:focus,
    input[type="number"]:hover,  input[type="number"]:focus,
    input[type="password"]:hover,  input[type="password"]:focus,
    input[type="email"]:hover,  input[type="email"]:focus,
    textarea:hover, textarea:focus,
    select[name="month"]:hover, select[name="month"]:focus,
    select[name="year"]:hover, select[name="year"]:focus {
        background-color: white;
        box-shadow: 2px 2px 2px gray;
    }

    .buttons {
        width:15em;
        margin:15px auto;
        padding: 5px;
    }

    .buttons input{
        width:49%;
        margin:0px auto;
        font-size: 110%;
        padding: 3px;
        border: darkgrey solid 1px;
        border-radius: 5px;
        background-color: #eeeeee;
    }

    input[type="reset"] {
        color: #444444;
    }

    .buttons input:hover, .buttons input:focus {
        *font-weight: bold;
        *border: black solid 1px;
        *background-color: #bbbbbb;
        *box-shadow:0 0 2px rgba(128,128,128,0.1);
        box-shadow:0 0 2px black;
    }

    .buttons input[disabled]:hover {
        box-shadow:none;
    }

    footer {
        font-size: 80%;
        margin-top: 2em;
        border-top: solid 1px lightgray;
        padding: 1em;
    }

    input[readonly], textarea[readonly] {
        color:grey;
    }
}


/* WebReportViewer ---------------------------------------------------------- */
#wrviewer {
    font-family: calibri, arial, sans-serif;
    font-size: 120%;
    margin: 1em auto;
    *background-color: lightgray;
}


#wrviewer table {
    margin: 2em;
    border:black solid 1px;
}

#wrviewer table th {
    background-color: gray;
    font-weight: bold;
    padding:0.2em 1em;
}

#wrviewer table tr:nth-child(odd) {
    background-color: lightgray;
}

/* HiPi ----------------------------------------------------------------------*/
.hipi {
    width: 46em;
    margin:10px auto;
    padding:10px;
    padding-left: 2em;
    border:black solid 1px;
    background-color: #F9F9F9;
    border-radius: 10px;
}

.hipi:hover {
    box-shadow: 3px 3px 5px gray;
}

.hipi input {
    border-bottom: 1px dotted black;
}

label[for="dauer"] {
    font-size: 80%;
}

div.datum {
    width:5em;
}

.firstleft {
    *background-color: yellowgreen;
    margin-top: 0.4em;
    float:left;
    width:19em;
}

.firstright {
    *background-color: green;
    float:left;
    width:26em;
}

.firstright input {
    display: block;
    width:22em;
    margin: 0.4em auto;
    text-align: center;
}

.firstright label {
    display: block;
    text-align: center;
}

input[name="month"] {
    width:36em;
}

input[name="date"] {
    width:11em;
}

.secondleft {
    margin-top: 1em;
    padding-right: 2em;
    padding-bottom: 2em;
    clear:both;
    float:left;
    width:28em;
}

.secondleft p, .secondleft li {
    font-size: 90%;
    font-weight: bold;
}

.secondleft li {
    list-style-type: decimal;
    margin-left: 1.5em;
}

.secondright {
    margin-top: 1em;
    float:left;
    width:15em;
}

.secondright p {
    padding: 0 1em;
    text-align: center;
}

p.klein {
    font-size: 70%;
}

.secondright input {
    display: block;
    width:11em;
    text-align: center;
    margin: 0.4em auto;
}

.clearfix:after{
    content:".";
    display:block;
    clear:both;
    font-size:0;
    height:0;
    visibility:hidden;
}


/*----------------------*/

.advhipi {
    /*display: none;*/
    text-align: center;
}

.advreminder {
    display: none;
    /*text-align: center;*/
}

/*----------------------*/

h2 {
    font-size: 175%;
    font-weight: bold;
    margin: 1em 0;
}

.uw {
    background:#EAEAFF;
}
.we {
    background:#FFEAEA;
}

.uwtoday {
    background:#D0D0FF;
}
.wetoday {
    background:#FFD0D0;
}

.terminheadline {
    font-size: 120%;
    font-weight: bold;
    margin: 1em 0 0.5em 0;
    padding: 1em;

}

.termine {
    padding-left: 2em;
    padding-bottom: 0.5em;
}