/**
 * Theme Name: CDA
 * Theme URI: http://www.mortoncarnie.com
 * Description: Custom theme for CDA
 * Version: 0.1
 * Author: Dave Morton
 * Author URI: http://www.mortoncanrie.com
 * Tags: Builders, Construction, Kings Lynn
 * Template: hybrid
 */
 
 @import url('../hybrid/style.css');
 
 body {
	background-color: #efefef;
	/*background-image: url(images/white-brick-20b.png);*/
	/*background-image: url(images/black-brick-5.png);*/

}
p {
	color: gray;
	font: 16px/24px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}
.home h1.page-title.entry-title {

	font-size: 36px;
	margin-top: 37px;
	margin-bottom: 25px;
	line-height: 38px;
}
h1.page-title.entry-title {

	font-size: 36px;
	margin-top: 20px;
	margin-bottom: 25px;
	line-height: 38px;
}
h1.post-title.entry-title {
	margin-top: 20px;
	margin-bottom: 25px;
	font-size: 36px;
	line-height: 38px;
}
h1.page-title.entry-title a,
h1.post-title.entry-title a{

	color: #002d5b;
}
h1.page-title.entry-title a:hover{

	color: #1080b2;
}
h2 {
	color: #0a82cc;
	font-weight: bold;
	font-size: 28px;
	line-height: 32px;
	margin-bottom: 20px;
}

h3 {
	color: #730000;
	font-size: 22px;
	line-height: 26px;
	margin-bottom: 12px;
}
blockquote {
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: #666 0px 2px 5px;
-moz-box-shadow: #666 0px 2px 5px;
box-shadow: #666 0px 2px 5px;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#dadada));
background: -webkit-linear-gradient(#ffffff, #dadada);
background: -moz-linear-gradient(#ffffff, #dadada);
background: -ms-linear-gradient(#ffffff, #dadada);
background: -o-linear-gradient(#ffffff, #dadada);
background: linear-gradient(#ffffff, #dadada);
-pie-background: linear-gradient(#ffffff, #dadada);
behavior: url(/wp-content/themes/CDA/pie/PIE.htc);
	clear: both;
	width: 66%;
	float: none;
	margin: 0 auto 20px;
	padding: 24px;
}
blockquote p {
	margin: 0px;
	font-weight: bold;
	font-size: 16px;
	line-height: 24px;
	color: #002d5b;
}
blockquote p span {
	margin: 0px;
	font-weight: normal;
	font-size: 13px;
	line-height: 28px;
	color: gray;
}
a:link, a:visited {
	color: #730000;
}
a:hover, a:active {
	color: #007321;
	text-decoration: none;
}
 #body-container {
	margin-top: 12px;
	padding: 24px;
	background: white no-repeat 24px 24px;
		-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: #666 0px 2px 5px;
-moz-box-shadow: #666 0px 2px 5px;
box-shadow: #666 0px 2px 5px;

}

#site-title {
	display: none;
}

#site-description {
	display: none;
}

div.cda-contact {
	position: absolute;
	right: 0;
	top: 0;
}

div.royal-seal {
	top: 4px;
	margin-right: auto;
	margin-left: auto;
	width: 140px;
	position: absolute;
	right: 405px;
}

div#header {
	position: relative;
	margin-bottom: 21px;
}

div#primary-menu.menu-container {
	margin-bottom: 10px;
	background-color: #320404;
	height: 35px;
}

#container {
	margin-top: 0px;
	overflow: visible;
	margin-bottom: 0;
}
.home #container {
}
#primary {
	width: 326px;
	margin-top: 20px;
}

#query-posts-2 {
	background-color: teal;
}

#rcp_recent_custom_posts-2 {
	background-color: green;
}
.widget {
	margin-bottom: 40px;
}
#text-4.widget {
	margin-bottom: 0px;
}

#text-4 .widget-inside {
	padding-bottom: 0px;
	padding-top: 0px;
}
p.cda-phone {
	font-weight: 900;
	color: #730000;
	font-size: 30px;
	padding-left: 40px;
	text-align: right;
	line-height: 30px;
	background: url(images/cda-telephone.png) no-repeat 1px 2px;
	padding-right: 5px;
	margin-top: 21px;
	margin-bottom: 0;
}

p.cda-email {
	color: #730000;
	font-size: 16px;
	font-weight: bold;
	text-align: right;
	padding-right: 5px;
	margin-top: 9px;
	margin-bottom: 10px;
}

#header p span {
	color: gray;
}

p.cda-contact {
	text-align: right;
	font-size: 16px;
	font-weight: bold;
}
#primary-menu li {
	margin: 0px;
	width: 160px;
}
#primary-menu li a {
	text-transform: uppercase;
	font: 13px/19px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	border-style: none;
	vertical-align: middle;
	background-color: #320404;
	color: white;
	text-align: center;
}

#primary-menu .current-menu-item a {
	background-color: #6d0101;
}

#primary-menu a:hover, #primary-menu a:active {
	background-color: #6d0101;
}


.hentry img {

	height: auto;

	padding: 0px;

	border: 1px none #ccc;

	}

div.breadcrumb-trail.breadcrumbs {
	display: none;
}

.thumbnail {

	float: none;

	width: auto;

	height: auto;

	margin: 0;

	}
a img{border:none}
div.entry-content ul{
	margin: 0;
}

div.entry-content ul.lightlist li {
padding: 8px 12px;
text-align: center;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: #666 0px 2px 5px;
-moz-box-shadow: #666 0px 2px 5px;
box-shadow: #666 0px 2px 5px;
background: #fcfdf8;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fcfdf8), to(#ceceac));
background: -webkit-linear-gradient(#fcfdf8, #ceceac);
background: -moz-linear-gradient(#fcfdf8, #ceceac);
background: -ms-linear-gradient(#fcfdf8, #ceceac);
background: -o-linear-gradient(#fcfdf8, #ceceac);
background: linear-gradient(#fcfdf8, #ceceac);
-pie-background: linear-gradient(#fcfdf8, #ceceac);
behavior: url(/wp-content/themes/CDA/pie/PIE.htc);
	list-style-type: none;
	color: #730000;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	font-weight: bold;
	text-transform: none;
	margin-bottom: 12px;
	width: auto;
}

div.entry-content ul li {
padding: 8px 12px;
text-align: center;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: #666 0px 2px 5px;
-moz-box-shadow: #666 0px 2px 5px;
box-shadow: #666 0px 2px 5px;
background: #fcfdf8;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fcfdf8), to(#ceceac));
background: -webkit-linear-gradient(#fcfdf8, #ceceac);
background: -moz-linear-gradient(#fcfdf8, #ceceac);
background: -ms-linear-gradient(#fcfdf8, #ceceac);
background: -o-linear-gradient(#fcfdf8, #ceceac);
background: linear-gradient(#fcfdf8, #ceceac);
-pie-background: linear-gradient(#fcfdf8, #ceceac);
behavior: url(/wp-content/themes/CDA/pie/PIE.htc);
	list-style-type: none;
	color: #730000;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 12px;
	width: 240px;
}
div.entry-content ul.dm-li-col1{
	float: left;
	margin-right: 24px;
	margin-left: 24px;
}
div.entry-content ul.dm-li-col1 li{
	text-align: right;
}
div.entry-content ul.dm-li-col2{
	float: left;
}
div.entry-content ul.dm-li-col2 li{
	text-align: left;
}
div.entry-content ul.dm-li-col3{
	margin-right: auto;
	margin-left: auto;
	clear: both;
	width: 266px;
	margin-bottom: 30px;
}
div.entry-content ul.dm-li-col4 li{
	text-align: left;
	width: 400px;
}

div.entry-content ul.dm-li-col4 li span{
	text-align: left;
	text-transform: capitalize;
	color: #002d5b;
}
div.entry-content ul.dm-li-col4{
	margin-right: auto;
	margin-left: auto;
	clear: both;
	width: 400px;
	margin-bottom: 30px;
}

div.entry-content ul.dm-li-colblue{
	margin-right: auto;
	margin-left: auto;
	clear: both;
	width: 525px;
	margin-bottom: 30px;
}
div.entry-content ul.dm-li-colblue li{
	text-align: left;
	width: 500px;
	text-transform: none;
	color: #002d5b;
}

#query-posts-2 {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: #666 0px 2px 5px;
-moz-box-shadow: #666 0px 2px 5px;
box-shadow: #666 0px 2px 5px;
background: #899caa;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#899caa), to(#f6f6f6));
background: -webkit-linear-gradient(#899caa, #f6f6f6);
background: -moz-linear-gradient(#899caa, #f6f6f6);
background: -ms-linear-gradient(#899caa, #f6f6f6);
background: -o-linear-gradient(#899caa, #f6f6f6);
background: linear-gradient(#899caa, #f6f6f6);
-pie-background: linear-gradient(#899caa, #f6f6f6);
behavior: url(/wp-content/themes/CDA/pie/PIE.htc);
	border-style: none;
	border-width: 1px;
}
#query-posts-2 .post {
	margin-bottom: 12px;
}

#rcp_recent_custom_posts-2 {
	border: 1px none #696;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: #666 0px 2px 5px;
-moz-box-shadow: #666 0px 2px 5px;
box-shadow: #666 0px 2px 5px;
background: #fefefe;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fefefe), to(#bba5a7));
background: -webkit-linear-gradient(#fefefe, #bba5a7);
background: -moz-linear-gradient(#fefefe, #bba5a7);
background: -ms-linear-gradient(#fefefe, #bba5a7);
background: -o-linear-gradient(#fefefe, #bba5a7);
background: linear-gradient(#fefefe, #bba5a7);
-pie-background: linear-gradient(#fefefe, #bba5a7);
behavior: url(/wp-content/themes/CDA/pie/PIE.htc);
}
#rcp_recent_custom_posts-2 .widget-inside {
	padding-bottom: 40px;
}
#rcp_recent_custom_posts-2 h3 {
	color: #730000;
}
#subsidiary #text-3 {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: #666 0px 2px 5px;
-moz-box-shadow: #666 0px 2px 5px;
box-shadow: #666 0px 2px 5px;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ffffff), to(#dadada));
background: -webkit-linear-gradient(#ffffff, #dadada);
background: -moz-linear-gradient(#ffffff, #dadada);
background: -ms-linear-gradient(#ffffff, #dadada);
background: -o-linear-gradient(#ffffff, #dadada);
background: linear-gradient(#ffffff, #dadada);
-pie-background: linear-gradient(#ffffff, #dadada);
behavior: url(/wp-content/themes/CDA/pie/PIE.htc);
	clear: both;
	width: 100%;
	float: none;
	margin: 0;
	height: 120px;
}
#utility-after-content, #utility-after-page, #utility-after-single {
margin: 0px;
padding: 0px;
border-style: none;
clear:both;
}

#utility-after-content ul
{list-style-type:none;
margin:0px;}
#utility-after-content ul li {
padding:6px 12px;
float:left;
}
#utility-after-content ul li a {
text-decoration:none;
font: normal normal bold 14px/18px Arial, Verdana, sans-serif;
color: #002d5b;
}

#utility-after-content h3 {
color: #730000;
font-size: 22px;
line-height: 26px;
margin-bottom: 12px;
}


#subsidiary #text-2 {
	float: none;
	width: 100%;
}
#subsidiary #text-2 p {
	font-size: 30px;
	font-weight: bold;
	line-height: 35px;
	margin: 0;
		color: #0a82cc;

}

#subsidiary #text-2 p a {

	color: #002d5b;
	text-decoration: none;
}
#subsidiary #text-2 p a:hover, #subsidiary #text-2 p a:active {
		color: #007321;

}
#query-posts-2 h2
 {
	margin: 0;
	text-decoration: none;
	font-size: 16px;
	line-height: 24px;}

#query-posts-2 h2 a
 {

		color: #002d5b;
	text-decoration: none;
}
#query-posts-2 h2 a:hover, #query-posts-2 h2 a:active
 {

		color: #6d0101;
	text-decoration: none;
}
#query-posts-2 h3 {
	color: white;
}

#query-posts-2 img {
	float: left;
	margin-right: 20px;
}
#subsidiary h3.widget-title {
	display: none;
}
.widget-inside {
	padding: 14px 20px 20px;
}

#subsidiary, #footer-container {
	overflow: visible;
}

#content{
	width: 593px;
	margin-bottom: 10px;
	padding-bottom: 20px;
	border-bottom: 1px solid silver;
}

#content img.cda-post {
	margin-bottom: 0px;
	-webkit-border-radius: 0 0 20px 0;
-moz-border-radius: 0 0 20px 0;
border-radius: 0 0 20px 0;
behavior: url(/wp-content/themes/CDA/pie/PIE.htc);

}

#content p.byline {
	display: none;
}

.test-content p {
padding: 10px;
text-align: center; 
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background: #ffffff;

	margin-bottom: 0;
	clear: both;
behavior: url(/wp-content/themes/CDA/pie/PIE.htc);

}

div.test-person {
	text-align: right;
	float: right;
	padding-left: 30px;
	background: url(images/speech-tag.png) no-repeat;
	font: bold 16px/32px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	color: #002d5b;
}
#text-3 .text-widget {
	position: relative;
}
div.royal-seal-bottom {
	width: 112px;
	height: 87px;
	background: url(images/royal-seal-2.png) no-repeat;
float: left;
}
.royal-seal-bottom span,
.logo-bottom span,
div.acceditations ul li span {
	display: none;
}
div.logo-bottom {
	background: url(images/allflatt-logo-small.png) no-repeat;
	width: 127px;
	height: 90px;
	float: left;
	margin-left: 20px;
}
div.address-bottom {
	float: left;
	font: 12px/18px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	padding-left: 20px;
	padding-top: 10px;
	color: gray;
}
div.address-bottom span{
	color: #730000;
	font-weight: bold;
}
div.address-bottom a:link, div.address-bottom a:visited {
	text-decoration: none;
	font-weight: bold;
	color: gray;
}

div.address-bottom a:hover, div.address-bottom a:active {

	color: #b10000;
}

div.acceditations {
	float: right;
	background-color: white;
	padding: 10px;
text-align: center; 
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background: #ffffff;

	margin-bottom: 0;
behavior: url(/wp-content/themes/CDA/pie/PIE.htc);
	margin-top: 5px;
}
div.acceditations ul li{
	float: left;
	list-style-type: none;
}
div.acceditations ul {
	margin: 0;
	float: right;
}
#subsidiary div.acceditations a {
	display: block;
}
#subsidiary div.acceditations a.trust {
	width: 55px;
	height: 50px;
	background-image: url(images/trustmark.png);
}
#subsidiary div.acceditations a.chas {
	width: 59px;
	height: 50px;
	background-image: url(images/chas-logo.gif);
}
#subsidiary div.acceditations a.altius {
	width: 50px;
	height: 50px;
	background-image: url(images/altius-logo.gif);
}
#subsidiary div.acceditations a.c-line {
	width: 49px;
	height: 50px;
	background-image: url(images/construction-line-logo.gif);
}
#subsidiary div.acceditations a.fmb {
	width: 41px;
	height: 50px;
	background-image: url(images/fmb-logo.gif);
}
#subsidiary div.acceditations a.safe {
	width: 53px;
	height: 50px;
	background-image: url(images/safe-contractor-logo.gif);
}

#subsidiary div.acceditations a.aviva {
	width: 57px;
	height: 50px;
	background-image: url(images/aviva-logo.gif);
}

.archive #primary {
	display: none;
}

.archive #content {
	width: 960px;
}
.archive div#container {
	width: 960px;
}
#news-box {
	float: left;
	width: 310px;
	display: block;
	margin-right: 15px;
	height: 232px;
	position: relative;
	margin-bottom: 15px;
}
#news-box img {
		-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
behavior: url(/wp-content/themes/CDA/pie/PIE.htc);

}
#news-box h2 {
	font-size: 16px;
	line-height: 24px;
	margin-bottom: 0;
	color: white;
	z-index: 1;
	position: absolute;
	bottom: 12px;
	display: block;
	width: 310px;
}
#news-box h2 a:link, #news-box h2 a:visited{
	color: white;
	display: block;
	padding: 12px;
	background-color: #730000;
	min-height: 40px;
	z-index: 2;

}

#news-box h2 a:hover, #news-box h2 a:active{
background-color:#b10000;
}

#news-box.post-3,
#news-box.post-6,
#news-box.post-9,
#news-box.post-12,
#news-box.post-15,
#news-box.post-18,
#news-box.post-21,
#news-box.post-24{
	margin-right: 0px;
}

#text-4 .widget-title {
	display: none;
}

#text-4 h2{
	color: #b8b8b8;
	font-size: 28px;
	line-height: 33px;
}

#text-4 h2 span {
	color: #730000;
	display: block;
	margin-top: 15px;
}

#footer .copyright {
	margin-bottom: 0px;
}

#footer-container {
	margin-bottom: 0px;
}

/* Drop-downs style */

#primary-menu li:hover ul, #primary-menu li.sfHover ul, #page-nav li:hover ul, #page-nav li.sfHover ul {

	top: 35px;
	z-index: 999;
	border: 2px solid white;
	border-top-style: none;
}

span.sf-sub-indicator {
	display: none;
}

#primary-menu li li a, #page-nav li li a {

	border-top: none;

	margin-right: 0;

	}

#primary-menu li ul, #page-nav li ul {

	background: #fff;

	border-top: 1px solid #ccc;

	}

#primary-menu li li:hover ul, #primary-menu li li.sfHover ul, #primary-menu li li li:hover ul, #primary-menu li li li.sfHover ul, 

#page-nav li li:hover ul, #page-nav li li.sfHover ul , #page-nav li li li:hover ul, #page-nav li li li.sfHover ul  {

	top: -1px;

	}

#primary-menu li li li, #page-nav li li li {

	margin-left: -1px;

	}
	
.navigation-links a span{
	display: block;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	font-weight: bold;
	font-style: normal;
	background-color: #730000;
	padding: 6px 12px;
	color: white;
		-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
behavior: url(/wp-content/themes/CDA/pie/PIE.htc);
}

.navigation-links a:hover span{

	background-color: #b10000;

}
.gallery-caption {
	font: 16px/24px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	color: gray;
}

#content .gallery .gallery-item .gallery-icon img {
	border-style: none;
}

.entry-content ul li a:hover span {
	color: #b10000;
}

.dm-li-col4 li a:link, .dm-li-col4 li a:visited {
color:#002d5b;
text-transform: initial;
}
.dm-li-col4 li a:active, .dm-li-col4 li a:hover {
color:#730000;
}
blockquote p span.purple-quote {
color:purple;
font-size:36px;
line-height:16px;
}
blockquote p:before { content: open-quote;
color:purple;
font-size:36px;
line-height:16px; }

blockquote p:after { content: close-quote;
color:purple;
font-size:36px;
line-height:16px; }