body {
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color: #FFFFFF;
	text-align: center;
}
#wrapper {
	position: relative;
	text-align: left;
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	/*background-image: url(/phayao/images/shadow-bg.jpg);
	background-repeat:repeat-y;*/
}

#main {
	padding: 0 20px 20px 20px;
	/*background-image: url(/phayao/images/shadow-bottom.jpg);
	background-repeat:no-repeat;
	background-position: bottom left;*/
	
}

#header {
	background-image: url(../../images/prphayao-head.png);
	background-repeat:no-repeat;
    height:150px;
    position:relative;
    border-bottom: 1px solid #ececec;
}

#header h1 {
	margin: 0;
    padding: 0;
    font-weight:normal;
    /*color: #cb352d;#9900cc*/
	color: #4B0097;
    font-size: 200%;
    position:absolute;
    bottom: 4px;
    right: 10px;
}

#content {
	float:right;
    width: 720px;
	padding: 0 10px 0 0;
}
#content p {
	font-size: 0.9em;
	line-height: 1.8em;
}

#content h1 {
	font-size: 1.2em;
}

#content h2 {
	font-size: 1em;
}

#breakingnews-group h1 {
	position: relative;
	left: 10px;
	font-size: 150%;
	font-weight: bold;
	color: #4F009D;
	}

#breakingnews{
	/*list-style-type: none;*/
	text-indent: 0px;
	/*position: relative;
	width: 680px;
	margin: 1em 10px 1.5em 10px;
	padding: 10px;
	border: #aaa solid 1px;*/
	}
	
#breakingnews td {
	padding: 5px;
	border: #efefef solid 1px;
	vertical-align: top;
	font-size: 80%;
	}
#breakingnews li {
	float: left;
	width: 320px;
	padding: 3px;
	margin: 5px 20px 5px -15px;
	border: #efefef solid 1px;
	font-size: 80%;
	}

#breakingnews h2 {
	position: relative;
	font-size: 100%;
	font-weight: bold;
	color: #2C005B;
	}
#breakingnews a {
	color: #2C005B;
	text-decoration: none;
	}

#breakingnews img {
	display: block;
	border: 1px solid #333300;
	width: 80px;
	height: 60px;
	margin: 5px 5px 5px 2px;
	}

#spredsheet{
	margin: 5px;
	}

#spredsheet table{
	border-collapse: collapse;
	}

#spredsheet th{
	text-align: center;
	border: 1px solid #85778C;
	font-size: 10pt;
	}

#spredsheet td{
	border: 1px solid #85778C;
	font-size: 10pt;
	}

#spredsheet .right{
	border-left: 1px solid #85778C;
	border-top: 1px solid #85778C;
	border-right: 1px solid #85778C;
	font-size: 10pt;
	}

#spredsheet .bt{
	border-left: 1px solid #85778C;
	border-top: 1px solid #85778C;
	border-bottom: 1px solid #85778C;
	font-size: 10pt;
	}

#spredsheet .btr{
	border-left: 1px solid #85778C;
	border-top: 1px solid #85778C;
	border-right: 1px solid #85778C;
	border-bottom: 1px solid #85778C;
	font-size: 10pt;
	}
/*#rightmenu {
	float:right;
    width: 200px;
	padding: 0 10px 0 0;
}*/

#datatable table{
	border-collapse: collapse;
	width: 700px;
}

#datatable table td, th{
	padding: 2px 2px 2px 5px;
	border: 1px solid #501151;
	vertical-align: top;
	}

#datatable th{
	font-size: 11pt;
	}
#datatable td{
	font-size: 0.9em;
	}

#navigation {
	float:left;
	width: 220px;
}

#navigation ul {
	list-style: none;
	margin: 1em 0 0 0;
	border: 1px solid #eeeeee;
	border-top: 3px solid #4f009d;
	padding-left: 0px;
}
#navigation h1{
	font-size: 100%;
	font-weight: bold;
	color: #4f009d;
	}

#navigation li {
	font-size: 90%;
}

#navigation a:link, #navigation a:visited {
	color: #9900cc;
    border-bottom: 1px solid #999;
    /*border-left: 10px solid #4b0097;
    background-color:transparent;*/
    text-decoration:none;
	padding: 2px;
    display:block;
}

#navigation a:hover {
	/*color: #999;*/
	color: #EED5FF;
}

#navigation form {
	border: 1px solid #E4CEFD;
}

#navigation form h1 {
	margin-top:0px;
	padding-left: 10px;
	border-bottom: 1px outset #9ed;
	height: 22px;
	background-color: #bae;
}

input.text {
	color: #226633;
	background-color: #bae;
	border: 1px inset #9ed;
	width: 120px;
	}

input.btn {
	color: #226633;
	background-color: #bbaaee;
	border: 2px outset #99eedd;
}

label {
	font-size: 0.9em;
	}

.clearleft{
	clear: left;
	}

.clearright{
	clear: right;
	}

.clearboat{
	clear: boat;
	}

#footer {
	clear:both;
	font-size: 80%;
	padding-top: 1em;
    text-align:right;
    color: #999;
    background-color: transparent;
}
