html, body {
	height: 100%;
}

body {
	text-align: center;
	background: #f3f1f1 url("../images/banner_bg.png") repeat-x;
	margin: 0;
	padding: 0;
}

#page {
	height: auto ! important;
	min-height: 100%;
	position: relative;
	width: 100%;
}

form {
	margin: 0;
	padding: 0;
}

label {
	display: block;
	font-weight: bold;
	padding: 10px 0 0 0;
}

a {
	text-decoration: none;
	color: #06f;
}

a:hover {
	text-decoration: underline;
}

#banner {
	width: 940px;
	margin: 0 auto;
	height: 95px;
	position: relative;
}

a#damm {
	display: block;
	float: left;
	margin: 23px 0 0 0px;
	text-decoration: none;
	width: 94px;
	height: 47px;
	background: transparent url("../images/dammlogo.png") no-repeat;
}

a#dammskolen {
	display: block;
	float: left;
	margin: 23px 0 0 0;
	text-decoration: none;
	width: 556px;
	height: 60px;
	background: transparent url("../images/dammskolen.png") no-repeat;
}

#login {
	position: absolute;
	right: 0;
	top: 10px;
	width: 350px;
	height: 70px;
	background: #e4f1ae url("../images/login_bg.png") no-repeat;
	color: #5c7010;
	text-align: left;
}

#login .content {
	padding: 5px 10px;
}

#login form {
	clear: both;
}

#login h3 {
	font-size: 1.1em;
	float: left;
}

#login p.options {
	float: right;
	font-size: 0.85em;
}

#login p.username {
	color: #000;
	font-size: 1.1em;
}

#login .column {
	float: left;
}

#login .button {
	background-image: url("../images/loginbutton_left.png");
}

#login .loginbutton {
	float: right;
	margin: 19px 0 0 0;
}

#login .logoutbutton {
	position: absolute;
	top: 10px;
	right: 10px;
}

#login .button input {
	background-image: url("../images/loginbutton_right.png");
	padding: 3px 0 5px 0;
	width: 80px;
}

#login .button a {
	background-image: url("../images/loginbutton_right.png");
	width: 80px;
}

#login label {
	clear: both;
	display: block;
	font-size: 0.85em;
	font-weight: normal;
	padding: 5px 0 0 0;
	margin: 0;
}

#login .input-user {
	border: none;
	width: 122px;
	height: 17px;
	background: transparent url("../images/login_user.png") no-repeat;
	margin: 0 4px 0 0;
	padding: 2px 4px;
}

#login .input-password {
	border: none;
	width: 92px;
	height: 17px;
	padding: 3px 4px;
	background: transparent url("../images/login_password.png") no-repeat;
}

#login div.order
{
    position: absolute;
    top: 10px;
    right: 10px;
}

#login div.order div.button
{
    background-image: url('../images/loginbutton_left_blue.png');
}

#login div.order div.button a
{
    width: auto;
    background-image: url('../images/loginbutton_right_blue.png');
    padding-right: 20px;
    padding-left: 20px;
}

.warning {
	background: #FFF;
	padding: 4px 0 6px;
}
.warning h2 {
	background: #9ec214 url("../images/bg_green.png") repeat-x;
	color: #fff;
	font-size: 1.2em;
	font-weight: bold;
	padding: 6px 8px 3px 8px;
	margin: 0 4px;
	border-bottom: 3px solid #8caa19;
}
.warning ul {
	padding: 6px 4px 20px 4px;
	list-style-type: disc;
	margin-left: 28px;
}
.warning li {
	padding: 1px 0;
}
.warning p {
	padding: 10px 12px 0;
}

#footer {
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: center;
	width: 100%;
	height: 115px;
	background: #8caa19;
	border-top: 4px solid #d2e979;
	color: #fff;
}

#footer .content {
	padding: 25px 0 0 0;
}

#footer p {
	margin: 0 0 10px 0;
}

#footer a {
	color: #fff;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

#infopage {
	width: 950px;
	padding: 20px 0 130px 0;
	margin: 0 auto;
	text-align: left;
	position: relative;
	overflow: auto;
}

#sidebar {
	width: 160px;
	float: left;
	overflow: hidden;
}

#content {
	width: 790px;
	float: right;
	overflow: hidden;
}

/* LMS */

body#lms {
	background: #F0F0F0;
	text-align: center;
}
#lms #infopage {
	width: 790px;
	padding: 0;
	margin: 0 auto;
	text-align: left;
}

#lms .boxtitle h2 {
	background: #9ec214 url("../images/bg_green.png") repeat-x top left;
	color: #fff;
	font-size: 1.2em;
	font-weight: bold;
	padding: 6px 8px 3px 8px;
	margin: 0;
	border-bottom: 3px solid #8caa19;
	display: block;
	width: 740px;
}
#lms #siteInfo {
	text-align: center;
}

div.box div.subscription
{
    padding: 10px 8px;
}

form#bestilling ul
{
    display: block;
    list-style: none;
}

form#bestilling p.error
{
    color: #a50000;
    margin: 5px 0 5px 20px;
    padding-left: 10px;
    border-left: #a50000 2px solid;
}

form#bestilling fieldset
{
    border: none;
    padding: 0;
    margin: 0 0 1em 0;
}

form#bestilling fieldset legend
{
    margin: 0;
    padding: 5px 0;
    font-size: 120%;
    font-weight: bold;
}

form#bestilling fieldset label
{
    font-weight: normal;
    margin-left: 20px;
}

form#bestilling fieldset.foretak label, form#bestilling fieldset.kontaktperson label
{
    display: block;
    position: relative;
    padding: 2px 0 0 0;
    margin-bottom: 5px;
}

form#bestilling fieldset.foretak label input, form#bestilling fieldset.kontaktperson label input
{
    display: block;
    position: absolute;
    left: 150px;
    top: 0;
    border: #666666 1px solid;
}

form#bestilling fieldset.foretak label input.error, form#bestilling fieldset.kontaktperson label input.error
{
    border: #a50000 1px solid;
}

form#bestilling del
{
    text-decoration: line-through;
}
