/*

Theme Name: ISFEA 2008 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 Information Science Foundation for Eastern Africa. 

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, h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	}
	
fieldset, img {
	border: none;
	}
	
ul, ol {
	list-style: none;
	}


/* ----------- [ General ] ----------- */

body {
	margin: 0;
	padding: 0;
	background: #FCE0AE url(images/bg.jpg) top left repeat-x;
/*	font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Arial, sans-serif; */
	font: 13px Verdana, Arial, Helvetica, sans-serif;
	}
	
#wrapper {
	margin: 0 auto 0 auto;
	padding: 0;
	min-width:1100px;
	overflow:hidden;
	}
	
* html #wrapper {width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 1100 ? "1100px" : "auto");}
	
#header {
	background: #fff url(images/headerbg.jpg) top right repeat-y;
	height: 126px;
	width: 100%;
	min-width: 1000px;
	overflow: hidden;
	}
		
#header h1 {
	float: left;
	font: 1.8em "Arial Rounded MT Bold", "Arial Black", Tahoma;
	width: 430px;
	padding: 10px;
	border: none;
	}
		
#logo {
	float: left;
	padding-left: 50px;
	}
	
/* ---------- [ 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;
	}
	
#search {
	width: 300px;
	clear: right;
	}
	
/* -------------------[ Top Navigation Bar ]------------------- */

    #menu {
		clear: both;
		margin: 0 auto;
		float: none;
		font-size: 11px;
		font-weight: bold;
		padding: 2px;
		position: absolute; /* Menu position that can be changed at will */
		top: 127px;
		left: 50px;
		z-index:100;
		width: 1000px;
      }
	  
	dl, dt, dd, ul, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    }
	
   #menu dl {
   	float: left;
	margin: 0;
	padding: 1px 0 0 0;
   }
   
   #menu dt a {
      float: left;
      background: url('images/tableft.jpg') no-repeat left top;
      margin: 0;
	  height: 32px;
      padding: 0 0 0 12px;
      text-decoration: none;
      }
	  
   #menu dt a span {
      float: left;
      display: block;
      background: url('images/tabright.jpg') no-repeat right top;
      padding: 10px 15px 0 3px;
	  height: 32px;
      color: #6C5136;
      }
	  
	#menu dt a.services span {
		width: 130px;
		text-align: center;
	}
	
	#menu dt a.chapters span {
		width: 140px;
		text-align: center;
	}
	  		  
	#menu dt a:hover {
      background: url('images/ovatableft.jpg') no-repeat left top;
	  }
	
	#menu dt a:hover span {
      background: url('images/ovatabright.jpg') no-repeat right top;
	  color: #6C5136;
	}
	
    #menu dd {
    display: none;
	background: #990000;
	white-space: nowrap;
	clear: left;
	margin-top: 2px;
	z-index: 100;
	}
	
	#menu ul {
	list-style: none;
	clear: left;
	padding: 2px;
	white-space: nowrap;
	}

    #menu li, #menu li a {
	padding: 2px;
	display: block;
	color: #FFFFFF;
	font-size: 12px;
	text-decoration: none;
    }
	
    #menu li a:hover, #menu li a:focus {
    }

/* --------------- [ Middle Part ] ---------- */

#middle {
	clear: both;
	height: 184px;
	padding-top: 34px;
	}
	
#news {
	float: left;
	width: 300px;
	margin: 0;
	clear: left;
	}
	
#rotating-photos {
	float: left;
	width: 400px;
	overflow: hidden;
	margin: 0;
	padding: 0 0 0 20px;
	clear: none;
	}
	
#motto {
	float: left;
	width: 230px;
	margin-top: 10px;
	}
	
#motto h1 {
	font: 14px Verdana, Arial, Helvetica, sans-serif;
	border: none;
	text-align: justify;
	font-weight: bold;
	}
	
.imagelink a {
	clear: both;
	height: 29px;
	padding: 1em 0 0 8.5em;
	}
	
/* --------- [ Content Wrapper ] ------------ */

#contentbg {
	margin: 0;
	background: #FCE0AE url(images/contentbg.jpg) top left repeat-y;
	float: left;
	}
	
#content {
	background: transparent url(images/content_top.jpg) top left no-repeat;
	padding: 10px;
	margin: 0;
	float: left;
	}
	
#maincontent {
	width: 700px;
	padding-left: 30px;
	text-align: justify;
	}
	
#maincontent ul, #maincontent ul li ul li {
	margin-left: 20px;
	}
	
#maincontent li {
	list-style-type: square;
	list-style-position: outside;
	padding: 2px;
	}
/* ------------ [ Upper Links ] ---------------- */

#upperlinks {
	background: transparent url(images/upper_linksbg.png) top left repeat-x;
	margin: 0 auto;
	height: 160px;
	font-size: 12px;
	}

#upperlinks h2 {
	color: #422D18;
	font-size: 1em;
	border-bottom: 1px solid #422D18;
	padding: 3px;
	}	
	
.upperlinkssub {
	width: 200px;
	float: left;
	background: transparent url(images/border.png) top right repeat-y;
	padding: 1px 10px 5px 15px;
	height: 140px;
	}
	
.upperlinkssub li {
	list-style: inside circle;
	padding: 0 0 0 10px;
	}
	
/* -------------------[ Headings ]------------------- */

h1, h2, h3 {
	margin: 1em 0 1em 0;	
	}
	
h1 {
	font-size: 1.7em;
	font-weight: bold;
	border-bottom: 1px solid #422D18;
	padding: 2px;
	}

h2 {
	font-size: 1.6em;
	}

h3 {
	font-size: 1.4em;
    border-bottom: 1px solid #111;
	}

h4 {
	font-size: 1.2em;
	margin: 1px;
	}
	
/* -------------------[ Links ]------------------- */

a, a:link {
	color: #0000CC;
	text-decoration: none;
	}

a:hover {
	color: #6D440E;
	text-decoration: underline;
	}
	
a:visited {
	color: #000099;
	}       

/* ---------- [ Side Bar ] ------- */

#sidebar {
	float: right;
	clear: right;
	width: 230px;
	font-size: 11px;
	padding-left: 10px;
	}
	
#news h2, #sidebar h2 {
	color: #422D18;
	border-bottom: 1px solid #422D18;
	padding: 2px;
	font-size: 1.1em;
	}

#sidebar ul li {
	padding: 0 0 0 10px;
	}

/* ---------- [ Misc ] ----------- */

.error {
	color:#996600;
	font-weight: bold;
	padding: 10px;
	}
	
/* ---------- [ Search Form ] ----------- */
	
#searchform {
	width: 380px;
	margin-top: 15px;
	}

#searchform .searchinput {
	background: transparent url(images/search.jpg) center top no-repeat;
	height: 25px;
	width: 191px;
	border: none;
	padding: 5px 0 5px 30px;
	float: left;
	clear: none;
	}

	
/* ----------------- [ 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;
}

.userbtn {
	font: 13px Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	background: transparent url(images/small_submit.gif) center top no-repeat;
	clear: none;
	color: #573D24;
	border: none;
	float: right;
	height: 29px;
	}

/*
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;
	}
*/

/* -------------------[ Images ]------------------- */

.entry img {
	background: #fff;
	padding: 1px;
	}

a img {
	border: none;
	text-decoration: none;
	}

.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;
	}
		
.post {
	text-align: justify;
	padding: 2px;
	float: left;
	}
	
/* ----------- [ Email Login Form ] ----------- */

#CPanelEmailform {
	width: 210px;
	}

#CPanelEmailform fieldset {
	clear: both;
	border: none;
	margin: 0.5em;
	padding: 0;
	}

#CPanelEmailform fieldset ol {
	list-style: none;
	}

#CPanelEmailform fieldset li {
	padding-bottom: 2.5em;
	list-style: none;
	clear: left;
	}
	
#CPanelEmailform fieldset.submit {
	padding: 0 0 0 7.5em;
	}
	
#CPanelEmailform label {
	float: left;
	margin-right: 1em;
	width: 7em;
	font-weight: bold;
	line-height: 1.8em;
	display: block;
}

#CPanelEmailform input {
	float: left;
	width: 102px;
	}

/* ---------- [ Plugin Form Formatting ] ------------- */

#plugin {
	width: 90%;
	}

#plugin fieldset {
	clear: left;
	float: left;
	margin: 0.5em;
	padding: 0;
	width: 500px;
	border: 1px solid #003300;
	}
	
#plugin legend {
	margin-left: 1.5em;
	padding: 0 4px 0 4px;
	font-weight: bold;
	}
	
#plugin fieldset.submit {
	border: none;
	background: transparent;
	padding: 0 0 0 10em;
	float: left;
	width: 350px;
	}
		
#plugin fieldset ol {
	list-style: none;
	padding: 1em;
	}
	
#plugin fieldset li {
	padding-bottom: 1em;
	list-style: none;
	}

#plugin label {
	width: 15em;
	float: left;
	position: relative;
}

#plugin label strong {
	position: absolute;
	left: 43em;
	top: 0.2em;
	display: block;
	color: #990000;
	font-weight: bold;
	color: #990000;
	font-size: 9px;
	}

/* ---------- [ Footer ] ------------ */

#footer {
	clear: both;
	margin: 0 auto;
	background: #FBD685 url(images/footerbg.jpg) top left repeat-x;
	padding: 20px 0 2px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-align: center;
	min-width: 1000px;
	}

* html #footer {width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 1100 ? "1100px" : "auto");}

#footer small {
	color: #00CC66;
	}
	
#footer small a {
	color: #00CC66;
	text-decoration: underline;
	padding: 2px;
	margin: 0;
	}
	
.footerlinks {
	margin-bottom: 30px;
	font-weight: bold;
	}
	
.footerlinks a {
	padding: 2px 25px 2px 25px;
	}