/* 
Stylesheet by Halmstads stadsbibliotek 
Features: Scalable text 
Elisabet Frigel. 2009-06-26/EF
*/

/* General styling for all areas */
/* ---------------------------------------------------------------------------- */


body {
	background-image: url("http://extra.halmstadbibliotek.nu/_elements/images/body-bg.jpg");
	background-repeat: repeat-x;
	background-position: left top;
	margin: 0px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
@media print {
	body {
	background-image: none;
	background-color: #fff;
}
}
/* 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: #333;
	margin-top: 10px;
	margin-bottom: 2px;
}


h1 {
	font-size: 1.8em;
}

h2 {
	font-size: 1.3em;
	margin-bottom: 0.4em;
}

h3 {
	font-size: 1.1em;
}

h4 {
	font-size: 1.0em;
}

li {
	margin: 0px;
	margin-top: 6px;
	max-width: 40em;
}

dt {
	font-weight: bold;	
	margin: 0px;
	margin-top : 6px;
}

hr {
    height : 1px;
    border: none;
    background-color: #666;
}

a:link {
  text-decoration : none;
}

a:visited {
  	text-decoration : none;
}

a:active {}

a:hover {
    text-decoration : underline;
}
div.text a {
font-weight: bold;
}

#alert {
	background-color: #fffacd;
	border: 1px solid red;
	padding: 3px;
	width: 20em;
	font-weight: bold;
}

/* @media print {
#alert {
		display: none;
		visibility: hidden;
}
} */

div.linklist {
margin-top: 2em;
margin-bottom: 0px;
font-weight: bold;
width: 20em;
background-color: #c1d3e4;
color: #0d297d;
border: 1px solid #c1d3e4;
}

ul.linklist {
    display: block;
    list-style: none;
    margin: 0.8em 0 1em 0;
    padding: 0;
    background-color: #eff2f4;
    border: 1px solid #c1d3e4;
    width: 20em;
    margin-top: 0px;
}

ul.linklist li {
background-color: transparent;

background-image: url(http://extra.halmstadbibliotek.nu/_elements/images/link_arrow.png);
background-repeat: no-repeat;
background-attachment: scroll;
background-position: 0.4em 0.3em;
display: block;
margin-top: 0.15em;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 0px;
padding-right: 3px;
padding-bottom: 0px;
padding-left: 22px;
}

ul.linklist li a {
font-weight: normal;
}

div.externlist {
    display: block;
margin-top: 2em;
margin-bottom: 0px;
font-weight: bold;
width: 20em;
background-color: #ffb324;
color: #000;
border: 1px solid #ffb324;
}

ul.externlist {
    display: block;
    list-style: none;
    margin: 0.8em 0 1em 0;
    padding: 0;
    background-color: #fff5bb;
    border: 1px solid #ffb324;
    width: 20em;
    margin-top: 0px;
}

ul.externlist li {
background-color: transparent;

background-image: url(http://extra.halmstadbibliotek.nu/_elements/images/link_arrow.png);
background-repeat: no-repeat;
background-attachment: scroll;
background-position: 0.4em 0.3em;
display: block;
margin-top: 0.15em;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 0px;
padding-right: 3px;
padding-bottom: 0px;
padding-left: 22px;
}

ul.externlist li a {
font-weight: normal;
}


@media print {
div.linklist, ul.linklist, div.externlist, ul.externlist {
		display: none;
		visibility: hidden;
}
}



#right-column p a {
text-decoration: none;
color: #000;
padding-top: 2px;
}
#right-column p a.lasmer {
color: blue;
font-weight: bold;
}
#right-column p a.lasmer:hover {
text-decoration: underline;
color: blue;
font-weight: bold;
}
img {
	margin: 5px;
	padding: 3px;
	border: 2px solid #ccc;
	background-color: #e4e4e4;
}

.br {
	clear: both;
	/*border-top-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #99ff33;
	border-right-color: #99ff33;
	border-bottom-color: #99ff33;
	border-left-color: #99ff33; */
}

.imagecaptioneasy {
  padding: 5px;
  font-family: arial,helvetica,sans-serif;
  font-size: 9px;
  line-height: 1.15em;
  text-align: center;
  
  border: 1px solid #fff;
  background: #fff;
  
  /* border: 1px solid #808080;
  background: #eaeaea; */
  color: #696969;
}

.imagecaptioneasy a {
font-weight: normal;
text-decoration: none;
color: #ddd;
}
/* .imagecaptioneasy img { border: 0px solid #fff; margin-bottom:5px; } */
.imagecaptioneasy img {
padding: 5px;

border: solid 1px #ccc;
background-color: #e4e4e4;

/* border: solid 1px #dddddd;
background-color: #f3f3f3;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px; */
margin: 1px;
}
.imagecaptioneasy span { text-align: center; font-size: 1.05em; }
.imagecaptioneasy_top_left { margin: 0 11px 11px 0; float: left; }
.imagecaptioneasy_top_right { margin: 0 0 11px 11px; float: right; }
.imagecaptioneasy_top_nowrap { margin: 0 0 11px 0; float: none; }
.imagecaptioneasy_left { margin: 11px 11px 11px 0; float: left; }
.imagecaptioneasy_right { margin: 11px 0 11px 11px; float: right; }
.imagecaptioneasy_nowrap { margin: 11px 0 11px 0; float: none; }


/* Content area elements */ 
/* ------------------------------------------------------------------------------- */
#content-holder {
	margin-top: 15px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-left: 160px;
	background-color: #fff;
	border-left: 1px solid #ccc;
	padding-left: 0.6em;
	font-size: 0.8em;
	max-width: 50em;
}
@media print {
	#content-holder {
	margin: 0px;
	padding: 0px;
	background-color: #fff;
	border-left: none;
	font-family: Century Schoolbook, Georgia, serif;
	font-size: 12pt;
	margin-left: 2.5em;
	margin-right: 2.5em;
	}
}

.ingress {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.2em;
              margin-top: 1em;
              margin-bottom: 1em;
}
.hoger {
float: right;
}

#right-column {
	float: right;
	width: 300px;
	padding-top: 1em;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0.2em;
	margin-top: 1.5em;
	margin-right: -1em;
	margin-bottom: 0px;
	margin-left: 1em;
	position: relative;
	top: 0px;
	font-size: 0.6em;
}
#right-column img {
	clear: both;
	padding: 0px;
	padding-top: 1px;
	margin: 0px;
	border: 0px;
}
.right-column-header {
	margin: 0px;
	padding: 0px;
	background-image: url("http://extra.halmstadbibliotek.nu/_elements/images/right-column-bg.gif");
	background-position: top;
	background-repeat: repeat-x;
	background-color: transparent;
	height: 18px;
	margin-top: 5px;
}
.halfva {
	float: right;
	margin-top: 5px;
	width: 300px;
}
.halfva-left {
	float: right;
	width: 147px;
}
.halfva-right {
	float: right;
	width: 147px;
	margin-left: 4px;
}
.halfva-left > img, .halfva-right > img {
	width: 147px;
}
.right-column-header img {
	border: 0px;
	margin: 0px;
	padding: 0px;
}
.right-column-header h2 {
	line-height: 1.5em;
	display: inline;
	font-size: 1.2em;
	margin: 0px;
	padding: 0px;
	padding-left: 5px;
	color: #fff;
	position: relative;
	top: -5px;
}
.right-column-header h2 a {
	color: #fff;
}
@media print {
	div#right-column {
		display: none;
		visibility: hidden;
	}
}
/* Left margin elements */ 
/* ----------------------------------------------------- */
#menu-left {
	position: absolute;
	left: 0px;
	top: 165px;
	vertical-align: top;
	padding-left: 5px;
	padding-right: 4px;
	width: 140px;
	font-size: 0.75em;
}
@media print {
	#menu-left {
	display: none;
	visibility: hidden;
	}
}
/* Right margin elements */ 
/* ----------------------------------------------------- */
#right-margin {
	background-color: #eff2f4;
	float: right;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #ccc;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
	width: 20em;
	padding-top: 1em;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0.5em;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 1.5em;
	position: relative;
	top: 0px;
	min-height: 70em;
	font-size: 0.7em;
}

#right-margin div.form-head {
	padding-left: 26px;
	background-repeat: no-repeat;
	margin-top: 8px;
	margin-bottom: 2px;
	padding-top: 2px;
	padding-bottom: 4px;
	background-image: url("http://extra.halmstadbibliotek.nu/_elements/images/bg_arrow_right_blue.gif");
	font-weight: bold;
}
#fieldset {
	border: none;
}
.button {
	margin-top: 0.5em;
}
#bookmarking {
	margin-top: 1.5em;
}

#bibaddress {
	background: #fff; 
	margin-right: 15px;
}
.roundtop {
	background: #fff;
}
.roundbottom {
	background: #fff;
}
.r1 {
	margin: 0 5px;
	height: 1px;
	overflow: hidden;
	background: #0d297c; 
	border-left: 1px solid #0d297c;
	border-right: 1px solid #0d297c;
}
.r2 {
	margin: 0 3px;
	height: 1px;
	overflow: hidden;
	background: #fff; 
	border-left: 1px solid #0d297c;
	border-right: 1px solid #0d297c;
	border-width:0 2px;
}
.r3 {
	margin: 0 2px;
	height: 1px;
	overflow: hidden;
	background: #fff; 
	border-left: 1px solid #0d297c;
	border-right: 1px solid #0d297c;
}
.r4 {
	margin: 0 1px;
	height: 2px;
	overflow: hidden;
	background: #fff; 
	border-left: 1px solid #0d297c;
	border-right: 1px solid #0d297c;
}
.bibaddress-content {
	padding: 5px;
	border-left: 1px solid #0d297c;
	border-right: 1px solid #0d297c;
}
@media print {
	#right-margin {
	display: none;
	visibility: hidden;
}
}
/* End of editor-accessible classes - the rest of CSS is design IDs and classes */
/* =============================================================================== */
 
/* Design elements for head */
/* ---------------------------------------------------------------------------- */

#top-holder {
	height: 110px;
	background-color: transparent;
}

#top-holder img, img.noborder {
	margin: 0px;
	padding: 0px;
	border: 0px;
	background-color: transparent;
}

#halmstad-logo {
	position: absolute;
	left: 2px;
	top: 3px;
	z-index: 4;
}

#header-pict {
	position: absolute;
	left: 100px;
	top: 0px;
	z-index: 2;
}

#bib-logo {
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 6;
}
img#printlogo {
	display: none;
	visibility: hidden;
}
@media print {
img#printlogo {
	visibility: visible;
	border: 0px;
	float: right;
	display: inline;
	margin-top: -0.5em;
	margin-bottom: -0.5em;
	background-image: url("http://extra.halmstadbibliotek.nu/_elements/images/images/pintlogo.gif");
	background-repeat: no-repeat;
	background-position: top;
}
}
@media print {
	#top-holder {
	display: none;
	visibility: hidden;
	}
}
/* This object is here just in case it should be needed for coloring purposes */

/* Design elements for horizontal menus */
/* ---------------------------------------------------------------------------- */
#menu-holder {
	margin-left: 160px;
	border: 1px solid #3969a6;
} 

/* Common properties for both menu level containers */
#menu-holder div {
	white-space: nowrap;
	padding-top: 3px;
   padding-bottom: 4px;
	padding-left: 0px;
}

/* Common properties for both menu level links */
#menu-holder a {
   padding-top: 3px;
   padding-bottom: 3px;
	margin-left:0px;
	margin-right:0px;
}

/* Background image in bottom of menu level 1 puts border between menus */
#menu-level1 {
	font-size: 0.7em; 
	background-color: #eff2f4;
	font-weight: bold;
}

#menu-level1 a {
	padding-left: 12px;
	padding-right: 12px;
	text-decoration: none;
	color: #0d297d;
	background-image: url("http://extra.halmstadbibliotek.nu/_elements/images/line_vertical_blue.gif");
	background-repeat: no-repeat;
	background-position: right;
}

#menu-level1 a#menu-edge {
	background-image: url("http://extra.halmstadbibliotek.nu/_elements/images/spacer.gif");
	background-repeat: no-repeat;
	background-position: right;
}
#menu-level1 a:hover {
	color: #003366;
	background-color: #c1d3e4; 
	border-bottom: none;
	border-top: none;
	padding-bottom: 4px;
}

#menu-level1 a.true, #menu-level1 a.true:hover, #menu-level1 a.true:visited 
{
	background-color: #c1d3e4;
	color: #0d297d;
	font-weight: bold;
	margin-left: 0px;
	border-bottom: none;
	border-top: none;
	padding-bottom: 4px;
	background-image: url("http://extra.halmstadbibliotek.nu/_elements/images/line_vertical_blue.gif");
	background-repeat: no-repeat;
	background-position: right; 
	text-decoration: none;
	/*border-bottom: 1px solid #c1d3e4;*/
}

#menu-level2 {
	/*margin-left: 165px;*/
	font-size: 0.7em;
	background-color: #c1d3e4;
	border-top: 1px solid #c1d3e4;
	/*border-bottom: 1px solid #c1d3e4;
	padding-top: 3px;*/
}

#menu-level2 a {
	padding-left: 6px;
	padding-right: 4px;
	text-decoration: none;
	color: #003366;
	background-color: #c1d3e4;
	margin: 0px;
	border: 2px solid #c1d3e4;
	padding-top: 1px;
	padding-bottom: 1px;
}

#menu-level2 a:hover {
	border: 2px solid #ffd200; 
	background-color: #dbeef3;
	padding-top: 1px;
	padding-bottom: 1px;
}

#menu-level2 a.true, 
#menu-level2 a.true:hover, 
#menu-level2 a.true:visited {
	margin: 0px;
	color: #003366;
	font-weight: bold;
	background-color: #dbeef3;
	border: 2px solid #ffd200;
	padding-top: 1px;
	padding-bottom: 1px;
}

span.invisible {
	width: 0px;
	visibility: collapse;
}

/* menu-level 3 in left margin */

#menu-level3-head {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 3px;
}
/* List for menu levels 3 and 4 */
#menu-left ul {
	list-style: none;
	padding-left: 0px;
	margin-left: 0px;
	margin-right: 4px;
}

/* Menu level 3 */
#menu-left ul li {
	margin-top: 4px;
	margin-left: 8px;
}

#menu-left a {
	color: #333399;
	text-decoration: none;
}

#menu-left a:hover {
	color: #222299;
	text-decoration: underline;
}

/* Foot elements */
/* ---------------------------------------------------------------------------- */

#foot-holder {
	margin-top: 2em;
	margin-left: 0px;
	padding-left: 0px;
	margin-right: 0px;
	clear: both;
	font-size: 0.6em;
}
#foot-marker img {
	border: 0; 
	width: 100%;
	height: 12px;

}
#foot {
	margin-left: 150px;
	margin-right: 24em;
	color: #333;
	text-align: center;
	font-style: normal;
}

#foot span {
	color: #333366;
	padding-left: 12px;
	padding-right: 16px;
	text-decoration: none;
	background-image: url("http://extra.halmstadbibliotek.nu/_elements/images/line_vertical_gray.gif");
	background-position: right;
	background-repeat: no-repeat;
}

#credits {
	font-size: inherit;
	color: #cccccc;
	text-align: right;
	margin-right: 10px;
}

#credits a,
#credits a:visited {
   text-decoration : none;
	color: #bbbbbb;
}

#credits a:hover {
	text-decoration : underline;
}

#printfoot {
	display: none;
	visibility: hidden;
}
@media print {
	#foot-holder {
	display: none;
	visibility: hidden;
	}
	#printfoot {
	display: block;
	visibility: visible;
	font-size: 10pt;
	color: #333;
	text-align: center;
	margin-top: 20pt;
	width: 100%;
}
}

/* Hide menu when printing, because it looks ugly without background colors */
@media print {
	div#menu-holder {
		display: none;
		visibility: hidden;
	}
}



/* Vertical menus */
/* ---------------------------------------------------------------- */



/* Hide credits when printing */
@media print {
	div#credits {
		display: none;
		visibility: hidden;
	}
}


/* Turn borders on for testing of layout */
div {
/*	 border: 1px solid aqua;*/
/*	 background-color: Lime;*/
}

table {
/*	 border: 1px solid red;*/
}

/* End of stylesheet */
/* =============================================================== */
