/* CSS Document */
#team-page-wrap {
  padding: 40px 0;
}
#team-page-wrap #team-intro {
  margin-bottom: 40px;
}
#team-page-wrap #team-section {
  text-align: center;
  margin: 0 0 60px;
}

  #team-section:last-child {
    margin: 0;
  }

.team-page-title {
  font-size: 36px;
  margin: 0 0 44px;
}

#team-page-wrap #team-section .team-grid {
  display: inline-grid;
  grid-template-columns: 31% 31% 31%;
  grid-column-gap: 3.5%;
  grid-row-gap: 30px;
  width: 100%;
}

.team-content {
    position: relative;
    background: #A84523;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 470px;
    padding: 28px;
    margin: 0 0 20px;
}

.team-content a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.team-img {
  width: 100%;
  height: 413px;
}

    .team-member:hover .team-img {
        display: none;
    }

.team-member-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.team-hover {
    display: none;
    text-align: left;
    width: 100%;
}

    .team-member:hover .team-hover {
        display: block;
        overflow-y: scroll;
        padding: 0 46px 0 28px;
        height: 67%;
        margin-right: -46px;
    }

.team-hover p {
    font-family: "Raleway-Regular";
    color: #fff;
    font-size: 16px;
    line-height: 24px;
}

    .team-hover p:last-child {
        margin: 0;
    }

#team-page-wrap #team-section .team-grid .team-member .team-member-name {
  font-family: "Raleway-Bold";
  color: #707070;
  text-transform: uppercase;
  font-size: 31px;
  line-height: 36px;
}
#team-page-wrap #team-section .team-grid .team-member .team-member-title {
  font-family: "Raleway-Regular";
  color: #707070;
  font-size: 24px;
  margin: 0;
}
#team-page-wrap #team-section .team-grid .team-member .team-member-bio {
  margin: 0;
}

/* Responsive Design */

@media (max-width: 1650px) {

  .team-content {
      height: 430px;
      padding: 17px;
  }
  
  .team-img {
    height: 393px;
  }

  .team-member:hover .team-hover {
      padding: 0 33px 0 17px;
      height: 64%;
      margin-right: -38px;
  }  
}

@media (max-width: 1440px) {

  .team-content {
      height: 390px;
  }
  
  .team-img {
    height: 355px;
  }
  
  .team-member:hover .team-hover {
      padding: 0 28px 0 17px;
      margin-right: -30px;
  } 

  #team-page-wrap #team-section .team-grid .team-member .team-member-name {
    font-size: 27px;
    line-height: 32px;
  }  
}

@media (max-width: 1350px) {

  .team-content {
      height: 350px;
  }
  
  .team-img {
    height: 318px;
  }

  #team-page-wrap #team-section .team-grid .team-member .team-member-name {
    font-size: 23px;
    line-height: 28px;
    margin: 0 0 10px;
  } 

  #team-page-wrap #team-section .team-grid .team-member .team-member-title {
      font-size: 20px;
  }  
}

@media (max-width: 1250px) {

  .team-content {
      height: 310px;
  }
  
  .team-img {
    height: 277px;
  }
  
  .team-member:hover .team-hover {
      height: 66%;
  } 
}

@media (max-width: 1150px) {

  #team-page-wrap #team-section .team-grid {
      display: inline-flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 0 2%;
  }

  .team-member {
    flex-basis: 48%;
    margin: 0 0 30px;
  }
  
  .team-content {
      height: 390px;
  }
  
  .team-img {
    height: 357px;
  }
  
  .team-member:hover .team-hover {
      height: 65%;
  } 
  
  #team-page-wrap #team-section .team-grid .team-member .team-member-name {
    font-size: 19px;
    line-height: 24px;
  } 

  #team-page-wrap #team-section .team-grid .team-member .team-member-title {
      font-size: 16px;
  }   
}

@media (max-width: 900px) {
  
  .team-content {
      height: 350px;
  }
  
  .team-img {
    height: 317px;
  }
  
  #team-page-wrap #team-section .team-grid .team-member .team-member-name {
    font-size: 23px;
    line-height: 28px;
  } 

  #team-page-wrap #team-section .team-grid .team-member .team-member-title {
      font-size: 20px;
  }   
}

@media (max-width: 768px) {

  #team-page-wrap #team-section .team-grid {
      gap: 0;
  }

  .team-member {
    flex-basis: 100%;
  }
  
  .team-content {
      height: 470px;
  }
  
  .team-img {
    height: 435px;
  }
  
  .team-member:hover .team-hover {
      padding: 0 33px 0 17px;
      height: 75%;
  } 
}

@media (max-width: 550px) {
  
  .team-content {
      height: 430px;
  }
  
  .team-img {
    height: 396px;
  }
  
  .team-member:hover .team-hover {
      height: 65%;
  }  
}

@media (max-width: 450px) {
  
  .team-content {
      height: 370px;
  }
  
  .team-img {
    height: 337px;
  }  
}

@media (max-width: 350px) {
  
  .team-content {
      height: 290px;
  }
  
  .team-img {
    height: 257px;
  }
  
  .team-member:hover .team-hover {
      height: 70%;
  }  
}

/*# sourceMappingURL=team-page.css.map */
