Body,form,td,th,select {
	font: 10pt tahoma;
}

body{
	margin-left				: 0px;
	margin-top				: 0px;
	margin-right			: 0px;
	margin-bottom		: 0px;
}

Input,select,textarea {
	border-top				: #808080 1px solid;
	border-right			: #808080 1px solid; 
	border-left				: #808080 1px solid;
	border-bottom		: #808080 1px solid;
	font						: 10pt tahoma;
	color						: #000000;
}

.noborder {
	border					: 0;
}

P.pagebreakhere {page-break-before: always}

/*===== menu ===============*/
.menuitem {
	font: 10pt tahoma;
	font-weight: bold;
	background: #B9D1EB;
	border-bottom: 1px solid #7EA7D4;
	border-right: 1px solid #7EA7D4;
	text-align: left; 
}


.menuitem A:link		{color: #000000;}
.menuitem A:visited	{color: #000000; }
.menuitem A:active		{color: #000000; }
.menuitem A:hover		{color: #000099; }

.menuitem_bg {
	background: #B9D1EB;
}

.menuitem_bg td:hover{
	background: #759EBD;
}

.menuitem_bg2 {
	background: #B9D1EB;
}


.menuwrapper {
/*	background-color: #909090;*/
	background-image: url(../images/p7exp_mbar.jpg);
	background-repeat: repeat-x;
}

.menuwrapper td:hover{
	color: #000099;
}


.menubar {
/*	border-bottom: 1px solid #333333;*/
	padding: 5px 16px 5px 10px;
	background-image: url(../images/p7PM_dark_south.gif);
	background-repeat: no-repeat;
	background-position: right center;
	font: 10pt tahoma;
	font-weight: bold;
	cursor: pointer;
	cursor: hand;
}

/*====================*/

/*===== แถบคั่นใน table ===============*/
.row_bar1 {
	background: #FFB76F;
	font-weight: bold;
}

.row_bar2 {
	background: #FFCE9D;
}

.row_bar3 {
	background: #FFE4CA;
}
.row_bar4 {
	background: #FFE2C6;
}
/*===== แถบคั่นใน report table ===============*/
.report_bar1 {
	background: #94CD98;
	font-weight: bold;
}

.report_bar2 {
	background: #C0D9BD;
}

.report_bar3 {
	background: #D2DFD2;
}
/*====================*/

.page_header{
	border-bottom: #cdcdcd 1px solid;
	background: #ffffff;
	font: bold 14pt tahoma;
	color: #ffffff;
	margin-left: 5px;
	margin-right: 5px;

}

/*Button {
	height					: 20px; 
	font						: 11px tahoma;
	font-weight			: 500;
	background-color	: #eeeeee;
	border-right			: #dddddd 1px solid; 
	border-left				: #dddddd 1px solid;
	border-top				: #dddddd 1px solid;
	border-bottom		: #dddddd 1px solid;
	cursor					: hand;		
}
*/

img {
	border: 0px;
	vertical-align: middle;	
}

.loading {
	background: #f8f8f8;
	color: #666666;
	font: 90% tahoma;
	padding: 0.1em 0.2em;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #FFF;
	z-index: 5000;
	left: 0px;
	top: 0px;
}

A:visited {
	color						: #006699; 
	text-decoration		: none;
}
A:active {
	color						: #006699; 
	text-decoration		: none;
}
A:hover {
	color						: #2D8FD1; 
	text-decoration		: underline;
}
A:link {
	color						: #2D8FD1; 
	text-decoration		: none;
}

/*
table {
	border:	0px;
	padding:	1px;
}
*/

tr {
	height	: 24px;
}

/* Validate Element */
.error{
	border:1px dotted #FF0000;
	background:#FFB3B3;
}

.correct{
	border: #1px dotted #3F6935;
	background:#C2FFB4;
}

/* input_form */
table.input_form {
    border-spacing: 0px;
    border-collapse: collapse;
    background: #FFFFFF;
    border: 0.5em solid #F8F8F8;
}
table.input_form th {
    font-weight: bold;
    font-size: 14pt;
    padding: 0.1em 0.5em;
    border: 0px;
  /*  border-top: 2px solid #FF9933;
    border-bottom: 1px solid #FBCD79;*/
    border-bottom: 1px solid #FF9933; 

}
table.input_form td {
    border: 0px;
    border-bottom: 1px solid #EEEEEE;
    padding: 0.1em 0.5em;
}
table.input_form thead th {
    text-align: left;
	padding-left: 20px;
    font-weight: bold;
    color: #404040;
	height: 50px;
	/*background: #FFFFCC; */
	background-image: url(../images/top_bar.gif);
	background-repeat: repeat-x;
}
table.input_form tr.Odd {
    background: #F8F8F8;
}
table.input_form tr.rowheader{
	background: #FDE38C;
}

.row_button td  {
	height: 114px;
    background: url("../images/button-bg.gif") 0 0 repeat-x;
}


/* list_table */
table.list_table {
    border-spacing: 0px;
    border-collapse: collapse;
    background: #FFFFFF;
    border: 0.2em solid #F8F8F8;
    border-bottom: 0.2em solid #E0E0E0;
}
table.list_table th {
    font-weight: bold;
    font-size: 14pt;
    padding: 0.1em 0.5em;
    border: 0px;
    border-bottom: 1px solid #FBCD79; 
    border-left: 1px solid #FBCD79; 

}
table.list_table td {
    border: 0px;
    border-bottom: 1px solid #EEEEEE;
    border-left: 1px solid #EEEEEE; 
    padding: 0.1em 0.5em;
}
table.list_table thead th {
    text-align: left;
	padding-left: 20px;
    font-weight: bold;
    color: #404040;
	height: 50px;
	border-left: none;
	border-top: none;
	border-right: none;

	/*background: #FFFFCC; */
	background-image: url(../images/top_bar.gif);
	background-repeat: repeat-x;
}
table.list_table tr.Odd {
    background: #F8F8F8;
}
table.list_table tr.rowheader{
	background: #FDE38C;
}



/* print_table */
table.print_table {
    background: #FFFFFF;
}
table.print_table td {
    
	font: 14pt "Angsana New";
}
.print_header {
	font-size: 18pt;
	font-weight: bold;
}

/* report_table */
.headreport {
    font-weight: bold;
    font-size: 13pt;
	

}

.headnamereport {
    font-weight: bold;
    font-size: 12pt;
	xborder-bottom: solid 1px ;

}
table.report_table {
    border-spacing: 0px;
    border-collapse: collapse;
    background: #FFFFFF;
    border: 0.2em solid #404040;
    border-bottom: 0.2em solid #404040;
}
table.report_table th {
    font-weight: bold;
    font-size: 12pt;
    padding: 0.1em 0.5em;
    border: 0px;
    border-bottom: 1px solid #FBCD79; 
    border-left: 1px solid #FBCD79; 

}
table.report_table td {
    border: 0px;
    border-bottom: 1px solid #404040;
    border-left: 1px solid #404040; 
    padding: 0.1em 0.5em;
}
table.report_table thead th {
    text-align: left;
	padding-left: 8px;
    font-weight: bold;
    color: #404040;
	background: #FFFFCC;
	height: 50px;
}
table.report_table tr.Odd {
    background: #EFEFEF;
}

table.report_table tr.rowheader{
	background: #13B072;
	border-bottom: 2px solid;
}

/* schedule_table */
table.schedule_table {
    background: #FFFFFF;
	border:2px solid #404040;
    border-spacing: 0px;
    border-collapse: collapse;
}
table.schedule_table td {
    border: 0px;
    border-bottom: 1px solid #EEEEEE;
    border-left: 1px solid #EEEEEE; 
}
table.schedule_table tr.rowheader{
	background: #FDE38C;
}



/* ------------------- Global Row Header --------------------*/

.rowheader{
	background: #FDE38C;
}

.rowheader td{
    font-weight: bold;
	text-align: center;
}


.red_dot {
	color: red;
}

/* --------------------------------------*/

.fieldset{
 	margin-right			: 1px; 
	margin-left				: 1px;
	margin-bottom		: 1px;
	margin-top				: 1px;
	font						: 12px tahoma;
	font-weight			: 500;	
}

.img {
	border					: 0px;
	vertical-align 			: middle;	
}


.warn {
	font						: 12px tahoma;
	color						: #cc3300;
}


.frame {
	border					: 1px solid #cccccc;	
}

.linkpage{
	font						: 12px tahoma;
	background			: #F0F5FA;
	border					: 1px solid #072A66;
	padding					: 1px 3px 1px 3px;
}

/*------------------------------------------------------------Ajax Tab*/
.shadetabs{
	padding					: 3px 0px ;
	margin-left				: 0;
	margin-top				: 1px;
	margin-bottom		: 0;
	font						: bold 12px tahoma;
	list-style-type			: none;
	text-align				: left; 
}

.shadetabs li{
	display					: inline;
	margin					: 0;
}

.shadetabs li a{
	text-decoration		: none;
	padding					: 3px 7px;
	margin-right			: 0px;
	border					: 1px solid #778;
	color						: #2d2b2b;
	background			: white url(../images/web/shade.gif) top left repeat-x;
}

.shadetabs li a:visited{
	color						: #2d2b2b;
}

.shadetabs li a:hover{
	text-decoration		: underline;
	color						: #2d2b2b;
}

.shadetabs li.selected{
	position					: relative;
	top						: 1px;
}

.shadetabs li.selected a{ /* selected main tab style */
background-image		: url(../images/web/shadeactive.gif);
border-bottom-color	: white;
}

.shadetabs li.selected a:hover{ /* selected main tab style */
	text-decoration		: none;
}

.contentstyle{
	font						: 12px tahoma;
	border					: 1px solid gray;
	width						: 770px;
	margin-bottom		: 1em; 
	padding					: 5px;
	background-color	: #FFFFFF;
}
/*-------------------------------------------------------End Ajax Tab -----------------------------------*/