


/***  UNIVERSAL STYLES  ***/

.profile {position: relative;}

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

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



/***  COLUMN STYLES  ***/

.profile-cols .profile-box {
	position: relative;
	display: block;
	overflow: hidden;
	text-align: center;
}

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

.profile-cols .profile-toggle-button, 
.profile-cols .profile-toggle-button:hover, 
.profile-cols .profile-link, 
.profile-cols .profile-link:hover {
	color: inherit;
	text-decoration: none;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
}

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

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

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

/* Profile Close Button */

.profile-close-button-wrap {
	position: absolute;
	top: 10px;
	right: 10px;
}

.profile-close-button {
	border: none;
	background: transparent;
	line-height: 1em;
	padding: 0.5em;
	color: var(--wp--custom--dark--3, #898989);
}

.profile-close-button [class*="fa"] {
	color: inherit;
	transition: all 0ms ease;
}



/***  SINGLE COLUMN STYLES  ***/

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

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

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


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

.profile-full-expand .profile-full {
	position: relative;
	z-index: 1;
	display: block;
	max-height: 0;
	overflow: hidden;
	visibility: hidden;
}

.profile-full-expand .profile.active .profile-full {
	max-height: 10000px;
	visibility: visible;
	transition: max-height 2s ease-in;
}

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

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

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

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

/* Bio Full Sizing */

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

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

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

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

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

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

}

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

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

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

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

}

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

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

}



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

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

.profile-full-overlay .profile-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 750ms ease;
}

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

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

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

.profile-full-overlay .profile.active .profile-full {
	height: auto;
	overflow: auto;
	visibility: visible;
	opacity: 1;
}

.profile-full-overlay .profile-full .profile-full-inner {
	display: flex;
	flex-wrap: wrap;
}

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

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

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

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

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



/***  profile LIST  ***/

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

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



/***  DEPARTMENT SELECT  ***/

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



/***  SINGLE PAGE  ***/

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

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

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

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

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

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

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


