body,td,th {
	font-family: Khmer1, Arial, sans-serif;
}
a:link {
	color: #06F;
}
a:visited {
	color: #930;
}
a:hover {
	color: #000;
}
a:active {
	color: #03F;
}

.clear {
	margin-bottom:10px;
}

select, label {
	font-family:Khmer1, Arial, Helvetica, sans-serif;
}

#bodyContent h1 {
	font-size:36px;
	line-height:170%;
	margin-bottom:5px;
}

/*********************/
/*    Custom Font    */ 
/*********************/
@font-face {
	font-family: Khmer1;
	src: url(../fonts/KHMERMEF1.ttf); 
}
@font-face {
	font-family: Khmer2;
	src: url(../fonts/KHMERMEF2.ttf); 
}
@font-face {
	font-family: DaunPenh;
	src: url(../fonts/daunpenh.ttf); 
}
/**********************************************/
/*    Format for all messages after submit    */
/**********************************************/
.resultMsg {
	padding:15px 0;
	margin:15px 0;
	font-style:italic;
	text-align:center;
}
.resultMsg span {
	margin-top:25px;
	font-weight:bold;
	font-size:16px;
	display:block;
}
/*************************************************************/
/*    Settings for command buttons at the end of the page    */
/*************************************************************/
#cmd, #cmd2 {
	width:100%;
	box-sizing: border-box;
	padding:2px 0;
	margin:15px auto;
	border:solid #CCC 1px;
	background-color:#999;
	display:block;
}
#cmd input, #cmd2 input {
	width:150px; 
	height:30px;
	margin:0 15px;
}
@media only screen and (max-device-width: 800px) {
	#bodyContent h1 {
		margin-bottom:10px;
	}
	#cmd input[type='submit'], #cmd input[type='reset'], #cmd input[type="button"], #cmd2 input[type='submit'], #cmd2 input[type='reset'], #cmd input[type="button"] {
		width:50%;
		box-sizing: border-box;
		font-size:30px;
		height:70px;
		padding:5px 0;
		margin:0;
	}
}
/*******************************************************/
/*    Settings common to Navigator and Right banner    */
/*******************************************************/
.section_title {
	font-family:Khmer2, sans-serif;
	width:100%;
	font-size:13px;
	color:#FFF;
	line-height:170%;
	text-align:center;
}

/**********************************************/
/*    Settings common to jQuery Dialog Box    */
/**********************************************/
#dialog {
  font-size:14px;
  font-family:Khmer1;   
}
.ui-dialog-title {
  font-size:14px;
  font-family:Khmer2;   
}
.ui-dialog .ui-dialog-titlebar, .ui-dialog .ui-dialog-buttonpane { 
    font-size: 12px;
}
#dialog p {font-weight:bold}
#loading {
	position:fixed;
	left:0;
	right:0;
	top:0;
	bottom:0;
	margin:auto;

	width:70px;
	height:70px;
	background-color:rgba(204,204,204,0.6);
	-moz-border-radius: 10px; /* Firefox */
	-webkit-border-radius: 10px; /* Safari, Chrome */

}
#loading img {
	margin:auto;
	position:absolute;
	left:0;
	right: 0;
	top: 0;
	bottom: 0;
}
#myAlert {
	position:fixed;
	left:0;
	right:0;
	top:0;
	bottom:0;
	margin:auto;

	font-family:Khmer1;   
	color:#FFF;

	height:70px;
	padding:5px 5%;
	
	line-height:70px;
	background-color:#000;
	/*background-color:rgba(204,204,204,0.7);*/
	-moz-border-radius: 10px; /* Firefox */
	-webkit-border-radius: 10px; /* Safari, Chrome */

}