/* === UNIVERSAL === */
* {
	margin: 0;
	padding: 0;
}


/* === LAYOUT === */
html {
	width: 100%;
	font-family: helvetica, arial, sans;
	background-image: url('gradering.png');
	background-repeat: repeat-x;
	/*font-variant: small-caps;*/
}

body {
	width: 100%;
}

div#main-content {
	width: 800px;
	margin: 0 auto;
	padding: 40px 0 10px 0;
	font-size: 0.85em;
}

div.bildeside {
	width: 100% !important;
	text-align: center;
}



/* ================
===== HEADER ======
=================*/
h1 {
	text-align: center;
	font-size: 4em;
	font-family: georgia, helvetica;
	padding: 20px 0 20px 0;
	border-bottom: solid 2px #333399;
	color: #333399;
	background-image: url('background6.gif');
	background-color: #bde5ff;
	letter-spacing: 0.05em;
}



/* ==================
====== MENY ========
=================== */
ul#menu {
	font-weight: bold;
	margin: 0;
}

ul#menu li {
	float: left;
	clear: none;
	width: 25%;
	*width: 19.95%; /* FOR IE6 og IE7 */
	text-align: center;
	list-style-type: none;
	border-bottom: solid 2px #333399;
}

ul#menu a {
	color: #222299;
	text-decoration: none;
	display: block;
	padding: 3px 0 3px 0;
}

ul#menu a:hover {
	color: #fff;
	background-color: #333399;
}



/* ====================
======= INNHOLD =======
==================== */
p {
	padding: 5px 0 10px 0;
	line-height: 1.6em;
	/*font-variant: small-caps;*/
	/*text-indent: 2em;*/
}

p#footer {
	text-align: center;
	font-size: 0.8em;
	border-top: solid 1px #333399;
	padding: 10px 0 10px 0;
	margin: 10px 0 0 0;
	color: #999;
	clear: both;
}
p#footer a {
	color: #999;
	text-decoration: none;
}
p#footer a:hover {
	color: #555;
	text-decoration: underline;
}
.footnote {
	font-size: 0.8em;
}


/* ==== FEILMELDINGER ==== */
p.error {
	color: #f00;
	border: dashed 2px #f00;
	padding: 7px;
	margin-bottom: 2px;
}
p.success {
	color: #00f;
	border: dashed 2px #00f;
	padding: 7px;
	margin-bottom: 2px;
}


/* ===== LINKER ===== */
a {
	color: #202099;
}
a:hover {
	color: #f90; /*#00f;*/
}
a:active {
	color: #0f0;
}


/* ===== TABELL ===== */
table {
	border-collapse: collapse;
	margin-bottom: 10px;
	background-color: #fff;
}

table.file_table td {
	font-size: 0.9em;
}

table.termin_table td {
	border-left: solid 1px #ccc;
	border-right: solid 1px #ccc;
}

td, th {
	border: solid 1px #000;
	padding: 3px;
}

th {
	background-color: #000;
	color: #fff;
}

td.month_cell {
	text-align: center;
	padding-top: 5px;
	background-color: #eee;
}


/* ===== SKJEMA ====== */
label {
	display: block;
	padding: 0 0 8px 0;
}

fieldset {
	padding: 5px;
}

form {
	padding-bottom: 10px;
}

input.txtinput {
	width: 300px;
	display: block;
}

input.submit {
	padding: 3px 5px 3px 5px;
}

input.file {
	margin-left: 10px;
}

input.mp3_file {
	display: block;
}

textarea {
	display: block;
	width: 500px;
	height: 200px;
}

select option {
	padding: 0 5px 0 5px;
}



/* ====================
====== OVERSKRIFT ======
==================== */
h2 {
	padding: 0 0 10px 0;
	clear: both;
}

h3 {
	padding: 5px 0 0 0;
	clear: both;
}



/* =====================
======== ADMIN =========
====================== */
p.admin_link {
	text-align: right;
	font-size: 0.8em;
}



/* =====================
======= BILDER ========
==================== */
img {
	border: solid 1px #000;
}

div.picture img {
	display: block;
	margin: 0 auto;
}

div.picture {
	width: 110px;
	/*height: 140px;*/
	/*float: none;*/
	/*clear: none;*/
	display: inline-block;
	padding: 12px;
	border: solid 1px #aaa;
	margin: 0 10px 10px 0;
	text-align: center;
	background-color: #f0f6fd;
}

div.komp_bilde {
	width: 320px;
}

div.picture:hover {
	background-color: #eee;
}

img.forsidebilde {
	border:none;
}

/* =======================
======= LISTER ===========
====================== */
ul {
	margin-left: 30px;
}
