/*
Theme Name: Web Design Preston
Theme URI: http://www.soapmedia.co.uk
Description: Web Design Preston Theme
Version: 1.0
Author: Soap Media
Author URI: http://www.soapmedia.co.uk
Tags: blankSlate, no style, clean, empty

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php
*/


@import "style/reset.css";
@import "style/ie.css";

/*Utility Styles************************/
.alignright {
	float: left;
}

.alignleft {
	float: right;
}
.aligncenter {
	display:block;
	margin:0 auto;
}

/**** Template ****/

/* Generic Styles */

#top-section-frame, #our-work-frame, #our-services-frame, #our-answers-frame, #contact-frame, #our-news-frame, #top-section, div.leftCol, div.rightCol, div.cta, #footer span.flourish, #footer div.leftCol img, #footer div.rightCol img, span.speech-left, div.question p, #top-section .rightCol li  { behavior: url(http://www.webdesignpreston.co.uk/wp-content/themes/design_preston/js/iepngfix.htc) }

body {
	behavior: url(http://www.webdesignpreston.co.uk/wp-content/themes/design_preston/js/csshover3.htc);
	font-family: Verdana, Geneva, sans-serif;
	font-size:12px;
	color: #3c3b3b;
	line-height: 22px;
}

h1, h1 a {
	line-height: 84px;
	font-size: 40px;
	color: #fff;
	text-decoration: none;
}

h2 {
	color: #947d56;
	font-size: 33px;
}

h3, h4 {
	color: #171717;
	font-size: 25px;
}

a {color: #3C3B3B;}

a:hover {color: #947d56;}

.clear {
	clear:both;
	display:block;
	height:0;
	overflow:hidden;
	visibility:hidden;
	width:0;
}

.left { float:left; }
.right { float:right; }

a span { display: none; }

/* Design */

#wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 99;
}

#header-frame {
	width: 100%;
	background: url(images/header-bg.gif) repeat-x top center;
	height: 544px;
}

#header-page {
	width: 100%;
	background: url(images/header-page-bg.gif) repeat-x top center;
	height: 90px;
}

#header {
	width: 960px;
	margin: 0 auto;
	height: 90px;
}

#header h1 {
	float: left;
}

#header p {
	line-height: 84px;
	color: #fff;
	text-shadow: 0 -1px 0 #000;
}

#header p a {
	color: #fff;
}

#header p a:hover {
	color: #947d56;
}

#header span.telephone {
	font-size: 30px;
	line-height: 86px;
	color: #fff;
	margin-left: 5px;
}

#top-section-frame {
	width: 100%;
	height: 470px;
	background-image: url(images/shaun.png);
	background-repeat: no-repeat;
	background-position: 50% 136px;
	position: relative;
	z-index: 1;
}

#top-section {
	width: 960px;
	margin: 0 auto;
	padding-top: 44px;
}

#top-section .leftCol, #top-section .rightCol {
	float: left;
}

#top-section .rightCol {
	margin-left: 58px;
}

#top-section .rightCol ul {
	position: relative;
}

#top-section .rightCol li {
	line-height: 38px;
	background: url(images/ornate-leaf.png) no-repeat 0px 34px;
	padding-left: 42px;
	height: 38px;
	overflow: hidden;
}

#top-section .rightCol li a {
	color: #3C3B3B;
}

#top-section .rightCol li a:hover {
	color: #947d56;
}

#top-section .rightCol li:hover {
	background: url(images/ornate-leaf.png) no-repeat 0px 10px;
	padding-left: 42px;
}

#top-section h2 {
	width: 620px;
	line-height: 42px;
}

#top-section p {
	text-shadow: 0 1px 0 #fff;
	padding-top: 24px;
	width: 620px;
	line-height: 22px;
}

#top-section a#blue-button-header {
	background: url(images/blue-button-header.png) no-repeat top center;
	width: 302px;
	height: 76px;
	display: block;
	margin-top: 30px;
	float: left;
}

#top-section a#gold-button-header {
	background: url(images/gold-button-header.png) no-repeat top center;
	width: 220px;
	height: 76px;
	display: block;
	margin: 30px 0px 0px 20px;
	float: left;
}

#main-frame {
	width: 100%;
	position: relative;
	z-index: 2;
}

#content {
	
}

.cta p {
	float: left;
	width: 464px;
	margin: 40px 20px 122px 0px;
}

a#blue-button {
	background: url(images/blue-button.png) no-repeat top center;
	width: 302px;
	height: 46px;
	display: block;
	margin-top: 40px;
	float: left;
}

a#gold-button {
	background: url(images/gold-button.png) no-repeat top center;
	width: 140px;
	height: 46px;
	display: block;
	margin: 40px 0px 0px 22px;
	float: left;
}

#footer-frame {
	width: 100%;
	height: 402px;
	background: url(images/footer-bg.gif) repeat-x bottom center;
}	

#footer {
	width: 960px;
	margin: 0 auto;
	position: relative;
	padding-top: 36px;
}

#flourish {
	position: absolute;
	top: 0;
	left: 448px;
}

#footer .leftCol {
	float: left;
	width: 620px;
}

#footer .leftCol h4 {
	padding-top: 30px;
	color: #171717;
	font-size: 25px;
}

#footer .leftCol h4 a {
	color: #171717;
	font-size: 25px;
	text-decoration: none;
}

#footer .leftCol h4 a:hover {
	color: #947d56;
}

#footer .leftCol strong, #footer .leftCol strong a, #footer .leftCol a {
	color: #fff;
	text-shadow: 0 -1px 0 #000;
	margin-top: 24px;
	font-weight: bold;
}

#footer .leftCol strong a:hover, #footer .leftCol a:hover {
	color: #947d56;
}

#footer .leftCol p {
	color: #fff;
	text-shadow: 0 -1px 0 #000;
	padding-top: 24px;
}

#footer .leftCol img.proud-preston-img {
	float: left;
}

#footer .leftCol p.proud-preston-text {
	color: #947d56;
	text-shadow: 0 -1px 0 #000;
	float: left;
	line-height: 47px;
	padding: 0px 0px 0px 20px;
}

#footer .rightCol {
	float: right;
}

#spacer {
	padding: 22px 0px 24px 0px;
}

/* Our Work Styles */

#our-work-frame {
	background: url(images/hoolander-news.png) no-repeat center bottom;
	height: 548px;
	width: 100%;
}

#our-work {
	width: 960px;
	margin: 0 auto;
	padding-top: 52px;
}

#our-work .gallery {
	padding-top: 38px;
}

.thumb, .thumb-last {
	background: url(images/thumb-bg.png) no-repeat top left;
	width: 202px;
	height: 140px;
	padding: 10px;
	float: left;
}

h3#2 {
	padding-top: 7px;
}

.thumb {
	margin-right: 20px;
}

.thumb a, .thumb-last a {
	width: 202px; /*--Width of image--*/
	height: 140px; /*--Height of image--*/
	cursor: pointer;
	display: block;
}

.thumb-last {
	margin-right: 0;
}

.thumb a span, .thumb-last a span {
	display:block;
}

.thumb span, .thumb-last span {
	width: 202px;
	height: 140px;
	overflow: hidden;
}

/* Our Services Styles */

#our-services-frame {
	background: url(images/hoolander-news.png) no-repeat center bottom;
	height: 690px;
	width: 100%;
}

#our-services {
	width: 960px;
	margin: 0 auto;
}

#our-services .service {
	margin-bottom: 18px;
}

#our-services .service-last {
	margin-bottom: 0px;
}

#our-services .service span.clear, #our-services .service-last span.clear {
	height: 0px;
	width: 0px;
}

#our-services .service a span, #our-services .service-last a span {
	display:block;
}

#our-services .service span, #our-services .service-last span {
	width: 140px;
	height: 93px;
	overflow: hidden;
}


#our-services .service a, #our-services .service-last a {
	float: left;
	margin-right: 20px;
	width: 140px;
	height: 93px;
}

#our-services .service p, #our-services .service-last p {
	float: left;
	width: 780px;
}

/* Our Answers Styles */

#our-answers-frame {
	background: url(images/hoolander-news.png) no-repeat center bottom;
	height: 1342px;
	width: 100%;
}

#our-answers {
	width: 960px;
	margin: 0 auto;
}

#our-answers .question {
	clear: both;
	margin: 20px 0px 40px 0px;
}

#our-answers .question-last {
	clear: both;
	margin: 20px 0px 0px 0px;
}

#our-answers .question p, #our-answers .question-last p {
	background: url(images/speech-right.png) no-repeat bottom right;
	float: left;
	width: 780px;
	padding: 10px 85px 10px 0px;
}

#our-answers .question p.answer, #our-answers .question-last p.answer {
	float: none;
	width: 960px;
	padding: 18px 0px 0px 0px;
	background: none;
}

#our-answers .question span.speech-left, #our-answers .question-last span.speech-left {
	background: url(images/speech-left.png) no-repeat top right;
	width: 60px;
	height: 65px;
	float: left;
	margin-right: 20px;
}

/* Our Location Styles */

#our-location {
	width: 960px;
	margin: 0 auto;
	padding-bottom: 80px;
}

#our-location .leftCol {
	width: 476px;
	float: left;
}

#our-location .rightCol {
	width: 464px;
	float:right;
}

#our-location .leftCol p {
	width: 450px;
}

/* News Page Styles */

#our-news-frame {
	width: 100%;
	background: url(images/hoolander-news.png) no-repeat center bottom;
}

#our-news {
	width: 960px;
	margin: 0 auto;
	padding-top: 52px;
	padding-bottom: 168px;
}

#our-news h3 {
	padding-bottom: 6px;
}

#our-news p {
	padding-top: 18px;
}

#our-news ul {
	list-style:inside;
}

#our-news ul li {
	padding-top: 18px;
}

#our-news .post {
	margin: 18px 0px;
}

#our-news .post-date {
	float: left;
	width: 60px;
	height: 81px;
	font-size: 25px;
	text-align:center;
	line-height: 34px;
}

#our-news .post-date span.number {
	font-size: 28px;
	padding-top: 4px;
}

#our-news .post p {
	background-image: url(images/post-date-bg2.jpg);
	background-repeat: no-repeat;
	background-position: top left;
	padding-left: 40px;
	padding-top: 0px;
	float: right;
	width: 840px;
	height: 81px;
}

.prev {
	float: left;
	margin-top: 24px;
}

.next { 
	float: right;
	margin-top: 24px;
}

/* Contact Page Styles */

#contact-frame {
	background: url(images/hoolander-news.png) no-repeat center 452px;
	width: 100%;
}

#contact {
	width: 960px;
	margin: 0 auto;
	padding-top: 52px;
	padding-bottom: 80px;
}

#contact #form {
	float: left;
	width: 480px;
}

#contact #location {
	float: right;
	width: 480px;
}

#contact h3 {
	padding-bottom: 24px;
}

#contact p.intro {
	float: left;
}

#contact-number {
	padding-top: 126px;
	clear:both;
}

#map {
	margin: 16px 20px;
}

#map div.google-map-sc-canvas {
	border:1px solid #F0EFE6;
}

#contact a#blue-button-directions {
	background: url(images/blue-button-directions.png) no-repeat top center;
	width: 140px;
	height: 46px;
	display: block;
	float: right;
	margin-top: 2px;
}

/* Contact Us Form Styles */

/*                                                    */
/*  main 'top-level' form elements                    */
/*                                                    */

.cform { 
	margin:6px auto 0 auto;  
	position: relative;
}

.cform fieldset	{ 
	margin-top:10px; 
	padding:5px 0 5px 0; 
	border:none;
}

.cform .cf_hidden {
	display:none; 
	border:none!important;
	background:none!important;
	padding:0!important;
	margin:0!important;
}

ol.cf-ol { 
	margin:0!important; 
	padding:10px 0 0 0!important; 
	clear: both;
}
ol.cf-ol li	{
	background:none!important; 
	padding:7px 0px 7px 0px!important; /*some themes may interfere otherwise*/
	margin:0; 
	list-style:none!important; 
	text-align:left;
	line-height:1.1em;
}

ol.cf-ol li#li--1, ol.cf-ol li#li--2, ol.cf-ol li#li--3, ol.cf-ol li#li--4 {
	width: 460px;
	margin-right: 20px;
}

ol.cf-ol li#li--4 {
	margin-top: 6px;
}

/*                                                    */
/* just for text-only fields (no input)               */
/*                                                    */

ol.cf-ol li.textonly {
	color:#888888;
	font-size:1em;
	letter-spacing:2px;
	margin:12px 0pt !important;
	padding:0pt 0pt 0pt 100px;
}


/*                                                    */
/* global definitions for field labels                */
/*                                                    */

.cform label {
	width: 120px; 
	margin:6px 12px 0 0; 
	display:-moz-inline-box; /*for mozilla*/
	display:inline-block; /*for Opera & IE*/
	text-align:left;
	vertical-align:top;
}
.cform label span {
	width: 120px; /* must be the same as above!*/
	display:block; 
}

label.cf-before {
	margin:4px 10px 0 0; 
}

label.cf-after 	{
	margin:4px 2px 0pt 6px;
	text-align:left;
	width:75px;
}

label.cf-after span {
	width:75px;
	display:block;
}

label.cf-group-after {
	margin:4px 0 0 2px;
	width:60px;
	text-align:left;
}
label.cf-group-after span {
	width:60px;
	display:block;
}

/*                                                    */
/*   FORM FIELDS general formatting                   */
/*                                                    */

.cform input,
.cform textarea,
.cform select { 
	padding:3px 3px 4px 3px;
	border:1px solid #f0efe6; 
	vertical-align:top;
}
.cform input:hover,
.cform textarea:hover,
.cform select:hover	{
	border: 1px solid #947d56;
}

.cform input:focus,
.cform textarea:focus,
.cform select:focus	{ 
	color:#666;
}

.cform textarea,
.cform input {
	width:320px; 
	height:19px;
	font-family: Verdana, Geneva, sans-serif;
	font-size:12px;
	color: #3c3b3b;
}
.cform select {
	width:306px; /* attempt to have equal length */
}  

.cform select.cfselectmulti	{ 
	height:7.5em; 
}

.cform textarea {
	font-family: Verdana, Geneva, sans-serif;
	font-size:12px;
	color: #3c3b3b;
	overflow:auto;
	height: 154px;
}

/*                                                    */
/* formatting for text:  "(required)"  & other        */
/*                                                    */

span.reqtxt,
span.emailreqtxt { 
	margin:0px 5px 7px 132px;
	display: block; 
	vertical-align:top;
	color: #947d56;
	font-size:0.7em;
	line-height:1.2em;
}

/*                                                    */
/*   radio button title                               */
/*                                                    */

ol.cf-ol li.cf-box-title {
	color:#888888;
	font-size:1em;
	letter-spacing:2px;
	margin:12px 0pt 0 !important;
	padding:0pt 0pt 0pt 100px;
}

/*                                                    */
/*   check boxes                                      */
/*                                                    */

input.cf-box-a,
input.cf-box-b 	{ 
	margin:1px 0 0 0; 
	width:16px; 
	height:22px;
	border:none!important;
	background:none!important;
}

input.cf-box-a 	{ 
	margin-left:100px; /* check with label 'width' incl. */
} 

/*                                                    */
/* check box groups                                   */
/*                                                    */

ol.cf-ol li.cf-box-group {
	padding: 0 0 5px 100px; 
} 


/*                                                    */
/*   FORM submit button                               */
/*                                                    */

p.cf-sb {
	margin:0;
	padding:0 !important;
	text-align:right;
	margin: 10px 21px 0px 0px;
	float: right;
	width: 140px;
}
.cform input.backbutton,
.cform input.resetbutton,
.cform input.sendbutton	{ 
	width: 140px;  
	height: 46px;
	padding:0px; 
	margin: 0;
	background:url(images/submit-button.png) no-repeat; 
	border: none !important;
	cursor: pointer;
}
.cform input.resetbutton {
	margin: 0 5px 0 0;
}
.cform input.backbutton {
	margin: 0 5px 0 0;
}

/*                                                    */
/*   FORM FIELDS enhanced error display               */
/*                                                    */

ol.cf-ol li.cf_li_err {
	border-color:#DF7D7D;
}

ol.cf-ol li ul.cf_li_text_err {
	margin:0 0 0 10px;
	padding:0;
	color:#333;
}

ol.cf-ol ul.cf_li_text_err li {
	background:url(icon-alert.png) no-repeat left 1px!important;
	list-style:none!important;
	font-weight:bold;
	text-indent:0;
	margin:0 0 2px!important;
	padding-left:15px;
}
ol.cf-ol ul.cf_li_text_err li:before {
	content:'';
}

/*                                                    */
/* change formatting of response msgs here            */
/*                                                    */

div.cf_info {
	display:none;
	margin:0px auto;
	float: left;
	padding-top: 22px;
}
div.cf_info ol {
	margin:0;
	padding:5px 15px 0 30px;
}
div.cf_info ol li {
	padding:1px 0;
	margin:2px 0;
}
div.cf_info a	{
	color:red!important;
	text-decoration:underline!important;
}
div.success {
	color:#947d56;
	display:block;
	float: left;
}
div.failure {
	display: block;
	color: red;
	float: left;
}
div.waiting {
	color:#AAA;
	display:block;
	float: left;
}

/*                                                    */
/*   formatting for invalid user inputs               */
/*                                                    */
.cform .cf_error { 
	color: #3C3B3B; 
	border:1px solid #FF0000; 
}
div.mailerr {
	display:block;
}
.mailerr,
.cform .cf_errortxt {
	color:red; 
}

/*                                                    */
/* change formatting of response msgs here            */
/*                                                    */

p.cf_info 		{
	margin:10px 0;
	text-align:center;
}
p.success 	{
	color:green;
}
p.failure 	{
	color:red;
}

/*                                                    */
/*  Other: link love                                  */
/*                                                    */
.linklove {
	display: none;
}

/*                                                    */
/*  Other: browser hacks                              */
/*                                                    */
*+html ol.cf-ol,
*+html ol.cf-ol li	{
	display: inline-block;  /*for ie7*/
}
* html ol.cf-ol,
* html ol.cf-ol li,
* html span.reqtxt,
* html span.emailreqtxt { 
	display: inline-block;
}
* html .cform legend { 
	position:absolute; 
	left: -8px; 
	top:0;
	margin-left:0;
}
*+html .cform legend { 
	position:absolute; 
	left: -8px;
	top:0;
	margin-left:0;
}
* html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
*+html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
* html img.captcha	{
	margin-bottom:1px!important;
}
*+html img.captcha	{
	margin-bottom:1px!important;
}
