/* AGENTURUNTERSEITE */

#agentur-team h2{
	text-align: center;
}

#agentur-team .team-item{
	max-width: 325px;
  width: 100%;
	height: 325px;
	overflow: hidden;
	position: relative;
	text-align: left;
	margin: 0px 0px 25px 0px;
	background-size: cover;
	background-position: center;
}

#agentur-team .team-item.orange a{
	background-color: #ff7a00;
	max-width: 325px;
	width: 100%;
	height: 325px;
	display: flex;
	align-items: center;
	color: #fff;
	text-transform: uppercase;
	font-size: 30px;
	line-height: 38px;
	text-align: center;
	padding: 30px;
	box-sizing: border-box;
	transition: background-color 0.3s ease-in;
}

#agentur-team .team-item.orange a:hover,
#agentur-team .team-item.orange.hovered a{
  background-color: #165678;
  transition: background-color 0.3s ease-in;
}

#agentur-team .team-item:hover .team-desc,
#agentur-team .team-item.hovered .team-desc{
	bottom: 0;
}

#agentur-team .team-item .team-desc{
	background-color: rgba(255,122,0,0.8);
	position: absolute;
	bottom: -72px;
	left: 0;
	right: 0;
	color: #fff;
	padding: 6px 12px;
	transition: bottom 300ms ease-in-out;
}

#agentur-team .team-item .team-desc .team-name,
#agentur-team .team-item .team-desc .team-title{
	display: block;
}

#agentur-team .team-item .team-desc .team-name{
	font-weight: bold;
}

#agentur-team .team-item .team-desc .team-title{
	font-size: 16px;
}

#agentur-team .team-item .team-desc .team-mail{
	position: absolute;
	right: 12px;
	top: 4px;
}

#agentur-team .team-item .team-desc .team-mail img{
	width: 30px;
}

#agentur-team .team-item .team-name a{
	color: #fff !important;
	text-decoration: none;
}

@media(max-width: 980px){
	#agentur-team .team-item{
		width: 100%;
	}
}

@media(max-width: 768px){
  #agentur-team .team-item{
  	max-width: 300px;
		height: 300px;
    margin: 0 auto;
  }
  
	#agentur-team .span4{
		float: none;
		width: 100%;
    margin-bottom: 25px;
	}
}