* {
    font-family: arial, helvetica, sans-serif;
}
body {
    margin: 0;
}

/***************************/

#page {
    padding: 0;
    background: #eaeff1;
}
#header {
    margin: 0;
    margin-bottom: 20px;
    padding: 1px 30px;
    background-color: rgb(60, 70, 75);
}
#content {
    padding: 8px;
}
#footer {
    margin: 0;
    margin-top: 20px;
    font-size: 0.8em;
    text-align: right;
    padding: 4px 1em;
    background-color: rgb(215, 218, 219);
}
#footer a {
    text-decoration: none;
}

/***************************/

a,
a:link,
a:visited,
a:active {
    color: hsl(0, 0%, 0%);
    text-decoration: underline;
}
a:hover {
    color: hsl(0, 0%, 30%);
    text-decoration: underline;
}

/***************************/

h1 {
    font-size: 1.5em;
    color: #FFF;
}
h2 {
    font-size: 1.3em;
    margin: 0;
}
h3 {
    font-size: 1.1em;
    margin: 0px 0px 8px 0px;
}
h4 {
    font-size: 1em;
}

/***************************/

div.form-ok,
div.form-error {
    margin: 0.3em;
    padding: 0.5em 0.8em 0.5em 2.8em;
    position: relative;
}
div.form-ok {
    border-left: 4px solid hsl(120,  50%, 50%);
    background-color: hsl(120, 100%, 90%);
}
div.form-error {
    border-left: 4px solid hsl(0,  70%, 50%);
    background-color: hsl(0, 100%, 94%);
}
div.form-ok:before,
div.form-error:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.5em;
    position: absolute;
    left: 0.3em;
    top: 0.15em;
}
div.form-ok:before {
    color: hsl(120,  50%, 70%);
    content: "\f058";
}
div.form-error:before {
    color: hsl(0,  70%, 72%);
    content: "\f071";
}

/***************************/

pre {
    margin: 0;
    padding: 0;
}

pre.debug_var {
    font-size: x-small;
    margin: 0.3em;
    padding: 0.5em 0.8em;
    border-radius: 8px;
    border: 1px solid hsl(255, 50%, 50%);
    background-color: hsl(255, 50%, 90%);
    display: inline-block;
}

p {
    margin-top: 6px;
    margin-bottom: 6px;
}

span.new {
    color: hsl(0, 100%, 30%);
}

.center {
    text-align: center;
}
.left {
    float: left;
}
.right {
    float: right;
}
.clear {
    clear: both;
}

/***************************/

.general-info table {
    margin: 0.6em 0.5em;
}
.general-info th,
.general-info td {
    vertical-align: top;
    padding: 0.2em 0.4em;
}
.general-info th {
    color: hsl(0, 0%, 30%);
    text-align: right;
}
.general-info td {
    font-size: 0.9em;
    text-align: left;
}
.general-info ul {
    margin: 0.3em;
}

/***************************/

.appointment-container {
    display: flex;
    flex-flow: row wrap;
}
.appointment,
.appointment-group {
    padding: 0.3em;
    flex: 350px;
    align-content: stretch;
}
.appointment-group {
    margin: 0;
    padding: 0;
}
/*
.appointment.closed {
    color: #AAA;
}
*/
.appointment .caption {
    background-color: hsl(44, 100%, 50%);
    padding: 5px 15px;
    margin-top: 1ex;
    margin-bottom: 0;
    font-weight: bold;
    color: #000;
}
.appointment .collapsible {
    background-color: hsl(44, 100%, 50%);
    padding: 5px 5px;
    margin-top: 1ex;
    margin-bottom: 0;
    cursor: pointer;
    float: right;
}
.appointment .collapsible i {
    padding: 0 0.3em;
    color: #000;
}
.appointment .collapsible i:hover {
    color: #000;
}
.appointment        .collapsible .fa-minus,
.appointment.closed .collapsible .fa-plus  { display: inline; }
.appointment        .collapsible .fa-plus,
.appointment.closed .collapsible .fa-minus { display: none; }

.appointment div.summary,
.appointment div.content {
    font-size: 0.9em;
    line-height: 1.5;
    background-color: hsl(195, 5%, 85%);
    margin-top: 0;
}
.appointment div.summary {
    padding: 0.5em;
    margin-bottom: 0;
}
.appointment div.content {
    padding: 0.01em 0.5em 0.5em 0.5em;
    margin-bottom: 1ex;
}
.appointment.closed div.content {
    display: none;
}
.appointment div.content.disabled {
    padding-top: 1em;
    padding-bottom: 1em;
}
.appointment div.content .adm-info {
    display: none;
    color: red;
}

.appointment div.content div.list-caption {
    font-weight: bold;
}

.appointment div.content table.slots,
.appointment div.content table.queue {
    margin: 10px 0;
    width: 100%;
    border-spacing: 1px;
}
.appointment div.content table td {
    font-size: 10pt;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
}
.appointment div.content table td.num {
    text-align: right;
    width: 1.5em;
    padding-right: 0.3em;
}
.appointment div.content table.queue td.num {
    color: hsl(0, 0%, 50%);
    font-style: italic;
}
.appointment div.content table td.content {
    background-color: #fff;
    padding: 0 0.3em;
}
.appointment div.content table tr.minimum td {
    border-top: 1px dotted #bbb;
}
.appointment div.content table tr.me td.content span.name {
    font-weight: bold;
}
.appointment div.content table td.content span.btn {
    float: right;
}
.appointment div.content table .subscribe td.content span.btn {
    float: none;
    text-align: left;
}
.appointment div.content table td.content span.btn button,
.appointment div.content table td.content span.btn .button {
    line-height: 1em;
    padding: 0.2em 1em;
    margin: 0;
}
.appointment div.content table td.content span.icon {
    float: right;
    color: hsl(0, 0%, 90%);
    font-size: 110%;
    text-align: left;
    width: 20px;
}

/***************************/

#page.profile table {
    margin: 0.3em 0.5em;
}
#page.profile th,
#page.profile td {
    vertical-align: top;
    padding: 0.3em 0.4em;
}
#page.profile th {
    color: hsl(0, 0%, 30%);
    text-align: right;
}
#page.profile td {
    text-align: left;
}
#page.profile input {
    font-size: 1em;
}
#page.profile .info {
    padding-top:0.5em;
    font-size: 0.9em;
    font-style: italic;
    color: hsl(0, 0%, 30%);
}

/***************************/

.meter {
    display: inline-block;
    width: 15em;
    height: 12px;
    position: relative;
    background: #AAA;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 4px;
    padding: 2px;
    margin-right: 0.4em;
    vertical-align: middle;
    box-shadow: inset 0 -2px 2px rgba(255, 255, 255, 0.5);
}
.meter > span {
    display: block;
    height: 100%;
    border-radius: 3px;
    box-shadow: inset 0  2px 2px rgba(255, 255, 255, 0.2),
                inset 0 -2px 2px rgba(  0,   0,   0, 0.4);
    position: relative;
    overflow: hidden;
    background-color: hsl(140, 60%, 50%);
/*    background-image: linear-gradient(to bottom, rgb(84,240,84), rgb(43,194,83));*/
}
.meter.orange > span {
    background-color: hsl(20, 90%, 70%);
/*    background-image: linear-gradient(to bottom, #f1a165, #f36d0a);*/
}

.meter.red > span {
    background-color: hsl(0, 90%, 70%);
/*    background-image: linear-gradient(to bottom, #f0a3a3, #f42323);*/
}

/***************************/

#page.impressum {
    background-color: #fff;
}
#page.impressum li {
    padding-bottom: 0.5em;
}
#page.impressum .credits {
    font-size: small;
    font-style: italic;
}
#page.impressum .credits a {
    color: #333;
}

/***************************/

#page.main .button.large{
    margin: 10px 40px;
}

/***************************/

#page #content table.simple {
    border-collapse: collapse;
}
#page #content table.simple tr {
    border-bottom: 1px solid #555;
}
#page #content table.simple tr:hover {
    background: #ddd;
}
#page #content table.simple tr:hover th {
    background: #fff;
}
#page #content table.simple th,
#page #content table.simple td {
    text-align: left;
    font-size: 0.9em;
    padding: 3px 15px;
}
#page #content table.simple th.num,
#page #content table.simple td.num {
    text-align: right;
}

#page #content table.simple tr.gray {
    border-bottom: 1px solid #777;
}
#page #content table.simple tr.gray * {
        color: #777;
}

/***************************/

#admin-panel {
    margin: 0;
    padding: 3px 20px;
   border-bottom: 2px solid hsl(0, 100%, 50%);
    background-color: hsl(0, 93%, 84%);
    font-size: 0.9em;
}
#admin-panel form {
    display: inline;
}
#admin-panel .button {
    font-size: 0.95em;
}
#admin-panel span.separator {
    margin: 30px;
    border: 1px solid hsl(0, 97%, 74%);
}

/***************************/

#myCookieConsent {
    display: none;
    overflow: hidden;
    position: fixed;
    z-index: 999;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 20px;
    padding: 10px;
    color     : #fff;
    background: rgba(0, 0, 0, 0.7);
}

#myCookieConsent div.btn {
    float: right;
    width: 10em;
    padding: 0px;
}
#myCookieConsent div.capt {
    padding: 0px 10px;
    font-weight: bold;
    height: 4ex;
}
#myCookieConsent div.text {
    padding: 0px 10px;
    text-align: left;
}
@media all and (min-width: 600px) {
    #myCookieConsent div.cont {
        overflow: hidden;
    }
    #myCookieConsent div.capt {
        height: 2ex;
    }
}
@media all and (min-width: 1000px) {
    #myCookieConsent div.capt {
        float: left;
        padding: 0px 10px 0px 30px;
    }
    #myCookieConsent div.text {
        overflow: hidden;
    }
}

#myCookieConsent a {
    color: #ffba55;
}
#myCookieConsent a:hover {
    color: #fda016;
}
#myCookieConsent a#cookieButton {
    display: inline-block;
    text-align: center;
    padding: 2px 8px;
    color     : #000000;
    background: #ffba55;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
}
#myCookieConsent a#cookieButton:hover {
    color     : #000;
    background: #fda016;
}

/***************************/

.button::-moz-focus-inner{
    border: 0;
    padding: 0;
}

.edit,
.button{
    display: inline-block;
    *display: inline;
    zoom: 1;
    margin: 0;
    text-decoration: none;
    white-space: nowrap;
    overflow: visible;

    border: 1px solid #bbb;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.edit {
    padding: 4px;
    background-color: #f4f4f4;
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(255,255,255,1)), to(rgba(255,255,255,0)));
    background-image: -webkit-linear-gradient(bottom, rgba(255,255,255,1), rgba(255,255,255,0));
    background-image: -moz-linear-gradient(bottom, rgba(255,255,255,1), rgba(255,255,255,0));
    background-image: -ms-linear-gradient(bottom, rgba(255,255,255,1), rgba(255,255,255,0));
    background-image: -o-linear-gradient(bottom, rgba(255,255,255,1), rgba(255,255,255,0));
    background-image: linear-gradient(bottom, rgba(255,255,255,1), rgba(255,255,255,0));
    
}
.button{
    cursor: pointer;
    /*  font: bold 13px arial, helvetica, sans-serif;*/
    color: #555;
    padding: 6px 20px;
    
    background-color: #ddd;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,1)), to(rgba(255,255,255,0)));
    background-image: -webkit-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
    background-image: -moz-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
    background-image: -ms-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
    background-image: -o-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
    background-image: linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));

    -webkit-transition: background-color .2s ease-out;
    -moz-transition: background-color .2s ease-out;
    -ms-transition: background-color .2s ease-out;
    -o-transition: background-color .2s ease-out;
    transition: background-color .2s ease-out;
    background-clip: padding-box; /* Fix bleeding */

    -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
    text-shadow: 0 1px 0 rgba(255,255,255, .9);
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.button:hover{
    background-color: #eee;
    color           : #555;
}

.button:active{
    background: #e9e9e9;
    position: relative;
    top: 1px;
    text-shadow: none;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
}

.button[disabled], .button[disabled]:hover, .button[disabled]:active{
    color       : #999;
    border-color: #eaeaea;
    background  : #fafafa;
    cursor      : default;
    position    : static;
    /* Usually, !important should be avoided but here it's really needed :) */
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Smaller buttons styles */
.button.small{
    padding: 4px 12px;
}

/* Larger buttons styles */
.button.large{
    padding: 10px 50px;
/*    text-transform: uppercase; */
}
.button.large:active{
    top: 2px;
}

/* Colored buttons styles */
.button.green, .button.red, .button.blue {
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,.2);
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.3)), to(rgba(255,255,255,0)));
    background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
    background-image: -moz-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
    background-image: -ms-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
    background-image: -o-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
    background-image: linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
}

a.button {
    text-decoration: none;
}
.button.green{
    background-color: #57a957;
    border-color    : #57a957;
}
.button.green:active{
    background      : #57a957;
}
.button.green:hover{
    background-color: #62c462;
}

.button.red{
    background-color: #ca3535;
    border-color    : #c43c35;
}
.button.red:active{
    background      : #c43c35;
}
.button.red:hover{
    background-color: #ee5f5b;
}

.button.blue{
    background-color: #269CE9;
    border-color    : #269CE9;
}
.button.blue:active{
    background      : #269CE9;
}
.button.blue:hover{
    background-color: #70B9E8;
}

.button.yellow{
    color           : #3c3c3c;
    background-color: #fba900;
    border-color    : #fba900;
}
.button.yellow:active{
    background      : #fba900;
}
.button.yellow:hover{
    background-color: #fdc148;
}

/***************************/
