﻿:root {
    --webapp-modal-bg: #FFFFFF;
    --webapp-timesheet-border-color: #050301;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Regular.ttf') format('truetype');
}

::-webkit-scrollbar {
    height: 10px;
    width: 12px;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #DEB9D0;
    background-clip: content-box;
    border: 2px solid transparent;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}

body {
    font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.wl-width200 {
    width: 200px;
}

.wl-marginright5 {
    margin-right: 5px;
}

.wl-div-margintop10 {
    margin-top: 10px;
}

.wl-div-linechart {
    background-color: whitesmoke;
    width: 510px;
    height: 400px;
    margin-right: 15px;
    box-shadow: 2px 2px 5px #cedbe4;
    display: inline-block;
}

.wl-print-td {
    vertical-align: top;
    text-align: center;
    display: inline-table;
    font-size: 13px;
    table-layout: fixed;
    border-right: 1px solid var(--webapp-timesheet-border-color);
    height: 100%;
}

.wl-print-tdheaderfooter {
    vertical-align: top;
    text-align: center;
    display: inline-table;
    font-size: 13px;
    table-layout: fixed;
    height: 100%;
}

.wl-print-td-cell-content {
    display: table-cell;
    vertical-align: middle;
    /*white-space: pre-line;*/
    word-wrap: break-word;
    position: relative;
}

.wl-print-headerrow {
    border-bottom: 1px solid var(--webapp-timesheet-border-color);
    border-left: 1px solid var(--webapp-timesheet-border-color);
    border-right: 1px solid var(--webapp-timesheet-border-color);
    position: relative;
    overflow: hidden;
}

    .wl-print-headerrow:first-child {
        border-top: 1px solid var(--webapp-timesheet-border-color);
    }

    .wl-print-headerrow .wl-print-td:last-child {
        border-right: none;
    }

.wl-print-row {
    border-bottom: 1px solid var(--webapp-timesheet-border-color);
    border-left: 1px solid var(--webapp-timesheet-border-color);
    border-right: 1px solid var(--webapp-timesheet-border-color);
    position: relative;
    overflow: hidden;
}

    /*.wl-print-row:nth-child(odd) {
        background-color: var(--rosterstrip-odd-row-color);
    }*/

    .wl-print-row .wl-print-td:last-child {
        border-right: none;
    }

.wl-print-row-cellbody {
    height: 100%;
}

.wl-print-row-cellheader {
    top: 0px;
    position: absolute;
    overflow: hidden;
    height: 13px;
    width: 100%;
}

.wl-print-row-cellfooter {
    bottom: 0px;
    position: absolute;
    overflow: hidden;
    height: 13px;
    width: 100%;
}
/* Added for ReportGen*/
.wijmo-wijgrid-groupheaderrow {
    background: #C4D5EC;
}

.wl-rg-print-headerrow {
    background: #C4D5EC;
    font-size: 1.05em;
    font-weight: normal !important;
}

.wl-rg-grouprow {
    background: #C4D5EC;
    font-size: 1.05em;
    font-weight: normal !important;
}

.wl-cal {
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: calc(100% - 34px);
    overflow: auto;
    display: flex;
    flex-flow: wrap;
}

.wl-cal-daycell {
    border-style: None;
    height: 19%;
    width: 14%;
    min-height: 60px;
    max-height: 163px;
    min-width: 30px;
    background-color: lightgray;
    margin-right: 2px;
    margin-top: 2px;
    position: relative;
    border-radius: 5px;
}

.wl-cal-publicHoliday {
    background-color: #D7B2D8;
    color: white;
}

.wl-cal-day-used {
    background-color: purple;
    color: white;
    font-size: 0.7em;
    min-height: 40px;
    height: calc(100% - 20px);
    position: relative;
    border-radius: 0px 0px 5px 5px;
}

    .wl-cal-day-used .wl-cal-tooltiptext {
        visibility: hidden;
        background-color: var(--webapp-input-bg);
        color: var(--webapp-input-fg);
        border: 1px solid #CCCCCC;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        top: 5px;
        left: 5px;
        z-index: 1;
    }

    .wl-cal-day-used:hover .wl-cal-tooltiptext {
        visibility: visible;
    }

@media print {
    .wl-print-pagebreak-after {
        page-break-after: always;
        break-after: always;
    }

    .wl-cal {
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    .wl-cal-daycell {
        height: 140px;
    }

        .wl-cal-daycell:nth-of-type(35n+0) {
            margin-bottom: calc(100% - 1050px);
        }
}
