/*  TODO: delete these rules once screen_wnyc-new-home.css
    is integrated with screen_wnyc.css. Until then these
    rules are needed for interior pages to not be broken.
*/

#mobile-header,
#mobile_nav.menu-region {
  display: none;
}

#events-home, 
.event-detail,
.giveaway {
  float: left;
  width: 620px;  
}

/* end TODO */

h1, h2, h3, h4 {
  font-weight: 400;
}

p {
  line-height: 1.7em;
}

#site {
  padding-bottom: 0;
}

.sidebar {
  float: right;
  margin: 0;
  width: 300px;
}

.grid_8 {
  margin-left: 0;
}

#header-inner {
  margin: auto;
  width: 100%;
  max-width: 960px; /* Interior pages only for now. Homepage is wider. */
}

.bigbox_ad {
  margin-top: 0px;
}

.btn--pink {
  background: #d3008c;
}

#header_container{
  height: 90px;
  margin: 0px auto 25px auto;
  -moz-box-shadow: 0px 0px 5px rgba(0,0,0, 0.3);
  -webkit-box-shadow: 0px 5px rgba(0,0,0,0.3);
  box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
  width:100%;
}

#header_nav_right li {
  float:right;
}

#header_nav {
  height: 100%;
  max-height: 100%;
  float: left;
}

#header_nav li {
  float: left;
  height: 100%;
  max-height: 100%;
}

#header_nav li.home:hover {
  background-color: transparent;
  border-bottom: 2px solid transparent;
}

#header_nav li a:hover {
  background-color: #f9f9f9;
  color: #333 !important;
}

#header_nav > li.home > a,
#header_nav > li.home > a:hover {
  margin-right: 0px !important;
}

#header_nav li a:link,
#header_nav li a:visited,
#header_nav li a:active {
  color: #555;
}

#header_nav li a {
  display: block;
  max-height: 90px;
  text-decoration: none;
  line-height: 7.8em;
  font-size: 1em;
  border-right: 1px solid #f2f2f2;
  overflow: hidden;
  width: 120px;
  height: 90px;
  text-align: center;
  transition: all 500ms ease 0s;
  -moz-transition: all 500ms ease 0s;
  -webkit-transition: all 500ms ease 0s;
  -o-transition: all 500ms ease 0s;
  text-transform: uppercase;
}

#header_nav li.listen a {
  background: #e11837;
  transition: all 500ms ease 0s;
  -moz-transition: all 500ms ease 0s;
  -webkit-transition: all 500ms ease 0s;
  -o-transition: all 500ms ease 0s;
  color: #fff;
  border-right: none;
}

#header_nav li.listen a:hover {
  background: #c31530;
  color: #fff !important;
}


#header_nav li .dropdowncarrot {
  background: transparent url('../../../media/img/wnyc/wnyc_sprite.png') no-repeat -10px -160px;
  text-indent: -9999px;
  float: right;
  height: 8px;
  width: 10px;
  margin-top: 3.5em;
  position: relative;
  left: -24px;
}

#header_nav li:hover #dropdowncarrot {
  background-position: -39px -160px;
}

#header_nav .scheduleicon {
  background: transparent url('../../../media/img/wnyc/wnyc_sprite.png') no-repeat -7px -184px;
  padding-left: 1em;
  float: left;
  width: 10px;
  height: 25px;
  text-indent: -9999px;
}

#header_nav .scheduleitem:hover .scheduleicon {
  background: transparent url('../../../media/img/wnyc/wnyc_sprite.png') no-repeat -7px -214px;
}

#header_nav  .eventicon {
  background: transparent url('../../../media/img/wnyc/wnyc_sprite.png') no-repeat -36px -184px;
  padding-left: 1em;
  float: left;
  width: 10px;
  height: 25px;
}

#header_nav .eventitem:hover .eventicon {
  background: transparent url('../../../media/img/wnyc/wnyc_sprite.png') no-repeat -36px -215px;
}

#header_nav .home a {
  width: 135px;
  text-indent: -9999px;
  padding: 0px 0px 0px 0px;
  background-position: center bottom;
  background: transparent url('../../../media/img/wnyc/wnyc_sprite.png') no-repeat scroll -250px 21px;
}

#header_nav .home a:hover{
  opacity: .9;
  background: transparent url('../../../media/img/wnyc/wnyc_sprite.png') no-repeat scroll -250px 21px;
}

/* dropdown list handling */
#header_nav li h4 {
  display: none;
}

#header_nav li ul {
  z-index: 999999;
  position: absolute;
  width: 190px;
  border: 1px solid #ddd;
  border-top: none;
  display: none;
  background-color: #fff;
  margin-left: -1px;
          box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
     -moz-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
}

#header_nav li ul li:last-child {
  border-bottom: none;
}

#header_nav .formore ul li ul li:first-child {
 border-top: 0;
}

#header_nav .formore ul li ul {
  border: none;
  position: relative;
}

#header_nav li ul li {
  float: none;
  border-bottom: 1px solid #EDEDED;
}

#header_nav li ul li a {
  width:  auto;
  height: auto;
  text-indent: 0;
  display: block;
  color: #555;
  line-height: 1.5em;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  text-align: left;
  padding: 8px 10px;
		text-transform: capitalize;
}

#header_nav .formore li ul li a {
  padding-bottom: 5px;
  font-size:1em;
}

#header_nav li ul li a:hover {
  text-decoration: none;
  border: none;
  background-color: #f4f4f4;
}

/* search */

#header_nav li.search {
  line-height: 7.8em; /* same as '#header_nav li a' */
  padding: 0 10px 0 20px;
}

.wnyc-search form input.text {
  color: #777;
  font-size: .95em;
  width: 115px;
  border: 0;
  border-radius: 2px;
  background-color: #f6f6f6;
  padding: 5px;
}

.wnyc-search form input[type="submit"] {
  background: transparent url('../../../media/img/wnyc/wnyc_sprite.png') no-repeat -65px -150px;
  width: 20px;
  height: 35px;
  text-indent: -99999px;
  transition: opacity 0s linear 500ms;
  -moz-transition: opacity 0s linear 500ms;
  -webkit-transition: opacity 0s linear 500ms;
  -o-transition: opacity 0s linear 500ms;
  border: none;
  cursor: pointer;
  margin: 0;
  font-size: 1.05em;
}

.wnyc-search form input[type="submit"]:hover {
  background-position: -95px -150px;
}

/* login */
#header_container #header_login {
  text-align: right;
  margin-top: 0.3em;
  color: #999;
}

#header_container #header_login .user-login a {
  margin-left: 20px;
}

/* donate button */
#header_container #header_donatenow {
  background-color: #009900;
  color: white;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  padding: 5px 10px;
  text-decoration: none;
  margin-top: 2.7em;
  font-size: .95em;
  display: block;
}

#header_container #header_donatenow:hover {
  background-color: #008700;
}

#header_container #header_login li{
  float: left;
}

#header_container #header_login .user-welcome {
  padding-right: 10px;
}

#header_container #header_login .last {
  border: 0;
}

#header_container #header_login .user-welcome,
#header_container #header_login .user-logout,
#header_container #header_login .user-login {
  font-size: .95em;
}

#header_container #header_login a {
  text-decoration: none;
  margin: 0px 3px 0px 3px;
  color: #999;
}

#header_container #header_login a:hover{
  color: #444;
}

#universal-nav #sites li.wnyc a {
  color: #fff;
}

.media_buttons a.button.commentlink {
  background-image: url('../../../media/img/icons/comments_wnyc.gif');
}


#masthead {
  margin-right: 10px;
  position: relative;
  padding-top: 31px;
  height: 89px;
}

#masthead .admessage {
  position: absolute;
  top: 1px;
  right: -6px;
  font-size: 8pt;
  line-height: 8pt;
  color: #999999;
  text-align: right;
  padding: 0px !important;
  margin: 0px !important;

}

#masthead .masthead-ad {
  position: absolute;
  width: 264px;
  height: 33px;
  top: 23px;
  left: 365px;
}

#logo h1 {
  background: transparent url('../../../media/img/wnyc/wnyc_hmpg_sprite.png') no-repeat scroll -10px -338px;
  font-size: 0;
  height: 89px;
  text-indent: -99999px;
  margin-bottom: 0px;
}

.show_header {
  background: #999;
  color: white;
  font-size: 14pt;
  text-indent: 20px;
  height: 107px;
  line-height: 60px;
}

.main,
.show-main {
  margin-bottom: 20px;
  margin-right: 0; /* rather than adding 'omega' to .main in all templates */
}

span.wnyc {
  color: #cc0033;
}

#mobile-app-ad-inner {
  background-color: #e21f27;
  text-shadow: 1px 2px #9f1117;
}

#mobile-app-ad a#dismiss:hover {
  background-color: #9f1117;
}

/* Popular Stories - Story Page */

.popular-list li.popular-listitem {
  background: #fff;
  border: 1px solid #eee;
  -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
     -moz-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
  width: 99%;
}

.popular-listitem .title {
  margin: 10px 10px 0 10px;
  font-size: 12pt;
  line-height: 17pt;
}

.popular-listitem .title a {
  color: #333;
  display: block;
}

.popular-listitem .title a:hover {
  text-decoration: none;
  color: #777;
}

.popular-listitem .showtitle a {
  color: #999;
}

/* Sliders */

.siteslider-container {
  border-top: 1px solid #D6D6D6;
  border-bottom: 1px solid #fff;
  background: #d66565 url('../../../media/img/wnyc/slider-bg.gif') repeat-x 0px 0px;
  margin-top: 20px;
}

.siteslider .jcarousel-clip {
  margin: 0px 0px 0px 18px;
  width: 900px;
}

.siteslider ul li {
  margin-left: 4px;
  width: 168px;
  padding: 3px;
}

.siteslider ul li img {
  border: 1px solid #DD0000;
}

.siteslider ul li a, .siteslider ul li a:hover {
  color: #DD0000;
}

.showslider ul li {
  position: relative;
}

/* images */

.enlarge_link {
  background-image: url('../../../media/img/wnyc/enlarge-icon.png');
}

* html .enlarge_link {
  background-image: url('../../../media/img/wnyc/enlarge-icon.gif');
}

#enlarge .close a {
  background-image: url('../../../media/img/wnyc/close.gif');
}

/* audio video */

.article-audioplayer .media_buttons,
.article-audioplayer .transcript,
.article-audioplayer .downloadlink {
  margin-top: 6px;
}

.article-audioplayer {
  background: transparent url('../../../media/img/wnyc/article-player-bg.gif') no-repeat 0px 0px;
}

.article-bottom-tags, 
.article-bottom-appearances, 
.article-bottom-channel {
}

/* article page */

h3.date {
  margin: 5px 0 10px 0;
}

.article-wide, .article-wide p {
  color: #333;
}

.article-wide h2 {
  font-size: 30px;
  line-height: 1.4em;
  color: #111;
  margin: 0;
}

strong {
  font-weight: 500;
}

.image-caption {
  line-height: 1.5em;
}

.comment-text {
  font-size: 13px;
  line-height: 20px;
  color: #555;
}

.comment-author {
  font-size: 13px;
  color: #000;
}

.comment-date {
  color: #999;
}

/* Tag Pages */


h3.date, h3.date a, h3.episode-number,
.channel-item h2.headline,
.channel-item h2.headline a {
  font-weight: 300;
}



/*blocks*/

h4.noise,
.show-nav h4,
#archive-list h4 a {
  color: #dd0000;
}

.flatpage-nav ul li a {
  color: #dd0000;
}

/* COMMENTS */

.staff-comment {
  border-top: solid 4px #e11837;
}

.comment-thread, 
.comment-guidelines,
.comment-thread input {
}

#google_ads_div_wnyc_popdown_ad_container, /* homepage */
#google_ads_div_wnyc_popdown_inner_ad_container { /* inner pages */
  /*temporary hack to stop google ads from forcing a height*/
  height: auto!important;
  width: auto!important;
  display: block!important;
}

#wnyc_popdown {
  text-align: center;
}

#wnyc_popdown {
  display: none;
}

#wnyc_mobile_popdown {
  text-align: center;
}

#wnyc_mobile_popdown{
  display: block;
}

@media screen and (min-width: 800px) {
  #wnyc_popdown {
    display: block;
  }

  #wnyc_mobile_popdown{
    display: none;
  }

}

/* Social Media Sidebar */

#social-media-chunk {
  padding-top: 25px;
  margin-bottom: 10px;
}

#social-media-chunk h2 {
  width: 105px;
  height: 9px;
  background: transparent url('../../../media/img/wnyc/home-follow.png') no-repeat 0px 0px;
  text-indent: -99999px;
  margin-bottom: 12px;
}

#social-media-chunk ul {
  height: 22px; 
}

#social-media-chunk li {
  float: left;
  margin-right: 5px;
}

#social-media-chunk li a {
  width: 22px;
  height: 22px;
  background: transparent url('../../../media/img/wnyc/home-follow.png') no-repeat 0px -22px;
  display: block;
  text-indent: -99999px;
}

#social-media-chunk li.twitter a {
  background-position: -26px -22px;
}

#social-media-chunk li.flickr a {
  background-position: -54px -22px;
}

/* Show homepage */

#show-top-tout {
  border-bottom: 1px solid #dd0000;
  border-top: 1px solid #dd0000;
}

#show-top-tout a {
  color: #dd0000;
  background: url('../../../media/img/wnyc/widgets/top-tout-arrows.png') no-repeat center right;
}

#show-top-tout a:hover {
  background: url('../../../media/img/wnyc/widgets/top-tout-arrows-hover.png') no-repeat center right;
}

#show-top-tout h3.subtitle {
  color: #dd0000;
}

#current-episode h4.date {
  color: #dd0000;
  border-right: 2px solid #dd0000;
}

#current-episode .content {
  border-left: 4px solid #dd0000;
}

ul.storylinks li a,
ul.series-navlinks li a {
  background: transparent url('../../../media/img/wnyc/widgets/list-arrow.gif') no-repeat center left; 
}

#archive-list.with-promo-sidebar {
  width: 380px;
}

/* */
#listen-fm {
  display: none;
  z-index: 3;
  position: absolute;
  left: 109px;
  top: 28px;
  width: 300px;
  padding: 10px;
  color: #fff;
  background-color: #b3b3b3;
}

/* Polls */  /* horizontal layout */

.poll p.results a {
  color: #e21e26;
}

.poll .vote ul li a {
  background-color: #e21e26;
}

/* Events */

.events .event-date h3.date,
.event-full h3.date {
  color: #e11837;
  padding: 7px 0 10px;
}

/* Calendar */

.events-calendar .today, .events-calendar td.today a, .events-calendar td.today a:link, .events-calendar td.today a:visited {
  background: #e11837;
}

.events-calendar td a:hover, .events-calendar td a:active {
  background-color: #e11837;
}

/* BL Census homepage */

#census-home .block {
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px dotted #ccc;
}

#census-home-right .block {
  margin-bottom: 20px;
  border: 0;
}

#census-home .block h2.title {
  font-size: 24px;
  font-weight: 400;
  clear: none;
}

#census-home h4,
#census-home-right h4 {
  text-transform: uppercase;
  font-weight: bold;
  margin: 5px 0;
  color: #dd0000;
}

#census-home .latest-audio .media_buttons {
  margin-top: 10px;
}

#census-home #crowdsourcing,
#census-home .sub_masthead p {
  padding: 10px 15px;
  background-color: #f6f6f6;
  border-left: 1px solid red;
}

#census-home .sub_masthead p {
  font-style: italic;
  margin: 15px 0 5px;
}

#census-home form.survey textarea {
  width: 265px;
}

#census-home #crowdsourcing .flickr_badge_image img {
  margin-left: 1px;
  padding: 4px;
}

#census-home #crowdsourcing #flickr_badge_image1.flickr_badge_image img { /* first image */
  margin-left: 0;
}

.img-headlines {
  position: relative;
}

.show_header {
  margin-bottom: 20px;
}

.show_header_linkroll {
  margin-bottom: 32px;
  float: left;
}

.show_featured {
  float: left;
  clear: both;
  width: 100%;
  margin: 0 0 18px 0;
}

.show_featured li {
  width: 138px;
  height: 150px;
  float: left;
  margin: 0 0 0 22px;
  overflow: hidden;
  font-size: 13px;
  line-height: 18px;
}

.show_featured li:first-child {
  margin: 0;
}

.show_featured_image {
  width: 140px;
  height: 80px;
  overflow: hidden;
  margin-bottom: 5px;
}

.show_episode_list p {
  line-height: 23px;
}

.show_episode_list h4.noise {
  clear: both;
  margin-bottom: 20px;
}

.show_featured h4.noise {
  margin-bottom: 25px;
}

.sideblock h4 {
  margin: 40px 0 15px;
}

.horizontal_linkroll li {
  margin-right: 30px;
}

.show_archive_list .segment-tease h2.title,
.show_archive_list .episode-tease h2.title,
.show_archive_list .show-tease h2.title,
.show_archive_list .event-tease h2.title,
.show_archive_list .tiny-tease h2.title,
.show_archive_list .blurb-tease h2.title,
#current-episode h2.title,
#episode-override h2.title {
  font-size: 18pt;
  font-weight: 400 !important;
  clear: none;
  margin-bottom: 5px;
}

.archive_more {
  clear: both;
  float: right;
  margin-top: 30px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.show-main .page-titlegroup {
  border: 0;
}

.show_episode_list .mceGuest {
  background: 0;
  padding: 0;
  font-weight: bold;
}

.read_more {
  text-transform: uppercase;
  font-size: 11px;
  clear: both;
}

.show_archive_list .date {
  margin-bottom: 17px;
}

.show_archive_list .read_more:after {
  content: " \0BB";
}

.show_archive_list .media_buttons {
  margin: 30px 0 0;
}

.horizontal_linkroll li.edit-item a {
  color: black;
}

iframe.datanewswidget {
  width: 100%;
  border: none;
  overflow: hidden;   /* this could go horribly wrong, but ideally it should
                         prevent scrollbars from appearing during resize events */
}

#comments-wrapper button {
  width: 210px;
  padding: 12px;
}