[data-mdpersiandatetimepicker][disabled] {
    opacity: 0.5;
    cursor: default;
}

.mds-bootstrap-persian-datetime-picker-container {
    min-width: 300px;
    font-size: 12px;
    position: relative;
    overflow: visible;
}

.mds-bootstrap-persian-datetime-picker-container.rtl {
    direction: rtl;
}

.mds-bootstrap-persian-datetime-picker-container .select-year-box,
.mds-bootstrap-persian-datetime-picker-container .select-year-inline-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    text-align: center;
    transition: all 200ms ease;
    overflow: hidden;
    z-index: 9999999;
}

.mds-bootstrap-persian-datetime-picker-container .select-year-box.inline {
    top: 23px !important;
    overflow: hidden;
}

.mds-bootstrap-persian-datetime-picker-container .select-year-box.w-0,
.mds-bootstrap-persian-datetime-picker-container .select-year-inline-box.w-0 {
    height: 0;
}

.mds-bootstrap-persian-datetime-picker-container .select-year-box button {
    font-size: 14px;
}

.mds-bootstrap-persian-datetime-picker-container .select-year-box [selected-year] button {
    background-color: aquamarine;
}

.mds-bootstrap-persian-datetime-picker-container.rtl table {
    direction: rtl;
}

.mds-bootstrap-persian-datetime-picker-container.rtl tfoot table {
    direction: ltr;
}

.mds-bootstrap-persian-datetime-picker-container.rtl .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 0.255em;
}

.mds-bootstrap-persian-datetime-picker-container * {
    font-size: 12px;
}

.mds-bootstrap-persian-datetime-picker-container table {
    margin-bottom: 0;
}

.mds-bootstrap-persian-datetime-picker-container table th,
.mds-bootstrap-persian-datetime-picker-container table td {
    padding: 1px;
    font-size: 14px;
    text-align: center;
}

.mds-bootstrap-persian-datetime-picker-container table tbody td[data-next-month] .btn,
.mds-bootstrap-persian-datetime-picker-container table tbody td[data-prev-month] .btn {
    background: #fff;
    border: none;
    cursor: default;
}

.mds-bootstrap-persian-datetime-picker-container table table {
    background: transparent !important;
    background-color: transparent !important;
    border: none;
}

.mds-bootstrap-persian-datetime-picker-container table table th {
    border: none;
}

.mds-bootstrap-persian-datetime-picker-container table table input[type="text"] {
    width: 50px;
    border: none;
    text-align: center;
    background-color: #fff;
}

.mds-bootstrap-persian-datetime-picker-container th {
    padding: 0;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days {
    border: 0;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days tr:first-child>td {
    vertical-align: top;
    padding-bottom: 5px;
    width: 14.2%;
    cursor: default;
    font-weight: bold;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-day] {
    cursor: pointer;
    transition: all 200ms ease;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-day][data-today] {
    background-color: aquamarine;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-day][data-selectedday] {
    background-color: #96daff;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days td.selected-range-days-start-end {
    background-color: #c9e1ff;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days td.selected-range-days {
    background-color: #d9f2e6;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-special-date] {
    background-color: #c7f7c7;
    border: 1px solid #00ce00;
    transition: all 200ms ease;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-special-date]:hover {
    background-color: #7bff7b;
    border-color: #31cc31;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-pm],
.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-nm],
.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[disabled] {
    cursor: default;
    opacity: 0.2;
    transition: none;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-pm]:hover,
.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-nm]:hover,
.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[disabled]:hover {
    cursor: not-allowed;
    opacity: 0.3;
    transition: none;
}

.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-day]:not([data-special-date]):hover,
.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-nm]:hover,
.mds-bootstrap-persian-datetime-picker-container table table tbody.days td[data-pm]:hover {
    background: #ccc;
}

.mds-bootstrap-persian-datetime-picker-container .btn {
    width: 100%;
    margin-bottom: 1px;
    padding: 1px;
    font-size: 14px;
}

.mds-bootstrap-persian-datetime-picker-container .btn[disabled] {
    opacity: 0.2;
}

.mds-bootstrap-persian-datetime-picker-container .dropdown {
    padding: 0;
    padding-bottom: 1px;
    text-align: center;
}

.mds-bootstrap-persian-datetime-picker-container .dropdown-menu {
    min-width: 100px;
    width: 100px;
}

.mds-bootstrap-persian-datetime-picker-container .dropdown-item {
    padding: 0;
    padding-bottom: 1px;
    cursor: pointer;
    text-align: center;
    display: block;
    width: 100%;

    clear: both;
    font-weight: 400;
    color: #212529;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.dropdown-divider {
    height: 0;
    margin: .5rem 0 ;
        margin-bottom: 0.5rem;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}
.table-sm td, .table-sm th {
    padding: .3rem !important;
}
.btn-light{margin: 0px}
.btn-light:hover {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}
.mds-bootstrap-persian-datetime-picker-container .dropdown-item:not(.disabled):hover {
    background-color: #ccc;
}

.mds-bootstrap-persian-datetime-picker-container .dropdown-item.disabled {
    opacity: 0.2;
    cursor: default;
}

.mds-bootstrap-persian-datetime-picker-container .dropdown-divider {
    margin-bottom: 1px;
    cursor: default;
}

.mds-bootstrap-persian-datetime-picker-popover {
    max-width: 100%;
    -webkit-box-shadow: 0 5px 15px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px 1px rgba(0, 0, 0, 0.1);
    z-index: 999999999;
}

.mds-bootstrap-persian-datetime-picker-modal *{
    font-size: 24px !important;
}
.fade {
    transition: opacity .15s linear !important;
    opacity: 1;
}
.popover .text-center th{text-align: center;font-size: 14px}