/*
Theme Name: National News Watch
Description: National News Watch
Author: Jean-Benoit Lesage
Author URI: http://jblesage.com/
Version: 1.0
*/

@import url('static/css/bootstrap.min.css'); 
@import url('static/css/bootstrap-responsive.min.css');

body {
	line-height: 140%;
	font-size: 13px;
	height: 100%;
}
a {
	color: #da0000;
}
a:hover {
	text-decoration: none;
	color: #790000;
}
a:focus {
	outline:none;
	text-decoration: none;
}
h1 a,
h2 a,
h3 a,
h4 a,
a h4,
h5 a,
a h5 {
	color: #000;
}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
a:hover h4,
h5 a:hover,
a:hover h5 {
	color: #da0000;
}
h1 {
	line-height: normal;
	margin: 0px 0px 5px 0px;
}
h2 {
	font-size: 220%;
	line-height: 110%;
	margin: 0px 0px 5px 0px;
}
h3 {
	font-size: 140%;
	line-height: 110%;
	margin: 0px 0px 5px 0px;
}
h4 {
	font-size: 130%;
	line-height: 120%;
	margin: 0px 0px 5px 0px;
}
h5 {
	line-height: 120%;
	margin: 0px 0px 5px 0px;
}
.center {
  text-align: center;
}
.left {
  float: left;
}
.right {
  float: right;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.ib {
  display: inline-block;
  vertical-align: top;
  visibility: visible;
}

/* ==================================================================== */

.twitter-typeahead input {
  vertical-align: middle !important;
}

.tt-dropdown-menu {
  background-color: #fff;
  width: 206px;
  border: 1px solid #eee;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 5px;
  padding: 5px 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
  -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
  box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-is-under-cursor p {
  background-color: #da0000;
  color: #fff;
}

.tt-dropdown-menu p {
  margin: 0;
  padding: 5px 10px;
}

/* ==================================================================== */

section.row-top {
	border-width: 10px 0px;
	padding: 10px 0px 10px 0px;
}
.sectionhead {
	background-color: #da0000;
	padding: 10px;
	margin: 0;
	display: block;
	color: #fff;
	text-transform: uppercase;
	font-size: 100%;
	font-weight: 200;
	letter-spacing: .125em;
}
.sectionhead a {
	color: #fff;
}
.sidebar {
  margin-top: 10px;
}
.top {
  margin-top: 10px;
}

/* ==================================================================== */
/* Features */

.features,
.subfeatures {
	border-top: 2px solid #da0000;
	padding: 0;
	margin: 0;
}
.subfeatures {
	margin-bottom: 10px;
  border-bottom: 2px solid #da0000;
}
.features h2 {
	padding-top: 10px;
}
.features h3,
.subfeatures h3 {
	padding-top: 5px;
}

.features .right .related-stories {
  margin-top: 10px;
}
.features .left .thumb img {
  margin: 10px 0;
}

.features article,
.subfeatures article {
  border-left: 2px solid #da0000;
  padding-left: 10px;
}
.features .feature:first-child,
.subfeatures .subfeature:first-child article {
  border-left: 0;
  padding-left: 0;
}

.features article .title,
.features article .excerpt,
.subfeatures article .title,
.subfeatures article .excerpt {
	width: 90%;
}

.features .right .thumb,
.subfeatures .thumb {
	height: 90px !important;
	margin-bottom: 5px;
	overflow: hidden;
}
.features .right .thumb img,
.subfeatures .thumb img {
  margin: 8px 0 5px;
}

.features .sectionhead {
  margin-bottom: 10px;
}
.features a.related {
  color: #000;
  font-weight: bold;
}

/* ==================================================================== */

.breaking-news {
  margin-top: 10px;
  border: 1px solid #3B465C;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.breaking-news-preamble {
  background-color: #3B465C; 
  color: #fff;
  padding: 12px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

.breaking-news .carousel {
  margin: 0;
  padding: 12px 10px 10px 20px;
  line-height: 1.3;
}

.breaking-news .carousel a {
  color: #000;
  font-weight: bold;
  font-size: 15px;
}

.breaking-news .carousel a:hover {
  color: #da0000;
}

/* ==================================================================== */

.mailchimp-form {
  margin: 20px 0;
  padding: 20px 0 0;
  border-top: 2px solid #da0000;
  border-bottom: 2px solid #da0000;
}

.mailchimp-form h3 {
  margin-bottom: 10px;
}

.mailchimp-form .close {
  margin-top: -15px;
}

/* ==================================================================== */

.post-list article, .post-list-minimal article {
	border-top: 2px solid #da0000;
	margin-bottom: 5px;
	padding-top: 0px;
}

article p {
  font-size: 14px;
  line-height: 18px;
}

.news .article:first-child {
  border-top: 0;
}

.category-link-container {
  margin: 10px;
  text-align: center;
}

a.category-link {
  background-color: #da0000;
  padding: 5px 10px;
  color: #fff;
  margin-bottom: 10px;
}

.category-orderby {
  float: right;
  width: 215px;
  margin-top: -40px;
  margin-right: -8px;
}

.category-orderby small {
  float: left;
  font-style: italic;
  margin: 9px 10px 0 0;
}

.category-orderby .nav {
  margin-bottom: 0;
}

.meta {
  color: #666;
}

#searchform label {
  display: none;
}

#searchform #s {
  margin-top: 10px;
}

#searchform div {
  width: 300px;
  margin: 0 auto 10px;
}
/* ==================================================================== */
/* Single Article */

.byline {
  background-color: #eee;
  padding: 7px;
  margin-bottom: 20px;
  margin-top: -10px;
}

.byline p {
  margin-bottom: 0;
}

.featured-image {
  margin: 20px 0;
  text-align: center;
}

.post-thumbnail-caption {
  background: #eee;
  color: #333;
  padding: 10px;
  margin: auto;
  margin-bottom: 15px;
  font-size: 95%;
}

.large-external-link {
  clear: both;
}

article p {
  margin-bottom: 15px;
}

div.related-stories {
  background-color: #eee;
  border-top: 5px solid #da0000;
  border-bottom: 1px solid #da0000;
  margin-bottom: 15px;
}

div.related-stories h3 {
  margin: 10px;
  color: #da0000;
}

.features ul.related-stories {
  margin-left: 0;
}
ul.related-stories {
  margin-left: 30px;
}

ul.related-stories li {
  color: #da0000;
}

ul.related-stories a {
  color: #000;
  font-weight: bold;
}

ul.related-stories a:hover {
  color: #da0000;
}

/* ==================================================================== */
/* Post-Lists */

article.list h4 {
  padding: 5px 0px 0px 0px;
}
article.list .thumb {
	height: 80px !important;
	overflow: hidden;
  margin-top: 8px;
}

/* ==================================================================== */
/* Post-Lists-Minimal */

article.minimal {
	border-width: 1px 0px 0px 0px;
}
article.minimal h5 {
	font-size: 100%;
	padding-top: 5px;
}
article.minimal .thumb {
	height: 50px !important;
	overflow: hidden;
  margin-top: 5px;
}

/* ==================================================================== */
/* Thumbnails */

a.thumbnail:hover {
  border-color: #da8000;
}

/* ==================================================================== */
/* Top Topics */

.topics {
  margin-left: 0;
}
.topics li {
  list-style-type: none;
  text-align: center;
  padding: 5px;
  border-bottom: 1px solid #da0000;
  font-size: 14px;
}
.topics li a {
  color: #000;
  font-weight: bold;
}
.topics li a:hover {
  color: #da0000;
}

/* ==================================================================== */

.ad-group {
	text-align: center;
	margin-bottom: 10px;
}

.half-banners, .mid-leaderboard {
  border-bottom: 2px solid #da0000;
  padding-bottom: 10px;
}

.row-top .ad-group {
	margin-bottom: 0;
}
.row-top .ad-group .leaderboard:first-child {
	margin-bottom: 10px;
}

/*
.mobile-leaderboard {
  height: 50px; width: 320px; border: 1px solid #000; margin: auto;
}
.large-rectangle {
  height: 280px; width: 336px; border: 1px solid #000; margin: auto;
}
.bigbox {
  height: 250px; width: 300px; border: 1px solid #000;
}
.wide-skyscraper {
  height: 600px; width: 160px; border: 1px solid #000; margin: auto;
}
.square {
  height: 250px; width: 250px; border: 1px solid #000; margin: 10px auto;
}*/

/* ==================================================================== */

.cartoon {
	border-width: 0px 1px 1px 1px;
	height: 190px;
	overflow: hidden;	
}
.cartoon a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ==================================================================== */
/* Footer */

footer {
	background-color: #da0000;
	color: #fff;
	padding: 30px;
	margin-top: 20px;
}
footer a {
	color: #fff;
}
footer .brand {
	margin: 0px 0px 10px 0px;
}


/* ==================================================================== */
/* Bootstrap Overrides */

.brand {
	padding: 0px 10px 0px 0px;
	margin: 0;
}
.brand img {
  margin-bottom: 10px;
}
.navbar {
  margin-bottom: 0;
}
.navbar .btn-navbar {
  margin-top: -50px;
  background: #da0000;
}
.navbar .btn-navbar:hover {
  background: #292F3C;
}
.navbar .btn-navbar p {
  float: left;
  margin-bottom: 0;
  line-height: 1;
}
.navbar .btn-navbar p.menu {
  margin-right: 10px;
}
.navbar .navbar-inner {
  background: #da0000;
  min-height: 0;
  border: 0;
  filter: none;
}
.navbar .nav {
	font-weight: bold;
	font-size: 110%;
	text-transform: uppercase;
}
.navbar .nav li {
	border-left: 1px solid #da0000;
}
.navbar .nav li:first-child {
  border-left: 0;
}
.navbar .nav li a {
	color: #fff;
  text-shadow: none;
}
.navbar .nav li a:hover {
  color: #fff;
	background-color: #292F3C;
}
.nav-pills>.active>a, .nav-pills>.active>a:hover, .nav-pills>.active>a:focus {
  background-color: #da0000;
}

.accordion article {
  border-top: 2px solid #da0000;
}

.post.accordion {
	padding: 0;
	margin: 0;
}

.accordion-heading .accordion-toggle {
	padding: 10px 0px;
}
a.accordion-toggle.collapsed h5 {
	background-image: url('/wp-content/themes/nnw/static/img/chevron-down.png');
	background-repeat: no-repeat;
	background-position: 100% 50%;
}
a.accordion-toggle h5 {
	background-image: url('/wp-content/themes/nnw/static/img/chevron-up.png');
	background-repeat: no-repeat;
	background-position: 100% 50%;
	padding: 0px 30px 0px 0px;
	margin: 0;
}
a.accordion-toggle:hover h5 {
	*color: #fff;
}
.chevron {
	float: right;
}
.accordion-inner {
	padding: 0px 0px 10px 0px;
	border: none;
}

/* ==================================================================== */
/* Responsiveness */

/* Large desktop */
@media (min-width: 1200px) {
  body {
    font-size: 14px;
  }
  .ad-group-large-desktop {
    display: block;
  }
  .ad-group-normal-desktop {
    display: none;
  }
  .ad-group-mobile {
    display: none;
  }
  .non-large-desktop {
    display: none;
  }
  .span4.cartoon {
    height: 90px;
    border: 0;
  }
  .span4.cartoon h4 {
    float: left;
    width: 30%;
    line-height: 90px;
    padding: 0 10px;
    text-align: center;
  }
  .span4.cartoon h4 a {

  }
  .span4.cartoon .link-cartoon {
    float: right;
    width: 64%;
  }
  .above-header {
    margin-bottom: 10px;
  }
  .brand img {
    margin-top: 10px;
  }
  .featured-image.small {
    margin: 0 15px 0 0;
    float: left;
    text-align: left;
  }
}
@media (min-width: 980px) and (max-width: 1199px) {
  .excerpt p {
    font-size: 13px;
  }
	.navbar .nav {
    font-size: 90%;
  }
  .navbar-form input[type=text] {
    width: 170px;
  }
  .category-orderby {
    float: none;
    margin-top: 0;
  }
	.span4.cartoon {
    width: 190px !important;
  }
	.span8.leaderboards {
    width: 730px;
  }
  .ad-group-large-desktop {
    display: none;
  }
  .ad-group-normal-desktop {
    display: block;
  }
  .ad-group-mobile {
    display: none;
  }
  .above-header {
    display: none !important;
  }
  .featured-image.small {
    margin: 0 15px 0 0;
    float: left;
    text-align: left;
  }
}
     
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
  h2 { font-size: 160%; }
  h3 { font-size: 120%; }
  h4 { font-size: 120%; }
  h5 { font-size: 120%; }
  h2, h3, h4, h5 {font-weight: 400;}
  .subfeatures .thumb { 
    height: 50px !important; 
    width: 50px !important; 
  }
  .excerpt p {
    font-size: 12px;
    display: none !important;
  }
  .category-orderby {
    float: none;
    margin-top: 0;
  }
  .navbar .nav {
    margin-top: 10px;
  }
  .navbar .nav li {
    border-left: 0 !important;
  }
  .cartoon {
    display: none !important;
  }
  .homepage-content .first { 
    min-width: 400px; 
  }
  .homepage-content .second { 
    min-width: 300px; 
  }
  .homepage-content .third { 
    min-width: 300px;
    margin-left: 420px;
  }
  .row-top .leaderboards {
    width: 100%;
    margin: 0 !important;
  }
  .homepage-content .first .thumb {
    height: 50px !important;
  }
  .ad-group-large-desktop {
    display: none;
  }
  .ad-group-normal-desktop {
    display: block;
  }
  .ad-group-tablet {
    display: block;
  }
  .ad-group-mobile {
    display: none;
  }
  #searchform #s {
    width: 140px;
  }
}
     
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
  h2 { font-size: 140%; }
  h3 { font-size: 140%; }
  h4 { font-size: 120%; }
  h5 { font-size: 120%; }
  h4, h5 {font-weight: 400;}

  .cartoon,
  .excerpt {
    display: none !important;
  }
  .category-orderby {
    float: none;
    margin-top: 0;
  }
  .navbar .nav {
    margin-top: 10px;
  }
  .navbar .nav li {
    border-left: 0 !important;
  }
  .brand img { 
    width: 300px;
  }
  .features .related-stories li {
    width: 100%;
  }
  .subfeatures {
    margin-top: 0;
  }
  .features article,
  .subfeatures article {
  	box-shadow: none;
  	border-bottom: 0;
  	min-height: 80px;
    border-left: 0;
    padding-left: 0;
  }
  .features .right article, .subfeatures article {
    border-top: 2px solid #da0000;
    padding-bottom: 10px;
  }
  .features .feature:first-child,
  .subfeatures .subfeature:first-child article {
    border-top: 0;
  }
  .features .thumb img, .subfeatures .thumb img {
    margin-left: 0;
  }
  .thumb {
  	width: 23.404255319148934% !important;
  	float: left !important;
  	display: inline-block;
  	margin-right: 10px;
  	margin-bottom: 0 !important;
  	overflow: hidden;
  }
  .twitter {
    display: none;
  }
  .ad-group div {
  	margin-top: 5px;
  }
  .ad-group div:first-child {
  	margin-top: 0;
  }
  .ad-group-large-desktop {
    display: none;
  }
  .ad-group-normal-desktop {
    display: none;
  }
  .ad-group-tablet {
    display: block;
  }
  .ad-group-no-mobile {
    display: none;
  }
  .ad-group-mobile {
    display: block;
  }

  .breaking-news .carousel {
    padding-left: 10px;
  }
  .breaking-news .carousel .item {
    text-align: center;
  }
}
     
/* Landscape phones and down */
@media (max-width: 480px) {
  .brand img { 
    width: 250px;
  }
  .navbar .btn-navbar {
    margin-top: -45px;
  }
  .ad-group-no-mobile {
    display: none;
  }
  .ad-group-mobile {
    display: block;
  }  
  .ad-group-tablet {
    display: none;
  }
}

/* iPhone, iPod Touch @320 */
@media (max-width: 325px) {
  body {
    padding: 0;
  }
  .navbar .btn-navbar {
    margin-top: -40px;
  }
  .brand img {
    width: 220px;
    margin-left: 5px;
  }

  .navbar .btn-navbar {
    margin-bottom: 10px;
  }

  .mobile-leaderboard {
    width: 318px;
  }
}

















