/* 
Theme Name: Teign
Theme URI: http://oxfordprivatecare.co.uk
Version: 2.0
Description: In the valleys of the green and the grey
Author: Simon Blackbourn @ Lumpy Lemon
Author URI: http://lumpylemon.co.uk/

Reset:
	meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded

Clearfix:
	http://perishablepress.com/press/2009/12/06/new-clearfix-hack/

*/



/* -- reset -- */



html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, a, em, img, ul, li, fieldset, form, label, input, textarea, legend, caption, dl, dt, dd {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: normal;
	margin: 0;
	padding: 0;
	text-decoration: none;
	vertical-align: baseline;
}



/* -- clearfix -- */



.cf:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
* html .cf { zoom: 1; } /* IE6 */
*:first-child+html .cf { zoom: 1; } /* IE7 */



/* -- hide -- */



hr {
	display: none;
}



/* -- structural -- */



body {
	background: #fff url(i/bg.jpg) 0 0 repeat-x;
	color: #383838;
	text-align: center;
}

#wrap {
	background-color: #fff;
	margin: 20px auto 40px auto;
	padding: 2px;
	width: 956px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#main {
	margin: 50px auto 0 auto;
	padding-bottom: 50px;
	text-align: left;
	width: 810px;
}

#page {
	float: left;
	padding: 90px 50px 0 50px;
	width: 500px;
}

#footer {
	background-color: #a3ab42;
	padding: 25px 73px;
}

#end {
	background: #383838 url(i/grey.jpg) 0 0 repeat;
	border-top: 2px solid #fff;
	-moz-border-radius: 0 0 3px 3px;
	-webkit-border-radius: 0 0 3px 3px;
}



/* -- admin bar -- */



#admin {
	background-color: #fff;
	color: #383838;
	padding: 0.6em;
}

#admin span {
	padding-left: 1em;
}

#admin a {
	color: #383838;
	font-weight: bold;
	text-decoration: underline;
}



/* -- top -- */



#nav {
	background-color: #a3ab42;
	padding: 30px 15px;
	text-align: center;
	-moz-border-radius: 3px 3px 0 0;
	-webkit-border-radius: 3px 3px 0 0;
}

#nav ul {
	list-style: none;
}

#nav li {
	display: inline;
	list-style: none;
	padding: 0 5px;
}

#nav a {
	padding: 10px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#nav li a:link, #nav li a:visited {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

#nav .current_page_item a:link, #nav .current_page_item a:visited, #nav .current_page_ancestor a:link, #nav .current_page_ancestor a:visited  {
	background-color: #fff;
	color: #a3ab42;
}

#nav li a:hover, #nav li a:active {
	background-color: #b5bc68;
	color: #fff;
}



/* -- service colours -- */



#side .page-item-4, .side-contact-4, #box-care {
	background-color: #a3ab42;
}

#area-4 h2 {
	border-color: #a3ab42;
}

#side .page-item-110, .side-contact-110, #box-live {
	background-color: #3c125e;
}

#area-110 h2 {
	border-color: #3c125e;
}

#side .page-item-112, .side-contact-112, #box-home {
	background-color: #59b83e;
}

#area-112 h2 {
	border-color: #59b83e;
}

#side .page-item-111, .side-contact-111, #box-hair {
	background-color: #e76e34;
}

#area-111 h2 {
	border-color: #e76e34;
}



/* -- homepage -- */



#home {
	background: transparent url(i/opc-home.png) top left no-repeat;
	margin: 0 auto;
	text-align: left;
	width: 755px;
}

#strapline {
	background: transparent url(i/strapline.png) 410px 112px no-repeat;
	display: block;
	height: 23px;
	padding: 112px 0 0 410px;
	text-indent: -9999px;
	width: 345px;
}

#areas {
	margin: 80px 0 0 115px;
	width: 640px;
}

.slide {
	float: left;
	height: 200px;
	width: 318px;
}

#slide-1 {
	margin-right: 4px;
}

.slide img {
	display: none;
}

.area {
	float: left;
	margin: 10px 5px;
	width: 150px;
}

.area h2 {
	border-bottom: 4px solid;
}

.area p {
	font-size: 0.85em;
	padding: 7px 5px;
}

.area h2 a {
	display: block;
	font-weight: bold;
	padding: 5px 5px 1px 5px;
	text-transform: uppercase;
	-moz-border-radius: 3px 3px 0 0;
	-webkit-border-radius: 3px 3px 0 0;
}

.area h2 a:link, .area h2 a:visited {
	color: #383838;
}

.area h2 a:hover {
	color: #fff;
}

#area-4 h2 a:hover {
	background-color: #a3ab42;
}

#area-110 h2 a:hover {
	background-color: #3c125e;
}

#area-112 h2 a:hover {
	background-color: #59b83e;
}

#area-111 h2 a:hover {
	background-color: #e76e34;
}

.area h2 a:active {
	color: #383838;
}

.area p a {
	color: #383838;
}

.clickable {
	cursor: pointer;
}



/* -- sidebar -- */



#side {
	background-color: #fff;
	background-position: 30px 0;
	background-repeat: no-repeat;
	float: left;
	font-size: 0.9em;
	padding-top: 180px;
	width: 210px;
}

#side ul {
	list-style-type: none;
}

#side li {
	background-color: #eee;
	margin: 0 0 2px 0;
	padding: 4px 6px;
}

#side .first-li {
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
}

#side .last-li {
	-moz-border-radius-bottomleft: 3px;
	-moz-border-radius-bottomright: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
}

#side a {
	color: #383838;
	display: block;
	width: 198px;
}

#side .service a {
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
}

#side .current_page_item a, #side .current_page_ancestor a {
	font-weight: bold;
}

#side h5 {
	color: #999;
	font-size: 0.95em;
	font-weight: bold;
	padding: 25px 2px 2px 6px;
	text-transform: uppercase;
}

#side-contact {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#side-contact p {
	color: #fff;
	padding: 4px 6px;
}

#other {
	padding-bottom: 50px;
}



/* -- footer -- */



#testimonials {
	color: #fff;
	float: left;
	text-align: left;
	width: 400px;
}

#contact {
	color: #fff;
	float: right;
	text-align: right;
	width: 400px;
}

#contact p {
	padding-bottom: 0.3em;
}

.phone {
	font-size: 1.6em;
	font-weight: bold;
}

#end p {
	color: #fff;
	font-size: 0.8em;
	padding: 0.5em;
}

#design p {
	color: #999;
	font-size: 0.8em;
	padding: 40px 15px 0 15px;
	text-align: right;
}

#design a {
	color: #999;
	text-decoration: underline;
}



/* -- links -- */



#page a {
	border-bottom: 2px solid #ccc;
	padding: 0 2px 0 2px;
}

#page a:link {
	color: #000;
}

#page a:visited {
	color: #000;
}

#page a:hover {
	background-color: #ccc;
	color: #000;
}

#page a:active {
	color: #000;
}

#page h2 a {
	font-weight: bold;
}



/* -- typography -- */



body {
	font: 14px/20px arial, sans-serif;
}

#page h2 {
	font-size: 1.6em;
	font-weight: bold;
	line-height: 1.3;
	padding-bottom: 0.5em;
}

#page p {
	padding-bottom: 1em;
}

#page ul, .box ul {
	list-style-type: square;
	padding: 0 25px 0.5em 25px;
}

#page li {
	padding-bottom: 0.5em;
}

em {
	font-style: italic;
}

.date {
	font-size: 0.9em;
	font-style: italic;
}



/* -- box -- */



.box {
	background-color: #eee;
	margin: 0 25px 1em 25px;
	padding: 1em 1em 0 1em !important;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.box-float {
	background-color: #eee;
	color: #fff;
	float: left;
	margin: 0 5px 1em 0;
	padding: 10px;
	width: 100px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}



/* -- images -- */



#page img {
	border: 5px solid #eee;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin: 0.5em 2em 1.5em 0;
}

.alignright {
	float: right;
	margin: 0.5em 0 1.5em 2em;
}

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

.wp-caption img {
	border: 1px solid #643926;
}

.wp-caption p.wp-caption-text {
	color: #000;
	font-family: arial, sans-serif;
	margin: 0;
	text-align: center;
}



/* -- forms -- */



.wpcf7-form {
	background-color: #eee;
	margin-bottom: 1em;
	padding: 20px;
	width: 455px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.wpcf7-form input, .wpcf7-form textarea {
	background-color: #fff;
	border: 1px solid #999;
	color: #383838;
	font-family: tahoma, geneva, sans-serif;
	font-size: 0.9em;
	letter-spacing: 1px;
	line-height: 1.4;
	padding: 0.5em;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.wpcf7-form input:hover, .wpcf7-form textarea:hover {
	border: 1px solid #383838;
}

.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form .ieFocus {
	border: 1px solid #383838;
}

.wpcf7-form .detail, .wpcf7-form .optional {
	font-size: 0.8em;
}

span.wpcf7-not-valid-tip {
	color: #000;
}



/* -- map -- */



#googlemap {
	border: 5px solid #eee;
	height: 300px;
	width: 485px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}



/* -- admin -- */



#page .edit {
	font-size: 0.8em;
	margin: 1em auto;
	text-align: center;
	text-transform: uppercase;
	width: 12em;
}

#page .edit a {
	background-color: #333;
	border: 0 none;
	color: #fff;
	padding: 4px 6px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#page .edit a:hover {
	text-decoration: underline;
}