/* ----- CONTENTS ------------------------------------------------------------

1: GENERAL

2: TOP (Header & main navigation)
	
3: MAIN CONTENT
	a) Wrappers
	b) Submenu
	c) Containers & content


---------------------------------------------------------------------------- */
/* 1: GENERAL
============================================================================ */

@import url("reset.css");

body {
	background: #fff url(../images/bodybg.jpg) repeat-x top left;
    padding:0;
    margin: 0;
    color:#000;  
    text-align:center;
    font-family:Arial, Verdana, Helvetica, sans-serif;
    font-size: 75%;
}

body.subpage {
	background-image: url('../images/bodybluebg.jpg');
}

a:link {color: #3079a8; text-decoration: underline;} 
a:visited {color: #3079a8;} /*#8c32aa för lila*/
a:hover {color: #000; text-decoration: underline;}
a:active {color: #000;}

a.altlink,
a.altlink:link,
a.altlink:visited { color: #000; }
a.altlink:hover,
a.altlink:active { color: #3079a8; }

*:focus { outline: 1px dotted #000;}
.ej-css {position:absolute; left:-9999px}

.module .moduleheader a:link,
.module .moduleheader a:visited { color: #fff; }
.module .moduleheader a:hover { color: #000; }

.clear { clear: both; }

h1 { 
	font-weight: bold; 
	font-size: 2.75em; 
	color: #3079a8; 
	margin: .42em 0 .42em;
}

.subpage h1 { color: #594700; }

h2 { 
	font-size: 1.83em; 
	font-weight: normal; 
	margin: .42em 0 .67em;
}

h2 a,
h2 a:link {color: #000; text-decoration: none;} 
h2 a:visited {color: #000;} /*#8c32aa för lila*/
h2 a:hover {color: #3079a8; text-decoration: underline;}
h2 a:active {color: #3079a8;}

h3 { font-size: 1.08em; margin: 1.35em 0 .3em; }

.ingress { font-weight: bold; }

p { margin: 0 0 .83em 0; line-height: 1.5;}



ul {
	list-style-type: disc;  
    padding-left: 1.25em;
    margin: 0 0 1.25em 0; 
    line-height: 1.3;
}

ol {
	margin: 1.25em 0; 
	list-style: decimal;
	padding-left: 1.5em;
}

blockquote {
	text-indent: 1em;
	font-style: italic;	
	margin: 1.25em 0;
}



.floatleft { float: left; }
.floatright { float: right;}

img.imageleft { float: left; margin: .83em .83em .83em 0; }
img.imageright { float: right; margin: .83em 0 .83em .83em; }
img.imagefull {
	clear: both;
	margin: 0 0 .83em 0;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

/* Hides from IE-mac \*/
.clearfix {display: block;}
/* End hide from IE-mac */


/*---------------------------------------------------------------------------- */
/* 2: TOP (Header & Main navigation)
============================================================================ */

#header { background: #fff;}

	#logo {	float: left;}

	#headnav {
		float: right;
		width: 66.67em;
		font-size: .92em;
		text-align: right;
	}

		#headnav ul {
			background: #ffab00 url('../images/headnav_bg.jpg') no-repeat bottom left;
			float: right;
			padding:.58em .42em .58em 60px;
			list-style-type:none;
			width:auto;
			margin: 0;
			line-height: 1.2; /* behöver nog sånt här på en del för ie annars kapas texten. typ å och g. */
		}
		
		.subpage #headnav ul { background: #0c1d66 url('../images/headnav_blue_bg.jpg') no-repeat bottom left; }

			#headnav ul li{
				display:block;
				float:left;
				margin:0;
				padding: 0; 
				border-right: solid 1px #bf8000;
			}
				#headnav ul li a{
					display:block;
					float:left;
					color:#000;
					text-decoration:none; 
					padding: 0 .33em; 
					font-weight: bold;
				}
				#headnav ul li a:hover,
				#headnav ul li a.current, 
				#headnav ul li a:focus {color:#000; text-decoration: underline;}
				
				#headnav ul li#lastitem { border: none;}
			
				.subpage #headnav ul li { border-right-color: #b6bcbf; }
				.subpage #headnav ul li a { color:#fff; }
				
			#options { float: right; padding-top: 0.58em;}
			#options a { color: #000; }

				#language, #customize, #searchbox {
					float: right;
					width: auto;
					padding-right: .83em;
				}
				
				#searchbox { padding-left: .83em; }
				.searchinput {
					background: #fff;
					border: solid 1px #ccd1cc;
					padding: .2em;
					/*
					-moz-border-radius:.42em;
					-webkit-border-radius:.42em;
					*/
					margin-right: .42em;
				}
				

				#language {
					padding: 0.42em .83em 2px 22px;
					background: url('../images/english.gif') no-repeat 0 bottom;
				}
				
				#language.swedish { background-image: url('../images/swedish.gif'); }

				#customize { 
					padding: 0.42em .83em 2px 22px; 
					/*background: url('../images/customize.gif') no-repeat 0 bottom;*/
				}

	#navcontainer { 
		border-bottom: solid 0.67em #3079a8; 
		font-size: 1.08em; 
		padding-top: .67em; 
	}
	.subpage #navcontainer { border-bottom-color: #ffcc00; }

		ul#navigation {
			margin:0;
			padding:0 0 0 .83em;
			list-style-type:none;
			width:auto;
			line-height: normal;
		}
			ul#navigation li{
				display:block;
				float:left;
				margin:0 1px 0 0;
			}
				ul#navigation li a{
					display:block;
					float:left;
					color:#3079a8;
					text-decoration:none;
					font-weight: bold;
					padding: 0 0 0 0.58em;
				}
				ul#navigation li a:focus{
					outline: none;
				}
				.subpage ul#navigation li a { color: #000; }
					ul#navigation li a span { display: block; padding:.67em 0.58em .5em 0px;}
				
				ul#navigation li a:hover,
				ul#navigation li a.current,
				ul#navigation li a:focus{
					color:#fff;
					background:transparent url('../images/navtopleft_blue.gif') no-repeat top left;
				}
				
				.subpage ul#navigation li a:hover,
				.subpage ul#navigation li a.current,
				.subpage ul#navigation li a:focus {color:#000;background-image: url('../images/navtopleft_yellow.gif'); }
					
					ul#navigation li a:hover span,
					ul#navigation li a.current span,
					ul#navigation li a:focus span{background:transparent url('../images/navtopright_blue.gif') no-repeat top right;}
					
					.subpage ul#navigation li a:hover span,
					.subpage ul#navigation li a.current span,
					.subpage ul#navigation li a:focus span{background-image: url('../images/navtopright_yellow.gif'); }
				
				ul#navigation li a.current { text-transform: uppercase; }
				

#caption { 
	margin: 1px 0 0 0; 
	background-color: #ebeff2; 
	position: relative;
}	

.subpage #caption { background-color: #fffae5 }			

#caption p { margin: .83em 2.92em 0; font-size: 0.92em; line-height: 1em;}

.emptycaption { padding: .83em; }


/*---------------------------------------------------------------------------- */
/* 3: MAIN CONTENT
============================================================================ 
   a) Wrappers
-------------------------------------------------------------------------------*/

#outerwrapper {
	/*background: #ebeff2;*/
	text-align: left;
    margin: 0 auto;
    width: 80.33em;
}

.subpage #outerwrapper { /*background: #fffae5;*/ }

	#middlewrapper {
		background: transparent url('../images/shadow_left.png') repeat-y top left;
	}

		#innerwrapper {
			background: transparent url('../images/shadow_right.png') repeat-y top right;
			padding: 0 7px 0;
		}
		
			#contentwrapper { background: #ebeff2; padding: 1.66em 2.92em 4.17em; } /*5.42*/
			.subpage #contentwrapper { background: #fffae5; }
			
				#content {
					width: 49.17em;
					float: left;
				}
				
					#contentmodules {  }

				#sidebar {
					width: 20.33em;
					float: right;
				}
	/*
	#footerwrapper {
		background: url('../images/shadow_footer_left.gif') no-repeat bottom left;
	}

		#footershadow {
			background: url('../images/shadow_footer_right.gif') no-repeat bottom right;
			margin-left: 1.67em;
			padding: 0 8px 13px;
		}
	*/
	
	#footerwrapper {
		background: url('../images/footer_shadow_left.png') no-repeat bottom left;
		padding-left: 0px;
	}

		#footershadow {
			background: url('../images/footer_shadow_right.png') no-repeat bottom right;
			margin-left: 13px;
			padding: 0 8px 13px 0;
		}
		
			#footer { 
				background: #327baa url('../images/footerbg.gif') repeat-x top left;
				padding: 1.42em 2.92em 1.42em;	
				color: #c3cfd9;
				margin-left: -5px;
			}
			.subpage #footer { background: #ffcf00 url('../images/footerbg_yellow.gif') repeat-x top left; color: #594100; }

				#footernav { overflow: hidden; }
				
				#footer hr { 
					border: 0;
					color: #c3cfd9;
					background-color: #c3cfd9;
					height: 1px;
					margin: .42em 0; 
				}
				.subpage #footer hr { color: #bf8c00; background-color: #bf8c00; }

				#footer a { color: #c3cfd9; text-decoration: none;}
				.subpage #footer a { color: #594100; }
				
				#footer a:hover { text-decoration: underline; }
				
				#footer a.rssicon { 
					padding-right: 20px; 
					line-height: 1.2; 
					background: url('../images/rss_lblue.png') no-repeat top right; 
				}
				.subpage #footer a.rssicon { background-image: url('../images/rss_brown.png'); }
				
				


/*---------------------------------------------------------------------------- 
   b) Submenu
-------------------------------------------------------------------------------*/

#submenu { font-size: .92em; padding: .67em 0 .67em .67em; list-style-type: none; margin: 0; }
	#submenu li { margin: .42em .42em .42em 0; }
	#submenu li a { padding-left: 1.42em; display: block; }
	#submenu li a.arrow { background: url('../images/menuarrow_org.gif') no-repeat 4px .25em; }
	#submenu li a.arrowdown { background: url('../images/menuarrow_org_down.gif') no-repeat 2px .42em; }
		#submenu li ul { padding: 0 0 0 1.08em; list-style-type: none; margin: 0;}

		#submenu li a { text-decoration: none; color: #317caa; }
		#submenu li a.current { font-weight: bold; color: #000;}
		/*
		#submenu li a.current.arrow { background-image: url('../images/menuarrow_current.gif'); }
		#submenu li a.current.arrowdown { background-image: url('../images/menuarrow_current_down.gif'); }
		*/
		#submenu li a:hover { text-decoration: underline; }




/*---------------------------------------------------------------------------- 
   c) Containers
-------------------------------------------------------------------------------*/

#breadcrumbs { margin: 0 0 1.67em 0; }
#breadcrumbs a { 
	background: transparent url('../images/breadcrumb_sep.gif') no-repeat 0 .42em; 
	padding-left: 1.17em; 
	margin-right: 0.42em; 
}
#breadcrumbs a.first { background: none; padding-left: 0; }

.lastupdated {
	display: block;
	color: #667b88;
	margin-top: 2em;
}

.subpage .lastupdated {
	color: #7e7a6b;
}
					
					
.contentmodules { padding-top: .83em; }

.module {
	position: relative;
	background: #fff url('../images/module_topbg_gray_mini.gif') repeat-x top left;
	margin-bottom: 1.67em;
}


	.lightbluemodule .moduletl { background: transparent url('../images/module_alt_t_l_lb.gif') no-repeat bottom left; }
		.lightbluemodule .moduletr { background: url('../images/module_alt_t_r_lb.gif') no-repeat bottom right; padding-top: 10px; }
	.subpage .moduletl { background: transparent url('../images/module_alt_t_l.gif') no-repeat bottom left; }
		.subpage .moduletr { background: url('../images/module_alt_t_r.gif') no-repeat bottom right; padding-top: 10px; }

	.moduleheader {
		background: transparent url('../images/module_topright_gray_mini.gif') no-repeat top right;
	}
	
	.moduleheaderalt { padding-right: 1.08em; }
	.moduleheaderalt h2 { float: left; margin-top: 0; }
	.moduleheaderalt a { float: right;  }

		.moduleheader h3 { 
			background: transparent url('../images/module_topleft_gray_mini.gif') no-repeat top left;
			color: #fff;
			width: auto;
			padding: 0.75em 0 0.58em 1.25em;
			text-transform: uppercase;
			margin: 0;
		}

		.moduleoptions {
			position: absolute;
			width: auto;
			right: 0;
			top: 0;
			padding: .83em 1.25em .83em .83em;
		}

			.moduleoptions img { margin: -0.25em -.42em 0 .83em; vertical-align:middle; }
			.moduleoptions .more { margin: 0 .83em 0 0; }

	.modulebody {
		background: #fff url('../images/modulebodybg.gif') repeat-x top left;
		border-left: solid 1px #abb4b9; 
		border-right: solid 1px #abb4b9;
	}
	.modulebody.noshade { background-image: none; }
	
		.topimage { padding: 1px; }
		.topimage img { width: 100%; }
		.desc { padding: 1.25em 1.25em 1.07em; }
		.desc.alt { padding-left: 2.25em; }

			.desc img.floatright { margin: 0 0 .42em .42em; }
			.desc img.floatleft { margin: 0 .42em .42em 0; }
			.desc .sidetext {float: left; width: 8.5em;}
			.module p { line-height: 1.2; padding: 0; margin: 0 0 0.42em 0; }

		.modulebl { background: transparent url('../images/module_bottom_left_mini.gif') no-repeat bottom left; margin: 0 -1px -2px -1px; }

			.modulebr { background: url('../images/module_bottom_right_mini.gif') no-repeat bottom right; padding-top: 8px; }


/* === module-varianter === */
.module.fixed { width: 49%; }


/* Gul på grå och gul bakgrund */
.yellowmodule {
	background: #fff url('../images/module_topbg_yellow_mini.gif') repeat-x top left;
}

	.yellowmodule .moduleheader { background-image: url('../images/module_t_r_yg_mini.gif'); }
	.subpage .yellowmodule .moduleheader { background-image: url('../images/module_t_r_yy_mini.gif'); }

		.yellowmodule .moduleheader h3 { background-image: url('../images/module_t_l_yg_mini.gif'); color: #000;}
		.subpage .yellowmodule .moduleheader h3 { background-image: url('../images/module_t_l_yy_mini.gif');}
		.yellowmodule .modulebody { border-left: solid 1px #ffcc00; border-right: solid 1px #ffcc00;} 

			.yellowmodule .modulebl { background: transparent url('../images/module_b_l_yg_mini.gif') no-repeat bottom left; }
			.subpage .yellowmodule .modulebl { background-image: url('../images/module_b_l_yy_mini.gif'); }
			
				.yellowmodule .modulebr { background: url('../images/module_b_r_yg_mini.gif') no-repeat bottom right; padding-top: 8px; }
				.subpage .yellowmodule .modulebr { background-image: url('../images/module_b_r_yy_mini.gif'); }
				
		.yellowmodule .moduletl { background: transparent url('../images/module_alt_t_l.gif') no-repeat left bottom }
		.yellowmodule .moduletr { background: url('../images/module_alt_t_r.gif') no-repeat right bottom; padding-top: 10px; }

	.subpage .yellowmodule .moduletl { background: transparent url('../images/module_alt_t_l.gif') no-repeat left bottom }
	.subpage .yellowmodule .moduletr { background: url('../images/module_alt_t_r.gif') no-repeat right bottom; padding-top: 10px; }


/* Blå på grå och gul bakgrund */
.bluemodule {
	background: #fff url('../images/module_topbg_blue_mini.gif') repeat-x top left;
}

	.bluemodule .moduleheader { background-image: url('../images/module_t_r_bg_mini.gif'); }

		.bluemodule .moduleheader h3 { background-image: url('../images/module_t_l_bg_mini.gif');}

		.bluemodule .modulebody { border-left: solid 1px #3079a8; border-right: solid 1px #3079a8;} 

			.bluemodule .modulebl { background: transparent url('../images/module_b_l_bg_mini.gif') no-repeat bottom left; }
			.subpage .bluemodule .modulebl { background-image: url('../images/module_b_l_by_mini.gif'); }
			
				.bluemodule .modulebr { background: url('../images/module_b_r_bg_mini.gif') no-repeat bottom right; padding-top: 8px; }
				.subpage .bluemodule .modulebr { background-image: url('../images/module_b_r_by_mini.gif')}

		.bluemodule .moduletl { background: transparent url('../images/module_alt_t_l_b.gif') no-repeat bottom left; }
		.bluemodule .moduletr { background: url('../images/module_alt_t_r_b.gif') no-repeat bottom right; padding-top: 10px; }

/* Ljusblå alternativ modul */
.lightbluemodule { background: #fff url('../images/module_topbg_blue_mini.gif') repeat-x top left;}
.lightbluemodule .modulebody { border-left: solid 1px #cfdde5; border-right: solid 1px #cfdde5;} 

			.lightbluemodule .modulebl { background: transparent url('../images/module_b_l_lbg_mini.gif') no-repeat bottom left; }
			
				.lightbluemodule .modulebr { background: url('../images/module_b_r_lbg_mini.gif') no-repeat bottom right; padding-top: 8px; }

		.lightbluemodule .moduletl { background: transparent url('../images/module_alt_t_l_lb.gif') no-repeat bottom left; }
		.lightbluemodule .moduletr { background: url('../images/module_alt_t_r_lb.gif') no-repeat bottom right; padding-top: 10px; }

/* Nyhetslista och utlysningslista */
#newslist, #applications {margin:0;padding:0;list-style-type:none;display:block;}
	#newslist li, #applications li{ margin:0;padding:0; border-bottom: solid 1px #fff;}
		#newslist li a, 
		#applications li a{
			background: #fff url('../images/newslistbg.gif') repeat-x top left;
			display:block;
			text-decoration:none;
			color:#000;
			padding:.83em .83em .83em 1.25em;
		}
		#newslist li a:hover, #applications li a:hover{background: #eaebec url('../images/newslistbg_hover.gif') repeat-x top left;}

			#newslist li a span { padding: .08em 0; line-height: 1.2; }
			#newslist li a .newslistdate { display: block; color: #255d80; font-size: .75em; }
			#newslist li a .newslisttitle { display: block; font-size: .92em; }
			#newslist li a .newslistaut { display: block; color: #a6a6a6; font-size: .83em;}
			
			#newslist li.last a .newslistaut { padding-bottom: 1.33em; }
			
			#newslist li a:hover .newslisttitle { text-decoration: underline; }

	#newslist li.last, #applications li.last  { }
		#newslist li.last a, #applications li.last a {padding-bottom: 0; margin:0 0 -9px 0;}

/* Justeringar för utlysningslista */
#applications li a { padding: 0;}
#applications .appdate { 
	text-align: center; 
	display: block; 
	float: left; 
	width: 1.83em; 
	border-right: solid 1px #e5e5e5; 
	padding:.83em; 
	font-size: 1.08em; 
	font-weight: bold; 
	color: #a6a6a6;
}
#applications .appdate .appyear { 
	display: block; 
	font-weight: normal; 
	font-size: .75em; 
}
#applications .apptitle { 
	display: block; 
	float: left; 
	width: 16em; 
	padding:.83em 0 .83em .83em; 
	border-left: solid 1px #e5e5e5; 
	margin-left: -1px; 
	font-size: .92em;
}
 
#applications  a:hover .apptitle { text-decoration: underline; }


.mediebankthumbs { padding: 1.33em 0 .83em 2.33em; }
	.mediebankthumbs img { 
		margin: 0 .17em .17em 0; 
		width: 4.92em; 
		height:4.92em; 
	}


ul#pageoptions { list-style-type: none; padding: .83em 0 0 1.25em; }
	ul#pageoptions li { margin: .83em 0; }
		ul#pageoptions li img { vertical-align: middle; margin-right: .83em;}
		ul#pageoptions li a { color: #000; }
		/*ul#pageoptions li a:hover { color: #3079a8; }*/


#bookmarks { 
	text-align: center; 
	margin: 1.67em 0; 
	padding: .83em 0; 
	border-top: solid 1px #d7dce0; 
	border-bottom: solid 1px #d7dce0;
}
.subpage #bookmarks { border-top-color: #e0d5b3; border-bottom-color: #e0d5b3; }
	#bookmarks a { margin: 0 .42em; }

.extramodule { width: 16.67em; margin: 0 0 .83em .83em; }
.extramodule.floatleft { margin: 0 .83em .83em 0; }


/**************************************

  Pagination

***************************************/

.pagination {border:0; margin:0; padding:0;}

.pagination a{
border:0; margin:0; padding:0;
list-style:none;
float: left;
}
.pagination li, .pagination a{
margin-right:2px;
}
.pagination .active{
color:#000;
font-weight:bold;
display:block;
padding:.17em .50em;
}
.pagination a:link,
.pagination a:visited {
color:#000;
display:block;
padding:.17em .50em;
text-decoration:underline;
}
.pagination a:hover{
	background: #3079a8;
	color: #fff;
	text-decoration:none;
}
.pagination .previous-off,
.pagination .next-off {
color:#888;
display:block;
font-weight:bold;
padding:.17em .50em;
}
.pagination .next a,
.pagination .previous a {
	padding:.17em .50em;
}
.pagination .next a:hover,
.pagination .previous a:hover {
	background: none;
}


/**************************************
  
  Popup
 
**************************************/

#popupwrapper {
	background: #fff url('../images/popupbg.gif') repeat-y top right;
	position: relative;
	padding-bottom: 100px;
}

#popupwrapper.slide {
	background-image: url('../images/popupbg240.gif');
}

#closeme {
	position: absolute;
	top: 0px;
	right: 0px;
	padding: 8px 8px 0 0;
	width: 100px;
	text-align: right;
}

#closeme a,
#closeme a:link { text-decoration: none; }
#closeme a span { color: #000; text-decoration: underline; }

#closeme img {
	vertical-align: middle;
	margin-left: 5px;
}

#popupwrapper #imagearea {
	float: left;
	padding: 20px;
	margin-bottom: -25px;
} 

#popupwrapper.slide #imagearea {
	padding-top: 0;
}

#popupwrapper #imageinfo,
#popupwrapper #thumbnails {
	float: right;
	text-align: left;
	padding: 30px;
	width: 240px;
	margin-right: -20px;
} 

#popupwrapper #thumbnails { 
	padding: 30px 0 0 30px; 
	width: 210px; 
	margin: 0;	
}

#popupwrapper #imageinfo #imagepagination img{
	vertical-align: text-bottom;
}

#popupwrapper #imageinfo #imagepagination span{
	margin: 0 5px;
	font-weight: bold;
}

#popupwrapper #imageinfo ul { 
	list-style: none; 
	margin: 3px 0 0 0;
	padding: 0;	
}

#popupwrapper #gallery {
	width: 630px;
}


/**************************************
  
  Bildspel
 
**************************************/

div.content {
	/* The display of content is enabled by a javascript generated style on the page.
	   This is so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	float:right;
	width:550px; 
}
#popupwrapper div.controls {
	margin-top: 10px;
	height: 25px;
}
#popupwrapper div.ss-controls {
	padding-top: 3px;
	margin-left: 20px;
	float: left;
}
#popupwrapper div.ss-controls span {
	color: #666666;
	cursor: pointer;
}
#popupwrapper div.nav-controls {
	float: left;
}
#popupwrapper div.nav-controls a {
	padding: 5px;
}

#popupwrapper div.nav-controls a img { vertical-align: text-bottom; }

#popupwrapper span#currentimage { font-size: 1.3em; font-weight: bold; margin: 0 8px; }

#popupwrapper div.slideshow {
	clear: both;
}
#popupwrapper div.slideshow span.image-wrapper {
	padding-bottom: 12px;
}
#popupwrapper div.slideshow a.advance-link {
	padding: 2px;
	display: block;
}
#popupwrapper div.slideshow img {
	border: none;
	display: block;
	margin: 0 auto;
}
#popupwrapper div.download {
	float: right;
}
#popupwrapper div.embox {
	text-align: left;
	clear: both;
	padding: 10px 10px 0 3px;
}
#popupwrapper div.image-title {
	font-weight: bold;
}

#popupwrapper div.image-desc {

}
#popupwrapper div.navigation {
	/* The navigation style is set by a javascript generated style on the page.
	   This is so that the javascript specific styles won't be applied unless javascript is enabled. */
}
#popupwrapper ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
#popupwrapper ul.thumbs li {
	float: left;
	padding: 0;
	margin: 2px 5px 2px 0;
	list-style: none;
}
#popupwrapper ul.thumbs li a {
	display: block;
	padding: 1px;
	background: #a2a2a2;
	border: 1px solid #e5e5e5;
}
#popupwrapper ul.thumbs li.selected a {
	background: #88f;
	border: 1px solid #88f;
}
#popupwrapper ul.thumbs a:focus {
	
}
#popupwrapper ul.thumbs img {
	border: none;
	display: block;
}
#popupwrapper div.pagination {
	clear: both;
}

#popupwrapper div.navigation div.top {
	margin-bottom: 20px;
	height: 15px;
}
#popupwrapper div.navigation div.bottom {
	padding: 5px 0;
}
#popupwrapper div.pagination img.nexticon,
#popupwrapper div.pagination img.previcon { 
	float: left;
	display: block;
	margin: 0 0 0 6px;
}

#popupwrapper div.pagination img.previcon{
	margin: 0 8px 0 0px;
}
#popupwrapper div.pagination a, div.pagination strong {
	float: left;
	margin-right: 2px;
	color:#000;
	display:block;
	padding:.17em .50em;
	text-decoration:underline;
}
#popupwrapper div.pagination a:hover {
	text-decoration:none;
}
#popupwrapper div.pagination strong {
	color:#000;
	font-weight:bold;
	display:block;
	padding:.17em .50em;
	text-decoration: none;
}

#popupwrapper div.navigation div.top a img,
#popupwrapper div.navigation div.bottom a img {
	vertical-align: text-bottom;
	margin: -2px 0 0 -6px;
	padding: 0;
}

#popupwrapper div.navigation div.top a img.nexticon { margin-left: 0; }


/**************************************
  
  Undervisning 
 
**************************************/

.materialdesc { 
	float: left; 
	padding-left: 1.25em; 
	width: 33.5em; 
}
.readmore { text-align: right; }

.compltext { margin-top: 1.67em; }


/**************************************
  
  Mediebank 
 
**************************************/

.picturecontainer, 
.moviecontainer { 
	float: left; 
	width: 9.25em; 
	text-align: left; 
	margin-right: 2.42em;
}
.picturecontainer img, .moviecontainer img { width: 100%; }
.picturecontainer.last, .moviecontainer.last, .picturecontainer.shadow.last { margin-right: 0; }
.picturecontainer span, .moviecontainer span { display: block; padding-top: .42em;}

.picturecontainer.shadow { width: 9.75em; margin-right: 1.67em;}
	.pictureshadow { background: url('../images/imageshadow.gif') no-repeat bottom right; padding: 0 5px 5px 0; }
.moviecontainer span {font-size:1.1em;font-weight:bold;line-height:1.25;margin:0 0 0.5em;padding:0;text-align:left;}

.searchbox { margin-top: .83em; }
.searchbox span, .searchbox a { display: block; padding: .42em 0;}
.searchinput.long { width: 19.17em; }

.moviecontainer { 
	position: relative; 
	width: 20.17em; 
	margin-right: 3.25em; 
}
	.moviecontainer .playicon { 
		position: absolute; 
		top: 5.17em; 
		left:8.33em; 
		width: 3.33em; 
	}

.soundcontainer { 
	float: left; 
	width: 21.67em; 
	padding-right: 1.17em; 
}
.soundcontainer.last { padding-right: 0; }

	.soundcontainer h3 { margin-top: 0; }

.icon { vertical-align: middle; margin-right: .83em; }

.media .moviecontainer img
{
	height: 15em;
}
.films .moviecontainer { 
	position: relative; 
	width: 10em; 
	margin-right: 1.4em; 
}

.films .moviecontainer span
{
	font-size: .9em;
	
}

.films .moviecontainer img
{
	height: 7em;
}

.films .moviecontainer
{
	height: 12em;
}


.films .last
{ 
	margin-right: 0 !important;
}

/**************************************
  
  Nyheter / Nyhetsarkiv
 
**************************************/

#contentsearch,
#imagesearch {
	padding: 1.33em 0 2.5em 0;
}

#imagesearch {
	padding-top: 0;
}

#contentsearch .searchinput,
#imagesearch .searchinput {
	width: 17.92em;
	padding: .25em;
}

.newsdate {
	display: block;
	color: #3079a8;
	padding: 0 0 .67em 0;
}


/**************************************
  
  S ö k
 
**************************************/

#resultcount,
#sortby {
	padding-bottom: 1.67em;
}

.highlighted { background: #ffff80; }

.resultlocation {
	color: #9d9d9d;
}

.resultlocation img {
	vertical-align:middle;
	margin: 0 .33em .25em 0;
}


/**************************************
  
  Formulär
 
**************************************/

.contactform {
	padding: .66em;
}

.contactform .formfield {
	margin-bottom: .83em;
}

.contactform label {
	display: block;
	float: left;
	width: 10.33em;
	clear: left;
	padding-top: .17em;
}

.contactform input, .contactform textarea {
	float: left;
	clear: right;
	width: 36.83em;
}

.formfield .nofloat { float: left; margin-left: 3.50em; }
.formfield .nofloat input { float: none; width: auto; }

.radiobuttons input { float: none; width: auto; margin-right: 1.17em; }
.radiobuttons span { margin: 5px 0; }

.contactform textarea {
	width: auto;
}

.contactform .submit-button {
	float: none;
	width: auto;
	margin-left: 11em;
}


/**************************************
  
  Bildsida
 
**************************************/

#imagecatcontainer {
	margin-bottom: 1.67em;
}


.imagecontainer {
	position: relative;
	background: #fff;
	border: solid 1px #ffcc00;
	padding: 1px 1px 0 1px;
	float: left;
	margin: 0 1.25em 1.25em 0;
	width: 122px;
}

.imagecontainer a { color: #000; }
.imagecontainer a:hover { color: #3079a8; }

.imagecontainer span {
	display: block;
	text-align: center;
	padding: 2px 0 0;
	width: inherit;
	font-size: .92em;
}

.imagecontainer.small {
	width: 76px;
}

.imagecontainer .modulebl { background: transparent url('../images/module_b_l_yy_mini.gif') no-repeat bottom left; margin: 0 -2px -1px -2px;}
.imagecontainer .modulebr { background: url('../images/module_b_r_yy_mini.gif') no-repeat bottom right; padding-top: 8px; }


/**************************************
  
  Blogg
 
**************************************/

.blogthumbnail { 
	display: block; 
	float: left; 
	margin-right: 1.67em;
	width: 11.08em;
}

.blogthumbnail img {
	border: solid 1px #cfdde5;
}

.blogpostpreview {
	float: left;
	width: 31.25em;
}

.blogpostpreviewfull {
	padding: 0 1.25em;
}

.blogpostpreview h2,
.blogpostpreviewfull h2 {
	margin-top: 0;
	font-size: 1.50em;
}

.blogpostinfo {
	border-top: dotted 1px #9d9d9d;
	padding: .67em 0 0;
	margin-top: .92em;
	color: #9d9d9d;
}

.blogpostinfo a:link,
.blogpostinfo a:visited {
	color: #9d9d9d;
}

.bloggerinfo {
	padding: 1.50em 1.92em .92em;
	color: #317caa;
}

.bloggerinfo h3 {
	text-transform: uppercase;
	margin: .75em 0 .63em;
}

.bloggerinfo hr{
	border: 0;
	color: #317caa;
	background-color: #317caa;
	height: 1px;
	margin: 1.83em 0 0; 
}

/* Tag links */
.tags {
    overflow: hidden;
    padding-top: .75em;
}

.tags h2{
    float: left;
    font-style: normal;
    font-size: 1em;
    margin: 0;
    padding: .17em 0 0 0;
}

.tags ul {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.tags li{
    list-style: none;
    list-style-image: none;
    float: left;
    margin: 0;
    padding: 0;
    margin-left: 0.5em;
}


/* 404 */

#content.errorpage {
	width: 100%
}

#content.errorpage .errorwrapper {
	width: 49.17em;
	margin: 0 auto;
}

#content.errorpage .module .desc {
	padding: 1.67em;
}

#content.errorpage .module h1 {
	margin-top: 0;
}

#content.errorpage .module h3 {
	margin: 2em 0 1em;
}

#content.errorpage .module form {
	padding: 0;
}

#content.errorpage .module p {
	line-height: 1.5;
}

#content.errorpage .module ul li {
	margin: 0 0 .28em 1em;
}

#content.errorpage .module hr {
	border: 0;
	color: #c3cfd9;
	background-color: #c3cfd9;
	height: 1px;
	margin: 1em 0 1.68em; 
}



