/* 
	Stylesheet by Mediabyrån at Karolinska Institutet University Library 
	Features: Scalable text, scalable width, Dreamweaver templates and Contribute support, menus styled as lists 
	Ulf.Kronman@kib.ki.se. 2005-08-06 -- 2006-02 /UK 

   ToDo:
 * Include directives for neat printing
 * Clean up - put menu directives together
 
*/

/* 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 */
body {
   margin: 0px 0px 0px 0px;
   padding: 0px 0px 0px 0px;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

/* 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 {
   /*padding: 0px;
	margin: 0px;*/
   vertical-align: top;
}

/* Set margins to avoid excessive spacing between headers and text */
p, td, th, ul, ol, dl, pre {
	margin-top: 0px;
	margin-bottom: 6px;
}

/* Font family for all headings */
h1, h2, h3, h4, h5 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
	margin-top: 10px;
	margin-bottom: 2px;
}

h1 {
	font-size: 1.3em;
}

h2 {
	font-size: 1.1em;
}

h3 {
	font-size: 0.9em;
}

li {
	margin-top : 6px;
   margin-bottom: 0px;
}

dt {
	font-weight: bold;	
	margin-top : 6px;
   margin-bottom: 0px;
}

hr {
    height: 1px;
    border: none;
    background-color: #666666;
}

/* General link styling */
a:link {
   color: #081de3;
   text-decoration : none;
  
}

a:visited {
   color: #081de3;
    text-decoration : none;
}

a:active {}

a:hover {
    text-decoration : underline;
}

/* Content area styling for editors. Should be classes to vork well with Contribute */ 
/* -------------------------------------------------------------------------------- */

/* Set maximum width of body text for readability. CSS2. Only supported by Mozilla and Opera, not IE */
td#content-area p, td#content-area h1 {
   max-width: 50em;
}

/* Redesign all heading 1  */
h1 {
   color: #333333;
   line-height: 1.1em;
   font-size: 1.1em;
   padding-bottom: 4px;
   margin-bottom: 8px;
   margin-top: 4px;
   padding-top: 12px;
   border-bottom: 1px dashed #333; 
}

/* Table for single-column layout. Just put in 100% to keep any centered objects in the middle */
table.one-column {
	width: 100%;
}

/* Table for two-column layout. */ 
table.two-column {
	width: 100%;
   margin-top: 0px;
}

/* Settings common for both columns */ 
table.two-column td {
	padding-right: 18px;
	padding-left: 0px;
}

/* Right part of two-column layout, including separating border between columns */
table.two-column td.column-right {
   padding-left: 34px;
}

/* Right part of two-column layout, no separating border */
td.column-right-no-separator {
}

/* Special classes for frontpage */
/* ------------------------------------------------ */

/* Table for text block in frontpage columns */
#content-area .textbox {
   margin-top: 20px;
}

#content-area .textbox td {
   padding-left: 10px;
   padding-right: 0px;
}

.textbox h1,
.textbox h2 {
   font-size: 1em;
   font-weight: bold;
   color: #000;
   margin-top: 8px;
   margin-bottom: 0px;
}

/* Head above text block in columns. Negative margin to point our to the left. */
.texthead {
}

.texthead div {
   margin-left: 0px;
   padding-left: 0px;
   margin-bottom: 10px;
   text-align: left;
   border-bottom: 1px dashed #333;
   font-weight: bold;
   color: #0A1666;
   font-size: 0.86em;
}
.newshead div {
   margin-left: 0px;
   padding-left: 0px;
   margin-bottom: 10px;
   text-align: left;
   border-bottom: 1px dashed #333;
   font-weight: bold;
   color: #c60204;
   font-size: 0.86em;
}

/* Right margin elements */ 
/* ----------------------------------------------------------------------------------- */

/* Table-style shortcut link box. Should have been done with a div, but sorry, no work in Contribute */
table.shortcuts, 
table.news,
table.area {
   width: 220px;
   margin-right: 60px;
   margin-top: 10px;
   border: 1px solid #b2cce3;
   background-color: #ecf5fe;
}
table.news{
	background-color:#ecf5fe;
	border: none;
	width:235px;
	margin-top: 10px;
	margin-right: 0px;
	border: 1px solid #b2cce3;

}
table.news td{
	border: none;

}
table.area{
	background-color:#fff;
	border: none;
	width:335px;
	margin-top: 13px;
	margin-right: 0px;

}

table.shortcuts div.head, 
table.news div.head,
table.area div.head{
   padding-right: 10px;
   padding-left: 3px;
   padding-top: 5px;
   padding-bottom: 3px;
   margin-left: 10px;
   margin-right: 10px;
   color: #333;
   font-weight:bold;
   border-bottom: 1px dashed #333;
}
table.news div.head{
	color: #c60204;
	background-color:#fff;
	margin-left: 0px;
   	margin-right: 0px;
	 padding-bottom: 0px;
}
table.area div.head{

}
/*table.shortcuts div.head div {
   
}*/

table.shortcuts th, 
table.news th,
table.area th {
   vertical-align: top;
	text-align: left;
}

table.shortcuts td, 
table.news td,
table.area td {
   padding-left: 0px;
   padding-right: 0px;
   padding-bottom: 2px;
  
}
table.news td{
background-image:url(../images/news_bottom.gif);
background-position:bottom;
background-repeat:no-repeat;
padding-left:5px;
}
table.shortcuts h2, 
table.news h2,
table.area h2{
	color: #00396f;
}

table.shortcuts ul, 
table.news ul,
table.area ul {
   list-style-type: none;
   margin-left: 5px;
   margin-right: 5px;
   padding-left : 0px;
   margin-top : 3px;
   margin-bottom : 3px;
}
table.area ul{
 margin-left: 25px;
}

table.shortcuts ul li,
table.news ul li,
table.area ul li {
   padding-top : 0px;
   padding-bottom : 6px;
   padding-left : 8px;
   padding-right : 0px;
 
}
table.news ul li{
   background-image: url(../images/news-square.gif);
   background-position: left top;
   background-repeat: no-repeat;
   padding-left:10px;
}
table.area ul li{
   background-image: url(../images/area-square.gif);
   background-position: left top;
   background-repeat: no-repeat;
   padding-left:10px;
   padding-bottom:0px;
}
table.shortcuts a, 
table.shortcuts a:visited,
table.news a,
table.news a:visited,
table.area a,
table.area a:visited {
   color: #003366;
   text-decoration: none;   
}
table.news a,
table.news a:visited {
   color: #081de3;
   text-decoration: none;
}

table.shortcuts a:hover,
table.news a:hover,
table.area a:hover {
	text-decoration: underline;  
}

/* Decoration image in shortcuts box. Should be aligned at right bottom */
table.shortcuts img,
table.news img,
table.area img {
   margin-right: 10px;
   margin-top: 10px;
   float: right;
}
/*presentation*/
table.presentation, table.news-block {
   width: 470px;
   margin-right: 30px;
   margin-top: 0px;
   border: 1px solid #b2d6f6;
}
table.news-block{
   border: 0px;
}

table.presentation div.head, table.news-block div.head 
{
   padding-right: 10px;
   padding-left: 17px;
   padding-top: 5px;
   padding-bottom: 6px;
   margin-left: 11px;
   margin-right: 10px;
   color: #333;
   font-weight:bold;
   background-image: url(../images/presentation-square.gif);
   background-position: left, top;
   background-repeat: no-repeat;
}
table.news-block div.head{
   background-image: url(../images/news-block-square.gif);
   background-position: left, top;
   sPosition: left, top;
   background-repeat: no-repeat;

}

/*table.shortcuts div.head div {
   
}*/

table.presentation th, table.news-block th 
{
   vertical-align: top;
	text-align: left;
}

table.presentation td, table.news-block td 
 {
   padding-left: 10px;
   padding-right: 6px;
   padding-bottom: 15px;
  
}
table.news-block td{
	 /*border: 1px solid #b2d6f6;*/
}

table.presentation h2, table.news-block h2
{
	color: #00396f;
	
}

table.presentation div.contact{
  width: 166px;
  color : #333;
  margin-top: 4px;
  margin-bottom: 10px
}


table.presentation a, table.news-block a
table.presentation a:visited, table.news-block a:visited
{
   color: #081de3;
   text-decoration: none;   
}


table.presentation a:hover, table.news-block a:hover {
	text-decoration: underline;  
}

/* Decoration image in shortcuts box. Should be aligned at right bottom */
table.presentation img {
   margin-right: 0px;
   margin-top: 0px;
   float: left;
}

td#right-margin hr {
   color: #fff;
   background-color: #fff;
   height: 2px;
   margin-top: 16px;
}

td#right-margin form {
   margin-top: 0px;
  
}
div.opening_hours{
   border: 1px solid #b2cce3;
   padding: 10px;
   width: 270px;
   
}
div.opening_hours p{
 line-height: 1.3em;
}

div.opening_hours h1{
	color: #000066;
	font-size: 1.0em;
	margin-top: 0px;
	padding-top: 0px;
	font-weight:bold;
	background-image:none;
}
/* End of editor-accessible classes - the rest of CSS is design IDs and classes */
/* =============================================================================== */

/* Page and margin layout */
/* ------------------------------------------------------------------------------- */

/* Content holder table */
table#content-holder {
   width: 100%;
}

/* Actual content area. Set font style and size in relative values (em) to make it scalable in IE */
td#content-area {
	font-size: 0.70em;
   padding-top: 0px;
   padding-left: 20px;
   padding-right: 10px;
   padding-bottom: 10px;
   background-image: url("../images/line_vertical_gray_toned.gif");
   background-position:left, top;
   background-repeat: no-repeat;
}

/* Left margin area */
td#left-margin {
   width: 190px;
}

/* Used from DW template property to hide left margin. Used on frontpage. */
td#left-margin.false {
   display: none;
}

/* Right margin area */
td#right-margin {
    width: 180px;
 /* background-image: url("../images/line_vertical_gray_toned.gif");*/
   background-repeat: no-repeat;
   font-size: 0.66em;
   padding-top: 0px;
   padding-left: 20px;
   padding-right: 10px;
   padding-bottom: 0px;
}

/* Use to hide border on right margin on front page */
td#right-margin.false {
   background-image: none;
}

/* Use this class as a DW template property for hiding right margin, if needed */
/*
td#right-margin.false {
   display: none;
}
*/

/* Hide left menu and right margin to save space when printing, if needed */
/*
@media print {
	td#left-margin {
		display: none;
	}
	td#right-margin {
		display: none;
	}
}
*/

/* Design elements for head */
/* ---------------------------------------------------------------------------- */

/* This object is here just in case it should be needed for coloring purposes */
div#head-holder {
white-space:nowrap;
}

/* Image banner streching over head to right end */
div#head-banner {
	background-image: url(../images/head_bg.jpg);
	background-repeat: repeat-x;
	margin-left: 0px; 
	white-space:nowrap;
}

/* Banner image */
div#head-banner img {
	border: 0px; 
}

/* Actual logotype */
div#head-banner img#logo {
	border: 0; 

}


/* Design elements for horizontal menus */
/* ---------------------------------------------------------------------------- */

div#menu-holder {
	clear: both;
    margin-left: 0px;
    border-left : 1px solid #666;
    border-right : 1px solid #666;
	white-space:nowrap;
    
}

/* Hide menu when printing, because it looks ugly without background colors */
@media print {
	div#menu-holder {
		display: none;
		white-space:nowrap;
	}
}

/* Class to hide (doubled) bottom border on pages without second level menu */
div.false#menu-holder {
	border-bottom : 0px;
	white-space:nowrap;
}

/* Common properties for both menu level containers */
div#menu-holder div {
	padding-top: 2px;
    padding-bottom: 2px;
	padding-left: 0px;
	white-space:nowrap;
	height:14px;
}

/* Common properties for both menu level links */
div#menu-holder a {
   padding-top : 4px;
   padding-bottom : 3px;
   margin-left: 0px;
   margin-right: 0px;
   white-space:nowrap;
}

/* Background image in bottom of menu level 1 puts border between menus */
div#menu-level1 {
   font-size: 0.67em;
   border-top : 1px solid #666;
   border-bottom : 1px solid #666;
   font-weight: bold;
   background-image: url(../images/menu_bg.jpg);
   background-repeat: repeat-x;
   white-space:nowrap;
}

div#menu-level1 a {
   padding-left: 17px;
   padding-right: 15px;
   text-decoration: none;
   color: #003468;
   white-space:nowrap;
   /*background: transparent url("../images/menu_bar.gif") no-repeat left;*/
}

/* Special ID to remove extra border in leftmost menu link */
div#menu-level1 a#menu-edge {
   background-image: none;
   padding-right: 11px;
}

div#menu-level1 a:hover {
 	text-decoration: underline;
}

/* Background image in link overwrites and thus "removes" default background border from outer td */
div#menu-level1 a.true, 
div#menu-level1 a.true:hover, 
div#menu-level1 a.true:visited {
   background-color: #003468;
   color: #fff;
   padding-top: 3px;
   padding-bottom: 3px;
   background-image: none;
}

/* Remove background image on link after the selected one - will not work in IE5-6 */
div#menu-level1 a.true + a {
    background-image: none;  
   text-decoration: none;
}

div#language-switcher {
	position: absolute;
	right: 40px;
	top: 93px;
	text-align: right;
	width: 100px;
	/* display: none; Change to "none" here if language switcher is not desired on site */
}

div#language-switcher a,
div#language-switcher a:hover {
	border: none;
	font-variant: normal;
	background-color: transparent;
   background-image: none;
}

div#language-switcher a:hover {
	text-decoration: underline;
}

div#menu-level2 {
	font-size: 0.7em;
	background-color : #D3D3D5;
}

div#menu-level2 a {
	padding-left: 12px;
	padding-right: 16px;
	text-decoration: none;
 	color: #003366;
	background-image:  url("../../_development/images/line_vertical_gray.gif");
	background-position: right;
	background-repeat: no-repeat;
}

div#menu-level2 a:hover {
 	color: #3399CC;
}

div#menu-level2 a.true, 
div#menu-level2 a.true:hover, 
div#menu-level2 a.true:visited {
 	color: #003366;
	font-weight: bold;
	background-color : #D3D3D5;
}


/* Structure marker */
/* ------------------------------------------------------------ */

div#structure-marker {
	clear: both;
	margin-left: 150px;
	font-size: 60%;
	border-left: 1px solid #cccccc; 
	border-right: 1px solid #eeeeee; 
	border-bottom: 1px solid #eeeeee;
	padding-left: 2px;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 4px;
	white-space: nowrap;
	font-weight: bold;
	color: #666666;
}

div#structure-marker a {
	color: #333355;
	font-weight: normal;	
}

/* Vertical menus */
/* ---------------------------------------------------------------- */

div#menu-left {
	font-size: 0.60em;
	/*line-height: 1.3em;*/
    margin-top: 35px;
	width:197px;
	
}

/* If image is used instead of menu, position it neat */
div#menu-left img {
	padding-top: 0px;
	padding-left: 30px;
}

/* Menu heading for verical menu */
div#menu-left div.menu-head {
	border-top:  1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 0px;
    padding-left: 30px;
    font-weight: bold;
    color: #666;
}

/* List for menu levels 3 and 4 */
div#menu-left ul {
    margin-top: 0px;
	list-style: none;
	margin-left: 0px;
}

/* Menu level 3 */
div#menu-left ul li{
   padding-left: 0px;
   margin-bottom: 0px;
   margin-left: 0px;
   margin-right: 7px;
   font-weight: normal;
   border-top: 1px solid #ccc;
   padding-top: 0px;
   padding-bottom: 0px;
   background-image:url(../images/menu_square.gif);
   background-position:left;
   background-repeat:no-repeat;
   padding-top: 10px;
   padding-left: 15px;
   padding-bottom: 7px;
   margin-bottom:0px;
   margin-top:0px;
	
}

/* Menu level 4 */
div#menu-left ul li.submenu{
   margin-left: 20px;
   padding-left: 15px;
   margin-top: 0px;
   margin-bottom: 2px;
   padding-top: 0px;
   padding-bottom: 3px;
   font-weight: normal;
   background: transparent url(../images/menu_square_sub.gif) no-repeat;
   border:none;
   
   
  /* padding-top: 10px;
   padding-left: 15px;
   padding-bottom: 7px;
   margin-bottom:0px;
   margin-top:0px;*/

}

div#menu-left a {
   color: #013274;
   text-decoration: none;
   display: block;
   width: 100%;
   
}

div#menu-left ul li#menu-top a {
   border: 0;
}

div#menu-left ul li.submenu a {
   border-top: 0px;
   padding-top: 1px;
   padding-bottom: 1px;
   margin: 0;
}

div#menu-left ul li#menu-bottom a {
   border-bottom: 1px solid #ccc;
}

div#menu-left a:hover {
	color: #229;
	/*background-color: #eaeaea;*/
	text-decoration: underline;
	margin:0px;
}

/* Class to set selected item in vertical menu, if needed */
div#menu-left ul li.true {
   font-weight: bold;
   background: transparent url(../images/menu_arrow.jpg) no-repeat;
}

/* Class to set selected item in submenus, if needed */
div#menu-left a.true {
	font-weight: bold;
}

/* Class to mark mandatory fields in application form */
.mandatory {
	color: Red;
}
/* Classes to style form */


}
/* Foot elements */
/* ---------------------------------------------------------------------------- */

hr#foot-divider {
}

/* Sorry, Dreamweaver don't handle margins properly in combination with clear :-( */
div#foot-holder {
	white-space:nowrap;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	padding-top: 0px;
	font-size: 0.95em;
}
	
td#updated {
	font-size: 0.66em;
	color: #333333;
	text-align: center;
   	padding-top: 20px;
   	padding-bottom: 6px;
}

td#updated a {
	color: #333366;
}

td#updated.false {
   display: none;
}

div#foot {
   font-size: 0.66em;
   color: #003466;
   padding-left: 0px;
   padding-top: 0px;
   height: 28px; 
   background-image:url(../images/foot_bg.jpg);
   background-repeat:repeat-x;
   border: 1px solid #171717;
 
   
}

div#foot p {
   margin-top: 7px;
   margin-bottom: 0px;
   text-align: center;
 

}
div#foot img{
	margin-bottom: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
	margin-bottom: 0px;

}
div#foot a,
div#foot a:visited {
   text-decoration : none;
   color: #081de3;
   margin-bottom: 0px;
	
	
}

div#foot a:hover {
   text-decoration : underline;
  
}

div#credits {
	font-size: 0.56em;
	color: #ccc;
	text-align: right;
	margin-top: 4px;
	margin-right: 4px;
}

div#credits a,
div#credits a:visited {
   text-decoration : none;
   color: #464646;
}

div#credits a:hover {
	text-decoration : underline;
}

/* Hide credits when printing */
@media print {
	div#credits {
		display: none;
	}





/* End of stylesheet */
/* =============================================================== */

