/*
 * Project:		Rönninge Gymnasium CSS 
 * Author:		Tomas Lindahl
 * 
 */


/* General properties */
* {
	margin: 0;
	padding:0;
} 
html, body {
	height: 100%;
}


div#grid { /* For layouting purposes, hide when finished */
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 900;
}

/* Font properties */
p {
	margin: 0 0 1.6em 0;
}

div#content_main ul, div#content_main ol {
	margin: 0 0 0 40px;
}
	div#content_main ul li, div#content_main ol li {
		margin: 0 0 8px 0;
	}
div#footer p {
	margin: 0;
	position: relative;
	top: 12px;
	left: 10px;
}
div#programme_menu p {
	margin: 0 20px 0 0;
}
table tr td {
	margin: 0 0 1.2em 0;
}

table tr td p {
	margin: 0 0 1.6em 0;
}

h1, h2, h3 {
	margin: 0 0 15px 0;
}

div#programme_menu h1 {
	position: relative;
	left: 18px;
	top: 15px;
	margin: 0 0 15px 0;
}

h2 {
	margin: 5px 0 15px 0;
}

h3 {
	margin: 0 0 2px 0;
}

/* Image properties */
div#content_main div#column_left.subpage.subpage_wide img {
	margin: 10px;
	margin-top: 10px;
}

/* Link properties */

a span.bullet_orange, a span.bullet_blue {
	display: block;
	height: 27px;
	padding: 0 0 0 30px;
}

/* Misc properties */

table.bluebox tr td {
	padding: 10px;
}

/* Top bar */
div#top_bar {
	height: 11px;
}

/* Header properties */
div#header {
	width: 100%;
	position: relative;
}
div#logo {
	height: 57px;
	width: 425px;
	position: absolute;
	top: 0;
	left: 6px;
	
}
	div#header div#header_content {
		width: 949px;
		margin: 0 auto;
		padding: 53px 0 57px 0;
		position: relative;
	}
		div#header div#header_content div#programme_menu {
			width: 437px;
			height: 214px;
			position: relative;
		}
	div#header div#header_content div#programme_menu p {
		width: 340px;
	}
	div#header div#header_content div#snapshot_box, div#header div#header_content object#snapshot_box {
		width: 523px;
		height: 308px;
		position: absolute;
		right: 0;
		top: -10px;
	}

/* Programme menu */

	div#programme_menu div.menu  {
		position: relative;
		top: 10px;
		left: 20px;

	}
	
	div#programme_menu div.menu ul li {
		float: left;
		display: inline;	
		width: 199px;
		margin: 0 0 5px 0;
	}
		div#programme_menu div.menu ul li a {
			float: left;
			display: inline;
			padding: 3px 0 3px 0;
		} 
		

	
/* Main menu properties */

div#menu_main {
	position: absolute;
	bottom: 0px; 
	_bottom: -1px; /* IE6 height */
	left:0;
	width: 660px;
}
	div#menu_main div.menu ul#menu_folder_0 {
		display: block;
		margin: 0 0 -1px 15px;
		
	}
	div#menu_main div.menu ul li {
		display: block;
		float: left;
	}

		div#menu_main div.menu ul li a {
			display: block;
			float: left;
			padding:19px 15px 13px 15px;
		}
		div#menu_main div.menu ul li a.selected {
			height: 13px;
		}		
		
		div#menu_main div.menu ul li a:hover {
			height: 14px; 
			padding:18px 15px 13px 15px;
		}
		div#menu_main div.menu ul li a.selected:hover {
			height: 14px;
			padding:19px 15px 12px 15px;

		}	
/* Global menu properties */
div#menu_global {
	position: absolute;
	bottom: 0px; 
	_bottom: -1px; /* IE6 height */
	right:0;
	width:270px;

}
	div#menu_global ul {
		margin: 0;
		padding: 0;
		color: white;
		float: right;
		right: 95px;
		list-style-type: none;
		position: relative;
	}
		div#menu_global ul li {
			display: block;
			float: left;
		}
		div.global_email, div.global_gmail {
			position: absolute;
			bottom: 0;
			right: 0;
		}
		div.global_gmail {
		
		
		}
		div#menu_global ul li a, div.global_email a, div#menu_global ul li a, div.global_gmail a {
			color: white;
			display: block;
			font-size: 1.1em;
			font-weight: 600;
			float: left;
			padding: 29px 5px 12px 5px;
		}
		div.global_gmail a {
			margin-right: 50px;
		}
		
/* Sub menu properties */

	div#column_left.subpage div.menu {
		margin-left: 1px;
	}
		div#column_left.subpage div.menu ul {
			margin: 15px 0 15px 15px;
		}
			div#column_left.subpage div.menu ul li {
				display: block;
				padding-left: 13px;
				padding-right: 10px;
				word-wrap: break-word;
			}


/* Content wrapper */
div#content_wrapper {
	width: 100%;
	z-index: 500;
	position: relative;
}
/* Content main properties */
div#content_main {
	width: 956px;  
	margin: 0 auto;
	position: relative;
	z-index: 500;
}

/* Column properties */

div#column_left, div#column_middle, div#column_right {
	width: 273px;
	float: left; 
	margin:22px 0 0  32px;
	position: relative;
} 
div#column_right {
	float: right;
	display: inline;			 /* Double margin bug fix for IE6*/
	margin-right: 5px;
	_margin-right: 4px; 		/* Hack för 1px error for IE6 */
	position: relative;
	z-index: 800;


}
html > body div#column_right {  /* Hack to emulate min-height for IE6 */
	height: auto;
	min-height: 255px;
}
	div#column_right > h1,
	div#column_right > h2,
	div#column_right > h3,
	div#column_right > p {
		padding: 0 10px;
	}
	div#student_opinion {
		position: absolute; 
		display: none;
		top: 300px;
	}
	div.puff {
		height:136px;
		width: 273px;
		z-index: 900;
	}
	div.puff ul {
		list-style-type: none;
		position: relative;
		top: 55px;
		left: 55px;
		width: 170px;
	}
		div.puff ul li {
			float: left;
			display: block;
			padding: 3px 3px 3px 5px;
		}
		div.puff ul li a {
			font-size: 1em;
			font-weight: 600;
		}
div#column_left.subpage {
	width: 168px;
	margin-left: 4px;
	_margin-left: 5px;
}

div#column_left.subpage_wide {
	width: 610px;
	margin-left: 32px;
}

div#column_middle.subpage {
	width: 442px;
}

div#column_left {
	margin-left: 37px;
	display: inline; /* Double margin bug fix for IE6*/
}
 
div#column_middle {
	width: 303px;
}


/* Footer properties */
div#footer {
	height: 37px;
	position: relative;
	width: 956px;
	margin: 0 auto;
	clear: both;
}
	div#footer div#footer_content {
		height: 37px;
		position: relative;
		float: left;
		width: 673px;
		margin: 0 0 0 5px;
	}
	div#footer div#footer_bottom {
		height: 47px;
		position: absolute;
		bottom: -9px;
		width: 956px;
		left:0;
		overflow: hidden;
	}
	
/* Misc properties */

div.padding_level_1 {
	padding: 18px;
}


/*
 * Makes floating objects take up space. Fix from http://www.csscreator.com/attributes/containedfloat.php
 */
.floatcontainer:after {
	content: ".";
	display: block;
	height: 0;
	font-size: 0;
	clear: both;
	visibility:hidden;
}

.floatcontainer
{
	display: inline-block;
}

/* Hides from IE Mac \*/
* html .floatcontainer
{
	height: 1%;
}

.floatcontainer
{
    display:block;
}
/* End Hack */


