/*
Theme Name: Plainscape
Theme URI: http://srinig.com/wordpress/themes/plainscape/
Description: A plain and simple theme that just works. Fixed width, two columns, left sidebar, standards compliant.
Version: 1.0.3
Author: Srini G
Author URI: http://srinig.com/wordpress/
Tags: fixed-width, two-columns, right-sidebar, blue, white, light, threaded-comments

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/



body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Helvetica, Tahoma, Sans-Serif;
	color:#555;
	}

small {
	font-family: Helvetica, Tahoma, Sans-Serif;
	font-size: 0.8em;
	}

h1, h2, h3, h4, h5, h6 {
	font-family: Helvetica, Tahoma, Sans-Serif;
	font-weight: bold;
	text-transform:uppercase;
	text-align:left;
}

h1 { font-size: 2.4em; }
h2 { font-size: 2em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1em; }

pre {
	overflow:auto;
}

acronym, abbr
{
	font-size: 0.9em;
	letter-spacing: .07em;
	cursor: help;
	border-bottom: 1px dashed #999;
}

strong {	
	color:#666;
}

a {
	color: #26a;
	text-decoration: none;
}


a:hover {
	text-decoration:underline;
}


hr {
	display: none;
	}

a img  {
	border: none;
	}


/* Layout */

body {
	margin: 0;
	padding: 0;
}

#header {
	position:relative;
	overflow:hidden;
	background: #fff777;
	background: -moz-linear-gradient(top, #fff777 0%, #fff444 18%, #fff000 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff777), color-stop(18%,#fff444), color-stop(100%,#fff000));
	background: -webkit-linear-gradient(top, #fff777 0%,#fff444 18%,#fff000 100%);
	background: -o-linear-gradient(top, #fff777 0%,#fff444 18%,#fff000 100%);
	background: -ms-linear-gradient(top, #fff777 0%,#fff444 18%,#fff000 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff777', endColorstr='#fff000',GradientType=0 );
	background: linear-gradient(top, #fff777 0%,#fff444 18%,#fff000 100%);
	margin-bottom:80px;
	border-bottom:1px solid #eee000;
	border-top:3px solid #000;
}

#wrapper {
	margin: 0 auto;
	width: 960px;
}

.promo {
	text-align:center;
}

#content {
	margin:0;
	padding:0;
	width:660px;
	float:left;
}
	
#sidebar {
	width:275px;
	float:right;	
	margin:0;
	padding:20px 0;
}	


/* Header */
#headerimage {
	margin:0 auto;
	width:960px;
}

#header h1 {
	width:225px; height:90px;
	background: url("http://fail.in.th/img/logo.png") no-repeat top left;
}
#header h1 a:focus {
	outline: none; 
}

#header h1:hover {
	background: url("http://fail.in.th/img/logo.png") no-repeat bottom left;
}

#header h1 a {
	margin:10px 0;
	text-indent:-9999px;
	display:block;
	width:225px; height:90px;
}

#header .description {
	display:none;
}

#hmenu {
	padding: 5px 0;
	margin:0 auto;
	width:960px;
	position:relative;
}

#hmenu ul {
	position:absolute;
	top:-140px; right:0;
	display:block;
}

	
#hmenu ul li {
	display:inline;
	margin:0 0 0 10px;
}

#hmenu ul li a {
	padding:8px 10px;
	color:#fff;
	background:#999000;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: #ccc000 0 1px 0;
	-moz-box-shadow: #ccc000 0 1px 0;
	box-shadow: #ccc000 0 1px 0;
	font-size:1.2em;
	font-weight:bold;
	text-shadow:0 1px 0 #000;

}

#hmenu ul li a:hover {
	color:#fff;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	text-decoration:none;
	background:#000;
	top:1px;position:relative;
}



/* End header */

/* Post */

.post {
	margin: 0;
	padding:20px 0 80px 0; 
	text-align: justify;
/*	overflow:hidden; */
	clear:both;
	border-bottom:5px dotted #eee;
	}

.post h2 {
	margin:0;
	padding:0;
	text-align:left;
}

.post h3.post-title {
	font-weight:bold;
	font-size:1.8em;
	margin:0;
	padding:0;
	text-align:left;
}	


div.archive-title {
	font-size:1.6em;
	font-weight:bold;
}

.post p {
	margin: 10px 0;
}
.post hr {
	display: block;
	}

.postmetadata {
	clear: both;
	font-size:1.1em;
	color:#888;
}

.clear {
	clear: both;
}

.entry {
	font-size:1.3em;
	line-height:1.3em;
	margin:20px 0;
}

.entry blockquote {
	border:1px dashed #ccc;
	font-size:0.9em;
	padding:5px 20px;
	margin:10px 0;
	background:#f8f8f8;
}

.entry blockquote blockquote {
	font-size:1em;
}

.entry fieldset {
	border:1px dashed #ccc;
}

.entry fieldset legend {
	font-weight:bold;
	text-transform:uppercase;
}

.entry table {
	border-width:0 1px 1px 0;
	border-style:solid;
	border-color:#ccc;
	font-size:0.9em;
}


.entry table tr td {
	padding:5px 10px;
	border-width:1px 0 0 1px;
	border-style:solid;
	border-color:#ccc;

}

.entry table tr th {
	border-width:1px 0 0 1px;
	border-style:solid;
	border-color:#ccc;
	padding:5px 10px;
	background:#f4f4f4;
	color:#666;
	font-weight:bold;
	text-transform:uppercase;
	text-align:center;
}

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


p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

.alignright {
	padding:0;
	margin: 2px 0 5px 10px;
	display: inline;
	float:right;
	}

.alignleft {
	padding:0;
	margin: 2px 10px 5px 0;
	display: inline;
	float:left;
	}

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}


.navigation {
	font-size:1.2em;
	clear:both;
	margin:40px 0;
}

.navigation a {
	color:#888;
	background:#fff200;
	display:block;
	padding:5px 8px;
}


.navigation a:hover {
	background:#69c;
	color:#fff;
	text-decoration:none;
}

.wp-caption {
	border: 1px solid #ccc;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
}


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

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

.searchbox {
	padding:20px;
	text-align:center;
	clear:both;
}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}


/* Comments*/

#comments {
	font-size:1.4em;
	line-height:1.4em;
}

.commentlist {
	margin:20px 0;
	padding:0 0 1px 0;
	background:url("http://fail.in.th/wp-content/themes/plainscape/images/border_h.png") repeat-x bottom;
}

.commentlist li {
	list-style:none;
	margin:0;
	padding:0;
	background:url("http://fail.in.th/wp-content/themes/plainscape/images/border_h.png") repeat-x top;
}

li.comment div, li.pingback div {
	padding:20px;
	overflow:auto;
}

li.comment div div, li.pingback div div {
	padding:0;
	overflow:visible;
}

.commentlist li.even {
	background-color:#fafafa;
}

.commentlist li.odd {
	background-color:#f6f6f6;
}

ul.children li {
	list-style:none;
}

img.avatar {
	float:right;
	border:1px solid #eee;
	padding:2px;
	margin:0;
	background:#fff;
}

.comment-meta, .reply {
	margin:0;
	padding:0;
	font-size:0.8em;
}

.comment-author cite {
	font-style:normal;
	font-weight:bold;
}


textarea#comment {
	width:100%;

}

#comments div.navigation {
	font-size:0.8em;
}

/* Sidebar */

#sidebar {
	font: 1.2em Helvetica, Tahoma, Sans-Serif;
	}

#sidebar h2 {
	font-size: 1em;
	padding: 5px 8px;
	background:#fff000;
	}


#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	margin:0;
	padding:0;
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 20px;
	}


#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 0;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 20px;
	}

#sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}


/* Footer */	

#footer {
	clear: both;
	background:#000;
	border-top:1px solid #fff000;
	text-align:center;
	font-size:1.1em;
	color:#888;
	padding:50px 0 10px 0;
	margin:50px 0 0 0;
}

#footer a {
	color:#888000;
	text-decoration:underline;
}

/* Custom */


.post-ratings {
	font:normal 10px Tahoma;
	color:#999;
	display:inline;
	text-align:right;
	position:relative;
	margin-left:3px;
}

.floatleft {float:left;}
.floatright {float:right;}



/* Contact Form 7 */

#contactform7 {
	background:#f0f0f0;
	padding:30px;
	font-size:11px;
	width:480px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}


#contactform7 label:hover input, #contactform7 label:hover textarea {
	background:#fff;
	border:1px solid #aaa;
}

#contactform7 input[type="text"], #contactform7 textarea {
	border:1px solid #ccc;
	padding:5px;
	width:400px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background:#f7f7f7;
	margin-bottom:10px;
}

#contactform7 label input[type="checkbox"] {
	margin:0 !imortant;
}

#contactform7 input[type="submit"] {
	border:0;
	padding:20px 11px;
	width:410px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background:#ccc;
	background-image: -moz-linear-gradient(top, #cccccc, #bbbbbb); /* FF3.6 */
	background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #4477a1),color-stop(1, #81a8cb)); /* Saf4+, Chrome */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#4477a1', endColorstr='#81a8cb'); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#4477a1', endColorstr='#81a8cb')"; /* IE8 */
	font:bold 2em Tahoma,sans-serif;
	text-shadow: 0 1px 0 #dddddd;
}

#contactform7 input[type="submit"]:hover {
	background:#ffd200;
	cursor:pointer;
	text-shadow: none;;
}

.faillogo {
	background:url(http://fail.in.th/wp-content/plugins/wp-postratings/images/stars/rating_off.gif) no-repeat 1px 2px;
	padding-left:20px;
}

.faillogo:hover {
	background:url(http://fail.in.th/wp-content/plugins/wp-postratings/images/stars/rating_on.gif) no-repeat 1px 2px;
}

.wpcf7-mail-sent-ok, .wpcf7-mail-sent-ng {border:none !important; padding:20px !important; margin:20px 0 !important; width:370px; text-align:center; font-size:12px;}
.wpcf7-mail-sent-ok {background:#cf0;}
.wpcf7-mail-sent-ng {background:#f00; color:#fff;}

.wp-pagenavi {text-align:center; padding-top: 40px; display:block; clear:both;}
.wp-pagenavi .page, .wp-pagenavi .current, .wp-pagenavi .first, .wp-pagenavi .last {margin:3px; padding: 2px 8px; font-size:12px;}
.wp-pagenavi .current {font-weight:bold; background:#fff000; color:#222; margin: 0 5px;}
.wp-pagenavi a.page:hover, .wp-pagenavi a.last:hover, .wp-pagenavi a.first:hover {background:#fff000;}

.socialfail {margin:30px 0 0 5px;}
.socialfail:after {content:""; display:block; clear:both}
.socialfail .tweet, .socialfail .like, .socialfail .googleplus {float:left;}


.footer-links {margin:0 auto; width:100%; text-align:center; overflow:hidden; position:relative;}
.footer-links .facebook, .footer-links .twitter {display:inline-block; width:145px; height:27px;text-indent:-9999px; margin:10px 20px;}
.footer-links .facebook { background:url(/img/link-facebook.png);}
.footer-links .twitter { background:url(/img/link-twitter.png);}
.footer-links a:hover {opacity:.7;}



/* Disqus Comment 20120510 */

.post-list > .post {
	margin-bottom: 15px;
	border-bottom: 1px dashed #F0F0F0;
	
}



/*Holiday Logo
div#headerimage h1 {background: url("http://fail.in.th//img/logos/logo-111016.png") no-repeat top left;}
div#headerimage h1:hover {background: url("http://fail.in.th//img/logos/logo-111016.png") no-repeat bottom left;}
*/








/*
all and (orientation:portrait)
*/

@media all and (max-width: 810px)
{
	#wrapper {
		width: 100%;
	}

	#headerimage {
		width:100%;
		height:140px;
	}
	#header {
		margin:0;
	}
	#headerimage h1 {
		margin:10px
	}

	#header h1 {
		width:225px; height:90px;
		background: url("http://fail.in.th/img/logo.png") no-repeat top left;
	}
	#hmenu {
		width:100%;
		clear:both;
		float:none;
		position:relative;
	}
	#hmenu ul {
		top:-40px;
		padding:10px;
		display:block;
	}
	#hmenu ul li {
		display:inline;
	}

	#hmenu ul li a {
		padding:8px 8px 5px 8px;
		margin:0;
		color:#26a;
		background:#fff;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: 0 -1px 0 #eee000;
		font:normal 1.4em Tahoma,sans-serif;
		text-shadow:none;
		-webkit-border-radius: 4px 4px 0 0;
		border-radius: 4px 4px 0 0;
	}
	#hmenu ul li a[href*="join"] {
		display:none;
	}	

	#sidebar {
		width:100%;
		float:left;
		display:block;
		margin-top:30px;
		padding:0;
		background:#f0f0f0;
		border-top:1px solid #ddd;
	}
	#sidebar ul {
		width:95%;
		margin-left:2%;
	}
	#wp125adwrap_1c div {
		display:inline;
	}
	.twtr-widget {
		display:none;
	}
	.textwidget small {
		width:80%;
		display:block;
	}
	#content {
		width:97%;
		display:block;
		margin-left:2%;
	}
	.postmetadata {
		opacity:.4
	}
	.post-title {
		padding:10px 0;
		border-bottom: 1px solid #E0E0E0;
		margin: 0 0 5px 0;
	}
	.post-ratings{
		margin-left:15px;
	}
	div.entry p a img {
		max-width:100% !important;
		height:auto !important;
	}
	#fbcomments, .fb_iframe_widget, .fb_iframe_widget[style], .fb_iframe_widget iframe[style], #fbcomments iframe[style] {
		width: 100% !important;
	}
	.wp-pagenavi .page, .wp-pagenavi .current, .wp-pagenavi .first, .wp-pagenavi .last {
		margin:3px 0;
		padding: 4px;
	}
	.wp-pagenavi {max-width:100%; overflow:hidden;}

}