/* CSS Document - loosely based on VAG */

/* color palette:
sage green for logo:  #586D10;
red: #ad2d2d
petrol blue (links etc): #114e91
	main background-color - med green: #B9BD59;


*/

html, body {
	margin: 0; 
	padding: 0;
	border: 0;
	min-height: 100%; margin-bottom: 1px; /* stops page jog, scrollbars always on */
}

body {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 100.1%;
	color: #000000;
	background-color: #B9BD59;
	text-align: center; /* Hack to center the container in IE5.x pc */
}

/* ***STRUCTURE */

div#container { /* ***entire page */
	width: 800px; /*sets the MASTER width */
	margin: 0px auto;/* centers the div. 0px top and bottom, auto center horz*/
	position: relative; /* sets a border to all 4 sides */
	text-align: left; /* needed after the IE hack in body */
	color: #000000;
	background-color: #FFFFFF;
}

div#banner {
	position: relative; /* without it Dreamweaver allows sidebar div to ride up over the banner in design view */
	width: 760px;
	height: 190px;
	margin-left: 20px;
	background-image: url(../navbar/wovenlogo.gif);
	background-repeat: no-repeat;
}


/* *** wrapper includes content and sidebar *** */
#wrapper {
	margin: 0px;
	padding: 20px 0px 30px 0px; /* Safari NEEDS padding L-R=0 and to use margin left on Content and margin right on sidebar - but IE6 o windows doubled the margin on the right and bumped down the contents div, so I reduced Wrapper to 780 and took off the margin right on sidebar ** */
	position: relative;
	width: 780px; /* *** same as container ** */
	height: auto;
	clear: both; /* *** need for MacIE 5.5 ** */
}
/* *** content styling *** */
#content {
	position: relative;
	float: none;
	width: 530px;   /* *** full width images should be 524px to look aligned with floated right images ** */
	margin-left: 20px;
	padding-right: 15px;
	border-right-width: 2px;
	border-right-style: dotted;
	border-right-color: #CCC;
	background-color: #FFFFFF;
}

/* *** sidebar - at some point, see if the contents and sidebar shouldn't both be floated left, otherwise you can't clear both on content div *** */
#sidebar {
	position: relative;
	float: right;
	margin-right: 0px; /* *** take off margin and reduce wrapper to 780 total and float right to edge of wrapper ** */
	padding-left: 10px;
	width: 190px; /* *** IMAGES NEED TO BE 170px width or less or content gets bumped down ** */
}

div.herobox {
	background-color: #F5EEE6;
	border: 1px solid #C0BAB4;
	width: auto;
	padding-top: 14px;
	padding-right: 12px;
	padding-bottom: 8px;
	padding-left: 12px;
	margin-bottom: 16px;
}




/* styling horz nav bar  */
div#nav {
	position: relative;
	margin-left: 20px;
	padding: 0;
	width: 760px; /* same as container plus margin left =20*/
	height: 1.6em; /* liquid height */
	background-color: #586D10;
}
#nav ul {
	margin: 0;
	padding: 0;
}
#nav ul li {
	float: left;
	margin: 0;
	padding: 0;
	display: block;
	list-style: none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 90%;
	letter-spacing: 1px;
	font-weight: bold;
}
#nav a {
	float: left; /* *** for IE55Mac - hidden below from others  *** */
	margin: 0;
	padding: 3px 10px;
	color: #FFF;
	display: block;
	text-decoration: none;
	background-color: #586D10; /*match nav div bg */
}
/* Commented backslash hack hides rule from IE5-Mac WATCH BACKSLASH! \*/
#nav a {
	float: none;
}
/* End IE5-Mac hack */

/* declarations to style the hover and current page */
#nav a:hover {
	background-color: #B9BD59; /* medium green */
	color: #000;
}
 
body#about #t-about a, 
body#index #t-index a, 
body#products #t-products a, 
body#portfolio #t-portfolio a, 
body#articles #t-articles a, 
body#classes #t-classes a, 
body#consulting #t-consulting a, 
body#blog #t-blog a, 
body#contact #t-contact a, 
body#links #t-links a {
	color: #FFF; /* text color white */
	background-color: #ad2d2d; /*match nav div bg */
}




/* *** font-size is in percent, line height is in ems*** */
p, ul {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 100%;
	color: #000000;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
}
ul {
	font-size: 82%;
	padding-right: 12px;
	padding-left: 23px;
	padding-top: 1px;
	padding-bottom: 6px;
}
ul li {
	padding-top: 3px;
	padding-bottom: 3px;
	list-style-image: url(../navbar/dingbat-floral.gif);
}
	

#sidebar ul {
	font-size: 75%;
	padding-right: 0px;
	padding-left: 0px;
	padding-top: 3px;
	padding-bottom: 6px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	list-style-type: none;
}
#sidebar ul li {
	padding-top: 5px;
}



/* *** bottom footer *** */
#footer {
	width: 760px;
	clear: both;
	margin-top: 1em;
	margin-left: 20px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCC;
}
/* *** styling footer copy *** */
#footer p {
	font-size: 65%;
	text-align: left;
	color: #666;
	padding-top: 4px;
}

/* *** redefining general links *** */
a:link {
	color: #114e91; /* VAG BLUE */
	text-decoration: underline;
}
a:visited {
	color: #660066;
	text-decoration: underline;
}
a:hover {
	color: #CC9900;
	text-decoration: underline;
}
a:active {
	color: #CC3300;
}

/* *** redefining html tags *** */
h1, h2, h3, h4, h5, h6 {
	margin: 0px;
	padding: 0px;
	letter-spacing: 1px;
	line-height: 1.2em;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #586D10; /* sage green */
}

h1 {
	font-size: 100%;
	padding-bottom: 5px;
}

h2 { 
	font-size: 90%;
	margin-top: 0.2em;
	color: #ad2d2d; /* red */
}

#articles h2, #portfolio h2 {
	font-style: italic;
}

h3, h4 {
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 76%;
	margin-top: 1.2em;
	line-height: 1.4em;
}
h4 {
	font-style: italic;
}

h5, h6 { /* no letterspacing, good for links */
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 76%;
	margin-top: 1em;
	letter-spacing: 0px;

}
h6 {
	font-style: italic;
}

#content p {
	font-size: 85%;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	font-family: Georgia, "Times New Roman", Times, serif;
}

/* *** styling sidebar copy *** */

#sidebar h2, #sidebar h3 { /* common elements */
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-style: normal;
	letter-spacing: 1px;
	line-height: 1.2em;
	font-size: 80%;
	padding: 0;
	padding-top: 1.0em;
	font-style: normal;
	color: #586D10;
	margin-top: 0.5em;
}


#sidebar h2.head { /* used for first header - no margin top */
	letter-spacing: 2px;
	margin-top: 0;
	padding-top: 0;
}


#sidebar h3 {
	color: #333;
	font-size: 75%;
	margin-top: 1.0em;
}

#sidebar h4 {
	color: #555;
	font-size: 75%;
	margin-top: 0.5em;
}

#sidebar p {
	padding: 0;
	margin-top: 0.4em;
	margin-bottom: 0.6em;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #333;
	font-size: 75%;
	line-height: 1.4em;
}

/* *** misc classes*** */



.align_center {
	text-align: center;
}



.nomargins {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
.smallmargintop {
	margin-top: 4px;
}
.xtraSpaceB4, #sidebar p.xtraSpaceB4 {
	padding-top: 10px;
}


/* *** styling images *** */
.floatleft {
	float: left;
	margin-right: 10px;
}
.floatright {
	float: right;
	margin-left: 10px;
}
.noborder {  /* no border, margins */
	border: 0;
	margin: 0;
	padding: 0;
}
.img_borderonly_content {  /* use for a stack of images, does NOT float - FULL WIDTH = 524px (530 less 2 border, less 4px margin right on floated right images */
	border: 1px solid #B9BD59; /* TWG bg green*/
	margin-top: 6px;
	margin-right: 10px;
	margin-bottom: 8px;
	margin-left: 0px;
}
.img_borderonly_herobox {  /* use in herobox, even margins left+right for centering p*/
	border: 1px solid #B9BD59; /* TWG bg green*/
	margin-top: 6px;
	margin-right: 10px;
	margin-bottom: 6px;
	margin-left: 10px;
}

.img_borderonly_sidebar {  /* use for sidebar - images must be 160-170 px wide, no margins*/
	border: 1px solid #B9BD59; /* TWG bg green*/
	margin-top: 6px;
	margin-right: 0px; /* needs to be 0 for sidebar or content div gets pushed down*/
	margin-bottom: 8px;
	margin-left: 0px;
}

.imgfloatrighthead {
	border: 1px solid #B9BD59; /* TWG bg green*/
	float: right;
	margin-top: 0px;
	margin-right: 4px; /* at 0px, too close to dotted line */
	margin-bottom: 8px;
	margin-left: 8px;
}

.imgfloatright {
	border: 1px solid #B9BD59; /* TWG bg green*/
	float: right;
	margin-top: 3px;
	margin-right: 4px;/* at 0px, too close to dotted line*/
	margin-bottom: 6px;
	margin-left: 8px;
}
.imgfloatleftclearboth {
	border: 1px solid #B9BD59; /* TWG bg green*/
	float: left;
	clear: both;
	margin-top: 8px;
	margin-right: 10px;
	margin-bottom: 8px;
	margin-left: 0px;
}
.imgfloatleft {
	border: 1px solid #B9BD59; /* TWG bg green*/
	float: left;
	margin-top: 6px;
	margin-right: 10px;
	margin-bottom: 8px;
	margin-left: 0px;
}
.imgfloatlefthead {
	border: 1px solid #114e91;
	float: left;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 8px;
	margin-left: 0px;
}


div.clearer { /* see www.complexspiral.com/publications/containing-floats, don't need to put nb space */
	clear: both; 
	line-height: 0px; 
	height: 0px;
}

.clearleft {
	clear: left;
}
#clearboth {
	clear: both;
}
.clearboth {
	clear: both;
}
.clearboth_ruleabove { /* for major breaks - red line */
	clear: both;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #C72828;
	padding-top: 12px;
}
.ruleabove { /* for major breaks */
	clear: both;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #ED8524;
	padding-top: 12px;
}



