/*  ==================================================
 *  Main Stylesheet for Dowd Corp Web Site
 *                                    
 *  This style sheet is organised by section, 
 *  mostly following the same order as the sections
 *  of the web page template, i.e.: 
 *  - body
 *  - skipper (holds "Skip to Content" link)
 *  - header
 *  - navMain
 *  - contenthighlights
 *  - contentmainFirst and contentmainMain
 *  - footer
 *
 *  NB: Some of the styles declared here are 
 *  overridden in browser-specific stylesheets to
 *  compensate for rendering discrepancies
 *  ==============================================  */


/* General Styles */
/* Overridden as nec. by more specific styles */
#container { /* used instead of body for ie5.x compatibility */
/*    background-color: #99FF99;  uncomment for debugging */
    border: 1px solid gray;
    font-family: Arial, sans-serif;
    font-size: small;
    line-height: 140%;
    margin-top: 4px;
    position: relative;
    width: 750px;
}
a { /* ie4 value */
	font-size: 90%;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: 100%;
}
html>a {
	font-size: 100%;
} 
h1 {font-size: 100%;}
h2 {font-size: 119%;}
hr {display: none;}
img {border: none;}
p {font-size: 100%;}


/* Skipper Styles */
#skipper {
    background-color: rgb(160,173,208);
    height: 15px;
    left: 0;
    margin-bottom: 3px;
    padding: 0px 20px 4px 0px;
    position: relative;
    text-align: right;
    top: 0;
}


/* Page Header Styles */
#header {
    border-top: 4px solid rgb(109,131,178);
    border-bottom: 4px solid rgb(12,61,117);
    height: 30px;
    margin-bottom: 18px;
    padding: 20px 20px 10px 10px;
    vertical-align: middle;
}
#header td a {
    color: rgb(94,94,94);
    font-weight: bold;
    letter-spacing: 1px;
	/* ie4 value */
    font-size: 90%;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
    font-size: 95%;
}
html>#header td a {
    font-size: 95%;
} 


/* NavMenu Styles */
/* Menu container styles */
#navMain {
    left: 0px;
    margin-top: 0px;
    padding-left: 9px;
    position: absolute;
    width: 201px;
	/* ie4 value */
    top: 120px;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
    top: 108px;
}
html>#navMain {
    top: 108px;
} 
#navMain h2 {
    background-color: rgb(12,61,117);
    color: #fff;
    margin-bottom: 1em; /* font-relative to prevent overlap on enlarge */
	margin-top: 0px; 
    padding: 5px 3px 4px 15px;
	width: auto;
} 
#navMain h2.nostyle {
	display: none;
}
#navMain p {
    margin: 0px 0px 1em 15px; /* bottom is font-relative to prevent overlap on enlarge */
    padding: 0px;	
}

/* 1st-level and common menu styles */
#navMain ul {
    background: #fff;
    border: 1px solid #fff; /* for IE 5.5/6.x to stop first <li> from jerking on click */
    list-style: none;
    padding: 0px;
	/* ie4 value */
    margin: 0px 0px 26px 0px;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
    margin-bottom: 10px;
}
html>#navMain ul {
    margin-bottom: 10px;
}
/* 1st-level menu items */
#navMain ul li {
    border-bottom: 1px solid rgb(147,147,147);
    border-right: 1px solid rgb(147,147,147);
    padding-bottom: 3px;
    position: relative; /* for positioning of child <ul> */
	text-align: right;
	/* ie4 value */
    line-height: 190%;
	margin-bottom: 18px;
	margin-left: 15px;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
    line-height: 178%;
    margin-bottom: 11px;
	margin-left: 0px;
	padding-top: 0px;
}
html>#navMain ul li {
    line-height: 178%;
    margin-bottom: 11px;
	margin-left: 0px;
	padding-top: 0px;
}
#navMain ul li#companylink {
	/* ie4 value */
	padding-top: 10px;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
	padding-top: 0px;
}
html>#navMain ul li#companylink {
	padding-top: 0px;
}
/* 1st-level menu item links */
#navMain li a {
    color: rgb(94,94,94);
    display: block;
    font-weight: bold;
	overflow: visible;
    padding: 10px 10px 2px 0px;
    text-decoration: none;
    width: auto; /* auto in Ff but 100% in ie*/
	/* ie4 value */
	background: #fff;
	background-repeat: no-repeat;
    font-size: 100%;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
    background: url(images/marker.jpg);
    background-repeat: no-repeat;
    font-size: 120%;
}
html>#navMain li a {
    background: url(images/marker.jpg);
    background-repeat: no-repeat;
    font-size: 120%;
}
#navMain li a:hover {
    background: url(images/marker_hover.jpg);
    background-repeat: no-repeat; /* needed to match #navMain li a */
    color: rgb(12,61,117);
	/* ie4 value */
	background: #fff;
	background-repeat: no-repeat;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
    background: url(images/marker_hover.jpg);
    background-repeat: no-repeat;
}
html>#navMain li a:hover  {
    background: url(images/marker_hover.jpg);
    background-repeat: no-repeat;
}

/* Styles specific to 2nd-level menus */
#navMain li ul {
    display: none;
}
#navMain li.over ul { /* .over class used by JavaScript toggle() function */ 
    display: block;
	margin: 0px;
	padding-bottom: 1px;
    position: absolute;
    top: 0px;
    width: 11em;  /* for <li> width in Ff + font-relative for resizing */
	/* ie4 value */
    border: none;
    left: 0px;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
    border: 1px solid rgb(147,147,147);
    left: 198px;
}
html>#navMain li.over ul {
    border: 1px solid rgb(147,147,147);
    left: 198px;
}

/* 2nd-level menu items */
#navMain li.over ul li {
    border: none;
    border-bottom: 1px solid rgb(147,147,147);
    line-height: 130%; /* override 1st-level value */
    margin-bottom: 1px; /* override 1st-level value */
    padding-bottom: 0px; /* override 1st-level value */
	/* ie4 value */
    text-align: right;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
    text-align: left;
}
html>#navMain li.over ul li {
    text-align: left;
}
#navMain li.over ul li.sectionEnd {
	border-bottom: none;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
/* 2nd-level menu item links */
#navMain li.over ul li a {
	/* ie4 value */
	font-size: 80%;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: 100%;
}
html>#navMain li.over ul li a {
	font-size: 100%;
}
#navMain li.over ul li a, #navMain li.over ul li a:hover {
	background-image: none;
    background: #fff; /* overrides bg images from 1st level <a>s */
    padding: 2px 0px 2px 2px;
	/* ie4 value */
	font-size: 80%;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: 100%;
}
html>#navMain li.over ul li a, html>#navMain li.over ul li a:hover  {
	font-size: 100%;
}


/* Content Section Styles */
/* Standard content styles */
#contentmain {
    border-top: 1px solid #fff; /* Ff alignment hack*/
	height: 900px; /* Leave room for the footer below the content */
    margin: 0px 10px 0px 230px; /* left 230px in Ff, 227 in IE */
    width: 500px;
}
#contentmain h2 {
    background-color: rgb(160,173,208);
    color: rgb(12,61,117);
    letter-spacing: 1px;
    margin-bottom: 1em; /* font-relative to prevent overlap on enlarge */
	margin-top: 0px; 
    padding: 5px 3px 4px 15px;
    width: 482px;
}
#contentmain h3 {
	color: gray; 
    padding: 5px 3px 4px 15px;
}
#contentmain img {
	margin-bottom: 22px;
	overflow: visible;
}	
#contentmain p {
    margin: 0px 0px 1em 16px; /* bottom is font-relative to prevent overlap on enlarge */
    padding: 0px;
    width: 400px;	
}


/* Styles for specific pages */
/* Styles for contactus and sitemap pages */
#subcontainer {
	text-align: center;
	width: 500px;
}
#subcontainer address {
	font-style: normal;
	margin-bottom: 81px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	width: 17em; /* font-relative to prevent line-wrapping on enlarge */
}
#subcontainer address p {
	width: auto; /* declaration needed for parent <address>'s width in IE */
}
#subcontainer ul { /* 1st-level list */
	margin: 0px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
	text-align: left;
	width: 17em; /* font-relative to prevent line-wrapping on enlarge */
}
#subcontainer li ul { /* 2nd level list */
	margin-left: 2em;
	text-align: left;
	width: auto; /* font-relative to prevent line-wrapping on enlarge */
}
#subcontainer ul li { /* 1st-level list item */
	list-style-type: none;
	margin: 0px 0px 1em 0px; /* bottom is font-relative to prevent overlap on enlarge */
	padding: 0px;
}
#subcontainer ul li ul li { /* 2nd-level list item */
	margin: 0px;
	padding: 0px;
}


/* Styles for products pages */
.productspage #contentmain {
	margin-left: 227px; /* less than normal, for H. Yakka logo alignment */
}
.productspage #contentmain img {
	margin-bottom: 0px;
}	
.productspage img#logo {
	float: left;
	margin-left: 3px; /* except H.Yakka logo, aligns with subcontainer text */
}
#productspagewkwear img#logo {
	margin-left: 1px; /* aligns H.Yakka logo with subcontainer text */
}
.productspage img#strip {
	float: right;
}	
.productspage #subcontainer {
	margin-left: 3px;
	margin-top: 58px;
	padding-left: 0px;
	text-align: left;
    width: 345px;
}
#productspageapparel #subcontainer {
	/* ie4 value */
	margin-left: -304px;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
	margin-left: 3px;
}
html>productspageapparel #subcontainer {
	margin-left: 3px;
}
#productspagewkwear #subcontainer {
	/* ie4 value */
	margin-left: -195px;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
	margin-left: 3px;
}
html>#productspagewkwear #subcontainer {
	margin-left: 3px;
}
#productspagepromotional #subcontainer {
	/* ie4 value */
	margin-left: -314px; 
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
	margin-left: 3px; 
}
html>#productspagepromotional #subcontainer {
	margin-left: 3px;
}
#productspageppe #subcontainer {
	margin-top: 108px; 
	/* ie4 value */
	margin-left: -82px;
	/* non-ie4 value */
	voice-family: "\"}\"";
	voice-family: inherit;
	margin-left: 3px;
}
html>#productspageppe #subcontainer {
	margin-left: 3px;
}

.productspage #subcontainer h2 {
    background-color: #fff;
    color: gray;
    padding-left: 0px;
    width: auto;
}
.productspage #subcontainer p {
	margin-left: 0px;
	padding-left: 0px;
	width: auto;
}

/* Styles for clients page */	
blockquote {
	background: url(images/quote_open.jpg);
	background-position: top left; 
	background-repeat: no-repeat;
	margin: 0px 0px 0px 1px;
	padding: 0px;
    width: 400px;		
}	
#clientspage blockquote p { /* page identifier increase specificity */ 
	margin: 0px 0px 1em 20px; /* left makes room for blockquote's bg */
	padding: 0px;
}	
.quoteclose { /* for empty span at end of para in blockquote */
	background: url(images/quote_close.jpg);
	background-position: bottom right;
	background-repeat: no-repeat;
	padding-right: 12px; /* IE ignores this on empty span */
	width: 12px; /* Ff seems to ignore this on empty span */	
}	

	 
/* Page Footer Styles */
#footer {
    clear: both;
    margin-left: 10px;
	padding-top: 20px;
}
