/*
Theme Name: Graigaid Theme
Theme URI: http://Graigaid.com/
Description: The Graigaid wordpress theme
Version:1
Author: The DemonPenguin
Author URI: http://demonpenguin.co.uk
*/

/**{
padding:0;
margin:0;
}*/

body, p, td, th, div, blockquote, dl, ul, ol {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
}

h1.header {
	padding:0;
	margin:0;
}

body {
/*	background-image: url(images/header1.jpg);
	background-repeat: repeat-x;*/
	background-color: #000;
}

a {
	color: #009900;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#site {
	background-color: #fff;
	margin:20px auto;
	min-width:760px;
	max-width:960px;
}

/*#wrap {
	background-color: #000055;
}*/

#toplist {
	background-color: #000000;
	padding:0.2em 0.5em;
	text-align: right;
}

#header {
	background-image: url(images/header1.jpg);
	height: 200px;
	min-width: 760px;
	max-width: 960px;
}

#logo {
	position: relative;
	float:right;
	background-image:url(images/graigaid_logosmall1.gif);
	height: 168px;
	width: 117px;
	margin: 16px;
}

#access{
	clear:all;
	height:1.8em;
	border-bottom: 1px solid #a9a9a9;
}

#nav2{
        background-color: #000;
        display: block;
	height:1;
        min-width: 760px;
        max-width: 960px;
        padding:0.2em 0.5em;
}

#nav2, #nav2 ul {
	line-height: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	float: left;
}

#nav2 a ,#nav2 a:hover{
	border:none;
	display: block;
	text-decoration: none;
}

#nav2 li {
	float: left;
	list-style:none;
	border-right: 1px solid #a9a9a9;

}

#nav2 a,#nav2 a:visited {
	color:#090;
	display:block;
	padding:6px 12px;
}

#nav2 a:hover, #nav2 a:active {
	color:#fff;
	background:#090;
	text-decoration:none
	border: 1px solid #a9a9a9;
}	

#nav2 li ul {
	border: 1px solid #a9a9a9;
	position: absolute;
	top:auto;
	width: auto;
	z-index:999;
	display:none;
}

#nav2 li ul li{
	background:#000;
	list-style:none;
	float:none;
}
#nav2 li li {
	width: auto;
}

#nav2 li li a,#nav2 li li a:visited {
        color:#090;
	font-weight:normal;
	font-size:0.9em;
}

#nav2 li li a:hover,#nav2 li li a:active {
	color:#fff;
}	

#nav2 li:hover ul, #nav2 li li:hover ul, #nav2 li li li:hover ul, #nav2 li.sfhover ul, #nav2 li li.sfhover ul, #nav2 li li li.sfhover ul {
	display:block;
}

#nav2 .current_page_item a{
	color:#fff;
	background:#090;
}

div#container {
	float:left;
	margin:0 -200px 0 0;
	width:100%;
}

div#content {
	background-color: #ffffff;
	margin:0 180px 5px 0;
	padding:5px;
}

div.sidebar {
	clear:all;
	float:right;
	overflow:hidden;
	width:180px;
/*	background-color: #bbbbbb;*/
}
div#secondary {
clear:right;
float:right;
}

#primary ul{
	padding:0;
	margin:0;
	list-style:none inside none;
}
#secondary ul{
	padding:0;
        margin:0;
	list-style:none inside none;
}
#footer {
	clear: both;
	margin:10px;
	padding:1px;
/*	background-color: #999999;*/
}

/* =Menu
-------------------------------------------------------------- */

#access {
	background: #222; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#252525, #0a0a0a);
	background: -o-linear-gradient(#252525, #0a0a0a);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */
	background: -webkit-linear-gradient(#252525, #0a0a0a);
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	clear: both;
	display: block;
	float: left;
	margin: 0 auto 6px;
	width: 100%;
}
#access ul {
	font-size: 13px;
	list-style: none;
	margin: 0 0 0 -0.8125em;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	color: #eee;
	display: block;
	line-height: 3.333em;
	padding: 0 1.2125em;
	text-decoration: none;
}
#access ul ul {
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 3.333em;
	left: 0;
	width: 188px;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #bbb;
	border-bottom: 1px dotted #ddd;
	color: #444;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 10px 10px;
	width: 168px;
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
	background: #ccc;
}
#access li:hover > a,
#access a:focus {
	background: #ccc; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#ccc, #bbb);
	background: -o-linear-gradient(#ccc, #bbb);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ccc), to(#bbb)); /* Older webkit syntax */
	background: -webkit-linear-gradient(#ccc, #bbb);
	color: #373737;
}
#access ul li:hover > ul {
	display: block;
}
#access .current_page_item > a,
#access .current_page_ancestor > a {
	font-weight: bold;
}
