/* Main Layout
 * - padding and margins
 * - 2 column and 3 column layouts
 * 
 * University of Ottawa
 * Computing and Communications Services
 */

body { margin: 0; padding: 0; }

#main-container { width: 780px; }

#page-links, #main-secondarynav { margin: 0; padding: 0; position: absolute; top: 0; left: 0; } /* Hide the effect of the ul */
#page-links li { list-style: none; margin: 0; padding: 0; height: 0; width: 0px; }
#skip-to-content, #skip-to-localnav { position: absolute; text-indent: -999em; }

/* Section Header */
#genie-section-container { margin: 0; padding:0; clear: both; }
#genie-section-header {
	margin:0; 
	padding:15px 0 0 12px;
	width:518px; 
	height:1%;
	background-position: top left; 
	background-repeat: no-repeat;
	position: relative; float: left;
}
/*#section-title, #parent-org-title { position: absolute; display: block; }*/
/*#section-title span, #parent-org-title span { position: absolute; display: block; left: -999em; width: 100px; }*/
/*a#section-title, a#parent-org-title { overflow: hidden; }*/
a#genie-section-title, a#parent-org-title {color: #FFF; font-size: 1.5em;}

#genie-section-details {  
	width: 174px; float: left; clear: left;
}

/* Page Tools */
#page-tools { margin-left: 524px; width: 240px; height: 76px; padding-top: 10px; }

/* Contact Information */
#contact-info {
	padding: 5px 0 0 10px;
	
	width: 174px;
	height: auto;
}
/* Chop off long non-wrapping email addresses or words (not ideal) */
#contact-info { overflow: hidden; }
/* Correction for standards-compliant browsers */
#section-details > #contact-info { overflow: visible; }

/* Main Content */
#genie-main-content {
	float: left; margin-top: 0;  padding: 0 0 26px 20px;
	width: 396px;
}

#main-content {
		float: left; margin-top: 0;  padding: 0 0 26px 20px;
		width: 396px;
}

#genie-main-content-no-sidebar {
	float: left; margin-top: 0;  padding: 0 0 26px 30px;
	width: 575px;
}

/* Width of main-content with the side-bar */
.has-sidebar #genie-main-content {
	margin-left: 15px;
	float: left;
	width: 396px;
}

/* Correction for standards-compliant browsers */
.has-sidebar #genie-section-container > #genie-main-content { 
	padding: 0 15px 26px 35px;
}

#genie-sidebar {
	
	width: 158px; /* */
	/*position: relative;*/
/*	margin-top: 5px;*/
	float: right;
	height: 1%;
}
/* Correction for standards-compliant browsers */
/*#section-container > #sidebar { margin-left: 571px; height: auto; }*/

/* Sub-section */
.sub-section #sub-section-header {
	margin:0; padding:0;
	width:586px; height:25px;
	background-position: top left; 
	background-repeat: no-repeat;
	position: absolute; float: left;
	top: 145px; left: 194px;
}
.sub-section #sub-section-title { position: absolute; display: block; text-indent: -999em; }

.sub-section #genie-main-content { margin-top: 30px; }
.sub-section #genie-sidebar { margin-top: 40px; }

/* Wide content page */
.wide-content-page #genie-section-container #genie-main-content { width: 730px; margin-top: 0; padding: 15px 26px 26px 24px; background: no-repeat top left; position: relative; }
