/***************************/
/* MASTRA */
/***************************/


#resultTableRet {
 width: 900px;
}


.resultTable {
 width: 917px;
 overflow-x: auto;
}

.smallText {
font-size: 11px;
line-height: 12px;
padding: 0px;
margin: 0 0 0 0;
}

td .udtCB {
margin: 0px;
/*width: 13px;*/
width: 100%;
height: 13px;
}

.udtC {
width: 13px;
}

.inputRet td {
background: #ccff99;
}

.results .test input {
width: 100%;
border: none;
background: transparent;
/*margin: 2px 1px 2px 1px;*/
margin:  1px 0px 1px 0px;
padding: 0px 0px;
}

.results input {
width: 100%;
border: none;
background: transparent;
margin: 2px 1px 2px 1px;
}

.results img {
border:none;
}

.boxHeader {
font-weight: bold;
font-size: 12px;
margin-bottom: 5px;
}

.results .inputBg {
  background-color: #ccff99;
}

.retSpinner {
  display: none;
  position: absolute;
  bottom: 0px;
  left: 400px;
  background: transparent;
/*  background: #e8f2f4; */
  margin-bottom: 300px;  
  z-index: 11;
}

/***************************/
/* TABS */
/***************************/

.tabsHeaderRow {
  /* Relative positioning is a requirement for z-index to work in IE,
     but applying it here doesn't work - applied by JS instead.
  position: relative;*/
  z-index: 10;
}

.tabsElement {
  border: 1px solid #bfbfbf;
  border-right: 0px;
  float: left;
  height: 11px;  
  padding: 5px 8px;
  padding-bottom: 8px;
  background-color: #ffffff;
  color: #454545; /*#797979;*/
  text-decoration: none;
  cursor: pointer;
}

.tabsElementSelected {
  border-bottom: 1px solid white;
  background-color: #e8f2f4;
  color: #000000;
}

.tabsLastElement {
  border-right: 1px solid #bfbfbf;
}

/***************************/
/* COLUMNS */
/***************************/

.tabContainer {
  width: 929px; /* 941 - 10 padding - 2 border */
  padding: 8px 5px;
  border: 1px solid #bfbfbf;
  background-color: #ffffff;
  float: left;
  margin-top: 2px;
}
.tabContainer .componentRow .tabContainer {
  width: 905px; /* 917 - 10 padding - 2 border */
}

.componentRowTop {
  width: 935px; /* 941 - 6 padding */
  height: 18px; 
  padding: 1px 1px 0px 5px; 
  background-color: #e8f2f4; 
  border-bottom: 1px solid white; 
}
.tabContainer .componentRowTop {
  width: 923px; /* 939 - 6 padding */
}

.componentRow {
  width: 929px; /* 941 - 10 padding - 2 border */
  padding: 8px 5px;
  border: 1px solid #e8f2f4; /* using an invisible border to make width same */
  background-color: #e8f2f4;
  float: left;
}
.tabContainer .componentRow {
  width: 917px; /* 929 - 10 padding - 2 border */
}

.soegteSnit {
  background-color: #CCFF99;
}

.valgteSnit {
  background-color: #e8f2f4;
}

.componentColumn {
 padding: 8px 5px; 
/*padding: 20px 5px 8px;*/
  margin-right: 14px;
  float: left;
  position: relative; /* allows absolute positioning inside */
}

.outlined {
  border: 1px solid #bfbfbf;
  background-color: #ffffff;
}
.filled {
  border: 1px solid #e8f2f4; /* using an invisible border to make width same */
  background-color: #e8f2f4;
}

.column1, .column2, .column3, .column4, .column5 {
  width: 165px;
}
.column12, .column23, .column34, .column45 {
  width: 356px;
}
.column123, .column234, .column345 {
  width: 547px;
}
.column1234, .column2345 {
  width: 738px;
}
.column12345 {
  width: 929px;
}

/* No right margin on last column */
/* We use -2px instead of 0 to fix a bizarre IE problem */
.column5, .column45, .column345, .column2345, .column12345 {
  margin-right: -2px;
}

/* Inside a componentRow or a tabContainer, first and last columns get 6px (1 border + 5 padding) less */
.componentRow .column1,
.componentRow .column5,
.tabContainer .column1,
.tabContainer .column5 {
  width: 159px;
}
.componentRow .column12,
.componentRow .column45,
.tabContainer .column12,
.tabContainer .column45 {
  width: 350px;
}
.componentRow .column123,
.componentRow .column345,
.tabContainer .column123,
.tabContainer .column345 {
  width: 541px;
}
.componentRow .column1234,
.componentRow .column2345,
.tabContainer .column1234,
.tabContainer .column2345 {
  width: 732px;
}
.componentRow .column12345,
.tabContainer .column12345 {
  width: 917px;
}

/* If the componentRow is inside a tabContainer, first and last columns lose another 6px */
.tabContainer .componentRow .column1,
.tabContainer .componentRow .column5 {
  width: 153px;
}
.tabContainer .componentRow .column12,
.tabContainer .componentRow .column45 {
  width: 344px;
}
.tabContainer .componentRow .column123,
.tabContainer .componentRow .column345 {
  width: 535px;
}
.tabContainer .componentRow .column1234,
.tabContainer .componentRow .column2345 {
  width: 726px;
}

.tabContainer .componentRow .column12345 {
  width: 905px;
}

/***************************/
/* FONTS */
/***************************/

/* this is supposed to touch every element, add as needed */
* {
  font-family: Arial, Verdana, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #454545; /*  #797979; */
}

html {
  overflow-y: scroll;
}

body {
  padding: 0;
  margin: 0;
}

h1 {
  font-size: 18px;
  line-height: 22px;
  color: #454545;
}

h2, h2 span {
  font-size: 14px;
  line-height: 18px;
  color: #454545;
  margin-bottom: 10px;
}

h3 {
  font-size: 12px;
  line-height: 16px;
  color: #454545;
  font-weight: bold;
}

a {
  color: #509999;
}

th {
  font-weight: normal;
}

/***************************/
/* FORMS */
/***************************/
form {
  margin: 0;
}

.form * {
  line-height: 16px;
  color: #454545; /*#797979;*/
}

.form .left {
  text-align: left;
  padding-left: 4px;
}

.form .right {
  text-align: right;
  padding-right: 4px;
}

.form h1 {
  line-height: 18px;
  color: #454545; /*#797979;*/
}

.form h2 {
  line-height: 16px;
  color: #454545;
}

.form h3 {
  line-height: 16px;
  color:#454545;
  font-weight: bold;
  margin-bottom: 11px;
}

.form p {
  line-height: 16px;
  color: #333333;
}

.form .label {
  white-space: nowrap;
}

.button, .form .button, .form .browseButton, .form .disabledButton, .form .disabledBrowseButton { 
  color: #333333; /*#477779;*/
  background-color: #a8cbc6;
  height: 21px; /* 21 is the minimum for Internet Explorer given current font size */
  border: 1px solid #509999;
  padding: 0px 5px;
  width: auto;
  overflow: visible;
  cursor: hand;
}

.form .browseButton, .form .disabledBrowseButton {
  height: 18px;
  width: 18px;
  overflow: hidden;
  padding: 0px;
  margin-left: 2px;
  margin-bottom: 2px;
  vertical-align: bottom;
}

.form .disabledButton {
  background-color: #ece9d8;
  border: 1px solid #bfbfbf;
}

.form .disabledBrowseButton {
  background-color: silver;
  border: 1px solid #bfbfbf;
}

.form .field, .form input[type="text"] {
  color: #333333;
  width: 150px;
  height: 19px;
  border: 1px solid #bfbfbf;
  padding: 0px;
  margin-top: 0px;
}

.form .checkbox, .form input[type="checkbox"],
.form .radio, .form input[type="radio"] {
  color: #bfbfbf;
  border: 0px;
}

.form select {
  color: #333333;
  height: 19px; 
  padding: 0px;
}

.form textarea {
  color: #333333;
  border: 1px solid #bfbfbf; 
  padding: 0px;
}

.form .buttonsLine {
  margin-top: 8px;
  text-align: right;
}


/***************************/
/* COMPONENTS */
/***************************/
.componentRowTop,
.componentRowTop span {
  color: #333333;
}

.componentRowTop img {
  float: right;
  margin: 2px;
}

.componentRowSpace {
  clear: both;
  height: 8px;
  line-height: 0px;
  font-size: 0;
}

/***************************/
/* SPECIFICS */
/***************************/
#topMenu {
  color: #606060;  
  text-align: right;  
  position: absolute;  
  top: 2px;
  width: 930px;  
}

#topMenu * {
  color: #606060;  
}

#mainContainer {
  width: 941px;
  margin: auto;
}

#popContainer {
 /* width: 650px; */
  width: 900px;  
/*  border-top: 10px solid white; */
  border-left: 10px solid white;  
}

#bottomText {
  width: 750px;
  float: left;
  margin-right: 14px;
  border-top: 1px solid #bfbfbf;
  margin-top: 17px;
}

#bottomText1 {
  float: left;
  font-size: 12px;
  text-align: left;
  color: #bfbfbf;
}

#bottomText2 {
  float: right;
  font-size: 12px;
  text-align: right;
  color: #bfbfbf;
}

#queryRow3 .componentRow {
  overflow-x: auto;
}

#advQueryRow3 .componentRow {
  overflow-x: auto;
}

#updateRow2 .componentRow {
  overflow-x: auto;
}

#vqlText {
  overflow-x: scroll;
}

/*
.form input.Authority {
  width: 55px;
  text-align: left;
}
*/

.form input.District {
  /*
  width: 60px;
  text-align: right;
  */
}

.form input.Roadnumber {
  width: 50px;
  text-align: right;
}

.form input.Roadpart {
  width: 50px;
}

.form input.FromKm,
.form input.FromM,
.form input.ToKm,
.form input.ToM {
  width: 30px;
  text-align: right;
}

#ajaxSpinner {
  float: right;
  margin-right: 5px;
  margin-top: 5px;
}

.overskriftFelt {
  float:left;
  height: 24px;
}

.overskriftTekst {
  margin-left: 10px;
  margin-top: 4px;
  font-size: 14px;
  color: #333333;
  font-weight: bold;
}

.hidden {
  visibility: hidden;
  height: 1px;
  width: 1px;
}

.popupHeading{
  float:left;
  font-weight: bold;
}

.popupClose{
  float:right;
  padding-right:10px;
/*  font-weight: bold; */
}

.popupFortryd{
  float:right;
  padding-right:20px;
}

/***************************/
/* RESULTS */
/***************************/

.results table {
  border: 0;
  background-color: #bfbfbf; /* for cellspacing */
}


.results tr {
  background-color: #ffffff; /* normal table rows */
}

.results tr .combo {
  background-color: transparent; /* normal table rows */
} 

.results th {
  background-color: #efefef; /* header row */
}

.results th.active {
  background-color: #797979; /* header row */
  color: #efefef;
}

.results th.inactive {
  background-color: #efefef; /* header row */
  cursor: hand;
}

.results td {
/*  white-space: nowrap; */
  background-color: white;
}

.results td.left {
  text-align: left;
}

.results td.right {
  text-align: right;
}

.results td.center {
  text-align: center;
}

.results td.hand {
  cursor: hand;
}

.results table {
  background-color:#BFBFBF;
  width:880px;
}	

.combo table {
  background-color: transparent; /* for cellspacing */
  width: 100%;
}

.resultsLinks {
  padding-top: 0px;  
  padding-bottom: 5px;  
  text-align: left;
}

.resultsNavigation {
  padding-top: 0px;  
  padding-bottom: 5px;  
  text-align: left;
}

.resultsLinks .button { 
  color: #333333; /*#477779;*/
  background-color: #a8cbc6;
  height: 21px; /* 21 is the minimum for Internet Explorer given current font size */
  border: 1px solid #509999;
  padding: 0px 5px;
  width: auto;
  overflow: visible;
  cursor: hand;
}

.resultsNavigation .button { 
  color: #333333; /*#477779;*/
  background-color: #a8cbc6;
  height: 21px; /* 21 is the minimum for Internet Explorer given current font size */
  border: 1px solid #509999;
  padding: 0px 5px;
  margin: 0px 0px 0px 4px;
  width: 20px;
  overflow: visible;
  cursor: hand;
}

.resultsNavigation .checkbox { 
/*
  color: #333333; 
  background-color: #a8cbc6;
  height: 21px; 
  border: 1px solid #509999;
*/

  padding: 0px 5px;
  margin: 0px 0px 0px 4px;
  width: 20px;
 
  overflow: visible;
  cursor: hand;
}

.trNormal td {
  background-color: white;
  height: 16px;
}

.trHighlight td {
  background-color: #a8cbc6;
  height: 16px;
}

.trRetHighlight td {
 background-color: #ccff99;
}

/***************************/
/* MENU */
/***************************/
#dd
{	margin: 0;
	padding: 0}

#dd li
{	margin: 0;
	padding: 0;
	list-style: none;
	float: right;
	width; 30px;
	position: relative;
	z-index: 3;
}

#dd li a.menu
{	display: block;
        background-color: #a8cbc6;
	padding: 4px 10px;
	margin: 0px 0px 0px 1px;
        color: #333333;
	text-decoration: none;
}

#dd li a.menu:hover
{	background: #a8cbc6}

.submenu
{	background: white;
	border: 1px solid #797979;
	visibility: hidden;
	position: absolute;
	z-index: 3;
	white-space: nowrap;
}

.submenuRight
{	background: white;
	border: 1px solid #797979;
	visibility: hidden;
	position: absolute;
	z-index: 3;
	white-space: nowrap;
	right: 0px;
}

	.submenu a
	{	display: block;
		text-decoration: none;
		padding: 5px;
		color: #454545}

	.submenu a:hover
	{	background: #a8cbc6;
		display: block;
		text-decoration: none;
		padding: 5px;
		color: #454545}

	.submenu a:visited
	{	display: block;
		text-decoration: none;
		padding: 5px;
		color: #454545}

	.submenuRight a
	{	display: block;
		text-decoration: none;
		padding: 5px;
		color: #454545}

	.submenuRight a:hover
	{	background: #a8cbc6;
		display: block;
		text-decoration: none;
		padding: 5px;
		color: #454545}

	.submenuRight a:visited
	{	display: block;
		text-decoration: none;
		padding: 5px;
		color: #454545}



.Mmenubar {
  width: 940px;
}

#searchSimpleAdm{
width:530px;
float: left;
} 

#searchSimpleData{
width:250px;
float: left;
position: relative; /* allows absolute positioning inside */
} 

#searchAvanceretAdm{
width:530px;
float: left;
} 

#searchAvanceretData{
width:250px;
float: left;
position: relative; /* allows absolute positioning inside */
} 

/***************************/
/* EDITABLE SELECT BOX */
/***************************/

.selectBoxArrow{
	margin-top:1px;
	float:left;
	position:absolute;
	right:1px;
}	
.selectBoxInput{
	border:0px;
	padding-left:1px;
	height:16px;
	position:absolute;
	top:0px;
	left:0px;
        width:60px;
}

.selectBox{
	border:1px solid #7f9db9;
	height:20px;	
        width:60px;
}
.selectBoxOptionContainer{
	position:absolute;
	border:1px solid #7f9db9;
	height:200px;
	overflow-y: scroll;
	background-color: #ffb;
	left:-1px;
	top:20px;
	visibility:hidden;
}
.selectBoxAnOption{
	font-family:arial;
	font-size:12px;
	cursor:default;
	margin:1px;
	overflow:hidden;
	white-space:nowrap;
}
.selectBoxIframe{
	position:absolute;
	background-color:#FFF;
	border:0px;
	z-index:999;
        width:60px;
}	
