/* RESET */

*{ outline: 0;}
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th { font-size: 1em; font-weight: normal; font-style: normal; }
ul,ol { list-style: none; }
fieldset,img { border: none; }
caption,th { text-align: left; }
table { border-collapse: collapse; border-spacing: 0; }

/* BASE */
html {
	background: #b0a593 url('/img/bg.jpg') top left repeat-x;
    font-family: "Arial", Helvetica, Verdana, Arial, Helvetica;
    font-size: 13px;
    line-height: 19px;
    color: #24071d;
	_height: 100%;
}

h1 {
    color: #5b1e39;
    font-size: 16px;
	line-height: 20px;
	font-weight: bold;
    text-shadow: #bbb 2px 2px 12px;}

p{
	margin-bottom: 19px;
}

h2 {
    color: #5b1e39;
    font-size: 14px;
	line-height: 20px;
	font-weight: bold;
    text-shadow: #bbb 2px 2px 12px;}

h3{
	font-weight: bold;
	color: #5b1e39;
}
a:link {
    color: #2e5a5c;
}
 
a:hover {
    color: #222;
}

.right{
float: right;
}


.left{
float: left;
}



strong {
    color: #222;
	font-weight: bold;
}

ul {
    margin: 5px 0 0 0;
    padding: 0;
    font-size: 12px;
}
 
li{
margin: 2px 0;
}


/* LAYOUT */
#frame {
    width: 960px;
    margin: 0 auto;
}

#mainframe{
	width: 950px;
	padding: 5px;
	float: right;
	position: relative;
	top: -60px;	
}
 
#header {
    width: 100%;
	height: 190px;
	background: transparent url('/img/testbg.png') top left repeat-x;
	float: left;
}

#header_in{
	width: 950px;
	margin: 0 auto;

}

#logo{
	float: left;
	margin: 20px 0 0 0;
	width: 410px;
	height: 68px;
}
#header h1 {
	position: absolute;
	top: 15px;
	left: 0px;
    font-size: 24px;
	font-weight: bold;
	color: #eee;
}

/* columns */

.three_col, .personinfo{
	padding: 15px 0;
}


.main{
float: left;
width: 550px;
background: transparent url('/img/test.png') top left repeat-x;
 
min-height: 450px;
_height: 450px;
padding: 15px;
}


.two_col_right .main{
	width: 550px;
}

.personinfo .info{
	float: right;
	width: 480px;
	background: transparent url('/img/test.png') top left repeat-x;
 
	min-height: 450px;
	_height: 450px;
	margin-top: 15px;
	padding: 10px;
}

.three_col .extracol{
float: right;
width: 200px;
position: absolute;
right: 0;
}

.personinfo .sidebar{
	float: left;
	width: 350px;
}


.three_col .sidebar{
float: left;
width: 130px;
}

.two_col_right .sidebar{
	float: right;
	width: 300px;
}



.half_col_left{
	float: left;
	width: 45%;
}

.half_col_right{
	float: right;
	width: 45%;
}

.samarbetsdiv, .main2{
	margin: 0 auto;
	width: 670px;
	background: transparent url('/img/test.png') top left repeat-x;

	min-height: 450px;
	_height: 450px;
	padding: 15px;
	
}

/* MENU */
#menu{
float: left;
margin: 50px 0 0 20px;
}

#menu li{
float: left;
}

#menu li a{
	background-repeat: repeat-x; 
	background-color: transparent;	
	background-image: url('/img/active.png');
	display: block;
	float: left;
	padding: 5px 12px;
	color: #222;
	font-weight: bold;
	text-decoration: none;
	text-align: center; 	
}
#menu li a:hover{
	background-image: url('/img/hover.png');
	color: #eee;
}
#menu li#active a{
	background-image: url('/img/menu.png');
	color: #eee; 
}

#menu li.samarbets a{
	background-position: top right;
}

#menu li.omoss a{
	background-position: -20px top;
}

#menu li.start a{
	background-position: top left; 
}

#menu li a.last{
border: 0;
}
 

.block{
	border: 3px double #ccc;
	background: #e1ddd7;
	padding: 10px;
}

/* general tabrules */

.tabs{
	float: left;
	width: 100%;
	margin-bottom: 5px;
}

.tabs li{
	float: left;
}

.tabs li a{
	padding: 0 5px;
	line-height: 19px;
	height: 19px;
	float: left;
	color: #222;
	font-weight: bold;
	text-decoration: none;
	display: block;	
	font-weight: bold;	
}

.tabs li a:hover{
	color: #eee;
}

.tabs li a.active{
	color: #eee;
}

/* tabs for personcategories */
#categories{
	margin-top: 20px;
}

#categories li{
	width: 100%;
	margin-bottom: 5px;
}

#categories li a{
	width: 100%;
	text-indent: 15px;
	line-height: 29px;
	height: 29px;
	background: transparent url('/img/active.png') top left repeat-x;
}

#categories li a:hover{
background: transparent url('/img/hover.png') top left repeat-x;
}

#categories li a.active{
background: transparent url('/img/menu.png') top left repeat-x;
}


/* filtercontrols */
.controls{
	float: left;
	width: 100%;
	border-bottom: 1px solid #baa480;
	padding: 0 0 5px 0;
	margin-bottom: 5px;
}
.controls h3{
	float: left;
	margin: 0 5px 0 0;
}

.controls a{
	display: block;
	float: left;
	color: #555;
	padding: 0 10px;
	font-size: 12px;
	text-decoration: none;
}

.controls a.active{
	background: #5b1e39;
	color: #eee;
}

.controls a:hover{
	color: #000;
}

.person{
	float: left;
	width: 89px;
	border: 1px solid #ccc;
	background: #baa480;
	margin: 5px 0 5px 5px;
	font-size: 11px;
	padding: 5px;
	text-decoration: none;
	color: #333;
	position:relative;
	z-index: 24;

	
}

.person img{
	float: left;
}


.person:hover{
	background: #eee;
	color: #333;
	z-index:25; 

}

.tooltip_male, .tooltip_female{
	width: 150px;
	color:#333;
  text-align: left;
	border: 1px solid #ccc;
	font-weight: bold;
	padding: 5px 10px 5px 25px;
}
.tooltip_male{
	background: #eee url('/img/male.png') center no-repeat;
	background-position: 5px 5px; /* x-pos y-pos */	
}

.tooltip_female{
	background: #eee url('/img/female.png') center no-repeat;
	background-position: 5px 5px; /* x-pos y-pos */
	}

.hidden{
	display: none;
}


/* SPECIAL LINKS */
.readmore{
	color: #333;
	float: right;
	padding-right: 20px;
	background: transparent url('/img/readmore.png') center right no-repeat;	
 	
}

.maplink{
	color: #333;
	float: left;
	padding-left: 20px;
	background: transparent url('/img/map.gif') center left no-repeat;	
}
.readmore:hover, .maplink:hover{
	color: #060;
}



/* PERSONINFO */

.slideshow img{
	float: left;
	border: 3px double #ccc;
}

.infotext{
	margin: 10px;
	font-size: 12px;
}

.personinfo h1{
	float: left;
	width: 100%;
	display: block;
	padding-left: 30px;
	font-size: 17px;
	margin: 0 0 10px 0;
}


h1.male{
	background: transparent url('/img/male.png') top left no-repeat;	
}

h1.female{
	background: transparent url('/img/female.png') top left no-repeat;	
}

h1.male span, h1.female span{
	font-size: 80%;
	font-weight: normal;
	color: #444;
}




/* INFOTABS FOR PERSON */
#infotabs{
	border-bottom: 1px solid #999;
}

#infotabs li a{
	padding: 3px 15px;
	font-size: 11px;
	color: #222;
	background: transparent url('/img/active.png') -15px top repeat-x;
 	
}

#infotabs li a.active{
background: transparent url('/img/menu.png') -15px top repeat-x;
color: #eee;	
}

#infotabs li a:hover{
background: transparent url('/img/hover.png') -15px top repeat-x;	
}


#slideshowtabs{
	width: 350px;
	float: left;
}
#slideshowtabs li a{
	font-size: 10px;
	background: transparent url('/img/mini_menu.png') -15px top repeat-x; 	
}

#slideshowtabs li a:hover{
background: transparent url('/img/mini_hover.png') -15px top repeat-x;
color: #eee;
}

#slideshowtabs li a.active{
	background: transparent url('/img/menu.png') 50px top repeat-x;
	color: #eee;
}

#slideshowtabs li #previous_image{
	background-position: top left;
 	
}


#slideshowtabs li #next_image{
	background-position: top right; 	
}




/* INFOLISTS */
.infolist, .infolist li{
	float: left;
	width: 100%;
	margin-bottom: 2px;
	color: #333;
}

.infolist li{
	padding: 2px 0px;
	text-indent: 10px;
	font-size: 11px;
}

.infolist li.even{
	background: #ccc;
}

h3.listtitle{
	margin-top: 20px;
}
.even{
		background: #ccc;
}
.infolist li strong{
	margin-right: 5px;
}




/*FORMS*/

input.validation-failed, textarea.validation-failed {
	border: 1px solid #c00;
}

.validation-advice {
	margin: 2px 0 0 0;
	padding: 2px 0px 2px 25px;
	width: 275px;
	float: left;
	color : #c00;
	background: url(/img/error.gif) left center no-repeat;
	font-size: 10px;
}


form {
	margin: 20px 0;
}

form div{
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px dotted #ccc;
	float: left;
	width: 100%;
}

form div.last, form div div{
	border: 0;
}

form div a{
	font-size: 10px;
	display: block;
	float: left;
}
label {
	float: left;
	width: 96px;
	font-weight: bold;
	font-size: 11px;
}

textarea{
	width: 98%;
	height: 200px;
	border: 1px solid #ccc;
	padding: 4px 2px;
	float: left;
}

input{
	float: left;
	width: 196px;
	padding: 4px 2px;
	border: 1px solid #ccc;
}

select{
	padding: 2px;
	width: 196px;
}


input:focus, textarea:focus{
	border: 1px solid #614922;
}

.submit{
	float: right;
	border:  0;
	background: url(/img/submit.png) top left no-repeat;
 
	width: 90px;
	height: 27px;
	color: #fff;
	font-weight: bold;
	font-size: 10px;
}


/* MODAL */

#modal_container {  
	padding:5px;  
  	background: #b0a593 url('/img/bg.jpg') top left repeat-x;
    border:5px solid #666;  
    overflow:auto;  
    font-family:"Lucida Grande",Verdana;  
    font-size:12px;  
    color:#333;  
		padding: 5px;
    text-align:left;  
} 
 
#modal_overlay {  
     background-color:#eec;  
 }

#modal_container .closeModal{
	position: absolute;
	top:0;
	right: 0;
	padding: 4px;
	background: #666;
	color: #eee;
	text-decoration: none;
	font-weight: bold;
	display: block;
	font-size:11px;
}



/* IF NO JS */

.noJstab_page{
	margin-bottom: 500px;
	width: 650px;
}

.Js{
display: none;	
}


.noJscat{
	float: left;
	margin-bottom: 30px;
	width: 100%;
}

.noJscat li{
	float: left;
}

.noJscat li a{
	display: block;
	padding: 3px 10px;
	background: #eee;
	text-decoration: none;
}

.noJscat li.active a{
	background: #060;
	color: #fff;
}

.info h2{
	margin: 20px 0 0 0;
	float: left;
}


.slidenoJs img{
	margin-top: 20px;
}

.cake-sql-log{
	width: 100%;
	float: left;
}
.cake-sql-log th{
	background: #333;
	color: #fff;
}
.cake-sql-log td{
	padding: 5px;
	border: 1px solid #ccc;
}
.aloneimg{
	margin: 15px 40px;
}

#printlink{
	position: absolute;
	top: 0;
	right: 0px;
	display: block;
	padding: 4px 4px 4px 25px;
	margin-bottom: 5px;
	text-align: left;
	background: #666 url('/img/print.png') center left no-repeat;
	color: #eee;
	text-decoration: none;
	font-weight: bold;
}

#modal_container #printlink{
	right: 60px;
}
 
#printlink:hover {
    color: #222;
}

.printlink{
	position: absolute;
	top: 0;
	right: 0px;
	display: block;
	padding: 4px 4px 4px 25px;
	margin-bottom: 5px;
	text-align: left;
	text-decoration: none;
}
