#person {
    margin-top: 24px;
}
.form {
    padding: 8px 12px;
}
#person h1 {
    margin-top:0;
}
label {
    width: 100%;
    font-size: 1.1rem;
}
fieldset {
    border:0;
    margin:0;
    padding:0;
}

.schritte li {
    width: 90%;
    margin-bottom: 12px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    font-style: italic;
    color: #ddd;
}
::-moz-placeholder { /* Firefox 19+ */
    font-style: italic;
    color: #ddd;
}
:-ms-input-placeholder { /* IE 10+ */
    font-style: italic;
    color: #ddd;
}
:-moz-placeholder { /* Firefox 18- */
    font-style: italic;
    color: #ddd;
}

/** wegweiser nach rechts **/
.arrow-right{
    align-items: center ;
    display: flex;
}
.arrow-right a,
.arrow-right span {
    background-color: lightgrey;
    color: #fff;
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    font-family: sans-serif;
}
.arrow-right:after {
    content: '' ;
    flex:  0 1 auto;
    width: 0;
    border-left: 24px solid lightgrey;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

.arrow-right.link a {
    background-color: green;
}
.arrow-right.link:after {
    border-color: transparent transparent transparent green;    
}

.arrow-right.active span,
.arrow-right.active a {
    background-color: var(--main-color); 
}
.arrow-right.active:after {
    border-color: transparent transparent transparent var(--main-color);
}
/** /wegweiser **/

.reservation p {
    margin: 0;
}
.reservation_event h4 {
    margin: 8px 0;
}
.reservation_event {
    width: 90%;
    padding: 16px;
    margin-bottom: 12px;
    border-radius:4px;
}
.reservation_event div {
    margin-bottom: 18px;
    display:flex;
}
.reservation_event .date {
    color: black;
    font-size: 1rem;
    display: block;
}
.reservation_disabled .date {
    color: hsl(84, 4.2%, 76.7%);
}
.reservation_active .date {
    color: var(--link-color);/*hsla(206, 64.4%, 57.1%, 1);  */
}

.reservation_dates {
    width: 1px;
    padding: 0;
}

/*.reservation_disabled label::before {
     border-color: #ccc;   
}
.reservation_active label::before {
     background-color: hsla(206, 64.4%, 57.1%, 0.5);  
}
*/

.checkbox {
    position: relative;
    line-height: 32px;
}
.termine .checkbox,
.guestlist .checkbox {
    display: flex;
}
.checkbox input[type="checkbox"],
.checkbox input[type="radio"] {
    display: inline-block;
    opacity: 0;
    width: 1px;
}

.checkbox label {
    position: relative;
    width: auto;
    margin-right:8px;
    padding: 0 0 0 24px;
}
.checkbox label::before,
.checkbox label::after {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
}

/*fake checkbox*/
.checkbox label::before {
    height: 24px;
    width: 24px;    
    border: 1px solid #000;
    left: -8px;
    background-color: #fff;
}
/*Checkmark of the fake checkbox*/
.checkbox label::after {
    height: 12px;
    width: 18px;
    border-left: 4px solid transparent;
    border-bottom: 4px solid transparent;    
    transform: rotate(-45deg);
    left: -4px;
    top: 8px;
}

.checkbox input:checked + label::after  {
    border-color: var(--link-color);
}
.checkbox input[disabled]:checked + label::after,
.checkbox input[disabled] + label::before {
    border-color: #ccc;
}
.checkbox input[disabled] + label {
    color: #ccc;
}

.checkbox label:hover  {
    cursor: pointer;
}
.checkbox input[disabled] + label:hover {
    cursor: default;
}

/*Adding focus styles on the outer-box of the fake checkbox
.checkbox input[type="checkbox"]:focus + label::before {
    outline: rgb(59, 153, 252) auto 5px;
}
*/

.reservation_event .message {
    display: block;
    line-height: 0.9rem;
}

.reservation_event .error{
    font-style: italic;
}

.input-field span.error,
.reservation_event span.error {
    color: red;
    padding: 0 0 0 12px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.2rem;
}
.input-field {
    margin: 0 0 12px 0 ;
}
.input-field:last-child {
    /*! display:block; */
    margin-top:32px;
}
.input-field>label {
    display:block;
    font-family: Tahoma, sans-serif;
}
.input-field>input,
.input-field>textarea {
    height:46px;
    border: 0;
    padding:4px;
    font-size:1rem;
    display:block;
    width:100%;
    margin: 0 8px 4px 0;
    background-color:#0000000a;
}
.input-field>input:disabled {
    background-color: #eee;
}
.input-field>textarea {
    height: 6rem;
}
.person.input-field input:not(:disabled) {
    border: 1px solid #444;
}

#plz {
    width:20%
}
.nickname {
    color: transparent;
    font-size:1px;
    height:1px;
    margin-top:-12px;
}
.nickname input{
    border:0;
    height:1px;
}

.persona h2 {
    margin-bottom: 0;
}
.guestlist {
    margin-bottom: 12px;
}
.guestlist .input-field input[type=text] {
    margin-right: 8px;
}

.showclientlist {
    visibility: hidden;
}

@media screen and (min-width: 811px) {
    #form .wrapper {
        padding: 24px;
        display:block;
    }
    
    .schritte ul {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap
    }
    
    .schritte li {
        flex: 0 1;
        padding: 0;
        margin: 0;
    }
    
    .arrow-right {
        width: 148px;
    }
    .arrow-right a,
    .arrow-right span {
        padding: 10px 6px;
    }
    .reservationen {
        display: flex;
        justify-content: space-between;
        flex-flow: wrap;
    }    
    .reservation_event {
        /*! border-bottom: 1px solid #f73939; */
        padding: 8px;
        margin:12px 6px;
        width: 100%;
        flex: 0 0 31%;
    }
    
    .input-field {
        display:flex;
        margin-bottom:12px;
        justify-content:flex-start;
    }
    .input-field:last-child {
        /*! display:block; */
        margin-top:32px;
    }
    .input-field>label {
        width:30%;
        height:46px;
        padding:16px;
        text-align:right !important;
    }
    .input-field>label[data-error] {
        color:red;
    }
    .input-field>input,
    .input-field>textarea {
        width:40%;
        border: none;
        padding:2px;
        font-size:1.1rem;
    }
}