.activity-center-wrapper {
  margin-top: 30px;
  background: #000;
}

.activity-center {
  margin-top: 0px;
  background: #000;
  color: #fff;
  padding: 40px 0 70px 0;
  width: 100%;
  text-align: center;
  min-height: 649px;
  height: auto;
  position: relative;
}

.activities {
  color: #fff;
  text-align: center;
}

.activities-container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1140px;
}
@media (max-width: 1199.98px) {
  .activities-container {
    max-width: 960px;
  }
}
@media (max-width: 991.98px) {
  .activities-container {
    max-width: 720px;
  }
}
@media (max-width: 767.98px) {
  .activities-container {
    max-width: 540px;
  }
}
@media (max-width: 575.98px) {
  .activities-container {
    max-width: 100%;
  }
}

.no-activities-modal {
}

.activities-area {
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  justify-content: center !important;
  flex-direction: row;
}

.activities-list {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding-right: 15px;
  padding-left: 15px;
  background-color: #000;
  padding-top: 20px;
  padding-bottom: 20px;
  min-height: 558px;
}

.activity-items-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 780px;
  margin: 0 auto;
}

.activity-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 11px);
  max-width: calc(33.333% - 11px);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.activity-item.item-odd {
  flex-direction: column-reverse;
}

.activity-item.item-odd .main-activity-txt {
  height: 313px;
}

.activity-item.item-odd .main-activity-img {
  height: 245px;
}

.activity-item.item-even {
  flex-direction: column;
}

.activity-item.item-even .main-activity-img {
  height: 313px;
}

.activity-item.item-even .main-activity-txt {
  height: 245px;
}

.main-activity-img {
  width: 100%;
  overflow: hidden;
}

.main-activity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-activity-txt {
  padding: 15px 15px 15px 15px;
  text-align: left;
  background: #fff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

:lang(ar) .main-activity-txt {
  text-align: right;
}

.activity-title-row .more {
  color: #000;
  font-size: 16px;
  line-height: 1.4;
  margin: 0px !important;
  border-left: 10px solid #ff4787;
  padding: 10px;
  font-weight: 700;
}

:lang(ar) .activity-title-row .more {
  border-left: none;
  border-right: 10px solid #ff4787;
}

.activity-desc p {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.activity-link-row {
  margin-top: auto;
  text-align: right;
}

:lang(ar) .activity-link-row {
  text-align: left;
}

.activity-more-icon a {
  color: #ff2d73;
  font-size: 20px;
  text-decoration: none;
  transition: margin-left 0.2s;
}

.activity-more-icon a:hover {
  margin-left: -5px;
}

.activity-item-img,
.activity-item-txt {
  display: none;
}

.activities-calendar {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (max-width: 991.98px) {
  .activities-list {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
    min-height: auto;
  }

  .activity-item {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .activities-calendar {
    flex: 0 0 100%;
    max-width: 100%;
    padding-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  .activity-item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .activity-item.item-odd,
  .activity-item.item-even {
    flex-direction: column !important;
  }

  .activity-item.item-odd .main-activity-txt,
  .activity-item.item-even .main-activity-txt {
    height: auto !important;
    min-height: auto;
  }

  .activity-item.item-odd .main-activity-img,
  .activity-item.item-even .main-activity-img {
    height: auto !important;
  }
}

/* -----------------------------------------------------------
   Calendar Component Styles
----------------------------------------------------------- */
.calendar {
  position: relative;
  overflow: hidden;
  text-transform: capitalize;
  text-align: center;
  font: 15px/1em inherit;
  color: #545a5c;
}

.calendar a {
  text-decoration: none;
  color: inherit;
}

.calendar header .btn {
  display: inline-block;
  position: absolute;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  color: #cbd1d2;
  border-radius: 50%;
  border: 2px solid #cbd1d2;
}

.calendar header .btn:hover {
  background: #cbd1d2;
  color: white;
}

.calendar header .btn:before {
  content: "";
  position: absolute;
  top: 9px;
  left: 8px;
  width: 8px;
  height: 8px;
  border-style: solid;
  border-width: 3px 3px 0 0;
  transform: rotate(45deg);
  transform-origin: center center;
}

.calendar header .btn-prev {
  top: 0;
  left: 0;
  transform: rotate(-180deg);
}

.calendar header .btn-next {
  top: 0;
  right: 0;
}

.calendar header .btn-next:before {
  transform: rotate(45deg);
}

.calendar header .month {
  padding: 0;
  margin: 0;
  font-size: 40px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

.calendar header .month-name {
  font-size: 40px;
  color: #545a5c;
  font-weight: 500;
  margin: 0;
}

.calendar header .year {
  font-size: 24px;
  color: #545a5c;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.calendar table {
  width: 100%;
  margin: 20px 0;
  border-spacing: 0px;
}

.calendar thead {
  font-size: 1.2em;
  font-weight: 600;
}

.calendar td {
  padding: 0.8em 0.1em;
}

.calendar .day {
  position: relative;
  display: inline-block;
  width: 2.5em;
  height: 2.5em;
  line-height: 2.5em;
  border-radius: 50%;
  border: 2px solid transparent;
}

.calendar .day.today {
  background: #6691cc;
  color: white;
}

.calendar .day.today.has-event:after {
  background: white;
}

.calendar .day.wrong-month {
  color: #cbd1d2;
}

.calendar .day.has-event:after {
  content: "";
  position: absolute;
  top: calc(50% + 0.6em);
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6691cc;
}

.calendar .day.disabled {
  cursor: default;
}

.calendar .event-container {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 70px;
  background: #545a5c;
  box-sizing: border-box;
  margin: 0;
}

.calendar .event-container .event-wrapper {
  overflow-y: auto;
  max-height: 100%;
}

.calendar .event-container .close {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.calendar .event-container .close:before,
.calendar .event-container .close:after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: #cbd1d2;
}

.calendar .event-container .close:before {
  transform: rotate(45deg);
}

.calendar .event-container .close:after {
  transform: rotate(-45deg);
}

.calendar .event-container .event {
  position: relative;
  width: 100%;
  padding: 1em;
  margin-bottom: 1em;
  background: #6691cc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.12);
  text-align: left;
  color: white;
}

.calendar .event-container .event-date {
  margin-bottom: 1em;
}

.calendar .event-container .event-hour {
  float: right;
}

.calendar .event-container .event-summary {
  font-weight: 600;
}

.calendar .filler {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #545a5c;
  transform: translate(-50%, -50%);
}

.calendar-title h1 {
  color: #fff;
  text-align: center;
  font-size: 24px;
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}
