/*
Color reference

Burgundy: #952148
Submenu rollover: #771a3a
Burgundy text: #8b2346
*/

/* @group CSS Reset */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
	margin: 0;
	padding: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
fieldset,img {
	border: 0;
}
ol,ul {
	list-style: none;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
	font-weight: normal;
}
q:before,q:after{
    content:'';
}
input,textarea,select
{
    font-family:inherit;
    font-size:inherit;
    font-weight:inherit;
}
sup {
    vertical-align:text-top;
}
sub {
    vertical-align:text-bottom;
}

input,textarea,select{
    font-family:inherit;
    font-size:inherit;
    font-weight:inherit;
}
input,textarea,select
{
    *font-size:100%;
}
legend{
    color:#000;
}

/* @end */

/* @group YUI Fonts CSS v2.5.0 */

body {
	font: 13px/1.231 arial,helvetica,clean,sans-serif;
	*font-size: small;
	*font: x-small;
}

table {
	font-size: inherit;
	font: 100%;
}

pre,code,kbd,samp,tt {
	font-family: monospace;
	*font-size: 108%;
	line-height: 100%;
}

/* @end */

/* @group Page Structure / Layout */

#header, #nav-bar, #main, #footer {
	margin: auto;
	width: 754px;
}

#header {
	background: transparent url(images/header.jpg) no-repeat center center;
}

#header h1 a {
	width: 754px;
	height: 151px;
	display: block;
	text-indent: -9999px;
	overflow: hidden;
}
#header p {
	display: none;
}
#nav-bar #nav-menu {
	margin-left: 282px;
}

#nav-secondary {
	bottom: 0;
	right: 0;
	position: absolute;
	width: 70%;
	padding-right: 25px;
}

#main {
	background: url(images/mb-shape.jpg) no-repeat left top;
	min-height: 311px;
	/* TODO: Override this for IE6 */
	padding-top: 47px;
	overflow: visible;
	position: relative;
}

#main #content {
/* In IE6, content wider than 450px will cause this div to be pushed below the sidebar */
	width: 310px;
	margin-left: 282px;
	padding-left: 18px;
	padding-bottom: 90px;
}

#main #sidebar {
	width: 177px; /* 282 minus margins */
	float: left;
	margin-left: 87px;
	margin-right: 18px;
    /* Fix an IE6 bug: http://www.positioniseverything.net/explorer/doubled-margin.html */
    display: inline;
}

#footer {
	display: none;
}

/* @end */

/* @group Navigation menu */

#nav-bar {
	background: url(images/menubar.jpg) repeat-y right center;
	line-height: normal;
}

li.yuimenubaritem {
	font-size: 93%;
	border-left: 1px solid #b6b4aa;
}

li.yuimenubaritem.first-of-type {
	border-left: none;
}

.yuimenubaritemlabel {
	padding: 7px 18px;
	text-decoration: none;
	color: #952148;
}

.yuimenubaritemlabel-hassubmenu {
    background: url(images/menubaritem_submenuindicator.png) right center no-repeat;
    padding-right: 25px; /* extra 7px for the arrow */
}

.yuimenubaritemlabel-hassubmenu-selected,
.yuimenubaritemlabel-hassubmenu.nav-menu-highlighted {
    background-image: url(images/menubaritem_submenuindicator_selected.png)
}

.yuimenubaritemlabel-selected, .nav-menu-highlighted {
	background-color: #952148;
	color: #fff;
}

/* stop the french menubar from going to two lines by pulling the menu items closer together */
.french .yuimenubaritemlabel {
    padding: 7px 10px;
}
.french .yuimenubaritemlabel-hassubmenu {
    padding-right: 20px;
}

.yuimenu {
	width: 13em;
}
/* Make the french menubar wider so "Loi sur les circonscriptions électorales" doesn't run off the edge */
.french .yuimenu {
    width: 20em;
}
/* reduce French padding to fit "Population des circonscriptions électorales" */
.french .yuimenuitemlabel {
    padding: 7px 8px;
}

.yuimenuitemlabel {
	color: #fff;
	text-decoration: none;
	padding: 7px 18px;
	background-color: #952148;
	margin-left: 1px;
}

.first-of-type.yuimenuitem .yuimenuitemlabel {
	background: #952148 url(images/dropshadow.png) repeat-x left top;
}

.yuimenuitemlabel-selected {
	background-color: #771a3a !important;
}

/* @end */

/* @group Secondary nav */

#nav-secondary {
	background: url(images/footer-menubar.jpg) repeat-y right;
}

#nav-secondary li {
	float: right;
	list-style-type: none;
	margin: 0;
}

#nav-secondary li a {
	text-decoration: none;
	color: #8b2346;
	font-size: 93%;
	text-transform: lowercase;
	display: block;
	padding-left: 1em !important;
	padding-bottom: 7px;
	padding-top: 7px;
}

#nav-secondary li a:hover {
	/*font-weight: bold;*/
	color: #50001a;
}

/* @end */

/* @group Typography/Color */

body {
	color: #000;
	background-color: #fff;
}
#main {
	line-height: 18px;
}

h2 {
	font-size: 108%;
	color: #8b2346;
	font-weight: bold;
	margin-bottom: 18px;
	line-height: 18px;
}
h3 {
	font-size: 100%;
	line-height: 18px;
	font-weight: bold;
}
h4 {
    font-size: 100%;
    line-height: 18px;
    font-style: italic;
}
p, address {
	font-size: 93%;
	margin-bottom: 18px;
}
#main a {
    
}
#main a:active, #main a:visited:active {
    color: red;
}
#main a:visited {
    color: #8b2346;
}
ol, ul {
	margin-bottom: 18px;
	margin-left: 18px;
}
ol {
	list-style-type: decimal;
}
ul {
	list-style-type: disc;
}
li {
	margin-left: 0em;
}
#sidebar {
	color: #8b2346;
}
textarea, input, select {
    font-family: arial,helvetica,clean,sans-serif;
    font-size: inherit !important;
    line-height: inherit !important;
}
table {
    margin-bottom: 18px;
}
thead {
    font-weight: bold;
    background-color: #952148;
    color: #fff;
    text-align: left;
}
tr.AspNet-GridView-Alternate {
    background-color: #ddd;
}
td, th {
    padding: 3px 6px;
}
td.numeric, th.numeric {
    text-align: right;
}
tr.alternate-row
{
    background-color: #eee;
}

/* @end */

/* @group Splash page */

body.splash #header a {
	background: transparent url(images/splash.jpg) no-repeat center center;
	height: 264px;
	display: block;
}
body.splash div {
	width: 754px;
	margin: auto;
}

body.splash p {
	margin-left: 297px;
	width: 17em;
	font-weight: bold;
	line-height: 20px;
	margin-bottom: 20px;
}

body.splash a {
	text-decoration: none;
	color: #8b2346;
}
body.splash a:hover {
	text-decoration: underline;
}

/* @end */

/* @group Specific element tweaks */
hr
{
	margin-bottom: 18px;
}

input.text, textarea, select
{
    border-top:1px solid #7c7c7c;
    border-left:1px solid #c3c3c3;
    border-right:1px solid #c3c3c3;
    border-bottom:1px solid #ddd;
    background:#fff url(images/fieldbg.gif) repeat-x top;
    margin-left: 8px;
}
input.numeric
{
    width: 54px;
}
textarea {
    height: 180px;
    width: 100%;
}
label {
    display:block;
    margin-left: 8px;
    font-weight:bold;
}
.left 
{
    float: left;
    margin: 8px 18px 10px 0;
}
.right
{
    float: right;
    margin: 8px 0 10px 18px;
}
ul.links {
    margin-left: 8px;
    font-size: 93%;
}
ul.links li {
    list-style-type: none;
}
ul.links a {
    text-decoration: none;
}
p.photocredit {
    font-size: 85%;
    margin-top: 2em;
    font-style: italic;
}
.AspNet-RadioButtonList ul {
    list-style-type: none;
    margin-left: 0px;
}
li.AspNet-RadioButtonList-Item input {
    width: 20px;
    float: left;
    display: block;
    clear: left;
}
li.AspNet-RadioButtonList-Item label {
    font-weight: normal;
    margin-left: 0px;
    display: inline;
}

/* @end */
