/*
Theme Name: DJC Build
Theme URI: http://www.djcbuild.co.uk/
Author: Peter Hughes
Author URI: http://www.eyesparks.com/
*/


/* 
01 - LAYOUT
02 - HEADER
02a- GALLERY DOCK
03 - HOMEPAGE
04 - OTHER CONTENT
05 - SIDEBAR
06 - BUTTONS & FORMS
07 - LISTS & NAVIGATION
08 - FOOTER
09 - ORIGINAL WORDPRESS DEFAULT CODE
*/




/* 01 - LAYOUT
/* ----------------------------------------------*/
* 			{ margin: 0;  padding: 0;}
html 		{ min-height: 100%; overflow-y:scroll; }
body		{background:#D5DADB; padding:30px 0; font-size:85%; }
html>/**/body, x:-moz-any-link, x:default { font-size:100%; } /* Only FireFox 3 */


.containermain	{padding:20px; background:#fff url(images/sideback2.png) no-repeat; background-position:30px 95px;}

h1.excavation	{text-transform:uppercase;}



/* 02 - HEADER
/* ----------------------------------------------*/


/* 02 a - GALLERY DOCK
/* ----------------------------------------------*/



/* 03 - HOMEPAGE
/* ----------------------------------------------*/
.featuredservice			{position:relative; width:310px; height:116px; float:left; margin:0 0 10px 0; text-decoration:none;}
.featuredservice img		{position:absolute; top:0; left:0; width:310px; height:116px;}
.featuredservice .bluesquare{position:absolute; top:0; left:0; width:70px; height:116px; background:url(images/blue-square.png) repeat;}
.featuredservice .titlebar	{position:absolute; top:66px; left:70px; padding:30px 0 0 10px; width:230px; height:20px; background:url(images/greyback_service.png) repeat;}
.featuredservice span		{color:#FFF; font-size:0.8em; margin:0;}
.featuredservice:hover		{text-decoration:underline; color:#FFF;}

.featuredproject			{position:relative; width:310px; height:116px; float:left; margin:0 0 10px 0; text-decoration:none;}
.featuredproject img		{position:absolute; top:0; left:0; width:310px; height:116px;}
.featuredproject .bluesquare{position:absolute; top:0; left:0; width:70px; height:116px; background:url(images/blue-square2.png) repeat;}
.featuredproject .titlebar	{position:absolute; top:66px; left:70px; padding:30px 0 0 10px; width:230px; height:20px; background:url(images/greyback_project.png) repeat;}
.featuredproject span		{color:#FFF; font-size:0.8em; margin:0;}
.featuredproject:hover		{text-decoration:underline; color:#FFF;}

.latestnews					{width:310px; float:left; background:url(images/blue-crosshatch2.png) repeat-y left; margin-top:30px; height:400px;}
.latestnews	h2				{margin-left:80px;}
.homenewsitem				{float:left; padding-right:10px;}
.homenewsitem a				{text-decoration:none;}
.homenewsitem a:hover p		{text-decoration:underline;}
.latestnews img				{float:left; margin:0 10px 0 0;}
.latestnews h3				{}
.latestnews p				{}
.latestnews .hr				{width:220px; margin-left:80px; height:10px; border-top:#9EB0B2 solid 1px; float:left;}


/* 04 - OTHER CONTENT
/* ----------------------------------------------*/
.content	{background:#F5F6F6;}
.contenthome{background:url(images/interior-design-build.jpg) no-repeat; background-position:0 75px;}

.entry		{margin:15px; float:left; width:100%;}
.entry2		{margin:15px 15px 15px 0; float:left; width:100%;}
.leftgreen	{ background:url(images/green-square.png) left repeat-y; float:left; width:100%;}
.leftblue	{ background:url(images/blue-crosshatch3.png) left repeat-y; float:left; width:100%;}
.leftblue2	{ background:url(images/blue-brick.png) left repeat-y; float:left; width:100%;}
.left_150	{margin-left:150px; float:left;}
.leftgreen h3 {color:#C2CB20;}
.leftblue h3 {color:#00B4C5;}
.leftblue2 h3 {color:#00B4C5;}

.parent a	{font-size:0.9em; font-weight:normal; text-transform:uppercase; text-decoration:none;}
.orange a	{color:#DA521F;}
.blue a		{color:#00B4C5;}
.parent a:hover	{text-decoration:underline;}
.useorange p em	{color:#DA521F;}



/* 05 - SIDEBAR
/* ----------------------------------------------*/
.sidebar	{}
.side2		{margin:8px 0 0 100px; padding:20px 0 0 0; width:160px; position:relative;}

.homeintro	{margin:0 0 0 20px; width:170px; float:left; height:500px;}
.contactd	{margin:0 0 0 20px; width:150px;}

ul.sidenav		{list-style:none; margin:0 0 0 3px; padding:0; float:left; height:500px; }
ul.sidenav	li	{margin:2px 0; padding:0; float:left; font-size:0.8em; font-weight:normal;  }
ul.sidenav	li	a{ float:left; color:#96A2A4; padding:0 0 0 17px; text-decoration:none; width:150px; }
ul.sidenav	li	a:hover{ text-decoration:underline;}
ul.sidenav	li.current_page_item a{ background:url(images/sidearrow.png) no-repeat left center;}
ul.sidenav	li.title { float:left; color:#00B4C5; padding:0 0 0 17px; text-decoration:none; width:150px; text-transform:uppercase;}
ul.sidenav	li.page-item-15 a{ font-size:1.2em; color:#DA521F; text-transform:uppercase;}
ul.sidenav	li.page-item-40 a,
ul.sidenav	li.page-item-2  a,
ul.sidenav	li.page-item-42 a{ font-size:1.2em; color:#00B4C5; text-transform:uppercase;}

.sidepic 		{}


/* 06 - BUTTONS, FORMS & TABLES
/* ----------------------------------------------*/


/* 07 - LISTS & NAVIGATION
/* ----------------------------------------------*/
ul.mainnav 			{margin:43px 0 0 0; height:32px; list-style:none; padding:0; float:left; width:100%;}
ul.mainnav li 		{float:left; margin:0 15px;}
ul.mainnav a 		{display:block; margin:0; text-decoration:none; font-weight:normal; font-size:0.7em; color:#33464A;}
ul.mainnav a:hover 	{color:#00B4C5;}
ul.mainnav .current a {color:#00B4C5;}
ul.mainnav .currentorange a {color:#DA521F;}

ul.alphanav 		{margin:7px 0 0 0; height:32px; list-style:none; padding:0; float:left; width:100%;}
ul.alphanav li 		{float:left; margin:0 25px 0 0;}
ul.alphanav a 		{display:block; margin:0; text-decoration:none; font-weight:normal; font-size:0.7em; color:#33464A;}
ul.alphanav a:hover {color:#00B4C5;}

ul.betanav 			{margin:2px 0 2px 0; height:32px; list-style:none; padding:0; float:left; width:100%;}
ul.betanav li 		{float:left; margin:0 25px 0 0;}
ul.betanav a 		{display:block; margin:0; text-decoration:none; font-weight:normal; font-size:0.7em; color:#33464A;}
ul.betanav a:hover 	{color:#00B4C5;}

body.home li.home a,
body.page-id-2 li.about a,
body.parent-pageid-2 li.p a,
body.page-id-42 li.projects a,
body.parent-pageid-42 li.projects a,
body.blog li.news a,
body.single li.news a,
body.archive li.news a,
body.page-id-46 li.contact a,
body.page-id-40 li.building a,
body.parent-pageid-40 li.building a,
body.page-id-15 li.excavation a,
body.parent-pageid-15 li.excavation a,
body.page-id-274 li.smallworks a,
body.parent-pageid-274 li.smallworks a,
body.page-id-277 li.selfbuild a,
body.parent-pageid-277 li.selfbuild a,
body.page-id-279 li.management a,
body.parent-pageid-279 li.management a {color:#00B4C5;}



/* 08 - FOOTER
/* ----------------------------------------------*/




/* 09 - ORIGINAL DEFAULT WORDPRESS CODE
/* ----------------------------------------------*/

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px 4px 4px 0;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 20px 0 10px 0;
	margin-left: 545px;
	width: 190px;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin:10px 0 0 0;
	padding:0 0 0 10px;
	border:0px;
	color:#00B4C5;
	font-size:14px;
	}

cite {
	margin:0;
	padding:0 0 0 10px;
	display: block;
	color:#00B4C5;
	font-size:12px;
	font-weight:bold;
	font-style:normal;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



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

.wp-caption {
	border: 1px solid #ccc;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px 0;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
	color:#333;
}
/* End captions */

