/*   
Theme Name: Capelrig
Theme URI: http://www.capelrig.co.uk/
Description: Capelrig template.
Author: Patricio Martinez Laso
Author URI: http://www.n-web.com
.
General comments/License Statement if any.
.
*/

/**
	AUI: CSS rule "also used in:"
*/

html{
	background: #1C4C8B url("img/background.png") repeat-y center top;
}

body{
	width:960px;
	margin:0 auto;
	background:#fff url("img/header.bg.png") repeat-y right top;/*normal*/
	position:relative;
	/*background:#fff url("img/header.bg.protan.png") repeat-y right top;/*protanopic*/
	/*background:#fff url("img/header.bg.deutern.png") repeat-y right top;/*deuternopic*/
}

#edit-label{
	font-size:75%;
	vertical-align:middle;
}

div#header p#register{
	position:absolute;
	top:0;
	left:40%;
	right:40%;
}

div#header p#register,
div#header p#register a{
	background-color:#1C4C8B;
	color:white;
	/*float:right;/**/
	text-align:center;
}


/** <header> */
#header{
	height:100px;
	position:relative;
}
#logo{
	margin-top:15px;
	margin-left:10px;
	float:left;
}
#strapline{
	position:absolute;
	left:50%;
	margin-left:-100px;
	top:50%;
	margin-top:-6px;
}

#searchform{
	float:right;
	margin-top:30px;
	margin-right:10px;
	display:block;/*FF2*/
	max-width:200px;
}
#searchsubmit{
	background:transparent url("img/search-bg.png") no-repeat right top;
	width:47px;
	height:27px;
}
#s{
	background:transparent url("img/search-bg.png") no-repeat left top;
	width:96px;
	
	font-size:12px;
	font-style:italic;
	padding: 6px 0 8px 14px;
}
#searchsubmit, #s{
	float:right;
	border:none;
	display:block;
}
/** </header> */

/** <menu> */

#menu{
	position:absolute;
	top:110px;
	z-index:2;
	width:960px;
}

#menu .page_item{
	list-style-type:none;
	float:left;
	width:100px;
	margin-left:10px;
	margin-right:10px;
}
#menu .page_item .page_item {
	float:none;
	margin-left:auto;
	margin-right:auto;
}

/*#menu .page_item ul{
	padding:0 0 1em;
}/* exp */
#menu .page_item ul{display:none;}
#menu .page_item:hover ul{display:block;}/**/
/*#menu .page_item li{display:none;}
#menu .page_item:hover li{display:list-item;}/**/

#menu .page_item a{
	font-size:11px;
	display:block;
	/*width:100%;/**/
	text-align:center;
	text-decoration:none;
	padding-top:3px;
	padding-bottom:3px;
	color:#000;
	font-weight:bold;
}
#menu .page_item .page_item a{
	font-weight:normal;
	font-size:10px;
	text-align:right;
	padding:0.5em 1em 0.5em 2px;
}
#menu .page_item .page_item a:hover{
	background-color:#fff;
	color:#000;
	text-decoration:none;
}

	/** <menu-color-coding> */
	#menu .page-item-4 a, #menu .page-item-4 ul,
	#menu .page-item-3 a, #menu .page-item-3 ul{/*home*/
		background-color: #1c4c8b;
		color:#fff;
	}
	#menu .page-item-7 a, #menu .page-item-7 ul{/*about*/
		background-color: #a2cf2f ;
	}
	#menu .page-item-9 a, #menu .page-item-9 ul{/*markets*/
		background-color: #609bc2;
		color:#fff;
	}
	#menu .page-item-11 a, #menu .page-item-11 ul{/*solutions*/
		background-color: #f7c68e;/**/
	}
	#menu .page-item-13 a, #menu .page-item-13 ul{/*services*/
		background-color: #4669a8;
		color:#fff;
	}
	#menu .page-item-15 a, #menu .page-item-15 ul{/*links*/
		background-color: #ffffbb;/**/
	}
	#menu .page-item-17 a, #menu .page-item-17 ul{/*recruitment*/
		background-color: #45b0d0;
		color:#fff;
	}
	#menu .page-item-19 a, #menu .page-item-19 ul{/*contact*/
		background-color: #dde;
	}
	/** </menu-color-coding> */
	
/** </menu> */

/** <content> */
#content{
	/*margin-top:60px;*/
	margin:60px 0 30px;
	padding-left:38px;
	padding-right:36px;
	
	font-size:15px;
}

#content ol,
#content ul{
	margin-left:3em;
}
#content h1{font-size:34px;}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
#content a,
#content strong{
	color: #1C4C8B;
}

#content abbr[title],
#content acronym[title]{
	color:#1C4C8B;
	border-bottom:1px dotted;
}
#content hr{
	border-color:#1C4C8B;
	/*margin-left:0;
	width:75%;*/
	margin-right:25%;
}
#moreinfo p.last_child{margin-bottom:0;}
/** </content> */

/** <footer> */
#footer a{
	color:#fff;
	text-decoration:none;
}
#footer a:hover{
	text-decoration:underline;
}
#footer{
	color:#fff;
	background-color:#1C4C8B;
	font-size:10px;
	position:relative;
	padding:1em 0;
}
#footer address{
	font-style:normal;
	line-height:1.3;
	position:absolute;
	left:1em;
}
#footer #partners{
	position:absolute;
	right:1em;
}
#footer #partners img {
	margin-top:1px;
	margin-left:5px;
}
#footer p{
	text-align:center;
}



#footer .menu{
	text-align:center;
}
#footer .menu li{
	display:inline;
}



#by{
	margin-bottom:0;
	color:#8DA5C5
}
#fresh{
	color:#F8991C;
}
#ideas{
	color:#808285;
}
/** </footer> */

/** welcome.php */
#welcome{
	position:relative;
	/*min-height:530px;/* exp */
	/*width:300px;/* exp */
	text-align:justify;
}
#welcome #moreinfo{
	position:absolute;
	bottom:0;
}
#welcome-img{
	float:right;
	margin-left:46px;
}
#email-address{
	font-weight:bold;
}
#welcome .shim{
	height:61px;
}
/** /welcome.php */

/** page.php */
#page h1 a, #page h2 a{text-decoration:none;}
#page h1 a:hover, #page h2 a:hover{text-decoration:underline;}
#page{/** AUI: search.php, 404.php */
	/* [1].a 
		background:transparent url("img/page.bg.png") top right repeat;
		margin-right:350px;/* margin-right must equal #content .alignright{margin-right} */
	/* [1].a */
	
	/* [1].b 
		background:transparent url("img/page.bg.png") top right repeat;
		margin-right:312px;
		padding-right:38px;
	/* [1].b */
	
	/* [1].c 
		margin:0 -36px -30px 30px;
		padding:0 74px 30px 0;
		background: #fff url(img/page.bg.alt.png) repeat-y 440px top;
	/* [1].c */
	
	/* [1].d */
		margin:0 -36px -30px -38px;
		padding:0 74px 30px 68px;
		background: #fff url(img/page.bg.alt.2.png) no-repeat left bottom;
	/* [1].d */
	
	
	text-align:justify;
	
	/*background-color:#0f0;/* exp */
}
#page #sub-pages .page_item a{
	display:block;
}
#page #sub-pages .page_item,
#page #sub-pages .pagenav{
	list-style-type:none;
}
#page #sub-pages .page_item:hover{
	list-style-type:square;
}
#page #sub-pages ul{
	margin-left:1em;
}
#page #sub-pages{
	float:right;
	/*margin-top:-26px;*/
	padding-left:0.3em;
}
#page #moreinfo{
	/* [4].a */
		text-align:center;
		margin:0 auto;
	/* [4].a: moreinfo under the_content */
	
	/* [4].b 
		float:right;
		margin-left:1.5em;
		border:#1C4C8B 0.5em solid;
		padding:1em;
	/* [4].b: moreinfo above the_content */
	
	/* [4].c 
	/* [4].c: moreinfo under the_content */
	
}
#page hr{
	/*margin-right:-386px;/* #page{margin-right} + #content{padding-right} */
}
#page address{
	margin-left:2em;
}
/*#page > p,
#page > div,
#page > h1,
#page > h2,
#page > h3,
#page > h4,
#page > h5,
#page > h6,
#page > blockquote,
#page > pre,
#page > hr,
#page > address,
#page > ul,
#page > ol{
	background-color:#fff;
}/* exp */


/** /page.php */

/** search.php */
#search-results{
	font-size:12px;
}
#search-results h3{
	font-size:16px;
	margin-bottom:2px;
}
#page-nav{}
/** /search.php */

/** 404.php */
#e404{
	/*min-height:15em;/* [2].a */
	margin-bottom:14em;/* [2].b */
	padding-bottom:1em;/* [2].b */
}
/** /404.php */


.clear{clear:both}
#content img.header-image{margin-right:204px}
#content .alignright{
	float:right;
	margin:0 0 1em 1em;/**/
	/*margin:0 -350px 1em 1em;/* margin-right must equal #page{margin-right} */
}
/*#content div.alignright{
	position:relative;
	
	/* [3].a 
		background:transparent url("img/page.bg.png") 188px top repeat-y;
		left:386px;
		padding:1em 36px;
	/* [3].a *
	
	/* [3].b 
		background:transparent url("img/page.bg.png") 224px top repeat-y;
		left:350px;
		padding:1em 36px 1em 14px;
	/* [3].b *
	
	margin:0;float:none;
}/* exp */
#content .alignleft{
	float:left;
	margin:0 2em 1em 0;
}
#content .aligncenter{
	display:block;
	text-align:center;
	margin: 0 auto 1em;
}

.empty{display:none;}
/** contact.php */
#content #google_maps{font-size:80%}
#map_1{float:right;margin:0 0 2em 2em;}
/** /contact.php */
