/*
 *	BNE People Frontend CSS
 *
 * 	@author		Kerry Kline
 * 	@copyright	Copyright (c) Kerry Kline
 * 	@link		http://www.bnecreative.com
 *
 *	@updated	Nov 12, 2019
*/



/* ==========================================
 *	GENERAL STYLES
 * ======================================= */

/* == Resets == */
#bne-people-wrapper * {
	box-sizing: border-box;
}

#bne-people-wrapper .single-profile {
	position: relative;
}

#bne-people-wrapper.has-modal .single-profile .modal-link { 
	cursor: pointer;
}


/* == Lock Scrolling == */
html.bne-lock, html.bne-lock body {
    height: 100%;
}

html.bne-lock body {
    overflow: hidden;
}


/* == FONTS == */
@font-face {
	font-family: 'bnepeople';
	src: url('../eot/bnepeople6e82.eot');
	src: url('../eot/bnepeople6e82.eot#iefix') format('embedded-opentype'),
		 url('../woff2/bnepeople6e82.woff2') format('woff2'),
		 url('../woff/bnepeople6e82.woff') format('woff'),
		 url('../ttf/bnepeople6e82.ttf') format('truetype'),
		 url('../svg/bnepeople6e82.svg#bnepeople') format('svg');
	font-weight: normal;
	font-style: normal;
}

#bne-people-wrapper [class^="bne-icon-"]:before,
#bne-people-wrapper [class*=" bne-icon-"]:before {
	font-family: "bnepeople";
	font-style: normal;
	font-weight: normal;
	speak: none;
	display: inline-block;
	text-decoration: inherit;
	width: auto;
	margin: 0;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
 
#bne-people-wrapper .bne-icon-left:before 		{ content: '\e800'; }
#bne-people-wrapper .bne-icon-right:before 		{ content: '\e801'; }
#bne-people-wrapper .bne-icon-close:before 		{ content: '\e802'; }

#bne-people-wrapper .bne-icon-email:before 		{ content: '\e805'; }
#bne-people-wrapper .bne-icon-phone:before 		{ content: '\e804'; }
#bne-people-wrapper .bne-icon-link:before 		{ content: '\e803'; }

#bne-people-wrapper .bne-icon-behance:before 	{ content: '\f1b4'; }
#bne-people-wrapper .bne-icon-facebook:before 	{ content: '\f09a'; }
#bne-people-wrapper .bne-icon-github:before 	{ content: '\f113'; }
#bne-people-wrapper .bne-icon-google:before 	{ content: '\f1a0'; }
#bne-people-wrapper .bne-icon-instagram:before 	{ content: '\f16d'; }
#bne-people-wrapper .bne-icon-linkedin:before 	{ content: '\f0e1'; }
#bne-people-wrapper .bne-icon-pinterest:before 	{ content: '\f231'; }
#bne-people-wrapper .bne-icon-skype:before 		{ content: '\f17e'; }
#bne-people-wrapper .bne-icon-soundcloud:before { content: '\f1be'; }
#bne-people-wrapper .bne-icon-tumblr:before 	{ content: '\f173'; }
#bne-people-wrapper .bne-icon-twitter:before 	{ content: '\f099'; }
#bne-people-wrapper .bne-icon-youtube:before 	{ content: '\f167'; }
#bne-people-wrapper .bne-icon-vimeo:before 		{ content: '\f27d'; }


/* ==========================================
 *	BNE GRID SYSTEM (v2)
 * ======================================= */
.bne-row {
	position: relative;
	margin: 0 -1%;
	padding: 0;
	width: 102%;
}

.bne-row:after {
	content: "";
	display: table;
	clear: both;
}

.bne-row [class^="col"] {
	float: left;
	margin: 1%;
	padding: 0;
	min-height: 0.125rem;
	width: 98%;
	max-width: none;
}

.bne-row.tight { margin: 0; width: 100%;  }
.bne-row.tight [class^="col"] { margin: 0; width: 100%; }

@media (min-width: 768px) {
	.bne-row .col-1 		{ width: 6.33%; }
	.bne-row .col-2 		{ width: 14.66%;}
	.bne-row .col-3 		{ width: 23%; 	}
	.bne-row .col-4 		{ width: 31.33%;}
	.bne-row .col-5 		{ width: 39.66%;}
	.bne-row .col-6 		{ width: 48%; 	}
	.bne-row .col-7 		{ width: 56.33%;}
	.bne-row .col-8 		{ width: 64.66%;}
	.bne-row .col-9 		{ width: 73%; 	}
	.bne-row .col-10 		{ width: 81.33%;}
	.bne-row .col-11 		{ width: 89.66%;}
	.bne-row .col-12 		{ width: 98%; 	}
	/* Other Columns */
	.bne-row .col-fifth 	{ width: 18%; 	}
	.bne-row .col-seventh 	{ width: 12.28%; }
	.bne-row .col-eighth 	{ width: 10.5%; }

	/* Tight */
	.bne-row.tight .col-1 		{ width: 8.33%; }
	.bne-row.tight .col-2 		{ width: 16.66%;}
	.bne-row.tight .col-3 		{ width: 25%; 	}
	.bne-row.tight .col-4 		{ width: 33.33%;}
	.bne-row.tight .col-5 		{ width: 41.66%;}
	.bne-row.tight .col-6 		{ width: 50%; 	}
	.bne-row.tight .col-7 		{ width: 58.33%;}
	.bne-row.tight .col-8 		{ width: 66.66%;}
	.bne-row.tight .col-9 		{ width: 75%; 	}
	.bne-row.tight .col-10 		{ width: 83.33%;}
	.bne-row.tight .col-11 		{ width: 91.66%;}
	.bne-row.tight .col-12 		{ width: 100%; 	}
	/* Other Columns */
	.bne-row.tight .col-fifth	{ width: 20%; 	 }
	.bne-row.tight .col-seventh { width: 14.28%; }
	.bne-row.tight .col-eighth 	{ width: 12.5%;  }


	 /* Reset each row based on the grid */
	.bne-row .col-6:nth-child(2n+3), /* 2 Column Grid, 3rd Image */
	.bne-row .col-4:nth-child(3n+4), /* 3 Column Grid, 4th Image */
	.bne-row .col-3:nth-child(4n+5), /* 4 Column Grid, 5th Image */
	.bne-row .col-fifth:nth-child(5n+6), /* 5 Column Grid, 6th Image */
	.bne-row .col-2:nth-child(6n+7),  /* 6 Column Grid, 7th Image */
	.bne-row .col-seventh:nth-child(7n+8),  /* 7 Column Grid, 8th Image */
	.bne-row .col-eighth:nth-child(8n+9)  /* 8 Column Grid, 9th Image */
	{ clear:both; }
}

/* (People only) Responsive Stack Columns 5+ Columns to 4 */
@media (min-width: 768px) and (max-width: 1024px) {
	#bne-people-wrapper .bne-row .col-fifth,
	#bne-people-wrapper .bne-row .col-2 {
	  width: 23%;
	}
	#bne-people-wrapper .bne-row.tight .col-fifth,
	#bne-people-wrapper .bne-row.tight .col-2 {
	  width: 25%;
	}

	/* Reset each row based on the grid */
	#bne-people-wrapper .bne-row .col-fifth:nth-child(4n+5),
	#bne-people-wrapper .bne-row .col-2:nth-child(4n+5) { 
		clear: both;
	}
	#bne-people-wrapper .bne-row .col-fifth:not(:nth-child(4n+5)),
	#bne-people-wrapper .bne-row .col-2:not(:nth-child(4n+5)) { 
		clear: none;
	}

}

/* (People only) Responsive Stack Columns 3+ Columns to 2 */
@media (min-width: 480px) and (max-width: 767px) {
	
	#bne-people-wrapper .bne-row .col-fifth,
	#bne-people-wrapper .bne-row .col-2,
	#bne-people-wrapper .bne-row .col-3,
	#bne-people-wrapper .bne-row .col-4,
	#bne-people-wrapper .bne-row .col-6 {
	  width: 48%;
	}

	#bne-people-wrapper .bne-row.tight .col-fifth,
	#bne-people-wrapper .bne-row.tight .col-2,
	#bne-people-wrapper .bne-row.tight .col-3,
	#bne-people-wrapper .bne-row.tight .col-4,
	#bne-people-wrapper .bne-row.tight .col-6 {
	  width: 50%;
	}

	/* Reset each row based on the grid */
	#bne-people-wrapper .bne-row .col-fifth:nth-child(2n+3),
	#bne-people-wrapper .bne-row .col-2:nth-child(2n+3),
	#bne-people-wrapper .bne-row .col-3:nth-child(2n+3),
	#bne-people-wrapper .bne-row .col-4:nth-child(2n+3),
	#bne-people-wrapper .bne-row .col-6:nth-child(2n+3) {
		clear: both;
	}

}



/* ==========================================
 *	PROFILE META
 * ======================================= */

#bne-people-wrapper .profile-meta {
	margin: 10px 0px;
}


/* == Image == */
#bne-people-wrapper .profile-image {
	position: relative;
	line-height: 1;
	overflow: hidden;
}

#bne-people-wrapper .profile-image img {
	display: block;
	padding: 0;
	margin: 0;
	height: auto;
	width: 100%;
	border: none;
	border-radius: 0px;
	line-height: 1;
	outline: none;
	-webkit-transform: none;
	        transform: none;
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
	-webkit-transition: all .3s;
	transition: all .3s;
}

#bne-people-wrapper.has-profile-link .single-profile .profile-image img:hover,
#bne-people-wrapper.has-modal .single-profile .profile-image img:hover,
#bne-people-wrapper.layout-grid_tight .single-profile:hover img {
	-webkit-transform: scale(1.1);
	        transform: scale(1.1);
	opacity: .8;
	z-index: 1;
	position: relative;
}

#bne-people-wrapper .profile-image.image-circle {
	overflow: visible;
}

#bne-people-wrapper .profile-image.image-circle img {
	border-radius: 50%;
}



/* == Name == */
#bne-people-wrapper .profile-name {
	margin: 0 0 5px 0;
	clear: none;
	color: #333;
	font-size: 24px;
	line-height: 1.2;
	text-align: left;
}
#bne-people-wrapper .profile-name a { color: inherit; }

/* == Position == */
#bne-people-wrapper .profile-position {
	margin: 0 0 5px 0;
	clear: none;
	color: #999;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.2;
	text-align: left;
	text-transform: uppercase;
}

/*== Biography == */
#bne-people-wrapper .profile-bio {
	margin: 10px 0 5px 0;
	color: #666;
	font-size: 1rem;
	text-align: left;
}

/* == Social Profiles == */
#bne-people-wrapper .profile-social {
	margin: 0 0 5px 0;
}

#bne-people-wrapper ul.social-links {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

#bne-people-wrapper ul.social-links li { 
	display: inline-block;
	margin: 0 2px 2px 0px;
	padding: 0px;
	height: 30px;
	width: 30px;
	border: 1px solid #999;
	font-size: 15px;
	line-height: 30px;
	text-align: center;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}

#bne-people-wrapper ul.social-links li:hover { border-color: rgba(0,0,0,.4); }

#bne-people-wrapper ul.social-links li.link:hover 		{ background: #999999; }
#bne-people-wrapper ul.social-links li.phone:hover 		{ background: #999999; }
#bne-people-wrapper ul.social-links li.email:hover 		{ background: #999999; }

#bne-people-wrapper ul.social-links li.behance:hover  	{ background: #1769ff; }
#bne-people-wrapper ul.social-links li.facebook:hover 	{ background: #3b5998; }
#bne-people-wrapper ul.social-links li.github:hover 	{ background: #000000; }
#bne-people-wrapper ul.social-links li.google:hover 	{ background: #df4a32; }
#bne-people-wrapper ul.social-links li.instagram:hover 	{ background: #c32aa3; }
#bne-people-wrapper ul.social-links li.linkedin:hover 	{ background: #007bb6; }
#bne-people-wrapper ul.social-links li.pinterest:hover 	{ background: #cb2027; }
#bne-people-wrapper ul.social-links li.skype:hover 		{ background: #00aff0; }
#bne-people-wrapper ul.social-links li.soundcloud:hover { background: #ff8800; }
#bne-people-wrapper ul.social-links li.tumblr:hover 	{ background: #2c4762; }
#bne-people-wrapper ul.social-links li.twitter:hover 	{ background: #00b6f1; }
#bne-people-wrapper ul.social-links li.youtube:hover 	{ background: #b31217; }
#bne-people-wrapper ul.social-links li.vimeo:hover 		{ background: #45bbff; }

#bne-people-wrapper ul.social-links li a { display: block; color: inherit; box-shadow: none; border: none; }
#bne-people-wrapper ul.social-links li:hover a { color: white; }


/* == Details == */
#bne-people-wrapper .profile-details {
	padding: 0;
	margin: 10px 0;
	list-style: none;
	color: #666;
}

#bne-people-wrapper .profile-details a { 
	color: inherit;
	box-shadow: none;
	border: none;
}

#bne-people-wrapper .profile-details a:hover {
	color: #000;
}

#bne-people-wrapper .profile-details li {
	padding: 5px 0;
	border-bottom: 1px dotted rgba(35, 35, 35, 0.2);
}

#bne-people-wrapper .profile-details span {
	min-width: 100px;
	margin-right: 6px;
	font-weight: bold;
	vertical-align: top;
}

#bne-people-wrapper .profile-details span:after {
	content: ":";
	vertical-align: top;
}

#bne-people-wrapper .profile-details span + p {
	display: inline-block;
}




/* ==========================================
 *	LAYOUT: GRID
 * ======================================= */

@media only screen and ( min-width: 767px ) {
	/* Adjust Font Sizes */
	#bne-people-wrapper.layout-grid.columns-6 .single-profile .profile-name,
	#bne-people-wrapper.layout-grid.columns-5 .single-profile .profile-name {
		font-size: 17px;
	}

	#bne-people-wrapper.layout-grid.columns-4 .single-profile .profile-name {
		font-size: 20px;
	}

	#bne-people-wrapper.layout-grid.columns-6 .single-profile .profile-position,
	#bne-people-wrapper.layout-grid.columns-5 .single-profile .profile-position {
		font-size: 10px;
	}
	
	
	#bne-people-wrapper.layout-grid.columns-4 .single-profile .profile-position {
		font-size: 12px;
	}
	
	/* Adjust Icon Sizes */
	#bne-people-wrapper.layout-grid.columns-6 .single-profile ul.social-links li { 
		height: 20px;
		width: 20px;
		line-height: 18px;
		font-size: 10px;
	}

}


/* ==========================================
 *	LAYOUT: GRID TIGHT
 * ======================================= */
 
#bne-people-wrapper.layout-grid_tight .bne-row { 
	width: 100%;
	margin: 0;
}

#bne-people-wrapper.layout-grid_tight .single-profile .profile-meta {
	position: absolute;
	margin: 0;
	padding: 0;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	background: rgba(0,0,0,.6);
	color: white;
	text-align: center;
	opacity: 0;
	overflow: hidden;
	-webkit-transform: scale(0.6);
	        transform: scale(0.6);
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
	z-index: 2;
}

#bne-people-wrapper.layout-grid_tight.image-style-circle .single-profile .profile-meta {
	border-radius: 50%;
	top: -5px;
	left: -5px;
	right: -5px;
	bottom: -5px;
	padding: 10px;
}


#bne-people-wrapper.layout-grid_tight .single-profile:hover .profile-meta {
	opacity: 1;
	-webkit-transition: all .3s ease;
	transition: all .3s ease; 
	-webkit-transform: scale(1); 
	        transform: scale(1);
}



#bne-people-wrapper.layout-grid_tight .single-profile .profile-meta-inner {
	position: absolute;
	padding: 15px;
	width: 100%;
	top: 50%;
	text-align: center;
	-webkit-transform: translateY(-50%);
	        transform: translateY(-50%);
}

#bne-people-wrapper.layout-grid_tight .single-profile .profile-name {
	font-size: 19px;
	color: white;
	text-align: center;
}

#bne-people-wrapper.layout-grid_tight .single-profile .profile-position {
	color: #ccc;
	font-size: 12px;
	text-align: center;
}


#bne-people-wrapper.layout-grid_tight .single-profile ul.social-links li { 
	display: inline-block;
	float: none;
	border-color: transparent;
}



/* ==========================================
 *	LAYOUT: LIST
 * ======================================= */
@media only screen and ( min-width: 500px ) {
	#bne-people-wrapper.layout-list .single-profile .profile-image { 
		float: left;
		margin: 0 20px 20px 0;
		max-width: 250px;
	}
	
	#bne-people-wrapper.layout-list.columns-3 .single-profile .profile-image {
		max-width: 150px;
	}
	
}

#bne-people-wrapper.layout-list .single-profile .profile-meta {
	padding: 0;
}



/* ==========================================
 *	LAYOUT: MINI
 * ======================================= */

#bne-people-wrapper.layout-mini.columns-1 .bne-row {
	width: 100%;
	margin: 0;
}


#bne-people-wrapper.layout-mini .col-12 { 
	margin: 0 0 5px 0;
}

#bne-people-wrapper.layout-mini .single-profile .profile-image {
	max-width: 65px;
	float: left;
	margin: 0 10px 10px 0px;
}

#bne-people-wrapper.layout-mini .single-profile .profile-meta { 
	margin-top: 0;
	padding: 0;
}

#bne-people-wrapper.layout-mini .single-profile .profile-name { 
	margin: 0; 
	font-size: 15px; 
}

#bne-people-wrapper.layout-mini .single-profile .profile-position { 
	margin: 0; 
	font-size: 12px; 
}

#bne-people-wrapper.layout-mini .single-profile ul.social-links li {
	height: 20px;
	width: 20px;
	font-size: 10px;
	line-height: 18px;
}




/* ===========================================================
 *	LAYOUT: TABLE
 * ======================================================== */

#bne-people-wrapper.layout-table .single-profile { 
	-webkit-transition: all .3s;
	transition: all .3s;
}

#bne-people-wrapper.layout-table.has-profile-link .single-profile:hover,
#bne-people-wrapper.layout-table.has-modal .single-profile:hover {
	background: #f9f9f9;
	box-shadow: inset 0px 0px 8px rgba(0, 0, 0, .1);
}

/* Name */ 
#bne-people-wrapper.layout-table .single-profile .profile-name {
	font-size: 16px; 
}

/* Position */
#bne-people-wrapper.layout-table .single-profile .profile-position { 
	font-size: 12px; 
}

/* Bio */
#bne-people-wrapper.layout-table .single-profile .profile-bio { 
	clear: both;
}

/* Table */
#bne-people-wrapper.layout-table .table-head { 
	display: none;
}

#bne-people-wrapper.layout-table .table-row {
	width: 100%;
	background: white;
	border-bottom: 1px solid #ddd;
	padding: 20px 0;
}


/* Continue Table layout only on tablet/desktop */
@media only screen and ( min-width: 768px ) {
	
	/* Table Rows */
	#bne-people-wrapper.layout-table .bne-row {
		width: 100%;
		margin: 0;
	}
	
	#bne-people-wrapper.layout-table .table-row {
		display: table;
		padding: 0;
	}
	
	#bne-people-wrapper.layout-table .table-head {
		display: table-row;
	}

	/* Table Columns */
	#bne-people-wrapper.layout-table .table-head .table-cell,
	#bne-people-wrapper.layout-table .single-profile .profile-meta,
	#bne-people-wrapper.layout-table .single-profile .profile-image,
	#bne-people-wrapper.layout-table .single-profile .profile-position,
	#bne-people-wrapper.layout-table .single-profile .profile-name,
	#bne-people-wrapper.layout-table .single-profile .profile-social,
	#bne-people-wrapper.layout-table .single-profile .profile-bio {
		display: table-cell;
		vertical-align: middle;
	}

	#bne-people-wrapper.layout-table .table-head .table-cell,
	#bne-people-wrapper.layout-table .single-profile .profile-image,
	#bne-people-wrapper.layout-table .single-profile .profile-position,
	#bne-people-wrapper.layout-table .single-profile .profile-name,
	#bne-people-wrapper.layout-table .single-profile .profile-social,
	#bne-people-wrapper.layout-table .single-profile .profile-bio {
		padding: 10px;
		width: 160px;
		font-family: initial;
		font-size: 13px;
		color: #666;
		text-transform: none;
	}
	
	#bne-people-wrapper.layout-table .table-head .table-cell {
		color: #999;
		font-family: initial;
		font-size: 14px;
		text-transform: uppercase;
	}
	
	#bne-people-wrapper.layout-table .table-head .table-cell:last-of-type,
	#bne-people-wrapper.layout-table .single-profile .profile-bio {
		width: auto;
	}	

	#bne-people-wrapper.layout-table .single-profile .profile-bio p:last-of-type { 
		margin-bottom: 0;
	}
	
}

/* Image */
#bne-people-wrapper.layout-table .table-head .table-head-image,
#bne-people-wrapper.layout-table .single-profile .profile-image {
	width: 75px;
}

/* Social */
#bne-people-wrapper.layout-table .single-profile ul.social-links li {
	height: 25px;
	width: 25px;
	font-size: 12px;
	line-height: 25px;
}

/* Mobile Image */
@media only screen and ( max-width: 767px ) {
	#bne-people-wrapper.layout-table .single-profile .profile-image {
		float: left;
		margin: 0 10px 10px 0px;
	}

}




/* ==========================================
	Alignments
========================================== */

/* Left (Default) */
#bne-people-wrapper.align-left .single-profile .profile-meta,
#bne-people-wrapper.align-left .single-profile .profile-name,
#bne-people-wrapper.align-left .single-profile .profile-position,
#bne-people-wrapper.align-left .single-profile .profile-bio,
#bne-people-wrapper.align-left .single-profile .social-links { 
	text-align: left;
}

#bne-people-wrapper.align-right .single-profile .social-links li {
	display: inline-block;
	float: none;
}


/* Center */
#bne-people-wrapper.align-center:not(.layout-grid_tight) .single-profile .profile-image { 
	margin: 0 auto 5px auto;
	float: none;
}

#bne-people-wrapper.align-center .single-profile .profile-meta,
#bne-people-wrapper.align-center .single-profile .profile-name,
#bne-people-wrapper.align-center .single-profile .profile-position,
#bne-people-wrapper.align-center .single-profile .profile-bio {
	text-align: center;
}

#bne-people-wrapper.align-center .single-profile .social-links li { 
	display: inline-block;
	float: none;
}

/* Right */
#bne-people-wrapper.align-right:not(.layout-grid_tight) .single-profile .profile-image { 
	margin: 0 0px 20px 20px;
	float: right;
}
#bne-people-wrapper.align-right .single-profile .profile-meta,
#bne-people-wrapper.align-right .single-profile .profile-name,
#bne-people-wrapper.align-right .single-profile .profile-position,
#bne-people-wrapper.align-right .single-profile .profile-bio,
#bne-people-wrapper.align-right .single-profile .social-links { 
	text-align: right;
}

#bne-people-wrapper.align-right .single-profile .social-links li {
	display: inline-block;
	float: none;
}



/* ==========================================
	MODALS
========================================== */

/* == Overlay == */
#bne-people-wrapper .modal-overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    opacity: 0;
    overflow: hidden;
    -webkit-transition: opacity 0.5s 0.4s, visibility 0.5s 0.4s;
    transition: opacity 0.5s 0.4s, visibility 0.5s 0.4s;
    visibility: hidden;
    z-index: 99999;
}

#bne-people-wrapper .modal-overlay.active {
    cursor: pointer;
    opacity: 1;
    -webkit-transition: opacity 0.4s, visibility 0.5s;
    transition: opacity 0.4s, visibility 0.5s;
    visibility: visible;
}


/* == Panel == */
#bne-people-wrapper .modal-single-profile {
	position: fixed;
	margin-left: auto;
	height: 100%;
	width: 100%;
	max-width: 400px;
	right: 0;
	top: 0;
	bottom: 0;
	background: #fff;
    font-size: 14px;
	-webkit-transition: all 0.6s;
	transition: all 0.6s;
	-webkit-transform: translateX(400px);
	        transform: translateX(400px);
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
	visibility: hidden;
    z-index: 999999;
}

#bne-people-wrapper .modal-single-profile.modal-left {
	left: 0;
	right: auto;
	-webkit-transform: translateX(-400px);
	        transform: translateX(-400px);
}

#bne-people-wrapper .modal-single-profile.active {
	-webkit-transform: translateX(0);
	        transform: translateX(0);
	visibility: visible;
}

#bne-people-wrapper .modal-profile-inner {
	height: 100%;
	width: 100%;
	overflow-y:scroll;
	-webkit-overflow-scrolling: touch;
}

/* ios fix */
@media (max-width:1024px) {
	#bne-people-wrapper .modal-profile-inner {
		transform: translateZ(0);
	}
}


/* == Nav == */
#bne-people-wrapper .modal-single-profile .modal-header,
#bne-people-wrapper .modal-single-profile .modal-footer {
	position: absolute;
	padding: 10px 20px;
	height: 45px;
	width: 100%;
	left: 0;
	right: 0;
	top: 0;
	background: white;
	border-bottom: 1px solid #e5e5e5;
	font-size: 20px;
	z-index: 1;
}

#bne-people-wrapper .modal-single-profile .modal-footer {
	display: none;
	position: relative;
	top: auto;
	bottom: 0;
	border-top: 1px solid #e5e5e5;
	border-bottom: none;
}
@media (max-width:1024px) {
	#bne-people-wrapper .modal-single-profile .modal-footer {
		display: block;
	}
}

/* Close Btn */
#bne-people-wrapper .modal-single-profile .modal-profile-close {
    position: relative;
    display: block;
    float: right;
    height: 25px;
    width: 25px;
    cursor: pointer;
}


#bne-people-wrapper .modal-single-profile .modal-profile-nav {
	float: left;
}

#bne-people-wrapper .modal-single-profile .modal-profile-prev,
#bne-people-wrapper .modal-single-profile .modal-profile-next {
	display: inline-block;
	margin: 0 5px;
	padding: 0;
	cursor: pointer;
}

#bne-people-wrapper .modal-single-profile .modal-profile-prev {
	margin-left: 0;
}

#bne-people-wrapper .modal-single-profile.modal-first .modal-profile-prev,
#bne-people-wrapper .modal-single-profile.modal-last .modal-profile-next { 
	visibility: hidden;
}


/* == Modal Content == */
#bne-people-wrapper .modal-single-profile .profile-content {
	position: relative;
	padding: 60px 20px 60px 20px;
}

/* Image */
#bne-people-wrapper .modal-single-profile .profile-image {
	margin-bottom: 10px;
}

/* Position */
#bne-people-wrapper .modal-single-profile .profile-position { }

/* Name */
#bne-people-wrapper .modal-single-profile .profile-name { }

/* Bio */
#bne-people-wrapper .modal-single-profile .profile-bio { }

/* Social */
#bne-people-wrapper .modal-single-profile .profile-social {
	margin-top: 20px;
}

#bne-people-wrapper .modal-single-profile ul.social-links li { 
	border-color: inherit;
}



/* ===========================================================
 *	Page Template
 * ======================================================== */

#bne-people-wrapper.bne-people-page-template .profile-image { }

#bne-people-wrapper.bne-people-page-template .profile-details {
	margin: 0;
	padding: 20px;
	background: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-top: 0;
	border-radius: 0px 0px 3px 3px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	font-size: 13px;
	list-style: none;
}

#bne-people-wrapper.bne-people-page-template .profile-details li:last-of-type {
	border: none;
}

/* ===========================================================
 *	Helper Classes / Utility
 * ======================================================== */

#bne-people-wrapper .hide { display: none; }

/* == Clear == */
#bne-people-wrapper .clear, #bne-people-wrapper .clearfix:after { content:""; display:block; clear:both; }

/* == RTL == */
body.rtl #bne-people-wrapper .modal-single-profile .profile-name,
body.rtl #bne-people-wrapper .modal-single-profile .profile-position { text-align: right; }