/*   
Theme Name: Open Sourcerer
Theme URI: http://www.theopensourcerer.com
Description: A Wordpress Theme inspired by the colour scheme of Ubuntu Jaunty 9.04 and the Dark Smoke Theme. Features: Two column layout, widget aware, variable width. 
Author: Alan Lord
Author URI: http://www.theopenlearningcentre.com
Version: 1.2
Tags: dark, brown, two-columns, flexible-width, threaded-comments
License: GPLv3 or Later. (c) 2009 Alan Lord
*/

/* Make it easy to alter stuff... */
@import url("css/layout.css");
@import url("css/header.css");
@import url("css/menu.css");
@import url("css/content.css");
@import url("css/sidebar.css");
@import url("css/footer.css");
@import url("css/wordpress.css");
@import url("css/tweeks.css");

/* Begin Global Resets */
* {
    margin:0;
    padding:0;
}

body {
	/*    background-color:#161C31;*/
background-color:#999999;
	color:#DCDAD5;
	font-size:76%;
	font-family:"Liberation Sans", Arial, Helvetica, sans-serif;
	line-height:1.3em;
	text-align:center; /* IE6 Center hack */
	background-image: url(images/bg.jpg);
	background-repeat: repeat-y;
	background-position: center;
}


table {
    border-collapse:collapse;
    empty-cells:hide;
}

h1,h2,h3,h4,h5,h6,p,blockquote,form,label,ul,ol,dl,fieldset,address {
    margin: 0.5em 0;
}

ul, ol, dd {
    margin-left:1em;
}

a {
	text-decoration: none;
	color:#CCCCCC;
}

a:hover {
	color:#E6E6E6;
	text-decoration: underline;
}

a img {
    border:0;
}
/* End Global resets */

/* Following needed for Wordpress Theme Directory Compliance */
.alignright {
	float:right;
}

.alignleft {
	float:left;
}

.aligncenter, div.aligncenter {
    display:block;
    margin-left:auto;
    margin-right:auto;
}

#toppagemenu {
	background-color:#161c31;
	width:951px;
	float:left;
	margin-bottom: 15px;
	border-right-width: thin;
	border-right-style: solid;
	border-right-color: #999999;
}

#toppagemenu ul{
margin:0px;
padding: 0px;
list-style-type:none;
}

#toppagemenu ul li{
position: relative; /* for dropdown datum */
float: left;
text-align:center;
}

#toppagemenu ul li a{
	float:left;
	padding-top: 4px;
	padding-left: 10px;
	padding-right: 10px;
	height: 18px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 12px;
	font-family: arial;
	font-weight: 600;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #888;
	border-right-color: #444;
	border-bottom-color: #888;
	border-left-color: #888;/*color: #bbb;*/
	border-top-style: solid;
	border-bottom-style: solid;/* No background is necessary if */
/* you use menu background */
}


#toppagemenu ul li a:hover{
	color: #000;
	background-color: #CCCCCC;
}

#toppagemenu li ul{
display: none;
position: absolute; 
top: 23px;
left: 0px;
}

#toppagemenu li > ul{
top: 22px;
left: 0px;
}

#toppagemenu li.over ul,
#toppagemenu li:hover ul{
display: block;
clear: left; 
}


#toppagemenu li ul li{
clear: left;
text-align: left;
}


#toppagemenu li ul a{
	width: 140px;
	padding-top: 2px;
	height: 20px;  /* or graphic */
	text-decoration: none;
	text-transform: none;
	background-color: #161c31;
	/*font-size: 12px;
font-family: arial;*/
font-weight: 600;
	border-top-width: 1;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #ccc;
	border-right-color: #ccc;
	border-bottom-color: #ccc;
	border-left-color: #ccc;/*	opacity: .85;  for IE 
	filter: alpha(opacity=85);*/
}

#toppagemenu li ul a:hover{
	color: #000;
	background-color: #888;
}

