/* nollställ marginaler och indrag för alla element - inklusive listor 
   Läs t.ex. http://www.clagnut.com/blog/1287/  om du inte sett denna förr  */
* {margin:0;padding:0;} 
/* Grundinställningar för visningsytan */
html,body { 
	color: #000; 
	height:100%;  /*se till att vi kan utnyttja hela visningsytan */
	text-align:center;  /* centrera #container a'la bluerobot.com del 1 */
	font-family: Arial, Helvetica, sans-serif;

}

a:link, a:visited, a:hover {
	text-decoration:none; 
	color:#2092d2;
	}	

#container {
width:900px; /* innehållets totala bredd */
 min-height:100%;  /*ta upp hela sidan (se MISIE-hack nedan) */
	background: transparent url(../media/x_bg_container.jpg) top repeat-y;
margin:0 auto;  /* centrera #container a'la bluerobot.com del 2 */
text-align: left; /* ... och del 3 */
	border: 0px solid blue;

}

#header{
	width: 900px;
	background: transparent url(../media/x_bg_top.jpg) top no-repeat;
	height: 79px;
	border: 0px solid red;
	}

#header .lefteye {
	display: inline; /* Maste vara med for IE 6, http://www.positioniseverything.net/explorer/floatIndent.html*/
	position: relative;
	margin-left: 140px;
	margin-top: 1px;
    float: left;
	text-align: left;
	border: 0px solid blue;
	}
		
#header .righteye {
	display: inline; /* Maste vara med for IE 6, http://www.positioniseverything.net/explorer/floatIndent.html*/
	position: relative;
	margin: 4px 194px 0px 0px; /* T R B L  left 140*/
    float: right;
	text-align: right;
	border: 0px solid blue;
	}		
	
	
	
#subheader{
	border: 0px solid white;
	}

.innertube_subheader{
	margin-left: 428px;


	}	
	
	
#bigpicturewrapper {
	height: 378px;
	background: transparent url(../media/x_bg_bigpicture.jpg) top no-repeat;
	}

#bigpicture {
	margin-left: 90px;
	width: 720px;
	height: 318px;
	}	
/* tvåspaltad lösning a'la realworldstyle.com del 1*/

#contentwrapper{
	/*float: left;*/
	width: 900px;

	border: 0px solid blue;
	overflow: hidden; /* This hides the excess padding in non-IE browsers */

	}

/*http://www.positioniseverything.net/articles/onetruelayout/equalheight*/




#contentcolumn {
	margin-left: 144px;
    width:403px; /* skall vara mindre än margin-left på #main (med marginal) */
	float:left;
	display: inline; /* Maste vara med for IE 6, http://www.positioniseverything.net/explorer/floatIndent.html*/
	padding: 0px 0px 20px 0px; /* T R B L */
	font-size: 0.7em;
	line-height:150%;
	}


#contentcolumn .ram{
	/*width: 122px;
	height: 142px;*/
	border: 1px solid #ccc;
	text-align:center;
	padding: 1px;

	}




div.float {
  float: left;
  	text-align:center;
  width: 50px;
  height: 80px;
  padding: 8px;
 	border: 0px solid #ccc;
	line-height: 0.95em; 
  }
  
div.float p {
   text-align: center;
   font-size: 0.9em;
   }


/* tvåspaltad lösning a'la realworldstyle.com del 2*/
#leftcolumn {
	width:223px; /* width+margin-left skall vara < width på #container, med marginal  */ 
	margin-left:587px; /* något mer än bredden på #sidebar */
	background: url(../media/x_bg_hogerspalt.jpg) top no-repeat;

	font-size: 0.7em;
	line-height:150%;
	background-color:#ddd;

	}
	
.innertube_leftcolumn{
	margin-left: 30px;
	margin-right: 30px;
	margin-bottom: 0px;
	margin-top: 0px;
	}	
	
/* sidfotsmek */
#belowthefooter {
	
  height:50px;  /* samma som #bottom */
	clear: both;
}
#footer{

	width:900px;
	background: transparent url(../media/x_bg_footer.jpg) top no-repeat;
	height: 50px; /* height = p height + p margin-top + p margin-bottom */
	margin-top:-50px; /* samma som height*/
	margin-left:auto;
	margin-right:auto; 
	font-family: Helvetica, Arial, Geneva,  Helvetica, sans-serif;
    color:#fff;
    font-size: 0.6em;
	padding: 0px 0px 0px 0px;
	border: 0px solid green;
}




#footer a{
	color: #fff;
	text-decoration:none;
	}

#footer .leftfoot {
	margin-left: 100px;
	margin-top: 28px;
    float: left;
	display: inline; /* Maste vara med for IE 6, http://www.positioniseverything.net/explorer/floatIndent.html*/	
	text-align: left;
	}
		
#footer .rightfoot {
	margin-right: 100px;
	margin-top: 28px;
    float: right;
	display: inline; /* Maste vara med for IE 6, http://www.positioniseverything.net/explorer/floatIndent.html*/	
	text-align: right;
	}	

#navcontainer {
	 z-index:110;
	 background: transparent; 
	 text-align: center;
	 border: 0px solid green;
	 }


#nyhetsdatum{
	color:#2092d2;
	}		
#nyhetsdatum a, #nyhetsdatum a:visited, #nyhetsdatum a:active {
	color:#000;
	text-decoration:none;
	}		
#nyhetsdatum  a:hover {
	text-decoration:none; 
	color:#2092d2;
	}	





#top3_news a img {
	border: 1px solid #ccc;
	padding: 3px 3px 1px 3px;
	margin-bottom: 8px;	
	}
	
#top3_news{
	color:#000;
	}		
#top3_news a, #top3_news a:visited, #top3_news a:active {
	color:#000;
	text-decoration:none;
	}		
#top3_news  a:hover {
	text-decoration:none; 
	color:#2092d2;
	}	


 #menu{
 /* Menyknapparna för admin, ligger i ovankant av container */
	position: absolute;
	top: 0px;
	left: 58%;
	margin-top: 0px;	
	padding: 3px 0;
	margin-left: 0;
	border: 0px solid blue;
	z-index: 77;
	}

#menu li
{
list-style: none;
margin: 0;
display: inline;
}

#menu li a
{
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #000;
background: #89867A;
text-decoration: none;
font: bold 11px Calibri, arial, Verdana, sans-serif;
color: #ccc;
}

#menu li a:link { color: #fff; }
#menu li a:visited { color: #fff; }

#menu li a:hover
{
color: #fff;
background: #005792;
border-color: #333;
}





/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

a.squarebutton{
background: transparent url('../images/square-green-left.gif') no-repeat top left;
display: block;
float: left;
font: bolder 11px "Lucida Grande", "Trebuchet MS", arial, Helvetica, sans-serif;; /* Change 12px as desired */
line-height: 15px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 23px) */
height: 23px; /* Height of button background height */
padding-left: 9px; /* Width of left menu image */
text-decoration: none;
}

a:link.squarebutton, a:visited.squarebutton, a:active.squarebutton{
color: #494949; /*button text color*/
}

a.squarebutton span{
background: transparent url('../images/square-green-right.gif') no-repeat top right;
display: block;
padding: 4px 9px 4px 0; /*Set 9px below to match value of 'padding-left' value above*/
}

a.squarebutton:hover{ /* Hover state CSS */
background-position: bottom left;
}

a.squarebutton:hover span{ /* Hover state CSS */
background-position: bottom right;
color: black;
}

.buttonwrapper{ /* Container you can use to surround a CSS button to clear float */
overflow: hidden; /*See: http://www.quirksmode.org/css/clearing.html */
width: 100%;

}
