/* -------------------------------------------------------------- 
  
   ILLY SYSTEMS STYLE SHEET
   Uses Boilerplate Screen Styles v0.5 (2007-11-19)
   
-------------------------------------------------------------- */

@import "lib/reset.css";
@import "lib/typography.css";
@import "lib/forms.css";


/* Page
-------------------------------------------------------------- */

body { padding: 0; background: url(../images1/bg.gif) repeat #ddd}
#page { margin: 0 auto; width: 960px; padding: 20px 30px; background: url(../images1/bg1.png) repeat-y}


/* Header
-------------------------------------------------------------- */

#header { margin: 0; overflow: hidden; height:110px;}

#logo {position: absolute; float: left;}

#search {position: absolute; float: left; margin: 35px 0 0 0; width: 930px; }

#search .searchtext {
	margin: 1px 6px 0 700px;
	width: 165px;
	height: 15px;
	border: none;
	color: #666;
	padding: 3px;
	font: 11px arial,sans-serif;
	float: left;
	background: #fff;
}

#search .searchbutton {
	position: relative;
	float: left;
}





/* Body
-------------------------------------------------------------- */

#content {margin: 40px 0 30px 0;}
#navbar { float: left; width: 150px; margin: 0 10px 0 0; font-size: 90%; }
#widebar { float: left; width: 780px; margin: 0; }

#article { float: left; width: 510px; margin: 0 15px -10px 0; padding-right: 14px;
	min-height:300px;
  	height:auto !important;
  	height:300px; 
  	border-right: solid 1px #ccc}
#sidebar { float: left; width: 240px; margin: 0 0 0 0; font-size: 90%; line-height: 1.4em;}





/* Navbar
-------------------------------------------------------------- */

#navbar ul, #navbar li {
	margin: 0;
	padding: 0;
	border: 0;
	display: inline
	}


#replace1 {
 	height: 30px; width: 142px;
	text-indent: -10000px;
	background-image: url(../images1/navbar_r1_c1.gif);
	float:left;
}

#replace2 {
 	height: 30px; width: 142px;
	text-indent: -10000px;
	background-image: url(../images1/navbar_r2_c1.gif);
	float:left;
}

#replace3 {
 	height: 30px; width: 142px;
	text-indent: -10000px;
	background-image: url(../images1/navbar_r3_c1.gif);
	float:left;
}

#replace4 {
 	height: 30px; width: 142px;
	text-indent: -10000px;
	background-image: url(../images1/navbar_r4_c1.gif);
	float:left;
}

#replace5 {
 	height: 30px; width: 142px;
	text-indent: -10000px;
	background-image: url(../images1/navbar_r5_c1.gif);
	float:left;
}

#replace6 {
 	height: 31px; width: 142px;
	text-indent: -10000px;
	background-image: url(../images1/navbar_r6_c1.gif);
	float:left;
}

#replace1 a, #replace2 a, #replace3 a, #replace4 a, #replace5 a, #replace6 a {
 	height: 30px;
	text-decoration: none;
	display: block;
}

#replace1 a:hover {
	background-image: url(../images1/navbar1_r1_c1.gif);
	background-repeat: no-repeat;
}

#replace2 a:hover {
	background-image: url(../images1/navbar1_r2_c1.gif);
	background-repeat: no-repeat;
}

#replace3 a:hover {
	background-image: url(../images1/navbar1_r3_c1.gif);
	background-repeat: no-repeat;
}

#replace4 a:hover {
	background-image: url(../images1/navbar1_r4_c1.gif);
	background-repeat: no-repeat;
}

#replace5 a:hover {
	background-image: url(../images1/navbar1_r5_c1.gif);
	background-repeat: no-repeat;
}

#replace6 a:hover {
	background-image: url(../images1/navbar1_r6_c1.gif);
	background-repeat: no-repeat;
}

#home #replace1 {background-image: url(../images1/navbar1_r1_c1.gif)}
#about #replace2 {background-image: url(../images1/navbar1_r2_c1.gif)}
#news #replace3 {background-image: url(../images1/navbar1_r3_c1.gif)}
#briefings #replace4 {background-image: url(../images1/navbar1_r4_c1.gif)}
#links #replace5 {background-image: url(../images1/navbar1_r5_c1.gif)}
#contact #replace6 {background-image: url(../images1/navbar1_r6_c1.gif)}



/* Article
-------------------------------------------------------------- */

#subnav {
	padding: 4px;
	text-align: center;
	background: #f1f1f1;
	font-size: 90%;
	margin: 0 0 12px 0;
	line-height: 1.5em; 
	}

#subnav li {display: inline; padding: 0 0 0 7px; border-left:1px black solid; margin: 0 5px 0 0}
#subnav li.first {border: none}

#subnav a:link, #subnav a:visited {color: #0E013D}
#subnav a:hover {color: #A41520}

#article {font-size: 110%; line-height: 1.5em; }
#article p {margin-bottom: 1em}
#article ul {margin-bottom: 1em}
#article li {margin-bottom: 1em}


ul.listings {margin:0; padding:0; background: #DeDeDe}

ul.listings li {
	margin: 0; padding: 0; border: 0;
	display: inline;
	font-size: 95%;
	}

ul.listings li a:link, ul.listings li a:visited  { 
	margin: 0 0 0 0;
	display: block;
	padding: 4px 4px 4px 160px;
	border-top: 1px solid #fff;
	width: 346px; 
	color: #000;
	height: 60px;
	}

ul.listings li a:hover {background-color: #ccc; text-decoration: none; color:#900}


ul.listings img {float: left;
border: 2px solid #fff;
	margin: 3px 6px 5px 0;
	margin-left: -155px}

ul.listings br {clear: both; margin:0; }



/* Sidebar
-------------------------------------------------------------- */

#sidebar h3 { font-size: 1.4em; line-height: 1.25; margin-bottom: 0.4em; }
#sidebar h4 { font-size: 1.4em; line-height: 1.25; margin-bottom: 0.4em; }
#sidebar p { margin: 0 0 0.5em 0; }
#sidebar li { margin: 0 0 0.3em 0; }
#sidebar ul, #sidebar ol { margin: 0 0 0.6em 1.25em; }

.greybox {background: #F3F3F3; padding: 10px 10px 5px 10px; margin: 0 0 20px 0; float: left; width: 218px; border: 1px #ccc solid}

#sidebar p.credit {font-size: 90%; color: #666; margin-bottom: 15px}


/* Footer
-------------------------------------------------------------- */

#footer { 
	margin: 20px 0 0 0;
	padding: 10px 0 11px 153px;
	border-top: solid 6px #606;
	width: 787px;
	text-align: left;
	font-size: 85%;
	background: #ddd
	}
	
#footer ul {margin:0}
#footer li {display: inline; padding: 0 0 0 7px; border-left:1px #666 solid; margin: 0 5px 0 0}
#footer li.first {border: none}
#footer li.last {margin: 0}

#footer a:link, #footer a:visited {color: #333}
#footer a:hover {color: #A41520}
	


/* Home
-------------------------------------------------------------- */


.homebox {background: #F3F3F3; padding: 9px 10px 4px 10px; margin: 0 0 25px 0; float: left; width: 758px; border: 1px #ccc solid}

.homebox h1 {font-size: 20px; margin-bottom:8px; font-weight: bold}
.homebox p {font-size: 120%; margin-bottom:5px; line-height: 1.6em;} 

.homenews h2 {font-size:1.4em; margin: 0 0 0.35em 130px; line-height: 1.2em}

.homenews p {margin-left: 130px; font-size: 95%; line-height: 1.5em; }

.homenews h2 img {
	margin: 1px 0 0 -130px;
	float:left;
	display:inline;
	}


