/* calendar selector */
.mec-search-form,
.mec-date-search {
  display: none;
}

/* events */
.selected-date {
  text-align: center;
  margin: 60px 0 40px 0;
}

.selected-date span {
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 5px;
  color: #313131;
  border-top: 4px solid #ebebeb;
  border-bottom: 4px solid #ebebeb;
  width: 100%;
  display: block;
  padding: 10px 0;
  position: relative;
}

.selected-date span:after {
  border-bottom: 4px solid var(--mec-color-skin);
  font-size: 6px;
  content: "";
  text-align: center;
  position: absolute;
  bottom: -4px;
  margin-left: -30px;
  left: 50%;
  width: 60px;
}

.selected-date span:before {
  border-top: 4px solid var(--mec-color-skin);
  font-size: 6px;
  content: "";
  text-align: center;
  position: absolute;
  top: -4px;
  margin-left: -30px;
  left: 50%;
  width: 60px;
}

.mec-month-divider:first-of-type {
  margin: 0 0 40px 0 !important;
}

.event-label-dates {
  padding: 5px;
  background-color: #00a98f;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
}

.mec-event-description {
  text-wrap: pretty;
  text-align: justify;
  hyphens: auto;
  word-wrap: break-word;
}

.mec-event-image-wrap {
  padding-left: 0 !important;
}

.mec-event-image-wrap img {
  margin-bottom: 0 !important;
}

.mec-skin-list-no-events-container {
  font-size: 24px;
  text-align: center;
  color: #000 !important;
}

/**** DATE PICKER ****/
.ui-datepicker {
  color: #000;
  background-color: transparent !important;
  /*box-shadow: none !important;*/
  border: none !important;
  width: 300px;
  padding: 20px 10px !important;
}

.ui-datepicker-calendar {
  background-color: transparent !important;
  margin-bottom: 0 !important;
}

.ui-datepicker-calendar th,
.ui-datepicker-calendar td {
  border: none !important;
  color: #00a98f !important;
  text-align: center !important;
  padding: 10px 0 0 0 !important;
}

.ui-state-default {
  color: #000 !important;
  background-color: transparent !important;
  border: 2px solid transparent !important;
}

.highlight>.ui-state-default:not(.ui-state-active):not(.ui-state-hover) {
  color: #000 !important;
  border: 2px solid #2a7de1 !important;
}

.highlight>.ui-state-hover {
  color: #fff !important;
  border: 2px solid #00a98f !important;
}

.ui-state-hover,
.ui-state-active {
  color: #fff !important;
  background-color: #00a98f !important;
  border: 2px solid #00a98f !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
}

.ui-datepicker-next,
.ui-datepicker-prev {
  background: transparent !important;
  border: none !important;
}

.ui-datepicker-next:before {
  border-style: solid;
  border-width: 0.18em 0.18em 0 0;
  content: '';
  display: inline-block;
  height: 0.55em;
  left: 0.15em;
  position: relative;
  top: 0.3em;
  transform: rotate(45deg);
  vertical-align: top;
  width: 0.55em;
  content: '' !important;
  color: #000;
}

.ui-datepicker-prev:before {
  color: #000;
  border-style: solid;
  border-width: 0.18em 0.18em 0 0;
  content: '' !important;
  display: inline-block;
  height: 0.55em;
  left: 0.15em;
  position: relative;
  top: 0.3em;
  transform: rotate(-135deg);
  vertical-align: top;
  width: 0.55em;
}

.ui-datepicker-month {
  text-transform: capitalize;
}

@media (min-width: 1000px) {
  .ui-datepicker {
    position: relative;
    left: -50px;
    width: 300px;
  }
}
