body {
  font-family: "Open Sans", sans-serif;
  background-color: #f0f0f0;
}

.resource-card-group a:hover {
  text-decoration: underline;
}

.resource-card-group a {
  text-decoration: none;
}

.card {
  white-space: normal;
  border: 0;
  margin-bottom: 35px;
  overflow: hidden;
}

.card-body {
  height: 200px;
  background-color: #00538a1c;
  padding: 1.5rem 2rem;
}

.card-title {
  font-weight: bold;
  color: #00538a;
  font-size: 1rem;
}

.card-img-top {
  object-position: 50% 20%;
  width: 100%;
  height: 13rem;
  object-fit: cover;
}

/* For mobile */
@media (max-width: 576px) {
  .card-img-top {
    height: 50vw;
  }
}

.resource-card {
  width: 20rem;
}

.resource-card .card-title {
  margin-bottom: 0.8rem;
}

.resource-card .card-subtitle {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.8rem;
}

.resource-card .card-text {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.resource-card-group {
  padding: 0;
  margin-top: 35px;
}

.resource-card-group > .row {
  overflow-x: auto;
  white-space: nowrap;
  flex-wrap: nowrap;
}

/* Fix for cards that are smaller than the container row being pushed together */
.resource-card-group .row .col {
  max-width: initial;
  width: initial;
}

.resource-card-group > .row > .col:first-child {
  padding-left: 0;
}

.resource-card-group > .row > .col:last-child {
  padding-right: 0;
}

.primary-bg {
  background-color: #00538a;
}

/* width */
.resource-card-group .row::-webkit-scrollbar {
  height: 5px;
}

/* Handle */
.resource-card-group .row::-webkit-scrollbar-thumb {
  background: #6d6c6c;
  border-radius: 10px;
}

/* Handle on hover */
.resource-card-group .row::-webkit-scrollbar-thumb:hover {
  background: #303030;
}

.hero > .card {
  background-image: url("./images/banner.jpg");
  background-size: cover;
  background-color: #00538a;
  padding: 6rem 4rem;
  border-radius: 0.5rem;
}

@media (max-width: 576px) {
  .hero > .card {
    padding: 2rem 1rem;
  }
}

.hero .lead,
.disclaimer,
a.disclaimer {
  color: rgb(145, 178, 209);
}

.disclaimer {
  font-size: 0.7rem;
}

/*https://dropshado.ws/post/1015351370/webkit-line-clamp*/
.three-line-truncate {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.resource-item {
  height: 17rem;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.resource-item .title {
  height: 60%;
  color: white;
  background-color: #00538a;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
  width: 100%;
}

.resource-item .subtitle {
  padding: 1rem;
  height: 40%;
  color: rgb(22, 72, 120);
  font-weight: bold;
  background-color: rgb(227, 234, 241);
  white-space: normal;
}

.resource-item-list {
  list-style: none;
}

.resource-item a,
.resource-item p {
  color: white;
  text-align: center;
}

/* Temp fix for mobile modal */
@media (max-width: 993px) {
  #playerFrame {
    width: 100%;
  }
}

.btn-primary {
  background-color: #00538a;
  border-color: #07619d;
}
