/*Results*/
#teams-results {
  background-color: #f5f6fa;
}
.teams-res-wrap.has-popup {
  cursor: pointer;
}
.teams-res-image {
  position: relative;
  padding-top: 137%;
  overflow: hidden;
}
.teams-res-image > img {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.teams-res-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 35px;
  background-color: var(--white);
  height: 35px;
  padding: 5px 9px;
}
.teams-res-wrap.has-popup .teams-res-image:hover > img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
/*Popup*/
#teams-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#teams-popup.active {
  pointer-events: all;
  opacity: 1;
}
.teams-popup-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.8);
}
.teams-popup-container {
  background-color: var(--white);
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
  width: 290px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}
.teams-popup-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 100%;
}
.teams-popup-close {
  display: inline-block;
  cursor: pointer;
}
.teams-popup-close svg {
  fill: none;
  stroke: #32499e;
  stroke-miterlimit: 10;
  stroke-width: 4px;
}
.teams-popup-member-item:not(.active) {
  display: none;
}
.teams-popup-member-image {
  margin-bottom: 10px;
}
.teams-popup-member-description p strong {
  color: var(--primary);
}
/*Responsive - Mobile First*/
/* md */
@media (min-width: 768px) {
  /*Popup*/
  .teams-popup-container {
    width: 700px;
  }
  .teams-popup-close svg {
    stroke-width: 3px;
  }
  .teams-popup-member-image {
    float: left;
    width: 40%;
    margin-right: 30px;
  }
}
/*Responsive - Desktop First*/
/* xs */
@media (max-width: 575.98px) {
  /*Results*/
  .team-group-title {
    cursor: pointer;
  }
  .team-group-title .toggle::after {
    content: "+";
    margin-left: 10px;
  }
  .team-group-item.active .team-group-title .toggle::after {
    content: "-";
  }
  .team-group-item:not(.active) .team-group-members {
    display: none;
  }
  .team-group:last-child .teams-res-item:last-child {
    margin-bottom: 0;
  }
}