.section-subtitle h2 {
  font-family: 'Dosis', sans-serif;
  font-size: 45px;
  text-align: center;
  margin-bottom: 40px;
  color: #002366
}

/*-----------
  #teachers
------------*/
.teachers .row {
  padding-bottom: 20px;
}

.card-deck .card {
  flex: 0 0 300px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
}

@media (max-width: 570px) {
  .card-deck .card {
    max-width: 300px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
}

.card .btn {
  border-radius: 0px 0px 5px 5px;
  background-color: #002366;
  border-width: 0px;
  box-shadow: 2px 2px 5px #555;
}

.teachers .card-img-top {
  border-radius: 0px;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top;
  padding-top: -40px;
}

.card-title {
  font-size: 20px;
}

/***** MODAL *****/
.modal-header, .modal-footer{  
  background: #002366;  
  color: #fff;
}

.modal-title {
  font-size: 1em;
}

.modal img {
  height: 200px;
  width: auto;
  object-fit: cover;
  object-position: center;
  margin: 10px;
}

.modal-body > .badge {
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #002366;
  background-color: #f9a602;
  padding: 5px 10px 5px 10px;
}

.modal-footer .btn {
  font-size: 14px;
  box-shadow: 0px 0px 10px #333;
}

.close {
  font-size: 2rem;
  color: #fff;
  text-shadow: none;
  width: 100%;
}

.close:hover {
  color: #fff;
}