.card-event.card-horizontal img.card-img-top {
  max-width: 40%;
  width: 40%;
  height: auto !important;
  max-height: 400px;
}
@media (min-width: 992px) {
  .card-event.card-horizontal img.card-img-top {
    max-height: 250px;
  }
}
.card-event-details>* {
    flex: 50%;
}
.card-event.card-horizontal .card-content-wrapper {
  padding-bottom: 0 !important;
}
.clas-events-react-base .card-horizontal {
  margin-bottom: 16px;
}

/* Calendar */

.calendar {
  display: block;
  position: relative;
  width: 100%;
  background: var(--neutral-color);
  border: 1px solid var(--border-color);
}

.calendar .header {
  font-weight: 700;
  font-size: 150%;
  padding: 1.5em 0;
  border-top: 1px solid var(--border-color)
}

.calendar .header .icon {
  cursor: pointer;
  transition: .15s ease-out;
}

.month-year-block {
  background-color: #000000;
  color: white;
  padding: 0.1em;
}

.calendar .header .icon:first-of-type {
  margin-left: 1em;
}

.calendar .header .icon:last-of-type {
  margin-right: 1em;
}

.calendar .days {
  font-weight: 400;
  color: var(--text-color);
  font-size: 80%;
  padding: .75em 0;
  border-bottom: 1px solid var(--border-color);
}

.calendar .body .cell {
  position: relative;
  height: 5em;
  border-right: 1px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  background: var(--neutral-color);
  transition: 0.25s ease-out;
}

.calendar .body .cell:hover .number{
  color: white;
  background-color: #8c1d40;
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
}

.calendar .body .cell .selected.number{
  color: white;
  background-color: #8c1d40!important;
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
}

.calendar .body .cell .event-date.number{
  color: white;
  background-color: #FFC627;
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
}

.calendar .body .row {
  border-bottom: 1px solid var(--border-color);
}

.calendar .body .row:last-child {
  border-bottom: none;
}

.calendar .body .cell:last-child {
  border-right: none;
}

.calendar .body .cell .number {
  text-align: center;
  position: absolute;
  font-size: 82.5%;
  bottom: .05em;
  left: .65em;
  font-weight: 700;
}

.calendar .body .disabled {
  color: var(--text-color-light);
  pointer-events: none;
}

.calendar .body .cell .bg {
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  font-size: 8em;
  position: absolute;
  top: -.2em;
  right: -.05em;
  transition: .25s ease-out;
  letter-spacing: -.07em;
}

@media only screen and (max-width: 540px) {
  .calendar .body .cell {
    text-align: center;
    position: relative;
    height: 3em;
    overflow: hidden;
    border-right: 0;
    cursor: pointer;
    background: var(--neutral-color);
    transition: 0.25s ease-out;
  }

  .body {
    border: 0;
    padding-top: 10px;
  }

  .days .col {
    padding: 0;
  }

  .col-center {
    justify-content: center;
    text-align: center;
  }

  .calendar .body .row {
    border-bottom: 0;
  }

  .calendar .body .cell .number {
    text-align: center;
    position: static;
    font-size: 82.5%;
    font-weight: 700;
  }

  .calendar .header {
    border-top: 0;
  }
}

.selected .number {
  color: white;
  background-color: #8c1d40!important;
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
}

.event-date .number {
  color: white;
  background-color: #FFC627;
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
}

p.number {
  display: inline-block;
  margin-bottom: 0.5em;
}

.calendar .body .col {
  flex-grow: 0;
  flex-basis: calc(100%/7);
  width: calc(100%/7);
}
