/* -------------------------------------------------------------- 
  
   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: #BFBFBF}
#page { margin: 0 auto; width: 940px; padding: 20px; background: #fff}


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

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

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

#mainmenu {
	position: absolute;
	margin: 55px 0 0 502px;
	width:420px;
	}

#mainmenu li {display: inline;}


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

#content {background: url(../images1/article_bg.gif) repeat-y; margin: 40px 0 30px 0;}
#navbar { float: left; width: 220px; margin: 0 20px 0 0; font-size: 90%}
#article { float: left; width: 540px; margin: 0 20px -10px 0;
	min-height:400px;
  	height:auto !important;
  	height:400px;}
#sidebar { float: left; width: 140px; margin: 0 0 0 0; font-size: 90%; line-height: 1.4em}


/* Homepage
-------------------------------------------------------------- */

#illy #page { background: #fff url(../images1/homepic2.jpg) no-repeat; background-position: bottom left;}
#illy #page.Clifford { background: #fff url(../images1/homepic2a.jpg) no-repeat; background-position: bottom left;}
#illy #content {background: url(../images1/home_bg.gif) repeat-y; margin: 30px 0 30px 0;}

#homeblurb {
	width: 635px; background: url(../images1/homepic1.gif) no-repeat #f1f1f1; background-position: 670px 0px;
	margin: 30px 0 0 0; padding: 18px 285px 18px 18px;
	}

#homeblurb1 { float: left; width: 200px; margin: 0 25px 0 0;}
#homeblurb2 { float: left; width: 175px; margin: 0 25px 0 0;}
#homeblurb3 { float: left; width: 205px; margin: 0;}

#home1, #home2 { float: left; width: 380px; margin: 0 20px -10px 0;}

#homeblurb a, #home1 a, #home2 a { color: #A41520; text-decoration: none; }
#homeblurb a:hover, #home1 a:hover, #home2 a:hover { text-decoration: underline; color: #0E013D;}

#illy h3 {margin-bottom: 5px}
#illy h4 {margin-bottom: 0}

#illy .greybox a:link, #illy .greybox a:visited {color: #0E013D;} 
#illy .greybox a:hover {color: #A41520;} 

#illy .indent {margin-left: 25px; margin-right: 130px}

#homeblurb h4, #homeblurb p {margin-left: 35px}

#homeblurb #intro p {font-size: 125%; margin-left:0}

#homeblurb1 p, #homeblurb2 p, #homeblurb3 p {margin-bottom:0}
#home1 p, #home2 p {margin-bottom:0.9em}

.indent img {
	margin: 1px 0 0 -25px;
	float:left;
	display:inline;
	}
	
#homeblurb img {
	margin: 1px 0 0 -35px;
	float:left;
	display:inline;
	}
	
	
/* Landing page
-------------------------------------------------------------- */

.landing {margin-right: 160px}

#public #article.home {background: url(../images1/public_landing.jpg) no-repeat; background-position: top right}

#banking #article.home {background: url(../images1/banking_landing.jpg) no-repeat; background-position: top right}

#products {
	width: 522px; background: #f1f1f1; margin: 7px 0 20px 0; padding: 18px 0 5px 18px; float:left
	}

#products a { color: #A41520; text-decoration: none; }
#products a:hover { text-decoration: underline; color: #0E013D;}
#products h4 {margin-bottom: 0}
#products p {margin-bottom:0.9em}

.product_item {display:block; width:208px; padding-right:25px; float:left; margin-left:25px}

.product_item img {
	margin: 1px 0 0 -25px;
	float:left;
	display:inline;
	}


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

#navbox {float: left}
	
#navbox h4 {margin:0;}

#navbox ul {margin:0; float: left}
	
#navbox li {
	margin: 0; padding: 0; border: 0;
	display: inline
	}

#navbox li a:link, #navbox li a:visited  { 
	display: block;
	padding: 5px 5px 5px 25px;
	color: #0E013D;
	background: #F1F1F1 url(../images1/bullet.gif) no-repeat; background-position: 7px 5px;
	border-top: 1px solid #fff;
	width: 190px; 
	}

#navbox li.current a {background-color: #DFDFDF}
#navbox li a:hover {color:#A41520; background-color: #DFDFDF}

#mailbox {
	width: 220px;
	background: url(../images1/mailbox_bg.jpg); 
	background-position:bottom; 
	margin: 20px 0 0 0; float: left; padding:0}

#mailbox h4 {margin-bottom: 7px}

#mailbox p {margin: 0 11px 5px 11px; line-height: 1.4em; }

#mailbox .joinnow {float:right; font-weight: bold; margin-bottom: 10px}
#mailbox .joinnow img {vertical-align: middle}
.joinnow a:link, .joinnow a:visited {color: #0E013D}
.joinnow a:hover {color: #A41520}


/* 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}

#map {width: 520px; height: 520px; margin-top:20px}

#sitemap h3 {font-size: 120%; font-weight: bold; margin: 25px 0 0 0}
#sitemap li {margin-bottom: 0px}

.sitebold {font-weight: bold; margin-top: 8px}

.keyline li {border-top:1px solid #ccc; margin-bottom:8px; padding-top:8px}


/* 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.6em; }
#sidebar li { margin: 0 0 0.3em; }
#sidebar ul, #sidebar ol { margin: 0 0 0.6em 1.25em; }

.greybox {background: #F1F1F1; padding: 7px 7px 2px 7px; margin: 0 0 20px 0; float: left; width: 126px}

.bluebox {background: #0E013D; padding: 7px 7px 2px 7px; margin: 0 0 20px 0; float: left; color: #fff; width: 126px}
.bluebox a:link, .bluebox a:visited {color: #ddd; text-decoration: none}
.bluebox a:hover {color: #fff; text-decoration: underline}

#contactus {background: #A41520; padding: 6px 7px 4px 7px; margin: 0; float: left; color: #fff; width: 126px}
#contactus p {font-size: 11px; margin: 0 0 3px 0; padding:0;}
#contactus a:link, #contactus a:visited {color: #ddd; text-decoration: none}
#contactus a:hover {color: #fff; text-decoration: underline}


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

#footer { 
	margin: 20px 0 0 0;
	padding: 8px 0 0 0;
	border-top: solid 20px #0E013D;
	width: 940px;
	text-align: right;
	font-size: 85%;
	}
	
#footer ul {margin:0}
#footer li {display: inline; padding: 0 0 0 7px; border-left:1px black solid; margin: 0 5px 0 0}
#footer li.first {border: none}
#footer li.last {margin: 0}

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

/* Image replacement - main menu
-------------------------------------------------------------- */

.replace1 {
 	height: 30px; width: 63px;
	background: url(../images1/nav_r1_c1.gif) no-repeat;
	float:left;
	text-indent: -10000px;
}

.replace2 {
 	height: 30px; width: 84px;
	background: url(../images1/nav_r1_c2.gif) no-repeat;
	float:left;
	text-indent: -10000px;
}

.replace3 {
 	height: 30px; width: 161px;
	background: url(../images1/nav_r1_c3.gif) no-repeat;
	float:left;
	text-indent: -10000px;
}

.replace4 {
 	height: 30px; width: 97px;
	background: url(../images1/nav_r1_c4.gif) no-repeat;
	float:left;
	text-indent: -10000px;
}

#illy .replace1 {background-image: url(../images1/nav2_r1_c1.gif)}
#banking .replace2 {background-image: url(../images1/nav2_r1_c2.gif)}
#public .replace3 {background-image: url(../images1/nav2_r1_c3.gif)}
#about .replace4 {background-image: url(../images1/nav2_r1_c4.gif)}

.replace1 a:hover {
	background-image: url(../images1/nav1_r1_c1.gif);
}

.replace2 a:hover {
	background-image: url(../images1/nav1_r1_c2.gif);
}

.replace3 a:hover {
	background-image: url(../images1/nav1_r1_c3.gif);
}

.replace4 a:hover {
	background-image: url(../images1/nav1_r1_c4.gif);
}

.replace1 a, .replace2 a, .replace3 a, .replace4 a {
 	height: 30px;
	text-decoration: none;
	display: block;}
	
#illy .replace1 a:hover {background-image: url(../images1/nav3_r1_c1.gif)}
#banking .replace2 a:hover {background-image: url(../images1/nav3_r1_c2.gif)}
#public .replace3 a:hover {background-image: url(../images1/nav3_r1_c3.gif)}
#about .replace4 a:hover {background-image: url(../images1/nav3_r1_c4.gif)}


/* Image replacement - sidebars
-------------------------------------------------------------- */	
	
#navbox h4 {
 	height: 38px; width: 220px;
	background: url(../images1/navbox_head1.gif) no-repeat;
	float:left;
	text-indent: -10000px;
}

#navbox h4 a:hover {
	background-image: url(../images1/navbox_head1a.gif);
}

#navbox h4 a {
 	height: 38px;
	text-decoration: none;
	display: block;}
	
#banking #navbox h4 {background-image: url(../images1/navbox_head2.gif)}
#banking #navbox h4.current, #banking #navbox h4 a:hover {background-image: url(../images1/navbox_head2a.gif)}

#public #navbox h4 {background-image: url(../images1/navbox_head3.gif)}
#public #navbox h4.current, #public #navbox h4 a:hover {background-image: url(../images1/navbox_head3a.gif)}

#about #navbox h4 {background-image: url(../images1/navbox_head4.gif)}
#about #navbox h4.current, #about #navbox h4 a:hover {background-image: url(../images1/navbox_head4a.gif)}

#mailbox h4 {
 	height: 32px; width: 220px;
	background: url(../images1/mailbox_head.gif) no-repeat;
	float:left;
	text-indent: -10000px;
}

#mailbox h4 a {
 	height: 32px;
	text-decoration: none;
	display: block;}

#contactus h4 {
 	height: 19px; width: 125px;
	background: url(../images1/contactus.gif) no-repeat;
	text-indent: -10000px;
}

#contactus h4 a {
 	height: 19px;
	text-decoration: none;
	display: block;}


/* Image replacement - homepage
-------------------------------------------------------------- */	

#home1 h3 {
 	height: 30px; width: 231px;
	background: url(../images1/banking.gif) no-repeat;
	text-indent: -10000px;
}

#home1 h3 a {
 	height: 30px;
	text-decoration: none;
	display: block;}
	
#home2 h3 {
 	height: 30px; width: 231px;
	background: url(../images1/public.gif) no-repeat;
	text-indent: -10000px;
}

#home2 h3 a {
 	height: 30px;
	text-decoration: none;
	display: block;}
	
#illy .greybox h3 {
 	height: 17px; width: 100px;
	background: url(../images1/about.gif) no-repeat;
	text-indent: -10000px;
}

#illy .greybox h3 a {
 	height: 17px;
	text-decoration: none;
	display: block;}
