* {
    box-sizing: border-box;
    cursor: default;
}

/* oswald-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 200;
    src: url('/fonts/oswald-v53-latin-200.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* oswald-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 300;
    src: url('/fonts/oswald-v53-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* oswald-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/oswald-v53-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* oswald-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500;
    src: url('/fonts/oswald-v53-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* oswald-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/oswald-v53-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* oswald-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/oswald-v53-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-100 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 100;
    src: url('/fonts/lato-v24-latin-100.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-100italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: italic;
    font-weight: 100;
    src: url('/fonts/lato-v24-latin-100italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('/fonts/lato-v24-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-300italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: italic;
    font-weight: 300;
    src: url('/fonts/lato-v24-latin-300italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/lato-v24-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: italic;
    font-weight: 400;
    src: url('/fonts/lato-v24-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/lato-v24-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: italic;
    font-weight: 700;
    src: url('/fonts/lato-v24-latin-700italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-900 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    src: url('/fonts/lato-v24-latin-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-900italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: italic;
    font-weight: 900;
    src: url('/fonts/lato-v24-latin-900italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {}

body {
    background: #FFF;

    padding: 0px;
    margin: 0px;

    font-family: "Lato", "Open Sans", sans-serif;
    font-weight: normal;
    line-height: 1.5;
    font-size: 17px;
    color: #000;
}

@media(width < 1200px) {

    body {
        padding-right: 1rem;
    }
}

body.admin {
    width: 1000px;
    padding: 0 20px;
}

body.zulassungsstelle {
    /*max-width: 520px;*/
}

main {
    color: inherit;
}

/* allgemeine Tags */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Oswald", "Open Sans";
    font-style: normal;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

h1,
h2 {
    font-size: 2.47058824rem;
}

h3 {
    font-size: 1.88235294rem;
}

h4,
h5,
h6 {
    font-size: 1.29411764rem;
}

@media(width < 768px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: 1.4;
    }

    h1,
    h2 {
        font-size: 1.41176471rem;
    }

    h3 {
        font-size: 1.29411764rem;
    }

    h4,
    h5,
    h6 {
        font-size: 1rem;
    }
}

p {
    margin-top: 10px;
    margin-bottom: 10px;
}

p:has(input) {
    padding-left: 3px;
    padding-right: 3px;
}

strong {
    font-weight: bold;
}

a,
a:link,
a:active,
a:visited {
    color: #005878;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

main a:hover {
    text-decoration: none;
}

a.button {
    display: inline-block;
    background: #CCC;
    color: #FFF;
    font-weight: normal;
    padding: 3px 7px;
    cursor: pointer;
}

a.button:hover {
    background: #DDD;
    text-decoration: none;
}

input::-webkit-input-placeholder {
    font-size: 14px;
    color: #CCC !important;
    font-weight: 300 !important;
    font-family: 'Open Sans', sans-serif, Arial;
}

input::-moz-placeholder {
    font-size: 14px;
    color: #CCC !important;
    font-weight: 300 !important;
    font-family: 'Open Sans', sans-serif, Arial;
}

input:-moz-placeholder {
    font-size: 14px;
    color: #CCC !important;
    font-weight: 300 !important;
    font-family: 'Open Sans', sans-serif, Arial;
}

input:-ms-input-placeholder {
    font-size: 14px;
    color: #CCC !important;
    font-weight: 300 !important;
    font-family: 'Open Sans', sans-serif, Arial;
}

input,
button,
select {
    cursor: pointer;
}

input[type=text],
input[type=password] {
    cursor: text;
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 500px;
    height: 2.79831933rem;
    margin: 0px 0px 1.14285714rem;
    padding: .57142857rem;
    border: 1px solid #cacaca;
    border-radius: 0;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    font-size: 1.14285714rem;
    font-weight: normal;
    line-height: 1.5;
    color: #000;
    transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
    appearance: none;
}

input[type=submit],
button {
    /*
    background-color: #fff;
    font-size: 13px;
    border-collapse: collapse;
    border: 1px solid #808080;
    font-weight: normal;
    color: #666666;
    border-radius: 2px;
    */
    display: inline-block;
    justify-content: center;
    min-width: 60px;
    overflow: hidden;
    position: relative;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    transition: background-color .3s, color .3s, border-color .3s;
    height: 36px;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    font-size: 14px;
    margin: 10px 0 0 0;
    border-radius: .23529412rem !important;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    color: #fff;
    background-color: #BE4751;
    border-style: none;
}

input[type=submit]:hover,
button:hover {
    background-color: #ca6870;
    transition: background-color .3s, color .3s, border-color .3s;
}

select {
    width: 100%;
    padding: 0px 2px;
    font-size: 13px;
    color: #666666;
    border-collapse: collapse;
    border: 1px solid #808080;
}

textarea {
    width: 100%;
    padding: 0px 2px;
    font-size: 13px;
    color: #666666;
    border-collapse: collapse;
    border: 1px solid #808080;
    cursor: text;
}

ul.booked {
    margin: 0px;
    padding-left: 15px;
    list-style-type: square;
}

main .error {
    color: #FF0000;
}

.taskrow {
    display: none;
}

.taskrow.show {
    display: flex;
}

.appointment {
    display: none;
}

.select2 {
    width: 100% !important;
}

.note {
    font-style: italic;
    color: #333;
}

button.day,
button.time {
    margin: 0 10px 10px 0;
}

button.selected {
    background-color: #0079a8;
    color: #FFF;
}

button#btnBooking {
    min-width: 100%;
}

.days,
.times,
.bookings {
    text-align: center;
}

.error {
    color: #BE4751;
}

.hint,
.hintTaken {
    text-align: center;
    color: #BE4751;
    display: none;
    font-weight: bold;
}

.buttonbar {
    position: relative;
}

.buttonbar .legend {
    position: absolute;
    right: 0;
    bottom: 0px;
}

.buttonbar button {
    min-width: 50px;
    min-height: 30px;
    font-weight: bold;

}

.AppointmentsBox,
.HolidaysBox,
.WorkplacesBox {
    float: left;
    width: calc((100% / 3) - 10px);
    margin: 10px 10px 10px 0;
    padding: 10px 10px 0 10px;
    border: 1px solid grey;
    border-radius: 3px;
}

.WorkplacesBox {
    width: calc((100% / 3 * 2) - 20px);
    min-height: 600px;
}

.DatePicker {
    width: calc((100% / 3) - 1px)
}

.Comment {
    width: calc((100% / 3) - 1px)
}

.DatePicker input[type=text],
.DatePicker select {
    width: 100%;
    text-align: center;
}

.Admin {
    width: 540px;
}

.AppointmentsBox h1,
.HolidaysBox h1,
.WorkplacesBox h1 {
    margin-top: 0px;
    font-size: 16px;
    text-align: center;
}

.AppointmentsBox ul.Appointments,
.HolidaysBox ul.Holidays {
    list-style: none;
    padding: 0;
}

.AppointmentsBox ul.Appointments>li,
.HolidaysBox ul.Holidays>li {
    margin: 0 0 10px 0;
    padding: 10px;
    background-color: #eee;
    border-radius: 3px;
}

.AppointmentsBox ul.Appointments>li.Regular,
.HolidaysBox ul.Holidays>li.Repeating {
    background-color: #aea;
}

.AppointmentsBox ul.Appointments>li.UnconfirmedCustomer {
    background-color: #ecc;
}

.AppointmentsBox ul.Appointments>li.UnconfirmedAdmin {
    background-color: #cce;
}

.AppointmentsBox ul.Appointments>li.Concluded {
    background-color: #cee;
}

.AppointmentsBox ul.Appointments .time {
    font-weight: bold;
}

.AppointmentsBox ul.Appointments .duration {}

.AppointmentsBox ul.Appointments .info,
.AppointmentsBox ul.Appointments .person {
    display: block;
    clear: both;
    margin: 10px 0 0 0;
}

.AppointmentsBox ul.Appointments .person span {
    display: block;
    clear: both;
}

.AppointmentsBox ul.Appointments ul {
    list-style-type: square;
    margin: 10px 0 0 0;
    padding-left: 15px;
}

.AppointmentsBox ul.Appointments ul li {
    margin: 0 0 5px 0;
}

.HolidaysBox ul.Holidays .date {
    display: block;
    float: left;
    width: 70px;
}

.HolidaysBox ul.Holidays .desc {
    font-weight: bold;
}

.WorkplacesBox table.currentWorkplace {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 10px;
    border-collapse: separate;
    table-layout: fixed;
}

.WorkplacesBox table.currentWorkplace th {
    text-align: center;
    padding: 10px 3px;
}

.WorkplacesBox table.currentWorkplace td {
    text-align: center;
    margin: 5px;
    padding: 5px;
}

.WorkplacesBox table.currentWorkplace td.value {
    font-size: 16px;
    background-color: #aea;
    border-radius: 3px;
}

.UnconfirmedBox {
    position: relative;
    margin: 15px 0 0 0;
    min-height: 30px;
}

.UnconfirmedBox button {
    position: absolute;
    width: 100px;
    padding: 5px;
}

.UnconfirmedBox textarea {
    margin: 0 0 40px 0;
    resize: vertical;
    min-height: 100px;
    height: 200px;
}

.UnconfirmedBox .hidden {
    display: none;
    min-height: 100px;
}

.UnconfirmedBox .btnAppointmentEdit {
    position: absolute;
    right: 0px;
    top: 0px;
}

.UnconfirmedBox .btnAppointmentDone {
    position: absolute;
    left: 0px;
    top: 0px;
}

.UnconfirmedBox .btnAppointmentCancel,
.UnconfirmedBox .btnDoneCancel {
    left: 0px;
    bottom: 0px;
}

.UnconfirmedBox .btnAppointmentConfirm,
.UnconfirmedBox .btnDoneConfirm {
    right: 0px;
    bottom: 0px;
}

.UnconfirmedBox button i {
    margin: 0 5px 0 0;
}

.AppointmentList {
    margin: 0 0 20px 0;
}

.AppointmentList+.AppointmentList {
    border-top: 1px solid #aaa;
}

.AppointmentList span.time {
    font-weight: bold;
}

.AppointmentList span.note {
    color: #aaa;
}

.AppointmentList .ConfirmDelete {
    display: none;
    position: relative;
    font-weight: bold;
    min-height: 65px;
}

.AppointmentList .ConfirmDelete .btnConfirm {
    position: absolute;
    bottom: 5px;
    right: 0px;
}

.AppointmentList .ConfirmDelete .btnCancel {
    position: absolute;
    bottom: 5px;
    left: 0px;
}

nav.main,
nav.sub {
    display: block;
    width: 100%;
    border-bottom: 2px dotted grey;
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
}

nav.sub {
    margin: 0 0 20px 0;
}

nav a {
    margin: 0 5px;
}

nav#GlobalNav {
    padding-top: 25px;
    padding-left: 10px;
    margin-top: 25px;
    border-top: 1px solid #CCC;
    width: 100%;
}

nav#GlobalNav p::before {
    content: "»";
    position: absolute;
    left: 0;
}

.ajax-spinner {
    display: none;
    padding: 5px;

    position: absolute;
    bottom: 0px;
    left: calc(50% - 18px);
}

#times {
    padding-bottom: 30px;
    position: relative;
}



.row {
    flex-direction: column;
    align-items: stretch;
    padding: .5rem 0;
}

.hintDay div:first-child,
.hintTime div:first-child {
    margin-bottom: 10px;
}

.times button,
.days button {
    min-width: 100px;
}

.hintDisclaimer {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#disclaimer {
    width: 25px;
    height: 25px;
    margin: 0 15px;
}

@media (min-width: 748px) {
    .row {
        flex-direction: row;
        align-items: flex-start;
    }

    .hintTask {
        font-size: 1.2rem;
        font-weight: 500;

    }

    div:first-child {
        padding-right: .5rem;
    }

    .hintDay div:first-child,
    .hintTime div:first-child {
        width: 33%;
    }

    .times,
    .days {
        display: flex;
        width: 66%;
        flex-wrap: wrap;
        justify-content: center;

    }
}

