/******************/
/* GLOBAL LAYOUT  */
/******************/

 body {font-size:62.5%; background-color:rgb(0,0,0); font-family:georgia,sans-serif;} /*Font-size: 1.0em = 5px when browser default size is 16px*/
.container {width:800px; padding-top:10px; padding-bottom:10px; margin:0 auto; font-size:1.0em;}
.header {width:800px; min-height:170px /*Non-IE6*/; height:auto !important /*Non-IE6*/; height:170px /*IE6*/; border-left:solid 5px rgb(102,0,0); border-right:solid 5px rgb(102,0,0); background:rgb(255,255,255) url(../img/bg_header.jpg) repeat-x /*Total header background image entered here. Height: 125px*/; font-size:1.0em;}
.header-top {clear:both; width:800px; height:149px; background:rgb(0,0,0) url(../img/bg_header_top.jpg) repeat-x /*Top header background image entered here. Height: 125px*/; font-size:1.0em;}
.header-bottom {clear:both; width:800px; min-height:30px /*Non-IE6*/; height:auto !important /*Non-IE6*/; height:30px /*IE6*/; background:rgb(0,0,0) url(../img/bg_header_bottom.jpg) repeat-x /*Bottom header background image entered here: Height: 25 px*/; font-size:1.0em;}
.navbar {white-space:nowrap /*IE hack*/; float:left; width:800px; border-left:solid 5px rgb(102,0,0); border-right:solid 5px rgb(102,0,0); background-color:rgb(0,0,0); font-family:tahoma,georgia,sans-serif; font-size:130% !important /*Non-IE6*/; font-size:120% /*IE6*/;} /*Color navigation bar normal mode*/
.main {clear:both; width:800px; padding:5px 0 10px 0; border-left:solid 5px rgb(102,0,0); border-right:solid 5px rgb(102,0,0); background-color:rgb(102,0,0); font-size:1.0em;}
.content {display:inline; /*Fix IE floating margin bug*/; float:left; width:800px; background-color:rgb(102,0,0); font-size:1.0em; overflow:visible !important /*Non-IE6*/; overflow:hidden /*IE6*/;}
.subcontent {display:inline /*Fix IE floating margin bug*/; float:right; width:215px; background-color:rgb(102,0,0); font-size:1.0em; overflow:visible !important /*Non-IE6*/; overflow:hidden /*IE6*/;}
.footer {clear:both; width:800px; padding:1.0em 0 1.0em 0; border-left:solid 5px rgb(102,0,0); border-right:solid 5px rgb(102,0,0); background-color:rgb(225,225,225); font-size:1.1em !important /*Non-IE6*/; font-size:1.0em /*IE6*/; overflow:visible !important /*Non-IE6*/; overflow:hidden /*IE6*/;}

/****************/
/*  HEADER-TOP  */
/****************/

/* Sitename and slogan */
.sitelogo {width:675px; height:149px; position:absolute; z-index:1; margin:5px 5px 15px 50px; background:url(http://www.magnetowasright.com/media/banner_1.jpg);}
.sitename {width:300px; height:70px; position:absolute; z-index:1; margin:27px 0 0 95px; overflow:hidden; color:#FFFFFF; font-family:Georgia, sans serif;}
.sitename h1 {font-family:georgia,sans serif; font-weight:normal; font-size:290% !important /*Non-IE6*/; font-size:260% /*IE6*/;}
.sitename h2 {font-family:georgia,georgia,sans serif; margin-top:-5px; padding-bottom:2px; color:rgb(125,125,125); height:20px; font-weight:normal; font-size:130% !important /*Non-IE6*/; font-size:120% /*IE6*/;}
.sitename a{text-decoration:none; color:rgb(125,125,125);}
.sitename a:hover {text-decoration:none;}

/* Button navigation */
.navbutton {width:400px; position:absolute; z-index:2; margin-top:26px; margin-left:375px !important /*Non-IE6*/; margin-left:200px /*IE6*/;}
.navbutton ul {float:right;}
.navbutton li {display:inline; list-style:none;}
.navbutton li a {padding-left:3px;}
.navbutton a:hover {text-decoration:none;}
.navbutton a img {height:32px;}

/* Global navigation */
.navglobal {width:600px; position:absolute; z-index:3; margin-top:65px; margin-left:178px !important /*Non-IE6*/; margin-left:351px /*IE6*/;}
.navglobal ul {float:right; font-weight:normal;}	
.navglobal li {display:inline; list-style:none;}
.navglobal li a {display:block; float:left; padding:2px 5px 2px 5px; color:rgb(255,255,255); text-decoration:none; font-size:130% !important /*Non-IE6*/; font-size:120% /*IE6*/;}
.navglobal a:hover {text-decoration:none; color:rgb(51,0,51);}

/*******************/
/*  HEADER BOTTOM  */
/*******************/


/* Breadcrumb */
.header-bottom ul {float:left; width:430px; list-style:none; padding:5px 0px 3px 5px !important /*Non-IE6*/; padding:8px 0 3px 5px /*IE6*/;}
.header-bottom ul li {display:inline; padding:0 5px 0 15px; background:transparent url(../img/bg_bullet_arrow.gif) no-repeat 0 50%; font-size:110% !important /*Non-IE6*/; font-size:100% /*IE6*/;}
.header-bottom ul li.nobullet {display:inline; padding:0; background:none; color:rgb(255,255,255);}
.header-bottom ul a {color:rgb(255,255,255); font-weight:bold; text-decoration:none;}
.header-bottom ul a:hover {color:rgb(51,0,51);}

/* Search form */
.header-bottom .searchform {float:right; width:400px; margin-bottom:5px;}
.header-bottom .searchform form fieldset {float:right; border:none; padding-top:0px; padding-right:5px;}
.header-bottom .searchform input.field {width:15.0em; height:1.2em; padding:1px !important /*Non-IE6*/; padding:2px /*IE6*/; border:solid 1px rgb(102,0,0); background-color:rgb(255,255,255); font-size:110% !important /*Non-IE6*/; font-size:100% /*IE6*/;}
.header-bottom .searchform input.button {width:4.5em; height:1.6em; background-color:rgb(240,240,240); border:solid 1px rgb(150,150,150); text-align:center; color:rgb(100,100,100); font-size:110% !important /*Non-IE6*/; font-size:100% /*IE6*/;}
.header-bottom .searchform input.button:hover {cursor:pointer; border:solid 1px rgb(80,80,80); background-color:rgb(220,220,220); color:rgb(80,80,80);}

/********************/
/*  NAVIGATION BAR  */
/********************/

/* Main menu */
.navbar ul {list-style-type:none; font-family:georgia, sans serif; font-size:12px;}
.navbar ul li {float:left; z-index:auto !important /*Non-IE6*/; z-index:1000 /*IE6*/; background-color:rgb(0,0,0);}
.navbar ul li a {float:none !important /*Non-IE6*/; float:left /*IE-6*/; display:block; height:3.1em; line-height:3.1em; padding:0 16px 0 16px; text-decoration:none; font-weight:bold; color:rgb(255,255,255); border-right:solid 0px rgb(204,204,204);}
.navbar ul li ul {display:none; border:none;}

/* Submenu (Non-IE6 hovering) */
.navbar ul li:hover {position:relative; background-color:rgb(51,0,51);} /*Sylvain IE hack*/
.navbar ul li:hover a {background-color:rgb(51,0,51); text-decoration:none;} /*Color main cells hovering mode*/
.navbar ul li:hover ul {display:block; width:10.0em; position:absolute; z-index:1000; top:3.0em; margin-top:0.1em; left:0; padding:0px 16px 0px 16px; border-top:solid 1px rgb(255,255,255);}
.navbar ul li:hover ul li a {white-space:normal; display:block; width:10.0em; height:auto; line-height:1.3em; margin-left:-17px; padding:4px 16px 4px 16px; border-right:solid 1px rgb(204,204,204); border-left:solid 1px rgb(204,204,204); border-bottom: solid 1px rgb(204,204,204); background-color:rgb(0,0,0); font-weight:normal; color:rgb(255,255,255);} /*Color subcells normal mode*/
.navbar ul li:hover ul li a:hover {background-color:rgb(51,0,51); text-decoration:none;} /*Color subcells hovering mode*/

/* Submenu (IE6 hovering) */
.navbar table {position:absolute; z-index:1000; top:0px; left:-1px; border-collapse:collapse;}
.navbar ul li a:hover {position:relative /*Sylvain IE hack*/; z-index:1000 /*Sylvain IE hack*/; background-color:rgb(51,0,51); text-decoration:none;} /*Color main cells hovering mode*/
.navbar ul li a:hover ul {display:block; width:10.0em; position:absolute; z-index:1000; top:3.1em; t\op:3.0em; left:0px; marg\in-top:0.1em; border-top:solid 1px rgb(204,204,204); }
.navbar ul li a:hover ul li a {white-space:normal; display:block; w\idth:10.0em; height:1px; line-height:1.3em; padding:4px 16px 4px 16px; border-right:solid 1px rgb(204,204,204); border-left:solid 1px rgb(204,204,204); border-bottom: solid 1px rgb(204,204,204); background-color:rgb(0,0,0); font-weight:normal; color:rgb(255,255,255);} /*Color subcells normal mode*/
.navbar ul li a:hover ul li a:hover {background-color:rgb(51,0,51); text-decoration:none;} /*Color subcells hovering mode*/

/*************/
/*  CONTENT  */
/*************/

/* Content cell (no subcells) */
.content-cell {width:795px; background-color:rgb(255,255,255);}

/* Content cell + subcells (subcells are NOT in boxform)  */
.content-cell-nobox {width:570px; background-color:rgb(255,255,255);}
.content-subcell-left-nobox {display:inline; float:left; width:337px; border-right:solid 1px rgb(215,215,215) /*Use this statement if left column is longer than the right column. Activate by removing "xx_" from property name*/; background-color:rgb(255,255,255);}
.content-subcell-right-nobox {display:inline; float:right; width:337px; border-left:solid 1px rgb(215,215,215)/*Use this statement if right columnn is longer than the left column. De-activate by adding "xx_" to propery name*/; background-color:rgb(255,255,255);}

/* Content cell + subcells (subcells ARE in boxform) */
.content-cell-box {width:570px; background-color:transparent;}
.content-subcell-left-box {display:inline; float:left; width:300px; background-color:transparent;}
.content-subcell-right-box {display:inline; float:right; width:300px;  background-color:transparent;}
.content-subcell-cell-box {width:300px; background-color:rgb(255,255,255);}

/***************/
/* SUBCONTENT  */
/***************/

.subcontent-cell {width:215px; float:right; background-color:rgb(255,255,255);}

/************/
/*  FOOTER  */
/************/
.footer p {clear:both; line-height:1.3em; text-align:center; color:rgb(0,0,0); font-weight:400; font-size:95%;}
.footer p.credits {clear:both; font-weight:normal;}
.footer a, .footer a:visited {font-size:10px; text-decoration:underline; color:rgb(0,0,0);}
.footer a:hover {font-size:10px; text-decoration:none; color:rgb(0,0,0);}
.center p {text-align:center; float:left;}

/*********************/
/*  ROUNDED CORNERS  */
/*********************/

/* Page */
.corner-top {width:810px; height:7px; background:transparent url(../img/bg_corner_top.gif) no-repeat; overflow:hidden;}
.corner-bottom {width:810px; height:7px; padding-bottom:10px; background:transparent url(../img/bg_corner_bottom.gif) no-repeat; overflow:hidden;}

/* Content */
.content-cell-corner-top {clear:both; width:570px; height:10px; overflow:hidden;}
.content-cell-corner-bottom {clear:both; width:570px; height:10px; overflow:hidden;}
.content-subcell-corner-top {width:333px; height:7px; overflow:hidden; margin-bottom:15px;}
.content-subcell-corner-bottom {width:333px; height:10px; margin-bottom:10px; overflow:hidden; margin-bottom:15px;}

/* Subcontent */
.subcontent-cell-corner-top {clear:both; width:215px; height:7px; overflow:hidden;}
.subcontent-cell-corner-bottom {clear:both; width:215px; height:10px; margin-bottom:10px; overflow:hidden;}

/******************/
/*  CLEAR FLOATS  */
/******************/
.container:after, .header:after, .header-top:after, .header-bottom:after, .navbar:after, .main:after, .content:after, .content div:after, .subcontent:after, .subcontent div:after, .footer:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}
.content-cell:after, .content-subcell-left:after, .content-subcell-right:after, .content-subcell-cell:after, .content-cell-box:after, .content-subcell-left-box:after, .content-subcell-right-box:after, .content-subcell-cell-box:after, .subcontent-cell:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}
.content-cell-corner-top:after, .content-cell-corner-bottom:after, .content-subcell-corner-top:after, .content-subcell-corner-bottom:after, .subcontent-cell-corner-top:after, .subcontent-cell-corner-bottom:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}
 p:after {content:"."; display:block; height:0; /*clear:both; Do not use here to avoid paragraphs clearing next to images*/;  visibility:hidden;}
