body {
	background-color: #f7f7f7 !important;
	margin: 0;
	padding: 0;
}
#page {
	width: 1000px;
	min-width: 460px;
	padding: 0 20px;
	margin: 0 auto 40px auto;
}
#contentwrapper {
	width: 100%;
	position:relative;
}
#header {
	height: 120px;
	margin: 0;
	padding: 0;
	position: relative;
	background-image: url(../images/topline.png);
	background-repeat: no-repeat;
	background-position: top center;
	overflow: hidden;
	z-index: 5;
}
#content {
	width: 90%;
	padding: 60px 5% 30px 5%;
	margin-top: -1px;
	position: relative;
	background-color: #ffffff !important;
	-moz-box-shadow: 0 0 15px #ccc;
	-webkit-box-shadow: 0 0 15px #ccc;
	box-shadow: 0 0 15px #ccc;
	border: solid 1px #e3e3e3;
}
#footer {
	font-size: 10px;
}

/* Tatt bort da logo har blitt lagt inn i html med link */
/*
#logo {
	display: block;
	position: absolute;
	width: 231px;
	height: 48px;
	top: 53px;
	left: 0px;
	padding: 0 !important;
  	background-size: 100% 100%;
	text-indent: -9999px;
}
*/
div.breadcrumbs {
	position: absolute;
	padding: 0;
	top: 9px;
	left: 9px;
	font-size: 0.8em;
}
div.userinfo {
	position: absolute;
	padding: 0;
	top: 10px;
	right: 0px;
	font-size: 0.8em;
	color: #999;
}
#mainmenu {
	position: absolute;
	bottom: 0px;
	right: 0px;
	height: 50px;
	display: block;
}

#login-logo {
	width: 390px;
	height: 80px;
	margin: 130px auto 40px auto;
	background-image:url(../images/arkivet-logo.png);
	background-size: 100% 100%;
	text-indent: -9999px;
}
#login {
	width: 280px;
	padding: 30px;
	margin: 0 auto;
	position: relative;
	background-color: #ffffff !important;
	-moz-box-shadow: 0 0 15px #ccc;
	-webkit-box-shadow: 0 0 15px #ccc;
	box-shadow: 0 0 15px #ccc;
	border: solid 1px #e3e3e3;
}
#login input[type="text"], #login input[type="password"] {
    background: none repeat scroll 0 0 #FBFBFB;
    border: 1px solid #E5E5E5;
    box-shadow: 1px 1px 2px rgba(200, 200, 200, 0.2) inset;
    color: #555555;
    font-size: 24px;
    font-weight: 200;
    line-height: 1;
    margin-bottom: 16px;
    margin-right: 6px;
    margin-top: 2px;
    outline: 0 none;
    padding: 3px;
    width: 100%;
}
#login input[type="text"]:focus, #login input[type="password"]:focus {
	border-color: #A1A1A1;
}
#login input[type="submit"] {
	font-size: 13px !important;
    padding: 0.4em 0.8em;
    background-color: #21759B;
    background-image: linear-gradient(to bottom, #09f, #005999);
    border-color: #005999 #005999 #005999;
    box-shadow: 0 1px 0 rgba(120, 200, 230, 0.5) inset;
    color: #FFFFFF;
    text-decoration: none;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.1);
    box-sizing: content-box;
	-moz-box-sizing: content-box;
    border-radius: 3px 3px 3px 3px;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    height: 20px;       
    line-height: 23px;
    margin: 0;
    white-space: nowrap;
}
#login input[type="submit"]:hover {
    background-image: linear-gradient(to bottom, #3eb2ff, #005999);
}

/* Retina version of logo */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2) {
#logo {
    /* Fjernet da logo må ha hyperlink og nå er img-tag */
    /* background-image: url(../images/arkivet-logo-liten@2x.png); */
}
#login-logo {
    /* Fjernet da logo må ha hyperlink og nå er img-tag */
    /* background-image:url(../images/arkivet-logo@2x.png); */
}
}

/* Responsive design elements */
@media screen and (max-width: 1040px) {
#page {
	width: 96%;
	padding: 0 2%;
}
}
@media screen and (max-width: 770px) {
#header {
	height: 150px;
}
#logo {
	top: 25px;
}
}
@media screen and (max-width: 550px) {
#header {
	height: 120px;
}
#mainmenu {
	height: 30px;
}
#mainmenu li {
	height: 30px;
}
#mainmenu li a {
	padding: 6px 5px;
	font-size: 12px;
	height: 18px;
	line-height: 18px;
}
#login-logo {
	margin-top: 50px;
}
}

/* iPad fix */
@media only screen and (device-width: 768px) {
#page {
	width: 960px;
	min-width: 960px;
	padding: 0 20px;
}
#header {
	height: 120px;
}
#logo {
	top: 53px;
}
#mainmenu {
	height: 50px;
}
#mainmenu li {
	height: 50px;
}
#mainmenu li a {
	padding: 6px 10px;
	font-size: 14px;
	height: 38px;
	line-height: 38px;
}
}
