/* ------------------------------------------------------------------------------  */
/* REMEMBER! REMEMBER! REMEMBER! REMEMBER! REMEMBER! REMEMBER! REMEMBER! REMEMBER! */
/*                                                                                 */ 
/*              ALL CUSTOM STYLES MUST BE ADDED TO MOBILE STYLES AS WELL!          */
/*                                                                                 */
/*                                                                                 */ 
/* ------------------------------------------------------------------------------- */
#gridClamp:after {
  clear:both;
  content:'';
  display:table;
}

#StoryFeatures.BestOfGuide h3 {
  color:#9e161b;
  font-size:1.2em;
  font-weight:bold;
  margin-bottom:10px;
}

#BestOf div.prevNext {
  clear: both;
  margin:  0;
  text-align: right;
  float: left;
  width:100%;
  font-weight:bold;
  }
  div#BestOfCategoryHeader {
    margin-bottom: 10px;
}
  #BestOf div.prevNext a {}
  #BestOf div.prevNext a:hover {}
  #BestOf div.prevNext a.prev {
    float: left;
  }
.issuuembed {
    margin: auto;
}


/* Page grids, 3 per row. */
.gridRow
{
  clear:both;
  margin:10px 0;
  overflow:hidden;
}
  .gridRow .gridItem
  {
    float:left;
    text-align:center;
    width:180px;
  }
  /* Slideshow Social Buttons */
#ToolBarSlideshow a:hover {
    opacity: .7;

}
#ToolBarSlideshow div.l0 {
    width: auto !important;
    float: left !important;
}
#FacebookNonJavascript,
#TwitterWebIntent,
#Google1NonJavascript,
#RedditNonJavascript,
#Emailmailto,
#FacebookDynamic,
#TwitterDynamic,
#Google1Dynamic,
#RedditDynamic,
#EmailDynamic{
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}


#FacebookNonJavascript,#FacebookDynamic {
    background-image: url("/images/mobile/social-facebook.png")
}
#TwitterWebIntent,#TwitterDynamic {
    background-image: url("/images/mobile/social-twitter.png")
}
#Google1NonJavascript,#Google1Dynamic {
    background-image: url("/images/mobile/social-google-plus.png")
}
#RedditNonJavascript,#RedditDynamic {
    background-image: url("/images/mobile/social-reddit.png")
}
#Emailmailto,#EmailDynamic {
    background-image: url("/images/mobile/social-email.png")
}
.slideshowDesc {
    margin: 15px 0;
    color: #404040;
    line-height: 1.6em;
    text-align: left;
    font-size: 1.1em;
}
div#SlideshowFullPageNew .date {
    color: #6C5D44;
    font-size: 11px;
}
div#SlideshowFullPageNew  .credit {
    color: #C0C0C0;
    font-size: 0.7em;
    text-align: right;
}
body#Slideshow div.slideshowPrevNext {
    text-transform: uppercase;
    font-size: 1.3em;
    font-weight: 700;
    text-align: center;
    margin: 10px auto;
    width: 300px;
    height: 40px;
    clear: both;
}
body#Slideshow div.slideshowCount {
    text-align: center;
}
div#SlideshowFullPageNew .slideImgWrapper {
    margin: 10px auto 0;
}
.slideOverlay {
    z-index: 1000001;
}
/* === Inline Connections === */
div.connection {
  margin: 1em auto;
  width: 100%;
  border-bottom: 1px solid #CCC;
  padding-bottom: 0.5em;
  font-size:12px;
}
div.connection::after{
  content: "";
  display: block;
  clear: both;
  height:0;
}
div.connection>a {
    color: #111;
}
div.connection h5 {
  font-weight: bold;
  text-decoration: none;
  margin: 0.5em 0!important;
  font-size: 17px;
  border-bottom: 1px solid #CCC;
  line-height: 1em;
  padding-bottom: 0.25em;
}
#storyBody div.connection h5 a,
div.connection h5 a{
  color: #666;
}
div.connection h5 span.typeHeader {
  text-transform: uppercase;
  font-weight: normal;
  font-size:11px;
}
div.connection.slideshow h5 span.typeHeader {
  font-size:0.75em
}

/* Stack headers for Location, Event, Film, and Poll */
div.connection.location h5 span.typeHeader,
div.connection.event h5 span.typeHeader,
div.connection.film h5 span.typeHeader,
div.connection.poll h5 span.typeHeader {
  display: block;
}

/* Add a colon to the header prefix for non-stacked */
div.connection.content h5 span.typeHeader::after {
  content: ":";
}

/* Connection Content */
div.connection.content img {
  float: left;
  margin: 0 0.5em 0 0;
}
div.connection.content a div.subHeadline,
div.connection.content a div.summary {
  color: #000;
  font-weight: normal;
}
div.connection.content a div.author,
div.connection.content a div.category {
  color: #667;
  font-weight: normal;
}


/* content adjustments */
.content.connection{
    border: none;
   padding: 0 2em;
   box-sizing:border-box;
}
.content.connection h5,
#storyBody .content.connection h5{
  border: none;
  margin:.5em 0 !important; 
  padding: 0;
  opacity: .8;
  font-size: 14px;
}
.content.connection h5 a:hover .subHeadline, 
.content.connection h5 .subHeadline:hover {
    color: inherit;
}
.content.connection h5 .subHeadline {
  font-weight: 400;
  color:#676767;
}
.content.connection h5+* {
    display: none;
}
/* Connection Slideshows */
div.slideshow.connection a.leadImage {
  width: 100%; /* override this value to accommodate different column widths */
  height: auto;
  background-color: #333;
  -webkit-justify-content:center;
  justify-content: center;
  margin: 0 0 5px 0;
  float: left;
  position: relative;
  overflow: hidden;
}
div.slideshow.connection a.leadImage img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}
div.slideshow.connection a.leadImage span.count {
  color: #fff;
  background: rgba(0, 0, 0, 0);
  background: -moz-linear-gradient(-45deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.06) 53%, rgba(0, 0, 0, 1) 100%);
  background: -webkit-gradient(left top, right bottom, color-stop(50%, rgba(0, 0, 0, 0)), color-stop(53%, rgba(0, 0, 0, 0.06)), color-stop(100%, rgba(0, 0, 0, 1)));
  background: -webkit-linear-gradient(-45deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.06) 53%, rgba(0, 0, 0, 1) 100%);
  background: -o-linear-gradient(-45deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.06) 53%, rgba(0, 0, 0, 1) 100%);
  background: -ms-linear-gradient(-45deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.06) 53%, rgba(0, 0, 0, 1) 100%);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.06) 53%, rgba(0, 0, 0, 1) 100%);
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: auto;
}
div.slideshow.connection a.leadImage span.count::before {
  content: "";
  display: block;
  padding-top: 100%;
}
div.slideshow.connection a.leadImage span.count-inner {
  position: absolute;
  bottom: .5rem;
  right: .5rem;
}
div.slideshow.connection div.thumbnails {
  margin: 0 0 5px;
  float: left;
  width: 100%;
}
div.slideshow.connection div.thumbnails a {
  display: block;
}
div.slideshow.connection div.thumbnails a:nth-child(n+7) {
  display: none;
}
div.slideshow.connection div.thumbnails img {
  float: left;
  margin: 0;
  width: calc(100%/6 - 5px);
  height: auto;
}
div.slideshow.connection div.thumbnails a:nth-child(n+1):nth-child(-n+5) img {
  margin-right: 6px;
}
div.slideshow.connection div.caption {
  text-align: center;
  clear: both;
  margin: .15em 0 0;
}
div.slideshow.connection div.slideshowLink a {
  color: #fff!important;
  background-color: #667;
  padding: 8px 8px 6px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-size: 1em;
  display: inline-block;
  margin: 0.5em auto;
}
div.slideshow.connection div.caption .summary,
.slideshow.connection h5 .title {
    display: none;
}
div.slideshow.connection .caption .title {
    font-size: 17px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
}
div.slideshow.connection .caption .title a {
  color: #000;
}
/* Connection Event Location */
div.event.connection div.infoImage,
div.location.connection div.infoImage {
  width: 60%;
  float: left;
}
div.event.connection div.infoImage img,
div.location.connection div.infoImage img {
  float: left;
  max-width: calc(50% - 0.5em);
  margin: 0 0.5em 0 0;
  height: auto;
}
div.event.connection div.info,
div.location.connection div.info {
  float: left;
  width: calc(50% - 0.5em);
}
div.event.connection div.info > div,
div.location.connection div.info > div {
  margin: 0 0 0.5em 0;
}
div.event.connection.noImage div.info,
div.location.connection.noImage div.info {
  float: left;
  width: 100%;
}
div.event.connection a div.info,
div.location.connection a div.info {
  color: initial;
  font-weight: initial;
  line-height: 1.25em;
}
div.event.connection div.locationName {
  font-weight: bold;
}
div.location.connection .hours,
div.event.connection div.time {
  font-style: italic;
}
div.location.connection div.locationCategory,
div.event.connection div.eventCategory,
div.location.connection div.url,
div.event.connection div.url {
  color: #666;
}
div.location.connection .map,
div.event.connection .map {
  line-height: 1em;
  padding-bottom: 0.25em;
  float: right;
  width: calc(40% - 1px);
  height: 150px;
  margin: 0!important;
}
.connection .altMapLink {
  opacity: 0;
  display: none
}

/* Connection Film */
div.film.connection div.image { float: left; }
div.film.connection div.image a { float: left; }
div.film.connection div.image img {
  float: left;
  margin: 0 0.5em 0 0;
}
div.film.connection a div.info {
  color: initial;
  font-weight: initial;
  line-height: 1.25em;
}
div.film.connection div.info > div {
  margin: 0 0 0.5em 0;
}
div.film.connection div.info > div.rating {margin-bottom: 0;}
div.film.connection div.rating { display: inline-block; }
div.film.connection div.rating > div { float: left; }
div.film.connection div.rating div.ratingHeader { margin-right: 0.5em; }
div.film.connection div.rating,
div.film.connection div.filmMetaData,
div.film.connection div.genre,
div.film.connection div.url {
  color: #666;
}

/* Connection Poll */
div.poll.connection li.pollItem,
div#storyBody div.poll.connection li.pollItem {
  margin: 0.5em 0;
  list-style: none;
}
.poll.connection .image img {
    float: right;
}
div.poll.connection ul {
  margin: 0;
  padding: 1px;
}
div.poll.connection input[type=submit] {
  display: block;
  margin: 0.5em auto;
  clear: both;
  color: #fff;
  font-weight: bold;
  background-color: #667;
  padding: 8px 8px 6px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: none;
}
div.poll.connection a.results {
  text-align: center;
  display: block;
  font-weight: normal;
}
/* === End Inline Connections === */