.eventListing {
  border: 1px solid #0092bc;
}

.eventListing .singleEvent:not(:last-child) {
  border-bottom: 1px dotted #0092bc;
}

.singleEvent {
  position: relative;
  padding: 20px;
}

@media (min-width: 992px) {
  .singleEvent {
    padding: 20px 20px 20px 180px;
  }
}

.singleEvent-img {
  width: 100px;
  margin-bottom: 10px;
  margin-top: 20px;
}

@media (min-width: 480px) {
  .singleEvent-img {
    margin-left: 20px;
    float: right;
  }
}

@media (min-width: 768px) {
  .singleEvent-img {
    float: none;
    margin: 0;
    width: 160px;
    height: auto;
    position: absolute;
    right: 20px;
    top: 20px;
  }
  .singleEvent-img-href {
    float: none;
    margin: 0;
    position: absolute;
    right: 20px;
    top: 20px;
  }
}

.singleEvent-province {
  font-weight: 300;
}

.singleEvent-dateTime {
  font-weight: 300;
}

.singleEvent-dateTime .time {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px dotted black;
}

.singleEvent-title {
  font-weight: 600;
  font-size: 22px;
}

.singleEvent .text {
  margin-bottom: 20px;
  margin-top: 20px;
}

.singleEvent .singleEvent-morelink {
  color:#ffffff;
}

.singleEvent .singleEvent-morelink .icon{
  width:14px;
  height:14px;
}

.singleEvent-location {
  border-top: 1px dotted rgba(255, 255, 255, 0.5);
  padding-top: 20px;
}

@media (min-width: 768px) {
  .singleEvent .text,
  .singleEvent-location {
    margin-right: 80px;
  }
}

@media (min-width: 768px) {
  .singleEvent-img ~ .text,
  .singleEvent-img ~ .singleEvent-location, .singleEvent-img ~ .singleEvent-title {
    margin-right: 200px;
  }
}

.singleEvent .btn {
  display: table;
  margin-left: auto;
}

.singleEvent.is-active {
  background-color: #0092bc;
  color: white;
  padding-bottom: 30px;
}

.singleEvent.is-active .singleEvent-dateTime {
  line-height: 1;
  overflow: hidden;
}

.singleEvent.is-active .singleEvent-dateTime .time {
  border-left-color: white;
}

.singleEvent.is-active .singleEvent-title,
.singleEvent.is-active .singleEvent-dateTime {
  font-size: 1.5em;
}

.singleEvent.is-active .btn {
  color: white;
  display: none;
}

.singleEvent.is-active .btn:hover {
  opacity: 0.75;
}

.singleEvent.is-active:not(:first-child) {
  margin-top: -1px;
}

.singleEvent.is-active::after, .singleEvent.is-active::before {
  display: none;
}

@media (min-width: 992px) {
  .singleEvent.is-active::after, .singleEvent.is-active::before {
    display: block;
    content: '';
    position: absolute;
  }
}

.singleEvent.is-active::after {
  top: 0;
  left: 0;
  background-color: white;
  width: 80px;
  height: 80px;
}

.singleEvent.is-active::before {
  top: 80px;
  left: 80px;
  background-color: rgba(255, 255, 255, 0.5);
  width: 60px;
  height: 60px;
}

.singleEvent.is-active .singleEvent-img {
  max-height: 600px;
  opacity: 1;
  -webkit-transition: opacity 0.8s;
  transition: opacity 0.8s;
}

.singleEvent.is-active .singleEvent-location,
.singleEvent.is-active .text {
  opacity: 1;
  -webkit-transition: opacity 0.8s, max-height 0.8s;
  transition: opacity 0.8s, max-height 0.8s;
}

.singleEvent:not(.is-active) {
  cursor: pointer;
}

.singleEvent:not(.is-active) .singleEvent-img,
.singleEvent:not(.is-active) .singleEvent-location,
.singleEvent:not(.is-active) .text {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
}

.singleEvent:not(.is-active):hover {
  background-color: rgba(0, 146, 188, 0.1);
}

.singleEvent:not(.is-active):hover .btn {
  color: #007698;
}
