.team-template-8 .container-fluid {
  padding: 0 !important;
}
@media screen and (max-width: 768px) {
  .team-template-8 .container-fluid {
    font-size: 16px;
  }
}
@media screen and (max-width: 416px) {
  .team-template-8 .container-fluid {
    font-size: 14px;
  }
}
.team-template-8 .row {
  margin: 0;
}
.team-template-8 .hero {
  background-color: #f5f7fa;
  height: 100%;
  min-height: 100vh;
  padding-bottom: 4em;
}
.team-template-8 .row-header {
  max-width: 1080px;
  margin: 0 auto;
}
.team-template-8 .hero-image {
  background-size: cover;
  background-position: center;
  min-height: 250px;
  position: relative;
  margin: 1em;
  margin-bottom: 0 !important;
  border-radius: 6px;
}
.team-template-8 .expand-text {
  text-align: center;
  margin-top: 1em;
}
.team-template-8 .expand-text a {
  color: #9ba6b2;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8em;
  line-height: 50px;
  transition: 0.4s;
}
.team-template-8 .expand-text a:hover {
  color: #333;
  opacity: 1;
  transition: 0.4s;
  text-decoration: none;
}
.team-template-8 p.description {
  text-align: left;
  color: #333 !important;
  padding: 1em;
  font-size: 1em !important;
}
.team-template-8 .feed-container {
  max-width: 1080px;
  margin: 0 auto;
}
.team-template-8 .card {
  cursor: pointer;
  background-color: #fff;
  min-height: 275px;
  padding: 1em;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  padding-top: 2em;
  margin: 1em auto;
  transition: 0.4s ease;
}
.team-template-8 .card:hover {
  box-shadow: 0px 16px 16px rgba(0, 0, 0, 0.06) !important;
  transition: 0.4s ease;
}
.team-template-8 .card:hover .card-button .btn {
  opacity: 0.8;
  transition: 0.4s ease;
}
.team-template-8 .team-count-card {
  color: #fff;
  min-height: 250px;
  min-width: 250px;
  border-radius: 6px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  padding-top: 3em;
  padding-left: 2em;
  padding-right: 2em;
  position: relative;
}
@media screen and (max-width: 768px) {
  .team-template-8 .team-count-card {
    min-height: 275px;
    padding-left: 0em;
    padding-right: 0em;
  }
}
.team-template-8 .team-count-card .count-title {
  font-size: 27px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 16px;
}
.team-template-8 .team-count-card .count-number {
  font-size: 20px;
  color: #333;
  font-weight: bold;
  text-align: center;
}
.team-template-8 .team-count-card .count-subtitle {
  opacity: 0.5;
  margin-bottom: 16px;
}
.team-template-8 .card-button {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.team-template-8 .card-button .btn {
  border: none;
  background-color: #9ba6b2 !important;
  height: 50px;
  line-height: 30px;
  color: #fff !important;
  border-radius: 0px 0px 6px 6px !important;
  text-transform: none !important;
  font-size: 16px !important;
  transition: 0.4s ease !important;
}
.team-template-8 .card-button .btn:hover {
  opacity: 0.8;
  transition: 0.4s ease;
}
.team-template-8 .card-indicator {
  height: 14px;
  width: 14px;
  position: absolute;
  right: 3px;
  top: 3px;
  border-radius: 50%;
  border: 2px solid white;
}
.team-template-8 .card-title {
  font-weight: 400;
  color: #9ba6b2;
  font-size: 0.9em;
  text-align: center;
  line-height: 1.3;
}
.team-template-8 .card-name {
  font-weight: bold;
  color: #333;
  text-align: center;
  padding-top: 1em;
}
.team-template-8 .card-photo {
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  height: 70px;
  width: 70px;
  margin: 0 auto;
  position: relative;
}
.team-template-8 .team-count-info {
  position: relative;
}
.team-template-8 .card-email,
.team-template-8 .card-phone {
  font-weight: 700;
  color: #333;
  font-size: 0.8em;
  line-height: 1.6;
  color: #333;
}
.team-template-8 .card-phone {
  color: #333;
  font-weight: bold;
}
.team-template-8 .close i {
  font-size: 27px;
  color: #9ba6b2;
  position: absolute;
  top: 4px;
  right: 4px;
}
.team-template-8 .show {
  display: block !important;
  opacity: 1 !important;
  pointer-events: all !important;
}
.team-template-8 .modal {
  display: none;
  pointer-events: none;
  position: fixed;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  overflow: scroll;
}
.team-template-8 .modal .modal-container {
  max-width: 500px;
  margin: 6em auto;
}
@media screen and (max-width: 416px) {
  .team-template-8 .modal .modal-container {
    margin: 0 auto;
  }
}
.team-template-8 .modal .modal-container .card {
  padding-top: 3em;
  padding-right: 0;
  padding-left: 0;
}
.team-template-8 .modal .modal-cta {
  position: relative;
}
.team-template-8 .btn-modal {
  border: none;
  box-shadow: none !important;
  height: 46px;
  line-height: 24px;
  margin: 0 auto;
  text-align: center;
  text-transform: none !important;
  font-size: 14px !important;
  transition: 0.4s ease;
  margin: 0.25em auto;
}
.team-template-8 .btn-modal:hover {
  transition: 0.4s ease;
}
.team-template-8 .btn-count {
  background-color: rgba(255, 255, 255, 0.15) !important;
  margin-top: 16px;
  color: #fff !important;
  border: none;
  box-shadow: none !important;
  height: 46px;
  top: 8px;
  line-height: 24px;
  margin: 0 auto;
  text-align: center;
  text-transform: none !important;
  font-size: 14px !important;
  transition: 0.4s ease;
}
.team-template-8 .btn-count:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
  transition: 0.4s ease;
}
.team-template-8 .contact-info i {
  font-size: 1em;
}
@media screen and (max-width: 768px) {
  .team-template-8 .contact-info {
    text-align: center;
    margin-top: 1em;
  }
}