.calendar .calendar-header {
  border: 0;
  direction: rtl;
}
.calendar-header table svg{
  transform: rotate(180deg);
}
.calendar-header .prev svg{
  margin-right: -16px;
}
.calendar .calendar-header table {
  display: flex;
  padding-bottom: 30px;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -15px;
}

.calendar .months-container .month-container.month-6 {
  width: unset;
}
.calendar .calendar-header .year-title:hover,
.calendar .calendar-header .prev:hover,
.calendar .calendar-header .next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.calendar .calendar-header .year-neighbor {
  color: inherit;
  opacity: 0.7;
  display: none;
}

.calendar .calendar-header .year-neighbor2 {
  color: inherit;
  opacity: 0.4;
  display: none;
}
.calendar .months-container {
  gap: 30px;
  justify-content: center;
}
.calendar .months-container .month-container.month-3 {
  flex: 1;
  flex-basis: 353px;
  margin: 0;
  padding: 0;
}

.calendar .months-container .month-container:not(:last-child) {
  margin-bottom: 0px;
}
.calendar .months-container .month-container.month-4 {
  width: 353px;
}
.calendar table.month {
  width: 353px;
  height: 383px;
  border-radius: 20px;
  background: #f7f7f7;
  padding: 30px;
}
.calendar table.month th.month-title {
  padding-left: 0;
  padding-top: 24px;
  color: #303134;
  text-align: center;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}
.calendar table.month th.day-header {
  padding-top: 8px;
  padding-bottom: 5px;
  color: #666;
  font-weight: 500;
}

.calendar table.month td.day .day-content {
  color: #666;
  padding: 9px 7px;
  border-radius: 2px;
}


.calendar table.month tr td.day:first-child .day-content {
  margin-left: 10px;
}
.calendar table.month  td.day.new:last-child {
  margin-right: 10px;
}
.calendar table.month tr:last-child .day-content {
  margin-bottom: 5px;
}
.calendar table td,
.calendar :not(.calendar-header) table th {
  padding: 0px !important;
  margin: 0px !important;
  width: 0px !important;
  height: 0px !important;
}
.calendar table.month tr {
  padding-left: 30px !important;
  padding-right: 30px !important;
}
.calendar table.month td.day .day-content {
  padding: 0px !important;
  margin: 0px !important;
  width: 0px !important;
  height: 0px !important;
  width: 38.621px !important;
  height: 38.462px !important;
  border-radius: 10px;
  /* background: #25A6C2; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar table.month tr td.day .day-content {
  margin-bottom: 4px !important;
  color: #717579;
  text-align: center;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.calendar table.month tr td.day .day-content.events_year {
  background: #006c9d;
  color: #fff;
}
.calendar table.month tr td.day .day-content.annual_conference {
  background: #25a6c2;
  color: #fff;
}

.calendar table.month tr:last-child td.day .day-content {
  margin-bottom: 30px !important;
}
.calendar table.month tr td.day:first-child .day-content {
  margin-left: 30px !important;
}
.calendar table.month tr td.day:last-child .day-content {
  margin-right: 30px !important;
}
.calendar table.month tr:last-child .day-content {
  margin-bottom: 30px !important;
}

.calendar table.month th.day-header {
  width: 14.785px;
  height: 20.769px;
  flex-shrink: 0;
  color: #006c9d;
  text-align: center;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.calendar table.month th.day-header:first-child {
  padding-left: 30px !important;
}
.calendar table.month th.day-header:last-child {
  padding-right: 30px !important;
}
.calendar table.month th.month-title {
  color: #303134;
  text-align: center;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  padding-top: 24px !important;
  padding-bottom: 20px !important;
}
.calendar table.month th.day-header {
  padding-bottom: 12px !important;
}
.day {
  box-shadow: none !important;
}
.calendar-header th {
  font-size: 22px;
  padding: 5px 10px !important;
  cursor: pointer;
}
.calendar .calendar-header table th.next,
.calendar .calendar-header table th.prev {
  width: 20px !important;
}
.calendar table th.prev {
  margin-right: 20px;
}
.calendar .calendar-header .year-title {
  color: #006c9d;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
}

.calendar table.month td.day.new  {
  color: #666;
  padding: 9px 7px;
  border-radius: 2px;
  position: relative;
  top: -15px;
  margin-bottom: 4px !important;
  color: #D7D7D7;
  text-align: center;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.calendar table.month td.day.new:last-child{
  right:18px;
}
.calendar table.month td.day.old  {
  color: #666;
  padding: 9px 7px;
  border-radius: 2px;
  position: relative;
  margin-bottom: 4px !important;
  color: #D7D7D7;
  text-align: center;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.calendar table.month td.day.old:first-child{
  left:16px;
}

@media only screen and (max-width: 400px) {
 
  .calendar table.month tr td.day:first-child .day-content {
    margin-left: 0px !important;
}
.calendar table.month th.day-header:first-child {
  padding-left: 0px !important;
  padding-right: 0px !important;
}
.phone-style-caledner-year .parent{
  padding-left:  0!important;
  padding-right:  0!important;
}
.calendar table.month td.day.old:first-child {
  left: 0;
}
.calendar table.month tr td.day:last-child .day-content {
  margin-right: 0px !important;
}
.calendar table.month th.day-header:last-child {
  padding-right: 0px !important;
}
.calendar table.month td.day.new:last-child {
  right: 3px;
}
}
