/*
Company:	AIDS Committee of Guelph & Wellington County, developed by Insight Studios		
File:		main.css - This contains all the main styles for the website.

All the styles are separted into the following groups:
Global Browser Reset - they make sure that all browsers start with the same default settings
HTML, Body - for the html and body tags
Layout - any style that defines how the site is laid out (position and size of objects)
Nav - navigation bar
Headings - headings like h1, h2, etc
Text Styles - Styles for text
Lists - unordered and ordered lists
Forms - html forms
Links - links
Misc - anything that doesn't fit elsewhere
*/

/* @group Global Browser Reset */
* {

padding:0;

margin:0;

}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, fieldset, address { margin:20px 0; }

blockquote { margin-left: 40px; }

fieldset { padding:10px; }

img { border: 0px; }
/* @end */

/* @group HTML, Body */

body { 
	margin: 0; 
	padding: 0; 
	background-color: #333;
} 
	
/* @end */

/* @group Layout */
#outer-top {
	background: #fff url(../images/bg_body2.png) repeat-x; 
}
#outer-btm {
	background: url(../images/bg_ft.gif) repeat-x top center;
}
#outer-wrapper { 
	width: 831px; 
	margin: auto;
	padding-bottom: 1px;
	background: url(../images/bg_wrap.png) no-repeat; 
}
#outer-btm {

}

#main { 
	width: 731px; 
	margin: 0 50px; 
	background: white; 
	position: relative;
} 

/**********************

Header

**********************/

#header {
	width: 731px; 
	margin: 0 50px; 
}

#header p.phone { 
	float: right; 
	height: 46px; 
	margin: 0; 
	padding: 15px 20px 0 0; 
	font: normal 0.8em arial; 
	text-align: left; 
} 

#header p.phone strong { 
	display: block; 
	font: bold 1.3em arial; 
	color: #0a074f; 
}

#header div.topBannerLink {
        float: right;
	margin: 0; 
        padding: 8px 10px 0;
}

#header .FontSwitcher {
	float:left;
	margin:20px 0 0 208px;
}

	#header .FontSwitcher a {
		padding:5px 10px;
		font: normal 1em arial; 
	}
	
	#header .FontSwitcher a.Small {font-size: 0.6em;}
	#header .FontSwitcher a.Medium {font-size: 0.8em;}
	#header .FontSwitcher a.Large {font-size: 1.0em;}

#header h2#logo { 
	margin: 0; 
	text-indent: -9999px; 
} 

#header h2#logo a { 
	clear: both; 
	float: left; 
	width: 188px; 
	height: 165px; 
	background: url(../images/logo.gif) no-repeat center center; 
} 

#banner { 
	width: 543px;
	height: 164px;
	/*background: url(../images/bg_body2.gif) repeat-x 0px -61px;*/
	float: left;
	display: inline;
} 

/**********************

Navigation

**********************/

#left_block { 
	float: left; 
	width: 188px; 
	z-index: 20;
	position: relative;
} 

#nav {
	display: inline; 
	float: left; 
	width: 140px; 
	margin: 0 23px 0 25px; 
	border: 1px dotted black; 
	border-width: 1px 0; 
	z-index: 20;
}

#nav ul { 
	padding: 5px 0 8px; 
	list-style: none; 
	z-index: 20;
} 

#nav ul li, #nav ul li ul li { 
	position: relative; 
	/*height: 22px; */
        margin: 6px 0;
        z-index: 20;
} 

#nav ul li a { 
	display: block; 
	width: 140px; 
	w\idth: 130px; 
	/*height: 22px; 
	he\ight: 20px; */
	margin: 3px 0 0; 
	padding: 2px 0 0 10px; 
	font: normal 0.9em tahoma; 
	text-decoration: none; 
	color: #09054c; 
	z-index: 20;
} 

#nav ul li:hover, #nav ul li.sfhover { 
	background: url(../images/nav_hilite.jpg) repeat-x; 
} 

#nav ul li a:hover { 
	background: url(../images/nav_hilite.jpg) repeat-x; 
} 

#nav ul li ul { 
	display: none; 
	position: absolute; 
	top: 0; 
	left: 140px; 
	padding: 0 !important; 
	background: #eeeeee; 
	z-index: 20;
} 

#nav ul li ul li a { 
	width: 180px;
	w\idth: 170px;
	margin: 0 0 3px 0 !important; 
	padding: 0 0 0 10px !important; 
	z-index: 20;
	
} 

#nav ul li:hover ul, #nav ul li.sfhover ul { 
	display: block; 
}

/* third level nav */
#nav ul li ul li ul { 
	left: 180px; 
	z-index: 20;
}

#nav ul li:hover ul li ul {
	display:none;
}

#nav ul li ul li:hover ul, #nav ul li ul li.sfhover ul {
	display: block;
	z-index: 20;
}
/* end third level */

#group_logos, #translation { 
	clear: left; 
	float: left; 
	width: 188px; 
	text-align: center; 
} 

#translation {
	width: 135px; 
	margin: 5px 23px 0 25px; 
	border: 1px dotted black; 
	border-width: 0 0 1px;
	padding-left: 5px;
}

#translation a {
	font-size: small;
	font-family: Arial,sans;
}
#translation p {
	margin: 10px 0;}

#group_logos img { 
	padding: 5px 0;  
} 

/**********************

Content

**********************/

#content {
	float: right; 
	width: 543px; 
	w\idth: 503px; 
	padding: 0 20px; 
	font: normal 0.8em arial; 
	/*background: url(../images/bg_content.gif) repeat*/; 
	min-height: 700px;
	border-top: 19px solid #000752;
	position: relative;
	z-index: 10;
}
.box-shadow1 {
	-moz-box-shadow: 0px 5px 5px #666; /* Firefox */
	-webkit-box-shadow: 0px 5px 5px #666; /* Safari, Chrome */
	box-shadow: 0px 5px 5px #666; /* CSS3 */
	behavior: url(templates/acg/css/ie-css3.htc); /* IE */
}
.box-shadow2 {
	-moz-box-shadow: 0px 0px 5px #000; /* Firefox */
	-webkit-box-shadow: 0px 0px 5px #000; /* Safari, Chrome */
	box-shadow: 0px 0px 5px #000; /* CSS3 */
	behavior: url(/templates/acg/css/ie-css3.htc); /* IE */
}
#admin {
	padding: 20px;
	position: relative;
	z-index: 10;
}

#content h1 { 
	padding: 5px 0; 
	text-align: right; 
	font: bold 1.7em tahoma; 
	border-bottom: 1px dotted black;
        color: #09054c;
} 

#content h3 { 
	margin: 10px 0 15px 0 !important; 
	font: bold 1.3em tahoma; 
	color: #09054c; 
} 

#content p { 
	margin: 0 0 15px 0; 
	line-height: 1.3;
} 

#gov_logos { 
	clear: both; 
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
	width: 731px;
	padding-top: 6px;
	position: relative;
} 

#content table {
	border-collapse:collapse;
}

#content table td {
	padding: 6px;
}

tr.row1 {
	background: #ffffff;
	font-weight: bold;
}

tr.row2 {
	background: none;
}

#content table.menu td {
	padding: 6px;
	border: 0;
}

#content table.menu tr.row1 {
	background: #fff;
	font-weight: normal;
	margin-top: 6px;
}

#content table.menu tr.row2 {
	border-bottom: 1px dotted #000;
}

/* Styles for the Text Element
 styles added here will appear in the "apply class"
 drop-down menu in the editor */	

/* <textEditor> */

.button {
	display: block;
	padding: 4px;
	margin: 2px auto;
	background: #ccc;
	border: 1px solid #666;
	color: #666;
	font-weight: bold;
	text-align: center;
	width: 150px;
	text-decoration: none;
}

.specialnote {
	background: #ccc;
	margin: 30px;
	padding: 10px;
	border: #666 solid 1px;
	text-align: center;
}

.left-aligned {
	text-align: left !important;
}

/* </textEditor> */	

.button:visited {	background: #ccc; color: #666;	}
.button:hover	{	background: #e9e9e9;	}

/**********************

Footer

**********************/

#footer {
	width: 731px; 
	margin: auto; 
	text-align: center;
	padding: 1px 0 30px 0;
}

#footer p { 
	font: normal 0.8em arial; 
	color: white; 
} 

#footer span, #footer a { 
	color: #cccccc; 
} 
	
/* @end */

/* @group Nav */
	
/* @end */

/* @group Headings */
h1 {
	color: #000;
	font-size: 175%;
	font-weight: bold;
}
h2 {
	color: #000;
	font-size: 133%;
	font-weight: bold;
}
h3 {
	color: #000;
	font-size: 116%;
	font-weight: bold;
}
h4 {
	color: #000;
	font-size: 108%;
	font-weight: bold;
}
h5 {
	color: #000;
	font-size: 100%;
	font-weight: bold;
}
h6 {
	font-size: 100%;
	color: #000;
	font-weight: normal;
}
/* @end */

/* @group Text Styles */

#content a.button {
	display: block;
	padding: 4px;
	margin: 2px auto;
	background: #ccc;
	border: 1px solid #666;
	color: #666;
	font-weight: bold;
	text-align: center;
	width: 150px;
	text-decoration: none;
}
#content a.button:visited {	background: #ccc; color: #666;	}
#content a.button:hover	{	background: #e9e9e9;	}

/* @end */

/* @group Lists */
#content ul {
	list-style-type: square;
	margin: 10px 20px;
}
#content ul li {
	margin: 6px 10px;
}

#content ol {
	margin: 10px 20px;
}

#content ol li {
	margin: 6px 10px;
}

#content label {
	margin: 0;
}

/* @end */

/* @group Forms */
	
/* @end */

/* @group Links - link visited hover active */
a:link, a:visited {
	color: #09054c;
}
a:hover, a:active {
	text-decoration: none;
}
/* @end */

/* @group Misc */
.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 */

#content div.eventBody {
	margin: 20px 0px;
}

/* @end */
