.bod {
  z-index: 9999
}
.bod .profile-detail {
  max-height: 0;
  -webkit-transition: none;
  transition: none
}
.bod .profile-detail__close {
  font-size: 3.2rem;
  line-height: 3.2rem;
  background-color: rgba(236,234,230,.3019607843);
  border: none
}
.bod .profile-detail--visible {
  max-height: 300rem;
  width: 100%;
  -webkit-transition: max-height 3s;
  transition: max-height 3s;
  padding-bottom: var(--lg-2)
}
.sevnreit .bod .profile-detail__wrapper{
background: #F2F0EC;
}
.bod .profile-detail__wrapper {
  margin-top: var(--sm-3);
}
.bod--popup .profile-detail {
  max-height: none
}
.bod--popup .profile-detail__wrapper {
  margin-top: 0
}
/*.bod--popup .profile-detail__button {
  display: none!important
}*/
.bod--popup .profile-detail--visible .profile-detail {
  max-height: 100%
}
.bod--popup .modal-dialog {
  min-width: calc(100vw - 28%)
}
.bod--popup .modal-body {
  background-color: var(--base-4); 
}
.bod--popup .modal-header {
  border: none;
  padding: 0;
  padding: var(--sm-1) var(--sm-1) 0
}
.bod--popup .modal-content {
  max-height: 80rem;
  padding: 0!important
}
.bod--popup .modal-content .profile-detail {
  margin-top: 0
}

.bod .modal .modal-footer .arrow-button{
  border-radius: 3.2rem; 
  background: var(--base-5);
  color: var(--base-1);
}


.bod--popup .modal-footer {
  border-top: none;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end
}
.ip3-edit .modal {
  z-index: 99999
}
@media only screen and (width:768px){
.profiles [class*=col-] .profile-detail--visible{
width: calc(100% + 33.7rem) !important; 
}
}
@media (min-width:768px) {
  .bod--popup .modal-dialog {
    min-width: calc(100vw - 17%)
  }
  .profiles [class*=col-] .profile-detail--visible{
          width: calc(100% + 36.4rem);
  }
}
@media (min-width:992px) {
  .bod--popup .modal-dialog {
    min-width: calc(100vw - 36%)
  }
  .profiles__wrapper .profile-card .profile-detail__image{height:300px;}
  .modal-body .profile-detail__image-wrapper img{height:246px;}
.profiles [class*=col-] .profile-detail--visible{
        width: calc(100% + 47.4rem);
}
}


@media (max-width:768px) {
/*.profile-card__image-wrapper .profile-detail__image {max-height:240px;}*/
.profiles__wrapper {
    min-height: 342px;
}

}

.bod .tabs__prev-button .arrow-button,
.bod .tabs__next-button .arrow-button
{display: none;}

.profile-card__cta-wrapper {
    display: none; 
}

#ip3-board-of-directors #board-of-directors .tabs.swiper{display:none;}
@media (min-width:1200px) {
.profiles [class*=col-] .profile-detail--visible{
        width: calc(100% + 85.4rem);
}
}


