@charset "utf-8";
@import "jquery-ui-1.8.5.custom.css";

/*
* HTML5 CSS by Nopphan Bunnag
* http://www.np.in.th
* nopphan.b@gmail.com
*/

/* RESET */
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th { font-size: 1em; font-weight: normal; font-style: normal; }
ul,ol { list-style: none; }
fieldset,img { border: none; }
caption,th { text-align: left; }
table { border-collapse: collapse; border-spacing: 0; }
.clear{ clear: both; }

html, body {height: 100%;}

body{
background: #FFF;
font-size: 13px;
line-height: 1.3em;
font-family: Arial, Tahoma, Verdana, sans-serif;
}

#top-bg{
background: url(images/bg-top.gif) repeat-x;
min-height: 100%;
_display: table;
_height: 100%;
padding: 0px 0px 0px 50px;
}

#wrapper{
width: 960px;
margin: 0px auto;
overflow:auto;
padding-bottom: 97px;
}

/* Header */
#header{
	height: 80px;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 50px;
	padding-left: 0px;
}
#top-bg-shade{
min-height: 100%;
_display: table;
_height: 100%;
background: url(images/bg-welcome.jpg) no-repeat;
}
#subnav{
height: 20px;
background: #EEE;
border-top: 1px solid #000;
}
h1.dtac{
color: #FFF;
font-size: 24px;
}
h2.news-add{
background: url(images/h2-news-add.png) no-repeat;
font-size: 30px;
padding: 2px 0px 0px 42px;
height: 37px;
}
#form{
	width: 880px;
	background: #f0f0f0;
	padding: 20px;
	border: 0px solid #f0f0f0;
	-moz-border-radius: 10px;
}
#form form{
margin: 20px;
}
.field{
margin: 10px 0px;
padding: 0px 0px 10px 0px;
border-bottom: 1px solid #d0d0d0;
}
.field label{
font-size: 20px;
}
.field input[type="text"],.field input[type="file"]{
width: 200px;
height: 20px;
margin-right: 250px;
float: right;
}
.field textarea{
width: 320px;
height: 150px;
margin-top: 20px;
margin-right: 130px;
float: right;
}
.field-notice{
font-weight: bold;
color: #FF0000;
}

/* Datepicker */

table.jCalendar {
	border: 1px solid #000;
	background: #aaa;
    border-collapse: separate;
    border-spacing: 2px;
}
table.jCalendar th {
	background: #333;
	color: #fff;
	font-weight: bold;
	padding: 3px 5px;
}

table.jCalendar td {
	background: #ccc;
	color: #000;
	padding: 3px 5px;
	text-align: center;
}
table.jCalendar td.other-month {
	background: #ddd;
	color: #aaa;
}
table.jCalendar td.today {
	background: #666;
	color: #fff;
}
table.jCalendar td.selected {
	background: #f66;
	color: #fff;
}
table.jCalendar td.selected.dp-hover {
	background: #f33;
	color: #fff;
}
table.jCalendar td.dp-hover,
table.jCalendar tr.activeWeekHover td {
	background: #fff;
	color: #000;
}
table.jCalendar tr.selectedWeek td {
	background: #f66;
	color: #fff;
}
table.jCalendar td.disabled, table.jCalendar td.disabled.dp-hover {
	background: #bbb;
	color: #888;
}
table.jCalendar td.unselectable,
table.jCalendar td.unselectable:hover,
table.jCalendar td.unselectable.dp-hover {
	background: #bbb;
	color: #888;
}

/* For the popup */

/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */

div.dp-popup {
	position: relative;
	background: #ccc;
	font-size: 10px;
	font-family: arial, sans-serif;
	padding: 2px;
	width: 171px;
	line-height: 1.2em;
}
div#dp-popup {
	position: absolute;
	z-index: 199;
}
div.dp-popup h2 {
	font-size: 12px;
	text-align: center;
	margin: 2px 0;
	padding: 0;
}
a#dp-close {
	font-size: 11px;
	padding: 4px 0;
	text-align: center;
	display: block;
}
a#dp-close:hover {
	text-decoration: underline;
}
div.dp-popup a {
	color: #000;
	text-decoration: none;
	padding: 3px 2px 0;
}
div.dp-popup div.dp-nav-prev {
	position: absolute;
	top: 2px;
	left: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-prev a {
	float: left;
}
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
	cursor: pointer;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
	cursor: default;
}
div.dp-popup div.dp-nav-next {
	position: absolute;
	top: 2px;
	right: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-next a {
	float: right;
}
div.dp-popup a.disabled {
	cursor: default;
	color: #aaa;
}
div.dp-popup td {
	cursor: pointer;
}
div.dp-popup td.disabled {
	cursor: default;
}

/* located in demo.css and creates a little calendar icon
 * instead of a text link for "Choose date"
 */
a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url(images/datepick.png) no-repeat; 
}
a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}
/* makes the input field shorter once the date picker code
 * has run (to allow space for the calendar icon
 */
input.dp-applied {
	width: 140px;
	float: left;
}
