/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-bottom: 15px;
  margin-right: 15px;
}

.alignright {
  display: inline;
  float: right;
  margin-bottom: 15px;
  margin-left: 15px;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# RCDHU
--------------------------------------------------------------*/
/*
	h1, .h1,
	h2, .h2,
	h3, .h3 {
		margin-top: 33px;
		margin-bottom: 11px;
	}
*/

h1:before,
h2:before,
h3:before,
h4:before,
h5:before,
h6:before,
.h1:before,
.h2:before,
.h3:before,
.h4:before,
.h5:before,
.h6:before {
  content: "";
  clear: both;
  display: block;
}

.no-scroll {
  overflow: hidden;
}

.space-top {
  margin-top: 40px;
}
.space-bottom {
  margin-bottom: 80px;
}

/* Hero */

.hero {
  overflow: hidden;
  position: relative;
}

.hero .img {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 35%;
}

.btn {
  text-decoration: none;
}

/* Tiles */

.tile {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 6px;
  color: #333;
  display: block;
  margin-bottom: 22px;
  overflow: hidden;
  padding: 15px;
  position: relative;
  will-change: transform, box-shadow;

  transition: all 500ms;
  -webkit-transition: all 500ms;
}

a.tile {
  text-decoration: none;
}

a.tile:hover,
a.tile:focus {
  box-shadow: 0 5px 10px rgba(51, 51, 51, 0.5);
  color: initial;

  transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
}

.map {
  border-radius: 6px;
  overflow: hidden;
  padding-bottom: 45%;
}

a.list-group-item,
button.list-group-item {
  text-decoration: none;
}

.list-group-item-heading {
  margin-bottom: 0;
}

.list-group-item-text {
  margin-top: 5px;
}

.pager li > a {
  text-decoration: none;
}

/* == Upcoming Events Panel == */

.purple-card .tile {
  border: thin solid #a457ff;
}

.purple-card p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upcoming-panel {
  background-color: #eee;
  border-radius: 6px;
  margin-top: 33px;
}

.upcoming-panel h2 {
  margin-top: 0;
}

.hero.event-hero {
  margin-bottom: 0;
}

.hero.event-hero .title {
  margin-bottom: 80px;
}

.hero.event-hero .title h1 {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  max-width: none;
  width: 100%;
}

.event-hero .event-details {
  background-color: rgba(51, 51, 51, 0.85);
  color: #fff;
  padding: 15px;
}

.event-hero .date,
.event-hero .location {
  font-size: 1.2em;
}

.event-hero .btn-primary,
.btn-purple.btn-primary {
  background-color: #a457ff;
  border-color: #8547d1;
}

.event-hero .btn-primary:hover,
.btn-purple.btn-primary:hover {
  background-color: #8547d1;
}

.page:not(.home) .slideshow .title {
  bottom: 15px;
  left: 15px;
  position: absolute;
}

@media (max-width: 768px) {
  .page .slideshow .title {
    bottom: auto;
    left: auto;
    position: relative;
  }
}

.page:not(.home) .slideshow .title a {
  background: #333;
  border-radius: 10px;
  padding: 0.5em 1em;
  color: #fff;
  display: inline-block;
  text-decoration: none;
}

.page:not(.home) .slideshow .title a > div {
  margin: 0;
}

.table > thead > tr > th {
  border-bottom: none;
}

.table > thead > tr > td.closed,
.table > tbody > tr > td.closed,
.table > tfoot > tr > td.closed,
.table > thead > tr > th.closed,
.table > tbody > tr > th.closed,
.table > tfoot > tr > th.closed,
.table > thead > tr.closed > td,
.table > tbody > tr.closed > td,
.table > tfoot > tr.closed > td,
.table > thead > tr.closed > th,
.table > tbody > tr.closed > th,
.table > tfoot > tr.closed > th {
  background-color: #b24949;
  color: #fff;
}

.table-hover > tbody > tr > td.closed:hover,
.table-hover > tbody > tr > th.closed:hover,
.table-hover > tbody > tr.closed:hover > td,
.table-hover > tbody > tr:hover > .closed,
.table-hover > tbody > tr.closed:hover > th {
  background-color: #a84545;
}

.covid-panels .panel {
  text-align: center;
}

.covid-panels .panel-body {
  font-size: 3rem;
}
