﻿table body,
button {
  font-family: Arial;
  font-size: 100%;
}
table {
  empty-cells: show;
  border-collapse: collapse;
}
td,
th {
  vertical-align: top;
  padding: 0;
}
.meny {
  display: block;
  background-color: #bcd;
  padding: 5px;
  margin: 0;
}
.meny li {
  display: inline-block;
  margin: 0;
  padding: 5px 10px;
}
.tabell,
.landTabell {
  margin: 0;
  width: 100%;
}

.celle,
.landCelle,
.datoTabellCelle {
  border: 2px black solid;
}
.celle,
.nyttigInformasjon {
  font-size: 80%;
  padding: 8px !important;
}
.celle-right {
  padding-right: 8px;
}
.kjedelig {
  font-size: 70%;
}
.landCelle {
  border-top-width: 0;
  border-left-width: 0 !important;
}
.padding {
  padding: 5px 10px ! important;
}
.nopad {
  padding: 0!important;
}
.kolonne {
  width: 50%;
}
.polise .tabell,
.nyttigInformasjon {
  font-family: arial;
}
.bold {
  font-weight: bold;
}
.landCelle {
  width: 200px;
  padding: 0 4px;
}
.landTabell {
  width: 100%;
  box-sizing: border-box;
}
.landTabell tr:last-child > td {
  border-bottom-width: 0;
}
.landTabell tr > td:first-child {
  border-left-width: 0;
}
.landTabell tr > td:last-child {
  border-right-width: 0;
}
p {
  margin: 10px 10px;
}
.feltNummer {
  font-weight: bold;
}
.norsk {
  white-space: nowrap;
}
/*.engelsk { white-space: nowrap; font-size:90%; font-style:italic; }*/
.rightAlign {
  text-align: right ! important;
}
/*
.tabell { 
    cursor: default; 
    TD, TH { padding:2px 4px; text-align: left; }
    .tabellHode { 
        background-color:#bcd; 

    }
    .tabellRad { border-bottom:1px #bcd solid; }
    .tabellRad:hover { background-color: #f4f8fc; }
}
    */

.tabellHode { margin-bottom:0 ! important }

.scrollTableParent, .scrollTableParent * { page-break-inside: avoid; page-break-before: avoid; page-break-after: avoid }

.tabellRad { 
  page-break-before: always ! important;  
  page-break-after: always ! important;  
}

.datoTabellCelle {
  padding: 0 ! important;
  height: 1px;
}
.datoTabell,
.fraTilTabell {
  width: 100%;
  border-collapse: collapse;
}
.fraTilTabell {
  margin-top: 3px;
}
.datoHeading {
  border-left: 1px black solid;
  border-width: 1px 0 0 1px;
  font-size: 70%;
  width: 16.666666667%;
  padding: 3px;
}
.datoTabell .datoHeading:first-child {
  border-left-width: 0;
}
.datePartLabel {
  font-size: 80%;
  display: block;
}
.datePart {
  font-weight: bold;
  font-size: 150%;
  display: block;
  text-align: center;
  margin-top: 5px;
}
.felt,
.felt input {
  font-weight: bold;
}
.felt {
  font-size: 130%;
}
.leftNumber {
  width: 1px;
}
.felt.form-control {
  border-color: transparent;
}
.container .has-feedback label ~ .form-control-feedback {
  top: 0 ! important;
}
.bakside {
  display: none;
}
.pdf {
  page-break-inside: avoid;
}

.pdf .navbar,
.pdf .page-header,
.pdf .btn-toolbar,
.pdf .btn-group,
.pdf .fraTilFelt,
.pdf .scrollTableParent .form-group {
  display: none;
}
.pdf .bakside {
  page-break-before: always;
  display: block;
}
.pdf .polise {
  width: 30cm;
  font-size: 150%;
}
.pdf .felt {
  margin: 5px 0;
}
.poliseNummer > .felt,
.poliseNummer .makulert,
.poliseNummer .ikkeGyldig {
  font-family: News Cycle;
  margin: 0.5em;
  font-size: 160%;
}
.poliseNummer > .felt {
  display: inline;
}
.poliseNummer > .form-group {
  display: inline-block;
  margin-bottom: 0;
}
.width50 {
  width: 50%;
}
.height50 {
  height: 50%;
}
.width100 {
  width: 100%;
}
.test .navbar-default {
  background-color: #cea40e;
}
.dev .navbar-default {
  background-color: #5a8c3f;
}
/****************** SWITCH *********************/
input[type="checkbox"].switch {
  position: absolute;
  opacity: 0;
}
input[type="checkbox"].switch + div {
  vertical-align: middle;
  width: 40px;
  height: 20px;
  border-radius: 999px;
  background-color: #aaa;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
  -webkit-transition-property: background-color, box-shadow;
  transition-property: background-color, box-shadow;
  cursor: pointer;
}
input[type="checkbox"].switch:disabled + div {
  cursor: default;
}
input[type="checkbox"].switch + div span {
  position: absolute;
  font-size: 1.6rem;
  color: white;
  margin-top: 12px;
}
input[type="checkbox"].switch + div span:nth-child( 1 ) {
  margin-left: 15px;
}
input[type="checkbox"].switch + div span:nth-child( 2 ) {
  margin-left: 55px;
}
input[type="checkbox"].switch:checked + div {
  width: 50px;
  background-position: 0 0;
  background-color: #3b89ec;
}
input[type="checkbox"].switch + div {
  width: 50px;
  height: 27px;
}
input[type="checkbox"].switch:checked + div {
  background-color: #57BB00;
}
input[type="checkbox"].switch + div > div {
  float: left;
  width: 23px;
  height: 23px;
  border-radius: inherit;
  background: #ffffff;
  -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
  -webkit-transition-property: transform, background-color;
  transition-property: transform, background-color;
  pointer-events: none;
  margin-top: 2px;
  margin-left: 2px;
}
input[type="checkbox"].switch:checked + div > div {
  -webkit-transform: translate3d(20px, 0, 0);
  transform: translate3d(20px, 0, 0);
  background-color: #ffffff;
}
input[type="checkbox"].bigswitch.switch + div > div {
  width: 44px;
  height: 44px;
  margin-top: 1px;
}
input[type="checkbox"].switch:checked + div > div {
  -webkit-transform: translate3d(23px, 0, 0);
  transform: translate3d(23px, 0, 0);
}
/*******************************************************************/
.footnote {
  font-size: 75%;
  vertical-align: top;
}
.poliseListeEnhet {
  border: 2px black solid;
  padding: 20px;
}
.mindreTekst {
  font-size: 80%;
}
.litenAvstand {
  height: 0.5em;
}
.enlinje .felt {
  display: inline;
}
.komma {
  margin-right: 0.1em;
  font-weight: bold;
  font-size: 125%;
}
.komma {
  margin-right: 0.1em;
}
.polisePanel { cursor: default; }
.polisePanel .startFelt { padding-right: 1em; }
.polisePanel .startVerdi { padding-right: 3em; }
.hoyre { text-align:right; }

.polisePanel.klikkbart:hover {
    cursor: pointer;
}
.polisePanel.klikkbart:hover .panel-heading {
    background-color: #e2ebeb;
    border-color: #e2ebeb;
}

.modal-footer .alert {
  margin-top: 15px;
  text-align: left;
}
/* .btn-group { margin-bottom:1em; } */
.sidevelger {
  display: inline-block;
  padding: 2px;
  border: 1px black solid;
  margin: 2px;
}
.periode .felt {
  display: inline-block;
}
.fakturaHode {
  margin-bottom: 2em;
}
/* from http://tobiasahlin.com/spinkit/ */
.spinner {
  width: 100px;
  height: 100px;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-left: -50px;
  margin-top: -50px;
}
.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: sk-bounce 2s infinite ease-in-out;
  animation: sk-bounce 2s infinite ease-in-out;
}
.double-bounce2 {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}
@-webkit-keyframes sk-bounce {
  0%,
  100% {
    -webkit-transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
  }
}
@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  50% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
.darkPage {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000;
  opacity: 0.2;
  z-index: 1001;
}
.forlengelseInfo {
  font-size: 80%;
  font-weight: normal;
}
.pdf .forlengelseInfo {
  display: none;
}
.hidden {
  display: none;
}
.modal-body {
  white-space: pre-line;
}
.feltMedBeskrivelse .beskrivelse {
  width: 8em;
  display: inline-block;
}
.feltMedBeskrivelse .felt, .feltMedBeskrivelse .form-group {
  display: inline-block;
}
.diagonalYtre {
  position: absolute;
  top: 50%;
  left: 50%;
}
.diagonalIndre {
  color: #888;
  font-size: 200px !important;
  -moz-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}
.polise {
  position: relative;
}
.scrollTable { overflow-y: auto; }
.rowSpacer { }

.scrollSpacer { width: 16px; }

.scrollTable .table { margin: 0 ! important; }
