/* --- EVENTS CALENDAR STYLES -- */
.cal-data {
  padding: 20px 1%;
}

.cal-data.week .cal-row {
  display: flex;
  flex-flow: row nowrap;
  -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  background-color: #fff !important;
}

.cal-data.week .cal-item {
  flex: 1 1 auto;
  width: 20%;
  margin-right: 1px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.cal-data.week .cal-item:last-child {
  margin-right: 0px;
}

.cal-data.week .cal-item:nth-child(2n+0) .cal-header {
  background: #585858;
}

.cal-header {
  position: relative;
  background: #372C2C;
  padding: 20px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.cal-header::before {
  position: absolute;
  top: calc(50% - 9px);
  right: 30px;
  /* content: '\f105';
  font-family: "Font Awesome 5 Pro"; */
  content:'';
  display: block;
  background-image: url('noun-caret.svg');
  background-size: 15px 15px;
  height: 15px;
  width: 15px;
  color: #ffffff;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.cal-header h3 {
  margin: 0px;
  padding: 0px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 30px;
}

.cal-header h3 span {
  font-size: 40px;
  font-weight: 800;
  display: block;
}

.cal-body {
  background: #ffffff;
  padding: 20px;
  font-size: 12px;
  max-width: 190px;
}

.cal-body h4 {
  font-size: 14px;
}

.cal-loc {
  color: #BE0000;
}

.cal-item:hover {
  transform: translateY(-4px) scale(1.02);
  -webkit-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
}

.cal-item a {
  color: #372C2C;
}

.cal-item a:hover {
  text-decoration: none;
}

.cal-item:hover .cal-header {
  background: #BE0000;
}

.cal-item:hover .cal-header::before {
  opacity: 1;
  transform: translateX(-5px);
}

.cal-data.list {
  background: none;
  padding: 30px;
}

.cal-data.list .cal-row {
  display: block;
  background-color: #fff;
}

.cal-data.list h3.group-title {
  background: #847A7A;
  color: #ffffff;
  font-size: 18px;
  padding: 10px 20px;
  margin: 0px;
}

.cal-data.list .cal-item {
  margin-right: 1px;
  cursor: pointer;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.cal-data.list .cal-header {
  display: flex;
  background: #ffffff;
  border-bottom: 1px solid #F7F9FB;
  padding-bottom: 5px;
}

.cal-data.list .cal-header::before {
  display: none;
}

.cal-data.list .cal-header .cal-date, .cal-data.list .cal-header .cal-loc {
  flex-grow: 1;
}

.cal-data.list .cal-header h4 {
  color: #372C2C;
  font-size: 16px;
  line-height: 18px;
  font-weight: 700;
  margin: 0px;
}

.cal-data.list .cal-header .cal-loc {
  text-align: right;
  font-size: 12px;
}

.cal-data.list .cal-body {
  display: flex;
  background: #ffffff;
}

.cal-data.list .cal-body .cal-img, .cal-data.list .cal-body .cal-info {
  flex-grow: 1;
}

.cal-data.list .cal-body .cal-img {
  max-width: 100px;
  margin-right: 20px;
}

.cal-data.list .cal-body .cal-info {
  color: #372C2C;
}

.cal-data.list h4.cal-title {
  color: #BE0000;
  font-weight: 600;
  margin-bottom: 5px;
}

/* LARGE */
@media only screen and (max-width: 992px) {
  .cal-data.week .cal-row {
    flex-flow: column nowrap;
  }

  .cal-data.week .cal-item{
    width: 100%;
  }
}

/* --- END EVENTS CALENDAR STYLES -- */
