﻿.widget-table.widget-table-scroll {
    margin-bottom: 0 !important;
    position: relative;
    top: 0px !important; 
    left: 0px !important;
    right: 0px !important; 
    width: calc(100%) !important; 
    height: auto !important; 
}

    .widget-table.widget-table-scroll .widget-table-scroll-body {
        margin-top: 0px !important;
    }



#AssetList > div.floatThead-wrapper > div.widget-table-scroll-body {
    overflow-x: auto;
}




.widget-table .table-filter {
    border: 1px solid transparent;
    background: var(--color-page-background);
    margin-top: 1em;
    z-index: 2;
    width: 0 !important;
    min-height: 0 !important;
    overflow: hidden;
    display: flex;
}

.table-filter.row.justify-content-end {
    padding: 1%;
}

.widget-table .table-filter .search-filters {
    margin: 0px;
    background-color: white;
}

    .widget-table .table-filter .search-filters .filter-dd {
        margin: 0px !important;
        margin-bottom: 10px !important;
    }

.widget-table .table-filter .search-cont {
    float: unset !important;
    padding-right: 30px;
    border-left: 1px solid var(--color-tertiary);
}
div#assetlinkdialog .widget-table .table-filter .search-cont {
    float: unset !important;
    padding-right: 0px;
    border-left: none;
}

    .widget-table .table-filter .search-cont #query {
        padding-right: 40px !important;
        width: calc(100% - 50px);
    }

    .widget-table .table-filter .search-cont .grid-search-box {
        margin-bottom: 10px;
        width: 100%;
        display: block;
        position: relative;
    }

        .widget-table .table-filter .search-cont .grid-search-box::before {
            content: "";
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            width: 17px;
            height: 17px;
            background-repeat: no-repeat;
            background-size: 17px 17px;
            background-color: #000;
            -webkit-mask-image: url(search.svg);
            -webkit-mask-size: 17px 17px;
            mask-image: url(search.svg);
        }

    /*Solid Button Style w/ set width*/
    .widget-table .table-filter .search-cont .filter-buttons .button,
    .widget-table .table-filter .search-cont .filter-buttons .button:hover,
    .widget-table .table-filter .search-cont .filter-buttons .button:focus,
    .tm-header a.button, .tm-header a.button:link, .tm-header a.button:visited,
    .widget-table .table-filter .search-cont .filter-buttons .button:focus {
        border: none;
        outline: none;
        margin: 0 !important;
        cursor: pointer;
        display: block;
        font-family: unset !important;
        -moz-text-shadow: unset !important;
        -webkit-text-shadow: unset !important;
        text-shadow: unset !important;
        -moz-box-shadow: unset !important;
        box-shadow: unset !important;
        float: unset !important;
        line-height: 16px !important;
        padding: 10px 17px;
        min-height: 36px;
        width: 100%;
        border-radius: 4px !important;
        font-size: 14px !important;
        background: var(--color-action) !important;
        border: 1px solid var(--color-action);
        color: #fff;
        font-weight: 400;
    }
        /*Solid Button Hover Style*/
        .widget-table .table-filter .search-cont .filter-buttons .button:hover, a.button:link:is(:hover)
        .widget-table .table-filter .search-cont .filter-buttons .button:hover, #addAssetSubmit:hover, button.button.woSave:hover,
        form .widget.widget-properties dl.item-footer dd input.button.SaveSite:hover, editTagStatusBtn.widget-button:hover, #confirmUpdateBtn:hover, button.button.OEMRun:hover,
        form .widget.widget-properties dl.item-footer dd input.button.deviceSave:hover, #device-service-submit-button:hover, input.button.meter-sync-close:hover, .widget.widget-properties dl.item-footer dd input.fuel-type-save:hover,
        .widget.widget-properties dl.item-footer dd input.billing-code-save:hover {
            background: var(--color-action--active) !important;
            color: #fff;
        }

/*Solid Button Style w/o set width*/
#addAssetSubmit, button.button.woSave,
form .widget.widget-properties dl.item-footer dd input.button.SaveSite, #editTagStatusBtn.widget-button, #confirmUpdateBtn, button.button.OEMRun,
form .widget.widget-properties dl.item-footer dd input.button.deviceSave, #device-service-submit-button, input.button.meter-sync-close, .widget.widget-properties dl.item-footer dd input.fuel-type-save,
.widget.widget-properties dl.item-footer dd input.billing-code-save {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: unset !important;
    -moz-text-shadow: unset !important;
    -webkit-text-shadow: unset !important;
    text-shadow: unset !important;
    -moz-box-shadow: unset !important;
    box-shadow: unset !important;
    float: unset !important;
    line-height: 16px !important;
    padding: 10px 17px;
    min-height: 36px;
    border-radius: 4px !important;
    font-size: 14px !important;
    background: var(--color-action) !important;
    border: 1px solid var(--color-action);
    color: #fff;
    font-weight: 400;
}

/*borderless floating text button*/
.widget-table .table-filter .search-cont .filter-buttons a.button.clearSort, #cancelUpdateBtn, .ForgotCancel {
    background-color: transparent !important;
    color: var(--color-action);
    border: none;
    outline: none;
    background: transparent;
}

    /*borderless floating text button hover style*/
    .widget-table .table-filter .search-cont .filter-buttons a.button.clearSort:hover, #cancelUpdateBtn:hover, a.ForgotCancel:hover {
        background-color: rgba(0,0,0,.05) !important;
        text-decoration: none;
    }

.widget-button, .widget-button:hover, .widget-button:focus {
    border: none !important;
    outline: none;
    margin: auto !important;
    cursor: pointer;
    display: block;
    font-family: unset !important;
    -moz-text-shadow: unset !important;
    -webkit-text-shadow: unset !important;
    text-shadow: unset !important;
    -moz-box-shadow: unset !important;
    box-shadow: unset !important;
    float: unset !important;
    line-height: 16px !important;
    padding: 10px 17px !important;
    min-height: 36px;
    width: fit-content !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background: none !important;
    border: 1px solid var(--color-action) !important;
    color: var(--color-action);
    font-weight: 400 !important;
}

    .widget-button:hover {
        background: var(--color-action) !important;
        color: #fff !important;
    }

button.button.woSavePrint, button.button.woSave, button.button.woDelete {
    height: 40px;
}

.widget-table .grid-toolbar {
    padding: 20px 30px;
    border-top: none;
    width: auto;
    height: 80px;
}

    .widget-table .grid-toolbar .pagination-bar .table-pagination {
        margin: 0px !important;
        padding: 0px !important;
    }

.widget-table .grid-toolbar .pagination-bar .table-pagination div,
.widget-table .grid-toolbar .pagination-bar .table-pagination .grid-toolbar-btn {
     font-size: unset !important;
     margin: 0px !important; 
     padding: 0px !important;
     position: initial !important;
     top: unset !important;
     transform: unset !important;
}

    .widget-table .grid-toolbar .grid-toolbar-btn {
        min-width: 40px !important;
        height: 40px !important;
        background: none;
        border: none;
        outline: none;
        border-radius: 4px;
        cursor: pointer;
        padding: 0;
        color: #585858;
        background-repeat: no-repeat !important;
        background-position: 50%;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        text-decoration: none !important;
    }

    .widget-table .grid-toolbar .pagination-bar .grid-toolbar-btn {
        font-size: 20px !important;
        height: 40px !important;
        background: none;
        background-repeat: no-repeat !important;
        background-position: 50%;
        display: flex !important;
        text-decoration: none !important;
    }

    .widget-table .grid-toolbar .grid-toolbar-btn:hover {
        background-color: #f1f3f4 !important;
        color: #000;
    }

    .widget-table .grid-toolbar .page-number .showallpages.grid-toolbar-btn {
        padding: 0px 10px !important;
        line-height: 20px;
        font-family: var(--font-family);
        font-size: 12px !important;
        font-weight: 400;
        color: #585858;
        background: none;
        border: none;
        border-radius: 4px;
        text-shadow: none;
        box-shadow: none;
        float: unset;
    }

.widget-table tr td {
    padding: 0px 10px !important;
    min-height: 30px;
    font-size: 14px !important;
    font-weight: normal !important;
    font-family: var(--font-family);
    /*border-right: 2px solid #fff !important;*/
    border-bottom: 1px solid var(--color-tertiary) !important;
    color: #000 !important;
    background: #fff !important;
}

.widget-table tr {
    line-height: 1;
}

    .widget-table tr.selected td,
    .widget-table tr.ModifiedRow td {
        background: #595959 !important;
        color: white !important;
    }

        .widget-table tr.ModifiedRow td a,
        tr.ModifiedRow td a:not([href="#"]):not(.noInvert),
        tr.ModifiedRow td.invertText,
        tr.ModifiedRow td.invertText a {
            color: white !important;
        }





    .widget-table tr td:hover {
        /*background: var(--color-secondary) !important;*/
    }

.widget-table td a {
    color: var(--color-action) !important;
    text-decoration: none !important;
}

    .widget-table td a:hover {
        color: var(--color-action--active) !important;
    }

.widget-table .gearHolder {
    margin: 0px !important;
    padding: 0px !important;
    width: 40px !important;
    height: 40px !important;
    display: inline-block;
}

    .widget-table .gearHolder .gearMenu {
        width: 100% !important;
        height: 100% !important;
        padding: 0px !important;
        margin: 0px !important;
        border: none !important;
        border-radius: 4px;
        outline: none;
        color: #585858;
        background-image: url(more.svg);
        background-repeat: no-repeat;
        background-position: 50%;
        opacity: 1 !important;
        box-shadow: unset !important;
        background-color: unset !important;
        transition: unset !important;
    }

        .widget-table .gearHolder .gearMenu:hover {
            background-color: var(--color-secondary) !important;
            color: #000;
        }

        .widget-table .gearHolder .gearMenu img {
            display: none !important;
        }

    .widget-table .gearHolder .popupContent {
        background: #292f38;
        border-radius: 4px;
        box-shadow: 0 0 3px rgb(0 0 0 / 25%);
        width: 200px;
        overflow: hidden;
        padding: 2px;
    }

        .widget-table .gearHolder .popupContent .popupLabel {
            display: flex;
            width: 100%;
            align-items: center;
            background: none;
            border: none;
            outline: none;
        }

            .widget-table .gearHolder .popupContent .popupLabel a {
                width: 100%;
                padding: 10px 15px;
                min-height: 40px;
                cursor: pointer;
                text-decoration: none !important;
                font-size: 14px;
                font-weight: normal;
                color: #fff !important;
                box-sizing: border-box;
            }

.widget-table .gearHolder .popupContent .popupLabel a:hover {    
    background: #191e27;
}

.widget-table th {
    border: none !important;
    padding: 10px !important;
    background: var(--color-secondary) !important;
    font-size: 12px;
    line-height: 14px;
    height: 54px !important;
    font-weight: bold !important;
    font-family: var(--font-family);
    box-sizing: border-box;
    border-right: 2px solid var(--color-page-background) !important;
    color: #000 !important;
}

.widget-table thead tr {
    height: 30px !important;
}

thead {
    height: 30px !important;
}

.widget-table th:last-child {
    border: none !important;
}

.widget-table th.col-sort {
    background: var(--color-secondary--active) !important;
}

.widget-table th:hover {
    background: #e8ebed !important;
}

.widget-table th[sort=""]:hover, 
.widget-table th:not([sort]):hover {
    background: var(--color-secondary) !important;
}

/* Loading Icon */
.widget-table td[colspan] {
    background: #fff !important;
    cursor: default !important;
    border: none !important;
    height: 100px !important;
    padding: 0px !important;
}

select.gridDropDowns {
    padding: 10px 40px 10px 10px !important;
    min-height: calc(20px + 14px + 2px);
    line-height: 14px !important;
}

input.gridInputs {
    box-sizing: border-box !important;
    min-height: calc(20px + 14px + 2px);
}

#bulkUpdateDialog .ddColumn .ddRow select {
    padding: 10px 40px 10px 10px !important;
    min-height: calc(20px + 14px + 2px);
    line-height: 14px !important;
    font-size: 12px !important;
}

#AssetList > div.table-filter.row.justify-content-end > div.search-cont.col-auto {
    background: #fff;
}


div.table-filter.row.justify-content-end {
    width: 101% !important;
    z-index: 12;
}

div.widget-table-scroll-body table tbody tr td {
    text-overflow: ellipsis;
    min-width: 0;
    overflow: hidden;
    display: table-cell;
}

#GridCollapse {
    position: fixed;
    width: 35px;
    right: 1%;
    top: 84px;
    height: 34px;
    border: none;
    color: #707070;
    background: none;
}

#GridCollapseLabel {
    float: left;
    margin-left: -115px;
    position: relative;
    top: 10px;
    font-size: 14px;
}

#GridCollapse:hover {
    border-radius: 3px;
    background-color: rgba(0,0,0,.05);
    color: #000;
}

#AssetList {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.CompanyName {
    max-width: 23ch;
    text-overflow: ellipsis;
    min-width: 0;
    overflow: hidden;
    display: table-cell;
    padding-bottom: 1px;
}

td.AssetName a {
    max-width: 55ch;
    text-overflow: ellipsis;
    min-width: 0;
    overflow: hidden;
    display: table-cell;
    padding-bottom: 1px;
}

.Reason {
    max-width: 15ch;
}

tr td.District {
    max-width: 10ch;
}

#LastKnownLocation {
    max-width: 62ch;
    text-overflow: ellipsis;
    min-width: 0;
    overflow: hidden;
    display: table-cell;
    padding-bottom: 1px;
}

#serviceHistory .widget-table .grid-toolbar, #deviceServiceHistory .widget-table .grid-toolbar {
    padding: 7px 30px 12px 30px;
    height: 22px;
    padding-top: 14px;
    position: sticky;
    top: 0;
    height: 100%;
    background: white 100px 100px;
}

#serviceHistory .widget-table thead tr {
    position: sticky;
    top: 27px;
}

#serviceHistory .widget-table .grid-toolbar .pagination-bar .grid-toolbar-btn, #deviceServiceHistory .widget-table .grid-toolbar .pagination-bar .grid-toolbar-btn {
    height: 0px !important;
}

div.floatThead-wrapper div.widget-table-scroll-body table thead tr {
    height: 30px;
}

.col-dynamic {
    background-color: white;
}

#txtApplyFilter {
    background-color: white;
}


.table-filter-container {
    display: none;
    width: 100%;
    position: fixed;
    top: 123px;
    left: 0;
    z-index: 12;
    height: fit-content;
}

div#assetlinkdialog {
   height: calc( 100vh - 220px ) !important;
}
div#assetlinkdialog .table-filter-container {
    top: 0;
    z-index: 1;
    display: block;
    overflow: hidden;
    position:relative;
}
div#assetlinkdialog div.search-filters button {
    max-height: 19px;
    vertical-align: text-top;
}
div#assetlinkdialog button[type="button"].ui-multiselect {
    padding-top: 2px !important;
    margin-right: 5px;
    padding-right: 17px !important;
}


#assignmentDate {
    width: 225px;
    min-height: 36px;
    padding-left: 10px;
    background: #f1f3f4;
    border: 1px solid 1px solid var(--color-secondary) !important;
    border-radius: 3px;
    margin-top: 2px;
}

th#ManaualEntryTime {
    width: 150px !important;
}

td#assetLabel {
    width: 250px;
}

.widget-content#serviceHistory .search-cont,
.widget-content#deviceServiceHistory .search-cont {
    display: none;
}

.widget-content#serviceHistory .table-filter-container,
.widget-content#deviceServiceHistory .table-filter-container {
    position: sticky;
    top: 0;
    margin-bottom: -27px;
    z-index: 1;
    max-width: 500px;
    display: block;
    height: 27px;
    overflow: hidden;
}

#serviceHistory .widget-table thead tr#costHeader {
    top: 27px;
}

div.datedropdown {
    height: 27px;
}

.widget-content#serviceHistory .ui-multiselect,
.widget-content#deviceServiceHistory .ui-multiselect,
.widget-content dl.dropdown{
    width: 225px;
    max-height: 19px;
    padding-top: 1px !important;
    position: relative;
    top: -6px;
    left: -21px;
}

.widget-content dl.dropdown {
    left: 0;
}

    .widget-content dl.dropdown a {
        color: black !important;
    }

        .widget-content dl.dropdown a > span {
            top: -2px;
            position: relative;
        }

    .widget-content dl.dropdown ul {
        max-height: 200px !important;
    }

#showAllAssets {
    color: white !important;
    background: var(--color-action);
    display: block;
    width: 84px;
    height: 23px;
    vertical-align: middle;
    border-radius: 3px;
    margin-left: 48%;
    position: fixed;
    margin-top: 7px;
    padding-top: 7px;
}

    #showAllAssets:hover, #showAllAssets a:active, #showAllAssets a:visited {
        text-decoration: none !important;
    }

.tm-header .addButton {
    color: white !important;
    background: var(--color-action);
    display: block;
    border-radius: 3px;
    margin-top: -10px;
    float: right;
    text-align: center;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}



#AssetList input#approved {
    min-height: 18px;
    min-width: 18px !important;
    max-width: 18px !important;
    max-height: 18px;
}

#AssetList input[type="text"] {
    font-size: 12px !important;
}

.widget-properties dl.item-skinny-ish > dt {
    font-size: .9em;
}


.ui-menu-item a {
    font-size: 12px;
}

.rdoPrevService label {
    display: inline-block;
    vertical-align: middle;
    margin-top: -11px;
    margin-left: 10px;
}

#tagStatusTable .widget-table tr {
    line-height: 2;
}

.widget-properties dl.item-tall > dt.TagStatusDropdown {
    background: none;
    border: none;
}

#tagStatusTable .item-footer {
    margin-top: 45px;
    margin-left: 229px;
}

#cancelUpdateBtn {
    height: 35px;
    margin-left: 5px;
}

/*General Styles*/
html, body {
    background-color: white;
}

.select-option {
    width: 100px;
}

.widget-filter {
    display: none;
}

.widget-assetsassigned-m2-style table tbody tr td > div {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 270px;
}

textarea {
    resize: none;
}

.widget-table .table-filter .search-cont .filter-buttons .button#download-reports {
    position: relative;
    left: 262px;
    top: -70px;
    height: 50px;
}


