.nav-item .nav-link i {
  font-size: 32px;
  transition: all 0.3s ease;
  display: inline-block;
  opacity: 1;
}

.nav-item .nav-link.active {
  background-color: var(--bs-light);
  color: var(--bs-dark);
  border: 1px solid var(--bs-light);
}

.nav-item .nav-link.active i {
  color: var(--bs-dark);
}

.nav-item {
  min-width: 100px;
}

.nav-item .nav-link {
  border: 1px solid var(--bs-primary);
  color: var(--bs-light);
  padding: 30px 10px 25px 10px;
}

.nav-item .nav-link:hover {
  background-color: var(--bs-light);
  color: var(--bs-dark);
}

#main-nav.onscroll .nav-item .nav-link i {
  display: none;
  opacity: 0;
}

#main-nav {
  transition: all 0.3s ease;
}

main {
  padding-top: 129px;
}

@media (max-width: 300px) {
  main {
    padding-top: 80px;
  }
}

#sbcm-home {
  height: 650px;
}

.hero-title {
  font-size: 35px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Open Sans';
}

.hero-subtitle {
  font-size: 16px;
  margin: 1.5em 0;
  line-height: 1.4;
}

.btn {
  border-radius: 0 !important;
  width: 160px;
}

#sbcm-howtoenroll {
  height: 140px;
  background-color: #f4ed47;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato';
}

#sbcm-about {
  background-color: var(--bs-white);
}

.nav-tabs .nav-item .nav-link.active {
  background-color: var(--bs-warning);
}

.nav-tabs .nav-item .nav-link {
  background-color: var(--bs-primary);
  border: 1px solid var(--bs-white);
  font-size: 18px;
  letter-spacing: 1.4px;
}

@media (max-width: 300px) {
  .nav-tabs .nav-item .nav-link {
    font-size: 12px;
    letter-spacing: 1px;
  }
}

.nav-tabs .nav-item .nav-link:hover {
  background-color: var(--bs-warning);
}

.sbcm-logo {
  width: 280px;
}

@media (max-width: 300px) {
  .sbcm-logo {
    width: 180px;
  }
}

@media (max-width: 300px) {
  #main-nav {
    height: 80px;
  }
}

@media (max-width: 300px) {
  .hero-title {
    font-size: 28px;
  }
}

@media (max-width: 300px) {
  #sbcm-howtoenroll h3 {
    font-size: x-large;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-subtitle {
    margin: 1em 0;
    font-size: 14px;
  }
}

.card-hover:hover {
  box-shadow: 4px 5px 10px var(--bs-secondary-color);
}

#sbcm-events {
  background-color: var(--bs-white);
}

.event-cards {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  float: left;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  margin: 10px 1%;
  overflow: hidden;
  position: relative;
  text-align: left;
  width: 100%;
  border-radius: 5px;
  height: 400px;
}

.event-cards * {
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.event-cards img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
  border-radius: 5px;
}

.event-cards .caption {
  padding: 25px 20px 25px;
  position: absolute;
  bottom: 0;
  z-index: 1;
}

.event-cards .caption:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #700877;
  content: '';
  background: -webkit-linear-gradient(90deg, #0038b8 0%, #00c6ff 100%);
  opacity: 0.8;
  z-index: -1;
}

.event-cards .date {
  background-color: #fff;
  border-radius: 50%;
  color: var(--bs-primary);
  font-size: 18px;
  font-weight: 700;
  min-height: 48px;
  min-width: 48px;
  padding: 10px 0;
  position: absolute;
  right: 15px;
  text-align: center;
  text-transform: uppercase;
  top: -25px;
}

.event-cards .date span {
  display: block;
  line-height: 14px;
}

.event-cards .date .month {
  font-size: 11px;
}

.event-cards h3, .event-cards p {
  margin: 0;
  padding: 0;
}

.event-cards h3 {
  display: inline-block;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 5px;
}

.event-cards p {
  font-size: 0.8em;
  line-height: 1.6em;
  margin-bottom: 0px;
}

.event-cards a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.event-cards:hover img, .event-cards.card-hoverimg {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

h4.modal-title {
  color: var(--bs-primary);
  font-weight: 400;
}

footer li {
  font-size: 14px;
}

footer li > i {
  font-size: 25px !important;
}

