
/*
*
* LibCal EVENTS Calendar via API
*
*/      

#block-upcomingeventswidget {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  margin-top: 10px;
}

#block-upcomingeventswidget .content {
  order: 3; 
  align-self: flex-end;
}

#lc-events-container {
  display: flex;
  flex-direction: column;
}
.full-event-link {
  border: 1px solid #C2ADD2;
  display: flex;
  margin: 10px 0px;
  background-color: rgba(255,255,255,0.25);
  transition: all .5s ease-in-out;
  text-decoration: none;
}

a.full-event-link:hover {
  transform: scale(1.05);
  text-decoration: none;
  background-color: rgba(255,255,255,1);
}

.s-lc-event {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-areas: 
  "date details";
}

.s-lc-evtd-title {
  /* line-height: 1.66em;
  text-decoration: underline; */
}
 
.s-lc-evtd-date {
  grid-area: "date";
  display: flex;
  flex-direction: column;
  background: #642A90;
  color: #ffffff;
  text-align: center;
  justify-content: flex-start;
  padding-top: 20px;
}

.s-lc-evtd-dtd {
  padding: 20px;
  grid-area: details;
}

.s-lc-evtd-more {
  display: none;
}
.s-lc-evtd-date-m {
  text-transform: uppercase;
  font-size: 1.25em;
  color: #eeb211;
}
.s-lc-evtd-date-d {
  font-size: 2em;
  line-height: 1em;
  color: #eeb211;
  padding-bottom: 5px;
}

.s-lc-evtd-dtd h5 {
  display: block;
  width: 100%;
}
a .s-lc-evtd-loc {
  color: #000000;
}
.s-lc-evtd-loc {
  margin-bottom: 5px;
}

@media all and (min-width: 768px) {

    #lc-events-container {
      flex-direction: row;
      width: 100%;
    }

    .full-event-link {
      flex-grow: 1;
      margin-left: 2.5%;
      max-width: 50%;
    }
    .full-event-link:first-child{
      margin-left: 0;
    }
  
    h4.s-lc-evtd-title {
      height: 66%;
      text-transform: none;
    }
}