/* Adapt 2006-10-19 */
/* Styles markeret med stjerne foran er for at fange IE bugs */

body {
	background-color: #fff;
	font-family: georgia, times, times new roman, serif;
	text-align: center;
	margin: 0px;
	color: #333;
	width: 100%;
}
*
{
	font-family: georgia, times, times new roman, serif;
	margin: 0px;
	padding: 0px;
}


a:link {color: #333;}
a:visited {color: #333;}
a:hover, a:active {color: #333;}

.invlink:link, .invlink:visited {
	text-decoration: none;
}

/* standard font-size */
h4, p, .p, th, blockquote, address, #content td, #content ul, #content ol, #related td, #related ul, #related ol, .date, #related .navi {
	font-size: 0.80em;
}

body img { border-width: 0px; }

form
{
	margin: 0px;
	padding: 0px;
}

select { font-size: 1em; }
.checkbox { vertical-align: middle; }
.alert { color: #d71e0f; }
.close { display:none; }
label { cursor: pointer; }

/* text objects */
h1, h2, h3, h4, p
{
	margin: 0px;
	color: #333;
}

h1 {
	margin-bottom: 0.75em;
	font-size: 1.1em;
	color: #3c3c3c;
}

h2 {
	margin-bottom: 1em;
	font-size: 1em;
	color: #3c3c3c;
}

h3 {
	margin-bottom: 0.25em;
	font-size: 0.75em;
	color: #3c3c3c;
}
h4 {
	margin-bottom: 0.25em;
	font-size: 0.75em;
	color: #3c3c3c;
}
p { margin-bottom: 1em; }

.mandatory { color: #d71e0f; }

/* TABLES */

table {
	border-collapse: collapse;
	border-color: #3c3c3c;
}

th, td {
	text-align: left; 
	border-color: #3c3c3c;
}

hr
{
	border-width: 0px;
	border-top: 1px solid #808080;
	height: 1px;
	margin-bottom: 10px;
	clear: both;
}

/* OTHER */
#menu address
{
	font-style: normal;
	font-size: 1em;
	margin-top: 1em;
	line-height: 1.4em;
}
* html #menu address
{
	width: 100%;
	overflow: hidden;
}

blockquote {
	font-style: italic;
}

.hidden { display: none; }

.rightal { text-align: right; }

.whatsnew
{
	clear: right;
	width: 100%;
}

.floatr { float: right; }
.floatl { float: left; }
.box { margin-bottom: 1.2em; }

/* ADDRESSES */
.address {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	padding: 10px;
}

.address .padding {
	background: no-repeat left center;
	font-size: 71%;
	padding: 0px 0px 0px 110px;
}

/* FORM */
input { 
	vertical-align: middle;
}

input.submit
{
	background-color: #d71e0f;
	border: 0px;
	color: #fff;
	padding: 0px 7px 0px 7px;
	height: 22px;
	font-size: 0.8em;
}

.text
{
	font-size: 1em;
	height: 22px;
	border: 0px;
	padding: 2px 5px;
	margin: 1px 0px;
}
input.checkbox
{
	height: 15px;
	width: 15px;
	margin-right: 0.5em;
	margin-bottom: 0.2em;
}

select
{
	font-size: 0.8em;
	height: 22px;
	vertical-align: middle;
	margin: 1px 0px;
}

textarea
{
	font-size: 0.95em;
	padding: 0.2em;
	border: 1px #666 solid;
}

.text, select { border: 1px #666 solid; }

.radio {
	border: 0px;
}

/* COURSES and PRESS CONTACT FORMS and MAILLINGLIST */
#content form.courses input.text, #content form.contact input.text
{
	width: 330px;
}
form.courses .optional
{
	background-color: #eee;
	padding: 10px 5px;
	margin: 10px 0px 10px 0px;
}
* html form.courses .optional {
	width: 100%;
}
#content form.courses select, #content form.contact select
{
	width: 300px;
	font-size: 1em;
}
#content form.courses option, #content form.contact option { 
	font-size: 1em;
}
form.courses table, form.contact table { margin-bottom: 20px; }
form.courses textarea
{
	width: 474px;
	height: 70px;
	font-size: 1em;
}
#content form.courses table td, #content form.contact table td
{
	font-size: 0.91em;
}
#content form.courses table td label { 
	font-size: 1em;
}
#content form.contact textarea
{
	width: 330px;
	height: 70px;
	font-size: 0.97em;
}
body#pageinstitutions #content p input { font-size: 1em; }
body#pageinstitutions #content table.tf { width: 100%; }
body#pageinstitutions #content form
{
	text-align: left;
	width: 250px;
}
body#pagemailinglist #content table input.text { width: 260px; }
body#pagemailinglist #content table { margin-bottom: 20px; }
body#pagemailinglist #content table td, body#pageforgotlogin #content table td, body#pageuseradmin #content table td
{
	padding-right: 2em;
	height: 26px;
}
#content form table td {
	vertical-align: middle;
}
body#pageuseradmin #content form div
{
	width: 207px;
	text-align: right;
}

#content #courses td {
	padding-bottom: 10px;
}

/* lists */
#content ol, #related ol
{
	padding-left: 1em;
	margin-left: 1.5em;
}
#content ul, #related ul
{
	list-style: none;
}
#content ul li, #related ul li { 
	background-image: url(/gfx/generelt/orangeprik.gif);
	background-repeat: no-repeat;
	background-position: 0px 4px;
	padding-left: 1em;
	margin-left: 1em;
}
* html #content ul li { background-position: 0px 6px; }
* html #related ul li { background-position: 0px 6px; }

/* MAIN */
#main
{
	width: 960px;
	margin: 0px auto;
	text-align: left;
}

/* TOP */

#top
{
	background-image: url(/gfx/generelt/logo.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width: 710px;
	height: 145px;
	float: left;
	position: relative;
}

#top form
{
	background-color: #d71e0f;
	padding: 12px 9px 12px 17px;
	position: absolute;
	top: 47px;
	right: 0px;
	text-align: right;
}
#top input.submit
{
	background-color: #d71e0f;
	border: 1px #fff solid;
	color: #fff;
	padding: 0px;
	height: 22px;
	vertical-align: middle;
	width: 53px;
}
#top input.text
{
	vertical-align: middle;
	font-size: 0.9em;
	width: 142px;
	margin: 0px 11px 0px 0px;
}
#top a
{
	display: block;
	width: 200px;
	height: 144px;
}
#bc
{
	font-size: 0.7em;
	position: relative;
	top: 5px;
	text-align: left;
	padding-left: 2.6em;
	padding-top: 0.3em;
}
#bc a:hover, #bc a:active { text-decoration: none; }

/* MENU */
#menu
{
	float: left;
	clear: left;
	width: 190px;
	font-size: 0.75em;
	height: auto;
	background-image: url(/gfx/generelt/left_bg.png);
	background-repeat: repeat-x;
	min-height: 470px;
}
* html #menu { height: 470px; }

#menu div.inner
{
	margin: 30px 20px 20px 20px;
	overflow: hidden;
}

#menu a
{
	display: block;
	width: 100%;
	padding: 0px;
	margin-bottom: 4px;
	color: #272727;
	text-decoration: none;
	font-weight: bold;
}

#menu a:hover, #menu a:active {
	color: #d71e0f;	
}

#menu a.act { color: #d71e0f; }

#menu .submenu {
	padding-left: 10px;
}

#menu li
{
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}
* html #menu ul
{
	width: 100%;
	padding: 0px;
	margin: 0px;
}

#menu li li
{
	padding-left: 5px;
}
#menu li li a {
	font-weight: normal;
}

/* RIGHT RELATED BOX */
#related
{
	width: 250px;
	height: auto;
	float: right;
	background-image: url(/gfx/generelt/right_bg.png);
	background-repeat: repeat-x;
	min-height: 400px;
}
* html #related { height: 400px; }
#related input.text
{
	padding-left: 5px;
	padding-top: 2px;
}
#related input.submit, #related input.login
{
	background-color: #d71e0f;
	border: 0px;
	color: #fff;
}
#related input {
	font-size: 0.9em;
	height: 22px;
}

#related .navi div {
	margin-bottom: 5px;
}

#related .navi div.act a:link, #related .navi div.act a:visited {
	color: #333;
	text-decoration: none;
}

/* Login */
.loginbox
{
	border-bottom: 1px #808080 solid;
	height: 132px;
	margin-bottom: 24px;
}
* html .loginbox, * html .loginbox table, * html .loginbox h2 { width: 100%; }

.loginbox p
{
	padding: 0px;
	margin: 0px;
}
.loginbox h2 { margin-bottom: 0.5em; }
.loginbox td { height: 28px; }
#related .loginbox input.login
{
	width: 56px;
	font-size: 0.97em;
}
#related .loginbox input.text { 
	font-size: 0.97em;
}

#related .inner
{
	margin: 12px 25px 0px 25px;
	width: 200px;
	overflow: hidden;
}

/* MAILINGLIST */

#related .mailinglistbox input.text
{
	width: 100%;
	margin-bottom: 10px;
	font-size: 0.8em;
}
#related .mailinglistbox input.submit
{
	width: 57px;
	font-size: 0.8em;
}

/* CONTENT */
#content
{
	float: left;
	width: 520px;
	height: auto;
	background-image: url(/gfx/generelt/content_bg.png);
	background-repeat: repeat-x;
	min-height: 280px;
	position: relative;
}
* html #content { height: 280px; }

#content .inner
{
	margin: 15px 15px 10px 30px;
	overflow: hidden;
}
* html #content .inner { width: 100%; }
#content .inner h2 { margin-right: 20px; }
#content .arrow, #related .arrow, #menu .arrow { height: 1.1em; }
#content .arrow a, #related .arrow a, #menu .arrow a
{
	display: block;
	background-image: url(/gfx/generelt/pil.gif);
	background-repeat: no-repeat;
	background-position: 0px 2px;
	padding-left: 18px;
	height: 1.1em;
	padding-right: 0.5em;
}
#menu p.arrow a, #menu p.arrow a:hover, #menu p.arrow a:active
{
	height: 1.2em;
	font-size: 1.28em;
	font-weight: normal;
	text-decoration: underline;
}

#content ul, #content ol, #related ul, #related ol { margin-bottom: 1em; }

#pagesearch #content p span
{
	overflow: hidden;
	display: block;
	width: 100%;
}

/* TABLE */

#content table *, #related table * { font-size: 0.94em; }
#content table, #related table { margin-bottom: 8px; }
#content table td, #related table td
{
	height: 1.2em;
	vertical-align: top;
}

/* ADAPT */
#adapt
{
	clear: both;
	width: 960px;
	height: auto;
	font-size: 0.7em;
	text-align: right;
	margin: 0px auto 10px auto;
}
#adapt a
{
	color: #999;
	text-decoration: none;
}
#adapt a:hover, #adapt a:active { background-color: #eee; }

/* FORUM */

#pageforum #content th
{
	width: 150px;
	padding-right: 2em;
}


/* SEARCH */
.searchstatus {
	background: #efefef;
	border: 1px solid #999;
	font-size: 0.9em;
	padding: 2px;
	margin-bottom: 1em;
}

.searchstatus .pages {
	margin-top: 5px;
	font-size: 1em;
}

.stars {
	font-weight: bold;
	font-size: 16px;
	vertical-align: bottom;
	padding-left: 10px;
	margin: 0px;
	line-height: 10px;
	height: 5px;
	padding-bottom: 0px;
	color: #c00;
}
.stars .white {
	color: #ccc;
}

.searchhl {
	background: #eee;
	border: 1px solid #aaa;
	padding: 0px 2px 0px 2px;
	font-weight: bold;
}

#pagesearch #content form table td
{
	padding-right: 1em;
	font-size: 0.9em;
}
#pagesearch #content form table { margin-bottom: 2em; }

#pagesearch #content form select { 
	width: 200px;
	font-size: 1em;
}

/* LIB */
#lib th, #lib td {
	border-bottom: 1px solid #ccc;
}

#lib {
	font-size: 0.8em;
}

#lib .sub {
	padding-left: 20px;
}

#lib a {
	background: url('/gfx/icons/i_unknown.gif') no-repeat left center;
	display: block;
	text-decoration: none;
}

#lib .typedir {background-image: url('/gfx/icons/i_dir.gif');}
#lib .typebmp {background-image: url('/gfx/icons/i_bmp.gif');}
#lib .typejpg {background-image: url('/gfx/icons/i_jpg.gif');}
#lib .typejpeg {background-image: url('/gfx/icons/i_jpeg.gif');}
#lib .typegif {background-image: url('/gfx/icons/i_gif.gif');}
#lib .typetxt {background-image: url('/gfx/icons/i_txt.gif');}
#lib .typedoc {background-image: url('/gfx/icons/i_doc.gif');}
#lib .typexls {background-image: url('/gfx/icons/i_xls.gif');}
#lib .typepdf {background-image: url('/gfx/icons/i_pdf.gif');}
#lib .typeppt {background-image: url('/gfx/icons/i_ppt.gif');}

#lib .ls a {
	padding: 3px 0px 3px 20px;
}

#lib img {
	vertical-align: middle;
	margin-right: 5px;
}


/* ADMIN USER EDIT */
body#pageuseradmin #content #useradmin input.text { width: 109px; }
body#pageuseradmin #content #useradmin table td { padding-right: 3px; }
form.institutionedit input.text { width: 330px; }
form.institutionedit select, form.contact select { width: 300px; }

form.institutionedit table, form.contact table { margin-bottom: 20px; }
form.institutionedit textarea
{
	width: 330px;
	height: 70px;
}
form.institutionedit select { width: 330px; }

/* UK */

#uk
{
	float: right;
	margin: 12px 24px 0px 0px;
}

/* Form invalid input */

#content form .invalid { border-color: #d71e0f; }
h2.invalid, h3.invalid, p.invalid { border: 1px solid #d71e0f; }
p.invalid { padding: 5px; }

/* HOME */
#pageforside #content h2, #pageforside #content p {
	margin-bottom: 10px;
}