/** Bootstrap 4 helpers */

.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}

.align-items-center {
  -ms-flex-align: center !important;
      align-items: center !important;
}

.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}
.text-center {
    text-align: center !important;
}

.text-normal {
    text-transform: none !important;
}

.text-nowrap {
  white-space: nowrap;
}

/** Custom Styling */

/** 1.7 classic */
#_desktop_contact_link,
#_desktop_calendar_link {
    float: left;
}

#header .header-nav #calendar-link {
    margin-top: .9375rem;
    margin-left: .7rem;
}

/** 1.6 default bootstrap */

#header .nav #calendar-link {
    float: right;
    border-left: 1px solid #515151;
}

#header .nav #calendar-link a {
    display: block;
    color: #fff;
    font-weight: bold;
    padding: 8px 10px 11px 10px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    line-height: 18px;
}

#header .nav #calendar-link a:hover,
#header .nav #calendar-link a.active {
    background: #2b2b2b;
}

/**  */

.events-list > li {
  background-color: #fff;
  border-top: 1px solid #eceeef;
  margin-top: .5rem;
  padding-top: .5rem;
}

.events-list > li:first-child {
  border-top: none;
}

.event-date-board {
  padding: .5rem 1rem;
  margin-right: .7rem;
  border: 1px solid #eceeef;
}

.event-thumb img {
  max-width: 55px;
  height: auto;
  margin-right: .7rem;
  display: inline-block;
  border: 2px solid #eaeaea;
  background-color: #fff;
  padding: 1px;
  border-radius: 1000em;
}

.event-categ-badge {
  display: inline-block;
  padding: .25em .4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
  margin-bottom: .3rem;
}

.event-details a {
  text-shadow: none!important;
  font-size: inherit!important;
}

.event-details a:hover {
  color: #000!important;
}