/*========================Filter========*/
.team-div-header h2 {
  margin: auto;
}
.team-div-header {
  padding: 2rem 0px;
  text-align: center;
}
.team-top-inner ul {
  margin: 1rem auto;
  padding: 0;
  list-style: none;
  max-width: 1040px;
  width: 100%;
  text-align: center;
}
.team-top-inner {
  padding: 1rem 0 0.4rem;
}
.team-top-inner ul li {
  margin-right: 0.7rem;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
}
.team-top-inner ul li a {
  font-weight: bold;
  padding: 0px 5rem;
  transition: all .3s ease-in-out;
  padding-bottom: 0.4rem;
  font-size: 16px;
  line-height: 18px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 0;
  color: #38383a;
}
.team-top-inner ul li a:hover {
  color: rgb(176, 226, 226);
  padding-bottom: 0.4rem;
  border-bottom: 4px solid rgb(176, 226, 226);
}
ul.team-bottom-list:before,
ul.team-bottom-list:before{
  content: none;
}
ul.team-bottom-list.clearfix li.team-bottom-item {
  display: block;
  width: 50%;
  border: 1px solid #fff;
  cursor: pointer;
  position: relative;
}
ul.team-bottom-list.clearfix {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -moz-flex;
  display: -webkit-flex;  
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: stretch;
}
.team-top-inner ul li:last-child {
  margin-right: 0;
}
.team-wrapper {
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.team-wrapper>img {
  top: 0px;
  left: 0px;
  max-width: 100%;
  height: auto;
  background-color: rgb(241, 244, 252);
}
.bottom-pane {
  overflow: hidden;
}
.team-inner {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.team-inner>img {
  top: 0px;
  left: 0px;
  max-width: 100%;
  height: 100%;
  background-color: rgb(241, 244, 252);
}
.team-content {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 9999;
  position: absolute;
  top: 0;
  left: 0;
  right: 0; 
}

.team-content-inner p {
  color: #fff;
}
li.team-bottom-item:hover .team-inner {
  opacity: 1;
  transition: all .3s ease-in-out 0s; 
  visibility:visible;
}
li.team-bottom-item .team-inner {
  visibility:hidden;
}
.team-content-inner p {
  margin: 0;
}
.team-content-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  align-items: center;
  padding-bottom: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
    text-align: center;
}
p.team-name {
  font-weight: bold;
}
.accordion-group .accordion__item.accordion:first-of-type {
  border-top: 0;
}
.team-top-inner ul li a.active,
.team-top-inner ul li.active-topics {
  font-weight: bold;
  color: rgb(121, 121, 156);
  border-bottom: 4px solid rgb(241, 244, 252);
}
.team-top-inner ul li a.active,
.team-top-inner ul li.active-topics a {
  font-weight: bold;
  color: #79799c;
}
.team-top-inner ul li a.active:hover{
  color: #b0e2e2;
  padding-bottom: .4rem;
  border-bottom: 4px solid #b0e2e2;
}
.accordion__item.accordion {
  border-top: 1px solid #f1f4fc;
}

.accordion-inner-content {
  display: none;
  padding: 20px;
}

.accordion-group .page-center {
  padding: 0 !important;
  max-width: 780px !important;
  padding: 0px 0px 5rem !important;
}
.accordion-group .page-center h4 {
  margin: 0;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  position: relative;
}
h2.headline-accordion {
  text-align: center;
  margin: 0;
  padding-bottom: 1rem;
}
.accordion-title {
  padding-bottom: 1rem;
}
.accordion-group .page-center h4:before {
  right: 28px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.accordion-group .page-center h4:before,.accordion-group .page-center h4:after {
  display: block;
  position: absolute;
  top: 50%;
  width: 10px;
  height: 2px;
  background-color: currentColor;
  content: "";
  transition: transform .25s ease,-webkit-transform .25s ease;
}

.accordion-group .page-center h4:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 21px;
}
.accordion-group .page-center h4.active:before {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.accordion-group .page-center h4.active:after {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.accordion-inner-content.slow {
  display: block;
}
.accordion-inner-content.slow p:last-child {
  margin-bottom: 0;
}
.accordion__item.accordion h4:hover {
  transition: background-color .3s linear;
  background-color: #b0e2e2;
}
.accordion-inner-content ul {
  padding: 0;
  list-style: none;
}
.accordion-group {
  padding: 0px 0px 5rem;
}
ul.team-bottom-list.clearfix li.team-bottom-item {
  display: none;
}
ul.team-bottom-list.clearfix li.team-bottom-item.active {
  display: inline-block;
}
.team-wrapper-group {
  padding-bottom: 10rem;
  margin-bottom: 16px;
}

.accordion-inner-content {
  -webkit-animation: fadein .35s ease-in;
  animation: fadein .35s ease-in;
}
@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
.team-wrapper>img {
  width: 100%;
}

.team-wrapper-group.portfolio-group ul.team-bottom-list.clearfix li.news-item.team-bottom-item {
  width: 20%;
  border: 0;
  float:left;
}

.team-wrapper-group.portfolio-group ul.team-bottom-list.clearfix li.news-item.team-bottom-item .team-wrapper:hover img {
  transform: scale(1.15);
  transition: transform 0.8s ease-in-out 0s;
}

.team-wrapper-group.portfolio-group ul.team-bottom-list.clearfix li.news-item.team-bottom-item .team-wrapper {
  overflow: hidden;
}

.team-wrapper-group.portfolio-group ul.team-bottom-list.clearfix li.news-item.team-bottom-item .team-wrapper img {
  transition: transform 0.8s ease-in-out 0s;
}

.team-wrapper-group.portfolio-group .team-content-inner {
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  padding-bottom: 0;
}
.team-wrapper-group.portfolio-group {
  padding-bottom: 0;
  margin-bottom: 0;
}

@media(min-width: 768px) {
  ul.team-bottom-list.clearfix li.team-bottom-item {
    width: 25%;
  }
}

@media(min-width: 1025px) {
  ul.team-bottom-list.clearfix li.team-bottom-item {
    width: 16.6666%;
  }
}