/*
Theme Name: YBN
Theme URI: http://wordpress.org/
Description: The YBN wordpres theme by MWA Design.
Version: 1.0
Author: MWA Design
Author URI: http://www.mwadesign.com/
*/


body {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	height: 100%;  
	font-size: 62.5%;	
	color: #333;
	text-align: center;
	font-family: arial, sans-serif;
	background: #fff url(img/body-bg.gif) repeat-x 0 0;
    }


body a img {
	border: none;
}


.clearing{	
	clear: both;
}



/*------ clear standard browser styles ------*/


body,div,dl,dt,dd,h1,h2,h3,h4,h5,h6,ul,ol,li,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}

ul{
	list-style: none;
}

address,caption,cite,code,dfn,th,var {
	font-style:normal;
	font-weight:normal;
}
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;
}





/* ---------------- global classes ---------------- */


.bold{
   font-weight: bold;
}


.hide{
   position:absolute;
   left: 0px;
   width: 1px;
   height: 1px;
   overflow: hidden;
}
	
.hidden{
	display: none;
}

.clear {
	clear: both;
	}



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{
	text-align: left;
	margin: 0 auto 0 auto;
	clear: both;
	width: 930px;
	padding: 0 0 0 0;
}



/* ---------------- #bar ---------------- */

#bar{
	float: left;
	width: 930px;
	background: #000;
}


#bar .edw-link{
	float: left;
	height: 40px;
	background: url(img/logo-EDW.gif) no-repeat 0 0;
}


#bar .edw-link a{
	float: left;
	height: 40px;
	color: #999999;
	text-decoration: none;
	cursor: pointer;
}


#bar .edw-link a span{
	float: left;
	width: 70px;
	text-indent: -9999px;
}


#bar .edw-link a em{
	float: left;
	font-size: 1.2em;
	font-style: normal;
	margin: 12px 0 0 0;
}


#bar .edw-link a:hover{
	color: #fff;
}


#bar .tagline{
	float: right;
	margin: 12px 0 0 0;
	font-weight: bold;
	font-size: 1.4em;
	color: #999;
}


#bar .tagline strong{
	color: #fff;
}



/* ---------------- header ---------------- */

#header{
	float: left;
	width: 930px;
}




#header h1 a,
#header h3 a{
	float: left;
	width: 360px;
	height: 97px;
	background: url(img/logo-YBN.gif) no-repeat 0 0;
	text-indent: -9999px;
}


#header h2,
#header h4{
	float: right;
	width: 370px;
	height: 97px;
	background: url(img/logo-strapline.gif) no-repeat bottom right;
	text-indent: -9999px;
}



/* ---------------- navigation ---------------- */

#navigation{
	float: left;
	width: 930px;
	padding-bottom: 7px;
	margin-bottom: 7px;
	border-bottom: 1px solid #cccccc;
}


#navigation li{
	float: left;
	width: 148px;
	margin-right: 2px;
	background: #BABABA url(img/bg-nav.jpg) repeat-x 0 0;
}


#navigation .page-item-10{
	margin-right: 0px;
}


#navigation li a{
	display: block;
	color: #000000;
	font-size: 1.4em;
	font-weight: bold;
	padding: 10px;
	text-decoration: none;
}


#navigation li ul li{
	background: #BABABA;
	font-size: 0.8em;
	width: 146px;
	border-right: 1px solid #BABABA;
}


#navigation li ul li a{
	padding: 5px 10px;
}


#navigation li a:hover,
#navigation li .here,
#navigation .current_page_item a,
#navigation .current_page_parent a{
	color: #ffffff;
}


#navigation li.home{
	float: left;
	width: 30px;
}


#navigation li.home a{
	text-indent: -9999px;
	background: url(img/home-icon.gif) no-repeat 0 50%;
}


#navigation li.home a:hover{
	background: url(img/home-icon.gif) no-repeat -30px 50%;
}


#navigation .page-item-36 a,
#navigation .page-item-27 a{
	background: url(img/bg-nav-arrow.gif) no-repeat 100px 50%;
}

#navigation .page-item-36 li a,
#navigation .page-item-27 li a{
	background: #ffffff;
	border-bottom: 1px solid #BABABA;
}


#navigation .page-item-36 li a:hover,
#navigation .page-item-27 li a:hover{
	color: #000000;
}



#navigation li ul { /* second-level lists */
	position: absolute;
	z-index: 10;
	width: 147px;
	padding: 0 5px 5px 0;
	background: url(img/nav-shadow.png) no-repeat bottom right;
	border-left: 1px solid #BABABA;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}


* html #navigation li ul {
	padding: 0 0px 0px 0;
	background: none;
}


#navigation li ul a{
	color: #000000 !important;
}


#navigation li ul a:hover,
#navigation li ul li.current_page_item a{
	color: #666666 !important;
}



#navigation li:hover ul, #navigation li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}


#navigation li:hover, #navigation li.hover {   
    position: static;   
}  







/* ---------------- content ---------------- */

#content{
	float: left;
	position: relative;
	width: 930px;
	margin-bottom: 10px;
	background: url(img/sidebar-bg.gif) repeat-y 100% 100%;
}


#content.homepage{
	background: none;
	margin-bottom: 0px;
}


#main-content{
	float: left;
	width: 625px;
	margin: 20px 0 0 40px;
	padding-bottom: 30px;
}


* html #main-content{
	margin: 20px 0 0 20px;
}


#content .home-text{
	padding-bottom: 0px;
}


#project-list{
	float: left;
	width: 625px;
	background: #ECECEC;
	margin-bottom: 20px;
	padding: 15px 0 0 0;
}


#project-list p{
	float: left;
	width: 125px;
	padding-left: 15px;
}


#project-list p strong{
	font-size: 1.4em;
	color: #000;
}


#project-list p em{
	color: #999;
	display: block;
	font-style: normal;
	font-weight: bold;
	padding-top: 10px;
}


#project-list ul{
	float: right;
	width: 480px;
	padding-bottom: 10px !important;
	margin-bottom: 0px !important;
	font-size: 1.2em;
}


#project-list ul li{
	margin: 0 0 4px 0 !important;
	padding: 0 0 0 0 !important;
	background: none !important;
}


#main-content h1{
	font-size: 2.4em;
	color: #B2D233;
	font-weight: bold;
	margin: 10px 0 20px 0;
}


#main-content h2{
	font-size: 2em;
	line-height: 1.3em;
	color: #666666;
	font-weight: bold;
	margin: 0 0 10px 0;
}



#main-content h2 em{
	color: #999999;
	font-weight: normal;
	font-style: normal;
}	



#main-content h3{
	font-size: 1.6em;
	color: #333333;
	line-height: 1.4em;
	padding: 0 0 0 0;
	margin: 0 0 20px 0;

}


#main-content h3 em{
	color: #666666;

}



#main-content h4{
	font-size: 1.6em;
	color: #999;
	font-weight: bold;
	line-height: 1.4em;
	padding: 10px 0 0 0;
	margin: 0 0 15px 0;
}


#main-content h5{
	font-size: 1.3em;
	font-weight: bold;
	line-height: 1.4em;
	color: #666666;
	margin-bottom: 15px;
}


#main-content h5 em{
	font-style: normal;
	font-weight: normal;
}


#main-content h6{
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.4em;
	color: #CC0000;
}




#main-content p{
	font-size: 1.2em;
	line-height: 1.4em;
	color: #333333;
	margin-bottom: 20px;
}



#main-content ul{
	font-size: 1.2em;
	color: #666666;
	margin-bottom: 20px;
	line-height: 1.4em;
}


#main-content ol{
	font-size: 1.2em;
	color: #666666;
	margin-bottom: 20px;
	margin-left: 20px;
	line-height: 1.4em;
}


#main-content ul li{
	margin: 0 0 8px 10px;
	padding: 0 0 0 20px;
	background: url(img/bullet.gif) no-repeat 0 4px;
}


#main-content p strong{
	font-size: 1.1em;
	color: #333333;
}


#main-content h1 a,
#main-content h2 a,
#main-content h3 a,
#main-content h4 a,
#main-content h5 a,
#main-content p a,
#main-content li a,
#main-content dl a{
	color: #00ACCC;
	text-decoration: none;
	font-weight: bold;
}



#main-content h1 a:hover,
#main-content h2 a:hover,
#main-content h3 a:hover,
#main-content h4 a:hover,
#main-content h5 a:hover,
#main-content p a:hover,
#main-content li a:hover,
#main-content dl a:hover{
	text-decoration: underline;
}






#main-content blockquote{
	float: left;
	width: 625px;
	margin-bottom: 20px;
}


#main-content blockquote p{
	color: #999999;
	margin: 0;
	padding: 0;
}


#main-content blockquote p em{
	font-weight: bold;
	color: #000;
}




ul#tools{
	float: right;
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 0;
	right: 260px;
}


ul#tools li{
	display: inline;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	background: none;
}




#main-content .ddsg-wrapper ul li ul{
	font-size: 1em;
	margin: 10px 0 8px 10px;
	padding: 0 0 0 0;
}


#main-content .ddsg-wrapper ul li ul li{
	font-size: 1em;
	background: none;
	padding: 0 0 0 0;
	list-style: disc;
	color: #93AE26;
}



#main-content #image-nav{
	float: left;
	width: 440px;
	margin: 0;
	padding: 0;
}


#main-content #image-nav li{
	float: left;
	margin: 0 15px 0 0;
	padding: 0;
	background: none;
	text-align: center;
}


#main-content .gallery{
	float: left;
	background: url(img/project-gallery.gif) no-repeat 0 0;
	border: 1px solid #cccccc;
	padding: 45px 0 10px 3px;
	margin: 10px 0;
}



/* ---------------- press-story ---------------- */


#main-content .press-story{
	float: left;
	width: 625px;
	margin-bottom: 20px;

}


#main-content .press-story h3{
	margin: 0;
	padding: 0 0 10px 0;
}


#main-content .press-story p.date{
	margin: 0;
	padding: 0 0 5px 0;
}


#main-content .navigation a{
	font-size: 1.2em;
	color: #00ACCC;
	text-decoration: none;
	font-weight: bold;
}


#main-content .navigation a:hover{
	text-decoration: underline;
}



/* ---------------- gallery ---------------- */


#main-content .gallery{
	float: left;
	width: 623px;
	border: 1px solid #ccc;
	padding: 50px 0 30p 0;
	background: url(img/project-gallery.gif) no-repeat 0 0;
}


#main-content .gallery img{
	padding: 5px;
	border: 1px solid #cfcfcf !important;
	margin: 0;

}


#main-content .gallery-caption{
	padding: 0 30px 0 30px;
	font-size: 1.1em;
}


/* ---------------- section-intro ---------------- */

#section-intro{
	float: left;
	width: 930px;
	min-height: 100px;
	height:auto !important;
	height: 100px;
	background: #53BF86 url(img/section-intro-bg.jpg) no-repeat 0 0;
}


#section-intro h1{
	float: left;
	font-size: 2.6em;
	color: #fff;
	width: 600px;
	padding: 32px 0 0 40px;
}


#section-intro img{
	float: right;
	width: 220px;
	height: 100px;
}



/* ---------------- home-intro ---------------- */

#home-intro{
	float: left;
	width: 930px;
	min-height: 302px;
	height:auto !important;
	height: 302px;
	background: #2AB6A9 url(img/home-content-bg.jpg) no-repeat 0 0;
}


#home-intro h2{
	float: left;
	font-size: 2.6em;
	color: #fff;
	width: 300px;
	padding: 30px 0 0 40px;
}


#home-intro .slideshow{
	float: right;
	width: 448px;
	height: 302px;
}



#content .home-text{
	float: left;
	width: 460px;
	margin: 20px 0 0 0;
}



#content .home-ads{
	float: right;
	width: 449px;
	margin-top: 20px;
	background: url(img/home-ads-bg.gif) no-repeat 0 100%;
}


#content .home-ads .advert{
	float: left;
	width: 230px;
	border-top: 1px solid #ccc;
}


#content .home-ads .advert img{
	float: right;
	margin: 7px 8px 7px 0;
}


#content .home-ads .advert p{
	font-size: 1.2em;
	margin: 16px 0 0 12px;
	line-height: 1.1em;
}


#content .home-ads .advert p strong{
	color: #000;
	font-size: 1.1em;
}


#content .home-ads .advert p.link{
	margin: 9px 0 0 12px;
}


#content .home-ads .advert p a{
	color: #00ACCC;
	text-decoration: none;	
	font-weight: bold;
}


#content .home-ads .advert p a:hover{
	text-decoration: underline;	
}




#content .home-ads blockquote{
	float: right;
	width: 200px;
	border-top: 1px solid #ccc;
}


#content .home-ads blockquote p{
	font-size: 1.4em;
	font-weight: bold;
	color: #B3D335;
	padding: 16px 16px 10px 16px;
}


#content .home-ads blockquote p.quoted{
	font-size: 1.2em;
	color: #999999;
	font-weight: normal;
	padding: 0 16px 16px 16px;
}


#content .back-link{
	padding-top: 20px;
}


/* ---------------- content .contact ---------------- */


.contact{
	float: right;
	width: 180px;
	text-align: right;
	height: 1px;
	z-index: -10;
}


.contact p{
	position: relative;
	margin: -55px 0 0 0;
	padding: 0 10px 8px 10px;
	font-size: 1.2em;
	color: #666666;
}

#content .contact p strong{
	color: #999999;
}


.contact p em{
	font-weight: bold;
	font-style: normal;
}


.contact p a{
	color: #0E9DA9;
	text-decoration: none;
	font-weight: bold;
}


.contact p a:hover{
	text-decoration: underline;
}

/* ---------------- tell-a-friend ---------------- */


#tell-a-friend{
	position: absolute;
	border: 1px solid #cccccc;
	padding: 0 10px 10px 10px;
	margin-left: 440px;
	background: #ffffff;
	width: 220px;
}


#tell-a-friend ol{
	list-style: none;
}


#tell-a-friend ol li{
	float: left;
	width: 220px;
	list-style: none;
	padding-bottom: 10px;
}

#tell-a-friend ol li span{
	width: 220px;
	float: left;
}

#tell-a-friend ol li input{
	float: left;
	width: 200px;
}


#tell-a-friend .reqtxt,
#tell-a-friend .emailreqtxt{
	color: #cc0000;
	font-size: 90%;
}


/* ---------------- sidebar ---------------- */


#sidebar{
	float: right;
	width: 220px;
	border-top: 20px solid #fff;
	padding-bottom: 40px;
}



#content .line{
	position: absolute;
	bottom: 0px;
	right: 0px;
}


#content .get-in-touch{
	position: absolute;
	bottom: 15px;
	right: 20px;
	font-size: 1.2em;
	font-weight: bold;
}



#content .get-in-touch a{
	color: #00ACCC;
	text-decoration: none;
}


#content .get-in-touch a:hover{
	text-decoration: underline;
}




#sidebar blockquote{
	float: right;
	width: 220px;
	border-top: 1px solid #ccc;
}


#sidebar blockquote p{
	font-size: 1.8em;
	line-height: 1.5em;
	color: #B3D335;
	padding: 20px 20px 0 20px;
}

#sidebar blockquote .quoted{
	font-size: 1.2em;
	font-weight: normal;
	color: #999999;
	margin-top: 15px;
	padding: 0 20px 20px 20px;
}



#sidebar .advert{
	float: left;
	width: 220px;
	padding-bottom: 10px;
	border-top: 1px solid #ccc;
	border-bottom: 27px solid #fff;
	background: url(img/sidebar-line.gif) no-repeat bottom left;
}


#sidebar .advert img{
	float: right;
	margin: 7px 8px 0 0;
}


#sidebar .advert p{
	font-size: 1.2em;
	margin: 16px 12px 8px 12px;
	line-height: 1.1em;
}


#sidebar .advert p strong{
	color: #000;
	font-size: 1.1em;
}


#sidebar .advert p.link{
	padding: 3px 0 8px 12px;
	margin: 0;
}


#sidebar .advert p a{
	color: #00ACCC;
	font-weight: bold;
	text-decoration: none;	
}


#sidebar .advert p a:hover{
	text-decoration: underline;	
}



/* ---------------- sub-footer ---------------- */

#sub-footer{
	float: left;
	width: 930px;
	margin: 10px 0 15px 0;
	padding: 12px 0 10px 0;
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
}


#footernav{
	float: left;
	line-height: 20px;
}

#footernav li{
	display: inline;
	font-size: 1.2em;
	color: #999999;
	margin-right: 5px;
}


#footernav li a{
	color: #999999;
	text-decoration: none;
	margin-right: 5px;
}


#footernav li a:hover,
#footernav li a.here{
	text-decoration: underline;
}






/* ---------------- footer ---------------- */

#footer{
	float: left;
	width: 930px;
	padding-bottom: 5px;
}


#footer .company{
	float: left;
	font-weight: bold;
	color: #999999;
}


#footer .company p{
	margin-bottom: 10px;
}


#footer .company p a{
	color: #00ACCC;
	text-decoration: none;
	font-weight: bold;
}


#footer .company p a:hover{
	text-decoration: underline;
}


#footer .siteby{
	float: right;
	font-weight: bold;
	color: #999999;
	margin-left: 15px;
}


#footer .siteby a{
	color: #999999;
	text-decoration: none;
}


#footer .siteby a:hover{
	text-decoration: underline;
}


#footer .copyright{
	float: right;
	font-weight: bold;
	color: #999999;
}


#footer ul{
	float: left;
	width: 930px;
	padding: 10px 0;
	font-weight: bold;
	color: #cccccc;
}


#footer ul li{
	display: inline;
	margin-right: 10px;
}



/* ---------------- sitemap ---------------- */

#sitemap ul li{
	font-size: 0.8em !important;
}


#sitemap ul{
	margin-top: 5px;
}


#sitemap ul li ul li{
	font-size: 0.8em;
}	