.profile,

.profile-title,

.profile-photo
{
	float:left;
	clear:both;
	overflow:hidden;
	width:100%;
	height:auto;
	margin-top:0;
}

.profile-image img
{
	margin-bottom:1.5em;
}

.profile-title
{
	position:relative;
}

.wrap
{
	padding:2em;
}

.profile-sidebar,

.profile-content
{
	border-radius:.5em;
}

.clearfix:after
{
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}

/* ---------------------------------- */
body.node-type-ou-profile p,
body.node-type-profile p
{
	margin:0 0 1.5em;
}
p.big-text
{
	font-size: 1.5em;
}

body.node-type-ou-profile h1,
body.node-type-profile h1
{
	border-bottom:none;
	background-image:none;
	padding-left:.6em;
}

body.node-type-ou-profile h2,
body.node-type-profile h2
{
	font-family:Arial,
 Helvetica,
 sans-serif;
	margin-top:0;
}

a.profile-button
{
	display:inline-block;
	padding:.5em 1.5em;
	border-radius:.5em;
	background-color:#D93600;
	text-decoration:none;
	color:#fff;
	font-weight:700;
	text-align:center;
	position:relative;
	float:right;
	top:1.5em;
	right:2em;
	background-image:linear-gradient(bottom,
#D936000%,
#E16035100%);
	background-image:0;
	background-image:0;
	background-image:0;
	background-image:0;
	background-image:0 color-stop(1,
#E16035) );
}

a.profile-button:hover
{
	background-color:#D93600;
	color:#fff;
	background-image:none;
}

#ou-region1 form
{
	margin-bottom:1em;
}

div.profile-sidebar ul
{
	margin:0;
	padding:0;
}

div.profile-sidebar ul li
{
	margin:0;
	padding:0;
	list-style-type:none;
}

div.profile-sidebar.second-box
{
	margin-top:1em;
}

div.profile-sidebar ul.profile-text-links
{
	margin:0;
}

div.profile-sidebar ul.profile-text-links li a
{
	text-decoration:none;
	display:block;
	padding:.8em;
	font-weight:700;
}

div#ou-region1 .profile-photo img
{
	max-width:none;
	width:100%;
}

/* iconage */
.icons
{
	width:100%;
	float:left;
	margin:0 0 1.5em;
	padding:0;
}

div.profile-sidebar .icons ul li
{
	float:left;
	width:32px;
	height:32px;
	text-indent:-999em;
	background-position:top left;
	background-repeat:no-repeat;
	display:block;
	margin:0 5px 5px 0;
	opacity:.8;
}

div.profile-sidebar .icons ul li:hover
{
	opacity:1;
}

.icons ul li a
{
	display:block;
	width:32px;
	height:32px;
}

.icons ul li.fb,
.icons ul li.
{
	background-image:url(gui/icon-fb.png);
}

.icons ul li.twitter,
.icons ul li.twitter
{
	background-image:url(gui/icon-twitter.png);
}

.icons ul li.blog,
.icons ul li.field_oup_blog
{
	background-image:url(gui/icon-blogger.png);
}

.icons ul li.slideshare,
.icons ul li.field_oup_slideshare
{
	background-image:url(gui/icon-slideshare.png);
}

.icons ul li.linkedin,
.icons ul li.field_oup_linkedin
{
	background-image:url(gui/icon-linkedin.png);
}

.icons ul li.flickr,
.icons ul li.field_oup_flickr
{
	background-image:url(gui/icon-flickr.png);
}

/**/
div#ou-org-footer
{
	padding-top:1em;
}

div.profile-summary
{
	margin:1em 0;
}

div.profile-sidebar h2
{
	display:none;
}

.chunk
{
	margin-bottom:1.5em;
}

body.light .chunk:last-child,
body.dark .chunk:last-child
{
	border-bottom:none;
	margin-bottom:0;
}

body.node-type-ou-profile div#ou-page,
body.node-type-ou-profile div#ou-region1,
body.node-type-profile div#ou-page,
body.node-type-profile div#ou-region1
{
	padding:0;
	box-shadow:none;
}

/* ---------------------------------- */
/* Light profile theme */
body.light h1,
body.light h2,
body.light h3,

{
	color:#000;
}

body.light div#ou-page,
body.light div#ou-region1
{
	background-color:#eee;
	background-repeat:no-repeat;
}

body.light .profile-title
{
	background-color:#fff;
}

body.light .profile-content,
body.light .profile-sidebar
{
	background-color:#fff;
}

body.light .profile-content
{
	opacity:.8;
}

/*let bg image show through slightly*/
body.light .chunk
{
	border-bottom:1px solid #eee;
}

body.light div.profile-sidebar ul.profile-text-links li a
{
	border-top:1px solid #eee;
}

body.light div.profile-sidebar ul.profile-text-links li.first a
{
	border-top:0;
}

body.light img.dark
{
	display:none;
}

/* Dark profile theme */
body.dark div#ou-page
{
	border-color:#000;
}

body.dark div#ou-region1 ul.ou-sections a
{
	background-color:#222;
	background-image:none;
}

body.dark div#ou-region1 ul.ou-sections a.ou-selected
{
	background-color:#444;
	background-image:none;
}

body.dark div#ou-region1 ul.ou-sections.tabs
{
	background-color:transparent;
	border-bottom:1px solid #444;
}

body.dark div.ou-binder
{
	background-color:transparent;
	border:none;
}

body.dark .tab-content th
{
	color:#000;
}

body.dark div#ou-page,
body.dark div#ou-region1
{
	background-color:#222;
	color:#ccc;
	background-repeat:no-repeat;
}

body.dark .profile-title
{
	background-color:#000;
	background-image:linear-gradient(bottom,
#0000%,
#222100%);
	background-image:0;
	background-image:0;
	background-image:0;
	background-image:0;
	background-image:0 color-stop(1,
#222) );
}

body.dark .profile-content,
body.dark .profile-sidebar
{
	background-color:#333;
}

body.dark .profile-content
{
	opacity:.7;
}

/*let bg image show through slightly*/
body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark div.profile a
{
	color:#fff;
}

body.dark div.profile a:hover
{
	color:#999;
}

body.dark ul.ou-sections li a.ou-selected
{
	background-color:#222;
	color:#fff;
	border-color:#222;
}

body.dark ul.ou-sections li a.ou-selected:hover
{
	background-color:#222;
	border-color:#222;
}

body.dark .chunk
{
	border-bottom:1px solid #444;
}

body.dark div.profile-sidebar ul.profile-text-links li a
{
	border-top:1px solid #444;
}

body.dark div.profile-sidebar ul.profile-text-links li.first a
{
	border-top:0;
}

body.dark img.light
{
	display:none;
}

/* 2 COLS,
 Content left */
body.p2cl .profile-sidebar
{
	width:30%;
	float:right;
	clear:right;
}

body.p2cl .profile-content
{
	width:65%;
	float:left;
}

body.p2cl.light div#ou-region1
{
	background-image:url(gui/bg-light-cl.png);
	background-position:bottom right;
}

body.p2cl.dark div#ou-region1
{
	background-image:url(gui/bg-dark-cl.png);
	background-position:bottom right;
}

/* 2 COLS,
 Content right */
body.p2cr .profile-sidebar
{
	width:30%;
	float:left;
	clear:left;
}

body.p2cr .profile-content
{
	width:65%;
	float:right;
}

body.p2cr.light div#ou-region1
{
	background-image:url(gui/bg-light-cr.png);
	background-position:bottom left;
}

body.p2cr.dark div#ou-region1
{
	background-image:url(gui/bg-dark-cr.png);
	background-position:bottom left;
}

/* Cover photo */
body.photo .profile-photo
{
	display:block;
}

/*input#edit-profile-submit {
	bottom: 5px;
	position: fixed;
	right: 5px;
	z-index: 1000;
	padding: 50px;
	left: 90%;

	background-image: url(/includes/ouice/constant-shade.png);
	background-position: center bottom;
	background-repeat: repeat-x;
	background-color: #BBD8E7;

	font-weight: bolder;

}*/
input#edit-profile-submit
{
	bottom:5px;
	position:fixed;
	right:5px;
	z-index:1000;
	padding:50px;
	left:90%;
/*display: inline-block;*/
/*padding: 0.5em 1.5em;*/
	border-radius:.5em;
	background-color:#D93600;
	text-decoration:none;
	color:#FFF;
	font-weight:700;
	text-align:center;
/*position: absolute;*/
/*top: 1.5em;
right: 2em;*/
	background-image:linear-gradient(bottom,
#D936000%,
#E16035100%);
	background-image:0;
	background-image:0;
	background-image:0;
	background-image:0;
	background-image:0 color-stop(1,
#E16035) );
}

fieldset legend
{
	width:90%;
}

fieldset.header-radios
{
	background-color:#eee;
	padding:1em;
	text-align:left;
	margin-bottom:1em;
}

fieldset.header-radios legend
{
	float:left;
}

fieldset.header-radios .form-item.form-type-radio
{
	clear:both;
	float:left;
	width:100%;
}

fieldset.header-radios legend
{
	width:99%;
}

fieldset.header-radios p
{
	margin:0;
}

.fieldset-legend
{
	font-size:1.5em;
}

.fieldset-legend a:hover
{
	text-decoration:none;
}

.filter-guidelines
{
	display:none;
	visibility:hidden;
}

div.profile-photo img
{
/*float: right;
margin-left: 1em;
border: 1px solid #ADD0E1;
padding: 0.5em;
margin-bottom: 1em;*/
}

/* The A to Z block */
div.ouprofile_people_az ul.AtoZ
{
	background-color:#FFF;
	border:1px solid #A9A9A9;
	display:block;
	margin:0;
	padding:.25em;
	text-align:center;
	width:99%;
}

div.ouprofile_people_az ul.AtoZ li
{
	background-image:none;
	display:inline;
	padding:.25em;
}

div.ouprofile_people_az ul.AtoZ li a
{
	background-image:none;
	display:inline;
	padding:.25em;
	background-color:#FFF;
	border-color:none;
	border-style:none;
	border-width:0;
}

div.ouprofile_people_az ul.ouprofile_names li a
{
	display:inline;
	background-color:#FFF;
	background-image:none;
	border-color:none;
	border-style:none;
	border-width:0;
	padding:0 1em 0 0;
}

div.ouprofile_people_az ul.ouprofile_names li
{
	display:block;
	padding:0 0 0 1em;
}

div.ouprofile_people_az a.to-top
{
	float:right;
	display:inline-block;
	padding:.5em;
}

div.ouprofile_people_az
{
	padding-bottom:3em;
}

.odd
{
	background-color:#BBD8E7;
	padding:.2em;
}

.even
{
	padding:.2em;
}

.form-item
{
	margin-left:.2em;
	margin-right:.2em;
}

.node-profile
{
	position:relative;
}

/* turn primary nav tab black if dark is selected as one of the layout options */
body.dark ul.ou-sections li.myprofile a
{
	background-color:#222;
	color:#FFF;
	border-color:#222;
}

a.ou-profile-pims-link
{
	color:#fff;
	margin:.5em;
	padding:.5em;
	background-color:#900;
	text-decoration:none;
}

a.ou-profile-pims-link:hover
{
	color:#fff;
	text-decoration:underline;
}

/* Editing options */
.form-item
{
	margin-left:.2em;
	margin-right:.2em;
}

.form-item label
{
	padding-left:5px!important;
}

.form-radios
{
	padding:2px 10px!important;
}

.form-type-radio
{
	margin-left:1em;
}

.form-radios:first-child .form-type-radio
{
	margin-left:0;
}

.ou-field > .field-type-node-reference
{
	clear:both;
	float:right;
	width:100%;
}

fieldset .fieldset-wrapper
{
	padding: 0 !important;
}

fieldset .fieldset-wrapper .fieldset-wrapper {
  padding: 0 13px 13px 15px !important;
}

.field-group-div
{
	background-color:#f3f3f3;
	border: 1px solid #ccc;
	display:block;
	float:left;
	margin-bottom:1em;
	padding: 1%;
	width:99%;
}

/*Field privacy settings*/
.ou-field > .field-type-node-reference .form-item.form-type-radios
{
	margin-top:0;
	padding-top:0;
}

.ou-field > .field-type-node-reference .form-item.form-type-radios > label
{
	display:none;
	Visibility:hidden;
}

/* RPS data table */
.profile_research_groups
{
	clear:both;
	display:block;
}

.form-textarea-wrapper
{
	padding-top:25px!important;
}

.form-type-textarea
{
	background-color:#f3f3f3;
}

.form-item
{
	margin-bottom:0!important;
	padding-bottom:0!important;
}

/* List formatting */
.ou-content div.item-list
{
	background:#F1F1F1;
	padding:1em;
	overflow:auto;
	margin:1em 0 1.5em;
}

#ou-region1 .ou-content ul.AtoZ,
#ou-region1 .ou-content ul.AtoZ li
{
	display:inline;
	list-style:none;
	background-image:none;
	padding:0;
}

#ou-region1 .ou-content ul.AtoZ li
{
	display:inline;
	background-image:none;
	padding:.25em;
	margin:0;
	font-size:1.3em;
	text-decoration:none;
	padding:5px;
	float:left;
	display:inline-block;
	border-radius:3px;
}

#ou-region1 .ou-content ul.AtoZ li a:hover
{
	background-color:#fff;
}

#ou-region1 .ou-content ul.AtoZ li a.active
{
	background-color:#C40D3C;
	color:#FFF;
	border-radius:3px;
}

.content .list-items
{
	padding:0 0 0 30px;
}

#ou-region1 .ou-content .list-items .to-top
{
	float:right;
	display:inline-block;
	padding:0 30px 0 0;
}

.view-filters form
{
	margin-left:20px;
}

h2.ou_profile_faculty_heading
{
	margin-left:30px;
}

h3.ou_profile_dept_heading
{
	margin-left:60px;
}

.cdontent ul.ou_profile_names li a
{
	display:inline;
	background-image:none;
	border-color:none;
	border-style:none;
	border-width:0;
	padding:0 1em 0 0;
}

.content ul.ou_profile_names li
{
	display:block;
	padding:0 0 0 1em;
}

/*TABS*/
html.js div.ou-binder div.tab-content
{
	display:none;
	visibility:hidden;
}

html.js div.ou-binder div.tab-content.selected
{
	display:block;
	visibility:visible;
}

div.tab-content
{
	margin-top:1.5em;
}

/* Hide quick links for desktop view */
div.profile-menu,
p.profile-menu-link
{
	display:none;
}

/*Publications TAB*/
html.js .profile-content .pub-link:hover
{
	text-decoration:underline;
	cursor:pointer;
}

html.js body.light .profile-content .pub-link .toggle
{
	background-image:url(gui/ui-icons_222222_256x240.png);
}

html.js body.dark .profile-content .pub-link .toggle
{
	background-image:url(gui/ui-icons_ffffff_256x240.png);
}

html.js .profile-content .pub-link .toggle
{
	background-position:0 -192px;
	background-repeat:no-repeat;
	display:inline-block;
	margin-right:3px;
	height:16px;
	width:16px;
}

html.js .profile-content .pub-link.selected .toggle
{
	background-position:-16px -192px;
}

html.js .profile-content .pub-content
{
	display:none;
}

html.js .profile-content .pub-content.selected
{
	display:inline;
}

/*
	MOBILE CSS
*/
@media screen and (max-width: 40em) {
	body
	{
		font-size:1em;
		font-family:Helvetica, Arial, sans-serif;
	}

	div#ou-page,
	div.ou-content
	{
		padding:0;
	}

	.profile-content
	{
		width:100%;
		float:left;
		clear:both;
	}

	a.profile-button
	{
		font-size:.9em;
		padding:.4em 1.2em;
	}

	body.p2cl .profile-content,
	body.p2cr .profile-content,
	body.p2cl .profile-sidebar,
	body.p2cr .profile-sidebar
	{
		width:100%;
		float:left;
		clear:both;
	}

	.profile-content
	{
		margin:0;
	}

	.profile-sidebar
	{
		margin:0 0 1.5em;
	}

	p#ou-site-title
	{
		display:none;
	}

	h1
	{
		font-size:1.4em;
		margin:.8em 0;
		text-align:left;
		color:#000;
	}

	h2,h3,h4,h5,h6
	{
		font-size:1em;
	}

	h2
	{
		font-size: 1.5em;
		margin-bottom: 1em;
	}

	p
	{
		margin-top:.3em;
	}

	ul.ou-sections
	{
		border-radius:0;
		border-top-left-radius:.3em;
		border-top-right-radius:.3em;
		padding:0 0 .3em .3em;
		font-size:.8em;
	}

	ul.ou-sections li
	{
		padding:0;
		margin:0;
	}

	ul.ou-sections li a
	{
		padding:.4em .4em .3em;
		margin:.3em 0 0;
	}

	div#ou-site
	{
		margin-bottom:.5em;
	}

	div.profile-image
	{
		padding:.5em 0;
		width:100%;
		margin:0;
	}

	div.profile-image img
	{
		display:block;
		margin:1em auto;
		max-width:100%;
		float:none;
		clear:both;
	}

	.profile-title
	{
		float:left;
		clear:both;
		width:100%;
	}

	div.profile-sidebar .icons ul li
	{
		margin:0 10px 10px 0;
	}

	/* light */
	body.light div.profile-image
	{
		background-color:#eee;
	}

	body.light div.profile-menu ul li a
	{
		background-color:#fff;
	}

	/* dark */
	body.dark div.profile-image
	{
		background-color:#383838;
	}

	body.dark div.profile-menu ul li a
	{
		background-color:#444;
	}

	div.profile-menu,
	p.profile-menu-link
	{
		display:block;
	}

	div.profile-menu
	{
		float:left;
		clear:both;
		width:100%;
		margin:0;
	}

	div.profile-menu ul
	{
		margin:1em 0;
		padding:0;
		list-style:none;
	}

	div.profile-menu ul li
	{
		display:inline;
		list-style:none;
		margin:0;
	}

	div.profile-menu ul li a
	{
		display:inline-block;
		padding:.3em .5em;
		text-decoration:none;
		border-radius:.5em;
		margin:0 .5em .5em 0;
	}

	/*TABS*/
	div.tab-content.tab1
	{
		margin-top:0;
	}

	div.profile-content ul.ou-sections.tabs
	{
		display:none;
		visibility:hidden;
	}

	html.js div.ou-binder div.tab-content
	{
		display:block;
		visibility:visible;
	}

	.profile_research_groups > table,
	.profile_research_projects > table
	{
		font-size:.75em;
	}

	.profile_research_groups th:first-child
	{
		width:50%;
	}

	/*TABLES*/
	.profile_research_projects tr
	{
		border:0;
		display:block;
		float:left;
		width:48%;
	}

	.profile_research_projects tr.ams_desc
	{
		width:90%;
	}

	.profile_research_projects td,
	.profile_research_projects th
	{
		border:0;
		background-color:transparent;
		clear:both;
		display:block;
		float:left;
		width:100%;
	}

	body.dark .profile_research_projects th
	{
		color:#ccc;
	}
}