/************************** BEGIN Common styles *******************************/
body, html, #_submitform
{ 
	margin:0; 
	padding:0; 
	height:100%; 
}
#pagewrapper 
{ 
	margin:0; 
	padding:0; 
	min-height:100%; 
	_height:100%;
}

html
{
	overflow-y:scroll;
}

#pagecontent, #sidepanel, #sidemenu { float:left; }

#pagecontent { width:492px; }
body, html, table { line-height:auto; text-align:left; }
body, p, div, td { font-family:arial, verdana, sans-serif; font-size:12px; text-align:inherit; }
form { padding:0px; margin:0px; }
a, a:hover, a:active { text-decoration:none; }
a img { border:none; }
#pagecontent a:hover { text-decoration:underline; }
#ambiencebild { margin-top:-3em; margin-left:1em; }

/* Alignment, spacing */
.center, #adTable th.center { text-align:center; }
.nowrap { white-space:nowrap; }
.clearall, .clearboth, .clear { display:block; clear:both; height:0px; line-height:0px; font-size:0px; margin:0; padding:0; zoom:0; overflow:hidden; }
.align-middle, .middle { vertical-align:middle; }
.floatright, .right { float:right; }
.floatleft, .left { float:left; }
.float-right { width:50%; float:right; }
.float-left { width:50%; float:left; }
.relative-left { position:relative; float:left; }
.relative { position:relative; }
div.spacer { height:5px; font-size:0px; }
div.hr, hr { margin-top:14px; margin-bottom:14px; height:0px; background-color:transparent; color:#ffffff; font-size:0; line-height:0; border:none; border-top:1px solid #dadada; }
.height, td.last 
{
	height:100%;
}
.hidden  { display:none !important; }
.invisible  { visibility:hidden; !important; }

/* Div table styles */
.table { display:table; }
.tr { display:table-row; }
.td { display:table-cell; }

/* Form items */
select { font-family:arial, verdana, sans-serif; font-size:12px; }
input { font-family:arial, verdana, sans-serif; font-size:12px; }
textarea { font-family:arial, verdana, sans-serif; font-size:12px; }
option, select, input { color:#525252; }
optgroup { color:#525252; font-weight:normal; font-style:normal; }
option.huvudgrupp { font-weight:bold; }
.button { color:#000000; }
.small, .small input { font-family:arial, verdana, sans-serif; font-size:90%; }
.large, .largeinputfield { font-size:12px; }
/*
input.inputfield { border:1px solid #adadad; background-color:white; padding:2px 4px; height:21px; }
input[type=file].inputfield { border:auto !important; background-color:auto !important; padding:auto !important; height:auto !important; }
input.notValidated, textarea.notValidated, select.notValidated, span.notValidated { background-color:white; padding:2px 4px 2px 2px; border-left:3px solid #CD001C !important; }
textarea.notValidated, select.notValidated { border:1px solid #adadad; }
*/

input.inputfield { border:auto; }
input.notValidated, textarea.notValidated, select.notValidated { background-color:white; border:1px solid #CD001C !important; }
span.notValidated { background-color:white; border-left:3px solid #CD001C !important; }
input.notValidated { padding:2px 1px; }
textarea.notValidated { padding:2px; }


input.inputfield
{
	color:black;
}

input.inputfield.inactive
{
	color:#787878;
	font-style:italic;
}

/* { background-color:#ff7c1f; color:#ffffff; } */
span.notValidated { padding:2px 5px; }
ul li { padding:0; margin-left:-2em; }

/* Colours */
.red, a.red, #sidemenu div.content a.red { color:#ff0000; }
.grey, a.grey { color:#aaaaaa; }
div.blue { font-family:arial, verdana, sans-serif; font-size:12px; } 
.orange { color:#FF7B00; }
.white { color:#FFFFFF; }

/* Ajax Sökresultat */
/*
#searchResultsContainerDiv { position:relative; width:492px; }
#searchResultsDiv { width:492px; }
#searchResultsLoadingTextDiv { position:absolute; z-index:2; top:0; left:0; width:40%; margin-left:30%; margin-top:10px; text-align:center; padding:6px; background-color:#ffffff; border:1px solid #bababa; display:none; }
*/

/* Ajax Banners */
/*
#sidbannersContainerDiv { position:relative; width:185px; }
#sidbannersDiv { width:185px; }
#sidbannersLoadingTextDiv { position:absolute; z-index:2; top:0; left:0; width:10%; margin-left:45%; margin-top:10px; text-align:center; padding:6px; display:none; }
*/

/* Ajax suggestions */
.sokforslag_div, .dropdownmenu { display:block; display:none; background-color:white; position:absolute; min-width:200px; border:1px solid #afafaf; }
.sokforslag_div a, .sokforslag_div a:hover { background-color:white; display:block; padding:2px; color:#666666 !important; text-decoration:none !important; }
* html .sokforslag_div { width:200px; }
* html .sokforslag_div a { width:200px; }
.sokforslag_div a.selected, .sokforslag_div a.selected:hover { background-color:#5e81bc; color:white !important; text-decoration:none !important; }

/* Dropdown menu */
.dropdownmenu { position:absolute; top:1.5em; display:block; z-index:21; background-color:white; position:absolute; min-width:200px; border:1px solid #afafaf; max-height:300px; overflow:auto; }
* html .dropdownmenu { width:200px; 
height: expression( this.scrollHeight > 302 ? "303px" : "auto" ); /* sets max-height for IE */ }
.dropdownmenu a, .dropdownmenu p { margin:0; background-color:white; display:block; padding:2px; color:black !important; text-decoration:none !important; }
.dropdownmenu a:hover { background-color:#5e81bc; color:white !important; text-decoration:none !important; }
.dropdownmenu a.selected { font-weight:bold; }
.dropdownmenu p { color:#777777 !important; cursor:default; }

.dropdownmenuLank { text-indent:0; position:relative; top:0; left;0; margin-right:3px; white-space:nowrap; min-width:10px; float:left; margin-top:-2px; }
* html .dropdownmenuLank { width:10px; }
.dropdownmenuLank.selected { background:#8a8a8a url('http://www.medrek.se/images/icon_textfield_rounded_tl.gif') top left no-repeat; color:white !important; }
.dropdownmenuLank.selected div { background:url('http://www.medrek.se/images/icon_textfield_rounded_tr.gif') top right no-repeat; }
.dropdownmenuLank.selected div div { background:url('http://www.medrek.se/images/icon_textfield_rounded_bl.gif') bottom left no-repeat; }
.dropdownmenuLank.selected div div div { background:url('http://www.medrek.se/images/icon_textfield_rounded_br.gif') bottom right no-repeat; }
* html .dropdownmenuLank.selected, * html .dropdownmenuLank.selected div, * html .dropdownmenuLank.selected div div, * html .dropdownmenuLank.selected div div div { background-image:none; }
.dropdownmenuLank div div div { padding:2px 4px; }
.dropdownmenuLank.selected a { color:white !important; }

input.inputfield.loading { border:1px solid #adadad; background:white; background-image:url('/images/ikon_ajax_loading_transparent.gif'); background-position:right center; background-repeat:no-repeat; }

/* Tan hack for jagged fonts in AJAX IE7 */
/* * html #searchResultsDiv { filter:alpha(opacity=100); opacity: 1.0; background-color: white; }*/

/* Div som tar upp 50% av sidan styles */
.halvasidan { width:48%; display:inline; float:left; zoom:1; }
.halvasidan a { white-space:nowrap; }
.halvasidan_expand { _width:48%; min-width:48%; display:inline; float:left; zoom:1; }

/* Förstasida snabbsökning */
.startsida_snabbsok { width:492px; height:107px; background:url('/images/jpo_startsida_snabbsok.gif') no-repeat; margin-top:0px; margin-bottom:24px; }
.startsida_snabbsok .content { padding:12px; padding-left:15px; }
.startsida_snabbsok .content { padding-top:14px; }
.startsida_snabbsok .bigheader { font-size:16px; font-weight:bold; color:#737373; padding-bottom:4px; }

/* Förstasida snabbsökning */
.startsida_snabbsok2 { width:492px; height:107px; background:url('/images/jpo_startsida_snabbsok.gif') no-repeat; }
.startsida_snabbsok2 .content { padding:12px; padding-left:15px; }
.startsida_snabbsok2 .content { padding-top:14px; }
.startsida_snabbsok2 .bigheader { font-size:16px; font-weight:bold; color:#737373; padding-bottom:4px; }
.snabbsok .sokheader { font-weight:bold; color:#737373; }

/* Nyhetssida nyheter.htm Styles */
.nyhetssidanyhet { width:230px; }
.nyhetssidanyhet.liten { }

/* Felmeddelande ikon */
.sidfelmeddelande { zoom:1; padding-top:0em; padding-bottom:2em; }
.sidfelmeddelande .left { display:inline; float:left; width:120px; height:100px; text-align:center; padding-top:15px; }
.sidfelmeddelande .right { display:inline; float:right; width:372px; }

/* Meddelande ikon */
.sidmeddelande { zoom:1; padding-top:0em; padding-bottom:2em; }
.sidmeddelande .left { display:inline; float:left; width:70px; height:100px; text-align:center; padding-top:10px; }
.sidmeddelande .right { display:inline; float:right; width:412px; }

/* Liten infomeddelande ikon */
.sidinfoliten { zoom:1; padding:10px; border:1px solid #cecece; }
.sidinfoliten .left { display:inline; float:left; width:50px; }
.sidinfoliten .right { display:inline; float:right; width:400px; }

.supportmessage { font-style:italic; color:#999; font-size:90%; }
.supportmessage a { color:#999; text-decoration:underline; }

/* Headers */
h1, h2, h3, h4, .header1, .header2, .header3, .header4 { padding:0px; margin:0px; font-family:arial, verdana, sans-serif; }
h1, .header1, .rightpanel .content td.header1 { font-size:21px; }
h2, .header2 { font-size:18px; }
h3, .header3 { font-size:14px; }
h4, .header4 { font-size:12px; zoom:1; color:#636363; }

/* CV Table */
table.cv { width:100%; }
table.cv td { padding:2px 0 2px 0; }

/* Gammal tabell-CSS, används i CV-sök */
tr.t_header td { font-weight:bold; padding:0; }
tr.t_content td { padding:0; }

/* Sitemap styles */
div.sitemap_lankar { margin-bottom:1em; }
div.sitemap_lankar a.marker { font-weight:bold; }
div.sitemap_lankar div.header { font-weight:bold; }
div.sitemap_lankar div.content { padding-left:1em; }

/* Nya Alternativ Styles - Utan inline bilder */
.annonsAlternativ { background:url('/images/alternativtable2_content_bg.gif') no-repeat; width:492px; } 
.annonsAlternativ div.top { background:url('/images/alternativtable2_top.gif') no-repeat; width:492px; height:6px; font-size:0px; line-height:0px; }
.annonsAlternativ div.bottom { background:url('/images/alternativtable2_bottom.gif') no-repeat; width:492px; height:6px; font-size:0px; line-height:0px; }
.annonsAlternativ div.content { margin:0px; padding:0px; }

/* Annonslista Fler sidor länkar */
div.annonslista_morelinks { text-align:center; }
div.annonslista_morelinks a,
div.annonslista_morelinks b 
{
	border:1px solid #cacaca; 
	background-color:white; 
	text-decoration:none !important;
	padding:2px 6px !important;
	margin-right:2px !important; 
	margin-top:4px;
	display:inline-block;
}

div.annonslista_morelinks b
{
/*
	border:1px solid #4D6C96 !important; 
	background-color:#4D6C96 !important; 
	color:white !important;
	*/
	color:black;
	background:white !important;
	border:1px solid white !important;
}

div.annonslista_morelinks a:hover 
{
	border:1px solid #2C4185 !important; 
	background-color:#2C4185 !important; 
	color:white !important;
}

div.annonslista_morelinks a b
{
	border:none !important; 
	background-color:transparent !important; 
	color:inherit !important;
	padding:0 !important;
	margin:0 !important;
}


/* Anonslista/Sökresultat styles */

div.annonslista { font-size:11px; color:#888888; padding-left:0.85em; }
div.annonslista h2, div.annonslista h4 { font-size:12px; margin:0; display:block; text-indent:-0.85em }
div.annonslista h5 { font-size:11px; margin:0; }
div.annonslista h5 i { font-weight:normal; }

/* Alternativ länkar */
.annonsAlternativ .annonsAlternativLank { min-width:230px; _width:230px; margin:3px 0px 0px 6px; display:inline; float:left; }
.annonsAlternativLank { height:23px; min-height:23px; margin-top:3px; padding:0px;  }
.annonsAlternativLank a 
{
	display:block; 
	padding:4px 0px 4px 31px; 
	min-height:15px; 
	font-size:11px; 
	font-weight:bold; 
	text-decoration:none; 
	background-repeat:no-repeat;
	background-image: url(/images/ui/annonsalternativsprite.png);
}
.annonsAlternativLank.annons_ansok a { background-position: -10px -10px; }
.annonsAlternativLank.annons_skrivut a { background-position: -10px -53px; }
.annonsAlternativLank.annons_tipsa a { background-position: -10px -96px; }
.annonsAlternativLank.annons_hemsida a { background-position: -10px -139px; }
.annonsAlternativLank.annons_presentation a { background-position: -10px -182px; }
.annonsAlternativLank.annons_email a { background-position: -10px -225px; }
.annonsAlternativLank.annons_sharethis a { margin-left:8px; margin-top:0; }

/* EXPTREE */
div.exptree { font-family:arial, verdana, sans-serif; font-size:12px; font-weight:bold; overflow:auto; }
/* height:270px; */
div.exptree div.nod { font-size:inherit; clear:both; display:block; text-decoration:none; color:#000000; padding:2px; }
div.exptree div.nod.content { font-size:11px; font-weight:normal; margin-left:15px; display:none; }
div.exptree div.nod.content label { font-size:inherit; display:block; width:45%; float:left; text-indent:-21px; padding-left:21px; }
div.exptree div.nod.content label.samtliga { font-size:inherit; width:auto; float:none; text-indent:0px; padding-left:0px; font-weight:bold; clear:both; }
div.exptree div.nod.content label:hover { color:#3D567C; }
div.exptree div.nod.content input { font-size:9px; vertical-align:middle; }
div.exptree div.nod.collapsed { padding-left:20px; background:url('/images/exptree_expand_arrow.gif') #ffffff top left no-repeat; cursor:pointer; }
div.exptree div.nod.expanded { padding-left:20px; background:url('/images/exptree_collapse_arrow.gif') #ffffff top left no-repeat; cursor:pointer; }
div.exptree div.nod.collapsed.hover, div.exptree div.nod.expanded.hover { background-color:#dedede; }
/* The following line is the Tan hack - It's needed to kill an Explorer overflow-related bug */
* html div.exptree div.nod.content {height: 1%;}

/* Visa CV */ 
table.cv-personuppgifter { width:100%; margin:0 auto; padding:4px; }
table.cv-personuppgifter td { padding:4px; }
table.cv-personuppgifter h2 { font-size:14px; color:black; margin:0; padding:0; }

.cv-resultat { display:block; border-bottom:1px solid #cecece; padding:8px; height:35px; padding-left:42px; background:no-repeat left center; cursor:pointer;  }
.cv-resultat.over { background-color:#eaeaea; }
.cv-resultat.out { background-color:none; }
.cv-resultat.man { background-image:url(http://www.medrek.se/images/ikon_cv_man_liten.gif); }
.cv-resultat.kvinna { background-image:url(http://www.medrek.se/images/ikon_cv_kvinna_liten.gif); }
.cv-resultat h2, .cv-resultat h4 { font-size:12px; font-weight:normal; }
.cv-resultat li {  font-size:11px; list-type:none; float:left; display:block; width:25%; color:black; }


/* Presentationer */
.snabbsok_liten { background:url('/images/jpo_snabbsok_liten.gif') no-repeat; padding-left:15px; height:16px; width:492px; padding-left:12px; padding-top:17px; padding-bottom:15px; position:relative; }
.snabbsok_liten .input { margin-top:-3px; }
.snabbsok_liten .ajaxLoading { float:right; padding-right:20px; }

.filter_liten { background:url('/images/jpo_filter_liten.gif') no-repeat; text-indent:15px; height:16px; width:492px; padding-top:10px; padding-bottom:15px; position:relative; }
.filter_liten .input { margin-top:-3px; }
.filter_liten .ajaxLoading { float:right; padding-right:20px; background:url(/images/ikon_ajax_loading.gif) no-repeat; width:16px; height:16px; }
#presentationer { margin:0; padding:0; text-indent:0; }
li.presentation { list-style:none; margin:0; text-indent:0; position:relative; z-index:0; }
li.presentation { color:#888888; padding:1.7em 1.7em 2.2em 1.7em; border:1px solid white; border-bottom:1px solid #dadada; zoom:1; }
li.presentation { color:#888888; padding:1.7em 0.7em 2.2em 0.7em; border:1px solid white; border-bottom:1px solid #dadada; zoom:1; }
li.presentation.over { background-color:white; }
/*
li.presentation.over { border:1px solid #cecece; background-color:white; border:1px solid #cecece; }
*/

li.presentation h2 { font-size:12px; margin:0; }
li.presentation, li.presentation div, li.presentation h2, li.presentation h4, li.presentation p { font-size:11px !important; }
li.presentation .logotyp { float:left; width:180px; white-space:hidden; }
li.presentation .korttext { float:right; width:260px; }
li.presentation .korttext p { color:#888888; margin:0.5em 0; }

li.presentation .merinfo { font-size:90%; position:absolute; bottom:0; left:0; width:100%; zoom:1; background-color:#d9d9d9; color:black; cursor:default;}
/* * html li.presentation .merinfo { width:120px; white-space:nowrap; } */
li.presentation .merinfo b { background:url('/images/merinfo_bg.gif'); height:16px; width:25px; }
li.presentation .merinfo b.l { float:left; background-position:0px; }
li.presentation .merinfo b.expanded { background-position:25px; }

.ajaxLoadingDiv { position:absolute; z-index:2; top:0; left:0; width:40%; margin-left:30%; margin-top:10px; text-align:center; padding:6px; background-color:#ffffff; border:1px solid #bababa; display:none; }

/* Help system - help balloon */
span.help
{
	position:relative;
	visibility:hidden;
	margin-left:3px;
}
span.help span
{
	position:absolute;
	top:-17px;
	background:url('/images/help_left_arrow.gif') no-repeat;
	width:20px;
	height:40px;
	z-index:12;
}
span.help b
{
	position:absolute; 
	top:-17px;
	width:200px;
	font-size:11px;
	font-weight:bold;
	padding:10px;
	border:1px solid #c2c0c0;
	background:#d5d5d5 url('/images/help_bg.gif') repeat-x;
	margin-left:16px;
	z-index:1;
	min-height:30px;
	height:auto !important;
	height:30px;
}


ul#navTabsWrapper
{
	margin:0;
	padding:0;
	list-style-type:none;
}

ul#navTabsWrapper li
{
	margin:0;
	padding:0;
}
/************************** END Common styles *******************************/