﻿fieldset.dx-datagrid-content .dx-datagrid-table .dx-row .dx-command-select {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    /*padding: 5px 8px 8px 8px !important;*/
}
.dx-pager {
    padding-bottom: 0px !important;
}
.dx-pager .dx-pages .dx-page {
    padding: 2px 6px 3px 6px !important;
}
.dx-pager .dx-pages .dx-next-button, .dx-pager .dx-pages .dx-prev-button {
    font-size: 13px !important;
    line-height: 15px !important;
}
.dx-datagrid-rowsview .dx-datagrid-table .dx-row.dx-freespace-row > td {
    border-left: 0px solid #ddd;
    border-right: 0px solid #ddd;
}
.dx-datagrid-rowsview .dx-datagrid-table .dx-row.dx-freespace-row.dx-column-lines > td {
    border-left: 0px solid #ddd;
    border-right: 0px solid #ddd;
}
/*.dx-datagrid-checkbox-size .dx-checkbox-icon {
    width: 12px !important;
    height: 12px !important;
}*/
.dx-row.dx-data-row.dx-column-lines.dx-state-hover td {
    background-color: #b6c7cc !important;
    /*background-color: var(--ui-selected) !important;*/
}
.dx-rtl .dx-datagrid-rowsview .dx-selection.dx-row > td:not(.dx-focused).dx-datagrid-group-space,
.dx-rtl .dx-datagrid-rowsview .dx-selection.dx-row:hover > td:not(.dx-focused).dx-datagrid-group-space {
    /*background-color: var(--ui-selected) !important;*/
    background-color: #b6c7cc !important;
}
.dx-datagrid-rowsview .dx-selection.dx-row > td,
.dx-datagrid-rowsview .dx-selection.dx-row:hover > td {
    /*background-color: var(--ui-selected) !important;*/
    background-color: #b6c7cc !important;
}
.dx-datagrid-content .dx-datagrid-table .dx-row .dx-command-select {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
}
div.datagrid .dx-gridbase-container {
    height: calc(100dvh - 72px);
}
div.timesheetsforequipment .dx-gridbase-container {
    height: calc(100dvh - 146px);
}
div.entitylist .dx-gridbase-container {
    height: calc(100dvh - 71px);
}
div.scandata .dx-gridbase-container {
    height: calc(100dvh - 83px);
}
div.timesheets .dx-gridbase-container {
    height: calc(100dvh - 139px);
}
    div.timesheets .dx-gridbase-container.filtered {
        height: calc(100dvh - 62px);
    }
div.errorlog .dx-gridbase-container {
    height: calc(100dvh - 137px);
}
div.photoslist .dx-gridbase-container {
    height: calc(100dvh - 157px);
}
div.commentlist .dx-gridbase-container {
    height: calc(100dvh - 152px);
}
div.companieslist .dx-gridbase-container {
    height: calc(100dvh - 72px);
}
div.companieslist.editing .dx-gridbase-container {
    height: calc(100dvh - 199px);
}
div.gridreport .dx-gridbase-container {
    height: calc(100dvh - 158px) !important;
}
div.payrollinterface .dx-gridbase-container {
    height: calc(100dvh - 168px) !important;
}
div.nomenu div.gridreport .dx-gridbase-container {
    height: calc(100dvh - 179px) !important;
}
div.scheduledtaskhistoryerrors .dx-gridbase-container {
    height: calc(100dvh - 112px);
}
div.scheduledtaskhistory .dx-gridbase-container {
    height: calc(100dvh - 112px);
}
div.sensorlist .dx-gridbase-container {
    height: calc(100dvh - 125px);
}
div.acumaticaexport .dx-gridbase-container {
    height: calc(100dvh - 166px);
}
.jobtojobproductivity .dx-gridbase-container {
    max-height: 150px;
}
.dx-datagrid {
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 12px;
}
.dx-datagrid-headers {
    /*background-color: #c9cfbe !important;*/
    /*background-color: #c6c9bd !important;*/
    background-color: #b2bcbf !important;
    /*background-color: #93a8b5 !important;*/
    color: black !important;
    font-weight: bold !important;
}
.dx-datagrid .dx-row > td {
    /*padding: 5px 8px 8px 8px !important;*/
}
div.datagrid .dx-row:nth-of-type(even) {
    /*background-color: #f1f2ed !important;*/
    /*background-color: #e9ebe6 !important;*/
    /*background-color: #f2f2f2 !important;*/
}
.dx-datagrid-rowsview.noalt .dx-row{
    background-color: white !important;
}
.dx-datagrid-rowsview.noalt .dx-group-row {
    background-color: #f7f7f7 !important;
}
.dx-filter-menu.dx-menu .dx-menu-item .dx-menu-item-content {
    padding: 3px 3px 3px 3px !important;
}
.dx-datagrid-total-footer > .dx-datagrid-content {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.dx-datagrid-borders > .dx-datagrid-total-footer {
    background-color: rgb(230, 230, 230);
}
    .dx-datagrid-borders > .dx-datagrid-total-footer td {
        background-color: rgb(230, 230, 230);
    }
.dx-context-menu .dx-submenu ul li {
    padding: 0px !important;
}
h3 {
    font-size: 1.5em;
    color: blue;
}
    h3.tight {
        margin-top: 5px;
    }

.grab {
    cursor: grab;
}
.pointer {
    cursor: pointer;
}

img.logo{
    height: 55px;
}
img.companylogo {
    height: 35px;
}
img.smartassetlogo {
    width: 40px;
    display: inline;
    margin-left: 10px;
}
    img.smartassetlogo.mobileonly {
        display: none;
    }
img.smartassetname {
    width: 133px;
    display: inline;
    margin-left: 10px;
}
    img.smartassetname.mobileonly {
        display: none;
    }

img.disabled {
    opacity: .2;
    cursor: default;
}

.navbar {
    margin-bottom: 10px;
}
.navbar-inverse {
    background-color: white;
}
    .navbar-inverse .navbar-nav > li > a {
        color: #F8FEEF;
        font-weight: bold;
    }
.navbar-collapse{
    padding-top: 65px;
    padding-bottom: 0px;
}
.navbar-inverse{
    border-color: white;
}
.navbar-nav {
    background-color: #89B23F; /*#67852f;*/
}
.navbar-inverse .navbar-toggle .icon-bar{
    background-color: darkgray;
}

span.radiolabel {
    cursor: pointer;
    margin-right: 10px;
}

input[type="radio"] {
    width: unset;
    vertical-align: -2px;
    padding: 0px;
    margin: 0px 0px 0px 0px;
}
input[type="date"] {
    border: 1px solid #545353;
    border-radius: 5px;
    padding: 3px 0px 0px 3px;
    text-align: center;
    width: 120px;
}
    input[type="date"]:focus {
        border: 1px solid #545353;
    }

select {
    min-width: 100px;
}

div.password {
    position: relative;
    margin-top: -10px;
}
    div.password input {
        width: 100%;
    }
    div.password img {
        position: absolute;
        top: 0px;
        right: 2px;
        cursor: pointer;
        width: 24px;
    }

div.payperiodselect {
    position: relative;
    width: 180px;
}
    div.payperiodselect input {
        width: 85%;
    }
    div.payperiodselect img {
        position: absolute;
        top: 0px;
        right: 0px;
        cursor: pointer;
        width: 24px;
    }

input[type="checkbox"] {
    vertical-align: -2px;
    padding: 0;
    margin: 0;
}

ul li input[type="radio"], ul li input[type="checkbox"] {
    margin-right: 7px;
}

ul.nobullet {
    list-style-type: none;
    margin-left: 0px;
    padding-left: 0px;
    margin-bottom: 0px;
}
    ul.nobullet li {
        padding: 2px;
        text-align: left;
        min-width: 100px;
    }

li.clickable {
    cursor: pointer;
}

ul.navbar-nav {
    width: 100%;
}
    ul.navbar-nav li a{
        color: white;
    }

.navbar-fixed-top {
    z-index: 99;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0px;
}

.navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
}

.ui-datepicker{
    z-index: 5 !important;
}
.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    color: black;
    font-weight: normal;
    padding-top: 0px;
}
.ui-datepicker .ui-datepicker-header {
    background-color: #89B23F !important;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background: none !important;
    /*background-color: #136686 !important;*/
    background-color: var(--brand-blue) !important; /*#b6c7cc*/
    color: black;
}

div.markerlabel {
    background-color: #4285F4;
    opacity: .8;
    border-radius: 20px;
    border: 1px solid black;
    color: #FFFFFF;
    font-size: 12px;
    padding: 5px 8px;
    position: relative;
}
    div.markerlabel.first {
        z-index: 999;
    }
    div.markerlabel.red {
        background-color: red;
    }
    div.markerlabel.orange {
        background-color: orange;
    }
    div.markerlabel.green {
        background-color: green;
    }
    div.markerlabel::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translate(-50%, 0);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #4285F4;
    }
    div.markerlabel.red::after {
        border-top: 8px solid red;
    }
    div.markerlabel.green::after {
        border-top: 8px solid green;
    }

table.ui-datepicker-calendar {
    background-color: #dbe4cc;
}

td, th {
    padding: 5px 5px 0px 5px;
}

div.border {
    border: 1px solid black;
    padding: 5px;
}
div.marginbottom {
    margin-bottom: 10px;
}

.dxgrid {
    font-family: Helvetica,Arial,sans-serif !important;
    font-size: 12px !important;
}
.dxgrid-table {
    font-family: Helvetica,Arial,sans-serif !important;
    font-size: 12px !important;
}
.dxgrid-cellsEllipsis {
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}
.dxgrid-rowhottrack {
    background-color: transparent !important;
}
.dxgrid-rowhottrack-clickable {
    background-color: transparent !important;
    cursor: pointer !important;
}
.dxgrid-alternatingrow {
    background-color: #e5e8dc !important;
}
.dxgrid-header {
    background-color: #d7dbd0 !important; /*#02285F;*/
    font-family: Helvetica,Arial,sans-serif !important;
    font-size: 12px !important;
    color: black !important;
    font-weight: bold !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}
.dxgrid-titlepanel {
    background-color: #F2F2F2 !important;
    font-family: Helvetica,Arial,sans-serif !important;
    font-size: 12px !important;
    margin: 0px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    color: black !important;
}
.dxgrid-html {
    white-space: pre-line;
}
.dxgrid-titlepanel div {
    display: inline;
}
    .dxgrid-titlepanel div.main {
        width: 100%;
        margin: 5px 5px 5px 0px;
    }
        .dxgrid-titlepanel div:last-of-type {
            margin-right: 0px;
        }
    .dxgrid-titlepanel select {
        color: black;
        padding: 3px 3px 3px 0px;
        margin-right: 10px;
    }
    .dxgrid-titlepanel input[type="text"] {
        color: black;
        padding: 3px 3px 3px 0px;
        margin-right: 10px;
    }
    .dxgrid-titlepanel span {
    }
    .dxgrid-titlepanel input[type="button"] {
        border: 1px solid gray;
        padding-bottom: 3px;
    }

div.main div.page-disabled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 1;
    z-index: 999999;
    background-color: white;
    overflow: hidden;
}

    div.main div.page-disabled div {
        width: 100%;
        height: 100%;
        line-height: 100dvh;
        text-align: center;
        font-size: 2em;
    }

    div.main.temp div.page-disabled {
        left: 240px;
    }
/*div.sandboxbackground {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: .1;
    z-index: 0;
    background-color: transparent;
    background-image: url('/Images/sandbox.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
div.developmentbackground {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: .1;
    z-index: 0;
    background-color: transparent;
    background-image: url('/Images/development.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
div.localbackground {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: .1;
    z-index: 0;
    background-color: transparent;
    background-image: url('/Images/local.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
div.datagrid div.sandboxbackground {
    z-index: 1;
}
div.datagrid div.developmentbackground {
    z-index: 1;
}
div.datagrid div.localbackground {
    z-index: 1;
}*/
div.loading {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    opacity: .5;
    z-index: 999999;
    background-color: darkgray;
    background-image: url('/Images/ajax-loading.gif');
    background-size: 100px 100px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
    div.loading.filtering{
        opacity: 1;
        background-color: transparent;
    }
    div.loading.dashboardcard {
        position: absolute;
        background-color: transparent;
        background-size: 50px 50px;
        height: 100%;
        width: 100%;
    }

div.loginpartial {
    position: relative;
    text-align: right;
    margin-top: 5px;
    margin-right: 0px;
    padding-right: 0px;
}
    div.loginpartial form a {
        margin-left: 25px;
        color: black;
        font-weight: bold;
    }
        div.loginpartial form a:last-of-type{
            margin-right: 0px;
        }

div.validation-summary-errors {
    color: red;
    padding: 0px;
    margin-bottom: 10px;
}
    div.validation-summary-errors ul{
        list-style-type: none;
        margin: 0px;
        padding: 0px;
    }

.container {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.error{
    background-color: red;
}
.block {
    display: block;
}

img.switcher {
    width: 40px;
    cursor: pointer;
    margin-right: 10px;
}

    img.switcher.disabled {
        cursor: default;
        opacity: .5;
    }

    img.switcher.on {
        content: url("/images/switchon.png");
    }

    img.switcher.off {
        content: url("/images/switchoff.png");
    }

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 10px;
    padding-right: 10px;
    /*padding-top: 115px;*/
}

a > a{
    margin-right: 10px;
}
    a img {
        width: 16px;
        margin-right: 10px;
        cursor: pointer;
    }

.ui-widget.ui-widget-content.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}
.ui-widget.ui-widget-content {
    border: 1px solid black;
}
.ui-menu .ui-menu-item {
    background-color: white;
    border-bottom: 1px dotted black;
    font-size: .9em;
    padding: 0px;
}

div.pageheader{
    /*border-bottom: 1px dotted black;*/
    height: 45px;
    padding: 5px 0px;
}
        div.pageheader div.left {
            float: left;
            font-size: 1.5em;
            font-weight: bold;
            margin-top: 10px;
        }
        div.pageheader div.right {
            margin-left: 10px;
            float: left;
            text-align: left;
            margin-top: 12px;
        }
        div.pageheader div.right img{
            margin-right: 10px;
        }
    div.pageheader span.subtitle{
        font-size: .8em;
        padding: 0px;
        margin: 0px 0px 0px;
        font-weight: normal;
    }

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

div.flex{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
    div.flex div {
        position: relative;
        padding: 0px 5px 0px 0px;
        margin-right: 10px;
        /*margin-bottom: 10px;*/
        /*border: 1px solid black;*/
    }
        div.flex div.extrarightmargin{
            margin-right: 40px;
        }
        div.flex div:last-of-type {
            margin-right: 0px;
        }
        div.flex div.border {
            border: .5px dotted silver;
            border-radius: 10px;
        }
        div.flex div span.title{
            display: block;
            color: black;
            font-size: 1.1em;
            padding-bottom: 5px;
        }
            div.flex div span.title a{
                font-size: 1em;
            }
        div.flex div div {
            padding-left: 0px;
        }

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}
textarea.comment{
    height: 1.8em;
}
    input:disabled, textarea:disabled {
        background-color: darkgray;
        border-color: black;
    }
    select:disabled.readonly {
        background-color: transparent;
    }
    textarea:disabled.readonly {
        background-color: transparent;
    }
    textarea.rejectreason {
        height: 5em;
        margin-bottom: 10px;
    }
    input.noborder {
        border: 0px;
    }
    input.noborder:disabled, textarea:disabled {
        background-color: transparent;
    }

div.rejectreason{
    border: 1px solid black;
    padding: 5px;
    margin-bottom: 20px;
}

select {
    padding: 3px 3px 3px 0px;
}
    select.readonly {
        background-color: silver;
        border-color: black;
        color: black;
        opacity: 1;
        pointer-events: none;
        cursor: not-allowed;
    }

    select:disabled {
        background-color: silver;
        border-color: black;
        color: black;
        opacity: 1;
    }

span[contenteditable="false"] {
    background-color: silver;
}

span.checkboxlabel {
    cursor: pointer;
}
    span.checkboxlabel input[type="checkbox"] {
        margin-right: 0px;
    }
    span.checkboxlabel span::before {
        content: '';
        margin-left: 8px;
    }

span.autocomplete {
    display: inline-block;
    background-color: white;
    border: 1px solid rgb(118, 118, 118);
    padding: 3px 15px 1px 3px;
    width: 325px;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
    span.autocomplete.full {
        width: 100%;
    }
    span.autocomplete.block {
        display: block;
    }
    span.autocomplete.disabled, span.autocomplete:disabled {
        background-color: silver;
    }
div.fieldset span.autocomplete {
    display: block;
}

input[type="text"] {
    /*line-height: 1.95em;
    height: 1.95em;*/
    padding: 2px 3px 0px 3px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="number"] {
    margin: 0;
    -moz-appearance: textfield;
    text-align: right;
}

input[type="button"], input[type="submit"] {
    background-color: var(--brand-blue); /*#a8bf63; #7b944e; #136686;*/
    color: white;
    border-radius: 10px;
    border: 1px solid grey;
    cursor: pointer;
    line-height: 22px;
    padding: 0px 10px;
    margin-left: 5px;
    margin-bottom: 5px;
}
    input[type="button"]:first-of-type, input[type="submit"]:first-of-type {
        margin-left: 0px;
    }
    input[type="button"]:last-of-type, input[type="submit"]:last-of-type {
        margin-right: 0px !important;
    }

    input[type="button"].inline, input[type="submit"].inline, button.inline {
        display: inline;
    }
    /*input[type="button"]:hover, input[type="submit"]:hover, button:hover {
        background-color: #136686; /*#89B23F;*/
    }*/
    input[type="button"]:focus, button:focus {
        outline: none;
    }
    input[type="button"].yellow {
        background-color: #89B23F;
    }
    input[type="button"]:disabled, input[type="submit"]:disabled, button:disabled {
        background-color: lightgray;
        cursor: default;
        color: black;
    }
    input[type="button"].pushright, input[type="submit"].pushright, button.pushright {
        margin-right: 20px;
    }
    input[type="button"].bottom {
        position: absolute;
        bottom: 0px
    }
input.anchor {
    border: 0px;
    background-color: transparent;
    padding: 0px;
    color: blue;
    margin: 0px;
}

a.button {
    background-color: var(--brand-blue);
    color: white;
    border: 0px;
    border-radius: 10px;
    padding: 6px 10px 6px 10px;
    margin-right: 15px;
    cursor: pointer;
    text-decoration: none;
}
    a.button:hover {
        background-color: var(--brand-blue);
    }
    a.button.yellow {
        background-color: #89B23F;
    }

button {
    position: relative;
    background-color: var(--brand-blue);
    border-radius: 10px;
    border: 1px solid grey;
    cursor: pointer;
    line-height: 22px;
    padding: 0px 10px;
    margin-left: 5px;
    margin-bottom: 5px;
    color: white;
}
    button:first-of-type {
        margin-right: 0px;
    }
    button:last-of-type {
        margin-right: 0px;
    }
    button:hover {
        background-color: var(--brand-blue);
    }
    button.dropdown {
        background-image: url('/images/menu/arrow_down.png');
        background-repeat: no-repeat;
        background-size: 22px 22px;
        background-position: right 1px;
        padding: 0px 22px 0px 5px;
        position: relative;
    }

        button.dropdown:hover {
            background-color: var(--brand-blue);
        }

        button.dropdown:disabled:hover {
            background-color: lightgray;
        }

        /*button.dropdown ul.menu {
            position: absolute;
            display: none;
            background-color: #d9e3c5;
            z-index: 999;
            left: -60px;
            top: 22px;
            list-style-type: none;
            margin: 0;
            padding: 0;
            white-space: nowrap;
            border: 1px solid silver;
        }*/

            button.dropdown ul.menu.visible {
                display: block;
            }

            button.dropdown ul.menu li {
                display: block;
                cursor: pointer;
                text-decoration: none;
                padding: 5px;
                color: black;
                text-align: left;
                white-space: nowrap;
            }

                button.dropdown ul.menu li:hover {
                    background-color: #b6c7cc;
                }

                button.dropdown ul.menu li.disabled {
                    background-color: transparent;
                    color: silver;
                    cursor: default;
                }

                    button.dropdown ul.menu li.disabled:hover {
                        background-color: transparent;
                    }

/*        button.dropdown:hover ul.menu {
            display: block;
        }
*/        button.dropdown:disabled:hover ul.menu {
            display: none;
        }
            button.dropdown:hover ul.menu.visible {
                display: none;
            }

a, a:visited{
    color: blue;
}
    a:hover{
        text-decoration: none;
    }
    a.link {
        color: blue;
        cursor: pointer;
        text-decoration: none;
    }
        a.link:hover {
            color: blue;
            text-decoration: none;
        }
        a.link img {
            margin-right: 0px;
        }
        a.link:visited {
            color: blue;
        }
    a.disabled {
        color: black;
        text-decoration: none;
        cursor: default;
    }

img.link{
    cursor: pointer;
}
    img.link.disabled {
        cursor: default;
    }

input.uppercase {
    text-transform: uppercase
}
input.right {
    text-align: right;
}
input.center {
    text-align: center;
}
input.w25 {
    width: 25px !important;
}

input.w30 {
    width: 30px !important;
}

input.w35 {
    width: 35px !important;
}

input.w40 {
    width: 40px !important;
}

input.w50 {
    width: 50px !important;
}

input.w60 {
    width: 60px !important;
}

input.w75 {
    width: 75px !important;
}

input.w100 {
    width: 100px !important;
}

input.w125 {
    width: 125px !important;
}

input.w150 {
    width: 150px !important;
}

input.w175 {
    width: 175px !important;
}

input.w200 {
    width: 200px !important;
}

input.w250 {
    width: 250px !important;
}

input.w300 {
    width: 300px !important;
}

input.w325 {
    width: 325px !important;
}

input.w340 {
    width: 340px !important;
}

input.w350 {
    width: 350px !important;
}

input.full {
    width: 100% !important;
}

input.datepicker{
    text-align: center;
    width: 85px;
}

input[type="time"] {
    width: 95px;
}

input.readonly {
    background-color: silver;
    border: 1px solid rgb(118, 118, 118);
    padding: 2px 2px 2px 2px;
}

textarea{
    width: 100%;
}
    textarea.h50{
        height: 50px;
    }
    textarea.h100 {
        height: 100px;
    }

div.main-content{
    position: relative;
    min-height: 71vh;
    padding-bottom: 50px;
}

footer {
    position: fixed;
    bottom: 0px;
    background-color: #89B23F;
    padding: 2px 5px 0px 5px;
    color: white;
    width: 97%;
    z-index: 999;
    /*margin-top: 5px;*/
}

#AutoCreateClockInAndOutDiv input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: unset;
}
#AutoCreateClockInAndOutDiv span {
    vertical-align: middle;
}

table td.rowheader {
    background-color: #EEEEEE;
    text-align: right;
    color: black;
    text-align: left;
    vertical-align: top;
}
    table td.rowheader input[type="checkbox"] {
        margin-right: 5px;
        margin-top: 2px;
    }
    table td.rowheader.error {
        background-color: #EFA3A3;
        color: black;
    }
table tbody tr.selected td.rowheader {
    background-color: #A4B9C2;
}

td.number, th.number {
    text-align: right;
}

table {
    margin-bottom: 10px;
    border-collapse: collapse;
    border: 0px;
}
    table th, table td {
        padding: 3px 5px 1px 5px;
        border: 1px solid darkgray;
        vertical-align: middle;
    }
    table th.center {
        text-align: center;
    }
    table td{
        vertical-align: top;
    }
    table td.middle {
        vertical-align: middle;
    }
    table th {
        font-weight: bold;
        background-color: #d4d4d4;
        color: black;
    }
    table td a {
        margin-left: 10px;
        margin-right: 0px;
    }
        table td a:first-of-type {
            margin-left: 0px;
        }
        table td a img {
            width: 20px;
            margin-left: 10px;
            margin-right: 0px;
        }
            table td a img:first-of-type {
                margin-left: 0px;
            }
            table td a img.delete {
                width: 24px;
            }
    table td:first-of-type {
        border-left: 1px solid darkgray;
    }
    table.normal td.action {
        width: 20px;
    }
    table tr:nth-of-type(even) {
        background-color: #f2f2f2;
    }
    table.rowclickable tbody tr:hover{
        cursor: pointer;
    }
    table.hoverhighlight tbody tr td.expandcollapse {
        background-color: #EEEEEE;
        cursor: default;
    }
    table.hoverhighlight tbody tr:hover {
        background-color: silver;
        cursor: pointer;
    }
    table tr.selected {
        background-color: darkgray !important;
    }

    table.normal th, table.normal td {
        border: 1px solid silver;
    }
    table.normal th {
        background-color: #d4d4d4;
    }
    table.normal tr:nth-of-type(even) {
        background-color: #f2f2f2;
    }
    table.normal.hoverhighlight tbody tr td.expandcollapse {
        background-color: #EEEEEE;
    }
    table.hoverhighlight tbody tr td.expandcollapse {
        background-color: #EEEEEE;
        cursor: default;
    }
    table.normal.hoverhighlight tbody tr:hover {
        background-color: lightblue;
        cursor: pointer;
    }
    table.normal tr.selected {
        background-color: #A4B9C2 !important;
    }

    table.plain th {
        background-color: transparent;
        border: 0px solid transparent;
    }
    table.plain td {
        border: 0px solid transparent;
    }
        table.plain td:first-of-type {
            border-left: 0px solid transparent;
        }
    table.noalternatecolors tr:nth-of-type(even) {
        background-color: transparent;
    }

table.noborder td {
    border: 0px;
}



div.fields table {
    margin-bottom: 5px;
}

div.companyedit{
    border: 1px solid black;
    padding: 5px;
    margin-bottom: 10px;
}

table.companies {
}
    table.companies th.actions {
        max-width: 50px;
        width: 50px;
    }
    table.companies th.companyid {
        max-width: 275px;
        width: 275px;
    }
    table.companies td a img.edit {
        width: 15px;
    }
    table.companies td a img.delete {
        width: 18px;
    }

table.editable tr.editing td:not(.rowheader) {
    padding: 0px;
    position: relative;
    height: 22px;
}
    table.editable tr.editing td input {
        margin-right: 0px;
        width: 100%;
    }
    table.editable tr.editing td input[type="text"] {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
        width: 100%;
        height: 100%;
        height: 100%;
        border: 1px solid black;
        padding: 3px;
    }

table.noalternatecolors tr:nth-of-type(odd){
    background-color: transparent;
}
table.noalternatecolors tr.odd {
    background-color: #ECF1E3;
}


table.timesheetlist tbody tr.even {
    background-color: #ECF1E3;
}

table.searchdialog {
    margin-bottom: 10px;
    min-width: 744px;
}

tfoot div.loadnext {
    border: 1px solid darkgrey;
    border-radius: 20px;
    width: 200px;
    line-height: 23px;
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}
    tfoot div.loadnext:hover {
        background-color: darkgrey;
    }

div.timesheet {
    max-width: 100%;
}
    div.timesheet div.employee {
        border: 1px solid black;
        margin-bottom: 10px;
    }
        div.timesheet div.employee div.name {
            position: relative;
            background-color: #02285F;
            color: white;
            text-transform: uppercase;
            padding: 3px 3px 3px 5px;
        }
        div.timesheet div.employee div.name img {
            position: absolute;
            top: 2px;
            right: 5px;
            width: 20px;
        }
            div.timesheet div.employee div.name img.haserror {
                right: 35px;
                width: 20px;
            }
    div.timesheet div.employee div.entries div {
        padding: 1px 3px 1px 3px;
    }
        div.timesheet div.employee div.entries div.firstrow {
            padding: 0px;
        }
        div.timesheet div.employee div.entries div.date {
            background-color: #C8DFED;
            font-weight: bold;
            padding-top: 4px;
            padding-bottom: 4px;
        }
        div.timesheet div.employee div.entries div.entry {
            overflow: hidden;
        }
            div.timesheet div.employee div.entries div.entry.even {
                background-color: #ECF1E3;
            }
            div.timesheet div.employee div.entries div.entry.clockin, div.timesheet div.employee div.entries div.entry.clockout {
                color: black;
                background-color: #F1F2F0;
            }
            div.timesheet div.employee div.entries div.entry.material {
                color: forestgreen;
            }
            div.timesheet div.employee div.entries div.entry div.col {
                float: left;
                width: 22%;
                min-width: 22%;
            }
                div.timesheet div.employee div.entries div.entry div.col.time {
                    text-align: right;
                    width: 17%;
                    min-width: 17%;
                }
                div.timesheet div.employee div.entries div.entry div.col.delete {
                    text-align: right;
                    width: 22%;
                    min-width: 22%;
                }
                    div.timesheet div.employee div.entries div.entry div.col.delete input[type=checkbox] {
                        margin: 2px 0 0;
                    }
                div.timesheet div.employee div.entries div.entry div.col.time.travel {
                    color: goldenrod;
                    font-weight: bold;
                }
            div.timesheet div.employee div.entries div.entry div.comment {
                font-style: italic;
                color: dimgray;
                display: block;
            }
            div.timesheet div.employee div.entries div.entry div.detail {
                opacity: .6;
                clear: left;
            }
                div.timesheet div.employee div.entries div.entry div.detail.error {
                    color: black;
                    background-color: #EDCFCF;
                }
            div.timesheet div.employee div.entries div.entry.totals {
                font-weight: bold;
            }

    div.timesheet div.islive {
        border: 1px solid black;
        margin-bottom: 10px;
        background-color: #c1f7cf;
        color: black;
        text-transform: uppercase;
        text-align: center;
        padding: 3px 3px 3px 5px;
    }

table.mytimesheets th {
    background-color: lightslategray;
    color: black;
}
    table.mytimesheets tr:nth-of-type(odd) {
        background-color: gainsboro;
    }
    table.mytimesheets td:first-of-type{
        width: 25px;
    }
    table.mytimesheets td img{
        width: 20px;
        margin-right: 0px;
    }

    div.timesheetblocks div.block {
        position: relative;
        border: 1px solid black;
        border-radius: 5px;
        padding: 2px 5px 5px 5px;
        margin-bottom: 1px;
        overflow-y: hidden;
        transition-delay: 0s;
    }
        div.timesheetblocks div.block.travel {
            background-color: #ffffcc;
        }
        div.timesheetblocks div.block.clockin {
            background-color: #b3ffcc;
        }
        div.timesheetblocks div.block.clockout {
            background-color: #ffcccc;
        }
        div.timesheetblocks div.block:hover {
          height: 200px !important;
          transition-delay: 1s;
        }
        div.timesheetblocks div.block div.delete{
            position: absolute;
            top: 0px;
            right: 0px;
        }
        div.timesheetblocks div.block div.delete a img {
            margin-right: 0px;
        }


div.editingfields {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*max-width: 850px;*/
}
    div.editingfields p.fieldset, div.editingfields div.fieldset {
        width: 350px;
        margin-right: 25px;
    }

div.fieldset {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-right: 25px;
    margin-bottom: 20px;
}
    div.fieldset label {
        margin-bottom: 0px;
    }
    div.fieldset p.fieldset {
        margin-right: 20px;
    }

p.tight{
    margin-bottom: 0px;
}
p.timesheetmessage{
    color: red;
    font-weight: bold;
}

p.fieldset {
    position: relative;
    line-height: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
}
    p.fieldset label {
        display: inline;
        font-weight: bold;
        color: black;
        /*margin-bottom: 0px;*/
    }
    p.fieldset img {
        display: inline;
        margin-left: 10px;
        /*width: 16px;
        margin-top: -8px;*/
    }
    p.fieldset input, p.fieldset select, p.fieldset textarea {
        display: block;
    }

p.buttons{
    margin-top: 20px;
    padding-top: 10px;
}
    p.buttons.tight{
        margin-top: 0px;
        margin-bottom: 0px;
    }
    p.buttons.noborder{
        border-top: 0px;
    }

div.timeentryadd{
    border: 1px solid black;
    padding: 5px;
    margin-bottom: 10px;
}

div.editingfields {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
    div.editingfields div.field {
        margin-right: 25px;
        margin-bottom: 15px;
    }
        div.editingfields div.field.hidden {
            margin-right: 0px;
        }
        div.editingfields div.field label {
            display: inline-block;
            font-weight: bold;
            color: black;
            margin-bottom: 0px !important;
        }
            div.editingfields div.field label.block {
                display: block;
            }
        div.editingfields div.field input, div.editingfields div.field select, div.editingfields div.field textarea {
            display: block;
        }
        div.editingfields div.field input.inline {
            display: inline;
        }

div.parameters div.editingfields div.field input {
    margin-top: 0px;
}

div.parameters div.editingfields div.field input[type="checkbox"] {
    margin-top: 6px;
}

div.timeentry div.field textarea{
    width: 308px;
}

label.nobold{
    font-weight: normal;
}
label.required::after {
    content: '*';
    color: darkred;
    font-size: 1.5em;
}
label.notrequired::after {
    content: '';
    font-size: 1.5em;
}
label.info::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-left: 5px;
    background: url('/images/infobubble.png') 0 0 no-repeat;
    background-size: contain;
}
span.required {
    color: darkred;
    font-size: 1.5em;
    margin-left: 10px;
}

div.timesheetentry {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid darkgray;
    border-radius: 10px;
    background-color: #dbe4cc;
}
    div.timesheetentry:nth-of-type(even) {
        background-color: white;
    }
    div.timesheetentry p.fieldset {
        margin-bottom: 5px;
    }

div.metric {
    background-color: #EFEFEF;
    border: 1px solid grey;
    padding: 5px;
    margin: 5px 0px 5px 0px;
    text-overflow: ellipsis;
    overflow-x: hidden;
    max-width: 230px;
    white-space: nowrap;
    cursor: grab;
}
div.dashboard {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 65vh;
    padding-left: 10px;
}
    div.dashboard div.card {
        margin-right: 25px;
        margin-bottom: 25px;
    }
        div.dashboard div.card div.title {
            border: 1px solid grey;
            background-color: #136686;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            padding: 5px;
            font-weight: bold;
            color: white;
        }
        div.dashboard div.card div.body {
            position: relative;
            border: 1px solid grey;
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
            padding: 10px 5px 10px 5px;
            width: 250px;
            overflow-y: auto;
        }
            div.dashboard div.card div.body.small {
                width: 150px;
            }
            div.dashboard div.card div.body.large {
                width: 350px;
            }
            div.dashboard div.card div.body table.normal{
                margin-bottom: 0px;
            }
            div.dashboard div.card div.body table.normal thead tr:first-of-type th {
                background-color: gainsboro;
                color: black;
            }
        div.dashboard div.card ul{
            list-style-type: none;
            margin-left: -35px;
        }
        div.dashboard div.card ul li {
            padding: 5px 0px 5px 0px;
        }
    div.dashboard.full {
        display: block;
    }
        div.dashboard.full div.card {
            margin-right: 0px;
        }
        div.dashboard.full div.card div.body {
            width: 100%;
            height: auto;
            min-height: 50px;
        }

    div.dashboard div.metriccontainer {
        position: relative;
    }

    div.dashboard div.settings {
        z-index: 99;
        position: absolute;
        top: 29px;
        right: -107px;
        border: 1px solid gray;
        border-radius: 10px;
        background-color: white;
        padding: 10px;
    }

    #DashboardOptions img {
        margin-right: 20px;
    }

    div.dashboardselect {
        position: relative;
        cursor: pointer;
    }
        div.dashboardselect li {
            color: black;
            font-weight: normal;
        }


tr.filters td {
    padding: 0px 0px 0px 0px;
}
    tr.filters td input {
        margin-right: 0px;
        line-height: 1.95em;
        height: 1.95em;
    }

input.select{
    margin-right: 0px;
}
input.dirty{
    background-color: red;
}

div.filters {
    width: auto;
    /*padding-bottom: 5px;*/
    /*border-bottom: 1px dotted black;*/
    /*margin-bottom: 10px;*/
}
    div.filters.select{
        margin-bottom: 10px;
    }
    div.filters input{
        margin-bottom: 10px;
        margin-top: 5px;
    }
    div.filters input[type="button"]{
        margin-bottom: 0px;
    }
        div.filters input.refreshtimesheetlist {
            margin-top: 40px;
            margin-bottom: 10px;
        }


input.error, select.error, textarea.error, span.autocomplete.error {
    background-color: transparent;
    border: 1px solid red;
    padding: 1px 2px 1px 2px;
}
input[type="text"].error {
    padding: 3px 3px 1px 3px;
}
input.error:disabled {
    background-color: darkgray;
}

li.mobileonly, div.mobileonly, .mobileonly, span.mobileonly {
    display: none;
}

tr.hidden {
    display: none;
}

div.companiesmobile {
    display: none;
}

div.livejobs div.job {
    margin-bottom: 10px;
    width: 330px;
}
    div.livejobs div.job div.title {
        position: relative;
        background-color: #b2bcbf;
        padding: 3px;
        cursor: pointer;
    }
        div.livejobs div.job div.title img {
            /*position: absolute;*/
            width: 20px;
            /*top: 2px;
            right: 5px;*/
        }

    div.livejobs div.job div.title table.title td {
        padding: 2px;
    }
        div.livejobs div.job div.title table.title td.jobname {
            width: 170px;
            max-width: 170px;
        }
        div.livejobs div.job div.title table.title td.jobtime {
            width: 50px;
            text-align: right;
        }
        div.livejobs div.job div.title table.title td.down {
            width: 25px;
            text-align: right;
            padding-right: 5px;
        }

    div.livejobs div.job table {
        width: 330px;
    }
        div.livejobs div.job table tr.mainrow {
            border-top: 1px solid silver;
        }
        div.livejobs div.job table td {
            vertical-align: top;
        }
        div.livejobs div.job table td.employee {
            /*width: 215px;*/
        }
        div.livejobs div.job table td.task {
            width: 250px;
        }
        div.livejobs div.job table td.timein {
            width: 130px;
            text-align: right;
        }
        div.livejobs div.job table th.timein {
            text-align: right;
        }
        div.livejobs div.job table td.onjob {
            width: 110px;
            text-align: right;
        }
        div.livejobs div.job table th.onjob {
            text-align: right;
        }

#map {
    position: relative;
}
div.nomenu #map {
    height: calc(100dvh - 137px);
}

highlight {
    background-color: #ff0;
}

.markerlabel {
    margin-top: -30px;
}

.dropdown-check-list {
    display: inline-block;
    line-height: 17px;
}

    .dropdown-check-list .anchor {
        position: relative;
        cursor: pointer;
        display: inline-block;
        padding: 3px 30px 2px 5px;
        border: 1px solid rgb(118, 118, 118);
        width: 94%;
    }

        .dropdown-check-list .anchor:after {
            position: absolute;
            content: "";
            border-left: 2px solid rgb(118, 118, 118);
            border-top: 2px solid rgb(118, 118, 118);
            padding: 3px;
            right: 10px;
            top: 25%;
            -moz-transform: rotate(-135deg);
            -ms-transform: rotate(-135deg);
            -o-transform: rotate(-135deg);
            -webkit-transform: rotate(-135deg);
            transform: rotate(-135deg);
        }

        .dropdown-check-list .anchor:active:after {
            right: 8px;
            top: 21%;
        }

    .dropdown-check-list ul.items {
        position: absolute;
        padding: 2px;
        display: none;
        margin: 0;
        border: 1px solid rgb(118, 118, 118);
        border-top: none;
        z-index: 999;
        width: 94%;
        background-color: white;
    }

        .dropdown-check-list ul.items li {
            list-style: none;
            padding: 3px;
            cursor: default;
        }
            .dropdown-check-list ul.items li input {
                display: inline-block;
            }

    .dropdown-check-list.visible .items {
        display: block;
    }


div.sectiongroups {
    width: 100%;
}

    div.sectiongroups.flex {
        width: unset;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    div.sectiongroups div.sectiongroup {
        border: 0px;
        border-radius: 0px;
        margin-bottom: 10px;
        padding: 0px;
    }

    div.sectiongroups.flex div.sectiongroup {
        min-width: 325px;
    }

    div.sectiongroups.borders div.sectiongroup {
        border: 1px solid silver;
        border-radius: 0px;
    }

    div.sectiongroups.borders.radius div.sectiongroup {
        border-radius: 10px;
    }

    div.sectiongroups div.sectiongroup div.title {
        position: relative;
        background-color: #dce0e6;
        padding: 5px;
        cursor: pointer;
        font-weight: bold;
        margin: 0px;
    }

    div.sectiongroups.borders div.sectiongroup div.title {
        border: 1px solid silver;
        border-width: 0px 0px 1px 0px;
    }

    div.sectiongroups.borders.radius div.sectiongroup div.title {
        border-radius: 10px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    div.sectiongroups div.sectiongroup div.body {
        position: relative;
        padding: 5px;
        overflow: auto;
    }

div.multiselect {
    display: flex;
    justify-content: space-between;
    width: 260px;
    max-width: 260px;
    overflow-x: hidden;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    font-size: 14px;
    border-bottom: 1px solid var(--ui-white, #FFF);
    opacity: .8;
    cursor: pointer;
    color: black;
    white-space: nowrap;
}

    div.multiselect.bordered {
        border: 1px solid #545353;
        padding: 0px 5px;
        line-height: 23px;
        height: 25px;
        border-radius: 4px;
    }

        div.multiselect.bordered.short {
            width: 150px;
            max-width: 150px;
            overflow-x: hidden;
        }

        div.multiselect.bordered.long {
            width: 325px;
            max-width: 325px;
            overflow-x: hidden;
        }

    div.multiselect.reverse {
        color: white;
    }

    div.multiselect div.multiselectlabel {
        max-width: calc(100%);
        overflow-x: hidden;
    }

div.multiselectlist {
    display: flex;
    flex-direction: column;
    position: fixed;
    background-color: white;
    color: black;
    border: 1px solid black;
}

    div.multiselectlist div.multiselectitem {
        display: flex;
        gap: 8px;
        border-bottom: 1px solid var(--ui-gray-300);
        padding: 0px 10px;
        align-items: center;
        cursor: pointer;
        line-height: 30px;
    }

        div.multiselectlist div.multiselectitem div.checkbox {
            background-image: url('/Images/locationmap/check-empty.png');
            background-size: 14px 14px;
            width: 14px;
            height: 14px;
            border: 1px solid black;
            margin-top: 0px;
            margin-bottom: 0px;
            border-radius: 4px;
            background-repeat: no-repeat;
            background-position: 50%;
        }

        div.multiselectlist div.multiselectitem.checked div.checkbox {
            background-image: url('/Images/locationmap/check-blue.png');
        }

        div.multiselectlist div.multiselectitem div.name {
            font-size: 13px;
        }

div.multiselectbuttons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 40px;
}

    div.multiselectbuttons div.multiselectbutton {
        border-radius: 8px;
        background-color: var(--brand-blue);
        padding: 0;
        font-size: 14px;
        color: white;
        cursor: pointer;
        width: 60px;
        height: 28px;
        text-align: center;
        line-height: 27px;
    }

div.datefilter {
    display: flex;
    padding: 4px;
    align-items: center;
    gap: 4px;
    width: 28px;
    height: 28px;
    border-radius: 36px;
    border: 1px solid var(--ui-gray-300);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

    div.datefilter.previous {
        background-image: url('/Images/LocationMap/cluster-previous.png');
    }

    div.datefilter.next {
        background-image: url('/Images/LocationMap/cluster-next.png');
    }

    div.datefilter.disabled {
        opacity: .3;
        cursor: default;
    }

div.truckinventory div.truckfilters {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}


@media (min-width: 767px) {
    div.livejobs div.job {
        width: 737px;
    }
        div.livejobs div.job table {
            width:737px;
        }

    .navbar-header{
        width: 100%;
    }
    .container {
        width: 98%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.ui-dialog {
    max-width: 95%;
}
.no-close .ui-dialog-titlebar-close {
    display: none;
}
.ui-dialog .ui-dialog-content{
    padding: 0px;
    margin: .5em 1em;
}
.ui-widget-header {
    background: unset;
    background-color: #5b6e3a;
    color: white;
}

.ui-datepicker .ui-datepicker-header {
    background-color: #aaaaaa;
}
.ui-datepicker {
    width: auto !important;
    padding: 0;
}
.ui-datepicker table{
    margin: 0;
}

ui-dialog-titlebar-close {
    background-image: url('/Images/close.png');
}

div.extraoptions{
    padding-top: 5px;
    padding-bottom: 10px;
}

div.timesheetoptionstoggle{
    padding-top: 5px;
    padding-bottom: 5px;
}
div.timesheetoptionstoggle > input{
    display: inline-block;
}

div.timesheetoptions {
    padding-bottom: 10px;
}
    div.timesheetoptions input {
        margin-bottom: 0px;
    }
        div.timesheetoptions input:last-of-type {
            margin-right: 0px;
        }
    div.timesheetoptions div input:disabled {
        background-color: #e3e3e3;
        color: black;
        cursor: default;
    }
    div.timesheetoptions div.groupbox input{
        margin-bottom: 10px;
    }
    div.timesheetoptions div.groupbox div.content {
        position: relative;
        padding: 18px 10px 0px 5px;
    }

div.admin{
}
    div.admin > div{
    }
        div.admin div.menu {
            float: left;
            width: 150px;
            max-width: 150px;
            min-height: 70vh;
            border-right: 1px dotted black;
            margin-left: 0px;
            padding-left: 0px;
            margin-right: 20px;
        }
            div.admin div.menu ul {
                list-style-type: none;
                margin-left: -30px;
            }
                div.admin div.menu ul li {
                    padding: 0px 0px 5px 0px;
                }


div.menu.hiding {
    display: flex;
}
    div.menu.hiding div.menu {
        flex: 0 0 250px;
        position: relative;
        min-height: 70vh;
        border-right: 1px solid silver;
        margin-left: 0px;
        padding-left: 0px;
        margin-right: 10px;
    }
        div.menu.hiding div.menu.notvisible {
            flex: 0 0 35px;
        }
        div.menu.hiding div.menu a.hideshow {
            position: absolute;
            width: 30px;
            height: 30px;
            top: 0px;
            right: 10px;
            z-index: 99;
            background-image: url('/Images/left.png');
            background-size: 30px 30px;
            background-repeat: no-repeat;
        }
        div.menu.hiding div.menu.notvisible a.hideshow {
            background-image: url('/Images/right.png');
        }
    div.menu.hiding div.menu div.items {
        margin-top: 35px;
        padding-right: 10px;
        min-width: 150px;
    }
        div.menu.hiding div.menu.notvisible div.items {
            display: none;
        }
        div.menu.hiding div.menu ul {
            list-style-type: none;
            margin-left: -20px;
        }
            div.menu.hiding div.menu ul li {
                padding: 0px 0px 5px 0px;
            }
                div.menu.hiding div.menu ul li a.selected {
                    background-color: lightgrey;
                    color: black;
                }
        div.menu.hiding div.menu img {
            margin-right: 5px;
            margin-top: -3px;
        }
        div.menu.hiding div.menu img.expand {
            height: 16px;
            cursor: pointer;
        }
        div.menu.hiding div.menu p b {
            vertical-align: middle;
            line-height: 18px;
            cursor: pointer;
        }
        div.menu.hiding div.body {
            flex: 1;
        }


#ReportPivotGrid_FilterAreaContainer {
    overflow: auto !important;
}

table.timesheet td {
    /*white-space: nowrap;*/
}
    table.timesheet td.timein, table.timesheet td.timeout {
        min-width: 85px;
    }
    table.timesheet td.comment {
        min-width: 250px;
        max-width: 250px;
        white-space: normal;
        /*overflow: hidden;*/
        /*text-overflow: ellipsis;
        white-space: nowrap;*/
    }
        /*table.timesheet td.comment:hover {
            white-space: normal;
            width: 300px;
        }*/
    table.timesheet td.error {
        background-color: #EDCFCF;
        /*color: red;*/
    }
    table.timesheet td.warning {
        background-color: #f5f39f;
    }
    table.timesheet td.rowheader.error{
        color: black;
    }
table.timesheet thead tr {
    background-color: #b2c4cf;
}
table.timesheet tbody tr:nth-of-type(odd), table.timesheet tbody tr:nth-of-type(even) {
    /*background-color: #ECF1E3;*/
    background-color: #e1e7eb;
}
table.timesheet tbody tr.clockin {
    color: black;
    background-color: #cad1c9; /*#E7E7E7*/
}
table.timesheet tbody tr.clockout {
    color: black;
    background-color: #cad1c9; /*#E7E7E7*/
}
table.timesheet tbody tr.dailytotal {
    background-color: transparent;
}
    table.timesheet tbody tr.dailytotal.invisible {
        color: transparent;
    }
table.timesheet tr.dailytotal:hover {
    cursor: default;
}
table.timesheet tr.material {
    color: forestgreen;
}
table.timesheet tbody tr.editing, table.timesheet tbody tr.selected {
    background-color: #A4B9C2;
}
table.timesheet tr.travel {
    /*background-color: #FFFBF4;*/
}
table.timesheet td.travel {
    color: #E0B201;
    /*color: black;*/
}
table.timesheet tr.dailytotal td {
    font-weight: normal;
    opacity: .5;
}
table.timesheet tbody tr.islive {
    background-color: #c1f7cf;
    color: black;
    text-transform: uppercase;
    text-align: center;
}
    table.timesheet tr.islive td{
        border: 1px solid black;
    }
table.timesheet tr:hover {
    cursor: pointer;
}
table.timesheet.checkable tr.dailytotal td.selector input[type="checkbox"]{
    display: none;
}
table.timesheet.checkable tr.travel td.selector input[type="checkbox"] {
    display: none;
}
table.timesheet.checkable tr.error {
    background-color: transparent;
}
table.timesheet.checkable tr.error:hover {
    cursor: default;
}
table.timesheet.checkable tr.error td.selector input[type="checkbox"] {
    display: none;
}



div.mobiletimesheet {
    border-top: 0px;
}

    div.mobiletimesheet div.table {
        display: table;
        width: 100%;
        margin-bottom: 0px;
        border-top: 1px solid silver;
    }

        div.mobiletimesheet div.table div {
            display: table-row;
            line-height: 25px;
            padding-left: 5px;
            position: relative;
        }

            div.mobiletimesheet div.table div div {
                display: table-cell;
            }

                divletimesheet div.table div div a {
                    margin-left: 10px;
                }

                div.mobiletimesheet div.table div div.time {
                    position: absolute;
                    top: -13px;
                    left: 10px;
                    background-color: white;
                    padding-left: 0px;
                    font-weight: bold;
                }

                div.mobiletimesheet div.table div.material div.time {
                    font-weight: normal;
                    opacity: .7;
                }

            div.mobiletimesheet div.table div div.details p {
                padding-left: 0px;
                text-indent: -10px;
                padding-top: 0px;
                padding-bottom: 0px;
                margin: 0px;
                line-height: 15px;
            }

            div.mobiletimesheet div.table div div.details p.comment {
                font-style: italic;
                opacity: .5;
            }

            div.mobiletimesheet div.table div div.details p.job {
                font-weight: normal;
            }

            div.mobiletimesheet div.table div div.details p.task, div.mobiletimesheet div.table div div.details p.workorder {
                opacity: .7;
            }

            div.mobiletimesheet div.table div div.details p.entryerror {
                color: red;
            }

                    div.mobiletimesheet div.table div div.details p:last-of-type {
                        padding-bottom: 5px;
                    }

                    div.mobiletimesheet div.table div div.details p:first-of-type {
                        padding-top: 15px;
                    }

                div.mobiletimesheet div.table div div.duration {
                    width: 35px;
                    text-align: right;
                    font-weight: bold;
                    padding-right: 5px;
                }

                div.mobiletimesheet div.table div div.checkbox {
                    width: 40px;
                    text-align: left;
                    padding-right: 3px;
                    padding-left: 30px;
                }
                    div.mobiletimesheet div.table div div.checkbox input[type="checkbox"] {
                        /*margin: -1px 0px 0px -20px;*/
                        margin-top: -5px;
                        height: 18px;
                    }

    div.mobiletimesheet > div {
        border-right: 1px solid black;
        border-left: 1px solid black;
    }

    div.mobiletimesheet div.error {
        background-color: #EDCFCF;
        margin-bottom: 15px;
    }

    div.mobiletimesheet div.job {
        margin-bottom: 7px;
    }

        div.mobiletimesheet div.job div div {
            border-bottom: 0px dashed silver;
        }

        div.mobiletimesheet div.job div:last-of-type div {
            border-bottom: 0px;
        }

        div.mobiletimesheet div.job div.material {
            border-top: 1px dashed silver;
        }

        div.mobiletimesheet div.job div.material div.details {
            color: forestgreen;
        }

        div.mobiletimesheet div.job div.travel div.details, div.mobiletimesheet div.job div.travel div.duration {
            color: #E0B201;
        }

        div.mobiletimesheet div.job img{
            width: 14px;
            margin-top: -2px;
        }
        /*div.mobiletimesheet div.job div.clockinout {
            background-image: url('/images/green_dot.png');
            background-repeat: no-repeat;
            background-size: 12px 12px;
            background-position: 16px 15px;
        }*/

            /*div.mobiletimesheet div.job div.clockinout.out {
                background-image: url('/images/red_dot.png');
            }*/

    div.mobiletimesheet div.section.employee div.section.date div.detail {
        margin-top: 0px;
    }
    div.mobiletimesheet div.section.employee div.section.date div.detail:nth-of-type(2) {
        margin-top: 10px;
    }

    div.mobiletimesheet div.table div.material div.details p {
        padding-left: 0px;
        text-indent: -10px;
        margin: 0px;
        opacity: .7;
    }

    div.mobiletimesheet div.job img.photo {
        width: 18px;
    }

p.header{
    font-weight: bold;
    font-size: 1.3em;
}

div.employee div.header > div {
    background-color: #300F79;
    color: white;
    vertical-align: top;
}

div.date {
    cursor: pointer;
}

    div.date div.header > div {
        background-color: lightblue;
        color: black;
        vertical-align: top;
    }

    div.date div.header div div:nth-of-type(1) {
        background-image: url('/images/expand.png');
        background-repeat: no-repeat;
        background-size: 16px 16px;
        background-position: left 3px top 4px, left 24px top 4px;
    }

    div.date div.header.expanded div div:nth-of-type(1) {
        background-image: url('/images/collapse.png');
    }

    div.date div.header.errors div div:nth-of-type(1) {
        background-image: url('/images/expand.png'), url('/images/error.png');
    }

    div.date div.header.expanded.errors div div:nth-of-type(1) {
        background-image: url('/images/collapse.png'), url('/images/error.png');
    }

    div.date div.header.expandcollapse div div {
        padding-left: 25px;
    }
    div.date div.header.errors div div {
        padding-left: 45px;
    }

div.mobiletimesheet div.employee div.date div.table.header.expandcollapse {
    margin-bottom: 0px;
}
div.mobiletimesheet div.employee div.date div.table.header.expanded {
    margin-bottom: 12px;
}

div.subheader {
    font-weight: bold;
    font-size: 1.1em;
}


div.section {
    margin-bottom: 20px;
}

    div.section div.header div {
        font-weight: bold;
    }

    div.section.employee {
        margin-bottom: 20px;
        border-bottom: 1px solid black;
    }

div.groupbox {
    position: relative;
    border: 1px solid silver;
    border-radius: 10px;
    display: inline-block;
    min-height: 25px;
    max-width: 100%;
    vertical-align: top;
    margin-top: 5px;
}
    div.groupbox.block {
        display: block;
    }

    div.groupbox.red {
        border-color: red;
    }

    div.groupbox.bottommargin {
        margin-bottom: 10px;
    }

    div.groupbox div.title {
        position: absolute;
        margin-top: -10px;
        margin-left: 5px;
        background-color: white;
        font-weight: bold;
        font-size: 1.1em;
    }

    div.groupbox div.content {
        padding: 10px 10px 0px 5px;
    }

        div.groupbox div.content p {
            margin-left: 5px;
            margin-right: 5px;
            padding-top: 0px;
            margin-top: 10px;
        }

    div.groupbox div.content textarea {
        width: 290px;
        height: 55px;
    }

    div.groupbox div.content div.searchabledropdown img {
        right: -20px;
    }

    div.groupbox.info img.info {
        position: absolute;
        width: 25px;
        height: 25px;
        top: -20px;
        right: -20px;
        cursor: pointer;
    }

    div.groupbox div.body {
        padding: 20px 10px 10px 10px;
    }

    div.groupbox div.field {
        margin-bottom: 0px;
    }

div.infobubble {
}
    div.infobubble div.message {
        position: absolute;
        z-index: 99;
        border: 1px solid gray;
        background: silver;
        padding: 10px;
        display: none;
        left: 4px;
        top: 5px;
    }
    div.infobubble:hover div.message {
        display: block;
    }

div.copyemp div.groupbox div.content table {
    margin-left: 5px;
}

    div.copyemp div.groupbox div.content table td {
        padding: 10px 5px 10px 0px;
    }

div.photo div.groupbox {
}
    div.photo div.groupbox.map {
        width: 300px;
        min-width: 300px;
    }
    div.photo div.groupbox.detail {
        width: 300px;
        min-width: 300px;
    }
    div.photo div.groupbox.detail div.body{
        padding-top: 20px;
    }
    div.photo div.groupbox.image {
        width: 350px;
        min-width: 200px;
        max-width: 350px;
    }
        div.photo div.groupbox.image img {
            padding: 5px;
            max-height: 60vh;
            max-width: 340px;
            height: 428px;
            width: 336px;
        }

div.copyemp {
    border: 1px solid black;
    padding: 20px 10px 0px 10px;
    margin-bottom: 20px;
}
    div.copyemp div.groupbox div.content {
        padding: 18px 20px 0px 5px;
    }
    div.copyemp span.autocomplete {
        width: 215px;
    }

div.closelive {
    border: 1px solid black;
    padding: 10px 10px 10px 10px;
    margin-bottom: 20px;
}


div.filters div.groupbox div.content input {
    margin-top: 0px;
    margin-bottom: 0px;
}


div.field {
    position: relative;
    margin-bottom: 10px;
}
    div.field label {
        display: block;
        margin-bottom: 0px;
    }
    div.field > div {
        min-height: 18px;
    }


div.fieldset {
    position: relative;
    margin-right: 25px;
    margin-bottom: 10px;
    /*height: 60px;*/
    border: 1px dashed transparent;
}
    div.fieldset div.field {
        position: relative;
        display: inline;
    }
    div.fieldset div.field label {
        display: inline-block;
        font-weight: bold;
        color: black;
        margin-bottom: 0px;
        line-height: 15px;
    }

    div.fieldset div.field input, div.field select, div.field textarea {
        margin-right: 5px;
        margin-bottom: 0px;
        display: block;
    }

    div.fieldset div.remove {
        display: none;
        position: absolute;
        top: -2px;
        right: 15px;
        z-index: 99;
    }
        div.fieldset div.remove img {
            width: 17px;
        }

    div.fieldset.full div.remove {
        top: 0px;
        right: 48px;
    }

    div.fieldset div.edit {
        display: none;
        position: absolute;
        top: 0px;
        right: 32px;
        z-index: 99;
    }
        div.fieldset div.edit img {
            width: 13px;
        }

    div.fieldset.full div.edit {
        top: 2px;
        right: 64px;
    }

    div.fieldset div.field div.edit {
        display: none;
        position: absolute;
        top: 5px;
        right: 5px;
        z-index: 99;
    }
        div.fieldset div.field div.edit img {
            width: 12px;
        }

    div.fieldset:hover div.remove {
        display: unset;
    }
    div.fieldset:hover div.edit {
        display: unset;
    }
    div.fieldset div.field:hover div.edit {
        display: unset;
    }

    div.fieldset div.field div.field {
        display: inline-block;
        margin-right: 0px;
    }

div.column {
    float: left;
    padding-right: 10px;
    min-width: 200px;
    min-height: 55px;
    border: 1px solid transparent;
}
    div.column.full {
        float: unset;
        clear: both;
        width: 100%;
        margin-bottom: 15px;
    }
        div.column.full div.fieldset div.field {
            width: 100%;
        }

    div.column.sorting {
        border: 1px solid red;
    }

    div.column div.fieldset:hover {
        cursor: grab;
        border: 1px dashed silver;
    }

    div.column div.fieldset div.field label:hover {
        cursor: default;
    }

    div.column div.fieldset div.field div.field:hover {
        border: 1px dashed transparent;
    }

div.groups div.column div.fieldset:hover {
    cursor: grab;
    border: 1px solid transparent;
}

div.groups.customizable div.column div.fieldset:hover {
    cursor: grab;
    border: 1px dashed silver;
}

div.groupbox div.content div.column {
    display: flex;
    float: unset;
    flex-direction: row;
    flex-wrap: wrap;
}

div.fieldset div.remove {
    cursor: pointer;
}
div.fieldset div.edit {
    cursor: pointer;
}
div.fieldset div.field div.edit {
    cursor: pointer;
}

div.hiddenfields {
    clear: both;
    position: relative;
}
    div.hiddenfields div.closehiddenfields {
        position: absolute;
        top: -12px;
        right: -5px;
    }
        div.hiddenfields div.closehiddenfields img{
            width: 20px;
            cursor: pointer;
        }
    div.hiddenfields.column {
        border: 1px solid silver;
        padding-left: 5px;
    }
    div.hiddenfields div.remove {
        display: none;
    }
    div.hiddenfields div.fieldset div.edit {
        right: 0px;
    }
    div.hiddenfields div.fieldset div.field:hover div.remove {
        display: none;
    }

    div.hiddenfields div.fieldset div.remove {
        display: none;
    }

div.fieldproperties {
    /*border: 1px solid black;*/
    padding: 5px;
    margin-bottom: 10px;
}  
    div.fieldproperties div.header {
        float: left;
    }
    div.fieldproperties div.footer {
        clear: both;
    }
    div.fieldproperties div.editingfields {
        clear: both;
    }

div.dashboard {
    margin-bottom: 50px;
}

    div.dashboard div.metrictitled {
        position: relative;
        margin-right: 10px;
        margin-bottom: 10px;
    }

        div.dashboard div.metrictitled div.title {
            height: 34px;
            /*background-color: #d7dbd0;*/ /* #54899e;*/
            background-color: #b2bcbf;
            color: black;
            font-weight: bold;
            /*border: 1px solid silver;*/
            border-radius: 10px 10px 0px 0px;
            border-bottom: 0px;
            padding: 8px;
            cursor: pointer;
        }
            div.dashboard div.metrictitled div.title div.metricname {
                float: left;
            }
            div.dashboard div.metrictitled div.title div.images {
                float: right;
                text-align: right;
                width: 80px;
            }

        div.dashboard div.metrictitled div.body {
            position: relative;
            /*background-color: #EFEFEF;*/
            border: 1px solid silver;
            border-radius: 0px 0px 10px 10px;
            border-top: 0px;
            /*border-bottom: 0px;*/
            padding: 10px;
        }

            div.dashboard div.metrictitled div.body div.header {
                background-color: transparent !important;
                grid-area: unset !important;
                height: unset !important;
            }

            div.dashboard div.metrictitled div.body div.metricloading {
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                width: 100%;
                opacity: .5;
                z-index: 999999;
                background-color: darkgray;
                background-image: url('/Images/ajax-loading.gif');
                background-size: 50px 50px;
                background-repeat: no-repeat;
                background-position: 50% 50%;
            }

            div.dashboard div.metrictitled div.body span.lastupdated {
                font-size: .9em;
                opacity: .5;
            }

        div.dashboard div.metrictitled.gauge {
            width: 340px;
        }

        div.dashboard div.metrictitled.pie {
            width: 400px;
        }

        div.dashboard div.metrictitled img {
            cursor: pointer;
            margin-top: -4px;
            margin-left: 5px;
        }

dx-visibility-change-handler {
    width: 100%;
    height: 100%;
}

img.ui-datepicker-trigger {
    width: 26px;
}

div.weeklytimesheet {
    width: 1440px;
    padding-left: 10px
}
    div.weeklytimesheet.noclient {
        width: 1190px;
    }

    div.weeklytimesheet table {
    }

        div.weeklytimesheet table td, div.weeklytimesheet table th {
            border: 1px solid silver;
            text-align: left;
            line-height: 25px;
            padding: 0px 0px 0px 3px !important;
        }

        div.weeklytimesheet table thead tr th {
            border-top: 0px;
        }

            div.weeklytimesheet table thead tr th:first-of-type {
                border-top: 0px;
                border-left: 0px;
                border-right: 0px;
            }

            div.weeklytimesheet table thead tr th:last-of-type {
                border-top: 0px;
                border-right: 0px;
            }

        div.weeklytimesheet table tr td:first-of-type {
            border-left: 0px;
        }

        div.weeklytimesheet table tr td:last-of-type {
            border-right: 0px;
        }

        div.weeklytimesheet table td label {
            margin-bottom: 0px;
        }

        div.weeklytimesheet table th.bill {
            text-align: center;
        }

        div.weeklytimesheet table th.dayofweek {
            text-align: center;
        }

        div.weeklytimesheet table th.weeklytotal {
            text-align: right;
        }

        div.weeklytimesheet table th {
            padding: 3px !important;
            background-color: #e3e3e3 !important;
        }

            /*div.weeklytimesheet table td.dayofweek[dow="sat"], div.weeklytimesheet table td.dayofweek[dow="sun"], div.weeklytimesheet table th[dow="sat"], div.weeklytimesheet table th[dow="sun"] {
                background-color: lightgray;
            }*/

                div.weeklytimesheet table td.dayofweek.error, div.weeklytimesheet table td.dayofweek[dow="sat"].error, div.weeklytimesheet table td.dayofweek[dow="sun"].error {
                    background-color: #EFA3A3 !important;
                }

        div.weeklytimesheet table tr td.bill {
            background-color: #e3e3e3;
        }

        div.weeklytimesheet table tbody tr td input {
            border: 0px;
            line-height: 25px;
            background-color: transparent;
            width: 99%;
        }
            div.weeklytimesheet table tbody tr td input.error {
                background-color: #EFA3A3;
            }

        div.weeklytimesheet table td.client, div.weeklytimesheet table td.job, div.weeklytimesheet table td.workorder, div.weeklytimesheet table td.task, div.weeklytimesheet table td.description {
            width: 200px;
            min-width: 200px;
        }

        div.weeklytimesheet table td.bill {
            width: 40px;
            text-align: center;
        }

        div.weeklytimesheet table td.dayofweek {
            width: 50px;
            max-width: 50px;
        }

            div.weeklytimesheet table td.dayofweek input {
                width: 99%;
                text-align: right;
            }

                div.weeklytimesheet table td.dayofweek input.error {
                    background-color: #EFA3A3 !important;
                }

        div.weeklytimesheet table tr td.weeklytotal {
            background-color: #e3e3e3;
            width: 50px;
            text-align: right;
            padding-right: 3px !important;
        }

            div.weeklytimesheet table tr td.weeklytotal.error {
                background-color: #EFA3A3 !important;
            }

        div.weeklytimesheet table tfoot tr {
            background-color: #e3e3e3;
        }

            div.weeklytimesheet table tfoot tr td:first-of-type {
                text-align: right;
            }

            div.weeklytimesheet table tfoot tr td {
                text-align: right;
                padding-right: 2px !important;
            }

        div.weeklytimesheet table tr.recent {
            background-color: lightgoldenrodyellow;
        }

        div.weeklytimesheet table tr.existing {
            background-color: whitesmoke;
        }

            div.weeklytimesheet table tr.existing td {
                min-width: 200px;
                max-width: 200px;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }

                div.weeklytimesheet table tr.existing td.weeklytotal {
                    text-align: right;
                    min-width: 0px;
                }

                div.weeklytimesheet table tr.existing td.dayofweek {
                    text-align: right;
                    min-width: 0px;
                    padding: 0px;
                }

                div.weeklytimesheet table tr.existing td.bill {
                    width: 35px;
                    text-align: center;
                    min-width: 0px;
                }

        div.weeklytimesheet table tr.balance {
            background-color: lightcyan;
        }

        div.weeklytimesheet table div.autocomplete {
            border: 0px;
            padding: 0px;
            line-height: 25px;
            padding-bottom: 0px;
            padding-left: 4px;
            padding-right: 18px;
            text-align: left;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            width: 99%;
        }

            div.weeklytimesheet table div.autocomplete.error {
                background-color: #EFA3A3;
            }

            div.weeklytimesheet table div.autocomplete img {
                display: none;
                position: absolute;
                top: 4px;
                right: 6px;
                width: 16px;
                cursor: pointer;
            }

        div.weeklytimesheet table tbody tr td.dayofweek {
            background-color: white;
        }

        div.weeklytimesheet table tbody tr td.disabled {
            background-color: whitesmoke;
        }

    /*div.weeklytimesheet div.searchabledropdown img.focused {
        display: none;
    }*/

    div.weeklytimesheet div.header {
        position: relative;
        text-align: center;
        margin-bottom: 20px;
        height: 25px;
    }

        div.weeklytimesheet div.header input {
            margin-right: 10px;
        }

    div.weeklytimesheet input::-webkit-outer-spin-button,
    div.weeklytimesheet input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    div.weeklytimesheet input[type="number"] {
        -moz-appearance: textfield;
    }

    div.weeklytimesheet div.tablescrollwrap {
        max-height: calc(100dvh - 210px);
        min-height: calc(100dvh - 180px);
    }

    div.weeklytimesheet input.legend {
        line-height: 15px;
        background-color: whitesmoke;
        border: 1px solid darkgrey;
        box-shadow: none;
        margin-right: 5px;
        width: 18px;
    }

    div.weeklytimesheet span.readonly {
        color: red;
    }



@media (max-width: 767px) {
    img .logo {
        height: 30px;
    }
    img.companylogo {
        height: 35px;
        margin-top: 5px;
    }

    .body-content {
        /*padding-top: 75px;*/
        margin: 0px;
    }

    select {
        max-width: calc(100vw - 10px);
    }
        select:required:invalid {
            color: gray;
        }
    option[value=""][disabled] {
        display: none;
    }
    option {
        color: black;
    }

    div.notmobile, li.notmobile, a.notmobile, .notmobile, span.notmobile, img.notmobile {
        display: none;
    }

    img.smartassetname.notmobile {
        display: none;
    }
    img.smartassetname.mobileonly {
        display: inline;
    }
    img.smartassetlogo.mobileonly {
        display: inline;
    }

    .navbar-collapse {
        padding: 0px;
    }

    .navbar-nav {
        margin: -10px 0px 0px 0px;
    }

    .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
        max-height: unset;
    }

    .loginpartial {
        display: none;
    }

    img.mobileonly {
        display: unset;
    }

    ul.mobileonly, div.mobileonly, .mobileonly, span.mobileonly {
        display: block;
    }

    li.mobileonly {
        display: block;
    }

    div.livejobs div.job table tr.mobileonly.taskrow {
        display: contents;
    }

    div.menu.hiding div.menu {
        flex: 0 0 150px;
        margin-right: 5px;
    }
    div.menu.hiding div.menu a.hideshow {
        right: -8px;
        background-size: 20px;
    }
    div.menu.hiding div.menu.notvisible {
        flex: 0 0 20px;
    }

    div.dashboard div.metrictitled div.title div.metricname {
        max-width: calc(100% - 80px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    div.editingfields div.field {
        margin-bottom: 5px;
        margin-right: 0px;
    }

    /*div.dashboard {
        flex-direction: column;
    }*/

        div.dashboard div.card div.body {
            width: 100%;
            margin-right: 0px;
            height: auto;
        }

            div.dashboard div.card div.body.large {
                width: 100%;
                margin-right: 0px;
            }

    div.metriccontainer {
        width: 93vw;
    }


    div.currentcompany {
        display: block;
        margin-left: 20px;
        margin-bottom: 0px;
    }

    div.companies {
        position: absolute;
        top: 20px;
        right: unset;
    }

    div.companiesmobile {
        display: block;
        width: 100%;
        background-color: #89B23F;
    }

        div.companiesmobile a {
            color: white;
        }

        div.companiesmobile div {
            color: white;
            margin-left: 15px;
            font-weight: bold;
        }

        div.companiesmobile ul {
            margin-right: 0px;
            margin-left: 0px;
            list-style-type: none;
        }

            div.companiesmobile ul li {
                display: block;
            }

    div.flex div span.title {
        top: -5px;
    }

    div.flex div {
        margin-bottom: 5px;
    }

    div.timeentryadd {
        margin-top: 10px;
        padding: 5px 0px 5px 5px;
    }

    div.timesheetoptions {
        margin-bottom: 10px;
    }

    span.autocomplete {
        width: 300px;
    }

    div.filters input.refreshtimesheetlist {
        margin-top: 0px;
        margin-bottom: 10px;
    }

    div.column {
        width: 100%;
    }
    /*div.fieldset {
        width: 100%;
    }
        div.fieldset div.field {
            width: 100%;
        }*/
    div.fieldset div.field input.w250, div.fieldset div.field input.w300, div.fieldset div.field input.w325, div.fieldset div.field input.w350 {
        width: 80vw !important;
    }
    div.fieldset div.field textarea {
        width: 85vw !important;
    }
    div.fieldset div.field span.autocomplete {
        width: 295px !important;
    }

    /*div.field, div.editingfields div.field {
        margin-right: 0px;
    }
        div.editingfields div.field span {
            margin-right: 0px;
        }*/

    /*div.dashboard div.metrictitled {
        max-width: 95%;
    }*/

    span.timesheetbuttons img {
        margin-left: 15px;
    }
        span.timesheetbuttons img.gpsmap {
            margin-left: 8px;
        }
        span.timesheetbuttons img.scandata {
            margin-left: 18px;
        }
        span.timesheetbuttons img:first-of-type {
            margin-left: 10px;
        }

    div.dx-datagrid-header-panel {
        display: none;
    }

    div.companieslist .dx-gridbase-container {
        height: calc(100dvh - 267px);
    }
    div.errorlog .dx-gridbase-container {
        height: calc(100dvh - 331px);
    }
    div.datagrid .dx-gridbase-container {
        height: calc(100dvh - 267px);
    }
    div.gridreport .dx-gridbase-container {
        height: calc(100dvh - 366px) !important;
    }
    div.groupbox.layouts {
        display: none;
    }

    img.logo {
        height: 40px;
    }

    #map {
        height: calc(100dvh - 195px);
    }


    div.truckinventory div.truckfilters {
        justify-content: center;
    }
}

@media all and (display-mode: fullscreen) {
    div.metriccontainer div.title div.images{
        display: none;
    }
    div.entitylist .dx-gridbase-container {
        height: calc(100dvh - 65px) !important;
    }
    div.datagrid .dx-gridbase-container {
        height: calc(100dvh - 65px) !important;
    }
    div.timesheets .dx-gridbase-container {
        height: calc(100dvh - 150px) !important;
    }
        div.timesheets .dx-gridbase-container.filtered {
            height: calc(100dvh - 65px) !important;
        }
    div.errorlog .dx-gridbase-container {
        height: calc(100dvh - 130px) !important;
    }
}