/* Cerevia Team Widget */

.team-section .cerevia-team-column {
  transition: all 0.3s ease-in-out;
}
.team-section .team-box .content a.team-member-name {
  display: block;
}
.team-section .team-box .content{
  padding: 0 30px;
}
.team-section .team-box ul {
  padding-left: 0;
}
.team-section .team-box {
  position: relative;
  text-align: center;
  transition: all 0.3s ease-in-out;
}
.team-section .team-box a {
  width: 100%;
}
.team-section .team-box figure {
  margin-bottom: 19px !important;
  overflow: hidden;
  border-radius: 25px;
}
.team-section .team-box figure img {
  width: 100%;
  border-radius: 25px;
  transition: all 0.3s ease-in-out;
}
.team-section .team-box:hover figure img {
  transform: scale(1.1);
}
.team-section .team-box .content a.team-member-name {
  margin-bottom: 7px;
}
.team-section .team-box h5 {
  margin-bottom: 0;
  color: var(--e-global-color-primary);
}
.team-section .team-box span {
  font-size: 14px;
  line-height: 1.5em;
  display: block;
  margin-bottom: 18px;
  color: #4c4c4c;
  font-weight: 400;
}

.team-section .team-box p {
  font-size: 14px;
  line-height: 1.5em;
  display: block;
  margin-bottom: 21px;
  color: var(--e-global-color-text);
  font-weight: 500;
}
.team-section .team-box li {
  margin: 0 5px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}
.team-section .team-box i {
  font-size: 20px;
  height: 42px;
  width: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 100px;
  color: var(--e-global-color-white);
  background: var(--e-global-color-accent);
  transition: all 0.3s ease-in-out;
}
.team-section .team-box li:hover {
  transform: translateY(-5px);
}
.team-section .team-box li:first-child {
  margin-left: 0;
}
.team-section .team-box li:last-child {
  margin-right: 0;
}
.team-section .team-box:hover i {
  background: var(--e-global-color-secondary);
  color: var(--e-global-color-primary);
}

@media screen and (max-width: 1366px) {
  .team-section .team-box {
    margin-bottom: 35px;
  }
  .team-section .team-box figure {
    margin-bottom: 20px !important;
  }
  .team-section .team-box span {
    margin-bottom: 18px;
  }
  .team-section .team-box i {
    font-size: 18px;
  }
}
@media screen and (max-width: 1024px) {
  .team-section .team-box {
    margin-bottom: 30px;
  }
  .team-section .team-box figure {
    margin-bottom: 15px !important;
  }
  .team-section .team-box h5 {
    margin-bottom: 3px;
  }
  .team-section .team-box span {
    margin-bottom: 15px;
  }
  .team-section .team-box i {
    font-size: 16px;
    height: 34px;
    width: 34px;
    line-height: 34px;
  }
}
@media screen and (max-width: 991px) {
  .team-section .team-box figure {
    margin-bottom: 10px !important;
  }
  .team-section .team-box span {
    margin-bottom: 12px;
  }
  .team-section .team-box i {
    font-size: 16px;
    height: 32px;
    width: 32px;
    line-height: 32px;
  }
}
@media screen and (max-width: 767px) {
  .team-section .team-box span {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .team-section .team-box i {
    font-size: 14px;
    height: 30px;
    width: 30px;
    line-height: 30px;
  }
}
.team-section .cerevia-team-row {
  display: flex;
  flex-wrap: wrap;
}
.team-section .cerevia-team-empty-message {
  padding: 20px;
  text-align: center;
  border: 1px dashed #d5d8dc;
  border-radius: 8px;
  color: #6d7882;
  background: #ffffff;
}
