/*
	Ottawa Public Library - Screen styles
	Created by gordongroup marketing + communications (www.gordongroup.com)
	
	Contents:
	- General
	- Layout
	- Headers
	- Navigation
	- Typography
	- Forms
	- Links
	- Miscellaneous: Sidebars
*/

/* =General
---------------------------------------------------------------------------------------------------- */

body {
	background: #FFFFFF;
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.75em;
	margin: 1em 0;
	padding: 0;
	}
	
table {
    /*border:1px solid #999999;*/
	}
	
.e-prod td  {
	border-top:1px solid #999999;
	}
		
ul#legend  {
	list-style:none;
	list-style-image: none;
	line-height: 2em;
	text-indent:-33px;
	}
	
ul#legend img {
	margin: 2px 8px 2px 0;
	list-style-image: none;
	}
	
	hr {
	height: 1px;
	border: 0;
	color:#CAC9B7;
	background-color:#999999;
}


    .redtext  {
	color: #D93F0D
	}
	
	a.top   {
	font-size:0.8em;
	}
	
	.navaid {
	height: 0; 
	width: 0; 
	overflow: hidden;
	float: right;
	font-size: 0;
	position: absolute;
	top: -100px;
    }
	
    .navaid a {
	color: #FFFFFF;
}

	
/* =Layout
---------------------------------------------------------------------------------------------------- */

#wrapper {
	margin: 0 auto;
	width: 762px;
	}
	
#header {
	min-height: 8.5em;
	position: relative;
	}
	
#content {
	padding: 0 12px;
	margin: 0 0 12px 0;
	}
	
#footer {
	background-color: #003366;
	clear: both;
	color: #FFFFFF;
	font-size: 0.8em;
	margin: 0;
	padding: 3px 12px 4px 12px;
	text-align: right;
	}
	
#footer span {
	display: none;
	}

#footer span#copyright {
	display: inline;
	float: left;
	}
	
	
/* =Headers
---------------------------------------------------------------------------------------------------- */

#sectionHeader-english,
#sectionHeader-french {
	min-height: 193px;
	margin: 0 0 1em 0;
	padding: 0;
	}
	
/*backgrounds of section headers changed from white to blue by DC April 23 07*/
	
#connect #sectionHeader-english {
	background: #003366 url('../images/connect-header_e.jpg') left top no-repeat;
	}
	
#connect #sectionHeader-french {
	background: #003366 url('../images/connect-header_f.jpg') left top no-repeat;
	}
	
#explore #sectionHeader-english {
	background: #003366 url('../images/explore-header_e.jpg') left top no-repeat;
	}
	
#explore #sectionHeader-french {
	background: #003366 url('../images/explore-header_f.jpg') left top no-repeat;
	}
	
#experience #sectionHeader-english {
	background: #003366 url('../images/experience-header_e.jpg') left top no-repeat;
	}
	
#experience #sectionHeader-french {
	background: #003366 url('../images/experience-header_f.jpg') left top no-repeat;
	}
	
/* =Navigation
---------------------------------------------------------------------------------------------------- */

ul#toolbar {
	font-size: 0.8em;
	list-style: none;
	margin: 0 5px 0 0;
	padding: 0;
	position: absolute;
	top: 0;
	right: 0;
	text-transform: uppercase;
	z-index: 1;
	}
	
ul#toolbar li {
	border-left: 1px solid #009999;
	float: left;
	padding: 0 8px;
	}
	
ul#toolbar li.first {
	border-left: 0;
	padding-left: 0;
	}
	
#portal-english, #portal french
{
	background: #FFFFFF url('../images/wrapper/header-portal-bg_search_e.gif') right bottom no-repeat;
	height: 85px;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0;
	bottom: 0;
	text-align: center;
	width:auto;
	}
	
	
	
/*Background images of portal divs removed by DC April 23 07 
	
#portal-english {
	background: #FFFFFF url('../images/wrapper/header-portal-bg_e.gif') left bottom no-repeat;
	width: 254px;
	}*/
	
#portal-french {
	background: #FFFFFF url('../images/wrapper/header-portal-bg_search_f.gif') right bottom no-repeat;
	height: 85px;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0;
	bottom: 0;
	text-align: center;
	width:auto;
	
	}
	
#portal-english div,
#portal-french div {
	text-align: right;
	margin-right: 13px;
	}
	
#portal-english form,
#portal-french form {
	padding: 9px 0 0 0;
	}
	
/*#portal-french form {
	padding-right: 4px;
	} */
	
#portal-english #portalSelect,
#portal-french #portalSelect {
	font-size: 0.8em;
	margin: 0 0.25em 0 0.5em;
	}

#breadcrumbs-english, #breadcrumbs-french {
	border-bottom: 2px solid #003366;
	font-size: 0.8em;
	height: 30px;
	margin: 0 0 12px 0;
	position: relative;
	}
	
#breadcrumbs-english {
	background: #FFFFFF url('../images/wrapper/breadcrumbs-bg_e.jpg') left top no-repeat;
	}
	
#breadcrumbs-french {
	background: #FFFFFF url('../images/wrapper/breadcrumbs-bg_f.jpg') left top no-repeat;
	}
	
#breadcrumbs-english span,
#breadcrumbs-french span {
	display: block;
	position: absolute;
	bottom: 0.5em;
	padding: 0 254px 0 12px;
	}

ul#menu {
	background: #003366;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 2em;
	}
	
ul#menu li {
	color: #FFFFFF;
	float: left;
	line-height: 2em;
	text-align: center;
	text-transform: uppercase;
	width: 254px;
	}
	
ul#submenu {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 249px;
	}
	
#connect ul#submenu {
	width: 254px;
	}
	
#explore ul#submenu {
	margin-left: 259px;
	}
	
#experience ul#submenu {
	margin-left: 513px;
	}
	
ul#submenu li {
	border-bottom: 1px solid #A4ACA6;
	}
	
/* =Typography
---------------------------------------------------------------------------------------------------- */

h1 {
	margin: 0;
	padding: 0;
	}
	
h2, h3, h4 {
	color: #003366;
	font-size: 1.4em;
	margin: 0 0 12px 0;
	padding: 0;
	}
	
#content h2 {
	color: #003366;
	font-size: 1.4em;
	margin: 0 0 12px 0;
	padding: 0;
	text-transform: uppercase;
	}
	
#connect #content h2, #experience #content h2, #explore #content h2 {
	background: #FFFFFF url('../images/heading-bg.jpg') left top no-repeat;
	height: 39px;
	line-height: 39px;
	margin-left: -12px;
	padding: 0 0 0 12px;
	}
	
#sidebar h2, #sidebar h3, #sidebar h4 {
	color: #FFFFFF;
	font-size: 1.2em;
	}
	
	#plain_sidebar h2, #plain_sidebar h3 {
	color: #003366;
	font-size: 1.2em;
	}
	
	#plain_sidebar h2  {
	text-transform: none;
	font-variant: small-caps;
	}
	
	#plain_sidebar h4 {
	font-size: 1em;
	font-style: italic;
	margin-bottom: 6px;
	}
	
	#plain_sidebar p, li {
	color: #000000;
	}
	
	#plain_sidebar table {
	font-size:0.9em;
	color: #000000
	}

#sidebar h2 {
	text-transform: none;
	font-variant: small-caps;
	}
	
#sidebar h3, #sidebar h4 {
	font-size: 1em;
	margin-bottom: 6px;
	}
	
#sidebar hr  {
    margin: 24px 0 10px 0;
	}
	
	
h3 {
	font-size: 1.2em;
	margin-bottom: 6px;
	}
	
h4 {
	font-size: 1em;
	font-style: italic;
	margin-bottom: 6px;
	}
	
h5  {
    font-size: 1em;
	font-weight: bold;
	}

p {
	margin: 0 0 1em 0;
	}
	


/* =Forms
---------------------------------------------------------------------------------------------------- */ 

form {
	margin: 0;
	padding: 0;
	}
	
.button {
	margin: 0;
	overflow: visible;
	padding: 0;
	width: auto;
	}

/* =Links
---------------------------------------------------------------------------------------------------- */
	
ul#toolbar a,
ul#toolbar a:active,
ul#toolbar a:visited {
	color: #003366;
	text-decoration: none;
	}
	
ul#toolbar a:hover,
ul#toolbar a:visited:hover {
	color: #009999;
	}
	
#breadcrumbs a,
#breadcrumbs a:active,
#breadcrumbs a:visited {
	color: #003366;
	}
	
#breadcrumbs a:hover,
#breadcrumbs a:visited:hover {
	color: #009999;
	}

ul#menu li a,
ul#menu li a:active,
ul#menu li a:visited {
	border-left: 5px solid #009999;
	color: #FFFFFF;
	display: block;
	font-weight: bold;
	text-decoration: none;
	}

ul#menu li.first a {
	border-left: 0;
	}
	
ul#menu a:hover,
ul#menu a:visited:hover,
ul#menu a.on,
ul#menu a.on:active,
ul#menu a.on:visited,
ul#menu a.on:hover,
ul#menu a.on:visited:hover {
	background: #E8E2B1;
	color: #003366;
	}
	
ul#submenu a,
ul#submenu a:active,
ul#submenu a:visited {
	color: #FFFFFF;
	display: block;
	font-weight: bold;
	padding: 6px 12px;
	text-decoration: none;
	text-transform: uppercase;
	}
	
ul#submenu a:hover,
ul#submenu a:visited:hover,
ul#submenu a.on,
ul#submenu a.on:active,
ul#submenu a.on:visited,
ul#submenu a.on:hover,
ul#submenu a.on:visited:hover {
	background-color: #003366;
	color: #E8E2B1;
	}
	
#footer a,
#footer a:active,
#footer a:visited {
	color: #FFFFFF;
	}

a,
a:active {
	color: #009999;
	}
	
a:visited {
	color: #003366;
	}
	
a:hover,
a:visited:hover {
	color: #009999;
	}
	
/* =Miscellaneous: Sidebars
---------------------------------------------------------------------------------------------------- */

body.twocolumns #content {
	border-right: 1px solid #CAC9B7;
	padding-right: 12px;
	width: 490px;
	}

#sidebar {
	background: #FFFFFF url('../images/sidebar-bg.gif') left top no-repeat;
	color: #FFFFFF;
	float: right;
	margin: 0 12px 0 0;
	padding: 30px 15px 30px 15px;
	position: relative;
	width: 195px;
	}
	
	#sidebar .blockBottom {
	background: #396795 url('../images/sidebar-bg-bottom.gif') left top no-repeat;
	clear: both;
	display: block;
	height: 30px;
	margin: 0 0 -1px 0;
	padding: 0;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 225px;
	}
	
	#plain_sidebar {
	color: #FFFFFF;
	float: right;
	margin: 0 6px 0 0;
	padding: 6px 15px 12px 6px;
	position: relative;
	width: 203px;
	border-right:1px solid #CAC9B7;
	border-bottom:1px solid #CAC9B7;
	}
	
#sidebar.happening-english h2 {
	margin: 0 0 0 16px;
	padding: 0;
	}	

#sidebar.happening-french h2 {
	margin: 0;
	padding: 0;
	}
	
#sidebar.happening-english ul,
#sidebar.happening-french ul {
	list-style: none;
	margin: 1em 0 -1em 16px;
	padding: 0;
	}
	
#sidebar.happening-french ul {
	margin-left: 0;
	}
	
#sidebar.happening-french ul.bullet {
	margin-left: 16px;
	}
	
#sidebar.happening-english ul li,
#sidebar.happening-french ul li {
	margin-bottom: 1em;
	}

#sidebar_business.happening-english h2 {
	margin: 0 0 0 16px;
	padding: 0;
	}	

#sidebar_business.happening-french h2 {
	margin: 0;
	padding: 0;
	}
	
#sidebar_business.happening-english ul,
#sidebar_business.happening-french ul {
	list-style: none;
	margin: 1em 0 -1em 16px;
	padding: 0;
	}
	
#sidebar_business.happening-french ul {
	margin-left: 0;
	}
	
#sidebar_business.happening-french ul.bullet {
	margin-left: 16px;
	}
	
#sidebar_business.happening-english ul li,
#sidebar_business.happening-french ul li {
	margin-bottom: 1em;
	}
	
li.links   {
list-style-image:url(../images/rightarrow.gif)
}
	
#sidebar.happening-english a,
#sidebar.happening-french a,
#sidebar.happening-english a:active,
#sidebar.happening-french a:active,
#sidebar.happening-english a:visited,
#sidebar.happening-french a:visited {
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
	text-transform: none;
	}
	
#sidebar_business.happening-english a,
#sidebar_business.happening-french a,
#sidebar_business.happening-english a:active,
#sidebar_business.happening-french a:active,
#sidebar_business.happening-english a:visited,
#sidebar_business.happening-french a:visited {
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
	text-transform: none;
	}
	
#sidebar_business.happening-english a:hover,
#sidebar_business.happening-french a:hover,
#sidebar_business.happening-english a:visited:hover,
#sidebar_business.happening-french a:visited:hover {
	color: #E8E2B1;
	}

