/* 
Title:     	oathouse.css
Updated:   	3 May 08
By:			Nick
*/

* {
	margin:0;
	padding:0;
	border:0;
}
body {
	color: #333;
	background: #f0f0f0;
	font: small Verdana, Arial, Helvetica, sans-serif;
}
h1, h1 a {
	color:#c30;
	font-size:20px;
	text-indent:-9999px;
}
h3 {
	color:#c30;
	background:transparent;
	margin-bottom:10px;
}
h4 {
	color:#c30;
	background:transparent;
}

a {
	color:#111;
	text-decoration:none;	
}


/* page structure
---------------------------------------------- */
#skip {
	position:absolute;
	left:-9999px;
}
#wrap {
	position:relative;
	width: 938px;
	font-size: 95%;
}
#logo {
	margin:0 0 0 17px;
}
#content {
	float: left;
	width: 609px;
	margin: 0 25px 20px 17px;
}
#sidebar {
	float: left;
	width: 277px;
	margin: 0 10px 20px 0;
}
#footer {
	clear: both;
	margin: 0 10px 20px 17px;
	border-top: 1px solid #ccc;
}

/* header
---------------------------------------------- */

#header {
	position:relative;
	margin: 0 0 0 17px;
	background: transparent url(../i/oat_logo_j.jpg) no-repeat scroll left top;
	height:170px;
	border-bottom:#000 thick solid;
}

/* top nav */

#header #nav-top {
	float: left;
	width: 806px;
	margin: 0;
	padding: 10px 105px 10px 10px;
	list-style: none;
	text-align: left;
	background:transparent;
}
#header #nav-top li {
	display: inline;
	margin: 0 5px 0 0;
	padding: 0 5px 0 0;
	font-size: 114%;
	border-right: 1px solid #d2d2d2;
}
#header #nav-top li.last {
	margin: 0;
	padding: 0;
	border-right: none;
}
#header #nav-top li a {
	padding: 2px 4px;
	text-decoration: none;
	color: #222;
}
#header #nav-top li a:hover,
#header #nav-top li a:focus {
	color: #c30;
}

#tagline {
	text-indent:-9999px;
}

/*
#tagline {
	position: absolute;
	top: 10px;
	right: 10px;
	max-width: 443px;
	padding: 6px 10px;
	font-family: Verdana, sans-serif;
	font-size: 85%;
	text-align:center;
	border: 1px solid #e0e0e0;
	background: #fff;
}
#tagline dl {
	max-height: 105px;
	overflow: auto;
	margin: 0;
	padding: 0;
}
#tagline dt {
	margin: 0 0 2px 0;
	padding: 0;
	font-size: 100%;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #666;
}
#tagline dt a {
	text-decoration:none;
	color: #c30;
}
#tagline dt a:hover,
#tagline dt a:focus {
	color: #222;
}
#tagline dd {
	margin: 0;
	padding: 0;
	line-height: 1.3em;
}
*/
/* main navigation */

#nav-main {
	clear:both;
	width: 100%;
	height: 50px;
	margin: 0 0 20px 17px;
	padding: 0;
	list-style: none;
	background: #f0f0f0;
	overflow: hidden;
}
#nav-main li {
	display: inline;
	margin: 0;
	padding: 0;
}
#nav-main li a {
	float: left;
	padding: 50px 0 0 0;
	height: 0px !important; 
	width: 154px;
	background-position: top left;
	background-repeat: no-repeat;
	overflow: hidden;
}
#nav-main li#n-proj a {
	background-image: url(../i/nav-projects.gif);
}
#nav-main li#n-soft a {
	background-image: url(../i/nav-soft.gif);
}
#nav-main li#n-bus a {
	background-image: url(../i/nav-business.gif);
}
#nav-main li#n-webapp a {
	background-image: url(../i/nav-webapps.gif);
}
#nav-main li#n-valu a {
	width: 151px;
	background-image: url(../i/nav-values.gif);
}
#nav-main li#n-webdes a {
	background-image: url(../i/nav-webdes.gif);
	}
#nav-main li a:hover,
#nav-main li a:focus {
	background-color: #fff;
	}
#nav-main li.active a {
	background-position: 0 -50px;
	}

/* move gif up 50px if on current page */
body.software #nav-main li#n-soft a,
body.software #nav-main li#n-soft a:hover, 
body.software #nav-main li#n-soft a:focus, 
body.design #nav-main li#n-webdes a,
body.design #nav-main li#n-webdes a:hover, 
body.design #nav-main li#n-webdes a:focus, 
body.webapps #nav-main li#n-webapp a,
body.webapps #nav-main li#n-webapp a:hover,
body.webapps #nav-main li#n-webapp a:focus,
body.ethos #nav-main li#n-valu a,
body.ethos #nav-main li#n-valu a:hover, 
body.ethos #nav-main li#n-valu a:focus, 
body.process #nav-main li#n-bus a,
body.process #nav-main li#n-bus a:hover, 
body.process #nav-main li#n-bus a:focus, 
body.projects #nav-main li#n-proj a,
body.projects #nav-main li#n-proj a:hover,
body.projects #nav-main li#n-proj a:focus {
	background-position:0 -50px;
}

/* content
---------------------------------------------- */

/* heading caps sections */

#content div.cap {
	margin: 0;
	padding: 8px 10px;
	background: #e3e3e3;
}
#content div.cap h2 {
	float: left;
	margin: 0;
	padding: 0;
	font-size: 12px;
	line-height: 1em;
	text-transform: uppercase;
	color: #666;
}

/* group panel for sections */

#content div.group {
	margin: 0 0 10px 0;
	padding: 10px 10px 20px 10px;
	background: #fff;
	}
#content div.group a {
	/*border-bottom:#c30 dashed thin;*/
	color: #222;
	font-weight:bold;
	}
#content div.group a:hover,
#content div.group a:focus {
	color: #900;
	}
#content div.group h3.from {
	margin: 0 0 10px 0;
	padding: 0;
	font-size: 80%;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #888;
	}
#content div.group h3.from a {
	color: #888;
	}
#content div.group h3.from a:hover,
#content div.group h3.from a:focus {	
	color: #555;
	}
#content div.group h4 {
	font-size:110%;
	margin-bottom:10px;
}
#content div.group h4.top {
	font-size:120%;
}

/* sub groups for two columns */

#content div.group-sub {
	float: left;
	width: 282px;
}
#content div.last {
	margin-left: 25px;
}

/* article */

#content dl.article {
	margin: 0 0 15px 0;
	padding: 0 0 15px 0;
	border-bottom: 4px solid #f0f0f0;
	min-height:150px;
}
#content dl.last { /* no border on last article */
	padding-bottom: 0;
	border-bottom: none;
}
#content dl.article dt {
	margin: 0;
	padding: 0;
	font-size: 110%;
}
#content dl.article dt a {
	text-decoration: none;
	color: #c30;
}
#content dl.article dt a:hover,
#content dl.article dt a:focus {
	color: #930;
}
#content dl.article dd {
	margin: 3px 0;
	padding: 0;
	font-size: 100%;
	line-height: 1.5em;
}
#content dl.article dd img {
	float: left;
	margin-top: -2px;
	padding: 3px 10px 0 0;
	background: #fff;
}
#content dl.article dd.deck {
	margin: 6px 0 0 0;
	padding-top: 5px;
	font-family: Verdana, sans-serif;
	font-size: 100%;
	line-height: 1.5em;
	border-top: 1px dashed #b2b2b2;
}

#content dl.article dd.deck2 {
	margin: 10px 0 0 0;
	padding-top: 0px;
	font-family: Verdana, sans-serif;
	font-size: 100%;
	line-height: 1.5em;
}

#content dl.article dd.deck li {
	list-style: none;
}
#content dl.article dd.deck2 li {
	list-style: none;
	background: transparent url(../i/bullet.gif) no-repeat scroll 0px 6px;
	margin: 5px  0 0 0;
	padding: 0 0 0 19px;
	line-height:1.3em;

}

#content blockquote.featured {
	clear: both;
	margin: 10px 0 20px 0;
	padding: 10px;
	font-size: 110%;
	font-style: italic;
	color: #c30;
	background: #f0f0f0 url(../i/blockq-left.gif) no-repeat 10px 10px;
}
#content blockquote.featured p {
	margin: 0;
	padding-left: 30px;
}
#content blockquote.featured p.lastline {
	float: left;
	margin-bottom: 10px;
	padding: 7px 30px 0 30px;
	background: url(../i/blockq-right.gif) no-repeat bottom right;
}
#content blockquote.featured p.by {
	clear: left;
	font-family: Verdana, sans-serif;
	font-size: 80%;
	font-style: normal;
}
#content blockquote.featured p.by strong {
	display: block;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #666;
}
#content blockquote.featured p.by em {
	display: block;
	margin: 3px 0 3px;
	color: #666;
	letter-spacing:1px;
}
#content blockquote.featured p.by span {
	font-size: 90%;
	font-style: normal;
}

/* sidebar
---------------------------------------------- */

#sidebar, select {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 95%;
	line-height: 1.5em;
}
#sidebar h3 {
	margin: 10px 0 0 0;
	padding: 15px 0 0 0;
	font-size: 12px;
	line-height: 1em;
	text-transform: uppercase;
	color: #c30;
	border-top: 1px solid #d7d7d7;
}
#sidebar h3.first { /* remove padding and border for first heading */
	margin: 0;
	padding: 0;
	border-top: none;
}
#sidebar p {
	margin: 3px 0 0 0;
	padding: 0;
}
#sidebar p.more {
	margin: 0;
	text-align: right;
}
#sidebar ul.list {
	margin: 5px 0 0 0;
	padding: 0;
	list-style: none;
}
#sidebar ul.list li {
	margin: 0 0 4px 0;
	padding: 0 0 0 11px;
}
#sidebar a {
	color:#222;
}
#sidebar a:hover,
#sidebar a:focus {
	color:#c30;
}


#sidebar div.snippet p {
	display: block;
	margin-top: 2px;
}
#sidebar div.snippet a {
	/*display: block;*/
	font-weight:bold;
	margin-top:4px;
}

/* news */

#sidebar dl.news {
	margin: 3px 0 0 0;
	padding: 0;
	}
#sidebar dl.news dt {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding-top:3px
	}
#sidebar dl.news dt a {
	text-decoration: none;
	}
#sidebar dl.news dd {
	margin: 0 0 10px 0;
	padding: 0;
	}

/* about us */

#sidebar h5#about-us {
	margin: 0;
	padding: 0;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 120%;
	font-weight: normal;
	letter-spacing:1px;
	line-height: 1.5em;
	color: #c30;
	}
#sidebar h5#about-us a {
	display: block;
	margin: 6px 0 0 0;
	font-size: 90%;
	font-weight:bold;
	text-align: right;
	}

/* featuring */

#sidebar ul.featuring {
	margin: 10px 0;
	padding: 0 0 10px 0;
	list-style: none;
	letter-spacing:1px;
	text-transform:uppercase;
}

#sidebar div.valid {
	border-top:1px solid #d7d7d7;
	margin:20px 0 0;
	padding:15px 0pt 0pt;
}

/* footer
---------------------------------------------- */

#footer p {
	margin: 10px 0 0 0;
	padding: 0;
	font-family: Verdana, sans-serif;
	font-size: 90%;
	line-height: 1.7em;
}
#footer p img {
	float: left;
	margin-right: 10px;
}
#footer a {
	color: #333;
}
#footer a:hover,
#footer a:focus {
	color: #c30;
}

/* misc.
---------------------------------------------- */

.hide {
	display: none;
	}
a img, abbr {
	border: none;
	}
a { /* gets rid of dotted outline in FF */
	outline: none;
	}

/* self-clearing floats */

#nav-main:after,
#content div.cap:after,
#content div.group:after,
#content dl.article:after,
#content blockquote.featured:after {
	content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

#content div.banner{
	margin: 0 0 10px 0;
	padding: 0 0 0 0;
	background: #fff;
}
	
/* fixes font-size keyword problem for IE5/Win */
body {
	font-size: x-small; /* IE5 Win */
  	voice-family: "\"}\""; 
  	voice-family: inherit;
  	font-size: small;
}
html>body { /* be nice to Opera */
	font-size: small;
}

/* give the tagline a width in lieu of max-width */
* html #tagline {
	width: 230px;
}
html>#tagline {
	width: 230px;
}
/* ie/mac clear problem */
* html #sidebar {
	width: 276px;
}
/* hide from ie/mac \*/
* html #sidebar {
	width: 275px;
}
/* end hide */

/* extra space under banner img */
* html #banner img {
	display: block;
	}

/* double float margin bug */
* html #content,
* html #sidebar {
	display: inline;
}

/* ie/mac needs specific widths set */
* html #content div.group,
* html #content div.cap {
	width: 589px;
}
/* hide from ie/mac to reset \*/
* html #content div.group,
* html #content div.cap {
	width: auto;
}
/* end hide */


/* self-clearing floats
----------------------------------------------------- */

/* for ie7 */
#nav-main,
#content div.cap,
#content div.group,
#content dl.article,
#content blockquote.featured,
#footer { 
	display: inline-block; 
}

/* target ie5+6/win only, hide for ie/mac, then reset for all other browsers \*/
* html #nav-main,
* html #content div.cap,
* html #content div.group,
* html #content dl.article,
* html #content blockquote.featured,
* html #footer {
	height: 1%;
	}
#nav-main,
#content div.cap,
#content div.group,
#content dl.article,
#content blockquote.featured,
#footer { 
	display: block; 
	}
/* end hide */
