/*
Theme Name: GEI
Theme URI: http://www.ktdreyer.com/
Description: Welding theme with dropdown menu
Version: 1.0
Author: Ken Dreyer
Author URI: http://www.ktdreyer.com/
*/


body {
	background-color: #000;
	color: #fff;
	margin: 0;
	padding: 0;
	font: .8em "Verdana", "Tahoma", "Trebuchet MS", "Arial", sans-serif;
}

a img {
	border: 0;
}

/* --- PAGE --- */
div#page {
	background-color: #fff;
	color: #000;
	margin: 1em 3em 1em 3em;
}
/* Technique from http://apptools.com/examples/roundedbox.php */
div#page #top, div#page #bottom {
	/* Set the font-size and line height to a sufficiently small
	   number that they won't affect the box. */
	font-size: 1px;
	height: 16px; /* half the circle diameter */
	line-height: 1px;
}
div#page #topleft, div#page  #topright, div#page #bottomleft, div#page #bottomright {
	height: 16px;
	width: 16px;
}
div#page #topleft {
	background: url('images/corner.png') no-repeat top left;
	float: left;
}
div#page #topright {
	background: url('images/corner.png') no-repeat top right;
	float: right;
}
div#page #bottomleft {
	background: url('images/corner.png') no-repeat bottom left;
	float: left;
}
div#page #bottomright {
	background: url('images/corner.png') no-repeat bottom right;
	float: right;
}

/* --- HEADER --- */
#header {
	background-color: inherit;
	color: inherit;
	min-height: 40px;
	margin: -1em 0 0 0;
	padding: 0;
}
#header img#logo {
	float: left;
	margin: 0.5em;
}
#search  {
	float: right;
	padding-right: 50px;
	padding-top: 1.8em;
}
#search input#s {
	background: #fff;
	border: 1px solid #ccc;
	color: #ccc;
	font-size: 1.5em;
	width: 8em;
} 
#search input.submit {
	border: 1px solid #ccc;
	font-size: 1.5em;
}

/* --- HEADERIMG --- */
#headerimg {
	clear:both;
	color: #fff;
	background: #000 url("images/header.jpg") no-repeat right -15px; /* resize or crop this img */
	margin: 0;
	height: 200px;
	position: relative; /* allows absolute positioning for nav */
}
h1 {
	font-size: 3em;
	font-weight: normal;
	margin: 0;
	padding-top: .4em;
	padding-left: .4em;
}
.description {
	font: 1.6em sans-serif;
	font-weight: normal;
	margin: 0;
	padding-top: .4em;
	padding-left: 1.0em;
}

/* --- NAVBAR --- */
#navbar, #navbar ul {
	padding: 0;
	margin: 0;
	list-style: none;
	/* why put a bg color here? */
	/* background-color: inherit; */
}
#navbar {
	position: absolute;
	bottom: 0;
}

#navbar a {
	display: block;
	width: 100px;
	color: #003;
	text-decoration: none;
}
#navbar a:hover {
	text-decoration: underline;
}

#navbar li {
	float: left;
	width: 100px;
	background: #fff url('images/menu-item.png') no-repeat left top;
	text-align: center;
	padding-top: 0.6em;
	padding-bottom: 0.5em;
	margin-left: 0.7em; /* should only apply to 1st li's */
	margin-bottom: 0; /* should only apply to 1st li's */
	font-size: 1.2em;
}
#navbar li li {
	margin: 0;
	padding: 0.5em 2em 0.5em 2em;
	background: transparent none;
	font-size: .75em;
	text-align: left;
}
#navbar li li a {
	text-decoration: none;
}
#navbar li li a:hover {
	text-decoration: underline;
}
#navbar li ul {
	margin-top: 0.5em;
	margin-left: -11px;
	padding-bottom: 1.5em;
	position: absolute;
	width: 162px;
	left: -999em;
	border: 0px solid #ccc;
	background: transparent url('images/menu-dropdown.png') no-repeat center bottom;
}

#navbar li:hover ul, #navbar li.sfhover ul {
	left: auto;
}

/* --- CONTENT --- */
#content {
	clear: both;
	background-color: inherit;
	margin:0;
	color: #000;
	padding-top: 0.5em;
	padding-left: 2.5em;
	padding-right: 2.5em;
}
.alignright {
	clear: right;
	float: right;
}

/* --- FOOTER --- */
#footer {
	clear:both;
	background-color: inherit;
	color: #000;
	text-align: center;
	padding-top: 1em;
	font-size: .9em;
}
#footer p {
	margin-bottom: .4em;
}
#footer address {
	font-style: normal;
}
#login {
	text-align: center;
	font-size: .8em;
}
