/*
Theme Name: China South of the Clouds custom child theme
Template: journalist
*/


/*
Theme Name: Journalist
Theme URI: http://lucianmarin.com/
Description: Journalist is a smart, minimal theme designed for professional journalists.
Version: 1.9
Author: <a href="http://lucianmarin.com/">Lucian E. Marin</a>
Tags: white, two columns, fixed width, light, minimal
For the WordPress community (GPL), enjoy it guys.
by Lucian E. Marin - lucianmarin.com
*/

body {
background:#fff url("images/top_gray.gif") repeat-x;
background-color: #f8f8f8;
font-family: Palatino, "Times New Roman", Times, serif;  
font-size:16px;
color:#222;
padding:0;
margin:0;
}

* {
padding:0;
margin:0;
}

a {
color:#047;
text-decoration:underline;
}

a:hover {
color:#c00;
}

/* override bootstraps heading margins */
h1, h2, h3, h4, h5, h6 {
	margin: 0;
}

.endbreak {
  /*display: none;*/ /*why was this display:none?;*/
  /*width: 645px;*/
  color: #888;
  text-align: center;
  margin: 0px 0 21px 0;
  font-size: 24px;
}


/*#container {
width:911px;  //this has nothing to do with the '911' event 
margin:0 auto;
position:relative;
}*/

#container {
  background-color: white;
  background:#fff url("images/top.gif") repeat-x;
}

.container-narrow {
  /*max-width: 820px;*/
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;

}

#container h1 {
	font-size: 40px;
	font-weight: bold;
	letter-spacing: -1px;
	/*width:645px;*/
	padding:32px 0 25px 0;
	font-family: Georgia; 
	text-align: center;
  
 /*   background-origin: padding-box;
  webkit-background-origin: padding-box;*/

}

#container h1 a {
/*color: #b00000;*/
text-decoration:none;
}

#container h1 a:hover {
color:#c00;
}



.tagline {
  text-align: center;
  margin-top: -15px;
  margin-bottom: 15px;
  font-style: italic;
  color: #555;
  font-size: 18px;
}



.bottomnav {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 110%;
  padding: 15px 0;
  border-top: 1px solid darkgray;
  background: #e0e0e0; /* Old browsers */
  background: -moz-linear-gradient(top,  #e0e0e0 0%, #ededed 7%, #eeeeee 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e0e0e0), color-stop(7%,#ededed), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #e0e0e0 0%,#ededed 7%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #e0e0e0 0%,#ededed 7%,#eeeeee 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #e0e0e0 0%,#ededed 7%,#eeeeee 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #e0e0e0 0%,#ededed 7%,#eeeeee 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
}

.bottomnav a {
  color: #383838;
  text-decoration: none;
}

.bottomnav a:hover {
  color: #383838;
  text-decoration: underline;
}

.bottomnav li {
  padding: 5px 0;
  list-style-type: none;
}

.bottomnav .categories {
  font-size: 89%;
}

.bottomnav .categories li {
   padding: 2px 0;
}


/*************** SIDEBAR *************/



#sidebar {
  font-size: 13px;
  /*float:right;*/

  /*border-left:#999 1px solid;*/
  /*padding:0 0 20px 15px;*/
  /*margin:0 0 20px 0;*/
  line-height: normal;
  margin-left: 11px;

  padding: 22px 15px 13px 15px;
  background-color: #f8f8f8;
}



@media(min-width: 917px) {
  #sidebar {
    width: 145px;
    float: right;
    margin-right: -13px;
  }
}

@media (max-width: 916px) { 
  #sidebar {
    width: 100%;
  }

}


#sidebar h3 {
font-size: 14px;
margin:20px 0 5px 0;
line-height: normal;
}

#sidebar ul {
list-style:none;
margin-left: 0;
margin-bottom: 0;
}

#sidebar ul ul {
margin:5px 0 0 10px;
}

#sidebar ul ul ul {
margin:5px 0 0 10px;
}

#sidebar ul li {
padding:0 0 5px 0;
line-height: normal;
}

#sidebar #tagline h3 {
  font-style: italic;
  line-height: 150%;
  font-size: 21px;
  margin-top: 0;
}


/*************** ISSUE PAGE *************/

.feature-pane {
  border-radius: 0;
  position: relative;
  padding: 0;
}


.hero-article-link {
  position: absolute;
  padding: 15px 30px;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
  bottom:0px;
  right:0px;
}

.hero-article-link a {
  font-size: 24px;
  text-decoration: none;
  color: white;
}


.sticky {
/*	float: right;
	width: 100%;*/
}


@media (min-width: 1200px) {
	.sticky {
		/*width:645px;*/
	}
}


.sectionbreak {
  /*width: 645px;*/
  color: #888;
  text-align: center;
  margin: -6px 0 11px 0;
  margin-top: -6px;
  background-image: url(images/sectionbreak.png);
  background-position: 50% 80%;
  font-size: 24px;
  /*float: right;*/
  background-repeat: no-repeat;
}



div.issue-title {
  font-family: Georgia, Times, serif;
  background-color: #047;
  color: white;
  width: 100%;
  padding: 0 auto;
  margin-bottom: 5px;

}

div.issue-title h2 {
  line-height: 150%;
  margin: 0;
  padding: 2px 9px;
  text-transform: uppercase;
  font-size: 88%;
  letter-spacing: 0.1em;

}



.article-subpane {
  font-size: 120%;
  min-height: 68px;
  padding-left: 4px;
  padding-top: 10px;
  margin-top: 5px;
}

.article-subpane .bullet {
  color: #888;
}

div.article-subpane .deck {
  font-size: 0.8em;
  margin: 4px 5px 0 19px;
  font-style: italic;
  
}

div.article-subpane .subpane-icon-image {
   float: left;
   margin: 0 8px 0 0;
}

div.article-subpane.bgimage {

}


/*************** ARTICLE PAGE *************/

/*div#article-wrapper {
  margin-right: 10px;
}*/

#dateline {
  margin: 0 0 21px 0;
  font-style: italic;
}

#content h2 {
  text-align: left;
  font-size:32px;
  margin: 5px 0 2px 0;
  font-weight: bold;
  font-style: italic;
  word-spacing: -2px;
}


#content h2 a {
color:#333333;
text-decoration:none;
}

#content h2 a:hover {
color:#c00;
}

#content h2.archive {
font-weight:normal;
font-size:22px;
color:#1c1c1c;
padding:0;
margin:5px 0 20px 0;
border:none;
text-align:left;
}

.main h3 {
font-size:16px;
/*font-weight:normal;*/
margin:0 0 15px 0;
}


p.main-image {
  text-align: center;
}

.main a img, .main img {
/*padding:2px;*/
// border:#0085b5 2px solid;
/*margin-bottom: 21px;*/
margin-left: -4px;}

.main a:hover img {
//border:#ca0002 2px solid;
}

.main p {
line-height:24px;
margin: 0 0 21px 0;
padding: 0 0 0 5px
}

.main ol {
line-height:18px;
margin:0 0 15px 30px;
}

.main ul {
line-height:18px;
margin:0 0 15px 30px;
}

.main li {
margin:0 0 5px 0;
}

.meta {
background:#f3f3f3;
font-size:11px;
line-height:15px;
color:#333;
padding:5px 10px;
margin:0 0 30px 0;
border-top:#bbb 1px solid;
}

.signature {
float:left;
padding:0 15px 0 0;
border-right:#bbb 1px solid;
width:200px;
}

.tags {
float:left;
padding:0 0 0 15px;
width:380px;
}


#author h3 {
  margin:5px 0 5px 0;
}

#sharepanel {
  float: right;
}

#sharepanel .fb-like {
  top: -4px;
}

#sharepanel .twitter-share-button {
  font-size: 10px;
}


/* fix image hardcoded witdths breaking responsive layout 
   http://wordpress.stackexchange.com/questions/32931/removing-image-and-caption-dimension-attributes 
*/

.entry-content img,
.comment-content img,
.widget img {
    max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"] {
    height: auto; /* Make sure images with WordPress-added height and width >attributes are scaled correctly */
}
img.size-full {
    max-width: 97.5%;
    width: auto; /* Prevent stretching of full-size images with height and >>width attributes in IE8 */
}

.wp-caption { max-width: 100%; }

/**/



/*************** CATEGORY/ARCHITVE PAGE *************/


.archive .feature-pane {
  margin-bottom: 8px;
}

.archive h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  /*color: #444;*/
  background-color: #f0f0f0;
  line-height: 33px;
  padding: 4px 8px 0px 8px;
}

.sidebar-archive img {
  margin-bottom: 6px;
}



/*************** ************* *************/

.comments {
color:#333;
margin:0 0 15px 0;
border-bottom:#bbb 1px solid;
}

.comments a {
background:#fff;
padding:0 7px 5px 0;
color:#333;
text-decoration:none;
}

.comments a:hover {
color:#c00;
}

.navigation {
background:#f9f9f9;
font-size:11px;
padding:5px 10px;
margin:0 0 20px 0;
border-top:#bbb 1px solid;
}

.navigation a {
color:#555;
font-weight:bold;
text-decoration:none;
}

.navigation a:hover {
color:#333;
text-decoration:none;
}



#searchform {
margin:15px 0 0 0;
}

#searchform input {
background:#222;
font-size:11px;
margin:2px 0;
padding:1px 4px 2px 4px;
border:#888 1px solid;
color:#eee;
}

#searchform input:hover {
background:#333;
border:#999 1px solid;
color:#fff;
cursor:pointer;
}

#searchform #s {
background:#f6f6f6;
font-size:11px;
margin:2px 0;
padding:2px 4px;
border:#aaa 1px solid;
color:#222;
}

#searchform #s:hover {
border:#c00 1px solid;
cursor:text;
}

input.searchfield {
background:#f6f6f6;
font-size:11px;
display:block;
margin:5px 0 8px 0;
padding:2px 4px;
border:#aaa 1px solid;
color:#222;
}

input.searchfield:hover {
background:#eee;
color:#222;
}

input.submit {
background:#222;
font-size:11px;
display:block;
margin:0 0 10px 0;
padding:1px 4px 2px 4px;
border:#888 1px solid;
color:#eee;
}

input.submit:hover {
background:#333;
cursor:pointer;
border:#999 1px solid;
color:#fff;
}

input.subcom {
background:#eee;
font-size:11px;
margin:0 0 10px 0;
padding:1px 4px 2px 4px;
border:#888 1px solid;
color:#222;
}

input.subcom:hover {
background:#222;
cursor:pointer;
border:#888 1px solid;
color:#eee;
}

input.comment {
background:#f6f6f6;
font-size:11px;
padding:2px 4px;
border:#aaa 1px solid;
color:#222;
}

input.comment:hover {
border:#c00 1px solid;
}

textarea {
background:#f6f6f6;
font-size:12px;
width:400px;
padding:2px 4px;
border:#aaa 1px solid;
color:#222;
}

textarea:hover {
border:#c00 1px solid;
}

.postinput small {
font-size:11px;
margin:0 0 0 5px;
}

p.logged {
font-size:12px;
}

h3.reply {
font-size:15px;
margin:0 0 10px 0;
}

.nocomments {
margin:0 0 30px 0;
}

ol.commentlist {
font-size:12px;
list-style:none;
margin:10px 0 30px 0;
border-bottom:#bbb 1px solid;
}

.commentlist li {
border-top:#bbb 1px solid;
padding:0 0 10px 0;
}

.commentlist li.bypostauthor {
border-top:#bbb 5px solid;
background-color:#f3f3f3;
}

.comment_mod {
margin:10px 0 0 10px;
}

.comment_mod em {
background-color:#fff897;
padding:1px 3px;
}

.comment_author {
margin:10px 0;
float:right;
width:190px;
}

.comment_author img {
float:left;
margin:5px 12px 0 0;
}

.comment_author p {
line-height:20px;
}

.comment_author small {
font-size:11px;
}

.comment_text {
float:left;
width:470px;
margin:0 0 0 10px;
}

.comment_text p {
line-height:18px;
margin:7px 0;
}

.comment_meta {
font-size:12px;
}

#commentform p {
line-height:18px;
margin:0 0 15px 0;
}

blockquote {
background:url(images/quote.gif) no-repeat top left;
padding:0 0 0 60px;
min-height:50px;
}

#footer {
background:#eee;
font-size:11px;
color:#555;
margin:0 auto;
padding:10px 0;
text-align:center;
position:relative;
border-top:#bbb 1px solid;
border-bottom:#222 6px solid;
}

#footer a {
color:#555;
font-weight:bold;
text-decoration:none;
}

#footer a:hover {
color:#333;
text-decoration:none;
}

.clear {
clear:both;
}

.warning p {
background:url(images/warning.gif) no-repeat left;
height:160px;
padding:20px 0 0 90px;
font-size:20px;
margin:0 0 0 10px;
}

#wp-calendar {
padding:10px 0 0 0;
font-size:12px;
}

#wp-calendar caption {
text-align:left;
padding:0 0 5px 0;
}

#wp-calendar tr th,
#wp-calendar tr td {
padding:0 6px 0 0 ;
text-align:right;
}

#wp-calendar td a {
font-weight:bold;
}

#wp-calendar td a:hover {
font-weight:bold;
}

img.wp-smiley {
padding:0;
border:none;
}

input:focus, textarea:focus{
background-color:#ffc;
}

abbr {
border:none;
}

.aligncenter {
display: block;
margin-left: auto !important;
margin-right: auto !important;
}

.alignleft {
float:left;
}

.alignright {
float:right;
}

.wp-caption {
/*border:1px solid #ddd;*/
width: 100%;
padding-top:4px;
margin-bottom:15px;
-moz-border-radius:3px;
-khtml-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
/*width: 645px !important; */
/*padding-left: 5px;*/
}

.wp-caption img {
margin:0;
padding:0;
border:0 none;
}

.wp-caption-dd {
font-size:11px;
line-height:17px;
padding:0 4px 5px;
margin:0;
}

.main p.wp-caption-text {
  text-align:center;
  font-size: 15px;
  font-style: italic;
  margin: 4px 0 0 0;
  color: #333;
}

#bubble {
top:40px;
right:0;
position:absolute;
display:block;
height:28px;
background:url(images/bubble_right.gif) no-repeat right;
}

#bubble p {
display:block;
font-size:11px;
color:#fff;
height:28px;
padding:4px 12px 0 10px;
background:url(images/bubble_left.gif) no-repeat top left;
}


/* self-clear floats */

.group:after {
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}

/* IE Hacks */

*html #bubble {
display:none;
}

*html #bubble p {
display:none;
}

* html .group,
* html #nav ul li a {
height: 1%;
}

*:first-child+html .group {
min-height: 1px;
}

* html #nav ul li a {
display: inline;
}
