/*  

Client: IPS Group Services
Client URL: http://www.ipsgroup.net/
Description: Global Stylesheet for IPSGROUP.NET
Version: 1.0
Author: Robert Games
Agency: Pad Media
Agency URL: http://www.padmedia.co.uk/
Date: 17/07/2008

Notes: --

*/

/* Contents

	1.0 Reset CSS
	2.0	Global Formatting
	3.0	Common Formatting
	4.0	Links
	5.0	Fonts
	6.0	Global Classes
	7.0	Wrapper
	8.0	Logo
	9.0	Layout
	10	Navigation
	11	Forms
	12	Tables
	
*/

/* 1.0	Reset CSS */

html,body,div,span,
applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,
del,dfn,em,font,img,ins,kbd,q,s,samp,
small,strike,strong,sub,sup,tt,var,
dd,dl,dt,li,ol,ul,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: normal;
	font-style: normal;
	font-size: 100%;
	line-height: 1;
	font-family: inherit;
	text-align: left;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
ol,ul {
	list-style: none;
}
q:before,q:after,
blockquote:before,blockquote:after {
	content: "";
}

* {
padding:0;
margin:0;
}


/* 2.0	Global Formatting */

html, body {
	border:0;
	margin:0 0 0 0;
	padding:0;	
}

body {
	background:#231f20;
	font-size:62.5%; /* 62.5% relative font size resets to 10px */
	color:#fefefe;
	font-family:Arial, Helvetica, sans-serif;
}

html {
}

/* 3.0	Common Formatting */

p {
	font-size:1.2em;
	line-height:1.4em;
	margin-bottom:16px;
}

h1 {
	font-family:Arial, Helvetica, sans-serif;
	font-size:2.9em;
	/*font-weight:bold;*/
	margin-bottom:12px;
	float:left;
}



h2 {
	font-size:2em;
	margin-bottom:6px;
}

h3 {
	font-size:1.3em;
	margin-bottom:20px;
}

h4 {
}

h5 {
}

h6 {
}

ul {
	margin: 0 0 20px 20px;
}

li {
	list-style:disc;
	margin:0 0 8px 0;
	font-size:1.2em;
	line-height:1.4em;
}

blockquote {
}

img {
}

strong {
}

em {
}

u {
}

acronym, abbr {
	cursor:help;
	letter-spacing:1px;
	border-bottom:1px dashed;
}

/* 4.0	Links */

a, a:visited {
	color:#007ac1;
	text-decoration:none;
}

a:hover, a:focus {
	text-decoration:underline;
}

/* 5.0	Fonts */

/* 6.0	Global Classes */

.clear {
	clear:both;
	height:1px;
	overflow:hidden;
	width:100%;
	display:block;
}

.hide {
	display:none;
}
 
.float-left {
	float:left;
}

.float-right {
	float:right;
}
 
.text-left { 
	text-align:left;
}

.text-right { 
	text-align:right;
}

.text-center {
	text-align:center;
}

.text-justify {
	text-align:justify;
}

.nopadding {
	padding:0;
}

.noindent {
	margin-left:0;
	padding-left:0;
}

.nobullet {
	list-style:none;
	list-style-image:none;
}

.no-margin {
	margin:0!important;
}

.blue {
	color:#007ac1;
}

.horizontal-rule {
	border-top: 1px solid #454444;
	margin-bottom:20px;

}

.nowrap {
	white-space:nowrap;
}

/* 7.0	Wrapper */

div#wrapper {
	width:960px;
	margin:20px auto;
}

/* 8.0	Logo */

#logo {
	float:left;
	width:140px;
	height:91px;
	display:block;
}

/* 9.0	Layout */

#header {
	margin:0 10px;
}

#tel {
	float:right;
	background:url(../images/tel.gif) no-repeat right;
	width:220px;
	height:19px;
	text-indent:-999999px; /* Hides accessible text */
	position:relative;
	top:60px;
}

#main-img {
	position:relative;
	margin:0 0 10px 0;
}

#twentyfive {
	position:absolute;
	bottom:-10px;
	right:-10px;
}

#left-col {
	float:left;
	display:inline; /* Hack for IE6 double margin bug */
	width:620px;
	margin:0 0 0 10px;
}

#right-col {
	float:right;
	display:inline; /* Hack for IE6 double margin bug */
	width:300px;
	margin:45px 10px 0 0;
}


#calltoaction {
	font-size:1.8em;
	color: #fefefe;
	padding:20px 10px 10px 10px;
	background:#007ac1 url(../images/calltoaction_bg.gif) no-repeat top left;
	margin:10px 0;
}

#calltoaction a {
color: #fefefe;
}

#footer {
	margin:20px 10px;
}

#copyright {
	width:700px;
	float:left;
	font-size:1em;
	line-height:1.6em;
}

/* 10.0	Navigation */

ul#nav {
	margin:10px 0 0 0;
	height:30px;
}

#nav li {
	float:left;
	list-style:none;
	margin:0;
	padding:0;
}

#nav li a {
	background-image: url(../images/nav_sprite.gif);
	display:block;
	height:30px;
	text-indent:-99999px; /* Hides accessible text */
	outline: none;
}

	/* Nav off states*/
	a.home {width:59px; background-position:0 0;}
	a.about {width:75px; background-position: -59px top;}
	a.pipefreezing {width:98px; background-position: -134px top;}
	a.hottapping {width:197px; background-position:-232px top;}
	a.valveengineering {width:136px; background-position:-428px 0;}
	a.ultrasonic {width:206px; background-position:-564px 0;}
	a.casestudy {width:100px; background-position:-770px 0;}
	a.contact {width:89px; background-position:-870px 0;}
	
	/* Nav on states*/
	a:hover.home, a.home#selected {width:59px; background-position:0 bottom;}
	a:hover.about, a.about#selected {width:75px; background-position: -59px bottom;}
	a:hover.pipefreezing, a.pipefreezing#selected {width:98px; background-position: -134px bottom;}
	a:hover.hottapping, a.hottapping#selected {width:197px; background-position:-232px bottom;}
	a:hover.valveengineering, a.valveengineering#selected {width:136px; background-position:-428px bottom;}
	a:hover.ultrasonic, a.ultrasonic#selected {width:206px; background-position:-564px bottom;}
	a:hover.casestudy, a.casestudy#selected {width:100px; background-position:-770px bottom;}
	a:hover.contact, a.contact#selected {width:89px; background-position:-870px bottom;}

/* Footer navigation */
#footer-nav {
	float:right;
	margin:0;
	padding:0;
	list-style:none;
	width:220px;
}

#footer-nav li {
	float:left;
	list-style:none;
	font-size:1.1em;
	margin:0 3px 0 0;
	display:inline; /* Hack for IE6 double margin bug */
}

#footer-nav li a {
	color:#fffefe; 
}

/* 11.0	Forms */

fieldset {
}

legend {
}

label {
}

input, select, textarea {
	background:#FFFFFF;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	border:none;
	color:#383839;
	padding:3px;
}

button {
	font-family:Arial, Helvetica, sans-serif;
	color:#f5f5f5;
	background:#007ac1;
	border:none;
	font-size:1em;
	margin-left:10px;
	width:50px;
	text-align:center;
	padding: 2px 0;
}

/* 12.0	Tables */

table {
}

tbody {
}

tr {
}

th {
}

td {
}

/* Case Study Boxes */
.case_study {
	position:relative;
}

.case_title {
	background:url(../images/case_bg.png) no-repeat;
	height:42px;
	padding:6px 8px 0 8px;
	position:relative;
	z-index:1;
}

.case_study img {
	position:relative;
	top:-13px;
	display:block;
}

/* Search Box */
#search-box {
	background:#454444;
	position:relative;
	top:-13px;
	padding-bottom:10px;
}

#search-box p {
	font-size:1.1em;
	padding:10px 10px 0 10px ;
	margin:0;
}

#search-box input {
	width:204px;
}

 
/* Homepage */
.service-block {
	float:left;
	width:140px;
	display:inline;
	margin:0 20px 0 0;
	padding:10px 0 0 0;
}

.service-block h3 {
	height:30px;
	margin-bottom:20px;
	padding:0 0 0 40px;
	line-height:15px;
}

.service-block p {
	font-size:1.1em;
	line-height:1.6em;
}

.service-block h3 a {
	text-decoration:none;
}

.service-block h3#pipefreezing {
	background: url(../images/pipefreezing-icon.gif) no-repeat left;
	color:#007ac1;
	line-height:30px;
}

.service-block h3#pipefreezing a {
	color:#007ac1;
}

.service-block h3#hottapping {
	background: url(../images/hottapping_icon.gif) no-repeat left;
	color:#f05c2a;
}

.service-block h3#hottapping a {
	color:#f05c2a;
}

.service-block h3#valveengineering {
	background: url(../images/valve-icon.gif) no-repeat left;
	color:#2eb357;
}

.service-block h3#valveengineering a {
	color:#2eb357;
}

.service-block h3#ultrasonic {
	background: url(../images/ultrasonic-icon.gif) no-repeat left;
	color:#fdba31;
}

.service-block h3#ultrasonic a {
	color:#fdba31;
}

/* About us */

#about_us_img {
	float:right;
	width:300px;
	margin:0 0 5px 5px ;
	display:inline; /* Hack for IE6 double margin bug */
	/*border-bottom:20px solid #383839;*/
}

/* Individual Service pages */
#icon {
	float:left;
	margin-right:10px;
}

/* Category page */

#category-listing {
	margin:0 0 20px 0;
	padding:0;
	list-style:none;
	overflow:hidden; /* Contains floats */
}

#category-listing li {
	margin:0 10px 0 0;
	padding:0;
	list-style:none;
	width:116px;
	float:left;
	height:166px;
}

#category-listing li h3 {
	font-size:1.1em;
	margin:0;
}

#category-listing li img {
	display:block;
}

#category-listing li h3 a {
	display:block;
	color:#f5f5f5;
	background:#454444;
	text-align:center;
	padding:5px;
	height:27px;
	margin-top:2px;
}

/* Search results page */

#search-listing {
	margin:0 0 20px 0;
	padding:0;
	list-style:none;
}

#search-listing li {
	margin:0 0 10px 0;
	padding:8px 10px;
	list-style:none;
	position:relative;
	background:#373738;
}

#search-listing li h3 {
	margin:0;
	font-size:1.1em;
	position:relative;
	padding-right:155px;
	line-height:18px;
}

#search-listing li p {
	margin:10px 0 0 0;
	padding:0;
	font-size:11px;
	
}

a.readmore {
	position:absolute;
	top:4px; /*-30px*/
	right:10px;
	z-index:5;
	color:#FFFFFF;
	font-size:11px;
	background:url(../images/pdf.png) no-repeat left top;
	height:25px;
	padding:8px 0 0 30px;
}

a.price_sheet {
	position:absolute;
	top:-30px; /*-30px*/
	right:160px;
	z-index:5;
	color:#FFFFFF;
	font-size:11px;
	background:url(../images/pdf.png) no-repeat left top;
	height:40px;
	padding:8px 0 0 30px;
}

/* Contact us page */
#general_enquiries {
	width:220px;
	float:left;
}

.contact_title {
	background: url(../images/contact_title_bg.png) no-repeat top left;
	padding:5px 10px 10px 10px;
	position:relative;
	z-index:1;
	margin-bottom:3px;
}

#general_enquiries p {
}

#map {
	float:right;
	width:380px;
	margin-bottom:25px;
}
a.expand,
a:visited.expand {
	position:absolute;
	right:10px;
	top:12px;
	color:#FFFFFF;
}

#mapcontainer {
	position:relative;
	top:-12px;
	/*z-index:-1;*/
	overflow:hidden;
}

/* Form */

#form {
	
}

a.toggle,
a:visited.toggle {
	position:absolute;
	right:10px;
	top:12px;
	color:#FFFFFF;
}

#contact_form {
}

#contact_form ul {
	margin:0 0 20px 0;
	padding:0;
	list-style:none;
}

#contact_form li {
	margin:0;
	padding:0;
	list-style:none;
	clear:both;
	overflow:hidden; /* Contains floats */
}

#contact_form label {
	float:left;
	width:140px;
	text-align:right;
	position:relative;
	top:4px;
	height:29px;
}

#contact_form input,
#contact_form textarea,
#contact_form select {
	float:left;
	background:#FFFFFF;
	border:1px solid #383839;
	font-family:Arial, Helvetica, sans-serif;
	color:#666666;
	margin:0 0 0 20px;
	padding:4px;
	width:374px;
}

#contact_form textarea {
	height:100px;
}

#contact_form button {
	float:left;
	margin:6px 0 0 20px;
}

em {
	color:#007ac1;
	font-style:italic;
}

/* Error trapping */

label.error {
	color:#FF0000;
	width:auto!important;
	float:none!important;
	text-align:left!important;
	display:block;
	clear:both;
	position:relative;
	left:160px;
}

input.error {
	background:#fadede!important;
}

textarea.error {
	background:#fadede!important;
}

select.error {
	background:#fadede!important;
}

/* Case Study Index page */
.case_study_container {
	height:58px;
	clear:both;
	margin-bottom:10px;
}

.case_study_container img {
	float:left;
	width:140px;
}

.case_study_title {
	width: 478px;
	float:right;
	position:relative;
	height:58px;
	background:#383839;
}

.case_study_title h3 {
	font-size:1.8em;
}

.case_study_title a, .case_study_title a:visited {
	color:#FFFFFF;
	position: absolute;
	top:20px;
	left:20px;
}