﻿@import url("//fonts.googleapis.com/css2?family=Questrial&display=swap");
body {
  font-family: "Questrial", "Source Sans Pro", sans-serif;
}

.LagreAvbrytBar {
  max-width: 100%;
  margin: auto 0px auto auto;
}

.savebar_spacer {
  width: 230px;
  min-width: 230px;
  display: block;
  min-height: 10px;
}

.mud-appbar.mud-appbar-fixed-bottom.savebar_spacer {
  margin-left: 243px;
  width: calc(100% - 244px);
  color: #AAA;
  text-align: right;
  background: none !important;
}

.btn-primary {
  color: #FFF;
  background-color: #00796b;
  border-color: #00796b;
}

.btn-primary:hover {
  color: #FFF;
  background-color: #009688;
  border-color: #009688;
}

#videoViewport canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
}

#videoViewport {
  max-height: calc(100vh - 32px);
  max-width: calc(100vw - 32px);
}

#videoViewport video {
  max-width: 100%;
  max-height: 100%;
}

.hoyreJustert,
.hoyreJustert * {
  text-align: right;
}

.mud-data-grid .mud-table-cell.hoyreJustert .column-header {
  display: inline;
}

.mud-table-root {
  padding-bottom: 10px;
}

/* To print onto A4, landscape: 297mm X 210mm */
/* The number of lines in the table. (That would be the number of rows if 
there was only one line in each row. */
/* Some correction is sometimes needed to adjust the height of lines to make 
sure the whole table fits on the page. */
@media print {
  *,
  *:before,
  *:after {
    box-sizing: border-box;
  }
  @page {
    size: 297mm 210mm;
    margin: 10mm;
  }
  h1 {
    height: 10mm;
    font-size: 5mm;
    line-height: 5mm;
    padding-top: 2.5mm;
    padding-bottom: 2.5mm;
    margin-top: 0;
    margin-bottom: 0;
  }
  table {
    table-layout: fixed;
    width: 277mm;
    border-collapse: collapse;
  }
  td, th {
    padding: 0 1mm 0 1mm;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid black;
    height: 3.3615384615mm;
    font-size: 3.3615384615mm;
    line-height: 3.3615384615mm;
  }
  td > div {
    height: 3.3615384615mm;
  }
  body {
    position: relative;
  }
  .background {
    width: 277mm;
    height: 189.5mm;
    position: absolute;
    top: 0;
    left: 0;
  }
  /*hide stuff*/
  header,
  .noprint,
  .filter-header-cell,
  .mud-table-foot,
  .mud-table-pagination-toolbar {
    display: none !important;
  }
}
