body{
  font-family:arial narrow;
  padding:3px;
}

h2 {
    margin-bottom: 5px;
}

h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}


.zebra tr:nth-child(odd),table.list tr:nth-child(odd) {
  background-color: #FAFAFA;
}

.zebra tr:nth-child(even), table.list tr:nth-child(even) {
  background-color: #dddddd;
}

/*
table {
  width:100%;
  border-collapse: collapse;
}
*/

.logo-link {
    
}

.logo-link:visited {
    color:rgba(0,0,0,0.5);
}

.is-booked{
  background-color: RGBA(128,128,255,0.4);
}

.is-booked-none-working{
    background-color: RGBA(255,128,0,0.4);
}
  
.is-not-booked{
    background-color: RGBA(255,128,160,0.4);
}

.is-reported{
    background-color: RGBA(255,255,160,0.4);
}

.is-confirmed{
    background-color:RGBA(128,255,160,0.4);
}

.badge-default{
    color:#fff;
    background-color: RGBA(13,71,161,1);
}

.invoiced_ok, .badge-ok{
    color:#fff;
    background-color: RGBA(64,192,64,1)
}

.invoiced_notok, .badge-not-ok{
  color:#fff;
  background-color: RGBA(192,64,64,1)
}

.fullwidth-table, #monthreportcontainer table{
  width:100%;
  border-collapse: collapse;  
}

.slim-table{
  border-collapse: collapse;  
}

td,th {
  border: none;
  /*padding: 2px 6px 2px 6px;*/
  padding: 2px;
  vertical-align:top;
}	
th {
  text-align: left;
}

#weekview th,#weekview-pt2 th {
    min-width: 14px;
    white-space: nowrap;
    vertical-align: bottom;
}

#weekview td,#weekview-pt2 td {
    text-align:center;
}

#weekview_work table,#weekview table{
    width:100%;
    max-width:360px;
}

.history-list-item{
    /*border-bottom: 1px solid #000;*/
    border-bottom: 3px solid #000;
    margin-bottom: 8px;
}
.history-list-item:nth-child(odd){
    background-color: #BBDEFB;
}
.selected-row{
  background-image:linear-gradient(to right,rgba(13,71,161,0.3),rgba(13,71,161,0.3))
}
.highrowSortable {
background-image:linear-gradient(to top,RGBA(97, 72, 117,1) 2px,RGBA(0,0,0,0.0) 3px, RGBA(0,0,0,0.0) calc(100% - 3px), RGBA(97, 72, 117,1) calc(100% - 3px));
}

.highcolSortable {
background-image:linear-gradient(to right,RGBA(13,71,161,1) 2px,RGBA(0,0,0,0.0) 3px, RGBA(0,0,0,0.0) calc(100% - 3px), RGBA(13,71,161,1) calc(100% - 2px));
}

.highcolSortableHead {
background-image:linear-gradient(to right,RGBA(13,71,161,1),RGBA(13,71,161,1));
color: #fff;
}

.highcellSortable {
background-image:radial-gradient(RGBA(0,0,0,0),RGBA(0,0,0,0.2)),linear-gradient(to top,RGBA(13,71,161,1) 2px,RGBA(0,0,0,0.0) 3px, RGBA(0,0,0,0.0) calc(100% - 3px), RGBA(13,71,161,1) calc(100% - 3px)), linear-gradient(to right,RGBA(13,71,161,1) 2px,RGBA(0,0,0,0.0) 3px, RGBA(0,0,0,0.0) calc(100% - 3px), RGBA(13,71,161,1) calc(100% - 2px));
}

.maskin_report-total,.maskin_report-amount,.maskin_report-price,.maskin_report-totalth,.maskin_report-amountth,.maskin_report-priceth,.maskin_report-total-foot,
.grus_report-price,.grus_report-amount,.grus_report-total,.grus_report-priceth,.grus_report-amountth,.grus_report-totalth,.grus_report-total-foot,
.ovrigt_report-price,.ovrigt_report-amount,.ovrigt_report-total,.ovrigt_report-priceth,.ovrigt_report-amountth,.ovrigt_report-totalth,.ovrigt_report-total-foot,
.manskap_report-price,.manskap_report-amount,.manskap_report-total,.manskap_report-priceth,.manskap_report-amountth,.manskap_report-totalth,.manskap_report-total-foot,
.addon_report-price,.addon_report-amount,.addon_report-total,.addon_report-priceth,.addon_report-amountth,.addon_report-totalth,.addon_report-total-foot{
    width:100px;
    text-align:right;
}

.ovrigt_report-resursth,.ovrigt_report-beskrivningth,.ovrigt_report-dayofworkth,
.grus_report-resursth,.grus_report-dayofworkth,.grus_report-grusth,
.manskap_report-resursth,.manskap_report-maskinth,.manskap_report-dayofworkth,
.addon_report-resursth,.addon_report-maskinth,.addon_report-dayofworkth,
.maskin_report-resursth,.maskin_report-maskinth,.maskin_report-maskintypth,.maskin_report-dayofworkth
{
    text-align:left !important;
}
.addon_report-dayofwork,.grus_report-dayofwork,.maskin_report-dayofworkth,.manskap_report-dayofworkth,.ovrigt_report-dayofworkth,.grus_report-dayofworkth{
  width:100px;
}

.addon_report-extra_num,.grus_report-extra_num,.maskin_report-extra_num,.manskap_report-extra_num,.ovrigt_report-extra_num,.grus_report-extra_num{
    width:40px;
}

.addon_report-transfer,.grus_report-transfer,.maskin_report-transferth,.manskap_report-transferth,.ovrigt_report-transferth,.grus_report-transferth{
    width:100px;
  }
  
.maskin_report___counter,.maskin_report___counterth,
.addon_report___counter,.addon_report___counterth,
.grus_report___counter,.grus_report___counterth,
.ovrigt_report___counter,.ovrigt_report___counterth{
width:30px;
text-align:center;
}

.maskin_report-description,.manskap_report-description,.grus_report-description,.ovrigt_report-description,.addon_report-description {
    white-space: normal !important;
}

.sortable-table-heading{
    text-align: center;
}

.weekview_work-sum-foot,.weekview-sum-foot{
    text-align:center;
}

.pane-btn{    
    cursor: default;
    margin:0 0 0 4px;
    padding:0 5px 0 5px;
    border-radius: 5px 5px 0 0;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap: wrap;
    flex-direction:column;
}

.default-btn{
  cursor: default;
  color:#fff;
  background-color:RGBA(13,71,161,1);
  padding:8px 4px 8px 4px;
  margin:0 0 0 2px;
}

.default-btn:disabled{
  /*background-color:RGBA(13,71,161,0.5);*/
  opacity: 0.5;
}

.default-btn-selected{
  cursor: default;
  color:RGBA(13,71,161,1);
  background-color:rgba(255,255,255,0.99);
  text-decoration: underline;
}

.admin-btn{
  cursor: default;
  background-color:RGBA(161,71,13,1);
  color:#fff;
  padding:8px 4px 8px 4px;
}

input,select {
    font-size: 16px;
}


#daily_report input,#daily_report select{
    font-size: 11px;
}

.formlabel{
  font-weight: bold;
  margin-bottom: 0;
}

.icon{
    height: 30px;
  /*max-height:100%;*/
}
.verticalheader{
  writing-mode: tb-rl;
  transform: rotate(-180deg);
}

.medium-width{
    min-width: 800px;
    max-width:1024px;
}

.pointer {cursor: default;}

.noscroll{
    overflow: hidden;
}

.modal-outer{
    z-index:8000;
    position:fixed;
    background-color:rgba(0,0,0,0.6);
    top:0;left:0;right:0;bottom:0;
    display:flex;
    justify-content:center;
    align-items:center;
}

.modal-inner{
  background-color:#FFF;
  min-height:100px;
  min-width:200px;
  margin:0;  
  padding:0;
  box-shadow: 5px 5px 10px #000;
}

.movable-modal-outer{
    z-index:8000;
    position:fixed;
    background-color:rgba(0,0,0,0.6);
    top:0;left:0;right:0;bottom:0;
}

.movable-modal-inner{
  background-color:#FFF;
  min-height:100px;
  min-width:200px;
  box-shadow: 5px 5px 10px #000;
  position: absolute;
  top:0;
  left:10px;
  width:calc(100% - 20px);
}

.modal-heading{
  padding: 4px 10px 4px 10px;
  font-size: 18px;
  color:#fff;
  background-color:RGBA(13,71,161,1);
}

.modal-content{
  padding: 10px;
  font-size: 16px;
  color:RGBA(13,71,161,1);
  background-color:#fff;
}

.modal-buttons{
  display:flex;
  justify-content: space-between;
  padding: 4px 10px 10px 10px;
  font-size: 16px;
}

.small {
  font-size: 9px;
}
.hide-row,.hide{
    display: none;
}

.hamburger-menu{
  z-index:1000;
  display: flex;
  justify-content:flex-end;
  flex-direction:column;
  position:absolute;
  top:59px;
  right:12px;
  left:calc(100vw - 182px);
  transition: left 0.4s ease-out;
  overflow-x:hidden; 
}

.no-hamburger-menu{
  display: flex;
  justify-content:flex-end;
  flex-direction:row;
  position:static;
}

.hide-hamburger{
  left:calc(100vw + 200px);
}

.hamburger-menu-button{
  text-align: center;
  width:80px;
  transition: width 0.4s ease-out;
}

.hamburger-menu-button-active{
  width:160px;
}

.submenu{
    padding:5px;
    display:inline-block;
}

.centered{
  text-align: center;
}

.content-border {
    border:4px solid #0000FF; 
    padding:10px; 
    border-radius:15px;
}

.highlight{
    background: linear-gradient(#333,rgba(0,0,0,0) 5px, rgba(0,0,0,0) calc(100% - 5px), #333);
    /*background-color: rgba(255,0,0,0.4)!important;*/
}
.highlight-cell{
    /*background-color: rgba(255,0,0,0.25)!important;*/
}

.invalid{
    border: 1px solid red;
}

.salary-td-container{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    margin: 15px 0 15px 0;
}
.salary-label-container{
    text-align:right;
    /*width:calc(100vw - 31px);*/
    width:calc(100% - 22px);
    flex-shrink:1;
}
.invoice-header-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom:5px;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.makulerad { 
    text-decoration: line-through;
}

#lds-spinner-container{
    position: absolute;
    top:0;
    left:0;
    right: 0;
    bottom: 0;
    display:none;/* start hidden */
    justify-content: center;
    align-items: center;
}

.listrow {
    padding: 5px;
    margin: 5px 0px 5px 0px;
}
.listrow:nth-child(even){
    background-color: #BBDEFB;
}

.btn-fixed-size {
    display:inline-block;
    width: 32px;
    height:32px;
}

.limit-td-width{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width:300px;
}

.planing-table,.booking-table{
    width:100%;
    border-collapse: collapse;
}

.planing-table td,
.planing-table th {
    border-bottom: 1px solid rgba(0,0,0,0.81);
    padding: 6px 2px;
}

.booking-table td,
.booking-table th {
    /*border-bottom: 1px solid rgba(0,0,0,0.81);*/
    padding: 6px 2px;
}

.planing-table td {
  vertical-align: middle;
}

.planing-table tr,
.booking-table tr{
    background-color:transparent
}

.dialog-border{
    border:4px solid #0000FF;
    border-radius:15px;
}

.dialog-border-warning{
  border:4px solid #FF0000 !important;
  border-radius:15px !important;
}

.finished-projects{
    background-color: rgba(0,0,255,0.1);
}

.finished-projects:hover{
    background-color: rgba(0,0,255,0.2);
}

.render-invoice-inner{
    height:90%;
}

.render-invoice-content{
    position:relative;
    height:80%;
}

/*------=====##### Wide table #####=====------*/

.wide-table {

}

.wide-table td {
    padding: 2px 15px;
}

/*------=====##### End wide table #####=====------*/

/*------=====##### Size template for overview service #####=====------*/
.multiple-bookings {
    background-color:RGBA(128,128,255,1);color:#fff;
}

.multiple-bookings-signed {
    background-color:RGBA(64,192,64,1);color:#fff;
}

.booking-tbl td {
    padding:0;
}

.day-column {
    border-left:2px solid #000;border-right:2px solid #000;
}

.day-column-highlight {
    border-top:4px solid RGBA(13,71,161,1);
}

.workday-col {
    width:10%;
    /*
    min-width:200px;
    max-width:400px;
    */
}

.weekend-col {
    /*
    min-width:100px;
    max-width: 250px;
    */
    width:0%;        
}

.other-col {
    /*
    min-width:100px;
    max-width: 250px;
    */
    width:5%;        
}

.follow-up-col {
    /*
    min-width:100px;
    max-width: 250px;
    */
    width:5%;        
}

.table-row-height-large {
    padding:0px;
    height:38px;
    /*line-height:36px;*/
    font-size: 15px;
}

.table-row-height-normal {
    padding:0px;
    height:28px;
    /*line-height:36px;*/
    font-size: 13px;
}

.table-row-height-small {
    height:23px;
    /*line-height:20px;*/
    font-size: 12px;
    line-height:13px;
}

.table-row-height-smallest {
    height:14px;
    /*line-height:14px;*/
    font-size: 11px;
}

.table-col-report-width-large {
    width: 140px;
}

.table-col-report-width-normal {
    width: 110px;
}

.table-col-report-width-small {
    width:125px;
}

.table-col-report-width-smallest {
    width:100px;
}

.badge-size-large{
    height:36px;
    line-height:36px;
    width:36px;
    border-radius:50%;
    /*border:2px solid #888;*/
    text-align:center;
    font-size: small;
}

.badge-size-normal{
    height:25px;
    line-height:25px;
    width:25px;
    border-radius:50%;
    /*border:2px solid #888;*/
    text-align:center;
    font-size: 11px;
}

.badge-size-small{
    height:20px;
    line-height:20px;
    width:20px;
    border-radius:50%;
    /*border:1px solid #888;*/
    text-align:center;
    font-size: x-small;
}

.badge-size-smallest{
    height:14px;
    line-height:14px;
    width:14px;
    border-radius:7px;
    /*border:2px solid #888;*/
    text-align:center;
}

.badge-container-size-large{
    vertical-align: middle;
    width:36px;
}

.badge-container-size-normal{
    vertical-align: middle;
    width:28px;
}

.badge-container-size-small{
    vertical-align: middle;
    width:20px;
}

.badge-container-size-smallest{
    vertical-align: middle;
    width:18px;
}

.button-size-large{
    padding:5px 7px;
    font-size: small;
}

.button-size-normal{
    padding:4px 6px;
    font-size: x-small;
}

.button-size-small{
    padding:2px 3px;
    font-size: x-small;
}

.button-size-smallest{
    padding:1px 5px;
    font-size: small;
}

.button-container-size-large{
    width:50px;
}

.button-container-size-normal{
    width:40px;
}

.button-container-size-small{
    width:34px;
}

.button-container-size-smallest{
    width:35px;
}

.small-font-size-large{
    font-size:small;
}

.small-font-size-normal{
    font-size:small;
    line-height: 11px;
}

.small-font-size-small{
    font-size:x-small;
    line-height: 11px;
}

.small-font-size-smallest{
    font-size:xx-small;
}

table.no-styling{
    border-collapse: collapse;
    background-color: #FFF;
    color:#000;
}

/*
.no-styling tr, .no-styling th, .nostyling td{
    background-color: #FFF;
    color:#000;
}
*/
.dropdown-item:focus .no-styling, .dropdown-item:hover .no-styling {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

table.no-styling-secondary{
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover .no-styling-secondary,.btn-secondary:focus .no-styling-secondary,.btn-secondary:active .no-styling-secondary {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;    
}
.dropdown-toggle:focus .no-styling-secondary {
    color: #fff;
    background-color: #545b62;
    border-color: #4e555b;    
}
/*------=====##### End Size template for overview service #####=====------*/

.sub-menu-button-large {
    width:120px;overflow:hidden;display:flex;flex-direction:column;font-size: 14px;border-radius: 5px;
}

.input-disabled,.label-disabled{
    color:rgba(0,0,0,0.5);
}

@media print {
    #menu,#pltable,#rightcol,#plform,#projsum {display:none;}
    .pane-btn,.modal-dialog,button,select,.noprint,.noprint * {display:none !important;}
    td,th {
        border: none;
        padding: 2px 6px 2px 6px;
        vertical-align:top;
    }	    
    tr:nth-child(odd) {
        background-color: #FAFAFA;
        -webkit-print-color-adjust:exact;
    }
    
    tr:nth-child(even) {
        background-color: #dddddd;
        -webkit-print-color-adjust:exact;
    }
    table {
        page-break-inside: avoid;
    }
    thead,tfoot {
        display:table-row-group;
    }
}