/*
Theme Name: John O'Conner
Theme URI: http://www.johnoconner.co.uk/
Description: The WordPress theme for John O'Conner.
Version: 1.0
*/



body {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	height: 100%;  
	font-size: 62.5%;	
	color: #4D4D4D;
	text-align: center;
	font-family: arial, verdana, sans-serif;
    }



body a img {
	border: none;
}


.clearing{	
	clear: both;
}




/*------ clear standard browser styles ------*/

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;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}



/*------ general styles ------*/


.clear {
	clear: both;
	overflow: hidden;
	line-height: 0 !important;
	height: 0 !important;
	font-size: 0 !important;
	margin: 0 !important;
	}


.disguise {
	position: absolute;
	left: -10000px;
	}
	
.hide {
	display: none;
	}
	
	
	
/* http://positioniseverything.net/easyclearing */
.clearfix:after {
	content: "."; 
	display: block; 
	height: 0;
	clear: both; 
	visibility: hidden;
	}

.clearfix {
	display: inline-table;
        min-height: 0;
	}

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


a:focus,
a:hover,
a:active{
	outline:none;
}

.fullBg {
	position: fixed;
	top: 0;
	left: 0;
	overflow: hidden;
	width: 100%;
	height: 100%;
}


img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}


/*------ wrap ------*/


#wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;	
	z-index: 50;
} 


#wrap .gutter{
	margin: 0 auto 0px auto;
	padding: 0 0 0 0;
	width: 1018px;
	text-align: left;
	}



/*------ contactForm ------*/


#contactForm {
display: none;
	float: left;
	width: 758px;
	position: relative;
	border: 1px solid #333;
	margin: 12px 19px 0 19px;
	padding: 20px 165px 44px 55px;
	background: #FFF url(img/contactForm-bg.gif) no-repeat 100% 0;
	}
	
	
#contactForm .close{
	position: absolute;
	float: left;
	width: 758px;
	text-align: right;
	bottom: 0px;
	right: 10px;
	}
	
#contactForm .close a{
	color: #000;
	text-decoration: none;
	}
	
	
#contactForm .close a:hover{
	text-decoration: underline;
	}
	
	

#contactForm .title{
	float: left;
	width: 758px;
	padding: 0 0 20px 0;
	font-size: 2.3em;
	color: #D2532B;
	}
	

#contactForm h3{
	font-size: 1.8em;
	color: #D2532B;
	padding: 0 0 20px 0;	
	}
	
	
#contactForm p{
	font-size: 1.2em;
	line-height: 1.5em;
	padding: 0 0 10px 0;	
	}
	
	
#contactForm p a{
	color: #00512E;
	text-decoration: none;
	}
	

#contactForm p a:hover{
	text-decoration: underline;
	}	
	
#contactForm .form{
	float: left;
	width: 320px;
	}
	
	
#contactForm .form .field{	
	float: left;
	width: 320px;
	}


#contactForm .form .field strong{
	font-weight: normal;
	float: left;
	}
	
	
#contactForm .form .field input{
	float: right;
	width: 170px;
	border: 1px solid #666;
	padding: 2px;
	}	


#contactForm .form textarea{
	float: right;
	width: 314px;
	border: 1px solid #666;
	padding: 2px;
	}	
	
	
#contactForm .submit,
#contactForm .wpcf7-response-output{
	float: left;
	width: 320px;
	padding: 10px 0 10px 0;
	font-size: 1.2em;
	}	
	
#contactForm .submit input{
	float: right;
	padding: 3px 10px;
	border: 1px solid #666;
	font-family: verdana;
	font-size: 12px;
	background: #f3f3f3;
	}
	
	
#contactForm .address{
	float: right;
	width: 362px;
	}	
	
#contactForm .address img{
	float: right;
	}
	
#contactForm .address .map{
	float: left;
	width: 360px;
	border: 1px solid #333;
	margin: 10px 0 0 0;
	font-size: 1em !important;
	}
	

/*------ header ------*/


#header {
	float: left;
	width: 980px;
	margin: 6px 0 0 0;
	padding: 6px 19px 0 19px;
	background: url(img/header-bg.png) no-repeat 0 0;
	}
	
	
* html #header {	
	background: url(img/header-bg.gif) no-repeat 0 0;
	}


#header #logo{
	float: left;
	width: 355px;
	height: 205px;
	background: url(img/john-oconner.gif) no-repeat 0 0;
	}
	
	
#header #logo a{
	float: left;
	width: 355px;
	height: 205px;
	text-indent: -9999px;
	}
	

#pictures{
	float: right;
	width: 624px;
	height: 204px;
	line-height: 205px;	
	text-align: center;
	font-size: 1.8em;
	color: #999999;
	background: #FFF;
	}
	
#pictures img{
	display: block;
	}
	
	
/*------ content ------*/


#content {
	float: left;
	width: 980px;
	padding: 0 19px 0 19px;
	background: url(img/content-bg.png) repeat-y 0 0;
	}
	

* html #content {
	background: url(img/content-bg.gif) repeat-y 0 0;
	}
	
	
/*------ navigation ------*/


#navigation {
	float: left;
	width: 960px;
	padding: 10px 0 20px 19px;	
	}
	

#mainNav{
	float: left;
	background: url(img/mainNav-bg.jpg) no-repeat 100% 0;
	border-left: 1px solid #767676;
	border-bottom: 1px solid #767676;	
	font-size: 1.3em;
	}	
	

#mainNav li{
	float: left;
	border-right: 1px solid #00512F;	
	}
	
#mainNav li a{
	display: block;
	color: #00512F;
	position: relative;
	text-decoration: none;
	line-height: 0.9em;
	margin: 0 14px;
	padding: 11px 0 10px 0;	
	}
	

#mainNav li.page-item-19{
	border-right: none;
	}
	
	
#mainNav li a:hover,
#mainNav li.current_page_item a,
#mainNav li.current_page_parent a{
	color: #D2532B;
	}
	
#mainNav li a:hover span,
#mainNav li.current_page_item a span,
#mainNav li.current_page_parent a span{
	display: block;
	position: absolute;
	width: 100%;
	bottom: -3px;
	left: 0;
	border-bottom: 2px solid #00512F;
	}
	
	
* html #mainNav li a:hover span,
* html #mainNav li.current_page_item a span,
* html #mainNav li.current_page_parent a span{
	border-bottom: none;
	}
	

#subNav{
	float: left;
	width: 665px;
	}	
	
#subNav li{
	float: left;
	font-size: 1.2em;
	padding: 10px 0 0 15px;
	}	
	
	
#subNav li a{
	color: #808080;
	text-decoration: none;
	}	
	

#subNav li a:hover,
#subNav li.current_page_item a{
	color: #D2532B;
	}	
	
	
#navigation .contact{
	float: right;
	width: 270px;	
	}
	
#navigation .contact strong{
	float: left;
	font-size: 1.7em;
	font-weight: bold;
	color: #00512E;
	padding: 7px 0 0 0;
	}
	
	
#navigation .contact a{
	float: right;
	width: 80px;
	font-size: 1.3em;
	padding: 10px 8px 10px 12px;
	text-decoration: none;
	color: #FFF;
	border-bottom: 1px solid #A09E9D;
	background:  url(img/contact-button-bg.jpg) no-repeat 0 0;
	}	
	
	
/*------ mainContent ------*/

#mainContent{
	float: left;
	width: 668px;
	padding: 0 0 10px 20px;
	}
	
	
#mainContent .post{
	float: left;
	width: 668px;
	padding: 20px 0 0 0;
	}
	
	
#mainContent h1{
	color: #D2542B;
	font-size: 2.3em;
	padding: 0 0 15px 0;
	}
	
	
#mainContent h2{
	font-weight: bold;
	font-size: 1.4em;
	padding: 0 0 15px 0;
	}
	
	
#mainContent h3{
	color: #D2542B;
	font-size: 1.3em;
	padding: 10px 0 15px 0;
	}	
	
	
#mainContent h3 em{
	font-style: normal;
	color: #4C792C;
	font-weight: bold;
	font-size: 1.1em;
	}
	
	
#mainContent p{
	font-size: 1.2em;
	line-height: 1.5em;
	padding: 0 0 15px 0;
	}	
	

#mainContent a{
	color: #D2532B;
	text-decoration: none;
	}
	
	
#mainContent a:hover{
	text-decoration: underline;
	}	
	
#mainContent a.moreLink{
	color: #999;
	}
	
	
#mainContent a.moreList{
	color: #999;
	font-size: 0.9em;
	}	
	
	
#mainContent ol{
	color: #999;
	font-size: 1.1em;
	padding: 0 0 15px 0;
	}		
	

#mainContent ol li{
	padding: 0 0 3px 0;
	}
	
	
#mainContent ul{
	font-size: 1.2em;
	padding: 0 0 10px 0;
	}		
	

#mainContent ul li{
	line-height: 1.5em;
	padding: 0 0 5px 15px;
	background: url(img/bullet-orange.gif) no-repeat 0 4px;
	}	
	
	
#mainContent .navigation{
	float: left;
	width: 668px;
	font-size: 1.2em;
	border-top: 1px solid #ccc;
	padding-top: 15px;
	margin-top: 15px;
	}
	

#mainContent .navigation .alignleft{
	float: left;
	}
	
#mainContent .navigation .alignright{
	float: right;
	}		
	
/*------ homeBoxes ------*/

#homeBoxes{
	float: left;
	width: 668px;
	margin: 30px 0 0 0;
	background: url(img/homeBoxes-bg.jpg) no-repeat 0 100%;
	}
	
	
#homeBoxes .box{
	float: left;
	width: 163px;
	margin: 0 4px 0 1px;
	}
	
* html #homeBoxes .box{	
	margin: 0 4px 0 1px;
	}
	
	
#homeBoxes .last{	
	margin: 0 0 0 0 !important;
	}


#homeBoxes .title{
	float: left;
	width: 147px;	
	padding: 8px;
	font-size: 1.4em;
	border-bottom: 1px solid #737373;
	background: url(img/homeBoxes-title-bg.jpg) no-repeat 0 0;
	}
	
	
#homeBoxes .title a{
	color: #00512E;
	text-decoration: none;
	}
	
#homeBoxes .title a:hover{	
	color: #D2532B;
	}	
	

#homeBoxes .box p{
	float: left;
	padding: 0 8px 8px 8px;
	}
	
	
#homeBoxes .box img{
	float: left;
	padding: 8px 0 0 0;
	}	
	

	
	
	
/*------ sideBar ------*/

#sideBar{
	float: right;
	width: 250px;
	padding: 0 20px 0px 0;	
	}	
	
	
	
#sideBar .feature{
	float: left;
	width: 250px;
	margin: 0 0 10px 0;
	font-size: 1.3em;
	border-bottom: 1px solid #808080;
	background: url(img/sideBar-feature-bg.jpg) no-repeat 0 0;
}


#sideBar .feature a{
	float: left;
	width: 244px;
	text-decoration: none;
	color: #00512E;	
	padding: 6px 6px 6px 0;
	}
	
	
#sideBar .feature a:hover{	
	color: #D2532B;
	}
	
	
#sideBar .feature img{
	float: right;
	}
	

#sideBar .feature em{
	float: left;
	width: 90px;
	font-style: normal;
	padding: 5px 0 0 14px;
	}	
	


#sideBar .news{
	float: left;
	width: 250px;
	margin: 0 0 20px 0;
	}

#sideBar .news h4{
	font-size: 1.4em;
	color: #00512E;
	padding: 0 0 14px 0;
	}
	

#sideBar .news ul{
	font-size: 1.2em;
	}
	
#sideBar .news ul li{
	padding: 0 0 5px 10px;
	background: url(img/bullet.gif) no-repeat 0 3px;
	}	
		

#sideBar .news ul li a{		
	color: #4C4C4C;
	text-decoration: none;
	}
	

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

#sideBar .logos{
	float: left;
	width: 250px;	
	margin: 0 0 10px 0;
	text-align: right;
	}


/*------ footer ------*/


#footer {
	float: left;
	width: 980px;
	padding: 7px 19px 23px 19px;
	color: #999999;
	background: url(img/footer-bg.png) no-repeat 0 100%;
	}
	
	
* html #footer {
	background: url(img/footer-bg.gif) no-repeat 0 100%;
	}
	
	
#footer a{
	color: #999999;
	text-decoration: none;
	}
	
#footer a:hover{
	text-decoration: underline;
	}	
	
	
	
#footer ul{
	float: left;
	padding: 0 0 0 20px;	
	}
	
	
#footer ul li{
	float: left;
	}	
	
	
#footer p{
	float: left;
	padding: 0 0 0 40px;
	}		
	
	
/*------ wpcf7-form ------*/	
	
#wpcf7-f2-p19-o1{
	float: left;
	width: 646px;
	border: 1px solid #CCC;
	padding: 10px;
	margin: 30px 0 0 0;
	background: #f3f3f3;
}


#wpcf7-f2-p19-o1 p{
	float: left;
	width: 646px;
	}
	
	
#wpcf7-f2-p19-o1 p em{
	float: left;
	width: 200px;
	font-style: normal;
	font-weight: bold;
	}	
	
	
#wpcf7-f2-p19-o1 p span.wpcf7-form-control-wrap{
	float: right;
	width: 400px;
	}	
	
	
#wpcf7-f2-p19-o1 p span.wpcf7-form-control-wrap input{
	width: 300px;
	padding: 3px;
	border: 1px solid #ccc;
	}
	
	
#wpcf7-f2-p19-o1 p span.wpcf7-form-control-wrap textarea{
	width: 300px;
	padding: 3px;
	border: 1px solid #ccc;
	}	
	
#wpcf7-f2-p19-o1 p span.wpcf7-form-control-wrap .wpcf7-radio input{
	width: auto;
	padding: 0;
	border: none;
}

#wpcf7-f2-p19-o1 p span.wpcf7-form-control-wrap .wpcf7-list-item{
	display: block;
	width: 300px;
	padding: 0 0 3px 0;
	}


#wpcf7-f2-p19-o1 p span.contacted-when input{
	width: 100px;
}


#wpcf7-f2-p19-o1 .submit input{
	float: left;
	padding: 3px 10px;
	margin: 15px 0 0 0;
	border: 1px solid #666;
	font-family: verdana;
	font-size: 12px;
	background: #f3f3f3;
	}
	
#mainContent .wpcf7-response-output{
	float: left;
	width: 600px;
	background: #fff;
	font-size: 1.4em;
}	
