/*
	Theme Name: Greypoint
	Description: Shades of grey sophistication mingled with a catchy tagline.
	Version: 1.0
	Author: 3 Roads Media
	Author URI: http://www.3roadsmedia.com/
*/

/** Globals ***************/

a { color:#a8a8a8; }
a:hover { color:#4b4b4b; text-decoration:none; }
a.post-edit-link {
	background:url(images/edit.png);
	color:#CC0000;
	display:block;
	font-weight:bold;
	height:90px;
	position:absolute;
	right:-30px;
	text-indent:-9999px;
	top:20px;
	width:30px;
}
a.post-edit-link:hover { background-position:30px 0; }
a#admin { position:absolute; text-decoration:none; }

body {
	background:#8d8c8c url(images/bg_body.png) repeat-x;
	font:10px Verdana, Geneva, sans-serif;
	margin:0;
}

h1,h2,h3,h4,h5,h6 { color:#222; }

h1 {
	color:#2c6ba2;
	font:18px Tahoma, Geneva, sans-serif;
	left:480px;
	letter-spacing:0.09em;
}
h2 {
	color:#2c6ba2;
	font-size:15px;
	font-weight:bold;
	margin:12px 0;
}
h3			{ font-size:12px; }
h4, h5, h6 	{ font-size:10px; }

img 		{ border:0; }

ol 			{ color:#4b4b4b; margin:0; padding:0; }

p 			{ color:#4b4b4b; line-height:14px; margin:0 0 20px; }

ul {
	color:#4b4b4b;
	list-style:none;
	margin:0;
	padding:0;
}


/** Structure *************/

#wrapper {
	background:#fff;
	margin:0 auto;
	position:relative;
	width:746px;
}

	/** Page Top Image ********/

	#page-image {
		position:absolute;
		top:-170px;
		left:5px;
		z-index:0;
	}


	/** Header ****************/
	
	#header 	 { height:82px; padding:6px 25px 0; position:relative; }
	#header li   { display:inline; }
	#header li a {
		background:url(images/nav_matrix.png);
		display:block;
		float:left;
		height:31px;
		text-indent:-9999px;
	}	
	#header ul {
		bottom:0;
		height:31px;
		position:absolute;
		right:0;
		width:477px;
	}


		/** Nav Matrix ************/
	
		#header li.page-item-2 a 						{ width:57px; }
		#header li.page-item-2 a:hover,
		#header li.page-item-2.current_page_item a,
		#header li.page-item-2.current_page_ancestor a 	{ background-position:0 -31px; }
		#header li.page-item-4 a 						{ background-position:-57px 0; width:154px; }
		#header li.page-item-4 a:hover,
		#header li.page-item-4.current_page_item a,
		#header li.page-item-4.current_page_ancestor a 	{ background-position:-57px -31px; }
		#header li.page-item-6 a 						{ background-position:-211px 0; width:91px; }
		#header li.page-item-6 a:hover,
		#header li.page-item-6.current_page_item a,
		#header li.page-item-6.current_page_ancestor a 	{ background-position:-211px -31px; }
		#header li.page-item-8 a 						{ background-position:-302px 0; width:81px; }
		#header li.page-item-8 a:hover,
		#header li.page-item-8.current_page_item a,
		#header li.page-item-8.current_page_ancestor a 	{ background-position:-302px -31px; }
		#header li.page-item-10 a 						{ background-position:-383px 0; width:94px; }
		#header li.page-item-10 a:hover,
		#header li.page-item-10.current_page_item a,
		#header li.page-item-10.current_page_ancestor a { background-position:-383px -31px; }


		/** Search Form ***********/
		
		#header form   { position:absolute; right:6px; top:19px; }
		#header form a {
			background:transparent url(images/arrow.gif) center center no-repeat;
			display:block;
			float:left;
			height:6px;
			padding:10px 5px;
			text-indent:-9999px;
			width:10px;
		}
		#header input  { float:left; }


	/** Masthead **************/

	#masthead {
		background:url(images/bg_masthead.png);
		height:176px;
		margin-bottom:-1px;
		position:relative;
		z-index:10;
	}
	#masthead h1 {
		color:#f57b20;
		font:18px Tahoma, Geneva, sans-serif;
		left:480px;
		letter-spacing:0.09em;
		position:absolute;
		top:27%;
		width:250px;
	}
	#masthead h2 {
		bottom:6px;
		color:#fff;
		font:18px Tahoma, Geneva, sans-serif;
		left:8px;
		margin:0;
		position:absolute;
	}


	/** Floating Image ********/

	#float {
		background:url(images/float.png);
		bottom:32px;
		height:25px;
		left:5px;
		position:absolute;
		width:339px;
	}
	#home #float { background:url(images/float_home.png); height:73px; width:535px; }


	/** Main Content **********/

	#main { background:url(images/bg_main.png) 42px 0 repeat-y; position:relative; }


		/** Sidebar ***************/

		#sidebar {
			background:url(images/bg_sidebar.gif) no-repeat;
			float:left;
			margin:0 15px 0 42px;
			padding:26px 0 0 3px;
		}
		#sidebar a {
			background:url(images/arrow-sidebar.png) 3px center no-repeat;
			color:#fff;
			display:block;
			padding:7px 5px 7px 23px;
			text-decoration:none;
		}
		#sidebar a:hover,
		#sidebar li.current_page_item a { background:#2c6ba2 url(images/arrow-sidebar.png) 6px center no-repeat; }
		
		#sidebar li {
			background:url(images/bg_sidebar-li.gif);
			border-bottom:1px solid #8c8c8c;
		}
		#sidebar li:last-child { border:0; }
		#sidebar ul {
			background:url(images/bg_sidebar-ul.png) bottom center no-repeat;
			margin-bottom:50px;
			padding-bottom:9px;
			width:228px;
		}


			/** Newsletter Signup *****/

			#vr {
				background:url(images/bg_newsletter_header.png) no-repeat;
				color:#4b4b4b;
				margin-bottom:49px;
				padding-top:41px;
			}
			#vr div {
				background:#a9a8a8;
				border-bottom:1px solid #8c8c8c;
				padding:6px 10px;
				width:206px;
			}
			#vr div + div + div + div { border:0; }
			#vr fieldset {
				border:1px solid #8c8c8c;
				border-width:0 1px;
				margin:0;
				padding:0;
			}
			#vr input {
				width:132px;
			}
			#vr label {
				display:block;
				float:left;
				padding-top:6px;
				width:70px;
			}
			#vr label em { color:#c00; }
			#vr p {
				background:url(images/bg_sidebar-ul.png) no-repeat;
				padding:9px 0 0;
				text-align:center;
			}

			#vr .submit {
				margin:9px 0 0;
				width:auto;
			}


			/** Poll ******************/

			#poll {
				background:url(images/bg_poll_header.png) no-repeat;
				padding-top:34px;
			}
			#poll p {
				background:#a9a8a8;
				border:1px solid #8c8c8c;
				border-width:0 1px;
				margin:0;
				width:226px;
			}
			#poll li { padding:6px 10px; }
			#poll ul { margin:0 !important; }
			#poll ul + p { background:none; border:0; color:#fff; text-transform:uppercase; }
			#poll ul + p + p { display:none; }

			#poll .Buttons { cursor:pointer; margin:9px 0 0; }

			.wp-polls 		{ margin-bottom:18px; }
			.wp-polls li 	{ list-style:none !important; }
			.wp-polls p 	{ margin:0 !important; padding:0 !important; }
			
			.wp-polls .Buttons { margin-bottom:9px; }


		/** Content ***************/

		#content 	{ float:left; min-height:300px; width:444px; }
		#content li { line-height:14px; }
		#content ol { margin:20px 20px 20px 30px; }
		#content ul { list-style:disc; margin:20px 20px 20px 30px; }


		/** Page Specific *********/

		#contact #main, #legal #main, #sitemap #main, #search #main, #error #main, #single #main 				 	{ background:none; }
		#contact #content, #legal #content, #sitemap #content, #search #content, #error #content, #single #content 	{ margin-left:200px; }

		#sitemap ul 			{ list-style:none; }
		#sitemap ul#toplevel 	{ margin:0 0 20px; padding:0; }


			/** Homepage **************/

			#home #masthead 	{ background:url(images/bg_masthead-home.png); }
			#home #main 		{ background:url(images/bg_main-home.png) no-repeat; padding-top:34px; }
			#home #main-inner 	{ background:url(images/bg_main.png) 42px 0 repeat-y; float:left; }
			#home #sidebar 		{ background:url(images/bg_sidebar-home.png) no-repeat; margin-top:-34px; padding-top:34px; }


			/** Homepage-only list ****/

				#masthead li { float:left; }
				#masthead li a {
					display:block;
					float:left;
					height:20px;
					margin-left:18px;
					text-indent:-9999px;
				}

				#masthead li span { display:none; }
				#masthead li a:hover span {
					display:block;
					height:115px;
					position:absolute;
					right:-15px;
					text-indent:-9999px;
					top:-130px;
					width:240px;
				}
				#masthead ul { bottom:7px; left:95px; position:absolute; }


					/** Individual list items */
		
					li#access a 		{ margin:0; width:75px; }
					li#access span 		{ background:url(images/home_access.png); }
					li#share a 			{ width:68px; }
					li#share span 		{ background:url(images/home_share.png); }
					li#streamline a 	{ width:114px; }
					li#streamline span 	{ background:url(images/home_streamline.png); }
					li#secure a 		{ margin-left:154px; width:78px; }
					li#secure span 		{ background:url(images/home_secure.png); }
					li#comply a 		{ width:85px; }
					li#comply span 		{ background:url(images/home_comply.png); }


			/** Search Results ********/
	
			.search-result 	{ margin:0 0 40px; }
			.search-term 	{ font-weight:bold; }
			.search-nav {
				float:left;
				font-size:12px;
				font-weight:bold;
				margin:0 0 20px;
				width:100%;
				}
			.search-nav div 		{ float:left; }
			.search-nav div + div 	{ float:right; }


		/** Footer ****************/

		#footer {
			background:#fff;
			border-top:1px solid #a4b4cd;
			clear:both;
			color:#9da7b7;
			text-align:center;
		}
		#footer div { border-top:10px solid #5b6d89; padding:10px; }
		#footer li 	{ display:inline; padding:0 5px; }
		#footer ul 	{ padding:5px 0; }


/** WordPress Classes *****/

.alignleft 		{ float:left; margin:0 10px 10px 0; }
.aligncenter	{ display:block; margin:0 auto 10px; }
.alignright 	{ float:right; margin:0 0 10px 10px; }
