/* 
Stylesheet for Keppe Rofer
Last updated: 6 July 2006
Author: Martin Glancy, ID
*/

/* TEXT AND PAGE ###################### */

/* Cure IE odd scroll bar behaviour ===== */
html {
	overflow-y: scroll;
}

body {
	background-color: #F1F1F1;
	color: #000000;
	margin: 0px;
	text-align: center;
	margin-bottom: 10px;
	}


/* SET FONTS  ###################### */
body, p, div, li, dd, td, th, h1, h2, h3, h4, select, option, blockquote {
	font-family: Verdana, Arial, Helvetica, Helv, sans-serif;
	}

/* LINK COLOUR  ###################### */

a {
	color: #0F599E;
	}
	
/* LAYOUT DIVS ###################### */

/* Print-only info at page top */
#printheader {
	visibility: hidden;
	display: none;
	}

html, body { 
	margin: 10px 0 10px 0; 
	padding:0; 
	text-align:center;
	background-color: #EFEFEF; 
	} 
 
#pagewidth { 
	width:760px; 
	text-align:left;  
	margin-left:auto; 
	margin-right:auto;
	background-color: #FFFFFF;
	border: 1px solid #000000;
	background-image: url(../i/banner-bg.gif);
	background-repeat:no-repeat;
	background-position: 10px 10px;
	padding-top: 110px;
} 

#wrapper { 
	padding: 0 10px;
	background-image: url(../i/menu-bg.gif);
	background-repeat:repeat-y;
	background-position: top left;
} 
 
#header {  /* This holds the crumb */
	position:relative;
	margin-left: 10px;
	padding-bottom: 10px;
} 

#header p {  /* This is the crumb */
	color: #0E598B;
	margin:0;
	padding:0;
} 

#header p a {  /* This is the crumb */
	color: #0E598B;
	text-decoration: none;
} 
 
#leftcol {
	width:160px; 
	float:left; 
	position:relative;
	margin-top: 0px;
}
 
#twocols {
	width:577px; 
	float:right; 
	position:relative;
	}
 
#rightcol {
	width:134px; 
	float:right; 
	position:relative;
	margin-top: 0px;
	}

#rightcol p {
	padding: 0;
	background-color: #FFFFFF;
	color: #000000;
	font-weight: bold;
	}
 
#maincol {
	float: left; 
	display:inline; 
	position: relative; 
	width:437px; 
	}
 
#footer {
	border-top:1px solid #CED9E1;
	clear: both;
	padding: 4px 0;
	margin: 30px 10px 0 10px;
	background-color: #FFFFFF;
	} 

#footer p {
	color: #000000;
	margin: 8px 0 8px 160px;

	} 
   
 /* *** Float containers fix:
 http://www.csscreator.com/attributes/containedfloat.php *** */ 
.clearfix:after {
 content: "."; 
 display: block; 
 height: 0; 
 clear: both; 
 visibility: hidden;
 }
 
.clearfix{display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix{height: 1%;}
.clearfix{display: block;}
/* End hide from IE-mac */  

/* ================================== */

h1, h2, h3 {
	color: #00438F;
	background-color: transparent;
	}

h1, h2 {
	font-weight: normal;
	border-bottom:1px solid #CED9E1;
	padding-bottom: 5px;
	}
	
h2.aboveTable {
	margin-bottom: auto;
    }

h1 {
    font-size: 1.4em;
    margin: 10px 0px 0px 0px;
    }

h2 {
    font-size: 1.15em;
    font-weight: bold;
    }
    


	
/* MENU ###################### */

/* 
Hack below required to stop manu bg disappearing 
http://www.communitymx.com/content/article.cfm?page=2&cid=C37E0 
also used on footer
*/

/* Hides from IE5-mac \*/
* html #leftcol {height: 1%;}
/* End hide from IE5-mac */ 

#leftcol ul {
	border-top: 1px solid #A2C8E3;
	margin-top: 0px;
	padding: 0px 0px 0px 0px;
	list-style-type: none;
	margin-left: 0px;
	margin-right: 10px;
	position: relative;
	}

#leftcol li {
	border-bottom: 1px solid #A2C8E3;
	margin: 0;
	padding: 0;
	}

#leftcol ul a {
	color:#36729E;
	text-decoration: none;
	display: block;
	padding: 5px 0 5px 3px;
	width: 147px;
	\width: 150px;
	w\idth: 147px;
	background-color: transparent;
	}

#leftcol a:link, #leftcol a:visited {
	color:#36729E;
	}

#leftcol li a:hover {
	color:#000000;
	background-color: #B6E2FF;
	}
	
#leftcol a.highlight {
	font-weight: bold;
	}
	
li.grandparent {}
li.parent {}



/* FONT SIZES EXCEPT h1 h2 set above ###################### */

div, p, h3, h4, th, td, ul, ol, li, dd, address
    {
    font-size : small;
    }

/*/*/a{}

body, body div, body p, body h3, body h4, body th, body td, body ul, body ol, body li, body dd, body address
    {
    font-size : x-small;
    voice-family : "\"}\"";
    voice-family : inherit;
    font-size : small;
    }

html>head:first-child+body div, html>head:first-child+body p, html>head:first-child+body h3, html>head:first-child+body h4, html>head:first-child+body th, html>head:first-child+body td, html>head:first-child+body li, html>head:first-child+body dd, html>head:first-child+body address
    {
    font-size : small;
    }

/* */


/* FONT ENDS ###################### */



/* MISC CLASSES ###################### */

td.links {
	padding: 4px;
	background-color: #EAFAFB;
	}

#maincol ul {
	padding: 0;
	margin: 1.2em;
	margin-right: -5px;
	list-style: disc url(../images/bullet.gif);
	position: relative;
	}

#maincol ul li {
	padding: 0 0 6px 0;
	position: relative;
	}



/* 2-11-05 The decendant p is to fix link color for bad code from the editor eg <A><P>blah</P></A> */
a, a p {  
	color:#3A5BBC;
	}

a:hover, a:active, a:hover p, a:active p {  
	color:#FF0000;
	}

a:visited, a:visited p {  
	color:#3A5BBC;
	}


/* LAYOUT ###################### */

#promos {
}

#news {
}

#news h2, #science h2 {
	padding: 8px 10px 0px 13px;
	margin-bottom: 3px;
	font-size: small;
	color: #000000;
}

#news ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	}

#news li {
	margin-left: 13px;
	margin-right: 7px;
	padding-bottom: 3px;
	}

#news ul a {
	color:#3A5BBC;
	}

#news a:link, #news a:visited {
	color:#3A5BBC;
	}

#news li a:hover {
	text-decoration: underline;
	}


/* Sitemap styling */

#sitemap {
	margin-top: 30px;
	margin-left: 50px;
	}

#sitemap ul {
	list-style-type: square;
	color: #F15F22;
	}

#sitemap a:link, #sitemap a:visited, #sitemap a:active {
	color: #211F5E;
	text-decoration: none;
	}

#sitemap a:hover {
	color: #F15F22;
	text-decoration: underline;
	}

#sitemap ul li {
	font-weight: bold;
	margin:0;
	padding: 0;
	margin-top: 10px;
	}

#sitemap ul ul li {
	font-weight: normal;
	margin:0;
	padding: 0;
	}

#sitemap ul ul ul li {
	font-weight: normal;
	margin:0;
	padding: 0;
	}
	
#sitemap ul ul ul li {
	font-weight: normal;
	margin:0 10px;
	padding: 0;
	margin-top: 0px;
	}
	

/* To hide skip to contents link */
.skipLink a {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
}

.skipLink a:active, .skipLink a:focus {
	position: absolute;
	overflow: visible;
	width: auto;
	height: auto;
	/* The rest are purely presentational properties to make the link stand out */
	background-color: yellow;
	color: red;
	top: 5px;
	left: 5px;
	padding: 5px;
	border: 2px solid red;
	font-weight: bold;
} 

#footer p {
	text-align: inherit;
	margin-right: 180px;
	}


/* ACCESSIBILITY CONVERSIONS == */

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}


/* EMAIL FORM STYLES == */

table#mailform input, table#mailform textarea {
	width: 300px; 
}


div.mailFormRow input, div.mailFormRow textarea { 
	width: 400px; 
	}

table.contact {
	background-color: #EAFAFB;
	border: 1px dotted #CCCCCC;
	}

input:focus, textarea:focus {
	background:#FFFF80;
	color:black;
	} 
 

/* QUOTE STYLES == */
table.fees { background-color: #ABABAB; }
tr.dark td { background-color: #F3F3F3;}
tr.light td { background-color: #FFFFFF;}
tr#last td { font-weight: bold;}
p.errors { font-weight: bold; color: #FF0000;}

p.quote {
font-size: medium; 
font-weight: bold;
padding: 10px;
border: 1px solid #A2C8E3;
background-color: #FFFFCC;
margin-top: 25px;
}

p.discount {
font-weight: bold;
padding: 10px;
border: 1px solid #CC0000;
color: #CC0000;
background-color: #FFFFFF;
margin-top: 5px;
}

p.discount input {
margin-top: 5px;
}



p.quoteForm { /* this class sets indent for all quote form paragraphs */
padding-left: 70px;
margin-left: 40px;
}

p#quoteFor {
	margin-top: 35px;
	background-image: url(../i/quote_bg_for.gif);
	background-repeat:no-repeat;
	background-position: center left;
}

p#quotePrice {
	background-image: url(../i/quote_bg_price.gif);
	background-repeat:no-repeat;
	background-position: center left;
}

p#quoteNumOwn {
	background-image: url(../i/quote_bg_numown.gif);
	background-repeat:no-repeat;
	background-position: center left;
}

p#quoteMortgage {
	background-image: url(../i/quote_bg_mortgage.gif);
	background-repeat:no-repeat;
	background-position: center left;
}

p#quoteBut {
}


 /*printer styles*/ 
 @media print{ 
/*hide the left column when printing*/ 
#leftcol{display:none;} 

/*hide the right column when printing*/ 
#rightcol{display:none;} 
#twocols, #maincol{width:100%; float:none;}
}

