/* CSS style sheet for YSN.ca */ 
html, body { 
 	margin: 0; 
 	padding: 0; 
 	text-align: center; 
	background-image: url(images/header_bg.jpg);
	background-repeat: repeat-x;
	background-color: #e5e5e5;
	font-family: Verdana, Arial, Helvetica, sans-serif;
} 
* {
	padding: 0;
	margin: 0;
} 
/* ------------------------------------------------------ Layout divs ---*/ 
#pagewidth { 
 	width: 950px; 
 	text-align: left;  
	margin-left: auto; 
 	margin-right: auto; 
	background-color: #FFFFFF; 
} 
 
#header { 
 	height: 185px; 
 	width: 100%;
	background-image: url(images/headerhome.jpg);
	background-repeat: no-repeat;
} 
#maincol {
	width: 685px;
	float: left;
} 
#rightcol { 
 	float: right; 
 	display: inline; 
 	position: relative; 
 	width: 265px; 
}
 
#footer {
 	height: 45px; 
 	clear: both;
	text-align: center;
} 
/* ------------------------------------------------------ Header Styles ---*/  
#headerintro {
	text-align: right;
	height: 154px;
}
#headerintro h1 {
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	margin-right: 200px;
	padding-top: 50px;
	line-height: 20px;
}
/* ------------------------------------------------------ Menu Styles ---*/ 
#menu {
	height: 31px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
}
#menu li {
	float: left;
	list-style-type: none;
	margin-right: 3px;
}
#menu a {
	display: block;
	width: 130px;
	height: 31px;
	background-image: url(images/menu_off.jpg);
	color: #1c386e;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	line-height: 31px;
}
#menu a:hover {
	background-image: url(images/menu_on.jpg);
	color: #FFFFFF;
}
/* ------------------------------------------------------ Content Area Styles ---*/
#maincontent {
	font-size: 12px;
	text-align: left;
	margin-top: 20px;
	margin-right: 20px;
	margin-bottom: 5px;
	margin-left: 20px;
}
#maincontent p {
	line-height: 18px;
	margin-bottom: 10px;
}
#maincontent h1 {
	font-size: 24px;
	font-weight: normal;
	margin-bottom: 10px;
	color: #d41127;
}
#maincontent h2 {
	font-size: 18px;
	font-weight: normal;
	color: #d41127;
	margin-bottom: 10px;
	clear: both;
}
#maincontent h3 {
	font-size: 14px;
	font-weight: normal;
	color: #d41127;
	margin-bottom: 10px;
	clear: both;
}
#maincontent ul {
	margin-left: 30px;
	margin-bottom: 10px;
	line-height: 18px;
}
#maincontent ol {
	margin-left: 30px;
	margin-bottom: 10px;
	line-height: 18px;
}
#maincontent a {
	color: #1c386e;
}
#maincontent a:hover {
	color: #FF0000;
}
/* ------------------------------------------------------ Newsbox Styles ---*/ 	
#newsbox {
	margin-top: 20px;
	margin-right: 20px;
	margin-bottom: 10px;
	background-color: #e5e5e5;
	font-size: 11px;
}
#newsbox h1 {
	color: #d41127;
	margin-bottom: 5px;
	padding-top: 10px;
	margin-left: 10px;
	margin-right: 10px;
	font-size: 14px;
	font-weight: bold;
}
#newsbox p {
	width: 215px;
	color: #1c386e;
	margin-bottom: 10px;
	margin-top: 10px;
	margin-left: 10px;
	margin-right: 10px;
	padding: 5px;
	background-color: #FFFFFF;
	border-collapse: separate;
}
#newsbox a {
	color: #1c386e;
}
#newsbox a:hover {
	color: #d41127;
}
br.clearboth {
	clear: both;
	height: 0;
	font-size: 1px;
	line-height: 0px;
}		
/* ------------------------------------------------------ Footer Styles ---*/ 
#footer p {
	background-color: #e5e5e5;
	margin-bottom: 10px;
	margin-left: 20px;
	margin-right: 20px;
	padding-bottom: 10px;
	padding-top: 10px;
	font-size: 10px;
	color: #1c386e;
} 
#footer a {
	color: #1c386e;
	text-decoration: none;
} 
#footer a:hover {
	color: #1c386e;
	text-decoration: underline;
}	
 /* *** Float containers fix:
 http://www.csscreator.com/attributes/containedfloat.php *** */ 
.clearfix:after {
 content: "."; 
 display: block; 
height: 0; 
 clear: both; 
 visibility: hidden;
 }
 
.clearfix{display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix{height: 1%;}
.clearfix{display: block;}
/* End hide from IE-mac */  