/* 
  HTML5 ??? Boilerplate 
  
  style.css contains a reset, font normalization and some base styles.
  
  credit is left where credit is due.
  much inspiration was taken from these projects:
    yui.yahooapis.com/2.8.1/build/base/base.css
    camendesign.com/design/
    praegnanz.de/weblog/htmlcssjs-kickstart
*/
/* 
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  list-style: none;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* AD WORKAROUNDS */
/*
br {
	display: none;
}*/
center {
  text-align: left;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: none;
  cursor: help;
}

abbr[title]:hover,
dfn[title]:hover {
  border-bottom: 1px dotted;
}

/* tables still need cellspacing="0" in the markup */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

.enhanced object, .enhanced embed {
  display: block;
}

/* END RESET CSS */
@media screen and (max-device-width: 810px) {
  * {
    -webkit-text-size-adjust: 100%;
  }
}

/* unsets from Basic CSS
- these are here to combat the appearance when JS is disabled in a media-aware browser, and basic.css styles apply alongside enhanced ones */
.weather,
.bg-high-value,
.utils,
.sections,
nav.section,
form.search,
.sections,
.live-update,
.group,
.group-alt,
.ad,
.utils,
form.search,
.bg-footer {
  border: none;
  text-align: inherit;
  margin: 0;
  padding: 0;
  background: transparent;
}

.weather img {
  width: auto;
  vertical-align: auto;
}

.weather p,
.weather h2,
.weather li,
.bg-high-value p,
.bg-high-value li,
.bg-high-value ul,
.bg-high-value li a,
.sections li,
.bg-footer li,
.bg-footer li a {
  font-size: 1em;
  text-align: left;
}

.weather p,
.weather h2,
.weather li,
.bg-footer li {
  display: block;
}

/* end unsets */


/* Datepicker */
/*
 * jQuery UI Datepicker @VERSION
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Datepicker#theming
 */
.ui-datepicker {
  width: 17em;
  padding: .2em .2em 0;
  display: none;
}

.ui-datepicker .ui-datepicker-header {
  position: relative;
  padding: .2em 0;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
  position: absolute;
  top: 16px;
  width: 20px;
  height: 20px;
}

.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover {
  top: 16px;
}

.ui-datepicker .ui-datepicker-prev {
  left: 2px;
}

.ui-datepicker .ui-datepicker-next {
  right: 2px;
}

.ui-datepicker .ui-datepicker-prev-hover {
  left: 1px;
}

.ui-datepicker .ui-datepicker-next-hover {
  right: 1px;
}

.ui-state-disabled {
  opacity: 0.5;
  cursor: default;
}

.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -8px;
  top: 50%;
  margin-top: -8px;
}

.ui-datepicker .ui-datepicker-title {
  font-size: 1em;
  margin: 0;
  line-height: 1.8em;
  text-align: center;
}

.ui-datepicker .ui-datepicker-title select {
  font-size: 1em;
  margin: 1px 0;
}

.ui-datepicker select.ui-datepicker-month-year {
  width: 100%;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
  width: 49%;
}

.ui-datepicker table {
  font-size: 1.1em;
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 .4em;
}

.ui-datepicker th {
  color: #999;
  padding: .3em;
  text-align: center;
  font-weight: normal;
  border: 0;
}

.ui-datepicker td {
  border: 0;
  padding: 1px;
}

.ui-datepicker td span, .ui-datepicker td a {
  display: block;
  padding: .2em 0.3em;
  text-align: center;
  text-decoration: none;
  border: 1px solid #ccc;
}

.ui-datepicker td a:hover {
  background: #eee;
  border-color: #999;
}

/*.ui-datepicker td a.ui-state-active { background: #9B1418; color: #FFF; }*/
/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi {
  width: auto;
  font-size: 11px;
  text-transform: uppercase;
}

.ui-datepicker-multi .ui-datepicker-group {
  float: left;
  margin-right: 20px;
}

.ui-datepicker-multi .ui-datepicker-group table {
  width: 180px;
  margin: 0 auto .4em;
}

.ui-datepicker-row-break {
  clear: both;
  width: 100%;
}

/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
  display: none;
  /*sorry for IE5*/
  display/**/: block;
  /*sorry for IE5*/
  position: absolute;
  /*must have*/
  z-index: -1;
  /*must have*/
  filter: mask();
  /*must have*/
  top: -4px;
  /*must have*/
  left: -4px;
  /*must have*/
  width: 200px;
  /*must have*/
  height: 200px;
  /*must have*/
}


* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -webkit-touch-callout: none;
}

html, body {
  height: 100%;
}

body.type-gallery {
  background: black;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: arial, helvetica, sans-serif;
  font-weight: 300;
}

.wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  z-index: 0;
  background: transparent;
}

.header, .share-menu ul, .footer, .footer .gallery, .share-menu ul li a {
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
  -webkit-transition: all .2s;
  transition: all .2s;
  transition-delay: 0s;
}

.header {
  background: black;
  background: rgba(0, 0, 0, 0.9);
  padding: 0 20px;
  position: absolute;
  left: 0;
  right: 0;
  color: white;
  border-bottom: 1px solid #3f3f3f;
}

.header, .footer, .share-menu {
  -webkit-transform: translate3d(0, 0, 0);
}

.naked .header, .naked .footer, .lt-ie9 .naked .share-menu, .lt-ie9 .naked .header .nav {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  /* IE 5-7 */
  filter: alpha(opacity=0);
  /* Netscape */
  -moz-opacity: 0;
  /* Safari 1.x */
  -khtml-opacity: 0;
  /* Good stuff */
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s linear 0.5s, opacity 0.5s linear;
}

.header h1 {
  font-size: 1em;
  margin: 0.725em 26.2%;
  padding: 0;
  text-align: center;
  font-family: 'Benton Sans Bold', Arial, Helvetica, sans-serif;
}

.header .nav {
  position: absolute;
  width: 14%;
  min-width: 55px;
  z-index: 1;
  right: 20px;
  top: 50%;
  margin-top: -12px;
  font-size: 0.6875em;
  text-transform: uppercase;
  text-align: center;
}

.header .nav.left {
  left: 20px;
  right: 0;
  text-align: left;
  width: 230px;
}

.header .nav .previous {
  position: absolute;
  left: 0;
}

.header .nav .next {
  position: absolute;
  right: 0;
}

.header .nav .previous, .header .nav .next {
  max-height: 21px;
  max-width: 21px;
  padding: 0;
}

.header .nav .next, .header .nav .previous, .globe-back, .expand-footer, .share-menu .share {
  text-decoration: none;
  padding: 0 5px;
  color: #a1a1a1;
  color: rgba(255, 255, 255, 0.7);
  background: #2c2c2c;
  background: rgba(63, 63, 63, 0.7);
  line-height: 21px;
}

.header .nav .next:hover, .header .nav .previous:hover, .globe-back:hover, .expand-footer:hover, .share-menu .share:hover, .share-menu.expanded .share {
  background: #3f3f3f;
  /* Good stuff */
  opacity: 1;
  color: white;
}

.header .nav .next span, .header .nav .previous span {
  height: 21px;
  line-height: 21px;
  width: 9px;
  text-indent: -9999em;
  display: block;
  background: url(//c.o0bg.com/rw/SysConfig/WebPortal/BostonGlobe/Framework/images/gallery-nav-arrow-right.png) no-repeat center;
}

.lt-ie8 .header .nav .next span, .lt-ie8 .header .nav .previous span {
  height: 17px;
  line-height: 17px;
}

.header .nav .previous span {
  background: url(//c.o0bg.com/rw/SysConfig/WebPortal/BostonGlobe/Framework/images/gallery-nav-arrow-left.png) no-repeat center;
}

.header .nav span {
  color: #a1a1a1;
  color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  padding: 5px;
  font-size: 0.875em;
  width: 100%;
}

.lt-ie8 .header .nav span {
  line-height: 17px;
}

.header .globe-back {
  float: left;
  margin-right: 15px;
}

.header .globe-logo {
  float: left;
  width: 140px;
}

.header .globe-logo img {
  width: 75%;
}

#main {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: -1;
  text-align: center;
  height: 100%;
}

#main .tray {
  background: #000;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
}

#main img {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 2;
}

#main .next-image {
  display: none;
}

.spinner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  background-image: url("//c.o0bg.com/rw/SysConfig/WebPortal/BostonGlobe/Framework/images/ajax-loader.gif");
  background-position: center center;
  background-repeat: no-repeat;
  display: none;
}

.lt-ie8 #main {
  line-height: 100%;
  height: 100%;
}

.lt-ie8 #main img {
  margin-top: 5%;
  position: static;
  line-height: 100%;
  display: block;
}

.footer {
  background: black;
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  border-top: 1px solid #3f3f3f;
}

.footer .expand-footer {
  float: right;
  padding-top: 8px;
  padding-bottom: 8px;
}

.footer .expand-footer span {
  display: block;
  height: 5px;
  line-height: 5px;
  width: 9px;
  text-indent: -999em;
  background: url(//c.o0bg.com/rw/SysConfig/WebPortal/BostonGlobe/Framework/images/gallery-toggle-arrow.gif) no-repeat bottom center;
}

.footer.expanded .expand-footer span {
  background-position: top center;
}

.footer .caption {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.875em;
}

.footer.expanded .caption {
  white-space: normal;
  overflow: visible;
}

.footer .caption .credit {
  margin-left: 1em;
}

.footer .thumbnail {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
  /* IE 5-7 */
  filter: alpha(opacity=60);
  /* Netscape */
  -moz-opacity: 0.60;
  /* Safari 1.x */
  -khtml-opacity: 0.60;
  /* Good stuff */
  opacity: 0.60;
  border: 1px solid black;
}

.footer .thumbnail:hover, .footer .thumbnail.current {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  /* IE 5-7 */
  filter: alpha(opacity=100);
  /* Netscape */
  -moz-opacity: 1;
  /* Safari 1.x */
  -khtml-opacity: 1;
  /* Good stuff */
  opacity: 1;
}

.footer .thumbnail.current {
  border-color: white;
}

.footer .gallery {
  height: 0;
}

.footer.expanded .gallery {
  height: 100px;
}

.footer .gallery {
  position: relative;
  top: 30px;
}

.footer .gallery .channel {
  height: 60px;
  margin: 0px 25px;
  position: relative;
  overflow: hidden;
}

.footer .gallery .channel ul {
  position: absolute;
  margin: 0px;
}

.footer .gallery .channel ul li {
  position: absolute;
  list-style-type: none;
}

.footer .gallery .cursor {
  width: 25px;
  top: 16px;
  cursor: pointer;
}

.footer .gallery .cursor.inactive {
  display: none;
  cursor: default;
}

.footer .gallery .leftCursor {
  position: absolute;
  left: 0px;
}

.footer .gallery .rightCursor {
  position: absolute;
  right: 0px;
}

.footer .gallery .thumbnail {
  background-color: white;
  background-repeat: no-repeat;
  background-position: center center;
  width: 60px;
  height: 60px;
  margin: 0 2px;
  float: left;
  cursor: pointer;
  border: 0px;
}

.footer .credit {
  font-size: 0.75em;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}

.share-menu {
  float: right;
  position: relative;
  margin-right: 5px;
  margin-bottom: -5px;
}

.share-menu ul {
  position: absolute;
  bottom: 1.8em;
  right: 0;
  color: white;
  text-decoration: none;
  background: #3f3f3f;
  line-height: 1;
  display: none;
  font-size: .75em;
}

.share-menu.expanded ul {
  display: block;
}

.share-menu ul li {
  background: #000;
  border-top: 1px solid #534B48;
  border-width: 1px 1px 0 0;
  float: none;
  margin: 0;
  padding: 0;
  text-indent: 0;
}

.share-menu ul li a {
  color: #999;
  text-decoration: none;
  padding: .8em 4em .8em 2.5em;
  display: block;
  background-position: 0.6em 0.7em;
  background-repeat: no-repeat;
  border-bottom: none;
}

.share-menu ul li:hover a {
  color: white;
}

.share-facebook {
  background-image: url("//c.o0bg.com/rw/SysConfig/WebPortal/BostonGlobe/Framework/images/ico-social-fb-bl.gif");
}

.share-twitter {
  background-image: url("//c.o0bg.com/rw/SysConfig/WebPortal/BostonGlobe/Framework/images/ico-social-twitter-bl.gif");
}

.share-menu .share {
  font-size: 0.6875em;
  text-transform: uppercase;
  display: block;
}

@media only screen and (max-width: 50em) {
  .header .nav {
    right: 10px;
  }
  .header .globe-back {
    margin-right: 5px;
  }
  .header .nav {
    margin-top: 1em;
    top: 0.5em;
  }
  .header .nav.right {
    width: 90px;
  }
  .header .nav.left {
    left: 10px;
  }
  .header h1 {
    clear: both;
    margin: 2.5em 0 0;
    padding: 1em 0;
  }
  .lt-ie8 #main img {
    margin-top: 25%;
  }
  #main img {
    max-width: 100%;
    max-height: 100%;
  }
}

@media only screen and (max-width: 20em) {
  .header {
    padding: 0 10px;
  }
  .footer {
    padding: 10px;
  }
}
