

.calender * {
  margin: 0;
  padding: 0;
  direction: rtl;
}
.calendarWrap
{width: 100%;position: relative;}
.DayInfo
{
	display:none;
}
.calendar {
  padding: 20px;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 0px 3px #dadada;
  height: 100%;
  border: 1px solid #CCC;
}

.calendar .calendar-dates,
.calendar .calendar-day-name {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 5px;
}

.calendar .calendar-dates-day.highlighted {
  background: #ffb3b3;
  border: 1px solid #ef7373;
}

.calendar .calendar-dates-day.highlighted:hover {
  background: #e53636;
  border: 1px solid #8f3e3e;
  color: #FFF;
  cursor: pointer;
}
.calendar .calendar-dates-day.highlighted-blue {
    background: #cdb3ff;
    border: 1px solid #9d55c3;
}

.calendar .calendar-dates-day.highlighted-blue:hover {
    background: #997dcd;
    border: 1px solid #340e48;
    color: #FFF;
    cursor: pointer;
}
.calendar .calendar-dates-day {
  font-size: 14px;
  border: 1px solid #efefef;
  padding: 4px;
  font-weight: bold;
  box-sizing: border-box;
  background: #f8f8f8;
  border-radius: 4px;
  color: #333;
  height: 35px;
}

.calendar .calendar-dates-day:hover {
  border: 1px solid #efefef;
  box-sizing: border-box;
  background: #ddd;
  color: #333;
}

.calendar .calendar-dates-day-empty {
  background: none;
  border: 0;
  color: #dcdcdc;
  min-height: 28px;
}

.calendar .calendar-day-name div {
  text-align: center;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #666;
}

.calendar .calendar-title {
  padding: 14px 16px;
  text-align: center;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #8b1a1a 0%, #c0392b 100%);
  margin: -20px -20px 12px -20px;
  border-radius: 12px 12px 0 0;
}

.calendar .calendar-dates-day.today-date {
  background: #555;
  color: #fff;
}

.calendar .calendar-dates-day.today-date:hover {
  background: #444;
  color: #fff;
}

.calendar #prevMonth,
.calendar #nextMonth,
.calendar #today {
  padding: 2px 6px;
  box-sizing: border-box;
  font-size: 20px;
  line-height: 20px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,0.15);
}

.calendar #today {
  font-size: 13px;
}

.calendar .calendar-title-text {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.calendar .calendar-button-group {
  /* Force LTR so the BACK (prev) button is always on the visual left and
     NEXT on the right, regardless of page direction. Icons swapped in the
     HTML to match (chevron-left on prev, chevron-right on next). */
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 8px;
}
button.highlighted.today-date {
    background: #520000 !important;
}
button.highlighted.today-date:hover {
    background: #7a1b1b !important;
}


.DayInfo ul li {
    padding: 5px 0 10px 0;
    font-size: 12px;
    list-style: auto;
    list-style-position: inside;
    padding-inline-end: 5px;
    border-bottom: 1px dotted #a9a9a9;
    color: white;
    text-align: start;
    font-weight: bold;
}

.DayInfoWrap {
    position: relative;
    width: 96%;
    height: inherit;
    overflow: auto;
    margin: 10px;
    border-radius: 10px;
    background: #000000d9;
    border: 1px solid #000000;
    padding:10px;
    text-align: center;
    z-index: 2;
}

.CalClose:before {
    position: absolute;
    left: 50%;
    top: 50%;
    font-family: fontAwesome;
    content: "\f00d";
    color: #000000;
    font-size: 14px;
    transform: translate(-50%, -50%);
}

.CalClose {
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 10;
    background-color: #fbfbfb;
    border-radius: 12px;
    height: 18px;
    width: 18px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.DayInfo {
    height: 98%;
    position: absolute;
    width: 98%;
}
.dayInfoTitle {
    text-align: center;
    font-weight: bold;
    background: #000000;
    color: #ffd818;
    padding: 7px;
    border-radius: 5px;
    width: 200px;
    display: inline-block;
    margin: 5px auto;
}
.calendar .calendar-dates-day.highlighted:after ,
.calendar .calendar-dates-day.highlighted-blue:after {
    content: attr(data-count);
    position: absolute;
    margin-top: -5px;
    width: 20px;
    height: 15px;
    background: darkred;
    border-radius: 20px;
    font-size: 12px;
    color: #FFF;
    z-index: 1;
    line-height: initial;
    left: -3px;
    top: 1px;
    font-weight: normal;
}
.calendar .calendar-dates-day.highlighted-blue:after {
    background: #430058;
}

button.calendar-dates-day {
position: relative;
}