/**
 *---------------------------------------------------------
 * Research group leaders and associates stylesheet
 * -> Used on the group leaders list, group associates list and indv page.
 *---------------------------------------------------------
 * Author: Bri Ward, Kris Kelly
 * Date: May 2014
 */

.research-group-person {
	background:#f2f2f2;
	margin-bottom:1em;
}
	#main-content .research-group-person .left img,
	#main-content .group-leader .left img,
	#main-content .group-associate .left img {
		width:100%;
		max-width:252px;
		height:auto;
	}
	.group-profile-box .field-name-ds-user-picture{
		margin-bottom:0;
	}
	.research-group-person .right {
		padding:20px 0 20px 0;
	}


		#main-content .field-name-full-name-person-contact h2,
		#main-content .group-leader h2,
		#main-content .view-research-group-associate-researcher h2,
		#main-content .research-group-person h2
		{
			background: none;
			padding: 0;
			margin-bottom: 0.5em;
		}
		.research-group-person .member-group-position {
			font-size:1.25em;
			font-size:1.25rem;
			margin-bottom:20px;
		}

.node-section-listing div.research-group-person {
	margin-bottom:30px;
}
.node-section-listing div.associated-group a,
.node-section-listing div.associated-group a {
	text-decoration:none;
	font-size:1.25em;
	font-size:1.25rem;
}

div.research-group-person .member-position {
	line-height: 1.5em;
	margin-bottom: 0.75em;
}

.node-type-contact .field-name-field-telephone,
.node-type-contact .field-name-field-fax,
.node-type-contact .field-name-field-email-address,
.node-type-facility .field-name-field-telephone,
.node-type-facility .field-name-field-email-address,
div.user-profile .field-name-field-telephone,
div.user-profile .field-name-field-email-address,
div.research-group-person .telephone,
div.research-group-person .email,
div.user-profile .field-name-field-telephone .field-item,
div.user-profile .views-field-mail .field-item,
div.user-profile .field-name-field-email-address .field-item,
div.research-group-person .email {
	display: inline-block;
	margin-bottom: 0.5em;
	margin-right: 1em;
}
.node-type-contact #sidebar-first > .section .pure-u-1 .field-name-field-telephone,
.node-type-contact #sidebar-first > .section .pure-u-1 .field-name-field-fax,
.node-type-contact #sidebar-first > .section .pure-u-1 .field-name-field-email-address,
div.user-profile .field-name-field-telephone,
div.user-profile .field-name-field-email-address .field-item,
.views-field-mail {
	margin-bottom: 0;
}
.node-type-contact .field-name-field-telephone .field-item:before,
.node-type-contact .field-name-field-fax .field-item:before,
.node-type-contact .field-name-field-email-address .field-item:before,
.node-type-facility .field-name-field-telephone .field-item:before,
.node-type-facility .field-name-field-email-address .field-item:before,
div.research-group-person .telephone:before,
div.research-group-person .email:before,
div.user-profile .field-name-field-telephone .field-item:before,
div.research-group-person .email:before,
div.user-profile .field-name-field-email-address .field-item:before,
div.user-profile .views-field-mail .field-content:before {
	background-color: #616161;
	border-radius: 50%;
	color: #FFFFFF;
	display: inline-block;
	font-family: 'Lato',sans-serif;
	font-size: 0.75em;
	height: 16px;
	padding: 4px;
	text-align: center;
	width: 16px;
	margin-right: 3px;
}

.node-type-contact .field-name-field-telephone .field-item:before,
.node-type-contact .field-name-field-fax .field-item:before,
div.user-profile .field-name-field-telephone .field-item:before,
div.user-profile .field-name-field-email-address .field-item:before,
div.user-profile .views-field-mail .field-content:before {
	margin-right: 6px;
}
.node-type-contact .field-name-field-telephone .field-item:before,
.node-type-facility .field-name-field-telephone .field-item:before,
div.user-profile .field-name-field-telephone .field-item:before,
div.research-group-person .telephone:before {
	content: "T";
}
.node-type-contact .field-name-field-fax .field-item:before{
	content: "F";
}

.node-type-contact .field-name-field-email-address .field-item:before,
.node-type-facility .field-name-field-email-address .field-item:before,
div.user-profile .field-name-field-email-address .field-item:before,
div.user-profile .views-field-mail .field-content:before,
div.research-group-person .email:before {
	content: "E";
}
div.user-profile .views-field-mail a,
div.research-group-person .email a {
	word-wrap: break-word;
}
@media screen and (min-width: 35.5em) {/* small or larger */

	.research-group-person .right,
	.group-leader .right {
		padding:10px 0 10px 20px;
	}

}
.group-contact .group-right h3{
    margin:0;
}

