/*
	Theme Name: SchoolNet Uganda Theme
	Theme URI: http://www.matrich.net/
	Author: Matrich - Matovu Richard
	Author URI: http://www.matrich.net/
	Author Email: rkmatrich@yahoo.com
	Description: A Theme developed for SchoolNet Uganda
	
	This Theme CSS, XHTML and Design is copyright of Matrich - Matovu Richard: http://www.matrich.net/
*/

/* ------ [ Reset All ] ------------- */

html, body, form, fieldset, div, dl, dt, ul, ol, li {
	margin: 0;
	padding: 0;
	}
	
fieldset, img {
	border: none;
	}
	
ul, ol {
	list-style: none;
	}


/* ----------- [ General ] ----------- */

body {
	background: #D9E1EE url(images/bg.jpg) top left repeat-x;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	}
	
#wrapper {
	margin: 0 auto;
	padding: 0 auto;
	min-width: 1000px;
	overflow: hidden;
	}
	
* html #wrapper {width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 1000 ? "1000px" : "auto");}
		
#heading {
	float: left;
	width: 350px;
	padding: 15px;
	border: none;
	}
	
#heading h2 {
	margin: 5px;
	font-style: italic;
	color: #990000;
	font-size: 1.3em;
	padding-left: 10px;
	}
	
#header {
	height: 112px;
	margin: 0;
	padding: 0;
	}
		
#logo {
	float: left;
	padding: 7px 0 0 100px;
	}
	
/* ---------- [ Search Form ] ----------- */

#searchform {
	float: right;
	width: 240px;
	margin: 3px 55px 0 0;
	padding: 0;
	background: url(images/searchbg.jpg) no-repeat top;
	height: 33px;
	}

#searchform .searchinput {
	background: transparent url(images/search.jpg) center top no-repeat;
	height: 24px;
	width: 173px;
	border: none;
	padding: 4px 0 5px 15px;
	margin: 1px 0;
	float: left;
	clear: none;
	}

#searchform .searchbtn {
	clear: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	float: left;
	height: 29px;
	width: 42px;
	}

/* ---------- [ Containers ] -------------------- */

#container {
	clear: both;
	width: 1000px;
	margin: 0 auto;
	padding: 0;
	}

#topright {
	width: auto;
	clear: right;
	float: right;
	}
	
#advert {
	width: auto;
	clear: right;
	padding: 5px;
	}
	
/* -------------------[ Top Navigation Bar ]------------------- */

	#menu {
		margin: 0 auto;
		padding: 5px 0 0 40px;
		font-weight: bold;
		height: 30px;
	}
	
	#menu ul {
		margin: 0 auto;
		padding: 0;
		list-style: none;
	}
	
	#menu li {
		display: inline;
		margin: 0;
		padding: 0;
	}
	
	#menu a, #menu li.first-tab a span, #menu li.last-tab a {
		float: left;
		background: transparent url(images/tab.jpg) no-repeat right top;
		margin: 0;
		padding: 8px 15px 0 15px;
		text-decoration: none;
		height: 30px;
	}

	#menu li.last-tab a {	
		background: transparent url(images/tab.jpg) no-repeat left top;
	}
	
	#menu li.last-tab a:hover {	
		background: transparent url(images/ovatab.jpg) no-repeat left top;
	}
	
	#menu li.last-tabbg {
		float: left;
		background: transparent url(images/last-tab.jpg) no-repeat right top;
		width: 5px;
		height: 30px;
		margin: 0;
		padding: 0;
		}
		
	#menu a:hover, #menu li.first-tab a:hover span {
		background: transparent url(images/ovatab.jpg) no-repeat right top;
	}
	
	#menu li.first-tab a span {
		padding: 8px 15px 0 5px;
	}

	#menu li.first-tab a {
		background: url(images/first-tab.jpg) no-repeat left top;
		width: auto;
		margin: 0;
		padding: 0 0 0 10px;
	}
	
	#menu li.first-tab a:hover {
		background: url(images/ovafirst-tab.jpg) no-repeat left top;
	}
	  
/* --------------- [ Middle Part ] ---------- */

#middle {
	clear: both;
	padding: 0;
	height: 240px;
	margin: 0;
	}

#rotating-photos {
	float: left;
	width: 515px;
	margin: 0;
	padding: 0 20px 0 20px;
	clear: none;
	}
	
#slogan {
	float: left;
	width: 375px;
	padding-top: 5px;
	text-align: justify;
	font-size: 14px;
	color: #FFFFFF;
	}
	
.imagelink {
	padding: 15px 5px 0 80px;
	}
	
/* --------- [ Content Wrapper ] ------------ */

#contentbg {
	clear: both;
	margin: 0;
	padding: 0;
	float: left;
	width: 100%;
	background: #D9E1EE url(images/contentbg.jpg) center repeat-y;
	}
	
#sidebar {
	float: left;
	clear: left;
	width: 190px;
	padding: 5px;
	margin: 0;
	font-size: 11px;
	}
	
.news {
	border-bottom: 1px solid #000000;
	}
	
.forall a {
	font-weight: bold;
	text-align: right;
	font-size: 13px;
	}
			
#maincontent {
	width: 591px;
	text-align: justify;
	float: left;
	padding: 0 5px;
	margin: 0 0 0 1px;
	background: url(images/maincontent.jpg) repeat-x;
	}
	
#sideright {
	width: 180px;
	float: left;
	padding: 5px 5px 5px 10px;
	font-size: 11px;
	}
	
#sidebar h2, #sideright h2 {
	color: #422D18;
	border-bottom: 1px solid #422D18;
	border-top: 1px solid #422D18;
	padding: 3px;
	font-size: 1.2em;
	}
	
.siderightcontent ul {
	margin: 0;
	padding: 0 0 0 15px;
	line-height: 1.6em;
	}

.siderightcontent ol {
	margin-left: 20px;
        }

.siderightcontent ul li {
	padding: 0;
	list-style: none;
	font-weight: bold;
	}
	
.siderightcontent ul li ul li {
	padding: 0;
	font-weight: normal;
	}

/* ------------ [ Upper Links ] ---------------- */

#upperlinks {
	clear: both;
/*	background: transparent url(images/upper_linksbg.png) top left repeat-x;*/
	margin: 2px auto;
	height: 220px;
	padding: 0;
	width: 95%;
	}

#upperlinks h2 {
	color: #422D18;
	font-size: 1em;
	border-bottom: 1px solid #422D18;
	padding: 1px;
	text-transform: uppercase;
	font-size: 1.1em;
	text-align: center;
	}	
	
.upperlinkssub {
	width: 175px;
	float: left;
/*	background: transparent url(images/border.png) top right repeat-y;
*/	padding: 3px 5px 2px 5px;
	margin-top: 1px;
	height: 210px;
	font-size: 11px;
	text-align: left;
        border-right: 1px solid #422D18;
	}
	
.topimg {
	margin: 0 auto 5px auto;
	display: block;
	}
	
.upperlinkssub ul {
	margin: 0 0 0 10px;
	padding: 0;
	}
	
.upperlinkssub li {
	list-style: outside circle;
	padding: 0;
	margin: 0 0 1px 5px;
	}
	
/* -------------------[ Headings ]------------------- */

h1 {
	font-size: 1.7em;
	font-weight: bold;
	border-bottom: 1px solid #000;
	padding: 2px;
	}

h2 {
	margin-top: 10px;
	font-size: 1.4em;
	}

h3 {
	font-size: 1.3em;
/*    border-bottom: 1px solid #111; */
	}

h4 {
	font-size: 1.2em;
	}
	
/* -------------------[ Links ]------------------- */

a, a:link {
	color: #0000CC;
	text-decoration: none;
	}

a:hover {
	color: #6D440E;
	text-decoration: underline;
	}
	
a:visited {
	color: #000099;
	}       
	
/* -------------------[ Form Elements ]------------------- */
/*
fieldset {
	background-color: #dfdfdf;
	border: 1px solid #ccc;
	margin: 2em 0;
	padding: 1em;
	}
	
legend {
	font-weight: bold;
	padding: 1px;
	}

label {
	display: block;
	float: left;
	clear: left;
	width: 80px;
	padding-right: 1em;
	text-align: right;
	line-height: 2.1em;
	}

input {
	display: block;
	float: left;
	width: 100px;
	background-color: #FFFFFF;
	border: 1px solid #422D18;
	}
	
input .checkbox {
	width: auto;
	}

br {
	clear: both;
	}
	*/	
/* ----------------- [ Login Form ] ------------------------ */

.al_nodisplay {
	display: none;
}

#al_loginMessage, #al_registerMessage, #al_lostPasswordMessage {

}
#al_loadingImage {
	margin: 0;
}

#al_loading, #al_login, #al_register, #al_lostPassword {
	height: auto;
}

/* --------- LOGIN FORMS --------- */

#login-form fieldset {
	clear: left;
	float: left;
	border: none;
	margin: 0.2em;
	padding: 0;
	}

#login-form fieldset ol {
	padding: 0;
	list-style: none;
	}

#login-form fieldset li {
	padding-bottom: 1em;
	list-style: none;
	}

#login-form label {
	float: left;
	margin-right: 1em;
	width: 7em;
	text-align: left;
	font-weight: bold;
	line-height: 1.2em;
}

#login-form fieldset.submit {
	margin: 1px;
	padding: 0 0 0 5em;
	}

/*

	input:focus, textarea:focus {
		background: #e9ffd2;
		border: 1px solid #993300;
		}
	
	input[type=submit] {
		clear: left;
		float: right;
		height: 28px;
		width: 100px;
		padding: 0 15px 0 0;
		margin: 0 5px 0 0;
		border: none;
		}

*/

.login {
	background: transparent url(images/login.png) center top no-repeat;
	}
	
.retrieve {
	background: transparent url(images/retrieve.png) center top no-repeat;
	}
	
.register {
	background: transparent url(images/register.png) center top no-repeat;
	}
	
/*
textarea {
	margin: 0 0 0.5em 0;
	padding: 3px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	}

/* -------------------[ Images ]------------------- */

.entry img {
        background: #fff;
        padding: 1px;
        }

.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
	
img.centered {
	padding: 4px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
		
img.alignright {
	float: left;
	margin: 4px 10px 4px 0;
	padding: 4px;
	display: inline;
	border: 1px solid #000000;
	}

img.alignleft {
	float: right;
	margin: 4px 0 8px 10px;
	padding: 4px;
	display: inline;
	border: 1px solid #000000;
	}

img.aleft {
        float: right;
        margin: 4px 0 4px 10px;
	padding: 4px;
	display: inline;
	}

img.aright {
        float: left;
        margin: 4px 10px 4px 0;
	padding: 4px;
	display: inline;
	}
	
/* ------------ [ Sidebar Lists ] ---------------- */
	
#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 2px;
	}

#sidebar ul li {
	list-style: none;
	padding: 6px;
	}
	
#sidebar ul li a {
	display: block;
	text-decoration: none;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0px 0px;
	padding: 0px;
	background: transparent;
	border: none;
	}
	
.post {
	text-align: justify;
	padding: 2px;
	float: left;
	}
	
.post h2 {
	text-transform: uppercase;
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
	padding: 5px;
	}
	
.post ul, .post ol {
	list-style: outside square;
        margin-left: 15px;
        padding-left: 10px;
	}
	
/* ---------- [ Images ] ------------ */
a img {
	border: none;
	text-decoration: none;
	}

/* ---------- [ Footer ] ------------ */

#footer {
	clear: both;
	margin: 0 auto;
	background: #B7C7E1 url(images/footer.jpg) top left repeat-x;
	padding: 20px 0 5px 0;
	font-weight: bold;
	font-size: 12px;
	line-height: 1.3em;
	text-align: center;
	min-width: 1000px;
	overflow: hidden;
	}

#footerlinks {
	margin: 5px 0 10px 0;
	}
	
#footer small, #footer small a {
	color: #00CCCC;
	}
	
* html #footer {width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 1000 ? "1000px" : "auto");}