/*Single eiendom page 
-------------------------------------------- */
.item-map {
	margin-right: 200px;
	
}
.item-page {
	padding-bottom: 80px;
}
.single-item-title {
	font-size: 20px;
	color: #525759;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 25px 0px 35px 0px;
}
.item-images {
	width: 40%;
	float: left;
}
.item-content {
	width: 55%;
	float: right;
}
.item-description {
	width: 60%;
	float: left;
	font-size: 16px;
	color: #525759;
	font-weight: 300;
	line-height: 22px;
}
.item-description p {
	margin-bottom: 20px;
}
.item-description .gallery {
	font-size: 15px;
	color: #c22534;
	font-weight: 300;
}
.item-description .gallery span,
.item-description .gallery img {
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: middle;
} 
.item-description .gallery span {
	margin-right: 8px;
}
.single-item { position: relative; }
.item-details {
	max-width: 35%;
	float: right;
	font-size: 16px;
	color: #717779;
	font-weight: 300;
	line-height: 22px;
	position: absolute;
	right: 0;
	top: 0;
	margin-right: -30px;
}
.item-details strong {
	font-weight: bold;
}
.item-details p {
	margin-bottom: 10px;
}
.single-item-image {
	width: 100%;
	min-height: 200px;
	margin-bottom: 10px;
	overflow:hidden;
}
.single-item-image img {
	width: 100%;
	height: auto;
	position: relative;
}
.single-item-gallery .image {
	width: 32%;
	margin-right: 2%;
	margin-bottom: 10px;
	float: left;
	cursor: pointer;
	overflow: hidden;
	height: 100px;
}
.single-item-gallery .image img {
	position: relative;
	vertical-align: top;
	width: 100%;
}	
.image {
	margin-bottom: 2px;
}	
.single-item-gallery .image:nth-child(3n){
	margin-right: 0px;	
}
.team-list {
	padding-top: 20px;
	padding-bottom: 60px;
}
.activemember { padding-top: 40px; display: none; }
.member {
	float: left;
	width: 20%;
	margin-left: 2%;
	text-align: center;
	color: #525957;
	font-size: 15px;
	line-height: 20px;
	margin-top: 10px;
}
.member:first-child {
	margin-left: 0;
}
.member img {
	border-radius: 50%;

}
.team-list a:hover {
	color: #c22534;
}
.item-details a:hover {
	color: #c22534;
}
.member b {
	color: #c22534;
	border-bottom: 1px solid #c22534;
	display: block;
	padding: 25px 25px 10px;
	font-size: 16px;
	line-height: 22px;
	text-transform: uppercase;
	font-weight: normal;
	*min-height: 69px;
}
.member strong {
	padding-bottom: 10px;
	display: inline-block;
	font-size: 15px;
}
.member span {
	font-size: 14px;
}
@media screen and (min-width: 860px) and (max-width: 1100px) {
	.member {
		width: 23.5%;
		margin-left: 2%; 
		margin-top: 30px; 
	}
	.member:nth-child(5n+1) {
		margin-left: 0;
	}

}
@media screen and (min-width: 760px) and (max-width: 860px) {
	.member {
		width: 32%;
		margin-left: 2%;
		margin-top: 30px; 
	}
	.member:nth-child(4n+1) {
		margin-left: 0;
	}

}
@media screen and (max-width: 800px) {
	.item {
		width: 48%;
		margin-right: 4%;
	}
	.item:nth-child(2n) {
		margin-right: 0px;	
	}
	.item-title {
		font-size: 18px;
	}
	.item-images {
		float: none;
		width: 100%;
	}
	.item-content {
		float: none;
		width: 100%;
	}
	.item-page {
		padding-bottom: 50px;
	}

}
@media screen and (max-width: 760px){
	.team-list {
		margin-right: 0px;
	}
	.activemember.show-on-mobile {
		display: block;
	}
	.activemember.show-on-mobile span {
		line-height: 20px;
	}
	.activemember.show-on-mobile.hidden { display: none; }
	
.activemember {
	text-align: center;
	font-size: 15px;
	line-height: 25px;
	clear: both;
}	
.activemember img {
	border-radius: 50%;
	width: 70%
}
.activemember b {
	color: #c22534;
	border-bottom: 1px solid #c22534;
	display: block;
	padding: 25px 10px 10px;
	font-size: 16px;
	line-height: 20px;
	text-transform: uppercase;
	font-weight: normal;
}
.activemember strong {
	padding-bottom: 10px;
	display: inline-block;
	font-size: 16px;
}
	
	.member {
		margin: 15px 0;
		width: 30%;
		margin-left: 5%;
	}
	.member:nth-child(3n+1) {
		margin-left: 0;
	}
	.member.active  b {
		font-weight: bold;
	}
	.member  b {
		padding: 0;
		font-size: 12px;
		line-height: 16px;
		border: none;
		min-height: 46px;
	}
	.member strong, .member span {
		display: none;
	}
	
	.activemember {
		color: #717779;
	}
	.item-details {
		margin-right: 0;
	}

	.item-page {
		overflow: hidden;
		padding-bottom: 0px;
	}
	.item-map {
		background-color: #edeeee;
		margin: 0 -6%;
		overflow: hidden;
		padding: 0px;
		width: 112%;
		position: static;
	} 
	.item-details {
		position: static;
		max-width: 112%;
		width: 100%;
		margin: 0 -6%;
		padding: 15px 6% 15px 6%;
		background-color: #edeeee;
		overflow: hidden;
	}
	.item-details strong {
		font-size: 16px;
	}
	.item-details p:nth-child(2) br{
		display: inline;
		clear: none;
		white-space: nowrap;
	}
	.item-details p:nth-child(2) br:after{
		white-space: nowrap;
		clear: none;
		content: " ";
	}
	.item-details .column {
		width: 100%;
		float: left;
	}
	.item-details .column:nth-child(1n) {
		margin-right: 5%;
	}
	.item-details .column:nth-child(2n) {
		margin-left: 5%;
		margin-right: 0;
	}
}
@media screen and (max-width: 480px){
	.member {
		width: 45%;
		margin-left: 10%;
	}
	.member b {
		font-size: 14px;
		line-height: 18px;
	}
	.activemember b {
		font-size: 18px;
	}
	.member:nth-child(3n+1) {
		margin-left: 10%;
	}

	.member:nth-child(2n+1) {
		margin-left: 0;
	}

	
	.item {
		margin-bottom: 10px;
	}
	.page-title {
		padding: 15px 0px 30px 0px;
	}
	.item-title {
		float: none;
	}
	.item-links {
		float: none;
		text-align: left;
		margin-top: 10px;
	}

	.single-item-title {
		padding: 15px 0px 25px 0px;
	}
	.single-item-gallery .image {
		width: 49%;
		height: 70px;
	}
	.single-item-gallery .image:nth-child(3n){
		margin-right: 2%;	
	}
	.single-item-gallery .image:nth-child(2n){
		margin-right: 0px;	
	}
	.single-item-image {
		min-height: 0;
	}
}