#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;
	width: 100%;
	flex-direction:column;
	gap:10px;
}

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

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

#drop-city label.on span{
	background-color: var(--secondary);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
#drop-city label input {
  display: none;
}
#drop-city label input+span {
  display: block;
  position: relative;
}
#drop-city label img{
	width: 100%;
	height: auto;
	display:block;
	transition: all 0.3s ease-in-out;
/* 	margin-bottom: 1rem; */
}
@media (max-width: 39.9375em){
	#drop-city label img{ display:none }
}
.loc-container{width: 100%;}
.loc-container label.hide img {
/*    opacity: 0; */
    pointer-events: none;

/* 	height: 0 !important; */
	animation-fill-mode: forwards;
    animation-name: fadeOutUp;
	animation-duration: 1s;
}
@keyframes fadeOutUp {
  from {height: auto;opacity:1;}
  to {height:0;opacity:0;}
}
#next-step {
  display: none;
	opacity: 0;
	transition: opacity 0.5s ease;
}
#next-step #stylistSort {
  text-align: center;
  margin: 0 auto .75rem;
  padding:0;
	display:flex;
	gap:10px;
  text-align: center;
  vertical-align: top;
  transition: all 0.25s ease-in-out;
	padding: 0 2rem;
/* 	border-bottom: 1px solid var(--primary); */
}
#next-step #stylistSort label.on{
	border-bottom: 1px solid var(--primary);
	transition: opacity 0.4s ease, transform 0.4s ease;
}


#next-step #stylistSort .skill-type{
	justify-content:center;
	align-items:center;
	flex:1;
	height: 40px;
}
#next-step #stylistSort .skill-type:hover label{
	color: #ccc;
}
#next-step #stylistSort  label {
  cursor: pointer;
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 1rem;
	width: 100%;
	height: 100%;
	color: var(--primary);
	line-height: 1;
	text-transform: uppercase;
}
#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; */
	margin-top: -1rem;
}

#theteam {
	margin-top: 0;
	margin-bottom: 30px;
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
}
@media screen and (min-width: 40em) {
  #theteam {
	  grid-template-columns: repeat(2, 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: var(--primary);
	border: none;
	color: var(--light);
	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);
}

#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{
	text-align: center;
/* 	padding: 0 .5rem 1.25rem; */
}
body:not(.home) main h3.team_name, h3.team_name {
	line-height: 1.1;
	font-family: var(--sans);
	color: #000;
	font-size: 1.4rem;
	margin-bottom: 0;
	font-weight: 400 !important;
	text-align:center;
}
body:not(.home) main h4.team_title, h4.team_title{
	font-size: 1.1rem;
	text-transform: none;
	margin-bottom: 0;
	line-height: 1.3;
	color: #000;
	font-family: var(--sans);
	text-align:center;
	font-weight: 300;
	margin-bottom: 1.5rem;
	letter-spacing: 2px;
}
.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.25s linear;
}
.team_img:hover .mask{
	background-color: rgba(0, 0, 0, .5);
	transition: all 0.25s linear;
}

/* Instagram link below name/title (inline SVG, no Font Awesome dependency) */
body:not(.home) main .team_info:has(.team_ig) h4.team_title,
.team_info:has(.team_ig) h4.team_title {
	margin-bottom: .5rem;
}
a.team_ig,
a.team_ig:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: auto;
	min-height: 36px;
	margin-bottom: 1.5rem;
	color: #000;
	background: none;
	border: 0;
	padding: 0;
	font-family: var(--sans);
	font-size: .95rem;
	font-weight: 300;
	letter-spacing: 1px;
	line-height: 1;
	text-decoration: none;
	transition: color .2s ease;
}
a.team_ig .team_ig_handle {
	overflow-wrap: anywhere;
}
a.team_ig:hover,
a.team_ig:focus-visible {
	color: var(--secondary);
}
.team_ig_icon {
	display: block;
	width: 20px;
	height: 20px;
}

@media (min-width: 64em){
	body:not(.home) main h3.team_name, h3.team_name{
		font-size: 1.3rem;
	}
}


/*********************
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(--secondary);
	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){
	#team-member.dbc-bio #bio{
		padding-top: 300px;
	}
}

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

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

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

#bio .team-pic img {
	width: 100%;
	height: auto;
/* 	max-width: 400px; */
}
#bio #bioinfo{
	position: relative;
}
#bio #bioinfo h2{/*name*/
	margin-bottom: .25rem;
	font-family: var(--sans);
	color: #000;
	font-size: 2rem;
	line-height: 1.1;
	letter-spacing: 4px;
	padding-top: 1rem;
	font-weight: 300 !important;

}
#bio #bioinfo h3{/*title*/
	margin-bottom: 0;
	font-family: var(--sans);
	color: #000;
	font-size: 1.25rem;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 300 !important;


}
#bio #bioinfo .button.booking{
    margin: 2.3rem 0 1rem 0 !important;
}
#bio #bioinfo h4{/*location*/
	margin-bottom: 0;
	font-family: var(--sans);
	color: #000;
	font-size: 1rem;
	line-height: 1rem;
	text-transform:none;
	padding-top: .5rem;


}
#bio #bioinfo p.button-container{
	margin-bottom: .75rem;
	/* padding-top: 2.25rem; */
}
/* Instagram + Book Now buttons intentionally share the theme's default .button styling (see im-teampage/view/single.php) -- no per-class color/background overrides here anymore. */
#bio h4.team_loc{
	display:none;
}
/*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;
	margin: 1rem 0;
}

@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){
	 #team-member {/*for popup carousel*/
		height: 75vh;
		 max-width: 1200px;
	}
	#bio{
		display:grid;
		grid-template-columns: 1fr 2fr;
		gap: 20px;
		width: 70%;
		max-width: 700px;
		margin: 6rem 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;
}

/*********************
FULL SINGLE PAGE (non-popup) TEAM MEMBER VIEW
Used by view/single.php now that it renders inside the theme's own
content-wrapper/max-w-300 page shell instead of a bare popup iframe.
Cancels the old popup-only sizing hacks above (100vh height, the
.dbc-bio width/max-width/padding-top block) since the theme's own
container already constrains width + spacing.
*********************/
#team-member.team-single{
	height:auto;
}
#team-member.team-single #bio{
	width:100%;
	max-width:none;
	margin:0;
	padding-top:0;
}

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