/* CSS for Specific Node Types */
article .field {
  margin-top: 1.5em;
}

article.node-teaser .field {
  margin-top: 0;
}

article.node-teaser div.field-name-field-home-feature-image {
  margin-bottom: 1.5em;
}

article.node-teaser footer.author {
  margin-bottom: 6px;
  margin-top: 0;
}

/* Addition for extra fields module */
article.node-teaser .node-created {
  color: #999999;
  font-size: 0.9em;
  line-height: 18px;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

article.node-teaser .field-type-text-with-summary h2,
article.node-teaser .field-type-text-with-summary h3 {
  font-size: 1em;
  font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
  line-height: 1.5em;
}

article.node-teaser .field-name-field-album-body img,
article.node-teaser .field-name-field-article-body img,
article.node-teaser .field-name-field-event-body img,
article.node-teaser .field-name-field-managed-file-text img,
article.node-teaser .field-name-field-person-body img{
  display: none;
}

.field-type-taxonomy-term-reference .field-items {
  text-align: right;
}

.field-type-taxonomy-term-reference .field-item {
  display: inline;
  padding-left: 1.5em;
}

/* 
 * Albums 
 */
.field-name-field-album-images .field-item {
  display: inline-block;
  zoom: 1;  
  *display: inline; /* IE7 Hack */
  padding: 0 5px 8px 0;
  vertical-align: top;
}

.field-name-field-album-images .field-item img {
  border: 1px solid #CCCCCC;
  display: block;
  padding: 3px;
}

.field-name-field-album-images .field-item a:hover img {
  border-color: #333;
}

.field-name-field-album-images span.field-image-caption {
  display: block;
  font-size: 0.85em;
  line-height: 1.25;
  padding-top: 4px;
}

.field-name-field-album-images a span.field-image-caption {
  color: #666;
}

.field-name-field-album-images a:hover {
  text-decoration: none;
}

.field-name-field-album-images span.field-image-caption {
    max-width: 155px;
}

article.node-teaser .field-name-field-album-images .field-item {
  display: block;
}

/*
 * Articles 
 */
.node-type-article .pane-node-content .field-name-field-article-image {
  float: right;
  margin-left: 1.5em;
  margin-top: 9px;
  margin-bottom: 1em;
}

article.node-teaser .field-name-field-article-image {
  float: right;
  margin-left: 1em;
  margin-bottom: 0.5em;
  margin-top: 6px;
}

article .field-name-field-article-people {
  display: none; /* Override on a sitetheme basis */
}

.pane-node-created {
  color: #888888;
  font-size: 0.9em;
  line-height: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 6px;
}

article.node-teaser .field-name-field-article-subtitle {
  font-style: italic;
  font-family: Georgia,"Times New Roman",Times,serif;
  letter-spacing: 1px;
  margin-top: 6px;
}

.node-type-article .pane-node-content .field-name-field-article-subtitle {
  font-family: Georgia,"Times New Roman",Times,serif;
  font-size: 1.5em;
  font-style: italic;
  line-height: 1.5em;
  margin-top: 9px;
}

/* 
 * Events 
 */
article.node-teaser .field-name-field-event-date {
  color: #999999;
  font-size: 0.9em;
  line-height: 18px;
  margin: 0 0 6px;
}

article.node-teaser .field-name-field-event-subtitle {
  font-style: italic;
  font-family: Georgia,"Times New Roman",Times,serif;
  letter-spacing: 1px;
  margin-top: 6px;
}

article.node-teaser .field-name-field-event-image {
  float: right;
  margin-left: 1em;
  margin-bottom: 0.5em;
  margin-top: 6px;
}

.node-type-event h1.pane-title {
  margin-bottom: 0;
}

.node-type-event .pane-node-content .field-name-field-event-subtitle {
  font-family: Georgia,"Times New Roman",Times,serif;
  font-size: 1.5em;
  font-style: italic;
  line-height: 1.5em;
  margin-top: 9px;
}

.node-type-event .pane-node-content .field-name-field-event-venue {
  font-style: italic;
  color: #888;
  margin-top: 0;
}

.node-type-event .pane-node-content .field-name-field-event-image {
  float: right;
  margin-left: 1.5em;
  margin-top: 9px;
  margin-bottom: 1em;
}

@media only screen and (max-device-width: 480px) {
  .node-type-event .panel-pane .field-name-field-event-image,
  .node-type-article .panel-pane .field-name-field-article-image{
    max-width: 100px;
	padding: 0;
	-moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .image-has-caption .field-image-caption {
	display: none;
  }
}

/* Captions on event and article images */
.pane-node-content .image-has-caption {
  background-color: #fff;
  padding: 4px;
  color: #666;
  -moz-box-shadow: 2px 2px 5px #888;
  -webkit-box-shadow: 2px 2px 5px #888;
  box-shadow: 2px 2px 5px #888;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.image-has-caption .field-image-caption {
  padding-top: 4px;
  font-size: 10px;
  line-height: 1.5em;
  font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
  color: #666;
  text-decoration: none;
  display: block;
}

.pane-node-content .image-has-caption a,
.pane-node-content .image-has-caption a:hover {
  text-decoration: none;
  border: 0;
}

/* Managed Files */

.node-type-managed-file .pane-node-content .field-name-field-managed-file-image {
  float: left;
  margin-top: 0;
  margin-right: 18px;
}

/* 
 * People 
 */
article.node-teaser .field-name-field-person-titles {
  font-style: italic;
  font-family: Georgia,"Times New Roman",Times,serif;
  letter-spacing: 1px;
}

article.node-teaser .field-name-field-person-image {
  float: right;
  margin-left: 1em;
  margin-bottom: 0.5em;
}

article.node-teaser .field-name-field-person-blurb {
  margin-top: 1.5em;
  color: #888;
}

.node-type-person h1.pane-title {
  margin-bottom: 0;
  display: none;
}

.group-person-title-info {
  margin-bottom: 1.5em;
  min-height: 72px;
}

.group-person-title-info h1.pane-title {
  display: block;
}

.group-person-title-info .field-name-field-person-titles {
  font-family: Georgia,"Times New Roman",Times,serif;
  font-size: 1.5em;
  font-style: italic;
  line-height: 1.5em;
  margin-top: 10px;
  margin-left: 18px;
  padding-bottom: 18px;
  padding-right: 18px;
}

.node-type-person .pane-node-field-person-image {
  float: left;
}

.group-person-title-info .pane-title {
  padding-top: 18px;
  padding-right: 18px;
  margin-left: 18px;
}

.group-person-title-info .field-name-field-person-image {
  float: left;
  margin-top: 0;
  margin-right: 1.5em;
}

.field-name-field-person-cv span.file img {
  display: none;
}

.field-name-field-person-mailbox p {
  margin: 0;
}

div.group-person-contact-info .field-label-inline {
  margin-top: 6px;
}

div.group-person-contact-info .field-label {
  text-transform: uppercase;
  /*text-align: right;*/
 padding-right: 1em; 
  width: 9em;
  
}

div.group-person-contact-info {
  clear: both;
}

/* Two column styles */
div.group-person-contact-info .field-group-format {
  display: inline;
  float: left;
  width: 49%;
}

div.group-person-contact-info .group_person_contact_right {
  margin-left: 2%;
}

div.group-person-contact-info .group_person_contact_left  .field-label {
  width: 5em;
}

@media handheld, only screen and (max-width: 767px) {
  div.group-person-contact-info div.field-label {
    float: none;
    width: auto;
    text-align: left;
  }
  div.group-person-contact-info div.field-group-format {
    float: none;
    width: 100%;
    margin: 0;
  }
  div.group-person-title-info {
    color: #333;
    background-color: transparent;
    min-height: 0;
  }
  div.group-person-title-info div.field-name-field-person-image {
    float: none;
    margin-bottom: 1.5em;
    margin-right: 0;
    margin-left: 0;
  }

  div.group-person-title-info h1.pane-title,
  div.group-person-title-info div.field-name-field-person-titles {
    padding: 0;
    margin-left: 0;
  }
}

/*
 * Home Content
 */

/*
 * Two Column Pages
 */
article .group_page_columns .field {
  display: inline;
  float: left;
  width: 50%;
  margin-top: 0;
}

.group_page_columns .field-name-field-page-left .field-item {
  padding-right: 0.75em;
}

.group_page_columns .field-name-field-page-right .field-item {
  padding-left: 0.75em;
}

@media handheld, only screen and (max-width: 767px) {
  article div.group_page_columns .field {
    width: 100%;
    float: none;
    display: block;
  }
  article div.group_page_columns .field .field-item {
    padding: 0;
  }
}

.group_page_columns ul li {
  margin: 0 0 0.75em;
}

/**
 * WUCrsL Panel Panes
 */
.pane-wucrsl-bysemester .pane-inner,
.pane-wucrsl-curriculum .pane-inner {
  padding-top: 0;
}

.wucrsl-bysemester .grid_12 .pane-page-breadcrumb .pane-inner,
.wucrsl-curriculum .grid_12 .pane-page-breadcrumb .pane-inner{
  padding-top: 18px;
}

.pane-wucrsl-curriculum select {
  margin-bottom: 1.5em;
  margin-top: 0;
}

article.wucrsl,
article.wucrsl .course-coursesections article.wucrsl {
  margin-bottom: 1.5em;
  padding-top: 1.5em;
  border-top: 1px dotted #999;
}

article.wucrsl.first,
article.wucrsl:first-child {
  padding-top: 0;
  border-top: 0;
}

article.wucrsl footer.author {
  margin-bottom:6px;
  margin-top:0;
}

.panel-pane article.wucrsl header h2 {
  margin-bottom: 12px;
}

article.wucrsl .field-label {
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight:normal;
}

.wucrsl-link {
  float:right;
}
td.wucrsl-link,
td .wucrsl-link {
  float:none;
}

.wucrsl footer.details,
article.course-coursesection>.content{
  margin-top:1em;
}

.wucrsl footer.details .field,
tr.wucrsl .field {
  margin-top:0;
}

.wucrsl .field-label-inline .field-item,
.wucrsl .field-label-inline .field-items,
.wucrsl .field-label-inline .field-label {
  display:inline;
  float:none;
}
.wucrsl .field-name-wucrsl-roomschedule .field-items,
.wucrsl .field-name-wucrsl-roomschedule .field-label {
  float:left;
}
.wucrsl .field-name-wucrsl-roomschedule .field-item {
  display:block;
}

.wucrsl .field-label-inline .field-item span:after,
.field-name-wucrsl-instructors span:after {
  content: ",";
}

.wucrsl .field-name-wucrsl-roomschedule .field-item span:after,
.wucrsl .field-label-inline .field-item:last-child span:after,
.field-name-wucrsl-instructors .field-item:last-child span:after {
  content: "";
}

/**
 * Single-course pages and course_page type nodes
 */
.wucrsl-single h1.pane-title {
  margin-bottom:0;
}

article.wucrsl .field-name-wucrsl-subtitle {
  font-family: Georgia,"Times New Roman",Times,serif;
  font-size: 1.5em;
  font-style: italic;
  line-height: 1.5em;
  margin-top: 9px;
  margin-bottom:1em;
}

article.wucrsl.node-teaser header h2.with-subtitle {
  margin-bottom:0;
}

.course-coursesection .course-subtitle {
  font-style: italic;
  font-family: Georgia,"Times New Roman",Times,serif;
  letter-spacing: 1px;
}

.course-coursesections {
  margin-top:1.5em;
}

/* change the size of the button to match the subtitle */
.wucrsl-single .wucrsl-link.button {
  padding: .375em 1em;
  margin-top:9px;
}
/* the content type has different containing elements so align the button properly */
.node-course-page .wucrsl-link.button {
  margin-top:0;
}

/*****************************************************************************
 *************************  ArtSci Streaming Styles  *************************
 *****************************************************************************/

/**
 * Clear some annoying styles
 */
a.artsci_streaming-flowplayer-rtmp:link,
a.artsci_streaming-flowplayer-rtmp:visited,
a.artsci_streaming-flowplayer-rtmp:hover,
a.artsci_streaming-flowplayer-rtmp:active {
  text-decoration:none;
  outline:none;
}

/**
 * There are two schemes for play buttons:
 *  - Colorbox: the image is the background of the :before element, which is
 *    hidden within the colorbox content element
 *  - JS Embed: the image is the background of the splash image's <span/>
 *    wrapper. When the video loads, the <span/> is removed taking the button
 *    with it; a little extrainious, but pseudo elements are not valid on <img/>
 * but don't use double-colon syntax, because ie8 doesn't get it
 */
.artsci_streaming-flowplayer-rtmp {position:relative;}
.artsci_streaming-flowplayer-rtmp>.play {
  height:88px;
  width:110px;
  overflow:hidden;
  position:absolute;
  top:50%;
  left:50%;
  margin: -44px 0px 0px -55px;
  background: transparent url(/sites/all/themes/awesomesauce/images/streaming-sprite.png) no-repeat;
  opacity:.75;
}
.artsci_streaming-flowplayer-rtmp:hover>.play {
  opacity:1;
}
#cboxContent .artsci_streaming-colorbox>.play {
  display:none;
}
/**
 * set the sprite position for different cases
 */
.artsci_streaming-colorbox.artsci_streaming-video-link>.play {
  background-position: 0px -88px;
}
.artsci_streaming-flowplayer-rtmp.artsci_streaming-audio-link>.play,
.artsci_streaming-colorbox.artsci_streaming-audio-link>.play {
  background-position: 0px -176px;
}

/**
 * Streaming media full node style
 *
 * We place a curved bottom shadow on the element. This is done by making
 * :after a block and stretching it to be slightly smaller than the element
 * itself (using the seemingly contradictory technique of setting all four
 * position attributes); then box-shadow and elliptical border-radius for the
 * win.
 */
body.node-type-streaming-media .field-type-artsci-streaming a {
  position:relative;
  /* hide our shadow element (it might show up while the content it loading) */
  background:#fff;
}
body.node-type-streaming-media .field-type-artsci-streaming a:after {
  position:absolute;
  display:block;
  content:'';
  z-index:-1;
  top:20px;
  bottom:0;
  left:10px;
  right:10px;
  -webkit-border-radius:50%/12px;
  -moz-border-radius:50%/12px;
  border-radius:50%/12px;
  -webkit-box-shadow:0 4px 18px rgba(0, 0, 0, 0.8);
  -moz-box-shadow:0 4px 18px rgba(0, 0, 0, 0.8);
  box-shadow:0 4px 18px rgba(0, 0, 0, 0.8);
}
body.node-type-streaming-media .artsci_streaming-private-media-msg {
  position:static;
  background:transparent;
  margin:0 0 1.5em 0;
  width:auto;
  height:auto;
  line-height:1.5em;
  text-indent:0;
}
