/*
**	PAGE LAYOUT CSS
*/
body#pagebody {
	background: black;
}

body {
	background-position: center;
	background-repeat: repeat-y;
	padding: 0;
	margin: 0;
	height: 100%;
}

#wrapper {
	position: absolute;
	display: block;
	width: 880px;
	top: 109px;
	bottom: 22px;
	padding: 10px;
	background: white;
	border: 1px solid gray;
	left: 50%;
	margin-left: -450px;
}

#wrapper #c1,
#wrapper #c2,
#wrapper #c3,
#wrapper #c4 {
	font-size: 1%;
	position: absolute;
	display: block;
	width: 7px;
	height: 7px;
	background-image: url(../gfx/corners.png);
	background-repeat: no-repeat;
	z-index: 20;
}
#wrapper #c1 {
	background-position: 0px 0px;
	left: -1px;
	top: -1px;
}
#wrapper #c2 {
	background-position: -7px 0px;
	right: -1px;
	top: -1px;
}
#wrapper #c3 {
	background-position: 0px -7px;
	left: -1px;
	bottom: -1px;
}
#wrapper #c4 {
	background-position: -7px -7px;
	right: -1px;
	bottom: -1px;
}


#content {
	background: white;
	position: absolute;
	display: block;
	width: 880px;
	top: 10px;
	bottom: 10px;
	left: 50%;
	margin-left: -440px;
	overflow: auto;
	font-family: Calibri, Verdana;
	font-size: 11px;
	z-index: 19;
	/*border: 1px solid gray;*/
}

div.maincontents {
	margin-left: 3em;
	margin-right: 3em;
	margin-top: 1em;
	margin-bottom: 0.5em;
}

div.maincontents #nyheter {
	float: left;
	width: 160px;
	background: silver;
	border: 1px solid gray;
	padding: 5px;
	padding-bottom: 0px;
	margin-bottom: 2em;
	margin-top: 10px;
	position: relative;
	left: -2em;
}

div.maincontents #nyheter #newslist {
	max-height: 250px;
	overflow: auto;
	padding-right: 3px;
}

div.maincontents #nyheter #newshead {
	position: absolute;
	display: block;
	top: -16px;
	color: gray;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
}
div.maincontents #nyheter div.nyhetsdiv>span {
/*
	position: relative;
*/
	font-weight: bold;
	font-size: 120%;
	display: block;
	border-bottom: 2px solid black;
	margin-bottom: 0.25em;
}

div.maincontents #nyheter div.nyhetsdiv {
	line-height: 120%;
	margin-bottom: 8px;
}

#nyheter #gc1,
#nyheter #gc2,
#nyheter #gc3,
#nyheter #gc4 {
	font-size: 1%;
	position: absolute;
	display: block;
	width: 5px;
	height: 5px;
	background-image: url(../gfx/corners-gray.png);
	background-repeat: no-repeat;
	z-index: 20;
}
#nyheter #gc1 {
	background-position: 0px 0px;
	left: -1px;
	top: -1px;
}
#nyheter #gc2 {
	background-position: -5px 0px;
	right: -1px;
	top: -1px;
}
#nyheter #gc3 {
	background-position: 0px -5px;
	left: -1px;
	bottom: -1px;
}
#nyheter #gc4 {
	background-position: -5px -5px;
	right: -1px;
	bottom: -1px;
}


/*
**	NAVBAR AND ACCOMPANYING ELEMENTS
*/
#logo1 {
	position: absolute;
	display: block;
	width: 237px;
	height: 64px;
	background: url(../gfx/storamellby-logo.png) no-repeat;
	top: 14px;
	left: 50%;
	margin-left: -440px;
	z-index: 20;
}

#logo2 {
	position: absolute;
	display: block;
	width: 261px;
	height: 65px;
	background: url(../gfx/alingsasror-logo.png) no-repeat;
	top: 14px;
	left: 50%;
	margin-left: 179px;
	z-index: 20;
}

#slogan {
	position: absolute;
	display: block;
	width: 265px;
	height: 53px;
	background: url(../gmm/slogan-black.png) no-repeat;
	top: 32px;
	left: 50%;
	margin-left: -136px;
	z-index: 20;
}

#navbar {
	position: absolute;
	display: block;
	width: 860px;
	left: 50%;
	margin-left: -430px;
	top: 85px;
	color: #484848;
	text-align: center;
	z-index: 21;
	font-family: Calibri, Verdana;
	font-size: 11px;
	font-weight: bold;
	border-top: 1px solid #484848;
	border-bottom: 1px solid #484848;
}

#navbar a {
	line-height: 18px;
	padding-left: 0.5em;
	padding-right: 0.5em;
	padding-top: 3px;
	padding-bottom: 3px;
	color: rgb(240,240,240);
	text-decoration: none;
}

#navbar a:hover {
	background: #484848;
	color: #ffa;
}

#footer {
	color: #787878;
	text-align: center;
	position: absolute;
	display: block;
	width: 900px;
	left: 50%;
	margin-left: -450px;
	bottom: 7px;
	font-family: Calibri, Verdana;
	font-size: 11px;
	z-index: 30;
}

div#copyright {
	position: relative;
	width: 80%;
	left: 50%;
	margin-left: -40%;
	clear: both;
	text-align: center;
	color: gray;
	padding-top: 1em;
	margin-top: 2.5em;
	border-top: 1px solid silver;
	padding-bottom: 1em;
}
