/*
 * General styles
 */
body {
	background-color: #f6f6ff;
	margin: 0;
	padding: 0;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 65.8%;
}

a {outline:none;color:#49314f;}
a:hover {color:#00a675;}
a img {border:none;}
.clear {clear:both;}
h1 {font-size: 200%;}
h2 {font-size: 170%;}
h3 {font-size: 150%;}
/*
 * Positioning of containers
 */

#wrapper {
	width: 960px;
	margin: 0 auto;
	padding:0;
	border: 1px solid #000;
}
#page {
	background: #fff url(../gfx/left.jpg) top left repeat-y;
	float:left;
	width: 960px;
	font-size: 120%;
}
.index {
	background: url(../gfx/frontpage.jpg) top left no-repeat !important;
}
/*
 * Logo
 */
#logo, #logo img {float:left;}

/*
 * TOP menu
 */
#topmenu {
	width: 776px;
	float:right;
	padding:0;
	margin: 15px 0;
	list-style: none;
}
#topmenu li {
	float:left;
	margin: 0 6px 0 0;
	padding: 0;
	position: relative;
	display: none;
}
#topmenu li#searchbox {
	float:right;
	margin: 15px 15px 15px 0;
	display:inline;
	position: relative;
}
#topmenu li a {
	text-indent: -9000px;
	background: #fff url(../gfx/topmenu.gif) top left no-repeat;
	height: 19px;
	line-height: 19px;
	float: left;
	color: #49314f;
	text-decoration: none;
}
#topmenu li#tm_home {display:inline;}
#topmenu li#tm_home a {width: 43px;background-position: 0 0;}
#topmenu li#tm_home a:hover, #topmenu li#tm_home a.selected {background-position: 0 -20px;}

#topmenu li#tm_about {display:inline;}
#topmenu li#tm_about a {width: 120px;background-position: -49px 0;}
#topmenu li#tm_about a:hover, #topmenu li#tm_about a.selected {background-position: -49px -20px;}

#topmenu li#tm_alumni {display:inline;}
#topmenu li#tm_alumni a {width: 45px;background-position: -174px 0;}
#topmenu li#tm_alumni a:hover, #topmenu li#tm_alumni a.selected {background-position: -174px -20px;}

#topmenu li#tm_contact {display:inline;}
#topmenu li#tm_contact a {width: 112px;background-position: -227px 0;}
#topmenu li#tm_contact a:hover, #topmenu li#tm_contact a.selected {background-position: -227px -20px;}


#topmenu li input {
	border:none;
	float: left;
	color: #49314f;
	text-decoration: none;
	margin: 0 0 0 6px;
}
#topmenu li #searchfield {
	background: url(../gfx/search_input.gif) top left no-repeat;
	float:left;
	width: 125px;
	height: 19px;
}
#topmenu li #searchfield input {
	height: 13px;
	width: 115px;
	font-size: 90%;
	padding: 0;
	margin: 2px 5px 0;
	border: #fff 1px solid;
}

/* submenu */
#topmenu li ul {
	display: inline;
	visibility: hidden;
	top: 19px;
	background-color:#49314f;
	z-index: 5;
	width: 200px;
	position:absolute;
	left:0;
	background-color:#fff;
	margin:0;
	padding:2px 0 0;
}
#topmenu table {border-collapse:collapse; margin:0; padding:0; font-size:1em; margin:-1px;}

#topmenu li ul li {
	border:1px solid #49314f;
	margin:0;padding:0;
	width: 200px;
	position: relative;
	display: inline;
	float:left;
	width:auto;
}
#topmenu li ul li a {
	text-indent:0;
	background: #49314f;
	width:190px !important;
	margin:0;
	padding:2px 5px;
	color:#fff;
}
#topmenu li ul li a:hover, #topmenu li a ul li a:hover {background-color:#fff;color:#49314f;display:block;}

#topmenu li:hover ul, #topmenu li a:hover ul {visibility:visible;}

/*
 * Content
 * Main content containing articles, lists .. etc
 */
#content {
	width: 776px;
	float:right;
	padding:0;
	margin:0;
	background: #fff url(../gfx/history.jpg) top right repeat-y;
}
.index #content {
	background: none;
}
#map {
	margin: 64px 0 0 0;
	float: left;
}
#maincontent {
	padding: 0 0 20px;
	width: 556px;
	float:left;
}

.index #maincontent {
	width: 456px;
}

div.image img {display:block;}
div.image {
	float:left;
	background-color: #efecee;
	margin:0 0 20px;
	width: 100%;
}
div.image.right {float:right;margin: 0 0 0 10px;width:auto;}
div.image.left {float:left;margin: 0 10px 0 0;width:auto;}
p.caption {
	font-size: 90%;
	float: left;
	margin: 0;
	padding: 7px;
}
#maincontent h1 {
	color: #49314f;
	margin: 0 0 20px;
}
.index #maincontent h1 {
	margin: 150px 0 20px;
}
#maincontent h1 strong {
	color: #00a675;
}
#maincontent h2 {
	color: #00a675;
	margin: 0 0 20px;
}

#maincontent #participants {
	width: 556px;
	margin: 20px 0 0;
	float: left;
	padding: 0;
	list-style: none;
}
#maincontent #participants li {
	font-size: 100%;
	float: left;
	display: inline;
	width: 268px;
	padding: 0 10px 10px 0;
}
#maincontent #participants li a {
	font-size: 120%;
	color: #00a675;
	text-decoration: none;
	font-weight: bold;
}

#maincontent img.participant {
	float:left;
	margin: 0 10px 0 0;
}

#maincontent form ul {
	margin:20px 0 0;
	width: 556px;
	padding:0;
	list-style: none;
}
#maincontent form ul li {clear:both;float:left;margin: 0 0 5px;width: 556px;}
#maincontent form ul li label {float:left; width: 120px;color:#00a675;font-weight:bold;}
#maincontent form ul li input, #maincontent form ul li textarea {float:left; width: 350px;border:1px solid #49314F;}
#maincontent form ul li input#submit {
	width:auto;
	border:1px solid #49314F;
	color:#49314F;
	background-color: #fff;
	margin: 10px 0 0;
	padding: 2px 5px;
}
/*
 * History
 * Right column
 */
#history {
	width: 192px;
	float: right;
	padding: 0 0 20px;
}
#history h2 {
	color: #49314f;
	float: left;
	margin: 16px 20px 0;
	display: inline;
	width: 152px;
	clear: both;
}
#history ul li h3 {
	width: 152px;
	float: left;
	margin: 0 0 4px;
	padding: 0;
	color: #00a675;
}
#history ul {
	clear:both;
	float: left;
	margin: 16px 20px;
	width: 152px;
	padding:0;
	list-style: none;
	display: inline;
}
#history ul li {
	float: left;
	clear: both;
	width: 152px;
	margin: 4px 0 0;
}
#history ul li a {
	color: #49314f;
	text-decoration: none;
}
#history ul li a:hover {
	color:#00a675;
}

#history ul li a.selected {
	color:#00a675;
	padding: 0 0 0 10px;
	display: inline;
	background: url(../gfx/historyselected.gif) left 6px no-repeat;
}

/* Neste linje fungerer ikke i IE 6/7 - alle andre nettlesere støtter dette - ref: http://www.quirksmode.org/css/contents.html -> :before and :after */
/*#history ul li a.selected:before {content: "> ";color:#49314f;}*/

#footer {
	border-top: 1px solid #49314f;
	background-color: #fff;
	margin:0;
	padding:0;
	list-style: none;
	width: 960px;
	float:left;
	clear: both;
}
#footer li {
	float:left;
	width: 324px;
	font-size: 90%;
	padding: 10px 30px;
}
#footer li#sponsor {
	width:192px;
	padding: 0;
}
