/**
Client:			Matrix Cleaning Solutions	
Date:				281107
**/


/** RESET CODE **/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
q:before,q:after{content:'';}
abbr,acronym {border:0;}

/** **/

/** CLEAR AND FLOATS **/

.clear {
	clear:both;
	margin:0;
	line-height:1%;
	padding:0;
	font-size:0.1em;
	display:block;
	height:1%;
}
	 
.clearfix:after {
	content:"."; 
	display:block; 
	height:0; 
	clear:both; 
	visibility:hidden;
}

.clearfix {
	display:inline-block;
}

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

.left {
	float:left;
}

/** **/

/** STRUCTURE **/

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color:#666666;
	font-size:0.65em;
	background:#999999 url("/images/bg-body.png") repeat-x top left;	
	text-align:center;	
}

.head, .prime, .container, .foot {
	clear:both;
	margin:0 auto;	
}

* html body { /* make ie5.5 behave itself and center the layout */
	text-align:center;
}

* html .head, * html .prime, * html .container, * html .foot { /* for ie5.5 / 6.0 - realign the text */
	text-align:left;
}

.container, .foot {
	text-align:left;
	width:809px;
}

.container {
	background:#ffffff url("/images/bg-container.png") repeat-y top left;	
	padding-top:16px;
}

.head {
	height:82px;
	background:url("/images/bg-header.gif") no-repeat top left;
	overflow:hidden;
	margin:0 0 0 9px;
}

.logo {
	float:left;
}

.slogan {
	float:right;
}

.prime {
	background:url("/images/bg-prime.png") no-repeat top left;
	min-height:23px;
	height:auto !important;
	height:23px;
	margin:0 0 0 9px;	
}

.content_one {
	margin:8px 9px 0 18px;
	width:140px;
	float:left;
	display:inline;	
	background:#ffffff;
	border-left:1px solid #575A5D;
	padding:0 0 0 11px;
	min-height:650px;
	height:auto !important;
	height:650px;
}

.spacer { /* fixes collapse of empty div in firefox */
	white-space: pre;
}

.content_two {
	margin:8px 23px 6px 0px;
	width:588px;
	float:right;
	display:inline;	
	background:#ffffff;	
	border-left:1px solid #575A5D;
	padding:0 0 0 11px;
	min-height:600px;
	height:auto !important;
	height:600px;	
}

.foot {
	background:#575a5d url("/images/bg-footer.png") no-repeat bottom left;
	min-height:43px;
	height:auto !important;
	height:43px;
}

/** **/

/** PRIMARY NAVIGATION **/

ul.primarynav {
	padding:5px 0 18px 21px;
}

ul.primarynav li {
	float:left;
	font-size:1em;
	font-weight:normal;
}

ul.primarynav li a {
	padding:0 18px 0 0;
	display:block;		
	color:#ffffff;
	text-decoration:none;
}

ul.primarynav li a:hover {
	text-decoration:none;
	color:#29a1cc;
}

ul.primarynav li a.activelink {
	color:#f58220;
}

.prime .right {
	line-height:2em;
}

/** **/

/** SECONDARY NAVIGATION **/

ul.secondarynav li {
	padding:0 0em 0.5em 0;
	margin:0 0 0 -11px;
}

ul.secondarynav li a {
	display:block;
	color:#575a5d;
	text-decoration:none;
	padding-bottom:2px;
	border-bottom:1px solid #fff;
}

ul.secondarynav li a:hover {
	text-decoration:none;	
	color:#29a1cc;
	border-bottom:1px solid #29a1cc;
}

ul.secondarynav li a.activelink {
	text-decoration:none;
	color:#f58220;
	border-bottom:1px solid #f58220;
}


/** **/

/** FOOT NAVIGATION **/

.foot ul {
	padding:0;
	margin:0;
	float:right;
}

.foot ul li {	
	padding:6px 0 0 0;
	float:left;
	display:inline;
	font-size:1em;
	line-height:1em;
}

.foot ul li a {
	padding:0 10px;
	display:block;
	float:left;
	color:#ffffff;
	text-decoration:none;
}

.foot ul li a:hover {
	text-decoration:underline;
}

.foot ul li a.activelink {
	text-decoration:underline;
}


.foot .right {
	padding:6px 10px 0 8px;
	margin:0 0 0 9px;
	float:left;
	font-size:1em;	
	line-height:1em;	
	color:#ffffff;
}

.foot img {
	float:right;
}


/** **/


/** GENERIC STYLES **/

h1,h2,h3,p {
	margin:0.6em 0 0.6em 0;
}

h1 {
	color:#ffffff;
	font-size:1em;
	font-size:1.2em;
	background:#575a5d url(/images/bg-h1.png) bottom left no-repeat;
	padding:0.3em 0 1.2em 11px;
	margin:0;
	text-align:left;
	margin:0 -11px;
	text-transform: capitalize;
}

h2 {
	color:#575a5d;
	font-size:1.2em;
	padding-bottom:0.3em;
	border-bottom:1px solid #575a5d;
	font-weight:normal;
}


p {
	margin:0 0 1em 0;
	line-height:1.4em;
}

a {
	color:#29a1cc;
	}
	
a:hover {
	color:#f58220;
	}	

/* notes */

.note_info {
	background-color: #f0f9ff;
	border: 1px solid #cacbcc;
	padding:0.2em;
	clear:both;
	text-align:center;
	width:18em;
	margin-left:210px;
}

.note_warning {
	background-color: #ffdbe0;
	border: 1px solid #cacbcc;
	color: red;
	font-weight: bold;
	padding: 4px;
	text-align:center;	
}

/* */

/* Caption images */

.caption_image {
	margin:0;
	padding:0;	
	text-align: left;
	width:170px;
}

.caption_image.right {
	margin:0 0 13px 13px;
}

.caption_image.left {
	margin:0 13px 13px 0;
}

.content_one .caption_image.left, .content_one .caption_image.right {
	float:none;
	margin:0;
}

.caption_image p, .caption_image img {
	padding:0;
	margin:0;
	font-size:0.9em;
	color:#003D4D;
}

.caption_image p {
	padding:0;
	margin:0 0 0.5em 0;
	font-size:0.9em;
	color:#003D4D;
}

.caption_image img {
	border:#cccccc 1px solid;
}

/* */

/** **/

/** STYLES AND STRUCTURE FOR SPECIFIC AREAS / SECTIONS **/

.prime .right {
	margin:0;
	padding-left: 1.5em;
}

.content_two ul, .content_one ul {
	list-style: disc;
	margin:0.5em 2em;
	padding:0 0 0 1em;
}

.content_two ol, .content_one ol {
	list-style: decimal;
	margin:0.5em 2em;
}

.content_one ul.secondarynav {
	margin:0 0 0 0;
}

.content_one ul.secondarynav li {
	list-style: none;
}

div.foot .border {
	height:7px;
	background:#fff url(/images/bg-footer-hr.png);
}

/* Home page */

body#home .content_two {
	margin:0 0 0 9px;
	width:800px;
	float:left;
	display:inline;	
	background:#ffffff url(/images/bg-content-two.gif) repeat-y top left;	
	border-left:none;
	padding:0;
}

#flashcontent {
	padding:9px 0 9px 9px;
	background:#ffffff;
}

#flashcontent ul, #flashcontent p {
	display:none;
}

body#home .section_1, body#home .section_2, body#home .section_3 {
	width:333px;
	float:left;
	padding:0;
	border-left:1px #575a5d solid;
	margin:0 0 5px 9px;
	min-height:350px;
	height:auto !important;
	height:350px;
	padding:0 11px;	
	display:inline;
}

body#home .section_2 {
	width:188px;
	margin-left:10px;	
}

body#home .section_3 {
	width:173px;
	color:#666666;
}

body#home .section_1 h1, body#home .section_2 h1, body#home .section_3 h1 {
	margin:0 -11px;
}

body#home .section_1 h1 {
	background:#575a5d url(/images/bg-h1-section_1.png) bottom left no-repeat;
}

body#home .section_2 h1, body#home .section_3 h1 {
	background:#575a5d url(/images/bg-h1-section_2.png) bottom left no-repeat;
}



body#home .section_1 h2, body#home .section_1 h3, body#home .section_2 h2, body#home .section_2 h3, body#home .section_3 h2, body#home .section_3 h3 {
	font-size:1em;
	font-weight:bold;
	padding:0 11px 0 0;
	margin:0.2em 0;
	color:#f58220;
	border:none;
	}
	
body#home .section_1 h3, body#home .section_2 h3, body#home .section_3 h3 {
	font-weight:normal;
	}

body#home .section_1 ul, body#home .section_2 ul, body#home .section_3 ul {
	margin-left:11px;
	margin-right:11px;
	}	

body#home .section_1 ul li, body#home .section_2 ul li, body#home .section_3 ul li  {
	color:#f58220;
	text-decoration:none;
}

body#home .section_1 hr, body#home .section_2 hr, body#home .section_3 hr {
	margin:1.5em 0 1em 0;
	border:none;
	background:#fff;
	border-top:#cccccc 1px dashed;
	height:1px;
}

body#home .section_3 p {
	margin-top:0;
	margin-bottom:0;
	}
	
body#home .section_2 .caption_image.left, body#home .section_2 .caption_image.right, body#home .section_3 .caption_image.left, body#home .section_3 .caption_image.right  {
	float:none;
	margin:0;
}

body#home .section_1 .caption_image p, body#home .section_2 .caption_image p, body#home .section_3 .caption_image p {
	color:#ffffff;
}

body#home form.newsletter-form {
	margin-top:5px;
}

body#home form.newsletter-form label {
	display:none;
}

body#home form.newsletter-form input {
	margin:0;
}

body#home form.newsletter-form input.newsletter-textbox {
	width:105px;
	border:1px solid #ccc;
	color:#000000;
	padding:2px 0 2px 2px;
	margin:0 2px 0 0;
	font-size:11px;
}

body#home form.newsletter-form input.newsletter-button {
	font-size:11px;
	background:#29a1cc;
	color:#fff;
	border:none;
	border-right:1px solid #2083a6;
	border-bottom:1px solid #2083a6;
	border-top:1px solid #70c0da;
	border-left:1px solid #70c0da;
	padding:1px;
	margin:0;
	cursor:pointer;
}
/* */

/* sub-content pages */

body.services .container, body.about .container, body.case_studies .container, body.news .container {
	background:#ffffff url("/images/bg-container-water.png") repeat-y top left;		
}

body.services .content_one, body.newsletter_thank_you .content_one {
	background:#fff url(/images/bg-content-one-1.jpg) bottom left no-repeat;
	}

body.about .content_one {
	background:#fff url(/images/bg-content-about.jpg) bottom left no-repeat;
	}
	
body.case_studies .content_one {
	background:#fff url(/images/bg-content-case-studies.jpg) bottom left no-repeat;
	}	
	
body.news .content_one {
	background:#fff url(/images/bg-content-news.jpg) bottom left no-repeat;
	}		
	
.content_one h1 {
	background:#575a5d url(/images/bg-h1-sub-content.png) bottom left no-repeat;
}

/* News page */

body#news h3 {
	font-size:1em;
	color:#f58220;
	font-weight:normal;
}

body#news h2.news_year {
	font-size:1em;
}

.back-link {
	margin:1em 0;
}

/* */

/** **/

/** FORMS **/

form label {
	width:200px;
	display:block;
	float:left;
	text-align:right;
	padding-right:10px;
	font-weight:bold;
}

form div, form .note_info, form .note_warning {
	margin:0.4em 0 ;
}

form .note_info, form .note_warning, form .buttons, form .note_plain {
	margin-left:210px;
	text-align:left;	
} 	

#contact form .note_info, #contact form .note_warning, #contact form .note_plain, 
#quotation form .note_info, #quotation form .note_warning, #quotation form .note_plain {
	margin-left:210px;
	text-align:left;	
	width:59%;
	padding:3px 4px 3px 3px;
} 	

form .buttons {
	margin-left:210px;
}

abbr {
	color:#cc0000;
}

#contact form input[type=text], #contact form input[type=password], 
#quotation form input[type=text], #quotation form input[type=password] {
	width:60%;
}

#contact form textarea, #quotation form textarea {
	width:60%;
}

#contact form input#captcha, 
#quotation form input#captcha, 
#quotation form input#passengers {
	width:3em;
	}


/* for the wonderful ie5.5/6.0 we all love so much */

* html #contact form input,  
* html #quotation form input { 
	width:60%;
}

* html #contact form div.buttons input, 
* html #quotation form div.buttons input {
	width: auto;
}

/* */

/** **/

/** ADMIN **/


.admin a {
	color:#cc0000;
	text-decoration:none;
	background:#ddd;
	padding:0.4em;
	border:1px #fff solid;
	line-height: 2em;
	font-weight:bold;
	display: inline;
}

.content_one li div.admin a {
	color:#cc0000;
	padding:0.0em;
}

.content_one li div.admin a:hover {
	color:#cc0000;
}

.admin a:hover {
	background:#ccc;
}

.caption_image .admin {
	text-align: left;
	position:absolute;
	font-size:0.8em;
}

.caption_image .admin a {
	margin:0 2px 0 0;
}

/** **/

