/* 
Richardson Roofing stylesheet 12/07

ToC

	1. defaults
	2. structure
	3. typography
	4. navigation
	5. images

*/



/* --------- 1. defaults  --------- */

*
{
	margin: 0em;
	padding: 0em;
	font-size:100.01%;
}

#logo {
	display:none;
}


html { 
	text-align:center;
  padding: 0;
  margin: 0;
  height: 100%;
}

body{
	font-family: Arial, Helvetica, sans-serif;
	color: #666666;
	font-size:100.01%;
	background-color: #FFFFFF;
	text-align:left;
	background-image: url(assets/bg1.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
	margin: 0;
	padding:0;
	height: 100%;
	background-attachment: fixed;
	min-height:700px;
	min-width:950px;
}

/* --------- 2. structure  --------- */
#upbg {
	position: absolute;
	width: 1680px;
	height: 250px;
	background: #fff url('assets/bg2.jpg') no-repeat;
	z-index: -1;
	left: -390px;
	text-align: center;
}


#outer {
	position:relative;
	width:900px;
	margin: 0 auto;
}

#header{
	width: 900px;
	height: 111px;
	text-align: left;
	background-image: url(assets/headerbg.jpg);
	position: relative;
	top: 0px;
}

.separator {
	clear: both;
	height: 10px;
}
		
#headerbar{
	clear: both;
	width: 900px;
	margin: 0 auto;
	background-image: url(assets/headerbar.jpg);
	background-repeat: repeat-x;
	height: 35px;
	background-color: #FFFFFF;
}
#navleft {
	left:0px;
	top:10px;
	width:140px;
	z-index:3;
	float: left;
}

#contentmain {
	width:465px;
	w/dth:465px;
	float: left;
	line-height: 20pt;
	margin: 0 0 0 0;
	padding: 5px 0 0 20px;
	min-height: 600px;
}

#contentmain2 {
	width:265px;
	w/dth:465px;
	float: left;
	line-height: 20pt;
	margin: 5px 0 0 0;
	padding: 5px 0 0 20px;
	height: 600px;
}

#sidebar {
	float: right;
	width: 275px;
	padding: 40px 0 0 0;
	margin: 0 0 10px 0;
}
#contactsidebar {
	float: right;
	width: 275px;
	padding: 40px 0 0 0px;
	margin: 0px 0 0 0;
}

#search {
	position: absolute;
	top: 150px;
	right: -1px;
	padding-right: 0em;
	font-size: 80%;
}

#footer{
	width: 900px;
	margin: 0 auto;
	font-size:0.65em;
	color: #999999;
	clear: both;
	height: 23px;
	vertical-align: bottom;
}

#footer .left
{
	position: fixed;
	left: 2em;
	bottom: 1.2em;
	float: left;
}

#footer .right
{
	position: fixed;
	right: 2em;
	bottom: 1.2em;
	float: right;
}

#footer p{
	margin:0;
	padding:5px 0 5px 14px;
	font-size:0.7em;
	color: #999999;
}

#footer a{
	margin:0;
	color: #999999;
	text-decoration: underline;
}

#photoContainer {
	padding-top: 40px;
	float: right;
	width: 450px;
	border-bottom: solid #999999 1px;
	margin-right: 25px;
		}

#thumbnails {
		width: 258px;
		float: right;
		padding-top: 10px;
		}
		
#thumbnails img a:hover{
border-color:#FFFF00;
}

.separator {
		clear: both;
		height: 10px;
		}

.separatorInvisible {
		clear: both;
		height: 1px;
		}
		


td,th{
	font-size:0.7em;
	color:#000000;
	padding: 0 5px 0 0;
	color: #000000;
	margin: 0 0 10px 0;
	line-height: 15pt;
}

.left {
	text-align:right;
	padding: 0 10px 0 0;
	vertical-align: text-top;
}
.internal {
	color:#005707D;
	text-decoration:underline;
}

/* --------- 3. typography  --------- */




.landing{
	background-image:url(assets/widebg.jpg);
	background-repeat:no-repeat;
	background-position: top;
	max-height:700px;
}

h1{
	color:#7F3433;
	text-align: left;
	font-size: 1em;
}

h2{
	color:#666666;
	text-align: left;
	font-size: 0.9em;
	margin: 0 0 0 0;
}

h3{
	color: #999999;
	font-size: 0.8em;
	border-bottom: solid #999999 1px;
	clear: both;
	line-height: 13pt;
}

h4{
	color:#000000;
	text-align: left;
	font-size: 90%;
	margin: 0 0 0 0;
	padding: 0 0 5px 0;
}

h5{
	color:#000000;
	text-align: left;
	font-size: 110%;
	margin: 0 0 0 0;
	padding: 0 0 5px 0;
	border-bottom: solid 1px black;
}

.breadcrumb{
color:#999999;
	font-size:0.68em;
	padding: 0 0 0 45px;
	}
	
.headerbar{
	font-size:0.9em;
	padding: 5px 10px 5px 0;
	float: right;
	margin: 0 0 0 0;
	font-weight: bold;
	color: #00507D;
	}

a:link {
	color:#00507D;
	text-decoration: underline;
}

a:visited {
	color: #00507D;
}

a:hover {
	color:#7F3433;
}

a:active {
	text-decoration: none;
	color:#00507D;
}

p{
	color:#333333;
	text-align: left;
	font-size:0.75em; /* 15x.8=12 */;
	margin: 0 0 0 0;
	padding: 2px 5px 8px 0;
	list-style: none;
	line-height: 18px;
}

#caption {
	color:#999999;
	font-size:0.7em;
	line-height: .5em;
		}

/* --------- 4. navigation  --------- */

#nav {
	list-style: none;
	font-weight: normal;
	font-size: 0.8em; /* 15x.8=12 */;
	margin: 3px 0 0 0px;
	float: left;
	width: 80%;
	padding: 0 0 0 0;
}


#nav a {
	display: block;
	color: #00507D;
	text-decoration: none;
	padding: 5px 15px 0 15px;
	text-align: left;
	background-image: url(assets/divider2.gif);
	height: 22px;
	background-repeat: no-repeat;
}

#nav li {
	float: left;
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	}


#nav li a:hover {
	
	text-decoration: underline;
}

a.active {
	color:#FF9900;
	background-image:url(assets/pointer2.gif);
background-repeat:no-repeat;
background-position:4px 5px;
}


	
.navleft {
	width:120px;
	float: left;
	margin: 5px 0 0 0;
}


.navleft ul {
	margin: 0; 
	padding: 0;
}

.navleft li {
	border-bottom: 1px solid #CCCCCC;
	list-style: none;
}

.navleft li a {
	color: #00507D;
	display: block;
	padding: 8px 0 8px 45px;
	width: 85px;
	text-decoration: none;
	font-size: 0.73em; /* 15x.73=11 */;
}

.navleft li a:hover {
	background-image:url(assets/rr_marker_traditional.png);
	background-repeat:no-repeat;
	background-position: 8px 2px;
}

.navleft ul li a.active{
	background-image:url(assets/rr_marker_traditional.png);
	background-repeat:no-repeat;
	background-position: 8px 2px;
}
.navleft2 {
	width:120px;
	float: left;
	margin: 5px 0 0 0;
}


.navleft2 ul {
	margin: 0; 
	padding: 0;
}

.navleft2 li {
	border-bottom: 1px solid #CCCCCC;
	list-style: none;
}

.navleft2 li a {
	color: #00507D;
	display: block;
	padding: 8px 0 8px 45px;
	width: 85px;
	text-decoration: none;
	font-size: 0.73em; /* 15x.73=11 */;
}

.navleft2 li a:hover {
	background-image:url(assets/rr_marker_industrial.png);
	background-repeat:no-repeat;
	background-position: 8px 2px;
}

.navleft2 ul li a.active{
	background-image:url(assets/rr_marker_industrial.png);
	background-repeat:no-repeat;
	background-position: 8px 2px;
}
.navleft3 {
	width:120px;
	float: left;
	margin: 5px 0 0 0;
}


.navleft3 ul {
	margin: 0; 
	padding: 0;
}

.navleft3 li {
	border-bottom: 1px solid #CCCCCC;
	list-style: none;
}

.navleft3 li a {
	color: #00507D;
	display: block;
	padding: 8px 0 8px 45px;
	width: 85px;
	text-decoration: none;
	font-size: 0.73em; /* 15x.73=11 */;
}

.navleft3 li a:hover {
	background-image:url(assets/rr_marker_hard_metals.png);
	background-repeat:no-repeat;
	background-position: 8px 2px;
}

.navleft3 ul li a.active{
	background-image:url(assets/rr_marker_hard_metals.png);
	background-repeat:no-repeat;
	background-position: 8px 2px;
}
.navleft4 {
	width:120px;
	float: left;
	margin: 5px 0 0 0;
}


.navleft4 ul {
	margin: 0; 
	padding: 0;
}

.navleft4 li {
	border-bottom: 1px solid #CCCCCC;
	list-style: none;
}

.navleft4 li a {
	color: #00507D;
	display: block;
	padding: 8px 0 8px 45px;
	width: 85px;
	text-decoration: none;
	font-size: 0.73em; /* 15x.73=11 */;
}

.navleft4 li a:hover {
	background-image:url(assets/rr_marker_international.png);
	background-repeat:no-repeat;
	background-position: 8px 2px;
}

.navleft4 ul li a.active{
	background-image:url(assets/rr_marker_international.png);
	background-repeat:no-repeat;
	background-position: 8px 2px;
}

.directory {
	float: left;
	margin: 5px 5px 0 0;
	padding: 0 2px 0 0;
	font-size: 0.8em;
	font-weight: bold;
	color: #666666;
	width: 225px;
	background-color: #F2F2F2;
	height: 34px;
}


.directory ul {
	margin: 0; 
	padding: 0;
}

.directory li {
	border-bottom: 1px solid #CCCCCC;
	list-style: none;
}

.directory a.active{
	text-decoration: none;
}

.directory li a span {
color:#FF0000;
	padding: 8px 0 8px 0;
}

.directory  a:hover img{
	border:#00507D solid 2px;;
}



.scroll {
	float:inherit;
	margin-right: 27px;
	font-size: 2em;
	clear: both;
	text-decoration: none;
	padding-top: 5px;
	text-align: right;
}

.scroll a {
text-decoration:none;
}

.scroll a:hover {
	font-weight: bold;
}



/* --------- 5. images  --------- */
.figleft {
	float: left;
	margin: 5px 10px 20px 0;
}

a img {
	border: 1px;
	border-color: #FFFFFF;
		}

#photoContainer img {
	margin-bottom: 5px;
		}
		
#thumbnails img {
	float: left;
	margin: 0 10px 0 0;
	border: 2px solid #999999;
		}
		
#thumnails div a:hover img {
	border: 1px;
	border-color: #FFFF00;
		}

.directory img{
	margin: 0 5px 0 0;
	border:#cccccc solid 2px;
	vertical-align: middle;
}
#contentmainsitemap {
	width:500px;
	w/dth:465px;
	line-height: 20pt;
	margin: 0 0 0 0;
	padding: 5px 20px 0 350px;
	min-height: 600px;
	text-align: left;
	list-style-type: none;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 16px;
}

