/*  
Theme Name: journalism.sg Theme
Theme URI: http://journalism.sg/
Description: Theme for journalism.sg portal site.
Version: 1.0
Author: Lin Junjie
Author URI: http://journalism.sg/
*/

/* journalism.sg */

	html, body {
		margin: 0;
		padding: 0;
		background: #e7e7e7;
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: 0.95em;
		line-height: 1.6em;
		text-align:center; /* hack for ie5.5 */
	}

	html {
		/* http://www.hicksdesign.co.uk/journal/forcing-scrollbars-now-even-better */
		height: 100%;
		margin-bottom: 1px;
	}

	a, a:visited, a:hover {
		text-decoration: none;
		border-bottom: 1px dotted #ccc;
		color: #0083e0;
	}
	
	a:hover {
		border-bottom: 2px solid #008aec;
		color: #333;
	}


	div#container{ text-align:left; } /* reset alignment */

	div#container{
		width:780px;
		margin:0 auto;
		background: #e7e7e7 url("images/background.gif") repeat-y;
		text-align:center;
	}
	div#containerinner{
		width:750px;
		margin:0 auto;
		background: transparent url("images/photo.jpg") no-repeat;
		text-align:left;
	}
	div#content {
		float:right;
		width:470px
	}
	div#navigationwrapper {
		float:left;
		width:250px;
		text-align:center;
		margin-bottom: 3em;
	}

	.extrawrapper {
		float:right;
		width:470px;
		clear:right;
	}
	.extrapost {
		float:left;
		width:235px;
		margin-bottom:1em;
	}
	

	div#footer {
		clear:both;
		width:100%;
		background: #f3f1e9;
		color: #000;
		padding: 10px 0 10px 0;
	}
	div#footer p {
		background: #ddd8c2;
		margin:0;
		padding:5px 10px;
		text-align:center;
		color:#666;
	}
	
	div#navigation {
		margin:10px auto 0 auto;
		width:200px;
		text-align:left;
	}
	
	#navlist {
		margin: 0;
		padding: 0;
		list-style-type: none;
		font-weight: bold;
	}

	#navlist img {
		margin: 10px 15px 10px 15px;
		padding: 0;
		border: 0;
	}

	#navlist a, #navlist a:visited {
		display: block;
		margin: 0;
		padding: 0;
		color: #000;
		text-decoration: none;
		border-bottom: 1px solid #ccc;
	}

	#navlist #navabout { border-bottom: none; }
	#navigation #navlist #navcurrlink { cursor: default; }

	.post { margin-left: 1.5em; }

	div#content h1, .extrawrapper h1 {
		font-size: 1.4em;
		font-weight: bold;
		text-transform: uppercase;
		letter-spacing: 0.2em;
		border-bottom: 1px solid #999;
		margin: 10px 20px 1em 0;
		padding-bottom: 0.3em;
	}

	div#content .bigtitle, div#content .headlines { font-size: 2em; line-height: 1.4em; padding-bottom: 0; margin-bottom: 0.5em; }
	div#content .headlines { letter-spacing: 0em; }

	.post h2 {
		font-size: 1.5em;
		font-weight: bold;
		color: #00487b;
		margin: 0 0 0.4em 0;
		padding: 0;
	}
	
	.post .byline { font-style: italic; }
	
	.post h3 {
		font-size: 1em;
		font-weight: bold;
		text-transform: uppercase;
		display: inline;
	}

	.post h2, .post h2 a, .post h2 a:visited {
		text-decoration: none;
		border: none;
		color: #00487b;
	}
	
	.post h2 a:hover {
		color: #d60201;
	}


	blockquote {
		margin: 15px 30px 0 10px;
		padding-left: 20px;
		border-left: 5px solid #ddd8c2;
		font-style: italic;
		}
		
	.extrawrapper blockquote {
		margin: 15px 20px 0 5px;
		padding-left: 10px;
		font-size: 0.9em;
	}

	div#mailinglist {
		float:right;
		width:470px;
		clear:right;
		margin-bottom:1em;
	}
	
	div#mailinglist .required {
		font-weight: bold;
/*		color: red; */
	}

	/* Begin Images */
	p img {
		padding: 1em;
		max-width: 100%;
		}
	
	.alignright { float: right;	}
	.alignleft { float: left; }
	.aligncenter { margin-left: auto; margin-right: auto; }
	
	.imageframe { position:relative; margin: 0.4em 0; }
	.imageframe a { border:none; }
	.imgalignright { float:right; margin-left:1.2em; }
	.imgalignleft { float:left;	margin-right:1.2em; }
	
	.imagecaption {
		font-size:0.85em;
		color:#000;
		margin:0;
		background:transparent;
		padding:0.3em 0.3em 0 0.3em;
	}
	
	a img { border: none; }
	#header a { border: none !important; }
	
	/* End Images */
	

	.viewall {
		text-transform: uppercase;
		font-weight: bold;
			text-align: center;
		margin-top: 1em;
		margin-bottom: 2em;
	}
	
	.viewall a { padding: 0.5em; background-color: #ddd8c2; }
	
	small {
		font-size: 0.8em;
		line-height: 1.5em;
		}
	
	.postmetadata {
		padding: 0.2em 0 0.2em 0;
	}
	.postmetadata ul, .postmetadata li {
		display: inline;
		list-style-type: none;
		list-style-image: none;
	}
	
	p.alert {
		background: #fff6bf url(images/exclamation.png) center no-repeat;
		border-top: 2px solid #ffd324;
		border-bottom: 2px solid #ffd324;
		}
	
	p.notice {
		background: #f1f4f7 url(images/information.png) center no-repeat;
		border-top: 2px solid #b5d4fe;
		border-bottom: 2px solid #b5d4fe;
		}
	
	p.alert, p.notice {
		background-position: 15px 50%; /* x-pos y-pos */
		text-align: left;
		padding: 5px 20px 5px 45px;
		}
	
	
	/* give spacing to the right and bottom */
	
	div#content { padding-right: 30px; padding-bottom: 30px; }
	
	/*	div#content p, div#content h2 { padding-right: 2em; }
		div#mailinglist p.alert, div#mailinglist p.notice, .imgalignright  { margin-right: 2em; } */
	
	
	/* Begin Lists */
	
	.entry ul, .entry ol {
		padding-left: 1.25em;
		margin: 1em 0 1em 1em;
	}
	
	.entry ul, .entry ul ul, .entry ul ul ul { list-style-type: square;	}

	.entry ol li { list-style: decimal outside; }
	
	.entry ol li li { list-style: lower-alpha; }
	
	.entry ol li li li { list-style: lower-roman; }

	.entry ol li,
	.entry ul li,
	.entry ol li li,
	.entry ul li li,
	.entry ol li li li,
	.entry ul li li li {
		margin-bottom: 1em;
	}

	dl,	.entry ul {
	  margin: 1.5em auto 1.5em 1.3em;
	}
	
/*	.entry ul,
	.entry ul ul,
	.entry ul ul ul {
		list-style: none;
		margin-left: 0;
	}

	.entry ul ul,
	.entry ul ul ul {
		margin-left: 0;
		padding-left: 0;
	}*/

	dt {
		margin: 0 0 .7em 0;
	}
	
	dt a,
	.entry ul li a {
		font-weight: bold;
	}
		
	dd,
	.entry ul li ul,
	.entry ul li ul li ul {
		list-style: none;
		margin: 1em auto 1em 1.5em;
		padding-left: 1em;
		border-left: 5px solid #ddd8c2;
	}
	
	dd p { margin: 0 0 1em 0; }
	
	/* End Entry Lists */


/*pagination style style*/
div.pagination {
	padding:3px;
	margin:3px;
	text-align:right;
}

div.pagination a {
	padding: 2px 5px 2px 5px;
	margin-right: 2px;
	border: 1px solid #ddd;
	
	text-decoration: none; 
	color: #666;
}
div.pagination a:hover, div.pagination a:active {
	padding: 2px 5px 2px 5px;
	margin-right: 2px;
	border: 1px solid #a0a0a0;
}
div.pagination span.current {
	padding: 2px 5px 2px 5px;
	margin-right: 2px;
	border: 1px solid #e0e0e0;
	font-weight: bold;
	background-color: #f0f0f0;
	color: #666;
}
div.pagination span.disabled {
	padding: 2px 5px 2px 5px;
	margin-right: 2px;
	border: 1px solid #f3f3f3;
	color: #ccc;
}

	div#siteSearch {
		margin:1em auto 2em auto;
		text-align:center;
	}
	
	div#siteSearch #s { width: 180px; color: #999 }
	
	.more-link {
		font-size: 0.8em;
		font-weight: bold;
	}
	
	.entrynavigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
	
	img#wpstats{width:0px;height:0px;padding:0px;border:none;overflow:hidden} /* hide automattic's silly face */