:root
{
	--ki-color: #d40963;
	--ki-color2: #79084A;
}

body {
	text-align: center;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: small;
	background-image: url(../pics/background.jpg);
	background-repeat: repeat-x;
	margin: 0px;
}

h1 {
	font-size: 1.3em;
}

h2 {
	font-size: 1.2em;
}

/* Center tables in FireFox */
table {
	margin-right: auto;
	margin-left:auto;
}

/* Style for table content */
th, td {
	text-align: left;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: small;
}

table td {
	white-space: nowrap;
}


/* General form style */
form {
	padding: 3px 6px 3px 6px;
}

/* Hidden forms shall not take up place */
form.hidden {
	padding: 0px;
	margin: 0px;
}

/* General label style */
label, table.formtable th {
	font-family: Arial,Helevetica,sans-serif;
	font-weight: bold;
}

/* Suggested style for table-less forms */
form div {
	clear:left;
	display:block;
	/*width:400px;*/
	margin:5px 0 0 0;
	padding:1px 3px;
}
form div label {
	display:block;
	float:left;
	width:130px;
	padding:3px 5px;
	margin: 0 0 5px 0;
	text-align:right;
}

div span{
	clear: both;
	float: none;
	position: relative;
}
div span input {
	left: 80px;
	position: absolute;
	top: 1px;
}
div span label {
	display: block;
	margin-left: 90px;
	width: 200px;
}

/* END TEST */
/* ==================
/* General input style */
input {
	color: #00008B;
	background-color: #EEEEEE;
	border: 1px solid #D6D6D6;
}

/*Style for radio buttons. Radio buttons look starnge if they have a
border and background color */
input.radio {
	background-color: #ffffff;
	border: none;
}

/* Style for a p within a p within a form */
form p {
	clear: left;
	margin: 0;
	padding: 0;
	padding-top: 5px;
}

/* Style for a label within a p within a form */
form p label {
	float: left;
	width: 30%;
	font: bold 0.9em Arial, Helvetica, sans-serif;
}

/* Effort to be able to style form:checkboxes output */
div span label {
	float: left;
	width: 30%;
	font: bold 0.9em Arial, Helvetica, sans-serif;
}

div span input {
	float: right;
	width: 30%;
	font: bold 0.9em Arial, Helvetica, sans-serif;
}

/* Style for the fieldset */
fieldset {
	border: 1px dotted var(--ki-color2);
	margin-top: 16px;
	padding: 10px;
}

/* Style for the fieldset legend */
legend {
	font: bold 1.0em Arial, Helvetica, sans-serif;
	color: var(--ki-color2);
	background-color: #FFFFFF;
}

/* Form text input style */
input.txt{
	color: #00008B;
	background-color: #EEEEEE;
	border: 1px inset #D6D6D6;
	width: 200px;
}

/* Form button style */
input.btn {
	color: #000000;
	background-color: #EEEEEE;
	border: 1px outset #D6D6D6;
}

/* Format links as buttons */
.btnlink {
	color: #000000;
	background-color: #EEEEEE;
	border: 1px outset #D6D6D6;
	padding: 3px 6px 3px 6px;
}

select {
	width: 100px;
	color: #000000;
	background-color: #EEEEEE;
	border: 1px solid #D6D6D6;
}

.autowidth {
	width: auto;
}

textarea {
	width: 200px;
	height: 40px;
	color: #000000;
	background-color: #EEEEEE;
	border: 1px solid #D6D6D6;
}

a:link {
	color: var(--ki-color2);
	text-decoration: none;
}

a:visited {
	color: var(--ki-color2);
	text-decoration: none;
}

a:active {
	color: var(--ki-color2);
	text-decoration: none;
}

/* Used in odd rows i Displaytag listings */
.odd{
	background-color: #DAF7F8 ;
}

.small {
	font-size: 0.8em;
}

#errorpagecontainer {
	text-align: left;
	background-color: #FFFFFF;
}

/* The application background area */
#container {
	width: 960px;
	min-height: 768px;
	margin: 0px auto;
	background-color: #FFFFFF;
	text-align: center;
}

/* container for KI logo and KI Biobank picture */
#topcontainer {
	width: 960px;
	height: 100px;
	margin: 0px auto;
	background-color: #EAEAEA; /*KI Silver 40% */
}

#pagecontent {
	margin-left: 150px;
	margin-right: 150px;
	padding: 10px 0; 
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

img.logo {
	border: none;
}

/* 
	Table containing current study and number of samples
    Displayed into inforbar
*/
table.infotable {
	margin-left: 0px;
	width: 600px;
	border: none;
	color: #ffffff;
}

table.formtable td, table.formtable th {
	padding: 5px 5px 5px 5px;
}

.white {
	color: white;
}

.red {
	color: red;
}

.largetext {
	font-size: 30px;
}

.formerror {
	color: red;
}

.break-word {
  word-wrap: break-word;
}

/* Stil f�r KI loggan */
#kilogo {
	width: 300px;
	float: left;
	text-align: left;
}

/* Stil f�r Biobanksloggan */
#biobankslogo {
	width: 300px;
	float: right;
	text-align: right;
}

/* Stil f�r div tagg med inloggningsformul�r */
#login {
	text-align: center;
}

/* Dokumentera */
#infoimage {
	width: 160px;
	float: right;
	text-align: right;
}

/* Dokumentera */
#infoarea {
	height: 55px;
	clear: both;
	margin: 0px;
	padding: 5px 10px 5px 20px;
	background-color: var(--ki-color2);
	text-align: left;
	border-bottom: 6px double #CCCCCC;
}

/**************** Meny-stil *****************/
#menu {
	width: 100%;
	background: #eee;
	float: left;
	text-align: left; /*Annars blir menyn sned i IE */
}

/* Generell stil f�r listorna som utg�r menyn */
#menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 12em;
}

/* V�nsterjusterade menyrubriker */
.menuitemleft {
	float: left;
}

/* H�gerjusterade menyrubriker */
.menuitemright {
	float: right;
}

/* Generell stil f�r rubriker och l�nkar i menyn */  
/* Removed ", #menu h2
"*/
#menu a {
font: bold 11px/16px arial, helvetica, sans-serif;
display: block;
border-width: 1px;
border-style: solid;
border-color: #ccc #888 #555 #bbb;
margin: 0;
padding: 2px 3px;
}

/* Stil f�r menyrubriker */
#menu h2, #logoutmenuitem li a {
	color: #fff;
	/* Paste from above to avoid double styles */
	font: bold 11px/16px arial, helvetica, sans-serif;
	display: block;
	border-width: 1px;
	border-style: solid;
	border-color: #ccc #888 #555 #bbb;
	margin: 0;
	padding: 2px 3px;
	background-image: url(../pics/menubackground.jpg);
	text-transform: uppercase;
}

/* Stil f�r menyl�nkar */
#menu a {
	color: #000;
	background: #efefef;
	text-decoration: none;
}

/* Stil f�r markerade menyl�nkar */
#menu a:hover {
	color: var(--ki-color);
	background: #fff;
}

/* Stil f�r list-items i menyernas listor */
#menu li {
	position: relative;
}

/* Stil f�r underlistor i menyn */
#menu ul ul {
	position: absolute;
	z-index: 500;
}

/* Stil f�r en ytterligare niv� av underlistor i menyn */
#menu ul ul ul {
	position: absolute;
	top: 0;
	left: 100%;
}

/* Anv�nds f�r att se till att underlistor inte visas n�r de inte
 ska visas */
 /* the sfhover class is added by the fixup js for ie6, on elements with id 'leftmenu' or 'adminmenu' */
div#menu ul ul,
div#menu ul li:hover ul ul,
div#menu ul ul li:hover ul ul,
div#menu ul li.sfhover ul ul,
div#menu ul ul li.sfhover ul ul
{
	background: #efefef; /* probably what makes the menus float on top of the text ... */
	left:-999em; /* makes menus go away, out into left field ... */
	/* display: none; */
}

/* Anv�nds f�r att se till att underlistor visas n�r respektive menyrubrik
�r markerad */
 /* the sfhover class is added by the fixup js for ie6, on elements with id 'leftmenu' or 'adminmenu' */
div#menu ul li:hover ul,
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul,
div#menu ul li.sfhover ul,
div#menu ul ul li.sfhover ul,
div#menu ul ul ul li.sfhover ul
{
	left:auto; /* ... and make the menus come back */
	/* display: block; */
}

/* Stil f�r sidfot */
#footer {
	font-size: 0.8em;
	color: #808080;
}

/* Stil f�r linje i sidfot */
#footer hr {
	height: 1px;
	color: #ffffff;
	width: 960px;
}
/* Styles used in the tagged navbar in the updateuser flow */
#navbar{
	height:30px;
}
#navbar ul li {
	display:inline;
	margin:0 10px 0 0;
}
#navbar ul li a {
	color: #333;
	display:block;
	float:left;
	padding:5px;
}
#navbar ul li a:hover {
	background:#eee;
	color:black;
}

/* */
#formtable  {
	text-align: left;
}

#formtable form fieldset  {
	border: 0px;
}

#formtable form fieldset table {
	 margin-left: 0px;
}

#formtable form fieldset table tbody tr td {
	 padding-right: 20px;
}

#selectSampleTypeSection {
	width: 500px;
	overflow: auto;
	margin: 0 auto;
	padding-bottom: 15px;
}

.highlight {
	font-weight: bold;
	background-color: yellow;
}


/* Two sided multiselect styles */
.tsmsselect {
	width: 35%;
	float: left;
	clear: none;
}
.tsmsselect select {
	width: 100%;
}
.tsmsoptions {
	width: 20%;
	float: left;
	clear: none;
}
.tsmsoptions p {
	margin: 2px;
	text-align: center;
	font-size: larger;
	cursor: pointer;
}
.tsmsoptions p:hover {
	color: White;
	background-color: Silver;
}

#ui-datepicker-div .ui-widget-header {
	background: none;
	background-color: var(--ki-color);
	border: 1px solid var(--ki-color);
}