﻿:root {
  --mdPrimaryColor: #005e5d;
  --mdPrimaryColor120: #005251;
  --mdPrimaryColor80: #337e7d;
  --mdPrimaryColor20: #ccdfde;
  --mdPrimaryColor10: #e5eeee;
  --mdLightPrimaryColor: #40c1ac;
  --mdDarkPrimaryColor: #005251;
  --mdSecondaryColor: #ece7d2;
  --mdSecondaryColor80: #efebdb;
  --mdSecondaryColor60: #f3f0e4;
  --mdSecondaryColor40: #f7f5ed;
  --mdSecondaryColor20: #fbfaf6;
  --mdTextColor: #222222;
  --mdWarningBackgoundColor: #fce4ca;
  --mdErrorColor: #ca0000;
  --mdErrorColor120: #b7090d;
  --mdGreyColor: #222222;
  --mdGreyColor10: #e8e8e8;
  --mdGreyColor20: #d2d2d2;
  --mdGreyColor40: #a6a6a6;
  --mdGreyColor60: #808080;
  --mdGreyColor80: #4e4e4e;
}

body,
table {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
html {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#mapViewDiv {
  width: 100%;
  height: 600px;
  margin: 0;
  padding: 0;
}
/*: er en selector. Se: https://www.w3schools.com/cssref/css_selectors.asp*/
.btn:focus {
  outline: none !important;
}

.btn-primary {
  background: #006469;
  border-color: #014145 !important;
}

.clickable:hover {
  background: var(--mdPrimaryColor10);
  cursor: pointer;
}

.btn-primary:hover {
  background: #004b46;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:active:focus {
  background: #004b46;
  box-shadow: "inset 0px 1px 3px 0px rgba(0,0,0,0.50)";
}

.btn-primary.disabled,
.btn-primary.disabled.active,
.btn-primary.disabled.focus,
.btn-primary.disabled:active,
.btn-primary.disabled:focus,
.btn-primary.disabled:hover,
.btn-primary[disabled],
.btn-primary[disabled].active,
.btn-primary[disabled].focus,
.btn-primary[disabled]:active,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary,
fieldset[disabled] .btn-primary.active,
fieldset[disabled] .btn-primary.focus,
fieldset[disabled] .btn-primary:active,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary:hover {
  background: #dddddd;
  color: #999;
  border-color: #c6c5c5 !important;
}

.btn-secondary {
  background: #696969;
  color: #fff;
}

.btn-secondary:hover {
  background: #4a4a4a;
  color: #fff;
}

.btn-secondary:active {
  background: #4a4a4a;
  color: #fff;
  box-shadow: "inset 0px 1px 3px 0px rgba(0,0,0,0.50)";
}

.btn-secondary:disabled {
  background: #696969;
  color: #939393;
  border-color: #696969;
}

.btn-lowpri {
  background: #fff;
  color: #006964;
  border: 1px solid #999;
}

.btn-lowpri:hover {
  background: #efefef;
  color: #006964;
  border: 1px solid #006964;
}

.btn-lowpri:active {
  background: #efefef;
  color: #004b46;
  border: 1px solid #004b46;
  box-shadow: "inset 0px 1px 3px 0px rgba(0,0,0,0.50)";
}

.btn-lowpri:disabled {
  background: #fff;
  color: #999999;
  border: 1px solid #ddd;
}

.btn-lowpri:focus {
  color: #333 !important;
}

.tooltip .tooltip-inner {
  max-width: 500px;
  padding: 3px 8px;
  color: white;
  text-align: left;
  background-color: #006964;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  opacity: 1;
}

label {
  margin-bottom: 2px;
}

.label-primary {
  background-color: #006469 !important;
}

.errormsg,
.errormsg .help-block {
  color: #a94442 !important;
}

.underline {
  text-decoration: underline;
}

.input-group.date .form-control {
  width: 100% !important;
}

.inline {
  display: inline;
}

.text-primary {
  color: #006469;
}

h1 {
  font-family: "Roboto", "Palatino Linotype", Georgia, "Times New Roman", Times,
    serif;
  font-size: 40px;
  color: #006964;
  /*letter-spacing: 1px;*/
  line-height: 54px;
  text-align: left;
}

h2 {
  font-family: "Roboto", "Palatino Linotype", Georgia, "Times New Roman", Times,
    serif;
  font-size: 30px;
  color: #006964;
  /*letter-spacing: 0.75px;*/
  line-height: 40px;
  text-align: left;
}

h3 {
  font-family: "Roboto", "Palatino Linotype", Georgia, "Times New Roman", Times,
    serif;
  font-size: 20px;
  color: #006964;
  /*letter-spacing: 0.55px;*/
  line-height: 30px;
  text-align: left;
}
#headerContainer h3 {
  font-family: "Roboto";
}

h4 {
  font-family: "Roboto", "Palatino Linotype", Georgia, "Times New Roman", Times,
    serif;
  font-size: 18px;
  color: #006964;
  font-weight: 500;
  /*letter-spacing:0.5px;*/
  line-height: 27px;
  text-align: left;
}

h5 {
  font-family: "Roboto", "Open Sans", sans-serif;
  font-size: 16px;
  color: #006964;
  /*letter-spacing:0.4px;*/
  line-height: 20px;
  text-align: left;
  font-weight: 500;
}

h6 {
  font-family: "Roboto", "Open Sans", sans-serif;
  font-size: 14px;
  color: #006964;
  /*letter-spacing:0.4px;*/
  line-height: 16px;
  text-align: left;
  font-weight: 500;
}

h7 {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: #333;
  /*letter-spacing:0.4px;*/
  line-height: 20px;
  text-align: left;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7 {
  margin-top: 0;
}

.navbar-default {
  background-color: #f0f0f0 !important;
}
/* END Design fra Brandlab */

a,
a:focus,
a:hover,
a:visited,
a:active {
  color: #004b46;
  font-size: 14px;
  text-decoration: underline;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

a.nostyle {
  text-decoration: none !important;
}

#copyRight {
  position: absolute;
  bottom: 90px;
  right: 14px;
  padding: 5px;
  background-color: transparent;
  z-index: 10;
  font-size: 10px;
  display: block;
}

.table > tbody > tr > td {
  vertical-align: middle;
}

table thead th {
  background: #ddd;
}

table thead.orderable th {
  cursor: pointer;
}

table thead.orderable th.nosort {
  cursor: default;
}

/*Tablesorting start */
table.tablesorter thead tr th:after {
  font-family: "FontAwesome";
  font-size: 11px;
  cursor: pointer;
  padding-left: 5px;
}

.tablesorter .header:after {
  content: "\f0dc";
}

.tablesorter .headerSortDown:after {
  content: "\f0dd";
}

.tablesorter .headerSortUp:after {
  content: "\f0de";
}

.tablesorter .sorter-false:after {
  content: "";
}

.tablesorter th {
  display: table-cell;
  /*vertical-align: text-top!important;*/
}
/*Tablesorting end*/

/*Knockout orderable start*/
th.sorted {
  cursor: pointer;
}

th.sorted.asc:after {
  content: "\f160";
  font-family: FontAwesome;
  float: right;
}

th.sorted.desc:after {
  content: "\f161";
  font-family: FontAwesome;
  float: right;
}
/*Knockout orderable end*/

.form-inline {
  margin-bottom: 5px;
}

.form-control:focus {
  border-color: #b3b2b2;
  -webkit-box-shadow: inset 0 1px 1px rgba(142, 142, 142, 0.05),
    0 0 8px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 1px rgba(142, 142, 142, 0.05),
    0 0 8px rgba(0, 0, 0, 0.2);
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:focus,
.nav-pills > li.active > a:hover {
  color: #fff !important;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  background-color: #006469;
  color: White !important;
}

.nav > li > a:focus,
.nav > li > a:hover {
  background-color: #ddd;
}

.nav-tabs > li > a {
  border: 1px solid #ccc !important;
}

.nav > li > a {
  padding: 10px 7px !important;
}

ul.nostyle li {
  list-style-type: none;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
  background-color: #006469;
}
.w-120px {
  width: 120px;
}
.w-200px {
  width: 200px;
}
.w-400px {
  width: 400px;
}

.red {
  color: red !important;
}
.bgYellow {
  background: #e8e821;
}

#searchContainer {
  margin-right: 30px;
  padding-top: 20px;
  width: 400px;
}

#searchContainer .input-group-text {
  background: #006964;
  color: white;
}

.paddingRight15px {
  padding-right: 15px;
}
.paddingLeft15 {
  padding-left: 15px;
}

.mainContainer {
  width: 100%;
  height: calc(100% - 80px);
  background: #f0f0f0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

#headerContainer {
  height: 80px;
  width: 100%;
  border-bottom: 1px solid #ccc;
  background: var(--mdPrimaryColor10);
}

.miljodirLogo {
  height: 100%;
  float: left;
  width: 220px;
  padding-top: 3px;
  margin-left: 10px;
  margin-right: 10px;
}

.miljodirLogoText {
  position: absolute;
  left: 220px;
  top: 24px;
}

.miljodirLogoText h3 {
  float: left;
  display: flex;
  height: 100%;
  color: var(--mdPrimaryColor);
  align-items: center;
  font-size: 20px;
  font-family: "Roboto";
  font-size: 32px !important;
  -webkit-font-feature-settings: normal !important;
  font-weight: 300 !important;
}

.miljodirLogoStrek {
  width: 1px;
  height: 50px;
  position: absolute;
  top: 12px;
  left: 203px;
  background: #ddd;
}

/*alertbox - common component*/
.alertBoxText div {
  display: inline;
}

.alertBoxText ul {
  padding-bottom: 0;
  display: inline-table;
  margin-bottom: 0;
  text-align: left;
}

.alert {
  border: 0;
  width: 100%;
  text-align: center;
  z-index: 1500;
  visibility: visible;
  border-radius: 4px;
  border: 1px solid;
  position: relative;
  top: 0;
}

.alert-info {
  color: #000000;
  background-color: #deecdf;
  border-bottom-color: #899e8b;
}

.alert-success {
  color: #ffffff;
  background-color: #006469;
}

.badge {
  font-size: 90%;
}

.strong {
  font-weight: 500;
}

.fa-times {
  font-size: 18px;
  opacity: 0.4;
  padding-top: 2px;
}

.pageBreakOnPrint {
  /*page-break-before: always !important;*/
  page-break-after: always !important;
}

@media print {
  .pageBreakOnPrint {
    /*page-break-before: always !important;*/
    page-break-after: always !important;
  }
}
