/* general typography */

body {
    background-color: #6d9cae;
    font-family: Arial;
    font-size: 10pt;
}

h1 {
font-size: 12pt;
font-family: Gill Sans MT;
/* font-weight: normal;  */
/*text-transform: uppercase;*/
font-weight: bold;
}
h2 {
font-size: 12pt;
font-family: Gill Sans MT;
font-weight: normal;
}
h3 {
font-size: 10pt;
font-family: Gill Sans MT;
font-weight: bold;
margin-bottom: 0;
}

/* block layout */
/* reset all margins/paddings so that differences between defaults in browsers don't matter */
* {
    margin: 0; 
    padding: 0;
}


p { margin-top: 1em; margin-bottom: 1em;  }
dl,ul,ol { margin-top: 1em; margin-bottom: 1em; }



dl {margin-left: 2em; margin-bottom: 6pt;}

dd {margin-left: 2em}

ul li { margin-left: 2em;}

#wrapper {
    width: 90%; /* could change this to a percentage for more fluidness  -- but we'll need to rework the header/subheader to be fluid*/
    max-width: 800px;
    margin-top: 20px;
    margin-left: auto; /* automatic centering */
    margin-right: auto; /* automatic centering */
    padding-bottom: 2em;
    background-color: #fff;
    position: relative;
}

#header {
   background-image: url("../png/binary-bg.png");
   /* background-position: top left;  */
   background-position: 0px 2px; /* this offset should really be in binary-bg.png */
   background-color: #fff;
   height: 150px;
}
#header #logo {
    
    display: block; /* needed for centering -- imgs are inline by default*/
    margin-left: auto; /* automatic centering */
    margin-right: auto; /* automatic centering */
}
#header #lang {
    position: absolute;
    top: 117px;
    right: 20px;
}

#header h1 { display: none; }

#subheader {
    background-image:url("../jpg/banner-autumn-thin.jpg");
    background-repeat: no-repeat;
    background-position: top right;
    height: 64px;
    overflow: hidden;
}

#navigation {
   width: 172px;
   float: left;
   margin-top: 4px;
   margin-left: 8px;
   background-color: #fff;
   font: 11pt/12.5pt Gill Sans MT, Trebuchet MS;
   overflow: hidden;
   padding-top: 1em;  /* to bring the navbar in line with the main content area */
}

#navigation ul {
    list-style-type: none;
    text-transform: uppercase;
    padding: 0;margin:0;
}
#navigation ul li {
    margin-left: 0;
}

#navigation ul li ul {
	font-size: smaller;
    text-transform: none;
    display: none; /* changed to 'block' through JS */
    margin-left: 10pt;
}
#navigation ul li ul li ul {
	display: none;
}
#navigation a:link {
	color: #000;
    text-decoration: none;
}
#navigation a:visited {
	color: #000;
    text-decoration: none;
}

#navigation  address {
    margin-top: 40px;
    margin-left: 0;
    font: 9pt/11pt Gill Sans MT, Trebuchet MS;
    text-transform: uppercase;
}

#navigation address #email{
    text-transform: none;
}
#navigation p {
font-size: 10pt;
}
/* content should really be an id, not a class... */
.content {
    position:relative;
    margin-left:212px;
    margin-right:48px;
    /*padding-top: 16px;*/

}
.content p {
    /* font-size: 14px; */ 
}

.content h1 {
	padding-top: 16px;
}

.content h2 {
 /*	padding-bottom: px; */
}

#clear {
	/* specific for the footer */
	clear: both;
	text-align: right;
	font-size: x-small;
	font-style: italic;
}
.clear {
 	/* general floater-clearer class */
 	clear: both;
}



img.illustration {
    float: right;
    margin-right: -48px; /* corresponds with margin-right: 48px; in content definition above */
	margin-left: 10px;
	margin-top: 8pt;
}

img#exterior {
border: solid thin red;
position: absolute;
top:0; right:0;
}

a img {
    border: none;
}

/* sidebar styling - används bara på förstasidan */
#sidebar {
    /*position: absolute;*/
    float: right;
    width: 33%;
    padding-top: 16px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #ffc;
    margin-left: 40px;
    margin-right: -48px;  /* corresponds with margin-right: 48px; in content definition above */
                          /* overriden for IE6 in ie6fix.css */
}
#sidebar p{
    font-size: 12px;
    margin-top: 0;
}
#sidebar h1 {
    padding-top: 0;
	/*    margin-bottom: 16px; */
}

#sidebar .hfeed {
	margin: 0;
}
#sidebar .hfeed .hentry {
	margin: 0;
}

#sidebar .hfeed .hentry h3 { 
	font-weight: bold;
	font-size: 10pt; /* why is this needed? */
	margin-top: 1em;
}
#sidebar .hfeed .hentry h3 a {
    text-decoration: none;
    color: black;
}

/* this does not work for some reason */
#searchresults {
	positioning: relative;
	left: -288px;
}


/* i stället för tabeller kan följande användas */


/* Christines styles för publikationer som inte fungerar just nu */

.cv1 {
    float: left;
    text-align: right;
    margin: 0 1em 0 0;
    width: 6em;
    }
.cv2 {
    float: left;
    margin: 0;    
    }

/ * MISC*/ 

/* CANNOT DECLARE x, y, z {} */
a.aktuellt:hover {text-decoration:none;color: #000000;}
a.aktuellt:link {text-decoration:none;color: #000000;}
a.aktuellt:visited {text-decoration:none;color: #000000;}
a.aktuellt:active {text-decoration:none;color: #000000;}

a.language:link {float:right;margin-top:15px;margin-right:-25px;}
a.language:visited {float:right;margin-top:15px;margin-right:-25px;}
a.language:hover {float:right;margin-top:15px;margin-right:-25px;}
a.language:active {float:right;margin-top:15px;margin-right:-25px;}

/* MUST BE AFTER "a." */
.img_std {
	float:left;
	margin-top:15px;
	margin-right:8px;
	margin-bottom:2px;
	border:0px solid red;
	}

blockquote {
	padding-left:40px;
	padding-right:40px;
}

.index-lvl-1 {
	text-transform:uppercase;
	font-weight:bold;
	line-height:1.5em;
	list-style:none outside url();
	padding-left:0px;padding-bottom:5px;
	margin-left:0px;text-indent:-2em;
}
.index-lvl-2{
	list-style:none outside url();
	text-transform:capitalize;
	font-weight:normal;
	padding-bottom:5px;
}
.index-lvl-3{
	text-transform:capitalize;
	font-style:italic;
	font-weight:normal;
	list-style:none outside url();padding-bottom:5px;
}
.index-lvl-4{
	font-style:normal;
	list-style:none outside url();padding-bottom:0px;
}
