.sy_appointement {
    background-color: #E3BFB5;
    padding: 37px 0;
    width: 100%;
    box-sizing: border-box;
}

.sy_appointement__form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
    max-width: 70%;
    margin: 0 auto;
}
.sy_appointement__form > div {
    display: none;
}
.sy_appointement__form > div.sy_appointement__form__field {
    width: calc(33% - 2px);
    flex: 0 0 calc(33% - 2px);
    display: block;
    box-sizing: border-box;
}

.sy_appointement__form > div.sy_appointement__form__field.sy_appointement__form__field_calendar {
    position: relative;
}
.sy_appointement__form > div.sy_appointement__form__field.sy_appointement__form__field_calendar::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 14px;
    background-image:url(/typo3conf/ext/sy_appointement/Resources/Public/Img/calendar.png);
    width: 18px;
    height: 16px;
    background-size: cover;
    background-repeat: no-repeat;
}


.sy_appointement__form > div.sy_appointement__form__field input {
    border: 0;
    background: white;
    color: #525252;
    font-family: Roboto;
    font-size: 1em;
    padding: 0.5rem 1.111rem;
    margin-top: 0.5rem !important;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
}
.sy_appointement__form > div.sy_appointement__form__privacy {
    width: 100%;
    flex: 0 0 100%;
    display: block;
    color: #000000;
    box-sizing: border-box;    
    margin: 30px 0;
}
.sy_appointement__form > div.sy_appointement__form__privacy.form-check label {
    display: flex;
    padding-left: 45px;
}
.sy_appointement__form > div.sy_appointement__form__privacy.form-check label:after, 
.sy_appointement__form > div.sy_appointement__form__privacy.form-check label:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 0;
    background-color: white;
    top: 0;
    left: 0;
    border-radius: 0;
}
.sy_appointement__form > div.sy_appointement__form__privacy.form-check label.checked:after {
    content: "";
    background: url(/fileadmin/templates/website/media/images/Allgemein/GEKA_Haken.png) no-repeat;
    border: 0;
    background-size: 100%;
    width: 15px;
    height: 15px;
    margin: 3px;
}

.sy_appointement__form > div.sy_appointement__form__privacy.form-check label span {
    width: 70%;
    font-size: 14px;
    line-height: 20px;
    padding-top: 3px;
}
.sy_appointement__form > div.sy_appointement__form__privacy.form-check label span a {
    color: black;
    font-weight: bold;
}

.sy_appointement__form > div.sy_appointement__form__submit {
    width: 100%;
    flex: 0 0 100%;
    display: block;
    box-sizing: border-box;
}
.sy_appointement__form > div.sy_appointement__form__submit input {
    border: 0;
    background: white;
    color: #525252;
    font-family: Roboto;
    font-size: 1em;
    text-align: center;
    padding: 0.3rem 1.111rem !important;
    width: 13rem !Important;
    box-sizing: border-box;
    cursor: pointer;
}

@media (max-width: 1280px) {
    .sy_appointement {
        padding: 36px 12px;
    }
}
@media (max-width: 830px) {
    .sy_appointement__form {
        max-width: 100%;
    }
    .sy_appointement__form > div.sy_appointement__form__field.sy_appointement__form__field_calendar::after {
        width: 18px;
        height: 16px;
        background-size: cover;
        background-repeat: no-repeat;
        top: 18px;
    }
}

@media (max-width: 680px) {
    .sy_appointement {
        padding: 16px;
    }
    .sy_appointement__form > div.sy_appointement__form__field {
        width: 100%;
        flex: 0 0 100%;;
    }
    .sy_appointement__form > div.sy_appointement__form__field input {
        margin-bottom: 14px;
    }

    .sy_appointement__form > div.sy_appointement__form__privacy.form-check label:after, 
    .sy_appointement__form > div.sy_appointement__form__privacy.form-check label:before {
        width: 22px;
        height: 22px;
    }

    .sy_appointement__form > div.sy_appointement__form__privacy.form-check label.checked:after {
        width: 12px;
        height: 12px;
    }

    .sy_appointement__form > div.sy_appointement__form__privacy.form-check label span {
        width: 100%;
        font-size: 14px;
        line-height: 18px;
    }

    .sy_appointement__form > div.sy_appointement__form__submit input {
        max-width: 250px;
    }

    .sy_appointement__form > div.sy_appointement__form__field.sy_appointement__form__field_calendar::after {
        width: 15px;
        height: 14px;
        background-size: cover;
        background-repeat: no-repeat;
        top: 12px;
    }
}

#ui-datepicker-div.ui-datepicker {
    border-radius: 0;
    padding: 0;
    box-shadow: 0px 0px 6px #0000006E;
    border: 0;
}
#ui-datepicker-div.ui-corner-all {
    border-radius: 0;
    padding: 0;
}
#ui-datepicker-div.ui-datepicker .ui-datepicker-header {
    padding: 0;
    background-color: #BB6449;
    border-radius: 0;
    margin: 0;
    height: 40px;
    line-height: 40px;
    border: 0;
}
#ui-datepicker-div.ui-datepicker .ui-widget-header a {
    color: white;
    height: 38px;
    line-height: 38px;
}
#ui-datepicker-div.ui-datepicker .ui-datepicker-title {
    color: white;
    font-size: 14px;
    font-weight: 300;
    height: 40px;
    line-height: 40px;
}

#ui-datepicker-div.ui-datepicker table.ui-datepicker-calendar {
    margin: 10px 10px;
    width: calc(100% - 20px);
}
#ui-datepicker-div.ui-datepicker table.ui-datepicker-calendar td {
    border: 0;
    text-align: center;
    padding: 0;
}
#ui-datepicker-div.ui-datepicker table.ui-datepicker-calendar td .ui-state-default {
    border: 0;
    background: 0;
    text-align: center;
}
#ui-datepicker-div.ui-datepicker table.ui-datepicker-calendar td .ui-state-hover {
    border: 0;
    background: #E3BFB5;
    text-align: center;
}

#ui-datepicker-div.ui-datepicker table.ui-datepicker-calendar td.ui-datepicker-week-end .ui-state-hover {
    background: #F3CFC5;
}
#ui-datepicker-div.ui-datepicker table.ui-datepicker-calendar td .ui-state-default.ui-state-active {    
    background: #E3BFB5;
    color: #454545;
}
#ui-datepicker-div.ui-datepicker table.ui-datepicker-calendar td.ui-datepicker-week-end .ui-state-default.ui-state-active {
    background: #F3CFC5;
    color: #454545;
}

#ui-datepicker-div.ui-datepicker table.ui-datepicker-calendar td.ui-state-disabled .ui-state-default {
    background: #D5D5D5;
}

#ui-datepicker-div.ui-datepicker table.ui-datepicker-calendar td.ui-datepicker-selected-week .ui-state-default {    
    background: #E3BFB5;
    color: #454545;
}
#ui-datepicker-div.ui-datepicker table.ui-datepicker-calendar td.ui-datepicker-selected-week.ui-datepicker-week-end .ui-state-default {
    background: #F3CFC5;
    color: #454545;
}


@media (max-width: 680px) {
    #ui-datepicker-div.ui-datepicker {
        width: calc(100% - 44px);
    }
    #ui-datepicker-div.ui-datepicker table.ui-datepicker-calendar {
        font-size: 16px;
        line-height: 22px;
    }
    #ui-datepicker-div.ui-datepicker .ui-widget-header a {
        font-size: 22px;
    }
    #ui-datepicker-div.ui-datepicker .ui-datepicker-title {
        font-size: 18px;
    }
}