
/* 
	Stylesheet by Mediabyrån at Karolinska Institutet University Library 
	Features: Scalable text, scalable width, Dreamweaver templates and Contribute support, menus styled as lists 
	elisabet.frigell@kib.ki.se. 2007-04-24 -- 2007-05 /EF 
*/

/* General styling for all areas */
/* ---------------------------------------------------------------------------- */

/* Don't set font size in body. Set it in content area. Otherwise everything else will be relative to this */
html {
	/*max-width: 900px;*/
}

body {
	margin: 0;
	padding: 0;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	background-color: #fff;
}

/* div for printing link path and full url, not visible on screen */
	div#utskrift, span.invisible {
	display: none;
	visibility: hidden;
	}
	
/* Set Internet Explorer to inherit fontsize in tables from surrounding element */
table {
    font-size: 100%;
}

/* Set browsers with proper CSS2 support (Mozilla, Opera) to inherit fontsize in tables from surrounding element */
* > table {
	font-size: inherit;
}

/* Set no cellpadding and align top as default for all table cells */
td, th {
   margin: 0px;
   /*vertical-align: top;*/
}

/* Set margins to avoid excessive spacing between headers and text */
p, td, th, ul, ol, dl, pre {
	margin-top: 0;
	margin-bottom: 6px;
}

/* Font family for all headings */
h1, h2, h3, h4, h5 {
	/*font-family: Arial, Helvetica, sans-serif;*/
	color: #000;
	margin-top: 0; 
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
	/*clear: left;*/
}

h1 {
	font-size: 1.2em;/*1.3*/
}

h2 {
	font-size: 1em;/*1.1*/
}

h3 {
	font-size: 0.9em;
}

li {
	margin-top : 6px;
   margin-bottom: 1em;
}

dt {
	font-weight: bold;	
	margin-top : 6px;
   margin-bottom: 0px;
}

hr {
    height: 1px;
    border: none;
    background-color: #666666;
}

/* General link styling */
a:link {
   color: #03c;
   text-decoration: none;
}

a:visited {
   color: #03c;
}

a:active {}

a:hover {
    text-decoration : underline;
}


div#content img, div#content p img, div#content2 img, div#content2 p img, div#contentsub img, div#contentsub p img {
padding-right: 1em;
padding-bottom: 1em;
padding-top: 0.5em; 
padding-left: 0;
}

div#header {
	background-color: #fff;
	clear: both;
	height: 94px;
	background: url(../images/chemores_header_bgr.jpg) no-repeat left;
	border-bottom: 1px solid #333;
	padding: 0;
	margin: 0;
}

div#header img {
	width: 250px;
	height: 94px;
	padding: 0;
	margin:0;
}


div#navigation {
	background-color: transparent;
	background: url(../images/menu_bgr_lev1_2x19px.gif) repeat-x bottom;
	margin: 0;
	padding: 0;
	display: table;
	width: 100%;
}

div#navigation ul {
	margin-top: 0;
	margin-bottom: 0;
	margin-right: 1.5em;
	margin-left: 2em;
	padding: 0;
	list-style-type: none;
	display: inline;
}

div#navigation ul li a {
	text-decoration: none;
	background-color: transparent;
	color: #000;
	font-size: 0.7em;
	font-weight: bold;
	display: block;
	padding-left: 2em;
	padding-right: 2em;
	padding-top: 0.35em;
	padding-bottom: 0.4em;
	border-right: 1px solid transparent;
	border-left: 1px solid transparent;
}

div#navigation ul li a.selected, div#navigation ul li a:hover {
	background-color: #fff;
	border-left: 1px solid #333;
	border-right: 1px solid #333;
	color: #000;
}

div#navigation ul li {
	float: left; 
	margin: 0; 
}

div#footer {
	background-color: #fff;
	clear: both;
	font-size: 0.7em;
	color: #690040;
	text-align: center;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	padding: 0.3em;
}

div#updated {
	color: #333;
	font-size: 0.67em;
	text-align: center;
	padding: 0.5em;
}

div#footer a, div#produced a {
	color: #690040;
	text-decoration: none;
}

div#footer a:hover, div#produced a:hover {
	text-decoration: underline;
}

div#produced {
	float: right;
	color: #ccc;
	font-size: 0.67em;
	padding-right: 0.5em;
}

div#contentholder {
	clear: both;
	font-size: 0.7em;
	background-color: #fff;
	display: table;
	width: 100%;
	background-image: url(../images/rightnav_background.gif);
	background-position: right;
	background-repeat: repeat-y;
	/*min-width: 50em; - funkar ej när de övriga spalterna är satta till procent */
	border-top: 1px solid #333;
	background-color: white;
}

div#contentholdersub {
	clear: both;
	font-size: 0.7em;
	background-color: #fff;
	display: table;
	width: 100%;
	/*min-width: 50em; - funkar ej när de övriga spalterna är satta till procent */
	border-top: 1px solid #333;
	background-color: white;
}
/* For front page */
div#content {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	float: left;
	border-right: 1px solid #ccc;
	margin-right: -1px;
	width: 33%;
}
div#content2 {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	float: left;
	margin-right: 0.5em;
	border-left: 1px solid #ccc;
	width: 33%;
}


/* For all other pages */
div#leftnavigation {
	float: left;
	border-right: 1px solid #ccc;
	margin-right: -1px;
	width: 16em;
	margin-top: 2em;
}

div#leftnavigation p#leveltwo {
	font-size: 0.8em;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0.7em;
	padding-left: 18px;
}

div#leftnavigation ul {
	font-size: 0.8em;
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #c6c6c6;
}

div#leftnavigation ul li {
	background-image: url(../images/red_box.gif);
	background-position: left top;
	background-repeat: no-repeat;
	border-bottom: 1px solid #c6c6c6;
	margin-left: 6px;
	margin-top: 0;
	margin-bottom: 0;
	padding-right: 4px;
	padding-left: 1.25em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	text-align: left;
	display: block;
}


div#leftnavigation ul li a, div#leftnavigation ul li.true a {
	text-decoration: none;
	color: #000;
}
div#leftnavigation ul li a:hover, div#leftnavigation ul li.true a:hover {
	text-decoration: underline;
}

div#leftnavigation ul li.true {
	background-image: url(../images/red_arrow.gif);
	background-position: left top;
	background-repeat: no-repeat;
	font-weight: bold;
}

div#leftnavigation ul li.subheader {
	background-image: none;
	font-weight: bold;
	border-bottom: none;
	padding-bottom: 0;
	padding-top: 1.2em;
}

div#contentsub {
	margin-top: 0;
	margin-bottom: 0;
	float: left;
	margin-right: 110px;
	padding: 1em;
	border-left: 1px solid #ccc;
	border-right: 1px solid #c6c6c6;
	width: 50%;
}

div#rightmargin {
	float: right;
	width: 5em;;
}

div#content2  hr {
	padding: 0;
	margin-left: 1.5em;
	margin-top: 1em;
	margin-bottom: 1em;
	clear: both;
}

div#content2 h2, div#content h2, div#content2 h1, div#content h1, div#contentsub h1, div#contentsub h2 {
	padding-bottom: 0.4em;
	margin-left: 1.5em;
	padding-top: 0.7em;
}

div#content h2 {
	padding-top: 1em;
}
/*div#contentsub h1 {
	padding-bottom: 0.2em;
	margin-left: 1em;
	padding-top: 0.9em;
}*/

div#contentsub h2 {
	padding-top: 0.9em;
}

div#content p, div#content2 p, div#content tabel, div#content2 table {
	max-width: 30em;
	margin-top: 0;
	margin-left: 1.5em;
	padding-top: 0;
	padding-right: 1.5em;
}

div#contentsub p {
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 1em;
	max-width: 40em;
}

div#contentsub h1, div#contentsub h2 {
	padding-left: 0;
	margin-left: 0;
}

div#rightnavigation {
	color: #333;
	background-color: transparent;
	float: right;
	width: 200px;
	padding: 0;
	margin-left: 1em;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	margin-right: 1.5em;
}

div#rightnavigation p {
	vertical-align: top;
	margin-left: 1.5em;
}
div#head-holder {
}

/* Hide or show when printing */
@media print {
	body {
	font-family: Century Schoolbook, Georgia, serif;
	font-size: 14pt;
	margin-left: 3em;
}
	div#utskrift {
	clear: both;
	display: inline;
	visibility: visible;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.5em;
	padding-top: 2em;
}
a:link {
	text-decoration: underline;
}

div#produced, div#rightnavigation, div#footer, div#navigation, div#leftnavigation, div#rightmargin {
	display: none;
}
	
div#header {
	background-color: #fff;
	background: none;
	visibility: hidden;
}

div#header img {
	visibility: visible;
}

span.invisible {
	display: block;
	visibility: visible;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.6em;
	padding-left: 1em;
	height: 1.5em;
	margin: 0;
}

span.invisible span.true {
	margin: 0;
	padding:0;
}

span.invisible span.false {
	display: none;
}	

div#contentholder, div#contentholdersub {
	background-image: none;
	width: 100%;
	border: none;
	clear: both;
}

div#content, div#content2 {
	width: 40%;
}


div#contentsub {
	width: 80%;
	margin-left: 0;
	border: none;
}

div#contentsub p {
	max-width: 100%;
}
}

/* End of stylesheet */
/* =============================================================== */

