/***  UNIVERSAL STYLES  ***/

.member {position: relative;}

.member-meta, 
.member-meta li {
  margin-left: 0;
	list-style: none;
}

.member-position, 
.member-meta {
	margin-top: 0.25em;
	margin-bottom: 0;
}



/***  COLUMN STYLES  ***/

.member-full-overlay .member,
.member-full-single .member{
	position:relative;
	transition: all 300ms ease-in-out;
	cursor:pointer;
}

.member-full-overlay .member .member-title,
.member-full-single .member .member-title{
	color: var(--wp--custom--secondary--main);
	transition: all 300ms ease-in-out;
}

.member-full-overlay .member:hover .member-title,
.member-full-single .member:hover .member-title{
	color: var(--wp--custom--primary--main);
}


.member-full-overlay .member:before,
.member-full-single .member:before{
	content: '';
    position: absolute;
    height: calc(100% - 20px);
    width: calc(100% - 20px);
    bottom: 0;
    right: 0;
    border-right: 2px solid var(--wp--custom--primary--main);
    border-bottom: 2px solid var(--wp--custom--primary--main);
	transition: all 300ms ease-in-out;
}

.member-full-overlay .member:hover:before,
.member-full-single .member:hover:before{
	width: calc(100% - 5px);
}

.member-cols .entry{
	padding-bottom:50px!important;	
}

.member-cols .entry-link-text-wrap{
	left:20px!important;
	bottom:15px!important;
}


.member-cols .member:hover .entry-link-text-wrap a{color:var(--wp--custom--primary--main);}

.member-cols .member:hover .entry-link-text-wrap i{
	padding-left:7px;
}

.member-cols .member-box {
	position: relative;
	display: block;
	overflow: hidden;
}

.member-cols.member-full-overlay .member-box, 
.member-cols.member-full-expand .member-box {cursor: pointer;}

.member-cols .member-link, 
.member-cols .member-link:hover {
	color: black;
	text-decoration: none;
}

.member-cols .member-portrait-wrap {margin-bottom: 10px;}

.member-cols .member-title, 
.member-cols .member-position {margin: 0;}

.member-cols .member-box .member-display-info{
	line-height:1.2;
	font-size:.9em;
    margin-top: 10px;
    text-align: left;
}

.member-cols .member-box .member-display-detail{
	flex-direction: row;
	margin-bottom:10px;
}

.member-cols .member-display-info > div{
	display:flex;
	gap:5px;
    align-items: center;
}

.member-languages div,
.member-languages{
	flex-wrap: wrap;
}

.member-cols .member-box .member-display-info i{
	min-width:28px;
	font-size:1.5em;
}

.member-cols .member-content-wrap {margin-top: 10px;}

.member-cols .member-portrait{width:100%;}

.more-cols .member-cols .entry .member-portrait-wrap,
.more-cols .member-portrait-wrap + .member-text-wrap{
	width:100%;
}

/***  SINGLE COLUMN STYLES  ***/

.member-cols .col-full .member-box {
	display: flex;
	text-align: left;
}

.member-cols .col-full .member-portrait-wrap {
	width: 30%;
	padding-right: 30px;
	text-align: center;
}

.member-cols .col-full .member-text-wrap {width: 70%;}


/***  FULL STYLES - EXPAND  ***/

.member-full-expand .member-full {
	display: block;
	max-height: 0;
	overflow: hidden;
	transition: all 1s ease-in-out;
}

.member-full-expand .member.active .member-full {
	max-height: 10000px;
}

.member-full-expand .member-full .member-full-inner {
	position: relative;
	padding: 30px;
	margin-top: 1.5em;
	background: white;
	border: 1px solid #e9e9e9;
}

.member-full-inner:hover{cursor:default;}

.member-full-inner .member-info-wrap > div,
.member-full-inner .member-text-wrap > div,
.member-full-inner .member-display-info > div{margin-top:10px;}

.member-meta-apps{
    display: flex;
    gap: 0 10px;
    flex-wrap: wrap;
}

.member-meta-apps i{min-width:unset!important;}

.member-meta-class-schedule{display:flex;}

.member-full-inner i{
	min-width: 35px;
    text-align: left;
    font-size: 1.5em;
}

.member-full-inner .member-meta-social{
    display: flex;
    gap: 15px;
}

.member-full-inner .member-meta-social i{
	font-size: 1.5em;
    min-width: unset;
    text-align: center;
}

.member-full-expand .member-full .member-text-wrap {display: flex;}

.member-full-expand .member-full .member-info-wrap {
	width: 25%;
	padding-right: 30px;
}

.member-full-expand .member-full .member-content-wrap {
	width: 75%;
}

/* Bio Full Sizing */

@media screen and (min-width: 901px) {

.member-full-expand .col-sixth.member .member-full {width: calc(600% + 150px);}
.member-full-expand .col-sixth.member:nth-child(6n-4) .member-full {margin-left: calc(-100% + -30px);}
.member-full-expand .col-sixth.member:nth-child(6n-3) .member-full {margin-left: calc(-200% + -60px);}
.member-full-expand .col-sixth.member:nth-child(6n-2) .member-full {margin-left: calc(-300% + -90px);}
.member-full-expand .col-sixth.member:nth-child(6n-1) .member-full {margin-left: calc(-400% + -120px);}
.member-full-expand .col-sixth.member:nth-child(6n) .member-full {margin-left: calc(-500% + -150px);}

.member-full-expand .col-fifth.member .member-full {width: calc(500% + 120px);}
.member-full-expand .col-fifth.member:nth-child(5n-3) .member-full {margin-left: calc(-100% + -30px);}
.member-full-expand .col-fifth.member:nth-child(5n-2) .member-full {margin-left: calc(-200% + -60px);}
.member-full-expand .col-fifth.member:nth-child(5n-1) .member-full {margin-left: calc(-300% + -90px);}
.member-full-expand .col-fifth.member:nth-child(5n) .member-full {margin-left: calc(-400% + -120px);}

.member-full-expand .col-fourth.member .member-full {width: calc(400% + 90px);}
.member-full-expand .col-fourth.member:nth-child(4n-2) .member-full {margin-left: calc(-100% + -30px);}
.member-full-expand .col-fourth.member:nth-child(4n-1) .member-full {margin-left: calc(-200% + -60px);}
.member-full-expand .col-fourth.member:nth-child(4n) .member-full {margin-left: calc(-300% + -90px);}

.member-full-expand .col-third.member .member-full {width: calc(300% + 60px);}
.member-full-expand .col-third.member:nth-child(3n-1) .member-full {margin-left: calc(-100% + -30px);}
.member-full-expand .col-third.member:nth-child(3n) .member-full {margin-left: calc(-200% + -60px);}

.member-full-expand .col-half.member .member-full {width: calc(200% + 30px);}
.member-full-expand .col-half.member:nth-child(2n) .member-full {margin-left: calc(-100% + -30px);}

}

@media screen and (min-width: 601px) and (max-width: 900px) {

.member-full-expand .tablet-col-fourth.member .member-full {width: calc(400% + 90px);}
.member-full-expand .tablet-col-fourth.member:nth-child(4n-2) .member-full {margin-left: calc(-100% + -30px);}
.member-full-expand .tablet-col-fourth.member:nth-child(4n-1) .member-full {margin-left: calc(-200% + -60px);}
.member-full-expand .tablet-col-fourth.member:nth-child(4n) .member-full {margin-left: calc(-300% + -90px);}

.member-full-expand .tablet-col-third.member .member-full {width: calc(300% + 60px);}
.member-full-expand .tablet-col-third.member:nth-child(2n-1) .member-full {margin-left: calc(-100% + -30px);}
.member-full-expand .tablet-col-third.member:nth-child(2n) .member-full {margin-left: calc(-200% + -60px);}

.member-full-expand .tablet-col-half.member .member-full {width: calc(200% + 30px);}
.member-full-expand .tablet-col-half.member:nth-child(2n) .member-full {margin-left: calc(-100% + -30px);}

}

@media screen and (min-width: 421px) and (max-width: 600px) {

.member-full-expand .mobile-col-half.member .member-full {width: calc(200% + 30px);}
.member-full-expand .mobile-col-half.member:nth-child(2n) .member-full {margin-left: calc(-100% + -30px);}

}



/***  FULL STYLES -- OVERLAY  ***/

.member-static .site-inner, 
.member-static .main, 
.member-static [class*="elementor-"] {position: static !important;}

.member-full-overlay .member-overlay {
	position: fixed !important;
	top: 0;
	left: 0;
	z-index: 5000;
	width: 100%;
	background-color: rgba(0,0,0,0.7);
	justify-content: center;
	align-items: center;
	display: flex;
	height: 0;
	opacity: 0;
	overflow: hidden;
	cursor: pointer;
	transition: opacity 0.5s ease;
}

.member-full-overlay .member.active .member-overlay {
	opacity: 1;
	height: 100%;
}

.member-full-overlay .member-full {
	position: fixed !important;
	z-index: 6000;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	display: block;
	width: 90%;
	max-width: 750px;
	height: 0;
	max-height: 90%;
	overflow: hidden;
	background-color: white;
	transition: opacity 300ms ease;
}

.member-full-overlay .member-full-inner {padding: 50px;}

.member-full-overlay .member.active .member-full {
	height: auto;
	overflow: auto;
}

.member-full-overlay .member-full .member-full-inner {display: flex;}

.member-full-overlay .member-full .member-portrait-wrap {
	width: 33%;
	padding-right: 30px;
}

.member-full-overlay .member-full .member-portrait-wrap + .member-text-wrap {width: 67%}

@media screen and (max-width: 900px) {
.member-full-overlay .member-full-inner {padding: 40px;}
}

@media screen and (max-width: 600px) {
.member-full-overlay .member-full-inner {padding: 25px;}
}

@media screen and (max-width: 420px) {
.member-full-overlay .member-full-inner {padding: 15px;}
}



/***  MEMBER LIST  ***/

.member-list li:not(:last-child) {margin-bottom: 10px;}

.member-list .member-title, 
.member-list .member-position {margin: 0;}



/***  DEPARTMENT SELECT  ***/

.role-select {max-width: 300px;}



/***  SINGLE PAGE  ***/

.single-member .banner select {max-width: 300px;}

.single-member .entry .member-portrait-wrap {width: 25%;}

.single-member .member-portrait-wrap + .member-text-wrap {width: 75%;}

.single-member .member-title {margin-bottom: 0;}

.member-position, 
.member-meta {
	margin-top: 0.5em;
}

.single-member .member-position {
	font-weight: bold;
	font-size: 1.5em;
}

.single-member .member-content-wrap:not(:first-child) {
	margin-top: 30px;
}

@media screen and (max-width:600px){
	
.single-member .member-portrait-wrap,
.single-member .member-portrait-wrap + .member-text-wrap {width: 100%;}
}

.more-cols .member-cols .cols{
	justify-content: center;
}


/*AJAX FILTERS*/

/* Wrapper for filter and toggle */
.members-filter-wrapper {
    position: relative;
}

.members-filter-actions{
	display: flex;
    gap: 10px;
    margin: 0 0 10px;
    justify-content: flex-end;
}

/* Toggle button - bottom right */
.members-filter-toggle {
    position: fixed;
    bottom: 70px;
    right: 20px;
	letter-spacing:.5px;
	text-transform:uppercase;
    z-index: 1;
    padding: 12px 16px;
    background: var(--wp--custom--primary--dark);
    color: #fff;
    border: none;
    border-radius: var(--wp--custom--radius--sm);
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
		transition: all 300ms ease-in-out;
}

.members-filter-toggle:hover {
	background-color: var(--wp--custom--secondary--dark);
}


.members-filter-toggle i{
	color:white!important;
	font-size:1.25em;
	margin-right:5px;
}

/* Filter sidebar - top left, full height, scrollable */
.members-filter-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: calc(100vh - 30px);
    width: 415px;
    max-width: 90%;
    background: #fff;
    padding: 20px;
    box-shadow: 2px 0 8px rgba(0,0,0,0.15);
    overflow-y: auto;
    transform: translateX(110%);
    transition: transform 0.3s ease-in-out;
    z-index: 1500;
}

/* Active state - slide in */
.members-filter-wrapper.active .members-filter-sidebar {
    transform: translateX(0);
}

/* Scrollable search + filters */
.members-search-wrap {
    margin-bottom: 20px;
}

.members-filter-sidebar h5 {
    margin-top: 10px;
    margin-bottom: 5px;
}

.members-filter-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.members-filter-sidebar li {
    margin-bottom: 5px;
}

#members-filter-form .members-search-wrap{position:relative;}

#members-filter-form .members-search-wrap button{
	position:absolute;
	right:0;
	top:0;
}

#members-filter-form  .filter-list input{margin-top:-3px}

#members-filter-form label{
	font-weight:400;
	display:block;
}

#members-filter-form li{
	list-style:none;
	margin-left:unset;
	font-size:.9em;
}

#members-filter-form .sub-filter-list{margin-left:10px;}

#members-filter-form .post-count{font-size:12px;}

/* Active filters wrapper */
.active-filters {
    margin-bottom: 1em;
    font-weight: bold;
}

/* Heading above filters */
.active-filters-heading {
    margin-bottom: 6px;
}

/* Each filter tag */
.active-filter-tag {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 3px 8px;
    background: #eee;
    border-radius: 3px;
    cursor: pointer;
    font-weight: normal;
    transition: background 0.2s ease;
}

.active-filter-tag:hover {
    background: #ddd;
}

/* The little × inside tags */
.active-filter-tag .remove {
    margin-left: 6px;
    font-weight: bold;
}

/* Loading state */
.loading {
    font-size: 4em;
    text-align: center;
    width: 100%;
}

/* No results */
.no-results {
    width: 100%;
    text-align: center;
}

/* WCPA */
body .wcpa_form_outer { margin-bottom: 0; }