﻿/* used by: see page.css */
/*
	Colors used:
		#d8dce0 - dimmed blue (hyperlink underline)
		#1c6ec1 - blue (hyperlink, highlighted hyperlink underline)
		#eeebdc - light brown (table header)
		#ffffff - white (table header highlight)
		#aca899 - brown (table header shadow)
		#fafff4 - extra light green (data table background)
		#f0f8e6 - light green (data table zebra highlight)
		#316ac5
		#7a96df
		#d8e4f8
		#7ebb54
		#46851c
*/

#pageheader {
	background-image : url(header.jpg);
	background-position : right center;
	background-repeat : no-repeat;
	height : 105px;
}
#pageheader A {
	border-bottom : none;
}
#logo {
	background-image : url(logo.gif);
	background-repeat : no-repeat;
	background-position : 12px 24px;
	height : 76px;
	width : 200px;
}

UL#headertabs {
	float : left;
	height : 0px;
	list-style-type : none;
	padding : 0px;
	padding-left : 12px;
	margin : 0px;
	margin-bottom : 1em;
	font-weight : bold;
}
UL#headertabs LI {
	float : left;
	height : 28px;
	background-repeat : repeat-x;
	margin-right : 4px;
	border : solid 1px #e3ddc7;
	border-bottom : none;
	background-image : url(header-tab-inactive.gif);
}
UL#headertabs LI.active {
	background-image : url(header-tab-active.gif);
}
UL#headertabs A {
	display : block;
	padding : 0.5em 1em;
	color : black;
	text-decoration : none;
}
DIV#helptab {
	float : right;
	padding-top : 3px;
	padding-right : 16px; /* align with tagline */
}
DIV#helptab A {
	padding : 0.5em;
	padding-right : 16px; /* space for icon */
	background : url(help.gif) no-repeat right center;
	text-decoration : underline;
}

A {
	color : #1c6ec1;
	text-decoration : none;
	border-bottom : solid 1px #d8dce0;
}
A:hover {
	border-color : #1c6ec1;
}
TD {
	padding-bottom : 1px; /* needed for A:border-bottom, used in KontaktOss-svar */
}
TH A { 
	border-bottom : none; /* no underlining for clickable column headers */
}

/* tables */
THEAD TH, THEAD TD {
	background-color : #edebdc;
	border-top : solid 1px white;
	border-bottom : solid 1px #aca899;
}
.data {
	background-color : #fafff4;
}
TR.odd {
	background-color : #f3faeb;
}
.selectable TR.selected, .selectable TR.selected A {
	color : white; 
	background-color : #316ac5 !important; /* prioritize over zebra stripes */
}
.selectable TBODY TR:hover, .selectable TBODY TR:hover A {
	background-color : #7a96df;
	color : #d8e4f8;
}
.sortable TH:hover { 
	background-color : #7a96df;
	color : #d8e4f8;
}
.sortable TH:hover A { 
	color : #d8e4f8;
}
.sortable TH.nosort:hover, .sortable TD.nosort:hover {
	background-color : #edebdc;
}

/* forms */
INPUT.button {
	background : #7ebb54 url(button.jpg) repeat-x;
	border : solid 1px #46851c;
}
.message, #validationSummary, #ValidationSummary1, #ValidationSummary2
{
	padding : 6px;
	padding-left : 28px;
	min-height : 16px;
	background-repeat : no-repeat;
	background-position : 6px 6px;
}
.message-ok, .message.ok
{
	font-weight : bold; 
	padding : 1em; 
	padding-left: 40px; 
	border : solid 1px green; 
	background: #eeffee url(checkmark.gif) no-repeat scroll 4px 4px; 
}
.message.error, #validationSummary, #ValidationSummary1, #ValidationSummary2
{
	color : #DD0000 !important;
	border-color : #DD0000;
	background : #ffeeee url(error-bg.jpg) no-repeat left top;
}
.message.warning
{
	background : #faf0a2 url(warn-bg.jpg) no-repeat left top;
}
.message.info
{
	background-image : url(info.gif);
}

/* microformats */
/* too much troubles having this as default styles... */
/* email and url are already indicated by being an hyperlink, and if telephone numbers
	are not clear enough, they also need an indicator in the content */
.email { /* email address */
	/* should not be generic; icon is ugly and does not add more clarity than hyperlinking */
	/*background-image : url(email.gif);
	background-position : left top;
	background-repeat : no-repeat;
	text-indent : 18px;*/ /* padding-left causes problems for items with set width */
}
.tel { /* telephone number */
	/*background-image : url(phone.gif);
	background-position : left top;
	background-repeat : no-repeat;
	text-indent : 18px;*/ /* padding-left causes problems for items with set width */
	/* but text-indent only works on blocks... */
}
.url { /* web address */
}

/* -- data lists -- */
.datalist {
	background-color : #F3FAEB;
	margin: 1em 0;
}
.datalist, .datalist ul {
	list-style-type : none;
	margin : 0;
	padding : 0;
	overflow: hidden;
}
.datalist ul:after {
	/* clearfix to work around overlapping lines when printing in Firefox (tested in v11 and v13) */
	/* not needed for IE (v7, v9) or Chrome (v18) */
	content: "";
	display: block;
	clear: both;
}
.datalist a.row { /* clickable data rows */
	border-bottom : none; /* overrule style from content.css */ 
	color : black; /* IE7 doesn't know "inherit" */
	cursor : pointer; /* IE7 won't display hand cursor for these links by default */
	display : block;
	text-decoration : none;
}
.datalist a.row:hover {
	background: #8aa3e6; /* Old browsers */
	background: -moz-linear-gradient(top,  #8aa3e6 0%, #7a96df 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8aa3e6), color-stop(100%,#7a96df)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #8aa3e6 0%,#7a96df 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #8aa3e6 0%,#7a96df 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #8aa3e6 0%,#7a96df 100%); /* IE10+ */
	background: linear-gradient(top,  #8aa3e6 0%,#7a96df 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8aa3e6', endColorstr='#7a96df',GradientType=0 ); /* IE6-9 */
	color : white;
}
.datalist .listitem { 
	border-top : solid 1px #eee; 
}
@media print {
	.datalist .listitem { border-top: dashed 1px black; }
}
.datalist .listitem:nth-child(2n) {
	background-color : rgba(255,255,255,.6); /* lighter zebra stripes */
}
.datalist .elm {
	box-sizing: border-box; /* allow padding within box size */
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	float : left;
	line-height : 150%;
	min-height: 1px; /* prevent empty cells from "disappearing" */
	overflow : hidden;
	padding: 0.25em;
	*padding: 0; /* IE7 doesn't support box-sizing */
	text-overflow : ellipsis;
	-o-text-overflow : ellipsis;
}
.datalist input[type="checkbox"] { margin: 0 3px 0 0; }
@media print {
	.datalist a { color: inherit; border-bottom: none; } /* don't display as links on printout */
}

/* jQuery tabs overrides */
.ui-tabs-nav li {
	background-image : url(header-tab-inactive.gif);
	position : relative;
	top : 1px;
	z-index : 2;
	border : 1px solid #e3ddc7;
	margin : 0 4px 0 0 !important;
}
.ui-tabs-nav li.ui-tabs-selected {
	background-image : url(header-tab-active.gif);
	border-bottom : solid 1px white;
}
.ui-tabs-nav a, .ui-tabs-nav a span {
	font-weight : bold;
	color : black;
	background-image: none !important;
}
.ui-tabs-nav a {
	border-bottom : none;
}
.ui-tabs-panel {
	border : 1px solid #e3ddc7 !important;
}