/* begin Page */

/* Created by www.JoomlArtWork.com, edited for use on MexComm Sdn Bhd site. */

html, body, form, fieldset {
	margin: 0;
	padding: 0;
}

body {
	background: #fff;
	font-size: 12px;
	line-height: 1.5em;
}

body#background{
	margin: 10px 0 0 0;
padding: 0;
	font: normal 13px/1.6em  verdana, tahoma, sans-serif;	 
	text-align: center;
	color: #686567;
	background: #fff url(../images/bg.gif) repeat-x left top;
}

/* Normal link */
a:link, a:visited {
	color: #407a9e;		
	background-color: inherit;
	text-decoration: none;			
}

a:hover, a:active {
	color: #292929;
	background-color: inherit;	
}

a img {
	border: none;
}

/* headers */
h1, h2, h3, h4 {
	font: normal 1em 'Trebuchet MS', Tahoma, Arial, Sans-serif;
	color: #292929;
}

h1 { font-size: 1.2em; color: #407a9e;	} 
h2 { font-size: 1em; }
h3 { font-size: 0.8em; }
h4 { font-size: 0.5em; }

p, h1, h2, h3, h4 {
	margin: 0;
	padding: 5px 5px;
}


ul, ol {
	margin: 10px 30px;
	padding: 0 15px;	
}

/* images */
img {
	background: transparent;
   	border: none;	
}

fieldset {
	margin: 0;
	padding: 0;
	border: none;
} 

code {
  margin: .5em 0;
  display: block;
  padding: 20px;
  text-align: left; 
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'Courier New', monospace ;
  /* white-space: pre; */
  background: transparent;
  border: 1px solid #211E20;   
}
acronym {
  cursor: help;
  border-bottom: 1px dotted #8F8F8E;
}
blockquote {
	margin: 10px 15px;
 	padding: 10px 0 10px 30px;  
   background: transparent;
	border: 1px solid #211E20;   
  	font: normal 1.6em/1.5em Georgia, "Times New Roman", Times, serif;
}


/* ======================== Layout ==============================*/

#header, #nav, #menu, #content, #footer-wrap {
	width: 860px;
}

/* header */
#header {
	clear: both;
	position: relative;
	margin: 0 auto; padding: 0;
	background: none;
	height: 234px;
	text-align: center;	
	background:url(../images/header2.png) no-repeat center top;
}

/* content */
#content-wrap {
	clear: both;
	margin: 0 auto;
	width: 895px;
	background: #fff url(../images/bodybg.gif) no-repeat center top;	
}
#content {
	text-align: left;
	padding: 20px 0 0 0; 
	margin: 0 auto;		
}

/* main */
#main {
	margin: 20px 170px 10px 0; 
	padding: 0;	

}

/* footer */
#footer-wrap {
	clear: both;
	padding: 10px 0 0 0;	
	margin: 0 auto; 
	background: #dadada url(../images/fbg.gif) repeat-x top left;
	}
	
#footer-bottom {
	clear: both;
	margin: 0 auto; 
	padding: 0 0;
	text-align: right;
	font-size: 11px;
}

/* ============================= System Messages ====================================*/
#system-message    { margin-bottom: 10px; padding: 0;}
#system-message dt { font-weight: bold; }
#system-message dd { margin: 0; font-weight: bold; text-indent: 30px; }
#system-message dd ul { color: #0055BB; margin-bottom: 10px; list-style: none; padding: 10px; border-top: 3px solid #84A7DB; border-bottom: 3px solid #84A7DB; list-style: none;}

/* System Standard Messages */
#system-message dt.message { display: none; }
#system-message dd.message {  }

/* System Error Messages */
#system-message dt.error { display: none; }
#system-message dd.error ul { color: #c00; background-color: #E6C0C0; border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; }

/* System Notice Messages */
#system-message dt.notice { display: none; }
#system-message dd.notice ul { color: #c00; background: #EFE7B8; border-top: 3px solid #F0DC7E; border-bottom: 3px solid #F0DC7E; list-style: none;}

/* Debug */
#system-debug     { color: #ccc; background-color: #fff; padding: 10px; margin: 10px; }
#system-debug div { font-size: 11px;}

/*================================ Header ========================================*/
#header h1#logo-text a {
	position: absolute;
	margin: 0; padding: 0;
	font: bold 30px 'Trebuchet MS', Tahoma, Arial, Sans-serif;
	color: #fff;
	text-decoration: none;
	z-index: 9998;
	background: transparent;
	top: 90px; 
	left: 20px;	
}

/* ================================ Sidebar Menu ======================================*/
/* sidebar */
#sidebar {
	float: right;
	width: 170px;
	margin: 0px 0 10px 0; 
	padding: 0;	
	background: url(../images/rightbg.jpg) no-repeat center top;	
}

#sidebar h3 {
	font: normal 1em Verdana, Geneva, sans-serif;
	padding: 10px 0 10px 20px;
	margin:5px;
	color: #292929;
	background: url(../images/welcomebg1.gif) no-repeat left;
	text-transform: none;

}
#sidebar .moduletable {
	padding: 0 0 0 10px;
}
#sidebar ul.menu {
	margin: 0 10px 0 10px;
	padding: 0;		
	font-family: Verdana, Geneva, sans-serif;		
	border-top: 1px solid #ebebeb;
}
#sidebar ul.menu li {
	padding: 0; 
	background: url(../images/arrow.gif) no-repeat 6px 7px;		
	border-bottom: 1px solid #ebebeb;
	list-style:none;
}

#sidebar ul, #sidebar ul li {
	font-size:11px;} 

* html body #sidebar ul.menu li { height: 1%; }

#sidebar ul.menu li a {
	display: block;
	color: #407a9e;
	text-decoration: none;
	padding: .2em 0 .2em 30px;
	line-height: 18px;
	font-size: 10px;
}
#sidebar ul.menu li a:hover,#sidebar ul.menu li#current a:hover {
	color: #292929;	
	text-decoration: none;
}

#sidebar ul.menu li#current > a{
	color: #F60;	
}


/*override to make sure only parent changes colour when selecting "current"*/
#sidebar ul.menu li ul li a{
	color: #999;
}

/*children*/
#sidebar ul.menu ul { margin: 0 0 0 0px; }
#sidebar ul.menu ul li { 
	border: none; 
	background: url(../images/block.gif) no-repeat 6px 7px;
}

/*=============================== Sidebar Module ===========================*/
#sidebar .moduletable{
	overflow: hidden;
	margin-bottom: 10px;
}

#sidebar .moduletable h3{
	margin: 0;
}


/*=============================== Main ====================================*/
#main h2 { 
	font: normal 14px 'Trebuchet MS', Arial, Sans-serif;
	color: #292929;	
}

#main h2 a {
	color: #84A5DA;	
	text-decoration: none;	
}

#main ul {
	background: #fff url(../images/quotesbg.gif) repeat-y left top;
	padding-left:13px;
	margin-left:10px;
}

#main ul li {
	margin-left:2px;

}

/*============================ Column =====================================*/
#columns h3 {
	color: #292929;	
	margin: 0;
	padding: 0 10px; 	
	font: normal 1.4em "Trebuchet MS", Arial, Tahoma, Sans-serif;	
	text-transform: none;
}

#columns ul {
	list-style: none;
	margin: 10px 0 10px 0; 
	padding: 0;	
	border-top: 1px solid #ebebeb;	
}
#columns li {
	border-bottom: 1px solid #ebebeb;		
}
#columns li a {
	display: block;
	padding: .5em 0 .5em 1em;
	color: #407a9e;
}
#columns li a:hover {
	color: #292929;
	background:#f3f3f3;	
}

#columns .col, .col-center {
	float: left;
	width: 31%;
}
#columns .col-center { 
	margin: 0 15px; 
}

/*============================== Col3 Module =============================*/
#col .moduletable, #col-center .moduletable{
	margin: 0 0 10px 0;
}

#col .moduletable h3, #col-center .moduletable h3{
	margin: 0;
}

/* =================================== additional classes ===========================*/
.clear { clear: both; }
.grey {	color: #8F8F8E; }


/*======================= ARTICLE =============================*/
.contentheading{
	font: 20px 'Trebuchet MS',Arial,Sans-serif;
	color: #666;
}
/*.contentpaneopen a, .contentpaneopen a:link, .contentpaneopen a:visited{
}*/

.small, .createdate, .modifydate{
	font-size: 10px;
	line-height:10px;
	color: #333;
}

.readon, a.readon:link, a.readon:visited{
	margin:5px;
	text-align:right;
	font-weight:bold;
	padding: 2px 2px;
	color: #6CB6FF;
}

.contenttoc{
	float: right;
	margin: 30px 10px 10px 10px ;
	background: #1a1a1a;
}

.contenttoc tbody tr th{
	padding: 10px;
}

a.toclink{
	padding: 10px;
}

/*======================= COMPONENT =============================*/
.componentheading{
	font: 25px 'Trebuchet MS',Tahoma,Arial,Sans-serif;
	/*font-weight:bold;*/
	color: #666;
	padding: 0px 0 10px 30px;
	background: url(../images/welcomebg.gif) no-repeat 10px 10px;
}

.contentpaneopen fieldset{
	padding: 5px;
	margin: 0 0 5px 0;
}

.highlight{
	background: #333;
	padding: 0px 3px;
}

.button{
	background:#66B0D5;
	color:#FFFFFF;
	font:1em Arial,Tahoma,Sans-serif;
	/*font-weight: bold;*/
	margin:0 0 0 5px;
	padding:0.10em 0.10em;
	vertical-align: middle;
	cursor:pointer;
	border: 1px solid #666;

}

.button:hover{
	background:#09C none repeat scroll 0 0;
}

.inputbox{
	border:1px solid #E5E5E5;
	color:#777777;
	padding:0.4em;
	vertical-align:top;
}

td.sectiontableheader{
	background:#090807 none repeat scroll 0 0;
	border-color:#8EB200 #090807  #090807 ;
	border-style:solid;
	border-width:2px 0px 1px;
	color:#FFFFFF;
	height:3em;
	padding-left:12px;
	padding-right:12px;
	text-align:left;
}

td.sectiontableheader a:link, td.sectiontableheader a:visited{
	font-weight: bold;
}	

tr .sectiontableentry1 td, tr .sectiontableentry2 td{
	border:1px solid #211E20;
	padding: 5px 10px;
}

/*========================= SEARCH ===========================*/
.search{
	margin: 0px;
	float:right;
}
.search .button{
	background:#407a9e none repeat scroll 0 0;
	border:2px solid #211E20;
	color:#FFFFFF;
	vertical-align:middle;
	font:1em Arial,Tahoma,Sans-serif;
	font-weight: bold;
	margin:0 0 0 5px;
	padding:0.25em 0.3em;
}

.search .inputbox{
	border:1px solid #E5E5E5;
	color:#777777;
	padding:0.4em;
	vertical-align:top;
	width:11em;
	text-transform: capitalize;
}

/*======================= LOGIN ==============================*/
#login-wrap {
	text-align:left;
	padding: 7px 0 0 0px;
	background: #fff repeat-y left top;
}
#login-wrap ul {
	list-style: none;
}
/*fields*/
#modlgn_username,#modlgn_passwd {
	font:1em Arial,Tahoma,Sans-serif;
	width: 20em;
	padding: 0 0 0 0px;
} 
/*labels*/
#form-login { 
font:1em Arial,Tahoma,Sans-serif;
}

.login_msg { 
font:0.7em Arial,Tahoma,Sans-serif;
}

#login-wrap h3 {
	 font-size: 1.2em; color: #407a9e;	
}


/*======================= BREADCRUMB =========================*/


.pathway {
	padding: 5px;
	color:#CCC;
}


.breadcrumb .moduletable{
	padding: 5px;
	margin: 10px 10px;
}

.breadcrumb img{
	border: none;
}

.pathway:link, .pathway:visited{
}
/*========================= POLLING ========================*/
tbody tr td{
	text-align: left;
	padding: 0 0 5px 0;
}

tbody tr td .poll tbody tr td{
	text-align: left;
}

.poll tbody tr td div{
	text-align: left;
	/*width: 125px;
	border: 1px solid #3C2B00;*/
	margin-top: 10px;
}

.buttonheading {
	padding:3px;
	margin:2px;
}

/* begin PageFooter */
.designer, .designer a, .designer a:link, .designer a:visited, .designer a:hover
{
	font-family:Arial;
	font-size:10px;
	letter-spacing:normal;
	word-spacing:normal;
	font-style:normal;
	font-weight:normal;
	text-decoration:none;
	color:#ccc;
}

.designer
{
	margin:0em;
	text-align:right;
	text-decoration:none;
	color:#ccc;
}
/* end PageFooter */

#menu {
	/*clear: both;*/
	margin: 0 auto;
	padding: 0;
}

#pillmenu {
	height: 43px;
	margin: 0;
	padding: 0;
	background: transparent url(../images/pillmenu_bg.png) top center no-repeat;
	text-align: left;
}

#pillmenu ul {
	float:left;
	margin: 0;
	padding: 0;
	list-style: none;
}

#pillmenu li {
	float: left;
	margin: 0 10px 0 0;
	padding: 0 0 0 0;
	height: 34px;
	background: transparent url(../images/menuseparator.png) center right no-repeat;
}

#pillmenu li:hover {

}

#pillmenu li a#active_menu-nav {
	
}

#pillmenu li a {
	float: left;
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 12px;
	line-height: 34px;
	padding: 0 12px 0 10px;
	color: #333333;
	text-decoration: none;
	font-weight: 700;
}

#pillmenu li a:hover, #pillmenu li.current a {
	color: #ff3300;
	text-decoration: none;
}

/* ===== bottom menu ====== */
#botMenu {
	height: 43px;
	margin: 0;
	padding: 0;
	background: transparent url(../images/pillmenu_bg.png) top center no-repeat;
	text-align: right;
	
	font-size: 12px;
	line-height: 34px;
	padding: 0 12px 0 10px;
	color: #999;
}

#botMenu ul {
	float:left;
	margin: 0;
	padding: 0;
	list-style: none;
}

#botMenu li {
	float: left;
	margin: 0 10px 0 0;
	padding: 0 0 0 0;
	height: 34px;
	background: transparent url(../images/menuseparator.png) center right no-repeat;
}

#botMenu li a {
	float: left;
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 12px;
	line-height: 34px;
	padding: 0 12px 0 10px;
	color: #999;
	text-decoration: none;
}

#botMenu li a:hover, #botMenu li.current a {
	color: #333;
	text-decoration: none;
}
/* ===== misc ====== */

a#button img {
opacity:0.4;
filter:alpha(opacity=40)
}

.date {
width: 25%;
font-weight:bold;
}