#teampage {
  background-image: none;
  background-color: transparent;
}
#teampage .medium-12 {
  padding-top: 0;
}

/*********************
FANCY LAYOUT
*********************/

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

form#teamfilter #drop-city {
  margin-bottom: 20px;
}
form#teamfilter #drop-city label {
  cursor: pointer;
  border: none;
  position: relative;
}
 form#teamfilter #drop-city label {
  cursor: pointer;
      text-align: center;
    display: block;
    /*width: 48%;*/
    max-width: 600px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    padding: 1rem;
    background: #8abbc5;
    background-image: linear-gradient(45deg,  rgba(138,187,197,1) 0%,rgba(91,161,207,1) 11%,rgba(91,161,207,1) 19%,rgba(35,48,80,1) 33%,rgba(91,161,207,1) 53%,rgba(151,199,229,1) 62%,rgba(91,161,207,1) 75%,rgba(91,161,207,1) 84%,rgba(35,48,80,1) 99%);
    background-size: 300% 100%;
    transition: background 1s ease-in-out;
    color: #fff;
    border-left: 0;
    position: relative;
    overflow: hidden;
}
form#teamfilter #drop-city label:hover{
        background-position: 100% 0;
		moz-transition: all .4s ease-in-out;
		-o-transition: all .4s ease-in-out;
		-webkit-transition: all .4s ease-in-out;
		transition: all .4s ease-in-out;
		color: white;
}

form#teamfilter #drop-city label:hover {
  box-shadow: none;
}
form#teamfilter #drop-city label.on {
  background: #5ba1cf;
}
form#teamfilter #drop-city label:first-child {
  margin-left: 0;
}
form#teamfilter #drop-city label:last-child {
  margin-right: 0;
}
form#teamfilter #drop-city label input {
  display: none;
}
form#teamfilter #drop-city label input+span {
  color: #fff;
  display: inline-block;
  position: relative;
}
form#teamfilter #next-step {
  display: none;
}
form#teamfilter #next-step ul#stylistSort {
  text-align: center;
  margin: 0 auto;
  display: table;
  padding-bottom: 10px;
}
form#teamfilter #next-step ul#stylistSort li {
  display: inline-block;
  text-align: center;
  margin: 10px 20px;
  vertical-align: top;
  transition: all 0.25s ease-in-out;
}
form#teamfilter #next-step ul#stylistSort li.on {
  border-top: 2px solid #555;
  margin-top: 8px;
}
form#teamfilter #next-step ul#stylistSort li h5 {
  color: #323232;
}
form#teamfilter #next-step ul#stylistSort li label {
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 1rem;
}
form#teamfilter #next-step ul#stylistSort li label input {
  display: none;
}
form#teamfilter #next-step label.specialty {
  color: #555;
  text-shadow: 0 1px 0 #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.6rem;
  text-align: center;
  cursor: pointer;
}
form#teamfilter #next-step label.specialty input {
  visibility: hidden;
  display: inline;
  font-size: 1rem;
}
form#teamfilter #next-step label.specialty input:before {
  font-family: FontAwesome;
  content: '\f111';
  visibility: visible;
  color: #999;
  transition: all 0.25s ease-in-out;
}
form#teamfilter #next-step label.specialty input:checked:before {
  font-family: FontAwesome;
  content: '\f058';
  visibility: visible;
  color: #555;
}
form#teamfilter #last-step {
  position: relative;
  border-top: 1px solid #999;
  display: none;
}
form#teamfilter #last-step.on {
  display: block;
}
form#teamfilter #last-step .drop-experience {
  text-align: center;
  list-style: none;
  padding-top: 20px;
}
form#teamfilter #last-step .drop-experience li {
  display: inline-block;
  padding: 10px;
}
form#teamfilter #last-step .drop-experience li label {
  cursor: pointer;
  background-color: #999;
  border-radius: 5px;
  padding: 5px 7px;
  max-height: 30px;
  color: #555;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.6rem;
  transition: all 0.25s ease-in-out;
}
form#teamfilter #last-step .drop-experience li label.active, form#teamfilter #last-step .drop-experience li label:hover {
  color: #fff;
  background-color: #555;
}
form#teamfilter #last-step .drop-experience li label input {
  display: none;
}
#displayTeam {
  display: none;
}
h6#noitems {
  display: none;
}
h6#noitems.on {
  display: block;
  text-align: center;
  width: 60%;
  margin: 0 auto;
}
#theteam {
  margin-top: 50px;
  margin-bottom: 150px;
}
@media screen and (max-width: 63.9375em) {
  #theteam {
    margin-top: 80px;
  }
}
#theteam .team_member {
  margin-bottom: 30px;
}
#theteam .team_member .team_wrap {
  padding: 0;
}
#theteam .team_member .team_wrap .team_img {
  margin-bottom: 0;
  width: 100%;
  max-height: 330px;
	max-width: 340px;
  height: 330px;
  background-repeat: no-repeat;
  background-position: left 50% top;
  background-size: cover;
}
#theteam .team_member .team_wrap .team_img:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
#theteam .team_member .team_wrap .team_info {
  font-size: 0.9rem;
  line-height: 1rem;
  color: #555;
  padding: 10px 20px 10px 0;
  height: 105px;
}
#theteam .team_member .team_wrap .team_info span {
  margin-bottom: 5px;
  font-weight: bold;
  letter-spacing: 2px;
}
#bioinfo > h1{
    margin-top: 0;
}
#theteam .team_member .team_wrap .team_info h4, #bioinfo > h3 {
font-size: 1.15rem!important;
    color: #000 !important;
    font-weight: 700!important;
    letter-spacing: 0!important;
    margin-bottom: 0.3rem;
    line-height: 1;
    font-family: futura-pt,proxima-nova,sans-serif;
    text-transform: uppercase;
}
#theteam .team_member .team_wrap .team_info h5 {
  color: #000;
  font-size: 1rem;
  letter-spacing: normal;
  font-weight: 400;
  line-height: 1.3;
}

#bioinfo > p{
    color: #000;
    font-size: 1.1rem!important;
    line-height: 1.4;
    font-weight: 400;
    font-family: proxima-nova,sans-serif;
}

@media screen and (max-width: 63.9375em) {
  #theteam .team_member .team_wrap .team_info h4 {
    font-size: 1.15rem!important;
    color: #000 !important;
    font-weight: 700!important;
    letter-spacing: 0!important;
    margin-bottom: 0.3rem;
    line-height: 1;
    font-family: futura-pt,proxima-nova,sans-serif;
    text-transform: uppercase;
  }
  #theteam .team_member .team_wrap .team_info h5 {
    font-size: 1rem;
    line-height: 1.3;
  }
  
}
@media screen and (max-width: 39.9375em) {
  #theteam .team_member .team_wrap .team_info h4, #bioinfo > h3 {
    font-size: 1.2rem;
  }
  #theteam .team_member .team_wrap .team_img {
      max-height: 340px;
      height: 340px;
  }
  #bioinfo > h3{
      font-size: 1rem;
  }
}
#theteam .team_member .team_wrap .team_info span {
  text-transform: uppercase;
}
#bioinfo > a, #bioinfo > a:visited{
	color: white;
	font-size: 1rem;
	text-transform: uppercase;
	font-family: futura-pt,proxima-nova,sans-serif;
	border: 0;
	background-color: #a2d6b9;
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	-ms-transition: 0.5s ease-in-out;
	-o-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
	text-transform: uppercase;
	font-size: 1.1rem;
	padding: 1rem 1.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

#bioinfo > a:active, #bioinfo > a:hover{
	color: white;
	background-color: #5ba1cf;
	padding: 1.2rem 1.75rem;
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	-ms-transition: 0.5s ease-in-out;
	-o-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}

/*********************
MODEST LAYOUT
*********************/

#teampage-modest .team_member {
  display: inline-block;
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
  clear: both;
}
#teampage-modest .team_member:last-child {
  border-bottom: none;
}
#teampage-modest .team_member .team_img {
  width: 200px;
  height: 250px;
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


/*********************
MODEST GRID LAYOUT
*********************/
#teampage-modest-grid {
  padding: 30px 0;
}
#teampage-modest-grid .team_member {
  padding-bottom: 20px;
}
#teampage-modest-grid .team_member:last-child {
  border-bottom: none;
}
#teampage-modest-grid .team_member h4 {
  margin-bottom: 0;
}
#teampage-modest-grid .team_member .team_img {
  width: 100%;
  max-width: 300px;
  height: 250px;
  margin-right: 15px;
  margin-bottom: 10px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*************************************
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;
}
