section {
  display: none;
  padding: 20px;
}

#ordre_wrap input {
  -webkit-user-drag: none;
  pointer-events: none;
}

/*
MHL bakeri logo farger
Rød/brun farge: #832e0d
gul farge: #ffb52f
*/
.of_vare {
  font-size: 12px;
  padding: 0px;
  margin: 0px;
  text-wrap: nowrap;
}
.of_inaktiv {
  color: rgb(160, 49, 21);
}
.of_pris {
  font-size: 10px;
  font-style: italic;
  color: rgb(141, 124, 236);
}
.of_pris_kampanje {
  font-size: 10px;
  font-style: italic;
  font-weight: bold;
  color: rgb(240, 64, 216);
}
.of_pris_kampanje_end {
  font-size: 9px;
  font-style: italic;
  color: rgb(106, 99, 146);
}
.of_pris_pre {
  font-size: 9px;
  font-style: italic;
  text-decoration: line-through;
  color: rgb(141, 124, 236);
}

.of_gruppe_rad {
  margin-top: 10px;
}

.of_gruppe_tittel {
  font-weight: bold;

  padding: 0px;
  margin: 0px;
}

#terminal_wrap table {
  overflow-x: visible;
}

.of_gruppe {
  /*border-bottom: 1px dashed black;*/
  margin-bottom: 6px;
}

.of_preview {
  display: inline-block;
  width: 30px;
  border: 1px dashed black;
}

.oh_profilmissing {
  border-bottom: 1px dashed red;
}

.oh_ubestilt {
  /*visibility: collapse;*/
  /*display: none;*/
}

.oh_ubestilt_do {
  display: none;
}

.of_ended {
  background-color: #f6a9a9ad;
}

.of_cut {
  background-color: #999393ad;
}

.of_set {
  /* ordre celle med spesifikk satt verdi til gitt dato */
  border: 1px dashed black;
  background-color: #72fef030;
  background: linear-gradient(rgba(2, 254, 240, 0.2), rgba(2, 254, 240, 0.1)), url(/assets/of_set.svg) no-repeat right center;
  background-size: 16px 16px;
}

.of_std {
  /* ordre celle med standard ordre verdi */
  border: 1px dashed gray;
  background-color: #fffa753d;
}

.of_error {
  border: 1px dashed red;
  background-color: #a4a142;
}

.of_saving {
  /* find another style to indicate saving */
  color: red;
  background-color: #a58f78;
  border: 2px dashed black;
}

.of_saved {
  background-color: #81de9a61;
  border-bottom: 1px solid black;
  background: linear-gradient(rgba(129, 222, 154, 0.2), rgba(129, 222, 154, 0.1)), url(/assets/of_saved.svg) no-repeat right center;
  background-size: 18px 18px;
}

.ordre_form {
  font-size: 13px;
}
body {
  /* width: 100vw; */
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  /* color: #98b9b0;*/
  /* color: white; */
  background-color: white;
}

/* ORDRE HISTORIKK */

.oh_table th {
  text-align: left;
  font-size: 13px;
  padding: 5;
  margin: 0;
}

.oh_table thead {
  background-color: rgba(198, 252, 187, 0.747);
}

.oh_slettet {
  text-decoration: line-through;
  color: rgb(243, 137, 137);
}
.oh_subhead {
  background-color: rgba(198, 252, 187, 0.747);
  border-bottom: 1px solid black;
}

.terminal_readonly {
  color: #697b8e;
  font-style: italic;
}

/*
.oh_htype_fast {
  background-color: rgba(198, 252, 187, 0.747);
}
.oh_htype_hast {
  background-color: rgba(253, 210, 117, 0.747);
}
.oh_htype_prod {
  background-color: rgba(145, 248, 255, 0.747);
}
*/

/* ORDRE HISTORIKK */
.ohi_none {
  border: 1px dashed gray;
}
.ohi_num {
  border: 1px dashed black;
}

.oh_sum {
  border-right: 1px dashed gray;
  background-color: rgba(199, 255, 248, 0.747);
}
.oh_num {
  border: 1px dashed gray;
  background-color: #fffa753d;
}

.oh_zero {
  border: 1px dashed gray;
  background-color: #dddddd3d;
}

.oh_table td {
  margin: 0;
  padding: 3;
}
.oh_table td:first-child {
  min-width: 290px;
  /*min-width: 200px;*/
}
.oh_gruppe {
  background-color: rgb(202, 202, 166);
  border-bottom: 1px solid black;
}

.s_num,
.s_lbl {
  position: relative;
  display: block;
  width: 80px;
  box-sizing: border-box;
}

.oh_label,
.oh_num {
  position: relative;
  display: block;
  padding-right: 20px;
  width: 100px;
  box-sizing: border-box;
}

.s_num::-webkit-outer-spin-button,
.s_num::-webkit-inner-spin-button,
.oh_num::-webkit-outer-spin-button,
.oh_num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.s_num,
.oh_num[type="number"] {
  -moz-appearance: textfield;
}

.s_lbl::after,
.oh_label::after {
  content: " " attr(data_ba);
  position: absolute;
  top: 4px;
  left: 46px;

  font-size: 12px;
  display: block;
  color: rgba(0, 0, 0, 0.6);
  font-weight: bold;
}

.fav {
  color: rgb(248, 0, 207);
}
.favno {
  color: rgb(58, 42, 224);
}

.avvik_manko {
  background-color: rgb(242, 180, 180) !important;
}
.avvik_over {
  background-color: rgb(130, 174, 245) !important;
}

.datepicker-days tr:hover {
  /* background-color: #6de0fd;*/
}

/* END:   ORDRE HISTORIKK  */

/* TERMINAL */

@keyframes ani_color {
  from {
    background-color: #fefcc2;
  }
  50% {
    background-color: rgba(123, 118, 118, 0.812);
  }
  to {
    background-color: #fefcc2;
  }
}

.pending_ani {
  animation: ani_color 2s infinite;
}

.terminal_hast button {
  margin: 0px 10px;
}
.terminal_hast_wrap {
  margin-bottom: 10px;
  position: absolute;

  background-color: #90cdf4;
  z-index: 1000;
  text-align: center;
}

.terminal_hast_wrap_inner {
  border: 2px solid black;
  border-radius: 10px;
  padding: 30px;
  z-index: 1000;
  margin-left: auto;
  margin-right: auto;
}
.terminal_hast_btn {
  margin: 20px;
}

.terminal_hast {
  border: 1px solid black;
  padding: 10px 0px 15px 0px;
  margin: 10px 0px 15px 0px;
  background-color: #fefcc2;
}
.terminal_hast_head {
  margin-bottom: 20px;
  padding: 5px;
}
/* END: TERMINAL */

.order_num {
  max-width: 80px;
}

.margtop-10 {
  margin-top: 20px;
}

.main_wrap {
  min-height: 100%;
  padding: 0 0 100px;
  position: relative;
}
footer a {
  color: #888;
}
footer a:hover {
  color: #fff;
}
footer {
  bottom: 0;
  padding: 4px;
  height: 30px;

  left: 0;
  position: absolute;
  width: 100%;
  margin-top: 5px;
  background-color: #343a40;
  color: #888;
  text-align: right;
  padding: 5px;
  font-size: 12px;
}

.btn-waiting {
  background-image: none !important;
  -webkit-animation: fadeIt 1s infinite;
  animation: fadeIt 1s infinite;
}

.btn-selected {
  background-image: none !important;
  -webkit-animation: fadeIt 1s infinite;
  animation: fadeIt 1s infinite;
}

@-webkit-keyframes fadeIt {
  0% {
    background-color: #ffffff;
  }
  50% {
    background-color: #ff0000;
  }
  100% {
    background-color: #ffffff;
  }
}
@keyframes fadeIt {
  0% {
    background-color: #ffffff;
  }
  50% {
    background-color: #ff0000;
  }
  100% {
    background-color: #ffffff;
  }
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.devicemap-point-selected {
  background-color: red !important;
  border: 2px solid red;
  font-weight: bold;
}

.devicemap-point {
  width: 24px;
  height: 24px;
  /* border-radius: 50px;*/
  background-color: rgb(250, 199, 198);
  color: black;
  padding: 4px;
  border: 1px solid red;
  font-family: sans-serif;

  text-align: center;
  font-size: 13px;
  margin-left: -12px;
  margin-top: -12px;

  cursor: default;
  transition: all 0.5s ease;
}

.devicemap-label {
  /*//todo: disse punktene er ikke plassert riktig */
  opacity: 0.9;
  cursor: default;
  background-color: white;
  color: black;
  padding: 4px;
  font-family: sans-serif;
  font-size: 11px;
  border: 1px solid red;
  transform: translate(-50%, 12px);
  white-space: nowrap;
  cursor: default;
  transition: all 0.5s ease;
}

.container {
  padding-right: 0px;
  padding-left: 0px;
}
.form_error {
  border: 2px solid red;
}
.devices_map_image {
  margin: 0 auto;
}
.devices_map_points {
  margin: 0 auto;
}
.devices_map_wrap {
  margin: 0 auto;
  background-color: honeydew;
  max-width: 1000px;
  max-height: 1000px;

  margin-bottom: 40px;
}
.devices_map_wrap img {
  cursor: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.2444 11.3203H22.8718M11.5581 0.006558V22.634' stroke='hotpink' stroke-width='2'/%3E%3C/svg%3E") 12.5 12.5, crosshair;
  color: black;
}

.croppie button,
a.croppie-btn {
  background-color: #189094;
  color: white;
  padding: 10px 15px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  text-shadow: none;
  display: inline-block;
  cursor: pointer;
}
input[type="file"] {
  cursor: pointer;
}
button:focus {
  outline: 0;
}

.croppie-file-btn {
  position: relative;
}
.croppie-file-btn input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.actions {
  padding: 5px 0;
}
.actions crobbie-btn {
  margin-right: 5px;
}

.nav-link {
  text-decoration: underline;
}

.nav-info {
  color: #98dbb2;
  display: block;
  padding: 0.5rem 1rem;
}

.devices_row_active,
.projects_row_active {
  border-left: 5px solid hotpink;
}

.role_admin {
  /* alle funksjoner i programmet som krever admin rolle har denne klassen */
}
.role_super_admin {
}

table thead {
  background-color: #a1c5af;
}

.btn-mmtool {
  margin-right: 15px;
  margin-bottom: 3px;
}

.mminfo {
  color: #fff;
  background-color: #a1c5af;
  border-color: black;
  padding: 5px;
  margin-right: 15px;
  margin-bottom: 3px;
}

.btn-mm {
  color: #fff;
  background-color: #a58f78;
  border-color: black;
}

.mmform {
  background-color: #ebebeb;
  border-bottom: 1px solid darkolivegreen;
  margin-bottom: 5px;
  padding-bottom: 5px;
  padding-top: 5px;
}

.material-icons,
.material-symbols-outlined {
  vertical-align: middle;
  line-height: 0 !important;
  position: relative;
  top: -2px;
}

.datepicker thead {
  background-color: transparent;
}

/* ################ */

.form-label-group input:not(:placeholder-shown) ~ label,
.form-label-group input:-webkit-autofill ~ label /* <<<< Add these */ {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 12px;
  color: #777;
}

html,
body {
  height: 100%;
}

.form-signin {
  width: 100%;
  max-width: 420px;
  padding: 15px;
  margin: auto;
}

.form-label-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-label-group > input,
.form-label-group > label {
  height: 3.125rem;
  padding: 0.75rem;
}

.form-label-group > label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0; /* Override default `<label>` margin */
  line-height: 1.5;
  color: #495057;
  pointer-events: none;
  cursor: text; /* Match the input under the label */
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: all 0.1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
}

.form-label-group input:not(:placeholder-shown) ~ label {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 12px;
  color: #777;
}

/* Fallback for Edge
  -------------------------------------------------- */
@supports (-ms-ime-align: auto) {
  .form-label-group > label {
    display: none;
  }
  .form-label-group input::-ms-input-placeholder {
    color: #777;
  }
}

/* Fallback for IE
  -------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .form-label-group > label {
    display: none;
  }
  .form-label-group input:-ms-input-placeholder {
    color: #777;
  }
}

/* ADMIN VARE / PRISPROFIL */

.mbform {
  margin: 0 auto;
  max-width: 500px;
  background-color: #ebebeb;
  border-bottom: 1px solid darkolivegreen;
  margin-bottom: 5px;
  padding: 10px;
  padding-top: 5px;
}

.av_num {
  max-width: 84px;
}
.av_num input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.av_num input[type="number"] {
  -moz-appearance: textfield;
}

.av_std {
  /* ordre celle med standard ordre verdi */
  border: 1px dashed gray;
  background-color: #fffa753d;
}

.av_zero {
  color: rgb(87, 11, 11);
  background-color: #cfd2d2;
}

.av_error {
  border: 1px dashed red;
  background-color: #ffa9a9;
}

.av_saving {
  /* find another style to indicate saving */
  color: red;
  background-color: #a58f78;
  border: 2px dashed black;
}

.av_saved {
  background-color: #81de9a61;
  border-bottom: 1px solid black;
  background: linear-gradient(rgba(129, 222, 154, 0.2), rgba(129, 222, 154, 0.1)), url(/assets/of_saved.svg) no-repeat right center;
  background-size: 18px 18px;
}

.adminkunde_list_body td {
  text-wrap: nowrap;
  white-space: nowrap;
}
