/**
 * @file
 * Node Styling
 *
 * Style anything that isn't in the $content variable.
 */
article .field-image {
  float: left;
  margin-right: 10px;
}
article .field-body img {
  width: auto!important;
}

#content {
  /* Page content node */
}
#content article {
  /*Image with a caption */
  /*No Caption */
}
#content article.field-body {
  font-family: 'runda', Helvetica, Verdana, sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 200;
  line-height: 22px;
  line-height: 2.2rem;
}
.front #content article.field-body {
  font-family: 'runda', Helvetica, Verdana, sans-serif;
  font-size: 22px;
  font-size: 2.2rem;
  font-weight: 200;
  line-height: 26px;
  line-height: 2.6rem;
}
#content article .caption {
  margin: 10px 15px;
  height: auto;
  width: auto;
  max-width: 100%;
}
#content article .caption p {
  color: #003;
  font-size: 11px;
  font-size: 1.1rem;
  line-height: 16px;
  line-height: 1.6rem;
  margin: 0;
}
#content article .caption img {
  margin: 0 0 2px 0;
}
#content article img {
  margin: 10px;
}
#content article .right {
	margin: 10px 0 5px 15px;
	float: right;
}
#content article .left {
	margin: 10px 15px 5px 0;
	float: left;
}
#content article .image-left {
	float: left;
	margin: 10px 15px 5px 0;
}

#content article .image-right {
	float: right;
	margin: 10px 0 5px 15px;
}


/* People Node --- */
body.node-type-person h1.title {
	margin-bottom: 5px;
}
body.node-type-person .field-suffix {
	font-size: 21px;
	font-size: 2.1rem;
	line-height: 25px;
	line-height: 2.5rem;
	text-transform: uppercase;
	margin-bottom: 10px;
}
body.node-type-person .field-title,
body.node-type-person .field-department {
  display: block;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 20px;
  line-height: 2rem;
}
body.node-type-person #content article .field-person-img img {
	margin: 0 0 10px;
}
body.node-type-person .contact {
  margin: 0 0 15px 15px;
  float: right;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 15px;
  line-height: 1.5rem;
}
body.node-type-person .contact .email,
body.node-type-person .contact .fax,
body.node-type-person .contact .phone {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 20px;
	line-height: 2rem;
}
body.node-type-person .node {
	margin-top: 40px;
}
body.node-type-person .node div {
	margin-bottom: 20px;
}
body.node-type-person .node div p {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 20px;
	line-height: 2rem;
}
body.node-type-person .field-label {
	font-size: 26px;
	font-size: 2.6rem;
	line-height: 32px;
	line-height: 3.2rem;
	padding: 0;
}
body.node-type-person .node .field-education,
body.node-type-person .node .field-professional-experience {
	overflow: auto;
	margin-bottom: 8px;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 20px;
	line-height: 2rem;
}
body.node-type-person .node .field-professional-experience {
	margin-bottom: 15px;
}
body.node-type-person .field-education .field-degree:after,
body.node-type-person .field-professional-experience .field-time-period:after {
	content: " -";
	margin-right: 4px;
}
body.node-type-person .node .field-education .field-degree,
body.node-type-person .node .field-education .field-school,
body.node-type-person .node .field-professional-experience .field-exp-start-year,
body.node-type-person .node .field-professional-experience .field-exp-end-year,
body.node-type-person .node .field-professional-experience .field-position {
	float: left;
	margin-bottom: 0;
}
body.node-type-person .node .field-professional-experience .field-exp-start-year:after {
	content: "-";
	margin-right: 4px;
}
body.node-type-person .node .field-professional-experience .field-exp-end-year:after {
	content: "-";
	margin-left: 2px;
	margin-right: 6px;
}
body.node-type-person .node .field-education + .field-label,
body.node-type-person .node .field-professional-experience + .field-label {
	margin-top: 20px;
}

/* Publication & Research Node --- */
body.node-type-publication .field-publication-image, body.node-type-publication .field-research-img, body.node-type-research .field-publication-image, body.node-type-research .field-research-img {
  float: right;
}

/* Photo Gallery Node --- */
body.node-type-photo-gallery .field-gallery-image {
  display: inline-block;
}

/* Event Node --- */
body.node-type-event .field-date {
  font-weight: bold;
}
body.node-type-event .field-series-of-events {
  background: #b1d1f0;
  color: #333333;
  padding: 10px 10px 2px;
  margin: 0 0 10px 0;
}
body.node-type-event .field-series-of-events h5 {
  color: #fff;
  background: #72aae3;
  text-transform: uppercase;
  font-family: verdana, sans-serif!important;
  padding: 10px!important;
  margin: -10px -10px 10px -10px !important;
}

/* Landing pages */
.node-type-landing-page #content .node p,
.node-type-landing-page #content .node li {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 20px;
	line-height: 2rem;
	font-weight: 300;
}
.node-type-landing-page #content .field-section-overview {
  clear: both;
  min-height: 100px;
  margin-bottom: 30px;
}
.node-type-landing-page #content .field-section-overview:first-of-type {
	margin-top: 40px;
}
.node-type-landing-page #content .field-section-overview .field-section-title {
	padding: 0;
}
.node-type-landing-page #content .field-section-overview .field-section-image {
	width: 25%;
  float: left;
}
.node-type-landing-page #content .field-section-overview .field-section-image img {
  margin: 0!important;
}
.node-type-landing-page #content .field-section-overview .field-group-div {
  margin-left: 0;
}
.node-type-landing-page #content .has-image .field-group-div {
	margin-left: 27.5%;
}
.node-type-landing-page #content .field-section-overview .field-group-div .field-overview-description {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 20px;
	line-height: 2rem;
	font-weight: 300;
}
.node-type-landing-page #content .field-section-overview .field-group-format .field-section-title {
  margin: 0 0 10px 0!important;
}
.node-type-landing-page #content .field-section-overview .field-group-format p:last-child {
  margin: 0 0 25px 0!important;
}

/* Unpublished Nodes --- */
.node-unpublished {
  /* Unpublished nodes */
  /* background-color: #fff4f4; */
  /* Drupal core uses a #fff4f4 background */
}
.node-unpublished p.unpublished {
  /* The word "Unpublished" displayed underneath the content. */
  height: 0;
  overflow: visible;
  color: #d8d8d8;
  font-size: 75px;
  line-height: 1;
  font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  word-wrap: break-word;
}
.lt-ie8 .node-unpublished p.unpublished > * {
  position: relative;
}


@media
only screen and (max-width : 610px),
only screen and (max-width : 610px) and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (max-width : 610px) and (min-device-pixel-ratio : 1.5),
only screen and (max-width : 610px) and (-webkit-min-device-pixel-ratio : 2),
only screen and (max-width : 610px) and (min-device-pixel-ratio : 2) {

	body.node-type-person .contact {
		width: 100%;
		margin: 0 0 20px 0;
	}
}


@media
only screen and (max-width : 480px),
only screen and (max-width : 480px) and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (max-width : 480px) and (min-device-pixel-ratio : 1.5),
only screen and (max-width : 480px) and (-webkit-min-device-pixel-ratio : 2),
only screen and (max-width : 480px) and (min-device-pixel-ratio : 2) {
	
	#content article .caption {
		margin: 10px 15px;
		height: auto !important;
		width: auto !important;
		max-width: 100%;
	}
	#content article .caption p {
		color: #003;
		font-size: 11px;
		font-size: 1.1rem;
		margin: 0 0 10px 0;
	}
	#content article .caption img {
		margin: 0 0 -2px 0;
	}
	#content article img {
		margin: 10px;
	}
	#content article .right {
		margin-right: 0;
		margin-left: 0;
	}
	#content article .left {
		margin-left: 0;
		margin-right: 0;
	}
}


@media
only screen and (max-width : 375px),
only screen and (max-width : 375px) and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (max-width : 375px) and (min-device-pixel-ratio : 1.5),
only screen and (max-width : 375px) and (-webkit-min-device-pixel-ratio : 2),
only screen and (max-width : 375px) and (min-device-pixel-ratio : 2) {

	.node-type-landing-page #content .field-section-overview .field-section-image {
		width: 33%;
		margin-bottom: 5px;
	}

	.node-type-landing-page #content .has-image .field-group-div {
		margin-left: 36%;
	}
}