.ui-datepicker {
    z-index: 9999 !important;
    width: auto !important;
    background-color: #fff;
    border: 1px solid #d8d8d8;
}

.ui-datepicker-multi .ui-datepicker-group {
    width: 33.333%;
    min-height: 295px;
}

#calendar .ui-datepicker {
    padding: 0;
    border: none;
}

.ui-datepicker .ui-datepicker-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 33px;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    top: 3px;
    width: 39px;
    height: 33px;
}

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

.ui-datepicker .ui-datepicker-next-hover {
    right: 2px;
}


.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    top: 0;
    left: 0;
    width: 39px;
    height: 33px;
    margin: 0;
    position: relative;
    background: url(prev7.png?v=1) no-repeat center center;
    border:1px solid #fb5200;
    border-radius: 2px;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-next span {
    background-image: url(next7.png?v=1);
}

.ui-datepicker th {
    padding: 0.7em 0;
    text-align: left;
}

.ui-datepicker th span {
    width: 33px;
    text-align: center;
    display: inline-block;
}

.ui-datepicker td a,
.ui-datepicker td span {
    width: 33px;
    height: 33px;
    padding: 0;
    color: #fff;
    line-height: 28px;
    text-align: center;
    position: relative;
    background: #04A9BD;
    border: 2px solid #fff;
}

.ui-datepicker td a.ui-state-hover,
.ui-datepicker td span.ui-state-hover {
    background-color: #cceeeb;
    color: #04A9BD
}

.daterangepicker td {
    position: relative;
}

.ui-datepicker td a::before,
.ui-datepicker td span::before,
.daterangepicker td::before {
    content: "Müsait";
    left: 0;
    top: -27px;
    width: 52px;
    z-index: 9999;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    font-style: normal;
    position: absolute;
    background-color: #000;
    border-radius: 3px;
    display: none;
}

.ui-datepicker td a::after,
.ui-datepicker td span::after,
.daterangepicker td::after {
    content: "\f0d7";
    left: 7px;
    bottom: 33px;
    color: #000;
    font-weight: 900;
    position: absolute;
    font-family: "font awesome 5 free";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-variant: normal;
    text-rendering: auto;
    font-style: normal;
    line-height: 1;
    display: none;
}

.ui-datepicker td a:hover::before,
.ui-datepicker td a:hover::after,
.ui-datepicker td span:hover::before,
.ui-datepicker td span:hover::after,
.daterangepicker td:hover::before {
    display: block;
}

.ui-datepicker td.calendarFull a,
.ui-datepicker td.calendarFull span,
.daterangepicker td.calendarFull {
    color: #fbfbfb !important;
    background-color: #999999 !important;
    border-radius: 0;
}

.daterangepicker td.calendarFull {
    border-radius: 0;
}

.daterangepicker td.calendarIn,
.daterangepicker td.calendarOut,
.daterangepicker td.jutrzvcikis,
.daterangepicker td.jutrzvgiris {
    background-size: 33px;
    border-radius: 0;
}

.ui-datepicker td.calendarFull a::before,
.ui-datepicker td.calendarFull span::before {
    content: "Müsait Değil";
    width: 85px;
}

.ui-datepicker td.calendarFull2 a::before {
    content: "Giriş/Çıkış Günü";
    width: 110px;
}

.ui-datepicker td.calendarFull2 .ui-state-default,
.daterangepicker td.calendarFull2 {
    background: url(giriscikis.png) center no-repeat #999999 !important;
    background-repeat: no-repeat;
    background-position: right bottom;
    cursor: pointer;
    color: #fff !important;
}

.ui-datepicker td.calendarOut a,
.ui-datepicker td.calendarOut span,
.daterangepicker td.calendarOut {
    background-image: url(cikis.png);
    background-repeat: no-repeat no-repeat;
    background-position: right center;
    cursor: pointer;
}

.ui-datepicker td.calendarIn a,
.ui-datepicker td.calendarIn span,
.daterangepicker td.calendarIn {
    background-image: url(giris.png);
    background-repeat: no-repeat no-repeat;
    background-position: left center;
    cursor: pointer;
}

.ui-datepicker td.jutrzrv a,
.ui-datepicker td.jutrzrv span,
.daterangepicker td.jutrzrv {
    color: #fbfbfb !important;
    background-color: #fdb714 !important;
}

.daterangepicker td.jutrzrv {
    border-radius: 0;
}

.daterangepicker td::before {
    content: attr(data-content);
    width: auto;
    padding: 0 7px;
}

.ui-datepicker td.jutrzvcikis a,
.ui-datepicker td.jutrzvcikis span,
.daterangepicker td.jutrzvcikis {
    background-image: url(rzcikis.png);
    background-repeat: no-repeat no-repeat;
    background-position: right center;
    cursor: pointer;
}

.ui-datepicker td.jutrzvgiris a,
.ui-datepicker td.jutrzvgiris span,
.daterangepicker td.jutrzvgiris {
    background-image: url(rzgiris.png);
    background-repeat: no-repeat no-repeat;
    background-position: left center;
    cursor: pointer;
}

.daterangepicker td.in-range,
.daterangepicker td.off.in-range {
    background-image: none;
    background-color: #357ebd !important;
    color: #fff;
}

.ui-datepicker td.ui-state-disabled span,
.ui-datepicker td.ui-state-disabled a {
    color: #d8d8d8;
    cursor: url(calendardisable.png), pointer;
    background: repeating-linear-gradient(
        -45deg,
        white,
        white 3px,
        #ebebeb 3px,
        #ebebeb 4px
    );
}

.ui-datepicker td.ui-state-disabled span::before,
.ui-datepicker td.ui-state-disabled a::before {
    content: "Geçmiş Tarih";
    width: 85px;
}

.ui-datepicker td span,
.ui-datepicker td a {
    padding-bottom: 1em;
}

.ui-datepicker td[title]::after {
    content: attr(title);
    display: block;
    position: relative;
    font-size: 7px;
    height: 10px;
    margin-top: -13px;
    margin-left: 0;
    text-align: center;
    color: #fff;
}

@media screen and (max-width: 540px) {
    .ui-datepicker-multi .ui-datepicker-group {
        width: 100%;
    }
    .ui-datepicker td a, .ui-datepicker td span {
        width: 50px;
        height: 40px;
    }
    .ui-datepicker-next {
        position: absolute !important;
        top: 3px !important;
        margin-right: 8px !important;
    }
}
