@import "reset.css";
@import "typography.css";


body {
}

html>body {
}

/* --- layout ----------------------------------------------- 
   keep these for just the layout no background color nothing! */

div#header{
	height: 130px;
}

div#container{
	margin: 0 auto;
	width: 920px;
	position: relative;
	overflow: hidden;	
}

div#banner{
	height: 245px;
	text-align: center;
	clear: both;
}

div#wrapper{
}

div#content{
	float:left;
	width:630px;
	margin-left: 30px;
	margin-top: 30px;
}

div#extra{
	float:right;
	width:190px;
	margin-right: 30px
}

div#footer{
	clear: both;
	padding-bottom: 30px;	
}

body.default #content{
	width: 840px;
	margin-left: 50px;
	margin-right: 50px;
}

body.default #extra{
	position: absolute;
	right: 0px;
	top: 237px;
}

.narrow{
	width: 610px;
}

body.corporate #content{
	float:left;
	margin-left: 30px;
	margin-top: 30px
}

body.corporate div#extra{
	float:right;
	width:180px;
	margin-right: 30px;
	margin-bottom: -240px;
	position: relative;
	bottom: 245px;
}

body.corporate div#footer{
	clear:both;
	width:100%
}


/* --- home page ---------------------------------------------- */

.home div#content{
	width: 860px;
}

.home div#content #text-content, .home div#content #home-extra {
	width: 420px;
	float: left;
}

.home div#content #home-extra {
	clear: left;
}

.home div#content #home-extra .jumpoff{
	width: 170px;
	margin: 0 10px 0 0;
	float: left;
}

.home div#content #home-extra .jumpoff .jumpoff-wrap{
	height: 200px;
}

.home #project{
	padding: 10px;
	float: right;
	margin-top: 0;
	background: #5E6E7D;
	margin-bottom: 30px;
}

.home #project h3{
	margin-bottom: 10px;
	color: #F9F9F9;
}

.home #project p, .home #project p a{
	color: #F9F9F9;
}

#project-links{
	float: right;
}

.home #project #tabContainer{
	width: 380px;
	height: 350px;
}










/* --- backgrounds ---------------------------------------------- */

body{
	background: #FFF url(/img/backgrounds/body_default.png) repeat-x top left;	
}

body.home{
	background: #FFF url(/img/backgrounds/entry-page-body.png) repeat-x;
}

body.corporate{
	background: #FFF url(/img/backgrounds/body_corporate.png) repeat-x top left;	
}



#footer{
	background: url(/img/backgrounds/footer_white.png) no-repeat 470px 7px;
}






/* --- links ----------------------------------------------- */
a, a:link, #footer a{
	color: #00214D;
	outline: none;
}

a:visited{
	color: #002B67;
}



a:hover{
	text-decoration: none;
}

#content a img{
	border: 1px solid #CCC;
}

#content a:hover img{
	border: 1px solid #00214D;
}







/* --- header ----------------------------------------------- */

#header h1 a{
	display: block;
	text-indent: -100000px;
	background: url(/img/logos/ian_allan_associates.png) no-repeat 0px 0px;
	width: 100%;
	height: 300px;
}







/* --- navigation ----------------------------------------------- */

#navigation{
	border: 1px solid transparent;
	margin-left: 30px;
	padding-top:2px;
}

#navigation li{
	float: left;
	list-style-type: none;
}

#navigation li a{
	color: #FFF;
	text-transform: uppercase;
	font-size: 12px;
	text-decoration: none;
	display: block;
}

#navigation li a{
	padding-left: 12px;
}

#navigation li a span{
	padding: 7px 14px 3px 0;
	height: 16px;
	display: block;
}

#navigation li a:hover, #navigation li.active a{
	background: url(/img/backgrounds/navigation_on.png) no-repeat left;
}

#navigation li a:hover span, #navigation li.active a span{
	background: url(/img/backgrounds/navigation_on.png) no-repeat right;
}







/* --- content --------------------------------------------------- */

.default #content h2{
	border-top: 1px dotted #ADB7C3;
	border-bottom: 1px dotted #ADB7C3;
	padding: 5px 0;
}

#main-image{
	float: right;
	position: relative;
	left: 50px;
	margin-left: -30px;
}

#main-image img{

}

/* paginator */
#paginator{
	padding: 0;
	margin: 0;
	height: 35px;
}

#paginator li{
	float: left;
	list-style-type: none;
	padding-right: 3px;
}









/* -- projects -----------------------------------------------------*/

#project{
	margin: 10px 0px;
}

#project-details dt, #project-details dd{
	width: 115px;
	padding-bottom: 5px;
	float: left;
}
#project-details dt{
	clear: left;
}
#project-details dd{
	width: 220px;
}
#project-details dd#overview{
	width: 400px;
	padding-left: 0;
	margin-left: 0;
	clear: left;
}
#project dl#project-details{
	width: ;
}	
dt#project-main-image{
	float: right;
	width: 420px;
}

#tabContainer {width:400px;height:450px;position:relative;}

.pane h4 {float:left;border:1px solid #ccc;margin:0 5px 0 0;padding:0px; cursor:pointer; width: 50px; height: 50px; overflow: hidden;}
.contents {position:absolute;top:75px;left:0;display:none; text-align: center;}
.contents {margin: 0 auto;}

#tabContainer p{
	font-size: 10px;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 55px;
	font-weight: normal;
}

#tabContainer.image-0 #image-0 .contents,
#tabContainer.image-1 #image-1 .contents,
#tabContainer.image-2 #image-2 .contents,
#tabContainer.image-3 #image-3 .contents,
#tabContainer.image-4 #image-4 .contents,
#tabContainer.image-5 #image-5 .contents,
#tabContainer.image-6 #image-6 .contents
  {display:block;}

#tabContainer.image-0 #image-0 h2,
#tabContainer.image-1 #image-1 h2,
#tabContainer.image-2 #image-2 h2,
#tabContainer.image-3 #image-3 h2,
#tabContainer.image-4 #image-4 h2,
#tabContainer.image-5 #image-5 h2,
#tabContainer.image-6 #image-6 h2
  {border:1px solid red;border-width:2px 2px 0;}


.contents{
	width: 100%;
}






/* --- clients --------------------------------------------------- */

dl.client{
	width: 590px;
	border-bottom: 1px dotted #ADB7C3;
	padding: 5px 10px 5px 0;
	margin-bottom: 10px;
	clear: left;
	min-height: 100px;
	position: relative;
}

dl.client dt{
	width: 135px;
	height: 100px;
	float: left;
}

dl.client dd h4{
	margin-bottom: 5px;
}

dl.client dd p{
	margin: 0;
}

dl.client dd.handle{
	position: absolute;
	top: 0;
	right: 0;
	background: #CCC;
	border: 1px solid #999;
	padding: 1px 2px;
	cursor: move;
}









/* --- jumpoffs --------------------------------------------------- */

.jumpoff{
	background: url(/img/backgrounds/jumpoff.png) no-repeat bottom right;
	padding: 0 15px 15px 0;
	color: #ADB7C3;
}

.jumpoff div.jumpoff-wrap{
	position: relative;
	background: #00214D;
	padding: 10px 10px 5px 10px
}

.jumpoff div.jumpoff-wrap h3{
	color: #ADB7C3;
}

.jumpoff-link{
	background: url(/img/backgrounds/extra_button.png) repeat-x;
	padding: 3px 5px;
	margin-bottom: 0;
}

.jumpoff-link a{
	text-decoration: none;
	color: #00204E;
	display: block;
	background: url(/img/backgrounds/extra_button_arrow.png) no-repeat right
}

.jumpoff-link a:hover{
	color: #ADB7C3;
}

div.jumpoff-wrap .handle{
	position: absolute;
	top: 0;
	right: 0;
	padding: 2px 10px;
	margin: 2px 2px 0 0;
	cursor: move;
	font-weight: 700;
	font-size: 14px;
	background: #ADB7C3;
	color: #00214D;
}

/* using this to line up the jumpoffs on corporate page */
body.corporate #jumpoffs .num_0{
	margin-bottom: 80px;
}

body.corporate #jumpoffs .num_0 .jumpoff-wrap{
	height: 210px;
}








/* --- contact --------------------------------------------------- */

#address{
	width: 200px;
	margin-right: 30px;
	float: left;
}

#address h4, #enquiry-form h4{
	font-size: 14px;
	border-bottom: 1px dotted #00214D;
	padding-bottom: 5px;
}

#enquiry-form{
	width: 380px;
	float: left;
	padding-bottom: 30px;
}









/* --- contact --------------------------------------------------- */
fieldset{
}

legend{
	font-size: 14px;

	display: none;
	width: 330px;
	
}

form p{
	margin-bottom: 5px;
}

label{
	display:block;
	font-size:11px;
	padding-top:5px;
}

input:focus, textarea:focus{
	background-color: #385062;
	
}

input, textarea, select{

	background-color: #FFF;
	border:1px solid #00214D;
	padding:2px;
	font-size:11px;
}

input{
	width:150px;
}

textarea{
	width: 350px;
}

select{
	margin-bottom: 15px;
}

input.submit{
	float:right;
	background: #4D3715;
	font-size:11px;
	padding:3px;
	margin-right:4px;
	width:100px;
}

em{
	font-weight: bold;
	color:#ff0000;
}

input.required_Field{
	border-left:3px solid #ff0000;
}


/* error stuff */
.required{
	position: relative;
}

.error-message{
	color: #DE0A03;
	position: absolute;
	top: 20px;
	font-size: 11px;
}

.form-error{
	margin-top: 15px;
	border-color: #DE0A03;
}

p.error{
	color: #DE0A03;
}







/* --- footer --------------------------------------------------- */

#footer{
	
}

#footer ul li{
}

#footer ul li#site-creator{
}

/* --- forms ------------------------------------------------- */

.inplacericheditor-form{
	padding: 10px 0;
}
.inplacericheditor-form input.editor_field{
	width: 98%;
	font-size:12px;
	margin-bottom: 10px    
}

fieldset{
}

legend{
}

label{
}

input:focus{
}

input{
}

em{
}

input.required_Field{
}

/* ---[ misc ]------------------------------------- */

img, a img {
    border: none;
    }
.hide {
    display: none;
    }
.clear {
    clear: both;
    }
.debug {
    border: 1px solid red;
    }