@charset "UTF-8";

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  position: relative;
  }


body {
  margin: 0;   
  }

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
	display: block; 
  }

article, div, figure, p, form, table, td {
	position: relative;
	}

/* Sidemenycontaineren, sørg for at den får null høyde */
DIV.row.header.sidemeny {
	height: 0;
	}

/* Denne fjerner muligens litt mye. Slettes når alle elementene har fått klassen sidemeny */
BODY > DIV.row.header {
	height: 0;
	}

/* Indikere at noe må lagres */
input[type=submit].endret {
	background-color: #ffbbbb;
	}

DIV.contents {
	position: static;
	}

H3 {
	font-weight: bold;
	font-size: 1.5rem;
	border-bottom: 1px solid #dddddd;
	margin-bottom: 0.2rem;
	margin-top: 1.5rem;
	}

UL LI {
	line-height: 1.2rem;
	margin-top: 1rem;
	clear:both;    
	}

/* Kolonnebredder */
.full, .halv, .tredjedel {
	display: block;
	float: left;
	box-sizing: border-box;
	padding: 0 1rem;
	}


.full, .hundre {
	width: 100%;
	}
.halv {
	width: 50%;
	}
.tredjedel {
	width: 33%;
	}

/* Headere, sidetopp */
#sidetopp {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 3rem;
	line-height: 3rem;
	background-color: rgba(0,0,0,.6);
	}

#nyMeny {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: auto;
	height: auto;
	display: none;
	z-index:99;
	color: #ffffff !important;
	padding: 1.5rem 3rem 1.5rem 1.5rem;
	line-height: 1.5rem;
	background-color: rgba(0,0,0,.75);
	color: #bbbbbb;
	}
#nyMeny.aapen {
	display: block;
	}
#nyMeny A, #nyMeny LI {
	color: #bbbbbb;
	cursor: pointer;
	}

#nyMeny .submeny {
	display: none;
	}


#nyMeny .submeny.aapen {
	display: block;
	}

#nyMeny .submeny li {
	margin-left: 1rem;
	font-size: 90%;
	}

header.full #stemple {
	display: block;
	position: relative;
	top: 0.5rem;
	left: 1rem;
	width: 2rem;
	height: 2rem;
	border: 2px solid white;
	border-radius: 1rem;
	background-color: orange;
	}

header.full #stemple::after {
	color:#ffffff;
	font-size: 1rem;
	text-align: left;
	position: absolute;
	top: 0;
	left: 3rem;
	line-height: 1rem;
	width: 4rem;
	}

header.full #stemple.ute::after {
	content: "Ikke på jobb";
	}
header.full #stemple.inne::after {
	content: "Jeg er på jobb";
	}

header.full #stemple.inne {
	background-color: green;
	}
header.full #stemple.ute {
	background-color: red;
	}
DIV.lukk {
	display: block;
	position: absolute;
	top: -0.75rem;
	right: -0.75rem;
	width: 1.5rem;
	height: 1.5rem;
	background-color: red;
	border-radius: 0.75rem;
	line-height: 1.5rem;
	font-size: 1rem;
	color: white;
	text-align: center;
	}
	
#personalia {
	display: block;
	position: relative;
	max-width: 50%;
	margin-left: auto;
	margin-right: auto;
	clear: none;
	color: #ffffff;
	text-align: center;
	}

#trigger {
	display: block;
	position: absolute;
	top: 0rem;
	right: 1rem;
	height: 3rem;
	width: 3rem;
	font-size: 2rem;
	color: #ffffff;
	z-index:300;
	text-align: center;
	cursor: pointer;
	}

header.full #personalia {
	position: absolute;
	top: 0;
	left: 50%;
	height: 3rem;
	width: calc(100% - 10rem);
	transform: translateX(-50%);
	overflow:hidden;
	}

header {
	height: 12rem;
	}

BODY.mat header {
	background-color: #e9bf04;
	background-color: #e8c272;
	background-image: url("/img/lyslok.jpg");
	background-size: cover;
	background-blend-mode: multiply;
	}

BODY.personalia header{
	background-color: #e9bf04;
	background-color: #a6dbf1;
	background-image: url("/img/personalia_hus_lys.jpg");
	background-size: cover;
	background-blend-mode: multiply;
	}

BODY.firma header {
	background-color: #e9bf04;
	background-color: #e8c272;
	background-image: url("/img/firmaheader.jpg");
	background-size: cover;
	background-blend-mode: multiply;
	}

BODY.hr header {
	background-color: #afaeab;
	background-image: url("/img/hr.jpg");
	background-size: cover;
	background-blend-mode: multiply;
	}

BODY.brann header {
	background-color: #e9bf04;
	background-color: #e8c272;
	background-image: url("/img/brann.jpg");
	background-size: cover;
	background-blend-mode: multiply;
	}

BODY.hms header {
	background-color: #afaeab;
	background-image: url("/img/hms.jpg");
	background-size: cover;
	background-blend-mode: multiply;
	}

BODY.alkohol header {
	background-color: #afaeab;
	background-image: url("/img/alkohol.jpg");
	background-size: cover;
	background-blend-mode: multiply;
	}
	
BODY.bygge header {
	background-color: #e8c272;
	background-image: url("/img/bygge.jpg");
	background-size: cover;
	background-blend-mode: multiply;
	}
	
BODY.eiendom header {
	background-color: #afaeab;
	background-image: url("/img/eiendom.jpg");
	background-size: cover;
	background-blend-mode: multiply;
	}

BODY.onb header {
	background-color: #afaeab;
	background-image: url("/img/onb.jpg");
	background-size: cover;
	background-blend-mode: multiply;
	}

BODY.tobakk header {
	background-color: #e9bf04;
	background-color: #e8c272;
	background-image: url("/img/tobakk.jpg");
	background-size: cover;
	background-blend-mode: multiply;
	}

/* ELENI
BODY.test13 header {
  background-color: #e9bf04;
	background-color: #a6dbf1;
	background-image: url("/img/admin.jpg");
	background-size: cover;
	background-blend-mode: multiply;
} 
/* End of ELENI */

/* 
Eleni 
English translation overflows everything on smaller screens
*/
@media screen and (max-width: 667px) {
    body.lang_EN header.mat H1 {
        margin-top: 2rem;
    }
}
@media screen and (max-width: 355px) {
    body.lang_EN header.mat H1 {
        font-size: 1.6rem;        
    }
}
/*EOF Eleni*/


header H1 {
	font-weight: bold;
	color: #ffffff;
	text-shadow: 2px 2px 2px #000000;
	margin-top: 6rem;
	}

/* Portrett */
IMG.portrett, IMG.face {
	display: block;
	position: relative;
	float: left;
	margin: 0;
	clear:both;
	width: 5rem;
	height: 5rem;
	object-fit: cover;
	border-radius: 2.5rem;
	border: 2px solid #333333;
	}

IMG.portrett.dragging {
	border: 2px solid red;
	}


/* Filikoner */
/*
.filikon {
	display: inline-block;
	position: relative;
	float: left;
	margin-right: 1rem;
	width: 2rem;
	height: 3rem;
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='iso-8859-1'%3F%3E%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 58 58' style='enable-background:new 0 0 58 58;' xml:space='preserve'%3E%3Cpolygon style='fill:%23dddddd;' class='dok2' points='52,19 38,5 11,5 11,58 52,58 '/%3E%3Cpolygon style='fill:%23bbbbbb;' class='dok1' points='11,5 38,5 47,14 47,0 6,0 6,53 11,53 '/%3E%3Cpolygon style='fill:%23000000;' fill-opacity='.5' points='38,5 38,19 52,19 '/%3E%3C/svg%3E%0A");
    background-size: contain;
	background-repeat: no-repeat;
	}

.filikon.advarsel {
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='iso-8859-1'%3F%3E%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 58 58' style='enable-background:new 0 0 58 58;' xml:space='preserve'%3E%3Cpolygon style='fill:%23c64527;' class='dok2' points='52,19 38,5 11,5 11,58 52,58 '/%3E%3Cpolygon style='fill:%239c341a;' class='dok1' points='11,5 38,5 47,14 47,0 6,0 6,53 11,53 '/%3E%3Cpolygon style='fill:%23000000;' fill-opacity='.5' points='38,5 38,19 52,19 '/%3E%3C/svg%3E%0A");
}

.filikon.advarsel::before {
	display: block;
	position: absolute;
	top: 0.4rem;
	left: 0;
	width: 2rem;
	text-align: center;
	content: "!";
	font-weight: bold;
	font-size: 1.3rem;
	color: yellow;
	}

.filikon.rapport::before {
	display: block;
	position: absolute;
	top: 0.4rem;
	left: 0;
	width: 2rem;
	text-align: center;
	content: "&#9776;";
	content: "=";
	font-weight: bold;
	font-size: 1.3rem;
	color: #000000;
	}

    */
/*
Eleni
Snorre wanted to replace the fileicons with dots 
*/

:root {
    --red-dot: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='64' height='64'%3E%3Ccircle r='30' cx='32' cy='32' style='fill:%23C9282E;stroke:gray;stroke-width:0.1' /%3E%3C/svg%3E%0A");
    --green-dot: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='64' height='64'%3E%3Ccircle r='30' cx='32' cy='32' style='fill:Green;stroke:gray;stroke-width:0.1' /%3E%3C/svg%3E%0A");
    --yellow-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='gold'/%3E%3C/svg%3E%0A");
    --orange-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='orange'/%3E%3C/svg%3E%0A");
}
.filikon {
	background-image: var(--green-dot);
    background-repeat: no-repeat;
    background-size: contain;
    width: 1rem;
    height: 1rem;
    display: inline-block;
    }

.filikon.advarsel, .filikon.st1, filikon.st-2 {
    background-image: var(--orange-dot);
}

.filikon.ugjort, .filikon.st-3 {
    background-image: var(--red-dot);
}



.todo2 .filikon.rapport {
    background-image: var(--yellow-dot);
}

.filikon, .filikon ~ * {
    vertical-align: middle;
}

.filikon ~ span {
    margin-left: 0.3rem;
} 

.checkState.hashlink {
	position: relative;
	left: 1rem;
	}

/* State-linker */
.checkState.hashlink::before {
	display: block;
	position: absolute;
	left: -1.5rem;
	top: -0.3rem;
	content: "✗";
	color: red;
	}

.checkState.hashlink.OK::before {
	content: "✓";
	color: green;
	}


/*
Eleni
Remove user and date from table to show more compact on smaller screens
*/
@media screen and (max-width: 667px) {
    #rapportTabell td:not(:first-child) {
        display: none;
    }
    #rapportTabell tr, #rapportTabell td:first-child {
        padding: 0.2rem 0;
    }

}

/* Give height to body so that footer sticks to bottom */

.components {
    position: relative;    
    min-height: 400px;    
    height: 100%;
}
.footer {
    position: relative;
    bottom: 0;
}
 

/* Horisontal scroll */
/*
.outerScroll {
	width: 100%;
	overflow-x: auto;
	}
.innerScroll {
	width: auto;
	position: relative;
	}
.outerScroll .innerScroll TABELE {
	border-collapse: collapse;
	}
.outerScroll .innerScroll TABLE TR {
	display: table-row;
	}

.outerScroll .innerScroll TABLE TD {
	clear: none;
	width: auto;
	min-width: 3rem;
	display: table-cell;
	vertical-align: inherit;
	padding: 0.15rem;
	border: 1px solid #bbbbbb;
	text-align:center;
	}
*/


.outerScroll {
	display: block;
	max-width: calc(100vw - 4rem);
	overflow-x:auto;	
	}
.outerScroll .innerScroll TABLE.sensortabell TD, TABLE.sensortabell TH {
	font-size: 80%;
	padding: 6px !important;
	min-width: 0;
	min-height: 0;
	line-height:100%;
	width: auto;
	height: auto;
	white-space: nowrap;	
	}

.outerScroll .innerScroll TABLE.sensortabell TH SPAN.klokken {
	display: block;
	position: relative;
	left: -1rem;
	}

.outerScroll .innerScroll TABLE.sensortabell {
	border-spacing: 0 !important;
	border-collapse: collapse !important;
	}
TD.nodata {
	background-color: #cccccc;
	}

TD.ok {
	background-color: #b8dbb6;
	}
TD.mangel {
	background-color: #ead492;
	}
TD.feil {
	background-color: #faa3a7;
	}


@media screen and (max-width: 667px) {
  TABLE.sensortabell td, TABLE.sensortabell th {
    display: table-cell;
	} 
  TABLE.sensortabell tr {
    display: table-row;
	} 
	}


/* Oversikt - mat */
.todo2 P {
	clear: both;
	}



/* Stemple inn, stemple ut */
#stemple {
	display: block;
	position: relative;
	top: 2.5rem;
	left: 2rem;
	width: 2rem;
	height: 2rem;
	border: 2px solid white;
	border-radius: 1rem;
	background-color: orange;
	z-index:299;
	}
#stemple.inn {
	background-color: red;
	}
#stemple.ut {
	background-color: green;
	}

#stemple::after {
	color:#ffffff;
	font-size: 1rem;
	text-align: center;
	position: absolute;
	top: 2rem;
	left: -1rem;
	line-height: 1rem;
	width: 4rem;
	}
#stemple.ut::after {
	content: "Jeg er på jobb";
	}
#stemple.inn::after {
	content: "Ikke på jobb";
	}

#stempling {
	display: block;
	position: absolute;
	background-color: #ffffff;
	color: #000000;
	top: 4rem;
	left: 4rem;
	bottom: 4rem;
	right: 4rem;
	border: 1px solid black;
	box-shadow: 5px 5px 10px grey;
	}

#stempling::before {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(0,0,0,.5);
	}

P.finished, P.unfinished {
	text-indent: 1.5rem;
	position: relative;
	}
P.finished::after {
	display: block;
	position: absolute;
	left: -1.5rem;
	top: -0.4rem;
	content: "✓";
	color: green;
	font-size: 150%;
	z-index:99;
	}



audio, canvas, progress, video {
  display: inline-block; }

audio:not([controls]) {
  display: none;
  height: 0; }

progress {
  vertical-align: baseline; }

template, [hidden] {
  display: none; }

a {
  background-color: transparent; }
  a:active, a:hover {
    outline-width: 0; }

abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted; 
  -webkit-text-decoration: underline dotted;
}

b, strong {
  font-weight: inherit; }

b, strong {
  font-weight: bolder; }

dfn {
  font-style: italic; }

h1 {
  font-size: 2em;
  margin: 0.67em 0; }

mark {
  background-color: #ff0;
  color: #000; }

small {
  font-size: 80%; }

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

img {
  border-style: none; 
  margin-left: 20%;
  margin-right: 20%;
  width: 60%;
  height: auto;
  text-align: center;
  }

svg:not(:root) {
  overflow: hidden; }

code, kbd, pre, samp {
  font-family: monospace, monospace;
  font-size: 1em; }

figure {
  margin: 1em 40px; }

hr {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  height: 0;
  overflow: visible; }

button, input, select, textarea {
  font: inherit; }

input:invalid {
	background-color: "#bbffff";
	}

optgroup {
  font-weight: bold; }

button, input, select {
  overflow: visible; }

button, input, select, textarea {
  margin: 0; }

button, select {
  text-transform: none; }

button, [type="button"], [type="reset"], [type="submit"] {
  cursor: pointer; }

[disabled] {
  cursor: default; }

button, html [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button; }

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0; }

button:-moz-focusring, input:-moz-focusring {
  outline: 1px dotted ButtonText; }

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

legend {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal; }

textarea {
  overflow: auto; }

[type="checkbox"], [type="radio"] {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 0.49em 0;
}

[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
  height: auto; }

[type="search"] {
  -webkit-appearance: textfield; }
[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none; }

/* Number boxes without arrows */
input.nospin::-webkit-outer-spin-button,
input.nospin::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number].nospin {
  -moz-appearance: textfield;
}

@font-face {
  font-family: 'icons';
  src: url('/fonts/icons.eot');
  src: url('/fonts/icons.eot?#iefix') format('embedded-opentype'), url('/fonts/icons.woff') format('woff'), url('/fonts/icons.ttf') format('truetype'), url('/fonts/icons.svg#icons') format('svg');
  font-weight: normal;
  font-style: normal; }

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  @font-face {
    font-family: 'icons';
    src: url('/fonts/icons.svg#icons') format('svg'); } }
[data-icon]:before {
  content: attr(data-icon); }

[data-icon]:before,
.icon-arrow-updown:before,
.icon-check:before,
.icon-clock:before,
.icon-close:before,
.icon-close-empty:before,
.icon-close-outline:before,
.icon-menu:before,
.icon-vital:before {
  display: inline-block;
  font-family: "icons";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  text-decoration: inherit;
  text-rendering: optimizeLegibility;
  text-transform: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smooth: antialiased; 
}
.icon-arrow-updown:before {
  content: "\f100"; }

.icon-check:before {
  content: "\f101"; }

.icon-clock:before {
  content: "\f102"; }

.icon-close:before {
  content: "\f103"; }

.icon-close-empty:before {
  content: "\f104"; }

.icon-close-outline:before {
  content: "\f105"; }

.icon-menu:before {
  content: "\f106"; 
  font-family: "icons", helvetica, Sans-Serif;
    
  }

.icon-vital:before {
  content: "\f107"; }

[class*='col-'] {
  float: left;
}
[class*='mob-col-'] {
  float: left;
}
.grid {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    background: #eee;
    font-size: 0.7em;
    text-align: center;
    border: 1px solid #ddd;
    font-family: "Monaco", Menlo, Courier;
    overflow: hidden;
}
.line {
    border: 1px solid #ddd;
}
.description {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    background: #F3F5F5;
    text-align: center;
    border: 1px solid #ddd;
    overflow: hidden
}
.col-1-1 {
  width: 100%; }

.col-1-3 {
  width: 33.33%; }

.col-2-3 {
  width: 66.66%; }

.col-1-2 {
  width: 50%; }

.col-1-4 {
  width: 25%; }

.col-3-4 {
  width: 75%; }

.col-1-5 {
  width: 20%; }
.col-4-5 {
	width: 80%;
}
.col-1-8 {
  width: 12.5%; }

.col-1-10 {
  width: 10%; }

.autogrid {
  display: table;
  table-layout: fixed;
  width: 100%; }

.autogrid-half {
  display: table;
  table-layout: fixed;
  width: 50%; }
  
.autogrid-fourth {
  display: table;
  table-layout: fixed;
  width: 25%; 
  line-height: 21px;
  padding: 0.5em 0;
  }

.col {
  width: auto;
  display: table-cell;
  vertical-align: top; }

.padded [class*='col-'], .padded .col {
  padding-left: 2%;
  padding-right: 2%; }

.right-padded [class*='col-'], .right-padded .col {
  padding-right: 2%; }

@media screen and (max-width: 860px) {
  [class*='col-']:not(.mobilkolonne), .col:not(.mobilkolonne) {
    width: 100%; }

  .col {
    display: block; }

  .right-padded [class*='col-'], .right-padded .col {
    padding: 0; } 


.mob-col-1-1 {
  width: 100% !important; }

.mob-col-1-3 {
  width: 33.33% !important; }

.mob-col-2-3 {
  width: 66.66% !important; }

.mob-col-1-2 {
  width: 50% !important; }

.mob-col-1-4 {
  width: 25% !important; }

.mob-col-3-4 {
  width: 75% !important; }

.mob-col-1-5 {
  width: 20% !important; }
.mob-col-4-5 {
	width: 80% !important;
}
.mob-col-1-8 {
  width: 12.5% !important; }

.mob-col-1-10 {
  width: 10% !important; }

.autogrid {
  display: table;
  table-layout: fixed;
  width: 100%; }

.autogrid-half {
  display: table;
  table-layout: fixed;
  width: 50%; }
  
.autogrid-fourth {
  display: table;
  table-layout: fixed;
  width: 25%; 
  line-height: 21px;
  padding: 0.5em 0;
  }


}
* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box; }

html, body {
  height: 100%;
  width: 100%; }

body {
  background: white;
  color: #444;
  font: 17px/1.7 "Helvetica Neue", Helvetica, Sans-Serif; }
  body:after {
    content: "";
    display: table;
    clear: both; }

img {
  height: auto;
  border-radius: 0.15em; }

ul, ol {
  padding: 0; }

li {
  list-style: none; }

a {
  color: #C9282E;
  text-decoration: none;
  outline: 0; }
  a:hover {
    color: #FF0008;
    transition: color 200ms ease-in-out; 
    -webkit-transition: color 200ms ease-in-out;
    -o-transition: color 200ms ease-in-out;
  }
  a:focus {
    outline: none; }

blockquote {
  margin: 1em 0;
  padding: 0 1em;
  border-left: 0.4em solid #EEE; }

strong, b, .bold {
  font-weight: 500; }

hr {
  border: none;
  background: #EEE;
  clear: both;
  margin: 1.5em auto;
  height: 1px; }
  hr.half {
    width: 50%; }
  hr.small {
    width: 5em; }

pre {
  white-space: pre-wrap;
  word-break: break-all; }

code {
  color: #333;
  font-family: "Monaco", Menlo, Courier;
  font-size: 0.7em;
  background: #EEE;
  padding: 0.9em 0.8em;
  margin: 0 0.3em 0 0.2em;
  border-radius: 0.15em;
  display: inline-block;
  word-break: break-word; }
  p code {
    display: inline;
    padding: 0.1em 0.4em 0.1em 0.3em;
    margin: 0 0.3em 0 0; }

dl {
  display: table;
  width: 100%; }

dt, dd {
  display: table-cell;
  vertical-align: top;
  float: left;
  clear: both; }

dt {
  color: #666;
  font-size: 0.85em; }

dd {
  color: black;
  font-weight: 400;
  padding-bottom: 0.3em; }
  dd:after {
    content: " "; }
  dd i {
    margin: 0 1em 0 0; }

.contents {
	height: calc(100% - 96px);
	/*min-height: 30em;   */    
}

/* Eleni added this to force footer on login page to stay at the bottom */
.contents-login {
    overflow: auto;
}

.row {
  clear: both;
  width: 100%; }

.section {
  padding: 1em;
  margin: 0 auto;
  width: 100%; 
}

@media screen and (max-width: 667px) {

	.section {
		padding: 0.35em;
		}

	}


#modules-row, #modules-row .section  {
  min-height: 3rem;
  padding-bottom: 3rem;
}
.footer .section {
	padding: 0;
}
/*@media screen and (min-width: 1440px) {
  .section { 
    width: 100%; } }
@media screen and (min-width: 1680px) {
  .section {
    width: 90%; } }
@media screen and (max-width: 860px) {
  .section {
    width: 100%; } }*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  strong, b, .bold {
    font-weight: 500; } }
.ie8 strong, .ie8 b, .ie8 .bold, .ie9 strong, .ie9 b, .ie9 .bold {
  font-weight: 500; }

.btn {
  -moz-appearance: none;
  -o-appearance: none;
  -ms-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border-radius: 0.15em;
  border: 1px solid #666;
  box-shadow: none;
  color: #666;
  cursor: pointer;
  display: inline-block;
  font-size: 1.05em;
  height: auto;
  line-height: 1;
  margin: 0;
  outline: none;
  padding: 0.76em 1.5em;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  white-space: nowrap; }
  .btn:hover {
    border-color: #666; }
  .btn.solid, .btn:hover {
    color: #FFF;
    background: #666; }
  .btn.white {
    color: #FFF;
    border-color: #FFF; }
    .btn.white.solid, .btn.white:hover {
      color: #000;
      background: #FFF; }
  .btn.gray-light {
    color: #BBB;
    border-color: #BBB; }
    .btn.gray-light.solid, .btn.gray-light:hover {
      color: #666;
      background: #BBB; }
  .btn.gray-dark {
    color: #333;
    border-color: #333; }
    .btn.gray-dark.solid, .btn.gray-dark:hover {
      color: #FFF;
      background: #333; }
  .btn.black {
    color: #000;
    border-color: #000; }
    .btn.black.solid, .btn.black:hover {
      color: #FFF;
      background: #000; }
  .btn.red {
    color: #C9282E;
    border-color: #C9282E; }
    .btn.red.solid, .btn.red:hover {
      color: #FFF;
      background: #C9282E; }
  .btn.orange {
    color: #E16E00;
    border-color: #E16E00; }
    .btn.orange.solid, .btn.orange:hover {
      color: #FFF;
      background: #E16E00; }
  .btn.yellow {
    color: #D5B778;
    border-color: #D5B778; }
    .btn.yellow.solid, .btn.yellow:hover {
      color: #FFF;
      background: #D5B778; }
  .btn.blue {
    color: #5A9FC8;
    border-color: #5A9FC8; }
    .btn.blue.solid, .btn.blue:hover {
      color: #FFF;
      background: #5A9FC8; }
  .btn.green {
    color: #6BAF56;
    border-color: #6BAF56; }
    .btn.green.solid, .btn.green:hover {
      color: #FFF;
      background: #6BAF56; }
  .btn.solid:hover, .btn.solid:active {
    opacity: 0.8; }
  .btn.no-outline {
    border-color: transparent; }
  .btn.large {
    font-size: 1.2em;
    padding: 0.8em 1.7em;
    word-wrap: normal; }
  .btn.small {
    padding: 0.5em 0.9em;
    font-size: 0.9em; }
  .btn.tiny {
    padding: 0.3em 0.8em;
    font-size: 0.8em; }
  .btn.round {
    border-radius: 99em; }
  .btn:hover {
    transition: all 200ms ease-in-out;
    -webkit-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    opacity: 0.8; }
  .btn:disabled, .btn.disabled, .btn:disabled:hover, .btn.disabled:hover {
    cursor: default;
    background: transparent;
    color: #666;
    opacity: 0.2; }

@-moz-document url-prefix() {
  .btn {
    padding: 0.78em 1.5em; } }
.footer {
  color: #BBB;
  padding: 1em 1em;
  background: #FAFAFA; 
  height: 96px;
}
  .footer hr {
    background: rgba(0, 0, 0, 0.1); }
  .footer ul {
    list-style: none;
    margin: 0;
    padding: 0; }
  .footer li {
    display: inline;
    padding: 0 0.5em; }
  .footer a {
    color: #666;
    display: inline-block;
    line-height: 3; }
    .footer a:hover {
      color: #FF0008; }

@media screen and (max-width: 667px) {
  .footer li, .footer a {
    display: block; }
  .footer a {
    padding: 1em;
    line-height: 2; }
  .footer .line {
    display: none; } }

.full-width-forms .btn:not([type='checkbox']):not([type='radio']):not([type='color']),
.full-width-forms button:not([type='checkbox']):not([type='radio']):not([type='color']),
.full-width-forms a:not([type='checkbox']):not([type='radio']):not([type='color']):not(class="btn"),
.full-width-forms submit:not([type='checkbox']):not([type='radio']):not([type='color']),
.full-width-forms select:not([type='checkbox']):not([type='radio']):not([type='color']),
.full-width-forms textarea:not([type='checkbox']):not([type='radio']):not([type='color']),
.full-width-forms input:not([type='checkbox']):not([type='radio']):not([type='color']):not([type='file']):not([type='submit']) {
  width: 100%; }

/* 
Hidden will force it to wrap around floated elements, 
otherwise floated elements inside will be ignored when calculating the height of their parent
*/ 
.full-width-forms {
    overflow: hidden;
}

fieldset {
  border-radius: 0.15em;
  border: 1px solid #f5f5f5;
  margin: 1em 0; }
  fieldset legend {
    font-weight: 400;
    padding: 0 0.25em; }

button, input, select, textarea{
  -moz-appearance: none;
  -o-appearance: none;
  -ms-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0.15em;
  border: 1px solid #ddd;
  box-shadow: none;
  -webkit-box-shadow: none;
  color: #444;
  display: block;
  font-family: "Helvetica Neue", Helvetica, Sans-Serif;
  font-size: inherit;
  outline: none;
  padding: 0.49em 0.5em; }
button:hover,  input:hover, input:focus, select:hover, select:focus, textarea:hover, textarea:focus {
    border-color: grey;
    transition: all 200ms ease-in-out; 
    -webkit-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
  }
  input:focus, select:focus, textarea:focus {
    -webkit-box-shadow: 0 0 10px rgba(232,232,232,1);
    box-shadow: 0 0 10px rgba(232,232,232,1); 
  }


input[type='color'] {
    -webkit-appearance: square-button;
    -moz-appearance: square-button;
  	-o-appearance: square-button;
    -ms-appearance: square-button;
    appearance: square-button;
    width: 100%;
    background-color: initial;
    border: 1px solid #ddd;
    border-image: initial;
    -webkit-border-image: initial;
    -o-border-image: initial;
    padding: 1px 2px;
    min-height: 2.7em;
}


textarea {
  padding: 0.5em; }

select {
	display: inline; /* Mine */
  background-color: #FFF;
  background-size: 1em;
  background-repeat: no-repeat;
  background-position: 99% 50%;
  line-height: 1.1;
  padding: 0.78em 0.5em;
  padding-right: 1.4em; }

input:not(.btn):not([type='checkbox']):not([type='radio']):not([type='color']) {
  min-height: 2.7em; }
input[type='file'] {
  background-color: #FFF;
  width: 200px;
  font-size: 12px;
  padding: 1.02em 0.5em; }
/*
input[type='range'] {
	-moz-appearance: slider;
  	-o-appearance: slider;
  	-ms-appearance: slider;
  	-webkit-appearance: slider;
  	appearance: slider;
	color: #C9282E;
  	padding: 0.87em 0.1em; }
input[type='range']:focus {
    outline: 0; }
*/

input[type='search'] {
  box-sizing: border-box !important;
  -moz-appearance: none;
  -o-appearance: none;
  -ms-appearance: none;
  -webkit-appearance: none;
  appearance: none; 
} 

input[type='checkbox'], input[type='radio'] {
  background-color: #FFF;
  border: 1px solid #888;
  display: inline-block;
  height: 1em;
  margin: 0.5em 0.3em -0.1em 0;
  padding: 0;
  position: relative;
  top: 0;
  width: 1em;
  overflow: hidden; }
  input[type='checkbox']:checked, input[type='radio']:checked {
    background-color: #C9282E;
    border-color: #C9282E; }
  input[type='checkbox']:disabled, input[type='radio']:disabled {
    opacity: 0.3; }
input[type='checkbox'] {
  border-radius: 0.15em; }
  input[type='checkbox']:checked {
    border: none; 
    background-image:url('data:image/svg+xml;utf8,<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><style type="text/css">.st0{fill:#FFFFFF;}</style><g><path class="st0" d="M219.8,347.5c-3,3-7.2,5.5-10.9,5.5s-7.9-2.6-11-5.6l-69.5-69.5l22.1-22.1l58.6,58.6l154.8-156l21.7,22.5L219.8,347.5z"/></g></svg>');
	
    }
    input[type='checkbox']:checked:before {
      bottom: 0;
      color: white;
      content: "\f101";
      font-family: "icons", helvetica, Sans-Serif;
      font-size: 1em;
      left: 0;
      line-height: 1;
      position: absolute;
      right: 0;
      text-align: center;
      top: 0; }
input[type='radio'] {
  border-radius: 99em; }
  input[type='radio']:checked:before {
    color: white;
    content: " ";
    height: 1em;
    overflow: hidden;
    position: absolute;
    text-align: center;
    top: 0;
    width: 1em; }

.autogrid input[type='radio'], .autogrid input[type='checkbox'], .autogrid-half input[type='radio'], .autogrid-half input[type='checkbox'], .autogrid-fourth input[type='radio'], .autogrid-fourth input[type='checkbox']{
	margin-left: 1em;
}

label.fokus input[type=checkbox] {
	width: 1.6rem;
	height: 1.6rem;
	margin: .2em .1em -0.4em -0.1em; 
	}


button.createRecord {
	overflow: hidden;
	}



@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input:not(.btn):not([type='checkbox']):not([type='radio']):not([type='color']), select, textarea {
    min-height: 2.7em; } }
@-moz-document url-prefix() {
  input[type='file'] {
    padding: 1em 0.5em; }
  input[type='range'] {
    border: 1px solid #dcdcdc;
    margin: 0.6em 0 0 0; }

  select {
    padding: 0.641em 0.5em; }
    select:-moz-focusring {
      color: transparent;
      text-shadow: 0 0 0 #000;
      -webkit-transition: none;
      -o-transition: none;
      transition: none; } 
    }
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  select {
    padding: 0.65em 0.5em;
    padding-right: 0.5em; }

  input[type='file']::-ms-value {
    background: #FFF; }
  input[type='file']::-ms-value, input[type='file']::-ms-value {
    box-shadow: none;
    border: 0; }
  input[type='range'] {
    border-color: transparent; } }
.ie8 select, .ie9 select {
  padding: 0.65em 0.5em;
  padding-right: 0.5em; }
.ie8 input[type='checkbox'], .ie8 input[type='radio'], .ie9 input[type='checkbox'], .ie9 input[type='radio'] {
  background: transparent;
  border: 0; }
  .ie8 input[type='checkbox']:checked, .ie8 input[type='radio']:checked, .ie9 input[type='checkbox']:checked, .ie9 input[type='radio']:checked {
    background-color: transparent;
    border-color: transparent; }
  .ie8 input[type='checkbox']:focus, .ie8 input[type='radio']:focus, .ie9 input[type='checkbox']:focus, .ie9 input[type='radio']:focus {
    border: 0; }
.ie8 input[type='file'], .ie9 input[type='file'] {
  height: 3.8em; }
.ie8 input[type='range'], .ie9 input[type='range'] {
  height: 2em;
  line-height: 0; }

.header {
  background: #FFF;
  height: 4.25em;
  transform: translateZ(0); 
  -webkit-transform: translateZ(0);
}

  .header .section {
    padding: 0;
    position: relative; }
  .header .logo {
    border: 0;
    color: #C9282E;
    float: left;
    line-height: 1;
    padding: 0.6em 1em;
    max-height: 4.25em;
    overflow: hidden; }
    .header .logo:hover {
      background: none; }
      .header .logo:hover i {
        color: #FF0008;
        transition: all 200ms ease-in-out; 
        -webkit-transition: all 200ms ease-in-out;
        -o-transition: all 200ms ease-in-out;
      }
  .header nav a{
    display: block;
    padding: 1.3em; }
	.menu-container nav a {
		padding: 1.3em;
		display: block;
	}
    .header nav a:hover {
      background: #F5F5F5; }
  .header nav ul{
    padding: 0;
    margin: 0; }
    .header nav ul li{
      background: #FFF;
      display: inline;
      float: left;
      position: relative; }
      .header nav ul li ul{
        left: 0;
        top: 100%; }
    .header nav ul ul{
      display: none; }
  .header nav li:hover > ul{
    display: block;
    position: absolute;
    width: 12.5em;
    z-index: 9000; }
    .header nav li:hover > ul li{
      width: 100%; }
  .header nav ul ul li:hover > ul{
    left: auto;
    right: -12.5em;
    top: 0; }
	
	.header nav a.hei{
		background: #FFF;
	}

    .header nav a.hei:hover{
		color: #C9282E;
	}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: none;
	color: #000000;
	background: inherit;
	text-align: right;
	padding: 0 10px;
	display: none;
}

/*Hide checkbox*/
#show-menu {
    display: none;
}

/*Show menu when invisible checkbox is checked*/
#show-menu:checked ~ #menu{
    display: block;
}

@media screen and (max-width: 1600px){
  .header .logo {
    padding: 0.6em; }
  .header nav a, .menu-container nav a {
    padding: 1em; }
	.menu-container nav a {
		border-bottom: 1px solid #eee;
	}
  .header nav ul li ul, .menu-container nav ul li ul {
    display: block; }
  .header nav ul li, .menu-container nav ul li {
    border-right: none;
    display: block;
    float: left;
    width: 100%;
    text-align: center; }
    .header nav ul li a {
      background: #F5F5F5; }
      .menu-container nav ul li a {
        text-decoration: none; }
		.menu-container h1 {
			height: 300;
		}
  .header nav > ul, .menu-container nav > ul {
    clear: both;
    display: none; }
  .header nav > input:checked + ul, .menu-container nav > input:checked + ul {
    display: block; }
  .header nav li:hover ul, .menu-container nav li:hover ul {
    position: relative;
    width: auto; }
  .header nav ul ul li:hover > ul, .menu-container nav ul ul li:hover > ul {
    left: auto;
    right: auto;
    top: auto; }
    .menu-container nav ul li a:not(.hei):hover {
      font-style: italic !important; }
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
	#largeScreenMenu {
		display: none !important;	
	}
	li.lastItem {
		margin-bottom: 30px;
	}
	.smallScreen {
		padding-top: 0;
	}

}
.hero {
  color: #FFF;
  background: #A8002D;
  background: -webkit-linear-gradient(top left, #C9282E, #A60052);
  background: -o-linear-gradient(top left, #C9282E, #A60052);
  background: linear-gradient(to bottom right, #C9282E, #A60052); }
  .hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6 {
    margin: 0;
    line-height: 1.3; }
  .hero h1 {
    font-size: 3em; }
  .hero h2 {
    font-size: 1.8em; }
  .hero h3 {
    font-size: 1.6em; }
  .hero h4 {
    font-size: 1.4em; }
  .hero h5 {
    font-size: 1.2em; }
  .hero h6 {
    font-size: 1em; }
  .hero .section {
    padding: 5em 1.5em; }

@media screen and (max-width: 667px) {
  .hero .section {
    padding: 4em 1em; }
  .hero h1 {
    font-size: 2.4em; } 
}
.load {
  -webkit-animation-duration: 1s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: loading;
  -webkit-animation-timing-function: linear;
  -moz-animation-duration: 1s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-name: loading;
  -moz-animation-timing-function: linear;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-name: loading;
  animation-timing-function: linear;
  border-radius: 99em;
  border: 3px solid #DDD;
  border-left-color: #666;
  display: inline-block;
  height: 2em;
  width: 2em; 
  
}
  .load.medium {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }
  .load.smallest {
    width: 9px;
    height: 9px;
    border-width: 1px; }
  .load.small {
    width: 16px;
    height: 16px;
    border-width: 2px; }
  .load.large {
    width: 48px;
    height: 48px;
    border-width: 4px; }
	.vertical {
		display : flex;
		align-items : center;
	}
@keyframes loading {
  from {
    transform: rotate(0deg); }
  to {
    transform: rotate(360deg); } }
@-webkit-keyframes loading {
  from {
    -webkit-transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(360deg); } }
@-moz-keyframes loading {
  from {
    -moz-transform: rotate(0deg); }
  to {
    -moz-transform: rotate(360deg); } }
.ie8 .load, .ie9 .load {
  border-color: transparent;
  line-height: 1;
  font-size: 32px;
  /* width: 32px;
  height: 32px; */
  display: inline; }
  .ie8 .load:after, .ie9 .load:after {
    content: "\f102";
    font-family: "icons", helvetica, Sans-Serif; }
  .ie8 .load.smallest, .ie9 .load.smallest {
    font-size: 9px;
    width: 9px;
    height: 9px;
    border-width: 0.1em; }
  .ie8 .load.small, .ie9 .load.small {
    font-size: 16px;
    width: 16px;
    height: 16px;
    border-width: 0.1em; }
  .ie8 .load.large, .ie9 .load.large {
    font-size: 48px;
    width: 48px;
    height: 48px; }

.notice {
  background: #FFE0A3;
  text-align: center; }
  .notice .section {
    position: relative;
    padding-right: 3em; }
  .notice i.icon-close-outline {
    cursor: pointer;
    font-size: 2em;
    line-height: 1.91;
    position: absolute;
    right: 0.5em;
    top: 0; }
    .notice i.icon-close-outline:hover:before {
      content: "\f103"; }

.pagination {
  margin: 1em 0;
  padding: 1em;
  text-align: center; 
  
  }
.pagination a, .pagination .current, .pagination .next_page, .pagination .previous_page {
    background: transparent;
    border: 1px solid #BBB;
    border-radius: 99em;
    color: #666;
    display: inline-block;
    font-size: 1em;
    margin: 0.5%;
    min-height: 2.6em;
    padding: 0.4em 1em;
    background: -webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: -moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: -ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: -o-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: linear-gradient(to bottom, #fff 0%, #dcdcdc 100%)
	
}
.pagination a.current, .pagination a:hover, .pagination .current.current, .pagination .current:hover, .pagination .next_page.current, .pagination .next_page:hover, .pagination .previous_page.current, .pagination .previous_page:hover {
	
    color: #FFF !important;
    background: transparent;
	
    background: -webkit-linear-gradient(top, #dcdcdc 0%, #bab2b2 100%);
    background: -moz-linear-gradient(top, #dcdcdc 0%, #bab2b2 100%);
    background: -ms-linear-gradient(top, #dcdcdc 0%, #bab2b2 100%);
    background: -o-linear-gradient(top, #dcdcdc 0%, #bab2b2 100%);
    background: linear-gradient(to bottom, #dcdcdc 0%, #bab2b2 100%)	  
}
/* 
.pagination a.current, .pagination a:hover, .pagination .current.current, .pagination .current:hover, .pagination .next_page.current, .pagination .next_page:hover, .pagination .previous_page.current, .pagination .previous_page:hover {
	background: #BBB;
    color: #FFF;
    transition: all 200ms ease-in-out; 	
}
.pagination .current {
	padding: 0;
}
 */
.pagination .next_page, .pagination .previous_page {
    min-width: 5em; } /* was 9 - mine*/
.pagination ul {
	list-style-type:none;
	margin:0;
	padding:0;
	text-align:left;
}
.pagination ul li {
	display:inline;
	text-align:left;
}

.nb {
	display: block;
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	background-color: green;
	}
.nb::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	content: ">";
	color: #ffffff;
	text-align: center;
	line-height: 40px;
	font-size: 25px;
	}
@media screen and (max-width: 667px) {
  .pagination a, .pagination .current, .pagination .active, .pagination .gap {
    margin: 0 1em 1em 0; }
  .pagination .next_page, .pagination .previous_page {
    width: 9em;
    display: block;
    margin: 0 auto 1em auto; } }
table, .table {
  width: 100%;
  margin: 1em 0;
  border-spacing: 0;
  border-collapse: separate; }

th, .table-header-cell {
  font-weight: 400;
  color: #000;
  text-align: left; }

td, .table-cell {
  border-top: 1px solid #EEE; }

td, th, .table-cell, .table-header-cell {
  padding: 0.5em;
  text-align: left;
  vertical-align: top; }

tfoot tr, .table-footer .table-row {
  border-bottom: 0; }
tfoot td, .table-footer .table-cell {
    font-size: 0.7em;
}
@media screen and (max-width: 667px) {
  tr, td, th, .table-row, .table-cell, .table-header-cell {
    display: block;
	} 

  tr, .table-row {
    padding: 1em 0;
    border-top: 1px solid #EEE; }
    tr:first-child {
      border-top: 0; }

  thead, .table-head {
    display: none; }

  td, .table-cell {
    clear: both;
    border: none; }

  td, th, .table-cell, .table-header-cell {
    padding: 0.25em 0; } }
.tabs-block {
  background: transparent;
  border-bottom: 1px solid #EEE; }
  .tabs-block .col {
    text-align: center;
    position: relative; }
    .tabs-block .col:last-child {
      border-right: 0; }
    .tabs-block .col:hover, .tabs-block .col.here {
      background: #EEE;
      transition: all 200ms ease-in-out; }
  .tabs-block a {
    width: 100%;
    display: inline-block;
    padding: 0.5em;
    color: #444; }

.tabs {
  display: inline-block;
  list-style: none;
  margin: 1em 0;
  padding: 0;
  width: 100%; }
  .tabs a {
    border-radius: 0.15em;
    border: 1px solid transparent;
    padding: 0.65em 1em;
    color: #444; }
  .tabs li {
    display: inline-block;
    padding: 0 0.5%; }
    .tabs li:hover a, .tabs li.here a {
      -webkit-transition: all 200ms ease-in-out;
      -o-transition: all 200ms ease-in-out;
      transition: all 200ms ease-in-out;
      background: #EEE; }
  .tabs ul {
    padding: 0; }
  .tabs.round li a {
    border-radius: 99em; }

@media screen and (max-width: 860px) {
  .tabs-block a, .tabs a {
    margin: 0.5% 0;
    padding: 0.65em 0.5em;
    display: block;
    text-align: center; }

  .tabs-block {
    border-bottom: 0; }

  .tabs li {
    display: block;
    padding: 0; } }
.highlight code {
  width: 100%; }

.hll {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 3px; }

.c {
  color: #999988;
  font-style: italic; }

.err {
  color: #a61717;
  background-color: #e3d2d2; }

.k, .o {
  font-weight: bold; }

.cm {
  color: #999988;
  font-style: italic; }

.cp {
  color: #999999;
  font-weight: bold; }

.c1 {
  color: #999988;
  font-style: italic; }

.cs {
  color: #999999;
  font-weight: bold;
  font-style: italic; }

.gd {
  color: #000000;
  background-color: #ffdddd; }
  .gd .x {
    color: #000000;
    background-color: #ffaaaa; }

.ge {
  font-style: italic; }

.gr {
  color: #aa0000; }

.gh {
  color: #999999; }

.gi {
  color: #000000;
  background-color: #ddffdd; }
  .gi .x {
    color: #000000;
    background-color: #aaffaa; }

.go {
  color: #888888; }

.gp {
  color: #555555; }

.gs {
  font-weight: bold; }

.gu {
  color: #800080;
  font-weight: bold; }

.gt {
  color: #aa0000; }

.kc, .kd, .kn, .kp, .kr {
  font-weight: bold; }

.kt {
  color: #445588;
  font-weight: bold; }

.m {
  color: #009999; }

.s {
  color: #dd1144; }

.n {
  color: #333333; }

.na {
  color: teal; }

.nb {
  color: #0086b3; }

.nc {
  color: #445588;
  font-weight: bold; }

.no {
  color: teal; }

.ni {
  color: purple; }

.ne, .nf {
  color: #990000;
  font-weight: bold; }

.nn {
  color: #555555; }

.nt {
  color: navy; }

.nv {
  color: teal; }

.ow {
  font-weight: bold; }

.w {
  color: #bbbbbb; }

.mf, .mh, .mi, .mo {
  color: #009999; }

.sb, .sc, .sd, .s2, .se, .sh, .si, .sx {
  color: #dd1144; }

.sr {
  color: #009926; }

.s1 {
  color: #dd1144; }

.ss {
  color: #990073; }

.bp {
  color: #999999; }

.vc, .vg, .vi {
  color: teal; }

.il {
  color: #009999; }

.gc {
  color: #999;
  background-color: #EAF2F5; }

ul.list, ol.list {
  margin-left: 1em;
  padding-left: 1em; }

ul.list li {
  list-style: disc; }

ol.list li {
  list-style: decimal; }

.align-left {
  text-align: left; }

.align-right {
  text-align: right; }

.break-word {
  word-break: break-all; }

.no-wrap {
  white-space: nowrap; }

.thin {
  font-weight: 100; }

.uppercase {
  text-transform: uppercase; }

.light-text *, .light-text a {
  color: white; }
.light-text a {
  text-decoration: underline; }

.auto {
  margin: 0 auto; }

.block {
  display: block; }

.center {
  text-align: center; }

.clear {
  clear: both; }

.float-left {
  float: left; }

.float-right {
  float: right; }

.inline {
  display: inline; }

.inline-block {
  display: inline-block; }

.checkbox, .radio {
  display: block;
  line-height: 2.2; }

.box {
  border-radius: 0.15em;
  border: 1px solid #ddd;
  margin: 1em 0;
  padding: 1em; }

.disabled {
  color: #BBB; }

.radius {
  border-radius: 0.15em; }

.round {
  border-radius: 99em; }

.opacity-half {
  opacity: 0.5; }

.gray {
  color: #666; }

.gray-medium {
  color: #999; }

.gray-light {
  color: #BBB; }

.gray-lighter {
  color: #EEE; }

.gray-lightest {
  color: #F9F9F9; }




.bg {
  background: floralwhite; }

.bg-black {
  background: #252525;
  background: -webkit-linear-gradient(top left, #222, #333);
  background: -o-linear-gradient(top left, #222, #333);
  background: linear-gradient(to bottom right, #222, #333); }

.bg-gray {
  background: #9A9A9A;
  background: -webkit-linear-gradient(top left, #888, #CCC);
  background: -o-linear-gradient(top left, #888, #CCC);
  background: linear-gradient(to bottom right, #888, #CCC); }

.bg-blue {
  background: #1C6AB9;
  background: -webkit-linear-gradient(top left, #25639A, #1F9CEA);
  background: -o-linear-gradient(top left, #25639A, #1F9CEA);
  background: linear-gradient(to bottom right, #25639A, #1F9CEA); }

.bg-red {
  background: #A8002D;
  background: -webkit-linear-gradient(top left, #C9282E, #A60052);
  background: -o-linear-gradient(top left, #C9282E, #A60052);
  background: linear-gradient(to bottom right, #C9282E, #A60052); }

.bg-green {
  background: #52BB5C;
  background: -webkit-linear-gradient(top left, #73B558, #45D093);
  background: -o-linear-gradient(top left, #73B558, #45D093);
  background: linear-gradient(to bottom right, #73B558, #45D093); }

.hide {
  display: none; }

.show {
  display: block; }

.full {
  width: 100%; }

.space:after {
  content: " "; }

.i2x {
  font-size: 2em; }

.i3x {
  font-size: 3em; }

.i4x {
  font-size: 4em; }

.i5x {
  font-size: 5em; }

.same-width {
  text-align: center;
  width: 2em;
  display: inline-block; }


.min-4-rem {
	min-width: 4rem;
	}
.min-6-rem {
	min-width: 6rem;
	}
.min-8-rem {
	min-width: 8rem;
	}
.min-10-rem {
	min-width: 10rem;
	}
@media screen and (max-width: 667px) {
  .space, .hide-on-mobile {
    display: none; }

  .responsive {
    width: 100%; } }
@media screen and (max-width: 334px) {
  .responsive-portrait {
    width: 100%; } }


/* Mine */

@media screen and (min-width: 1024px) {
	.skjema {
		width: 100%;
        max-width: 800px;
	}
}
#show-registered {
	width: 100%;
}
.full-width-forms input:not([type='checkbox']):not([type='radio']):not([type='color']):not([type='submit']):not([type='file']), .full-width-forms textarea {
	width: 100%;    
}
.radio-options label, .checkbox-options label {
	padding-right: 2em;
}

.loggtable {
    display:table;
    border-collapse:collapse;
}
.loggheader {
    display:table-header-group;
    font-weight:bold;
}

.group {
    display:table-row-group;
    font-size:0.95em;
}
.group2 {
    display:table-row-group;
}
.loggrow {
	display: table-row;
	page-break-inside: avoid;
}

.cell {
	display:table-cell;
    vertical-align: top;
    position: relative;
    padding: 0.1em 0;
}

.cell2 {
	display: table-cell;
	width:auto;
	text-align: left;
	padding: 0.1em 1em;
/*	border: 1px solid black; */
}

.cell-15 {
  width: 15%; 
  }
.cell-10 {
  width: 10%; }

.cell-55 {
  width: 55%; }

.cell-5 {
  width: 5%; }

.cell-30 {
  width: 30%;
}

.inline-view {
	display: inline;
	padding-left: 0.5em;
}
label input {
	display: inline; 
}

/* ELENI Kalibrering */
#kalibrering label input {
    display: block;
    background-color: white;
}

fieldset input {
	width: 60%;
}
@media screen and (max-width: 860px) {
	fieldset input {
	width: 100%;
	}
}

#outer {
	-webkit-overflow-scrolling:touch; 
	overflow:auto;
/*	-webkit-backface-visibility: hidden; */
}
iframe {
	border: none;
	background-color: snow;
	/*height: calc(100vh - 4em);*/
    /* width: calc(100vw - 1em); */
	width: 100%;
	height: 100%;
	/* necessary for stopping the background scrolling and superfluous height */
	max-height: 1500px !important;
}
.hidden {
	display: none;
}
#forsiden {
	float: right;
} 
.is-visible {
	position: fixed;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
/*	width: 100%;
	height: 100%; */
	border: none;
	margin: 0;
	/* padding: 2em 0.5em 0.5em 0.5em;  */
	padding: 2em 0 0 0;
	z-index: 999999;
	background-color: rgba(0,0,0,.7);
/*	overflow-y: scroll; */ 
	overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.noscroll {
	overflow: hidden;
}
.close-btn {
	vertical-align: middle;
	color: white;
	position: absolute;
    top: 0px;
    right: 2em;
    cursor: pointer;
}
.material-icons {
	vertical-align: middle;
}
.headercell { padding: 1em 1em; font-weight:500;}

.date { padding-right:1.5em; }

.container {
	padding: 1em 0;
	margin: 1em;
	width: 95%;
	white-space: nowrap;
	overflow-x:auto;
}

.no-border {
	border: none;
}

.timeblock {
	border-collapse: collapse;
	position: absolute;
	display: block;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	text-align: center;
	width: 3em;
/*	background-color: oldlace; */
}
.timeblock:first-child { border-left: 1px solid black; }

.first { border-top: 1px solid black; }
.first:first-child { border-left: 1px solid black; }
.hot { color: coral; }
.cold { color: deepskyblue; }

.time2 { left: 0em; }
.time4 { left: 3em; }
.time8 { left: 6em; }
.time16 { left: 9em; }
.time32 { left: 12em; }
.time64 { left: 15em; }
.time128 { left: 18em; }
.time256 { left: 21em; }
.time512 { left: 24em; }
.time1024 {
	left: 27em;
	}
.time2048 {
	left: 30em;
	}
.time4096 {
	left: 33em;
	}
.time8192 {
	left: 36em;
	}
.time16384 {
	left: 39em;
	}
.time32768 {
	left: 42em;
	}
.time65536 {
	left: 45em;
	}
.time131072 {
	left: 48em;
	}
.time262144 {
	left: 51em;
	}
.time524288 {
	left: 54em;
	}
.time1048576 {
	left: 57em;
	}
.time2097152 {
	left: 60em;
	}
.time4194304 {
	left: 63em;
	}
.time8388608 {
	left: 66em;
	}
.time16777216 {
	left: 69em;
	}
.time33554432 {
	left: 72em;
	}	

.hourblock {
	position: absolute;
	display: block;
	text-align: center;
	width: 3em;
	font-weight: bold;
	}
.hour0 {
	left: 0em;
	}
.hour1 {
	left: 3em;
	}
.hour2 {
	left: 6em;
	}
.hour3 {
	left: 9em;
	}
.hour4 {
	left: 12em;
	}
.hour5 {
	left: 15em;
	}
.hour6 {
	left: 18em;
	}
.hour7 {
	left: 21em;
	}
.hour8 {
	left: 24em;
	}
.hour9 {
	left: 27em;
	}
.hour10 {
	left: 30em;
	}
.hour11 {
	left: 33em;
	}
.hour12 {
	left: 36em;
	}
.hour13 {
	left: 39em;
	}
.hour14 {
	left: 42em;
	}
.hour15 {
	left: 45em;
	}
.hour16 {
	left: 48em;
	}
.hour17 {
	left: 51em;
	}
.hour18 {
	left: 54em;
	}
.hour19 {
	left: 57em;
	}
.hour20 {
	left: 60em;
	}
.hour21 {
	left: 63em;
	}
.hour22 {
	left: 66em;
	}
.hour23 {
	left: 69em;
	}
.hour24 {
	left: 72em;
	}	
/*	
.trash {
	content: url('img/trash.png');
}
*/
/* Define print style */
@media print {
	@page {
		size: auto; 
		margin: auto;
	}
	/* Force printing within page limits in FF - landscape not working */
	html { 
		width: 29.7cm;
		height: 21cm;
	}
 	body { 
 		background-color: white;
 	}
 	.container, p {
		font-size: 0.8em;
	}	

	ul.nav, button, .knapp, footer, form, input, h1.hei {
    	display: none;
    }
    
    article {
    	color: #000;    
    	background-color: #fff;
	}
    h1 {
		font-size: 1em;
	}

	h2 {
		font-size:0.9em;
	}

	h3 {
		font-size:0.8em;
	}
/*  a:after {
    	content: "( "attr(href)" )"
	} */
	header:before {
		display: block;
		/* content: url('img/thinkbeforeprinting.gif'); */
		/* content: "Please consider the environment before printing."; */
		margin-bottom: 10px;
		border: 1px solid #bbb;
		padding: 3px 5px;
		font-style: italic;
	}
	
	a { text-decoration: none; }

}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animation: 0.2s;
  -webkit-box-shadow: 0px 0px 0px #000000;
  box-shadow: 0px 0px 0px #000000;
  background: #C9282E;
  border-radius: 5px;
  border: 0px solid #010101;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-box-shadow: 0px 0px 0px #000031;
  box-shadow: 0px 0px 0px #000031;
  border: 1px solid #000000;
  height: 15px;
  width: 15px;
  border-radius: 15px;
  background: #FFFFFF;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -5.5px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #C9282E;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animation: 0.2s;
  box-shadow: 0px 0px 0px #000000;
  background: #C9282E;
  border-radius: 5px;
  border: 0px solid #010101;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 0px #000031;
  border: 1px solid #000000;
  height: 15px;
  width: 15px;
  border-radius: 15px;
  background: #FFFFFF;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animation: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #C9282E;
  border: 0px solid #010101;
  border-radius: 6px;
  box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-fill-upper {
  background: #C9282E;
  border: 0px solid #010101;
  border-radius: 6px;
  box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-thumb {
  box-shadow: 0px 0px 0px #000031;
  border: 1px solid #000000;
  height: 15px;
  width: 15px;
  border-radius: 15px;
  background: #FFFFFF;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #C9282E;
}
input[type=range]:focus::-ms-fill-upper {
  background: #C9282E;
}

/* Fareanalyse divs */
.fare-hide {
	display:none;
}
.fare-result {
	display: none;
	border: 1px solid #f5f5f5;
}
.fare-red {
	color: white;
	background-color: #C9282E;
	
}
.fare-orange {
	color: white;
	background-color: gold;
	
}
.fare-green {
	color: white;
	background-color: yellowgreen;
}

.rounded {
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
    border: 1px solid gray;
}
@media screen and (min-width: 1000px){
  .fareanalyse-wrapper, .rapporter-wrapper, .skjemaer-wrapper, .flytskjemaer-wrapper, .todo-wrapper {
    max-width: 1000px;
    margin: 0 auto;
  }
}
.rTable {
	margin: 2em auto;
	padding: 1em;
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #f5f5f5;
}
.rTableHeading, .rTableBody, .rTableFoot, .rTableRow{
  	clear: both;
}
.rTableHead:first-child{
  	font-weight: bold;
}
.rTableCell, .rTableHead {
  	float: left;
  	overflow: hidden;
  	width: 25%;
    min-height: 2.7em;
    display: -webkit-box;
	  display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
  	flex-direction: column;
  	text-align: center;
}
.rTableRow {
  display : -webkit-box;
	display : -ms-flexbox;
	display : flex;
}

.rTable:after {
  	visibility: hidden;
  	display: block;
  	font-size: 0;
  	content: " ";
  	clear: both;
  	height: 0;
}
.rTableRow + .rTableRow {
	margin-bottom: 0.2em;
}
.rTableCell + .rTableCell {
	margin-right: 0.2em;
}
.fareanalyse-wrapper form {
  text-align: center;
}

/* Documents table layout */
#dokumenter input { 
	width: 200px;
	margin-left: 0;
}
#dokumenter a {
	color: black;
}
#dokumenter a:hover {
	color: grey;
}
.dokumenter-tabell {
  display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
}
.dokumenter-tabell div {
	margin: auto 5px;
}
/*#dokumenter input[type='file'] { width: 10em !important;}  E*/
/*#dokumenter input[type=file] {
	width: 15em;

}*/

#hei1 {
  -o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	width: 250px;
	white-space: nowrap;
	overflow: hidden;
	padding-right: 0;
}
@media screen and (min-width : 1600px) {
	#hei1 {
		width: calc(100vw - 1350px);
		padding-right: 10px;
	}
}

/* Messageboard css */
.bordered {
	border: 1px solid lightgrey;
	padding: 1em;
}
.inbox {
	display: block;
}
.sendt, .trash, #emptyi, #emptys {
	display: none;
}
.not-read {
  background-color: whitesmoke;
  color: black;
  font-weight: bold;
}
.read {
  background-color: white;
}
.selected {
  background-color: teal;
  color: white;
}
.message:hover {
	box-shadow: inset 0 0 0 2px teal;
}

#display {
	position: relative;
  /* min-height: 600px; */
  height: 600px;
}
hr {
	visibility: hidden;
}
.span {
	max-height: 510px; /* max height of container is 600px*/
	overflow: auto;
	padding-right: 10px;
}
#buttons {
	display: none; 
	position: absolute;
	bottom: 5px;
  right: 17px;
  
}
#confirmed {
  display: inline-block;
  height: auto;
  line-height: 1;
  margin: 0;
  text-align: center;
  font-size: 0.9em;
  padding-right: 5px;
  color: #6BAF56;
}
#unconfirmed {
    display: inline-block;
    height: auto;
    line-height: 1;
    margin: 0;
    text-align: center;
    font-size: 0.9em;
    padding-right: 5px;
    color: #C9282E;
}

.members {
  text-align: right; 
  display: none;
}
.members:hover {
  cursor: pointer;
}
.members-detail {
  display: none;
  max-width: calc(100vw - 4rem);
  overflow-x: auto; 
}
.members-detail span + span {
  padding-left : 10px;
}
.messageboard-wrapper {
  width: 80%;
  margin: 0 auto;
}

#buttons-wrapper {
  position: relative;
  height: 100%;
}
#buttons-wrapper #buttons {
  position: absolute;
  bottom: 5px;
  right: 5px;
}

#messageboard-menu .menu-item {
  min-height: 64px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
#messageboard-menu .menu-item:hover {
  border-top-right-radius: 35%;
}
.message-list {
  height: 600px;
  overflow: auto;
  
  border: 1px solid lightgrey;
  border-collapse: collapse;
}
.message-content {
  max-height: 600px;
  
}
@media (max-width: 58.29rem){
/*@media (max-width: 480px) {*/
  #messageboard-menu .menu-item, #messageboard-menu .menu-item:hover, #messageboard-menu .menu-item:active {
    border-top-right-radius: 0;
  }
  .section#messageboard-content {
		margin-top: 0;
    padding: 0;
  }
	#messageboard-content .bordered {
		padding-left: 5px;
    padding-right: 10px;
  }
  .messageboard-wrapper {
    margin: 0;
    padding-left: 5px;
    padding-right: 10px;
    width: 100%;
  }
  .message-list {
    height: auto;
    max-height: 365px;
    overflow-y: auto;
  }
  #display {
    height: auto;
    /* max-height: 365px;
    overflow-y: auto; */
  }
  .scan {
    overflow: none;
  }
  /* .members-detail {
    max-width: calc(100vw - 4rem);
    overflow-x: auto;    
  } */
}
@media (min-width: 58.30rem) and (max-width: 70.52rem){
  .messageboard-wrapper {
    width: 100%;
  }
  .col-4-5 {
    width: 95%;
  }
  .col-1-4 {
    width: 30%;
  }
  .col-3-4 {
    width: 70%;
  }
}

/* Send Message iFrame Layout */
#send-new {
	padding: 0.5em;
}
#send-message {
	text-align: center;
	display: inline-block;
	margin: 0 auto;
	width: 100%;
	padding: 0.5em;
}
#iframe-wrapper {
	display: none;
  overflow:auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling:touch; 
}
#message-iframe {
	border: none;
	background-color: snow;
	/*height: calc(100vh - 4em);*/
    /* width: calc(100vw - 1em); */
	width: 100%;
	height: 100%;
	/* necessary for stopping the background scrolling and superfluous height */
	max-height: 1500px !important;
}
.iframe-open {
  overflow: hidden;
  -webkit-overflow-scrolling:hidden;
}
.iframe-open-siblings {
  height: 100%;
  overflow: auto;
}
#iframe-wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
}
#message-iframe {
  height: 100%;
  overflow: scroll;
}

/* Select Chosen plugin */
.chosen-select {
  width: 100%;
}
.chosen-container-multi .chosen-choices {
  background-image: none;
}
.chosen-container-multi .chosen-choices li.search-choice {
  border: none;
  border-radius: 0;
  background-color: white;
  background-image: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  margin: 5px 5px 3px 0;
  padding: 5px 20px 5px 5px;
  font-size: 1rem;
  line-height: 1rem;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
  top: 9px;
}

/* Expandables */
.expandable .content {
	height: auto;
	transition: height 2s;
	overflow: hidden;
	}
.expandable.closed .content {
	height: 0;
	transition: height 2s;
	}

.expandable .trigger {
	display: block;
	position: relative;
	}

.expandable .trigger::before {
	content: "►";
	color: #bbbbbb;
	position: absolute;
	bottom: 5%;
	left: -2rem;
	transform: rotate(90deg);
	transition:transform 0.3s ease-in-out;
	font-size: 80%;
	}
.expandable.closed .trigger::before {
	content: "►";
	color: #bbbbbb;
	position: absolute;
	left: -2rem;
	bottom: 5%;
	transition:transform 0.3s ease-in-out;
	transform: rotate(0deg);
	}

@keyframes ants { to { background-position: 100% 100% } }

.ants { border: 1px solid #dddddd; }

.ants:focus {
	background: linear-gradient(white, white) padding-box, repeating-linear-gradient(-45deg, #bbb 0, #bbb 25%, transparent 0, transparent 50%) 0 / .6em .6em;
	animation: ants 48s linear infinite;
	border: 1px solid transparent;
	padding: 0.5rem;
	width: 100%;
	}

/* Document states colour hinting */
#content.state99 {
	background-color: #fffafa; 
	}
#content.state1 {
	background-color: #faecb7;
	}
#content.state0 {
	background-color: #d9edc1;
	}
#content.state-1 {
	background-color: #eafded;
	}

INPUT.todo, TEXTAREA.todo {
	border-bottom: 1px solid red;
	}
INPUT[type=checkbox].todo {
	border: 1px solid red;
	background-color: #FEFFFF;
	}
DIV.todo {
	border-left: 1px solid red;
	}

#progressor {
	display: block;
/*	display: none; */
	position: relative;
	float:left;
	clear: none;
	width: 30px;
	height: 30px;
	margin: 0.5rem;
	border-radius: 15px;
	background-color: #bbbbbb;
	background-image: url(/img/gronnpil.png);
	background-size: contain;
	background-position: center center;
	color: #227928;
	content: "►";
	font-size: 1rem;
	line-height: 30px;
}
/* Modules table */

#modules-table td.checkbox-container {
  margin: 0 auto;
  padding-left: 3rem;
}
#save-modules-loader {
  display: inline-block;
}


/* Languages */
lang { display: inline; display: none;}

BODY.lang_NO lang.NO {
	display: inline;
	}
BODY.lang_EN lang.EN {
	display: inline;
	}

/* Eleni */
/*
    flex rows and button wrapper in order to space the submit button inside the form
*/
.flex-rows, .flex-rows-dense {
    display: flex;
    flex-direction: column;    
    overflow: hidden;
}
.flex-rows {
    gap: 0.5rem;
}

.flex-rows h2 {
    margin: 0;
}

.flex-rows-dense {
    gap: 0.5rem;
}

@media only screen and (max-width: 58.29rem){
  #modules-table tbody tr:first-child {
    max-height: 1px;
    padding: 0;
  }
  #modules-table td:not(:first-child) { 
		/* Behave  like a "row" */
		border: none;
		position: relative;
		padding-left: 50%; 
	}
  
  #modules-table td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
    left: 0;
    width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
  #modules-table td:nth-of-type(1){
    font-weight: bold;
  }
  #modules-table td:nth-of-type(2):before{
    content: "Messageboard ";
  } 
  #modules-table td:nth-of-type(3):before{
    content: "Test module ";
  } 
}
@media only screen and (min-width: 58.30rem) and (max-width: 70.52rem){
  #temperaturkontroll-tablebody td.temperatur-cell label input {
    max-width: 200px;
  }
}
.padded-wide {
  margin: 1% 6%;
}
@media only screen and (min-width: 58.30rem) and (max-width: 70.52rem){
  .padded-wide {
    margin: 1% 4%;
  }
}

/* Display ordered list numbers */
ol.numbered li{
  list-style-type: decimal;
  list-style-position: inside;
  list-style-image: none;  
}

/* Make Firma Buttons prettier */
button[name=firma] {
  background-color: white;
  border: 1px solid #C9282E;
  margin: 1rem 0px;
  min-width: 50%;
  width: 80%;
}

button[name=firma]:hover {
  background-color: #C9282E;
  color: white;
}

@media screen and (max-width: 667px) {
  button[name=firma] { width: 100%; }
}

/*
Eleni range inputs for freezers, refrigerators and warm-holders
*/

:root {
    --colour-class-green: rgb(39, 174, 96);
    --colour-class-red: rgb(231, 76, 60);
    --colour-class-yellow: rgb(212, 172, 13);
    --colour-class-black: #333333;
}
.slider-wrapper {
    border: 1px solid #ddd;
    border-radius: 0.5em;
    z-index: 99;
}

.range-label {
    display: flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
    margin: 0.5rem auto;
}
.range-label p, .range-label label {
    width: 50%;
    text-align: left;
}

.temp-range {
    -webkit-appearance: none;
    display: block;
    margin: 0;
    width: 100%;
    background-color: transparent;
	background: transparent;
	cursor: pointer;
    border: none;
    padding-bottom: 0;
    z-index: 99;
    position: relative;
}

.ticks-wrapper + .temp-range {
	margin-top: -2.5rem;
	}

input.temp-range::-webkit-slider-runnable-track {
    background: var(--colour-class-green);
}
input.temp-range:focus::-webkit-slider-runnable-track {
    background: var(--colour-class-green);
}
input.temp-range::-moz-range-track {
    background: var(--colour-class-green);
} 

input.temp-range.red::-webkit-slider-runnable-track {
    background: var(--colour-class-red);
}
input.temp-range.red:focus::-webkit-slider-runnable-track {
    background: var(--colour-class-red);
}
input.temp-range.red::-moz-range-track {
    background: var(--colour-class-red);
} 
input.temp-range.green::-webkit-slider-runnable-track {
    background: var(--colour-class-green);
}
input.temp-range.green:focus::-webkit-slider-runnable-track {
    background: var(--colour-class-green);
}
input.temp-range.green::-moz-range-track {
    background: var(--colour-class-green);
} 
input.temp-range.yellow::-webkit-slider-runnable-track {
    background: var(--colour-class-yellow);
}
input.temp-range.yellow:focus::-webkit-slider-runnable-track {
    background: var(--colour-class-yellow);
}
input.temp-range.yellow::-moz-range-track {
    background: var(--colour-class-yellow);
} 

input[type="range"]::-webkit-slider-thumb {
	z-index: 99 !important;
	}

.temp-range:focus {
    outline: none;
    box-shadow: none;
}
.ticks-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
    margin-bottom: 0.5rem;
    background-size: cover;
	}
/*
.tick {
    position: relative;
    display: flex;
    justify-content: center;
    width: 1px;
    background: #ddd;
    height: 10px;
    line-height: 50px;
}
*/
/*
.tick {
	position: relative;
	display: flex;
	justify-content: center;
	width: 100%;
	background: #ddd;
	height: 10px;
	line-height: 50px;
	border: 1px solid #bbbbbb;
	}

.tick:nth-of-type(1) {
	background-color: #000000;
	}
.tick:nth-of-type(2) {
	background-color: grey;
	}
.tick:nth-of-type(3),.tick:nth-of-type(4), .tick:nth-of-type(5), .tick:nth-of-type(6), .tick:nth-of-type(7), .tick:nth-of-type(8), .tick:nth-of-type(9), .tick:nth-of-type(10), .tick:nth-of-type(11), .tick:nth-of-type(12), .tick:nth-of-type(13) {
	background-color: green;
	}
.tick:nth-of-type(3),.tick:nth-of-type(14), .tick:nth-of-type(15), .tick:nth-of-type(16), .tick:nth-of-type(17), .tick:nth-of-type(18), .tick:nth-of-type(19), .tick:nth-of-type(20), .tick:nth-of-type(21), .tick:nth-of-type(22), .tick:nth-of-type(23) .tick:nth-of-type(24) {
	background-color: red;
	}
*/



/* "Suitcase tags" */
.etikett {
	display: inline-block;
	position: relative;
	margin-right: .5rem;
	padding: 0 .5rem 0 .5rem;
	border-radius: 5px;
	background-color: orange;
	color: white;
	margin-top: 2px;
	}

.etikett.klikkbort {
	padding: 0 0.5rem 0 2rem;
	cursor: pointer;
	}
.etikett.klikkbort::before {
	position: absolute;
	left: 1rem;
	content: "x";
	}

/*
  TODO: Eleni - Make menu bar look good on smaller devices 
*/
@media screen and (max-width: 557px) {
  header.full #stemple {
    top: 0.5rem;
    left: 0.5rem;    
  }

  header.full #stemple::after {
    font-size: 0.8rem;
    left: 2.5rem;
    line-height: 0.8rem;
    width: 3rem;
  }

  header.full #personalia  {
    transform: none;
    left: 8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Eleni Fraværregistrering skjema */
.nested {
    display: none;
}
:checked ~ .nested {
    display: block;
    margin-left: 2rem;
}
.skjema {
    max-width: 800px;
}

.full-width-forms .fravaer input {
    max-width: 300px;
}