/*
 * Banners
 */

#banner {
  background: url(../images/banner_default.jpg) no-repeat;
}
#banner.peter {
  background: url(../images/banner_peter.jpg) no-repeat;
}
#banner.wendy {
  background: url(../images/banner_wendy.jpg) no-repeat;
}
#banner.articles {
  background: url(../images/banner_articles.jpg) no-repeat;
}
#banner.awards {
  background: url(../images/banner_awards.jpg) no-repeat;
}
#banner.get-involved {
  background: url(../images/banner_get-involved.jpg) no-repeat;
}
#banner.blog {
  background: url(../images/banner_blog.jpg) no-repeat;
}
#banner.photo-credits {
  background: url(../images/banner_photo-credits.jpg) no-repeat;
}
#banner.media,
#banner.books {
  background: none;
}


/*
 * Front banner
 */

.jcarousel-skin-default {
  width: 100%;
  height: 100%;
}

.jcarousel-skin-default .jcarousel-container {
  width: 1834px;
  height: 790px;
}

#pause,
#play {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 0;
  padding-top: 26px;
  background: url(../images/scroll-controls2.png) no-repeat;
  z-index: 100;
  cursor: pointer;
}
#play {
  background-position: -26px 0;
  display: none;
}
#play:hover {
  background-position: -26px -26px;
}
#pause {
  background-position: 0 0;
}
#pause:hover {
  background-position: 0 -26px;
}
#prev,
#next {
  position: absolute;
  width: 26px;
  height: 0;
  padding-top: 26px;
  overflow: hidden;
  background: url(../images/gallery-nav.png) no-repeat;
  z-index: 100;
  cursor: pointer;
}
#prev {
  background-position: 0 -104px;
  bottom: 10px;
  left: 10px;
}
#prev:hover {
  background-position: -35px -104px;
}
#next {
  background-position: 0 -130px;
  bottom: 10px;
  right: 10px;
}
#next:hover {
  background-position: -35px -130px;
}


/*
 * Spotlights
 */

.spotlight {
  float: left;
  margin: 0 11px;
  max-width: 223px;
}
.spotlight a {
  color: #888;
  text-decoration: none;
}
.spotlight a .title {
  font-weight: bold;
  color: #666;
}
.spotlight a:hover .title,
.spotlight a:active .title {
  color: #1892ba;
}

.spotlight a img {
  border: 5px solid transparent;
}
.spotlight a:hover img,
.spotlight a:active img {
  border: 5px solid #1892ba;
}

.spotlight .text {
  padding-left: 5px;
}



/*
 * Left column
 */

#left-col {
  text-transform: uppercase;
  line-height: 1.3em;
}

#left-col h2 {
  color: #fff;
  background: #4dabc0;
  display: block;
  padding: 5px 8px;
  font-weight: bold;
  text-decoration: none;
  text-transform: none;
  font-size: 1.2em;
}

#left-col .views-row {
  padding: 14px 8px 0 0;
}

#left-col a {
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  line-height: .8em;
}
#left-col a:hover,
#left-col a:active {
  text-decoration: underline;
}
#left-col a.active-trail {
  color: #ddd;
}

#left-col h3 {
  color: #fff;
  background: #4dabc0;
  display: block;
  padding: 5px 8px;
  font-weight: bold;
  font-size: 1.2em;
  text-transform: none;
}
#left-col h3 a {
  font-size: 14px;
  text-transform: none;
}

#left-col .award-year {
  margin-bottom: 2em;
}



/*
 * Books banner
 */

.banner-books {
  background: url(../images/banner-books-bg.png);
}
.banner-books .view-books {
  padding: 35px 85px;
}

.banner-books .thumbs {
  margin: 0 auto;
}

.book-thumb {
  float: left;
  margin: 10px;
}



/*
 * Media
 */

#content.media {
  margin: 0;
  width: 100%;
}

/* banner */
#banner.media {
  xbackground: url(../images/banner-media-bg.png);
}
#banner.media .view-media {
  padding: 35px 85px;
}

#banner.media .thumbs {
  margin: 0 auto;
}

.panel-thumb {
  float: left;
  margin: 0 4px 4px 0;
  line-height: 0;
  font-size: 0;
}
#banner.media .views-row-3 .panel-thumb,
#banner.media .views-row-6 .panel-thumb,
#banner.media .views-row-9 .panel-thumb {
  margin-right: 0;
}

/* gallery thumbnails */

.media-thumb {
  float: left;
  width: 200px;
  height: 225px;
  margin-right: 15px;
}
.media-thumb a {
  line-height: 1.2em;
  text-decoration: none;
}
.media-thumb a:hover,
.media-thumb a:active {
  text-decoration: underline;
}
.media-thumb span {
  display: block;
  xmargin-top: .5em;
}


/* Gallery Formatter module */

.galleryformatter {
  padding-top: 20px;
}
.gallery-frame {
  position: relative;
}

.galleryformatter .prev-slide,
.galleryformatter .next-slide {
  width: 35px;
  height: 0;
  padding-top: 52px;
  overflow: hidden;
  background: url(../images/gallery-nav.png) no-repeat;
}
.galleryformatter .prev-slide {
  background-position: 0 0;
  left: 5px;
}
.galleryformatter .prev-slide:hover {
  background-position: -35px 0;
}
.galleryformatter .next-slide {
  background-position: 0 -52px;
  right: 5px;
}
.galleryformatter .next-slide:hover {
  background-position: -35px -52px;
}

.galleryformatter .gallery-thumbs .arrow {
  width: 26px;
  height: 0;
  padding-top: 26px;
  overflow: hidden;
  background: url(../images/gallery-nav.png) no-repeat;
}
.galleryformatter .gallery-thumbs .arrow.back {
  background-position: 0 -104px;
}
.galleryformatter .gallery-thumbs .arrow.back:hover {
  background-position: -35px -104px;
}
.galleryformatter .gallery-thumbs .arrow.forward {
  background-position: 0 -130px;
}
.galleryformatter .gallery-thumbs .arrow.forward:hover {
  background-position: -35px -130px;
}

/* captions */

.gallery-slide {
  position: relative;
  height: 610px;
  overflow: hidden;
}
.gallery-slide .panel-overlay {
  position: absolute;
  bottom: 0;
  z-index: 1001;
  background: #000;
  max-width: 1000px;
  
  /* Required for IE 5, 6, 7 */
  /* ...or something to trigger hasLayout, like zoom: 1; */
  width: 100%; 
    
  /* Theoretically for IE 8 & 9 (more valid) */ 
  /* ...but not required as filter works too */
  /* should come BEFORE filter */
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  
  /* This works in IE 8 & 9 too */
  /* ... but also 5, 6, 7 */
  filter: alpha(opacity=70);
  
  /* Older than Firefox 0.9 */
  -moz-opacity:0.7;
  
  /* Safari 1.x (pre WebKit!) */
  -khtml-opacity: 0.7;
    
  /* Modern!
  /* Firefox 0.9+, Safari 2?, Chrome any?
  /* Opera 9+, IE 9+ */
  opacity: 0.7;
}
.gallery-slide .panel-overlay .overlay-inner {
  padding: 10px 25px;
}
.gallery-slide .panel-overlay h4 {
  font-weight: normal;
  font-size: 18px;
}

/* thumbnails */

.galleryformatter .gallery-thumbs {
  position: relative;
}
.galleryformatter .gallery-thumbs .arrow.back {
  position: absolute;
  left: -20px;
  top: 25px;
}
.galleryformatter .gallery-thumbs .arrow.forward {
  position: absolute;
  right: -28px;
  top: 25px;
}

/* colorbox */

#colorbox {
  position: absolute;
  xleft: 50%;
  xtop: 150px;
  xmargin-left: -547px;
  z-index: 1000;
  background: transparent url(../images/overlay-bg.png);
}

#cboxContent {
  position: relative;
}

#cboxClose {
  height: 26px;
  width: 26px;
  background: url(../images/gallery-nav.png) 0 -156px no-repeat;
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 5px;
}
#cboxClose:hover {
  background-position: -35px -156px;
}

#cboxNext,
#cboxPrevious {
  margin-left: 15px;
  cursor: pointer;
}

.cboxIframe {
  width: 1094px;
  height: 742px;
  overflow: hidden;
  margin: 0 auto;
  text-align: center;
}

.media-vimeo-outer-wrapper {
  margin: 20px auto;
}



/*
 * Benchley awards
 */

#block-views-awards-block .view-footer {
  padding-top: 2em;
}

h3.winner {
  text-transform: uppercase;
  font-weight: normal;
  margin-top: -1em;
}

#content .view-awards h3 a {
  color: #fff;
  text-decoration: none;
}
#content .view-awards h3 a:active, 
#content .view-awards h3 a:hover {
  text-decoration: underline;
}

#content .view-awards .views-row-last {
  margin-bottom: 2em;
}



/*
 * Articles
 */

#content .view-articles td {
  width: 160px;
  padding: 0 15px 15px 0; 
}



/*
 * Audio
 */

.jp-playlist {
  display: none;
}

.jp-audio {
  margin: 10px auto;
}



/*
 * Blogs
 */

body.section-blog #page-wrapper {
  background: #fff url(../images/page-blog-bg.png) top repeat-x;
}
body.section-blog #bubbles {
  background: url(../images/bubbles-blog-bg.jpg) top no-repeat;
}
body.section-blog #main {
  color: #333;
}
body.section-blog #content {
  width: 700px;
  margin: 0 30px 0 30px;
}

body.section-blog #right-col {
  margin: 5.5em 55px 0 30px;
}
body.section-blog #right-col .section {
  
}

body.section-blog a {
  color: #0188a8;
}
body.section-blog a:hover,
body.section-blog a:active {
  color: #01586c;
}
body.section-blog #content h3 {
  text-transform: none;
  padding: 10px;
  color: #fff;
  background: #0188a8;
}
body.section-blog #content h3 a {
  color: #fff;
  text-decoration: none;
}
body.section-blog #content h3 a:hover,
body.section-blog #content h3 a:active {
  color: #fff;
  text-decoration: underline;
}

#block-blog-recent ul {
  margin: 1.5em 0 0 0;
  padding: 0;
}
#block-blog-recent li {
  font-size: .85em;
  list-style: none;
  display: block;
  margin: 0 0 1em 0;
  padding: 0;
  line-height: 1.4em;
}
#block-blog-recent a {
  display: block;
}

body.section-blog h2 {
  color: #333;
  font-weight: normal;
  margin-top: 2em;
  padding-top: 10px;
  border-top: 2px solid #aaa;
}
body.section-blog #comments h2.comment-form {
  border: none;
}
body.section-blog #comments .filter-wrapper {
  display: none;
} 
body.section-blog #comments label {
  font-weight: normal;
}
body.section-blog #comments .field-name-comment-body label {
  display: none;
}


.node-blog {
  xborder-bottom: 1px solid #ccc;
  padding-top: 2em;
  xmargin-bottom: 1em;
}

.node-blog .meta {
  font-size: .85em;
  margin-bottom: 1em;
  color: #0188a8;
}

/* social media */

.service-links {
  padding: 10px 0;
  margin: 20px 0;
  height: 25px;
  border-top: 1px dotted #ccc;
  border-bottom: 1px dotted #ccc;
}
.service-links ul {
  display: block;
  margin: 0;
  padding: 0;
}
.service-links li {
  display: block;
  float: left;
  list-style: none;
  width: 80px;
  height: 25px;
}



/*
 * Comments
 */

form.comment-form {
  background: url(../images/comment_form_bg.gif);
  border: 1px solid #ccc;
  padding: 20px;
}
h2.comment-form {
  margin-bottom: 1em;
}
.comment-form label {
  display: inline-block;
  width: 150px;
  color: #555;
}
.comment-form .description {
  color: #666;
  margin-left: 155px;
  font-size: .7em;
}

#comments h2.title {
  margin-bottom: 1em;
}
#comments .comment {
  position: relative;
  padding: 15px 15px 0 15px;
  border-bottom: 1px solid #ddd;
}
#comments .comment.odd {
  xbackground: #f3f3f3;
}
#comments .author .name {
  font-weight: bold;
  font-style: italic;
}
#comments .submitted {
  font-size: .8em;
  color: #999;
  margin-bottom: 1em;
}
#comments .comment .admin-links {
  position: absolute;
  right: 0;
  top: 0;
  font-size: .8em;
  height: .8em;
}
#comments .admin-links li {
  list-style: none;
  float: left;
}

.node-blog .comment-count {
  width: 34px;
  height: 26px;
  background: url(../images/comment-count-bg.png) no-repeat;
  position: relative;
  top: -58px;
  right: -615px;
}
body.section-blog #content .comment-count a {
  display: block;
  width: 34px;
  height: 26px;
  text-align: center;
  font-size: 12px;
  padding: 1px;
  color: #fff;
  text-decoration: none;
}



/*
 * Mailchimp signup
 */
#mce-EMAIL {
  width: 100%;
  margin-bottom: 5px;
}
