/* infobox css */
.awd-infobox { width: 100%; height: 1px; min-height: 449px; border: 0; background-repeat: no-repeat; background-position: center; background-size: cover; perspective: 1000px; }
.awd-infobox::before { position: absolute; z-index: 0; top: 0; right: 0; left: 0; display: block; width: 100%; height: 100%; content: ''; background: rgba(34, 34, 34, .41); }
.flip-box-inner { position: relative; width: 100%; height: 100%; transition: transform .8s; text-align: center; transform-style: preserve-3d; }
.awd-infobox:hover .flip-box-inner { transform: rotateX(180deg); }
.flip-box-front, .flip-box-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip-box-front { display: flex; color: #fff; justify-content: center; align-items: center; }
.flip-box-back { display: flex; transform: rotateX(180deg); color: white; background-color: #242424; align-items: center; justify-content: center; }
.flip-box-front h3 { font-size: 28px; font-weight: 600; line-height: 42px; margin: 0 auto; }
.flip-box-back p { font-size: 24px; line-height: 1.5; margin-bottom: 60px; color: #fff; }
.inner-wrap { margin: 0 auto; padding: 5%; }

/* resident css */
.embed-container { position: relative; overflow: hidden; max-width: 100%; height: auto; margin-bottom: 20px; padding-bottom: 56.25%; }
.embed-container iframe, .team-grid .embed-container object, .team-grid .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
body .team-grid { display: flex; width: 100%; max-width: 1170px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.ctr-hover-box {
    position: relative;
    background: #fff;
    display: block;
    overflow: hidden;
    width: 100%;
    max-width: 272px;
    height: 100%;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 5px 19px rgba(0, 0, 0, .16);
}
.bio-grid-header { padding: 20px 20px 10px; }
.bio-grid-header h3 a { color: #11635a; }
.bio-grid-header h3 { margin: 0; color: #11635a; }

/* .team-grid .ctr-single-post img { height: 377px !important; width: 100%; object-fit: cover; object-position: center; } */
.team-grid .ctr-single-post {
    width: 100%;
    margin: 0 1% 35px;
    flex: 0 1 23%;
    gap: 10%;
}
.team-image.aligncenter img { width: 100%; height: auto; }
.team-image.aligncenter img { height: auto; margin: 0 auto 10px; }
.team-modal-content h3 sup { font-size: 15px; }
.team-grid .ctr-single-post:nth-child(4n) { margin-right: 0; }
.fancybox-active { overflow: hidden; touch-action: none; -webkit-overflow-scrolling: none; overscroll-behavior: none; }
.team-modal.fancybox-content {
    overflow: auto;
    overflow-y: auto;

    width: 100%;
    max-width: 768px;
    max-height: 80vh;
    padding: 30px 25px 25px;
    -webkit-overflow-scrolling: touch;
}
.team-modal-content h3, #site-main .ctr-single-post h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: capitalize;
    margin-bottom: 5px !important;
}
.bio-right > div {
    margin-bottom: 10px;
}
.team-modal-content h3 span, .team-modal-content h3 em, .team-modal-content h3 i, #site-main .ctr-single-post h3 span { color: #2f9b92; }
.team-modal-header { font-family: 'Open Sans', sans-serif; display: block; margin: 0 auto 20px; text-align: center; }
.team-modal-content { font-size: 16px; line-height: 1.625; }
.team-bio p { margin-bottom: 12px; }
.team-modal-content ul { font-size: 16px; margin: 1.12em 0; margin-left: 30px; list-style-type: disc; }
.team-bio a { transition: .3s; color: #9a1c1f; }
.team-bio a:hover, .team-bio a:focus { transition: .3s; color: #000; }
#site-main .bio-grid-header p, .team-modal-header p { font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 100; line-height: 1.5; margin: 0; }
.team-grid .ctr-single-post img { width: 100%; min-width: 100%; transition: .4s ease-out; filter: saturate(0); }

/* .ctr-hover-box:hover .bio-grid-header { background: #9A1C1F; transition: .4s ease-out; } */
.team-grid .ctr-hover-box:hover img { transition: .4s ease-out; filter: saturate(1); }
.bio-flex { display: flex; align-items: center; }

.bio-left {
    margin-right: 5%;
    min-width: 220px;
    max-width: 220px;
    width: 100%;
    flex: 1 0 auto;
    margin: 0 5% auto 0;
}
#site-main .bio-grid-header .bio-grid-header p { margin: 0; }
.ctr-hover-box a {
    display: block;

}
.ctr-hover-box a p {
    color: #242424;
}