/*
Theme Name: Chaoprayanews
Theme URI: http://www.thaihomelist.com
Description: Chaoprayanews Theme
Version: 2.0
Author: Pirapat
Author URI: http://www.thaihomelist.com
*/

/* Imports */

/* Reset */

* {
	font-family: Arial;
	font-size: 13px;
	outline: 0;
	padding: 0;
	margin: 0;
	border: 0;
	text-decoration: none;
	white-space: normal;
}


ul {list-style-type: none}
ol {list-style-type: decimal}
ol {margin: 0 0 0 20px}
.clear {clear:both;}
a {color: #000;	text-decoration:underline;}
a:hover {color:#999;}

/* Page Layout */
body {
	width: 100%;
	text-align: center;
	cursor: default;
	background:#dadada;
}

#page {
	width:940px;
	height: auto;
	text-align: left;
	color: #555;
}

#background{
	width:100%;
	z-index:-2;
	height:auto;
	text-align:center;
}

#backgroundtop{
	width:100%;
	z-index:-1;
	text-align:center;
	background:#252525;
	height:115px;
}

#content {
	float: left;
	width: 600px;
	padding:5px;
}

#content-left{
	float:left;
	width:280px;
	margin:5px;
}

#content-right{
	float:left;
	width:275px;
	margin:5px;
	margin-left:10px;
}

#sidebar-right {
	float: left;
	width: 226px;
	display: inline;
	margin-left:2px;
}

/* Global site Headers */

h2.titletext a{
	font-weight:bold;
	line-height:1.2em;
	font-size:1.2em;
}

h2.headtitle {
	font-weight:bold;
	line-height:1.5em;
	font-size:1.2em;
	border-bottom:1px solid #dadada;
	color:#ffffff;
	padding-left:5px;
}

h2.headtitle a{
	font-weight:bold;
	line-height:1.5em;
	font-size:1.2em;
	color:#000000;
	background:#FFFFFF;
	padding-left:5px;
	text-decoration:none;
}

h2.date{
	font-weight:normal;
	line-height:1.4em;
	font-size:9pt;
	color:#666;
	padding-bottom:5px;
}

h2.front {
	display: block;
	font-size:1.4em;
	line-height: 1.2em;
	font-weight: bold;
	color: #000;
	border-bottom: 1px solid #ddd;
	background: #dddddf url(images/bglong.jpg) no-repeat;
	background-position: 0px 0%;
	padding: 3px 15px 2px 25px;

}

h2.front a{
	font-size:1.0em;
	line-height: 1.1em;
	color: #000;
}


/* Various Links CSS */

#wp-calendar{
	width:100%;
}

.widget li{
	padding-top:2px;
	padding-bottom:2px;
	list-style-type:disc;
	list-style-position:inside;
}

.widgettitle {
	font-weight:bold;
	line-height:1.5em;
	font-size:1.2em;
	border-bottom:1px solid #dadada;
	color:#000000;
	background:#FFFFFF;
	padding-left:5px;
}

.widget_archive select{
	width:207px;
}

.widecolumn{
	text-align:center;
}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: left;
}

.clear {
	clear: both;
}

#basecorner{
	width:100%;
	height:7px;
}
	
#corlt{
	background:url(images/cor.gif) no-repeat left top;
	width:50%;
	height:7px;
	float:left;
}

#corrt{
	background:url(images/cor.gif) no-repeat right top;
	width:50%;
	height:7px;
	float:right;
}

#corlb{
	background:url(images/cor.gif) no-repeat left bottom;
	width:50%;
	height:7px;
	float:left;
}

#corrb{
	background:url(images/cor.gif) no-repeat right bottom;
	width:50%;
	height:7px;
	float:right;
}

.feedrss {
	float:right;
	background: url(images/rss.gif) no-repeat;
	width: 16px;
	height: 16px;
	display: block;
}

/* ######### CSS for Shade Tabs. Remove if not using ######### */

.shadetabs{
padding: 3px 0;
margin-left: 0;
margin-top: 1px;
margin-bottom: 0;
font: bold 12px Verdana;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as desired*/
}

.shadetabs li{
display: inline;
margin: 0;
}

.shadetabs li a{
text-decoration: none;
position: relative;
z-index: 1;
padding: 3px 7px;
margin-right: 3px;
border: 1px solid #778;
color: #2d2b2b;
background: white url(shade.gif) top left repeat-x;
}

.shadetabs li a:visited{
color: #2d2b2b;
}

.shadetabs li a:hover{
text-decoration: underline;
color: #2d2b2b;
}

.shadetabs li a.selected{ /*selected main tab style */
position: relative;
top: 1px;
}

.shadetabs li a.selected{ /*selected main tab style */
background-image: url(shadeactive.gif);
border-bottom-color: white;
}

.shadetabs li a.selected:hover{ /*selected main tab style */
text-decoration: none;
}

.tabcontent{
display:none;
}

@media print {
.tabcontent {
display:block !important;
}
}

/* ######### CSS for Inverted Modern Bricks II Tabs. Remove if not using ######### */

.modernbricksmenu2{
padding: 0;
width: 362px;
border-top: 5px solid #D25A0B; /*Brown color theme*/ 
background: transparent;
voice-family: "\"}\"";
voice-family: inherit;
}

.modernbricksmenu2 ul{
margin:0;
margin-left: 10px; /*margin between first menu item and left browser edge*/
padding: 0;
list-style: none;
}

.modernbricksmenu2 li{
display: inline;
margin: 0 2px 0 0;
padding: 0;
text-transform:uppercase;
}

.modernbricksmenu2 a{
float: left;
display: block;
font: bold 11px Arial;
color: white;
text-decoration: none;
margin: 0 1px 0 0; /*Margin between each menu item*/
padding: 5px 10px;
background-color: black; /*Brown color theme*/ 
border-top: 1px solid white;
}

.modernbricksmenu2 a:hover{
background-color: #D25A0B; /*Brown color theme*/ 
color: white;
}

.modernbricksmenu2 a.selected{ /*currently selected tab*/
background-color: #D25A0B; /*Brown color theme*/ 
color: white;
border-color: #D25A0B; /*Brown color theme*/ 
}

.tabcontent{
display:none;
}

@media print {
.tabcontent {
display:block !important;
}
}

/* ######### CSS for Indented CSS Tabs. Remove if not using ######### */


.indentmenu{
font: bold 13px Arial;
width: 100%; /*leave this value as is in most cases*/
}

.indentmenu ul{
margin: 0;
padding: 0;
float: left;
/* width: 80%; width of menu*/
border-top: 1px solid navy; /*navy border*/
background: black url(indentbg.gif) center center repeat-x;
}

.indentmenu ul li{
display: inline;
}

.indentmenu ul li a{
float: left;
color: white; /*text color*/
padding: 5px 11px;
text-decoration: none;
border-right: 1px solid navy; /*navy divider between menu items*/
}

.indentmenu ul li a:visited{
color: white;
}

.indentmenu ul li a.selected{
color: white !important;
padding-top: 6px; /*shift text down 1px*/
padding-bottom: 4px;
background: black url(indentbg2.gif) center center repeat-x;
}


.tabcontentstyle{ /*style of tab content oontainer*/
border: 1px solid gray;
width: 450px;
margin-bottom: 1em;
padding: 10px;
}

.tabcontent{
display:none;
}

@media print {
.tabcontent {
display:block !important;
}
}

@charset "utf-8";
/* CSS Document */

#sitenav {
	border-bottom:1px solid #dadada;
	padding:5px;
	margin-bottom:5px;
}

#entry {
	padding-top:10px;
	padding:5px;
	font-size:1.1em;
	color:#ffffff;
	float:left;
	background:#E1771E;
	
}

#entry p{

}

#entry a{
	font-size:1.0em;
	color:#0000FF;
}

#entry img{
	float:left;
	margin:3px;
	padding:3px;
	border:#dadada 1px solid;
	max-width:280px;width: expression(this.height < this.width && this.width > 280 ? "280px" : true);
	min-width:160px;width: expression(this.height > this.width && this.width < 160 ? "160px" : true);
}

@charset "utf-8";
/* CSS Document */

#menusidebar li{
	float:left;
	width:130px;
	padding:2px;
	list-style:disc;
	padding-left:10px;
}

#menu {
	height: 24px;
	background: #000;
	border-top: 1px solid #fff;
}

#menu li {
	float: left;
	display: block;
	border-right: 1px solid #93b666;
	position: relative;
}

#menu li a {
	float: left;
	display: block;
	font-weight: bold;
	color: #fff;
	padding: 0 10px 0 10px;
	height: 24px;
	line-height: 24px;
	position: relative;
}


#menu li a:hover, #menu li a.selected, #menu li a.selected:hover {
	background: #666;
	color: #fff;
}

/* Sub Menu Stylesheet */
#menu ul {
	display: none;
	position: absolute;
	z-index: 999;
	top: 24px;
	left: -1px;
	background: #fff;
	padding: 10px 5px 10px 5px;
	border: 1px solid #cdd8e0;
	border-top: 0;
	height: auto;
	width: 190px;
}

#menu ul li {
	float: none;
	display: block;
	border-right: 0;
	position: static;
}

#menu ul li a {
	float: none;
	display: block;
	font-weight: bold;
	color: #366799;
	padding: 0 5px 0 5px;
	height: 22px;
	line-height: 22px;
	position: static;
	border-top: 1px solid #eee;
}

#menu ul li a:hover, #menu ul li a.selected, #menu ul li a.selected:hover {
	background: #f6f6f6;
	color: #222;
}

#listmenu {
	margin-bottom:15px;
	font-weight:bold;
}



#listmenu li  {
	margin-left:20px;
	padding-top:2px;
	padding-bottom:2px;
	list-style-type:disc;
	list-style-position:outside;
}

#listmenu .children{
	padding-top:3px;
}

#listmenu .children li {
	border-top: 1px dotted #dddddd;
	border-bottom: 0px dotted #dddddd;
	padding-left:25px;
	padding-top:4px;
	padding-bottom:4px;
}


#listmenu li:hover{
	color:#666666;
}

#listmenu1 {
	margin-bottom:15px;
	font-weight:bold;
}

#listmenu1 a{
	color:#FFFFFF;

}

#listmenu1 li  {
	width:100%;
	list-style-type:circle;
	color:#FFFFFF;
	margin-left:25px;
	padding-top:4px;
	
}

#listmenu1 .children{
	padding-top:3px;
}

#listmenu1 .children li {
	border-top: 1px dotted #dddddd;
	border-bottom: 0px dotted #dddddd;
	padding-left:25px;
	padding-top:4px;
	padding-bottom:4px;
}

#header {
	width: 970px;
	height:auto;
	margin: 0 auto 0 auto;
	text-align: left;
	font-size: 0.75em;
	color: #666;
	padding-top:10px;
	padding-bottom:10px;
}

#top {
	height: 22px;
	font-weight: bold;
}


#pagenav {
	float: right;
	padding: 3px 12px 3px 0;
}

#pagenav li {
	float: left;
	display: block;
	border-right: 0px solid #999;
	padding: 0 4px 0 4px;
}

#pagenav li a {
	float: left;
	display: block;
	height: 16px;
	line-height: 16px;
	color:#FFFFFF;
}

#pagenav li a:hover {
	border-bottom: 0px dotted #bbb;
}

#pagenav li.rss a {
	background: url(../images/rss.gif) no-repeat;
	background-position: left center;
	padding-left: 20px;
	color:#FFFFFF;
}


#pagenavmul li {
	float: left;
	display: block;
	text-align:center;
	
}


#logo {
	float: left;
	padding: 5px 0 5px 5px;
}

#logo a {
	display: block;
	width: 235px;
	padding-bottom:10px;
}

#navi {
	width:100%;
	float:left;
}

#footer {
	padding-left:10px;
	padding-right:10px;
	padding-top:2px;
	text-align: center;
	color: #fff;
}

#footer li {
	float: left;
	margin-right: 20px;
	line-height: 1.5em;
}

#footerads {
	padding-left:20px;
	height:26px;
}

#footertext {
	padding-left:20px;
	padding-right:20px;
	text-align:right;
	color:#333;
	width:auto;
	font-size:12px;
}

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

#footertext a:hover{
	color:#fff;
}

@charset "utf-8";
/* CSS Document */

#featured{
	width:100%;
}

#featuredgallery{
	width:280px;
	float:left;
	padding-bottom:10px;
}



@charset "utf-8";
/* CSS Document */

#mid-lastest{
	float:left;
	width:130px;
	padding:5px;
}

#lastestimg {
	width:125px;
	height:90px;
	overflow:hidden;
	margin-bottom:10px;
	background:#FFFFFF;
	text-align:center;
	vertical-align:middle;
}

#shownews {
	float:left;
	width:280px;
	margin:5px;
	padding-bottom:10px;
}

.column-content-left{
	
}@charset "utf-8";
/* CSS Document */

.arctitle a{
	font-size:1.3em;
	font-weight:bold;
	padding-top:15px;
}

.arctime {
	color:#999999;
}

.tag {
	padding:4px;
}

.newslist {
	padding-top:20px;
}

.thumbarchive {
	float:left;
	padding:3px;
	margin:3px;
	border:#999999 1px dotted;
	margin-right:10px;
	width:auto;
	height:auto;
}

