﻿.ui-datepicker table {
    min-width: 240px;
    max-width: 240px;
    background: #cd701e;
}

.ui-datepicker:empty {
    display: none
}

.ui-datepicker th, .ui-datepicker td {
    background: #F4F0ED !important;
    color: #cd701e;
    padding: 5px 0;
    text-align: center;
    width: 40px !important;
    border: 1px solid #FFF;
}

.ui-datepicker table th {
    background: #0097a3 !important;
    color: #FFF !important;
}

.ui-datepicker th:first-child {
    background: #0097a3 !important;
    color: #FFF !important;
}

.ui-datepicker th, .ui-datepicker table td a {
    color: #000 !important;
    background: none !important;
}

.ui-datepicker table tr:nth-child(even) td {
    background: #FFFBD8 !important;
}

.ui-datepicker-days-cell-over .ui-state-default.ui-state-highlight {
    background: #CF4122 !important;
    color: #FFF !important;
    border-radius: 10px;
    padding: 0 5px;
}

.ui-datepicker table td.ui-state-disabled {
    background: #d7d7d7 !important;
}

.ui-datepicker td a, .ui-datepicker-month, .ui-datepicker-year {
    background: none !important;
    border: none !important;
    color: #FFF !important;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.3);
    text-decoration: none;
    background:#0097a3 !important
}

.ui-datepicker.ui-widget.ui-widget-content, .ui-datepicker .ui-datepicker-header {
    background: #0097a3 !important;
    padding: 10px;
    border: none !important;
    border-radius: 10px
}

/*.ui-widget.ui-widget-content {
    border: 1px solid #016670 !important;
}*/

.ui-datepicker-header a {
    color: #000 !important;
    font-weight: normal !important;
    text-decoration: none;
    background: #FFF;
    border-radius: 10px;
    padding: 0 5px;
    font-size: 15px;
    line-height: 20px;
}

.ui-datepicker-days-cell-over .ui-state-default.ui-state-highlight, .ui-datepicker-calendar td a.ui-state-active {
    background: #CF4122 !important;
    color: #FFF !important;
    border-radius: 10px;
    display: inline-block;
    width: 25px;
}

.ui-datepicker td.ui-datepicker-today {
    background: #a95c19 !important;
}

.ui-datepicker-title {
    text-align: center;
    order:2;
}

.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
    padding: 0px 5px 0;
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 5px;
}

a.ui-datepicker-prev.ui-corner-all {
    color: #FFF;
    font-weight: bold;order:1;
}

    a.ui-datepicker-prev.ui-corner-all:before {
        content: "\f104";
        font-family: 'Font Awesome 6 Free';
        font-size: 15px;
        display: inline-block;
        line-height: normal;
        font-weight: 900;
        vertical-align: middle;
        margin-right: 3px
    }

a.ui-datepicker-next.ui-corner-all {
    color: #000;
    font-weight: bold;
    order:3;
}

    a.ui-datepicker-next.ui-corner-all:after {
        content: "\f105";
        font-family: 'Font Awesome 6 Free';
        font-size: 15px;
        display: inline-block;
        line-height: normal;
        font-weight: 900;
        vertical-align: middle;
        margin-left: 3px
    }

.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
    position: relative;
}
.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
html[dir="rtl"] a.ui-datepicker-next.ui-corner-all:after {
    content: "\f104";
}
html[dir="rtl"] a.ui-datepicker-prev.ui-corner-all:before {
    content: "\f105";
}
html[dir="rtl"] .ui-datepicker-header a {  
    font-size: 12px !important;
}