img{
	border: 0;
}

h1,h2,h3,h4{
	text-align: left;
}

h1,h2{
	font-size: 110%;
}

h2.moduleheading{
	color:#fff;
	background:#993399;
	margin:0 0 .5em 0;
	padding:2px 10px ;
	font-weight: normal;
}

td{
	vertical-align: top;
}

ul,ol{
	margin:0;
	padding:0;
	list-style-position: inside;
}

.clearfix{
	height:0;
	clear:both;
}

/* logo */
#sitelogo{
	border:0;
	position:relative;
	left:100px;
	top:20px;
	padding:0;
	margin: 0;
}
/* end logo */

/*header*/
#header{
	background:url(img/headerbg.png) left bottom no-repeat;
}

/* Home menu */
div#homemenu{
	float:right;
	height:25px;
	overflow:hidden;
	width:auto;
	text-align: center;	
	padding-right:9px;
	background:url(img/adminmenu-right.png) right top no-repeat;
}

div#homemenu ul{
	list-style:none;
	height:25px;
	margin:0;
	padding:0;
	float:right;
	padding-left:9px;
	background:url(img/adminmenu-left.png) left top no-repeat;
}


div#homemenu ul li{
	width:auto;
	display:block;
	height:25px;
	float:left;
	background: url(img/adminmenu-bg.png) left top repeat-x;	
}

div#homemenu ul li a{
	display:block;
	height:25px;
	line-height: 25px;
	padding-left:10px;
	padding-right:10px;
	color:#fff;
	text-decoration: none;	
	border-right:1px #8A2E8A solid;
	border-left:1px #591E59 solid;
	margin-top:-1px;
}

div#homemenu ul li a:hover{
	background: #8A2E8A;
}

div#homemenu ul li.first a{
	border-left:0;
}

div#homemenu ul li.last a{
	border-right:0;
}

/* end home menu */


/* sidebar articles */
div.sidearticle{
	width: 100%;
	overflow: hidden;
	max-width: 100%;
	margin-bottom: 1em;
	border-bottom:1px #ccc dotted;
	clear: both;
	text-align: justify;
	font-size: 90%;
}

div.sidearticle img{
	float:left;
}
/* end sidebar articles */
#footer{
	padding:.5em 0;
	font-size: 90%;
}

/* certificate download view */
div#certificatedownloadmodule form div,
div#loginmodule form div{
	margin: 0;
	paddin:0;
	text-align: left;
}

div#certificatedownloadmodule form div.text input,
div#certificatedownloadmodule form div.password input,
div#loginmodule form div.text input,
div#loginmodule form div.password input{
	width:98%;
	margin:0;	
	padding:0;
}

div#certificatedownloadmodule form div.submit,
div#loginmodule form div.submit{
	text-align: right;
}

/* sidemodule */
div.sidemodule{
	margin-bottom:1em; 
	text-align: justify;
}

/* recover passwords */
div#recoverpassword form div{
	width:auto;
	display:inline;
}

/* Notices and Errors */
div.message {
	clear: both;	
	font-weight:bold;	
	padding:.5em .5em .5em 30px;
	color:#000;
	text-align: left;
	margin:1em 0;		
	font-family: sans-serif;
}

div.success{
	background:#CCFFCC url(img/correct.png) 1em center no-repeat;;
	border:1px #339900 solid;
}

div.failure{
	background:#FFCCCC url(img/error.png) 1em center no-repeat;
	border:1px #CC0000 solid;
}
div.error-message {
	clear: both;
	color: #FF6600;
	font-size: 80%;	
	font-weight: lighter;
	padding:0;
	margin:0;
	margin-bottom:.5em;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;	
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}

div#cerAuthMessage,
div#authMessage{
	padding:.1em;
	color:red;
	font-size: 90%;
	font-weight: lighter;
}

/* welcome message */
div#welcomemsg{
	background:#FFCCCC url(img/welcomebg.jpg) left top no-repeat;
	color:#fff;
}

div.roundpurple{
	background:#fff;
	border-color:#993399;
}

/* admin menu */
div#menu{
	padding:10px;
	background: #eee;	
}

div#menu a{
	color:#333;
	font-weight: bold;
}

div#menu a em{
	color:#3333FF;
}

div#menu a img{
	margin-right:.5em;
	vertical-align: baseline;
}

div#menu ul{
	list-style: none;		
}

div#menu ul li{
	margin:1em 0 0 0;	
	padding:0;
	font-size: 12px;
	font-family: sans-serif;
	font-weight: bold;			
	text-align: left;
}

div#menu ul ul li{
	margin:0;	
}

div#menu ul ul li a{
	padding-left:26px;
	background: url(img/tiny-array.gif) 16px center no-repeat;
}

div#menu ul li a{	
	display:block;
	text-decoration: none;
	height:25px;	
	margin-top:-1px;
	line-height:25px;
	verticle-align:middle;	
	padding-right:10px;
	border-width:0;		
}

div#menu ul li a:hover{	
	background:#8A2E8A;
}

div#menu ul li.first{
	border-left:0;
}

div#menu ul li.last{
	border-right:0;
}

.sidearticle h2,
#homepage h2{
	padding-left:20px;
	background: url(img/purplebullet.gif) left top no-repeat;
}

table.nostyle td,
table.nostyle th{
	padding:0;
	margin:0;
}

.fullwidth{
	width:100%;
}

