table.tableForm {
  width: 100%;
  border-top:  thin solid #5F6F7E;
  border-bottom:  thin solid #5F6F7E;
	border-collapse: collapse;
  margin-bottom: 14px;
}

table.tableForm table tr td:first-child {
	border-left: 0px solid white;
}

table.tableForm table tr:last-child {
  border-bottom: 1px solid #aaaaaa;
}

table.tableForm table tr td:last-child, table.tableForm tr td:last-child { /*bagkant i safari og chrome*/
	border-right:  1px solid #aaaaaa;
  border-bottom: 1px solid #aaaaaa;
}

table.tableForm th {
	width: 25%; 
	border: 1px solid #5F6F7E;
	background-color: #f0f0f0;
	text-align: left;
	vertical-align: top;
	font-weight: normal;
	margin: 0;
	padding: 6px 2px 6px 4px;
}

table.tableForm tr td.checkboxCol {
  width: 28px;
  border: 1px solid #5F6F7E;
  padding: 0;
  text-align: center;
}

table.tableForm th.pct10, table.tableForm tr td.pct10 {
  width: 10% !important;
}

table.tableForm th.pct13 {
  width: 13%;
}

table.tableForm th.pct37 {
  width: 37%;
}

table.tableForm th.pct60 {
  width: 60%;
}

table.tableForm th.pct75 {
  width: 75%;
}

table.tableForm th.autoWidth {
  width: auto;
}

table.tableForm td.autoWidth {
  width: auto;
}

table.tableForm td.pct37 {
  width: 37%;
}

table.tableForm th + td {
	border-left: 1px solid #5F6F7E;
}

table.tableForm th>label {
  height: 100%;
  display: block;
}

table.tableForm td.checkboxCol>label {
  display: block;
}

table.tableForm tr td:first-child, .borderLeft {
	border-left: 1px solid #5F6F7E;
}

table.tableForm tr:hover, table.tableForm tr td:hover {
  background-color: #f0f0f0;  
}

table.tableForm tr td.nohover:hover {
  background-color: white;
}

table.tableForm td {
	height: 24px;
	border-bottom:  1px solid #E2E2E2;
	border-left:  1px solid #E2E2E2;
	margin: 0;
	padding: 0 2px 0 4px;
	white-space: nowrap;
	overflow: hidden;
	background-color: #FFFFFF;
}

table.tableForm td p {
	white-space: normal;
}

table.tableForm th.noborders {
  border: 1px solid white;
  border-right: 1px solid #5F6F7E;
  border-left: 1px solid white;
  border-collapse: collapse;
  background-color: #FFFFFF;
  width: 80px;
}

.noborderHeading {
  display: inline-block;
  width: 80px;
  padding: 6px 2px 6px 4px;
}

table.tableForm td.th {
  vertical-align: top;
  padding: 6px 2px 6px 4px;
  white-space: normal;
  border:  1px solid #5F6F7E;
}

table.tableForm td.splitL {
  width: 42%;
}
table.tableForm td.splitR {
  width: 33%;
}

table.tableForm tr:last-child td {
	border-bottom:  0;
}
table.tableForm tr td:last-child, 
table.tableForm tr td.checkboxCol:last-child, 
table.tableFormScale1To5 tr td:last-child, 
table.tableFormScale1To6 tr td:last-child, 
table.tableFormScale1To7 tr td:last-child, 
table.tableFormScale1To8 tr td:last-child { /*bagkant i safari og chrome*/
	border-right:  1px solid #5F6F7E;
}

table.tableForm tr td.checkboxCol:first-child {
  border-left:  1px solid #5F6F7E;
}

table.tableForm td input {
	width: 100%;
	margin: 0;
	padding: 0px;
  font-size: 1em;
}

table.tableForm select {
  font-size: 1em;
}

input[type=submit], input[type=button] {
  padding: 2px 5px;
}

table.tableForm td input[type=radio] {
  width: auto;
  padding: 0;
}

table.tableForm td input[type=checkbox] {
  width: auto;
  padding: 0;
}

table.tableForm td input.autoWidth {
  width: auto;
  padding: 0;
}

table.tableForm td input[type=text].textinputline {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: #555555;  
  width: 98%;
  font-size: 1em;
}

table.tableForm td input[type=text], table.tableForm td input[type=password] {
	border: none;
  border: 0px solid white;
  font-size: 1em;
}

table.tableForm td input.dateField {
  width: 80px;
  border: 1px solid #777777;
}

table.tableForm td textarea, table.tableForm td textarea, textarea {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	width: 100%;
	min-height: 4em;
	margin: 0;
	padding: 4px 2px 2px 2px;
	border: 0;
}

table.tableForm td p {
	margin: 10px 0 10px 2px;
	padding: 0;
}

table.tableForm tr.spacer {
  border-collapse: collapse;
  border: 0;
  background-color: red;
  border-top:  1px solid #5F6F7E;
  border-bottom:  1px solid #5F6F7E;
}

table.tableForm tr.spacer td {
  /*border-collapse: collapse;*/
  border: 0;
  height: 20px;
  border-top:  2px solid #5F6F7E;
  border-bottom:  2px solid #5F6F7E;
}

table.tableFormScale0To10 td {
  height: 38px;
}

table.tableFormScale0To10 th {
  height: 38px;
	padding: 10px 0;
  text-align: center;
}

table.tableFormScale1To5 tr td.checkboxCol, 
table.tableFormScale1To6 tr td.checkboxCol, 
table.tableFormScale1To7 tr td.checkboxCol, 
table.tableFormScale1To8 tr td.checkboxCol {
  height: auto;
  border: none;
  padding: 0.3em 0;
}

table.tableFormScale1To5 tr td.checkboxCol {
  width: 20%;
}

table.tableFormScale1To6 tr td.checkboxCol {
  width: 16.66%;
}

table.tableFormScale1To7 tr td.checkboxCol {
  width: 14.29%;
}

table.tableFormScale1To8 tr td.checkboxCol {
  width: 12.5%;
}

table.tableFormScale1To5 tr td.checkboxCol>label, 
table.tableFormScale1To6 tr td.checkboxCol>label, 
table.tableFormScale1To7 tr td.checkboxCol>label, 
table.tableFormScale1To8 tr td.checkboxCol>label {
  display: block;
  line-height: 1.3em;
}

#password_left {
  width: 60%;
  float: left;
  margin-right: 20px;
}

#password_right {
  
  float: left;
}

/* tabel med kolonneoverskrifter */
table.tb_inputark {
	width: 100%;
	border:  1px solid #5F6F7E;
	border-collapse: collapse;
  background-color: #ffffff;
}

table.tb_inputark th {
	border:  1px solid #5F6F7E;
	background-color: #E2E2E2;
	text-align: left;
	vertical-align: top;
	font-weight: normal;
	margin: 0;
	padding: 6px 2px 6px 4px;
}

table.tb_inputark th.th_40  {
  width: 40%;	
}

table.tb_inputark th.th_fixed200 {
  width: 200px;
}

table.tb_inputark th.th_fixed140, table.tb_inputark td.td_fixed140 {
  width: 140px;
}

table.tb_inputark th.th_fixed50 {
  width: 50px;
  text-align: center;
  vertical-align: bottom;
}

table.tb_inputark th.th_fixed40 {
  width: 40px;
}

table.tb_inputark col.col_1, table.tb_inputark col.col_20 {
	width: 20%;
}

table.tb_inputark col.col_15 {
	width: 15%;
}
table.tb_inputark col.col_10 {
	width: 10%;
}

table.tb_inputark col.col_dato { 
	width: 20%;
}

table.tb_inputark col.col_40 { 
	width: 40%;
}

table.tb_inputark col.col_30 { 
	width: 30%;
}

table.tb_inputark col.col_resultat {
	width: 80%;
}

table.tb_inputark col.col_icon {
	width: 18px;
}

table.tb_inputark td.td_icon {
	border-left: 0;
}

table.tb_inputark td.td_icon a {
  border: 0;
}

table.tb_inputark td {
	border-bottom: 1px solid #E2E2E2;
	border-left:  1px solid #E2E2E2;
	margin: 0;
	padding: 2px 2px 2px 4px;
	white-space: nowrap;
	overflow: hidden;
	background-color: #FFFFFF;
}

table.tb_inputark td input {
	width: 100%;
	margin: 0;
	padding: 0;
}

table.tb_inputark td input[type=text], table.tb_inputark td input[type=password] {
	border: none;
}

table.tb_inputark td p.p_left { /*smerteskala*/
  float: left;
  margin: 0;
  padding: 0;
}

table.tb_inputark td p.p_right { /*smerteskala*/
  float: right;
  margin: 0;
  padding: 0;
}

table.tb_inputark td table.tb_start_s9 { /*start*/
  width: 100%;
  border: none;
}

table.doubleRowTable {
  width: 100%;
  border:  thin solid #5F6F7E;
	border-collapse: collapse;  
  background-color: white;
}

table.doubleRowTable tr {
  background-color: white;
}

table.doubleRowTable td {
  border-collapse: collapse;
  background-color: white;
  border: thin solid #5F6F7E;
}

table.doubleRowTable textarea {
  width: 99%;
  min-height: 5.1em;
}

table.nrs {
  border: thin solid #5F6F7E;
  margin: 2px;
  width: 240px;
  padding: 0px;
  border-collapse: collapse;
}

table.nrs tr {
  padding: 0;
  margin: 0;
  border-collapse: collapse;
}


table.nrs td {
  height: 7px;
  width: 8px;
  font-size: 9px;
  text-align: center;
  border: thin solid #5F6F7E;
  padding: 1px;
  background-color: white;
  border-collapse: collapse;
}


table.nrs td:hover, table.nrs th:hover {
  background-color: #FFFF8F;  
}

textarea {
  overflow: auto;
}

.heading {
  font-size: 2em;
  font-weight: bold;
  padding: 3px 10px;
}

.smallLink {
  font-size: 0.8em;
  color: #888888;
}

.smallLink a {
  text-decoration: none;
  color: #888888;
  font-weight: normal;
}

.smallLink a:hover {
  color: red;
}

.bold {
  font-weight: bold;
}

/* Risikoprofil */
table.tableRisikoprofil {
  margin-bottom: 36px;
  width: 97%;
}

table.tableRisikoprofil caption {
  text-align: left;
  font-size: 12px;
  line-height: 20px;
  font-weight: bold;
}

.risikoprofilBarScore {
  font-size: 9px;
  line-height: 12px;
}

.risikoprofilBarOuter {
  border: 1px solid black;
  margin-bottom: 3px;
}

.risikoprofilBarOuter>div {
  height: 22px;

}

.risikoprofilBarOuter>div.cut1 {background-color: green;}
.risikoprofilBarOuter>div.cut2 {background-color: yellow;}
.risikoprofilBarOuter>div.cut3 {background-color: red;}


.tableForm td .tableCheckboxGrid {
  border: none;
  width: 100%;
}
.tableForm td .tableCheckboxGrid td, 
.tableForm td .tableCheckboxGrid td:last-child, 
.tableForm td .tableCheckboxGrid tr:last-child, 
.tableForm td .tableCheckboxGrid th, 
.tableForm td .tableCheckboxGrid th:last-child, 
.tableForm td .tableCheckboxGrid th:last-child {
  background: white;
  border: none;
}
.tableForm td .tableCheckboxGrid th {
  font-weight: bold;
}
.tableForm td .tableCheckboxGrid td:hover,
.tableForm td .tableCheckboxGrid th:hover {
  background: white;
}
.tableForm td .tableCheckboxGrid td.checkboxGridCol,
.tableForm td .tableCheckboxGrid th.checkboxGridCol {
  text-align: center;
  width: 15%;
}

.dowrap {
  white-space: normal !important;
}

.patientCopyBox {
  padding: 3px;
  margin: 0;
  border: 1px solid black;
  overflow: auto;  
}