.ui-datepicker-inline {
    width: 100% !important;
    border: 0 !important;
    padding: 0 !important;
}

.ateotheme:not(.inlineDate) {
    font-size: 90%;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    border: 1px solid #e1e0e0 !important;
}

.ateotheme .ui-widget {
    background: #fff;
    border: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}

.ateotheme.ui-datepicker {
    padding: 0;
    z-index: 200 !important;
    padding-bottom: 2px;
    min-width: 285px;
}

.ateotheme .ui-datepicker .ui-datepicker-week-col, .ui-datepicker-week-col {
    text-align: center;
    color: #aaa;
}

.ateotheme .ui-datepicker-header {
    border: none;
    background: transparent;
    font-weight: normal;
    text-transform: uppercase;
}

.ateotheme.ui-datepicker .ui-datepicker-title {
    margin-top: .5em;
    margin-bottom: .5em;
}

.ateotheme.ui-datepicker .ui-datepicker-title::after {
    display: block;
    clear: both;
    content: "";
}

.ateotheme.ui-datepicker .ui-datepicker-prev-hover,
.ateotheme.ui-datepicker .ui-datepicker-next-hover,
.ateotheme.ui-datepicker .ui-datepicker-next,
.ateotheme.ui-datepicker .ui-datepicker-prev,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev-hover,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-next-hover,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-next,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev {
    top: 50%;
    border: none !important;
    /* box-shadow: 0px 0px 4px rgba(0,0,0,.3); */
    cursor: pointer;
    width: 25px;
    height: 25px;
    transform: translateY(-50%);
}
.ateotheme.ui-datepicker .ui-state-hover.ui-datepicker-prev-hover,
.ateotheme.ui-datepicker .ui-state-hover.ui-datepicker-next-hover {
    background: transparent !important;
}

.ateotheme.ui-datepicker .ui-datepicker-prev-hover,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev-hover {
    left: 2px;
}

.ateotheme.ui-datepicker .ui-datepicker-next-hover,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-next-hover {
    right: 2px;
}
.ateotheme.ui-datepicker .ui-datepicker-prev span,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev span {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z' /%3E%3C/svg%3E") !important;
}
.ateotheme.ui-datepicker .ui-datepicker-next span,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-next span {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z' /%3E%3C/svg%3E") !important;
}
.ateotheme.ui-datepicker .ui-datepicker-next span,
.ateotheme.ui-datepicker .ui-datepicker-prev span,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-next span,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev span {
    background-position: center center;
    margin-top: 0;
    top: 0px;
    font-weight: normal;
    width: 25px;
    height: 25px;
    margin: 0;
    left: 0;
}

.ateotheme.ui-datepicker .ui-datepicker-prev span,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev span {
    background-position: center center;
}

.ateotheme.ui-datepicker .ui-datepicker-prev-hover span,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev-hover span {
    background-position: center center;
}

.ateotheme.ui-datepicker .ui-datepicker-next-hover span,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-next-hover span {
    background-position: center center;
}

.ateotheme.ui-datepicker table {
    margin: 0;
    width: 100%;
}

.ateotheme.ui-datepicker th {
    padding: 10px 0 5px 0;
    color: #212121;
    font-size: 8px;
    font-weight: normal;
    text-transform: uppercase;
    border: none;
    border-top: 1px solid #ddd;
}

.ateotheme.ui-datepicker td {
    border: none;
    padding: 0;
}

.ateotheme .ui-datepicker td {
    position: relative;
}

.ateotheme .ui-datepicker .between a {
    background: var(--primary-color) !important;
}

.ateotheme .ui-datepicker .begin a:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 0 0;
    border-color: #020202 transparent transparent transparent;
    opacity: .5;
    top: 2px;
    left: 2px;
    display: block;
    position: absolute;
}

.ateotheme .ui-datepicker .end a:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 7px 7px;
    border-color: transparent transparent #020202 transparent;
    opacity: .5;
    bottom: 2px;
    right: 2px;
    display: block;
    position: absolute;
}
/* .ateotheme .ui-datepicker-other-month a {
	display: none !important;
} */

.ateotheme .ui-datepicker-other-month.between a {
    background: #eee !important;
    opacity: .3;
}


.ateotheme td .ui-state-default {
    background: #eee;
    border: none;
    text-align: right;
    padding: 10px;
    margin: 0;
    font-weight: normal;
    color: #212121;
    font-size: 12px;
}

.ateotheme td.ui-datepicker-week-end .ui-state-default {
    background: #ccc;
}

.ateotheme td .ui-state-active {
    font-weight: bold !important;
}

.ateotheme td .ui-state-active, .ateotheme td .ui-state-hover,
.ateotheme td.end a {
    background: var(--primary-color) !important;
    color: #212121;
    border-radius: 0 !important;
}

.ateotheme td.ferien a {
    box-shadow: inset 0px 4px 0px rgba(56, 34, 208, 0.6);
}

.ateotheme td.feiertag a {
    box-shadow: inset 0px 4px 0px rgba(230, 78, 3, 0.6);
}

.ateotheme td .ui-state-active,
.ateotheme td .ui-state-hover {
    background: #1b7fb0;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    color: #fff;
}

.sidebar-fixed .ateotheme td .ui-state-active,
.sidebar-fixed .ateotheme td .ui-state-hover {
    color: #212121;
}

.ateotheme.ui-datepicker-buttonpane [data-handler="today"] {
    display: none !important;
}

.ateotheme .ui-datepicker-multi-2 .ui-datepicker-group-last {
    border-left: 1px solid #ccc;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    min-height: auto;
    border: 1px solid #ddd;
    margin: 0 3px !important;
}

.ateotheme .ui-state-disabled .ui-state-default {
    color: #000000;
}
.ateotheme .ui-datepicker-buttonpane {
    margin: 0 !important;
    background-color: #fff;
    width: 100%
}

.ateotheme .ui-datepicker-buttonpane button {
    color: #535353;
    background: none repeat scroll 0 0 #fff;
    border-radius: 0;
    font-size: 11px !important;
}

.ui-datepicker-week-col {
    text-align: center !important;
    color: #c4c4c4 !important;
    font-size: 10px !important;
}

[name="minDate"].active_date,
[name="minDate"].active_date:focus,
[name="maxDate"].active_date,
[name="maxDate"].active_date:focus {
    box-shadow: 3px 3px 0px rgba(0,0,0,.5) !important;
}