#teampage {
  background-image: none;
  background-color: transparent;
}

/**************************
GRID WITH FILTERS
**************************/
/*LOADER & FEATHERLIGHT*/
body.im_team_page #loader {
	position: relative;
	width: 100%;
	display: block;
}

body.im_team_page #loader img {
	text-align: center;
}

body.im_team_page #pagination-btns {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%);
}

body.im_team_page .featherlight-loading { display: none !important; }
body.im_team_page .featherlight .featherlight-content {
    width: 85vw;
    height: 85vh;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
}

/*FILTERS*/
.filter-container{}
#drop-city {
  margin-bottom: .75rem;
/* 	display:flex; */
	display:none;
	width: 100%;
	flex-direction:column;
	gap:10px;
}

@media (min-width: 40em){
	#drop-city {
		flex-direction: row;
	}
}

#drop-city label {
	flex:1;
	cursor: pointer;
	border: none;
	position: relative;
	height: 60px;
	width: auto;
	display:flex;
	text-align:center;
	justify-content:center;
	align-items:center;
	background-color: var(--primary);
	padding: .75rem;
	font-family: var(--sans);
	line-height: 1;
	font-size: 1.25rem;
	text-transform: uppercase;
	transition: opacity 0.4s ease, transform 0.4s ease;
	margin-bottom: .5rem;
}
#drop-city label:hover {
  box-shadow: none;
  background-color: var(--secondary);
}
#drop-city label:active {
  background-color: var(--dark);
}
#drop-city label:first-child {
  margin-left: 0;
}
#drop-city label:last-child {
  margin-right: 0;
}

#drop-city label.on{
	background-color: var(--secondary);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
#drop-city label input {
  display: none;
}
#drop-city label input+span {
  color: #fff;
/*   display: inline-block; */
	display:none;
  position: relative;
} 
#next-step {
	opacity: 1 !important;
	display: block;
 
}
#next-step #stylistSort {
  text-align: center;
  margin: 0 auto .75rem;
  padding:0;
	display:grid;
	grid-template-columns: repeat(2, 1fr); 
  	grid-auto-rows: minmax(30px, auto); 
  	gap: 5px;
  transition: all 0.25s ease-in-out;
}

@media (min-width: 40em){
	#next-step #stylistSort {
		grid-template-columns: repeat(4, 1fr); 
  	grid-auto-rows: minmax(30px, auto); 
	}
}

@media (min-width: 64em){
	#next-step #stylistSort {
		grid-template-columns: repeat(5, 1fr); 
  	grid-auto-rows: minmax(40px, auto); 
		gap: 10px;
	}
}


#next-step #stylistSort label.on{
	transition: opacity 0.4s ease, transform 0.4s ease;
}

#next-step #stylistSort .skill-type{
/* 	height: 50px; */
}
#next-step #stylistSort .skill-type:hover label, #next-step #stylistSort .skill-type:hover label.on{
	background-color: var(--secondary);
}
#next-step #stylistSort  label {
  cursor: pointer;
  font-weight: 300;
/*   letter-spacing: 2px; */
  font-size: .7rem;
	width: 100%;
	height: 100%;
	background-color: var(--primary);
	color: var(--bg-body);
	line-height: 1;
	text-transform: uppercase;
	display:flex;
	align-items:center;
	justify-content:center;
	padding: 4px;
}
#next-step #stylistSort label.on{
	background-color: var(--secondary);
}

@media (min-width: 64em){
	#next-step #stylistSort  label {
  		font-size: .8rem;
		padding: 8px;
	}
}
#next-step #stylistSort label input {
  display: none;
}

/* 
#next-step label.specialty {
  color: #555;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.6rem;
  text-align: center;
  cursor: pointer;
}
#next-step label.specialty input {
  visibility: hidden;
  display: inline;
  font-size: 1rem;
}
#next-step label.specialty input:before {
  font-family: FontAwesome;
  content: '\f111';
  visibility: visible;
  color: #999;
  transition: all 0.25s ease-in-out;
}
#next-step label.specialty input:checked:before {
  font-family: FontAwesome;
  content: '\f058';
  visibility: visible;
  color:var(--dark);
} */

#last-step {
  position: relative;
  display: none;
}
#last-step {
	opacity:0;
}
#last-step .drop-experience {
  text-align: center;
  list-style: none;
  
}
#last-step .drop-experience div {
  display: inline-block;
  padding: 10px;
}
#last-step .drop-experience div label {
  cursor: pointer;
  background-color: var(--primary);
  padding: .25rem 1rem;
  max-height: 30px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#last-step .drop-experience div label.active, #last-step .drop-experience div label:hover {
  color: #fff;
  background-color: var(--dark);
}
#last-step .drop-experience div label input {
  display: none;
}

#last-step .drop-experience div label.on{
	background-color: var(--secondary);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
#displayTeam {
/*   display: none; */
/* 	display:block; */
}

#theteam {
	margin-top: 50px;
	margin-bottom: 150px;
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
}
@media screen and (min-width: 40em) {
  #theteam {
	  grid-template-columns: repeat(3, 1fr);
	  gap:20px;
	  
  }
}
@media screen and (min-width: 64em) {
  #theteam {
	  
  }
}
@media screen and (max-width: 63.9375em) {
  #theteam {
    margin-top: 30px;
  }
}

/* FILTERS PAGINATION BTNS */
#teampage #displayTeam #pagination-btns .page-btn {
	background-color: transparent;
	border: 1px solid var(--primary);
	border: none;
	color: var(--primary);
	padding: 0.25rem 0.5rem;
	font-size: 1.25rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

#teampage #displayTeam #pagination-btns .page-btn.current-page {
	background-color: transparent;
/* 	border: 1px solid var(--primary); */
	color: var(--dark);
}

#teampage #displayTeam #pagination-btns .page-btn:hover {
	background-color: var(--secondary);
	color: #fff !important;
}

#teampage #displayTeam #pagination-btns .page-btn.current-page:hover {
	color: var(--light);
	border: 1px solid transparent;
}


/************************
SIMPLE TWO-COLUMN LAYOUT
*************************/
#teampage-simple .team_member{ 
	padding-top: 0;
}
#teampage-simple .team_member .team_img{}
#teampage-simple .team_member .team_info{}
#teampage-simple .team_member .team_bio{
	padding-top: 1rem;
}


@media (min-width: 40em){
	#teampage-simple {
		display:grid;
		min-height: 0;  
  		min-width: 0;   
		
	} 
	#teampage-simple .team_member{ 
		display:grid;
		grid-template-columns: 30% 70%;
  		column-gap: 1rem;
		padding-bottom: .5rem;
		margin-bottom: 2rem;
		border-bottom: 1px solid var(--primary);
		 min-height: 0; 
		overflow: hidden;  
  		min-width: 0;     
 	} 
	#teampage-simple .team_member:last-child{ 
	border-bottom: 0;
 } 
}

/*********************
STANDARD GRID
*********************/
#teampage-standard-grid { 
   padding: 30px 0; 
	 display:grid; 
	 grid-template-columns:100%;
 } 

#teampage-standard-grid .team_member {
  	padding-bottom: 40px;
	width: 100%;
}
@media (min-width: 40em){
	#teampage-standard-grid {
		grid-template-columns: repeat(3, 1fr);
  		column-gap: 20px;
	} 
	#teampage-standard-grid .team_member {
  		padding-bottom: 20px;
		width: 100%;
	}
}

/*********************
ALL LAYOUTS
*********************/
.team_img {
   	width: 100%;
	aspect-ratio: 1 / 1.3;
  	background-position: center center;
  	background-repeat: no-repeat;
  	background-size: cover;
	margin-bottom: 1rem;
}
.team_info{
/* 	padding: 0 .5rem 1.25rem; */
	margin-bottom: 2rem;
}
body:not(.home) main h3.team_name, h3.team_name {
	line-height: 1.1;
	font-family: var(--sans);
	color: var(--primary);
	font-size: 1.4rem;
	margin-bottom: .25rem;
	font-weight: bold;
}
body:not(.home) main h4.team_title, h4.team_title{
	font-size: 1.1rem;
	text-transform: uppercase;
	margin-bottom: 0;
	line-height: 1.3;
	color: var(--secondary);
	font-family: var(--sans);
}
.team_img{
	position:relative;
}
.mask{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
	z-index: 2;
	transition: all 0.3s ease-in-out;
	transition: all 0.25s linear;
}
.team_img:hover .mask{
	background-color: rgba(0, 0, 0, .5);
	transition: all 0.25s linear;
}
/*specificity to override global css if needed*/
main .team_member a.button.instagram_button, main .team_member a.button.instagram_button:visited, a.button.instagram_button, a.button.instagram_button:visited{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: .5rem;
	background-color: var(--primary);
	z-index: 3;
	font-size: .7rem;
	display:flex;
	justify-content:center;
	align-items:center;
	border-radius: 0 !important;
	color: #fff;
}
main .team_member a.button.instagram_button:focus, a.button.instagram_button:focus{
	background-color: var(--secondary);
}
@media (min-width: 64em){
	main .team_member a.button.instagram_button:hover, main .team_member a.button.instagram_button:focus, a.button.instagram_button:hover, a.button.instagram_button:focus{
		background-color: var(--secondary);
	}
	body:not(.home) main h3.team_name, h3.team_name{
		font-size: 1.3rem;
	}
}
main .team_member a.button.instagram_button i{
	margin-right: 3px;
}


/*********************
BIOS
*********************/

/*DBC ONLY*/
body.people-template-default #top-bar{ 
	background-color: rgb(100, 100, 100, 1) !important;
/* 	opacity: 1; */
}

.team-buttons{
	display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: .5fr .5fr;    
    gap: 10px; 
    width: 100%; 
	margin-bottom: 1.5rem;
	padding-top: .75rem;
}

.team-buttons a.button, .team-buttons a.button:visited, a.button.team-btn, a.button.team-btn:visited{
	background-color: var(--primary);
	padding: .5rem 1.25rem;
	line-height: 1;
	font-size: 1rem;
	color: #fff;
	display:block;
	padding:.5rem;
	text-align:center;
	text-transform:uppercase;	

}

.team-buttons a.button:hover, a.button.team-btn:hover{
	background-color: var(--secondary)
}
 #team-member.dbc-bio {
	height: unset !important;
}

#team-member.dbc-bio #bio{
	width: 100% !important;
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 200px;
}
@media (min-width:64em){
	padding-top: 300px;
}

/******END DBC SPECIFIC STYLES**********/

 #team-member {/*for popup carousel*/
	height: 100vh;
}

#bio{
	padding: 1rem;
}
#bio .team-pic {
	padding: 0;
	margin-bottom: 1.5rem;
}

#bio .team-pic img {
	width: 100%;
	height: auto;
/* 	max-width: 400px; */
}
#bio #bioinfo{
	position: relative;
}
#bio #bioinfo h2{/*name*/
	margin-bottom: .75rem;
	font-family: gotham, sans-serif;
	color: var(--primary);
	font-size: 1.5rem;
	line-height: 1.1;
	text-transform: uppercase;
	font-weight: 500 !important;
	
}
#bio #bioinfo h3{/*title*/
	margin-bottom: .75rem;
	font-family: gotham, sans-serif;
	color: var(--secondary);
	font-size: 1.1rem;
	line-height: 1.1;
	text-transform: uppercase;
	font-weight: 500 !important;
	
}
#bio #bioinfo h4{/*location*/
	margin-bottom: .75rem;
	font-family: var(--sans);
	color: var(--dark);
	font-size: 1rem;
	line-height: 1.1;
	
	
}
#bio #bioinfo p.button-container{
	margin-bottom: .75rem;
	padding-top: .25rem;
}
/*All of the buttons*/
/*Instagram team page*/
a.button.instagram_btn, a.button.instagram_btn:visited{
	background-color: var(--primary);
	padding: .5rem 1.25rem;
	line-height: 1;
	font-size: .9rem;
	color: #fff;
	display:block;
	width: fit-content;
}


a.button.instagram_btn:focus, .team-buttons a.button:focus{
	background-color: var(--secondary);
	
}
/*Instagram dbc*/
a.button.instagram_btn.dbc_btn{
	background-color: transparent;
	font-size: 2.5rem;
	position: absolute;
	top: 0;
	right: 0;
}
a.button.instagram_btn.dbc_btn, a.button.instagram_btn.dbc_btn:visited{
		color: var(--primary);
}
a.button.instagram_btn.dbc_btn:focus{
	color: var(--primary);
}

/*End buttons*/

.team-bio{
	padding: 1rem 0;
}
.team-bio p{
	line-height: 1.6;
}

@media (min-width: 40em){
	#team-member #bio{
		display:grid;
		grid-template-columns: 1fr 2fr;
		gap: 20px;
		width: 90%;
		margin: 3rem auto;
	}
}
@media (min-width: 64em){
	#bio{
		display:grid;
		grid-template-columns: 1fr 2fr;
		gap: 20px;
		width: 70%;
		margin: 3rem auto;
	}
	a.button.instagram_btn:hover, .team-buttons a.button:hover{
		background-color: var(--secondary);
	}
	a.button.instagram_btn.dbc_btn:hover{
		background-color: transparent;
		color:var(--secondary);
	}
}
@media (min-width: 1500px){
	#bio{
		display:grid;
		grid-template-columns: 1fr 2fr;
		gap: 20px;
		width: 60%;
		margin: 3rem auto;
	
	}
}

/*************************************
FANCYBOX LOADING ANIMATION OVERRIDE
*************************************/
@-webkit-keyframes rotating {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/* !important overrides/fixes Foundation's keyframes.scss interference */
.fancybox-loading {
  -webkit-animation: rotating 2s linear infinite !important;
  -moz-animation: rotating 2s linear infinite !important;
  -ms-animation: rotating 2s linear infinite !important;
  -o-animation: rotating 2s linear infinite !important;
  animation: rotating 0.75s linear infinite !important;
}

/*
   　　　 ／＞　 フ
　　　　　| 　_　 _|
　 　　　／`ミ _x 彡
　　 　 /　　　 　 |
　　　 /　 ヽ　　 ﾉ
　／￣|　　 |　|　|
　| (￣ヽ＿_ヽ_)_)
　＼二つ
*/