.bgrid {
    background-color: hsl(0, 0%, 100%);
    table-layout: auto;
    border: 1px solid #D4DBDE;
    background: #FFFFFF;
}

 .bgrid tbody td.group-col, .bgrid tbody td.clsTotal {
    font-weight: 600;
}

.bgrid thead tr {
    background: #EEF1F2;
    min-height: 36px;
}

.bgrid thead th {
    top: -1px;
    position: relative;
    position: sticky;
    color: #394447;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    background: #EEF1F2;
    padding: 9px 14px 10px 10px;
    border: 1px solid #D4DBDE;
    box-shadow: 1px 1px 1px 0px #D4DBDE;
    
}

.bgrid thead th.bgrid-header-sort-asc,
.bgrid thead th.bgrid-header-sort-desc
{
    background: #E5EAEB;
}

.bgrid thead th:first-of-type, .bgrid thead th:first-of-type button {
    border-top-left-radius: 4px;
}

.bgrid thead th:last-of-type {
    border-top-right-radius: 4px;
}
.bgrid-calendar thead th:nth-of-type(2) {
    border-top-left-radius: 4px;
}

.bgrid tbody td {
    font-size: 14px;
    line-height: 17px;
    padding: 10px;
    max-width: 400px;
    overflow: hidden;
    border: 1px solid #E5EAEB;
}

.range-field {
    position: relative;
}

.bgrid tbody tr:nth-of-type(even) {
    background: #F8F9F9;
}

.bgrid tbody tr.selected {
    background-color: #F2FCED;
}

.bgrid .bgrid-header {
    white-space: nowrap;
}

.bgrid-calendar .bgrid-header {
    white-space: normal !important;
}

.bgrid .bgrid-header th {
    padding: 0px;
}

.bgrid-header th button {
    font-family: Source Sans Pro !important;
    position: relative;
    text-align: left;
    padding: 10px;
    width: 100%;
    height: 100%;
}

.bgrid .bgrid-header .bgrid-header-menu-btn {
    position: absolute;
    background: url('images/table_arrow_unselect.svg') no-repeat center;
    width: auto;
    right: 0;
}

.bgrid .bgrid-header th.filter-highlight .bgrid-header-menu-btn {
    background: url('images/table_arrow_select.svg') no-repeat center;
}

.bgrid .bgrid-header .dropdown-menu  {
    transform: translate(0px, 38px) !important;
    border: 1px solid #E5EAEB;
    box-shadow: 0px 2px 6px rgba(57, 68, 71, 0.3);
    border-radius: 0px 0px 4px 4px;
    padding: 0;
    min-width: 100%;
}

.bgrid .bgrid-header .dropdown-menu-item a {
    padding: 12px 12px 11px 12px;
    color: #394447;
}

.filter-highlight {
    background: #F2FCED !important;
}

.bgrid .bgrid-header th.bgrid-header-sort-asc button.bgrid-header-btn:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 10px;
    top: 12px;
    width: 12px;
    height: 12px;
    background: url('images/keyboard_arrow_asc.svg') no-repeat;
    background-size: contain;
    background-position: 50%;
    transform: rotate(180)
}
.bgrid .bgrid-header th.bgrid-header-sort-desc button.bgrid-header-btn:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 10px;
    top: 12px;
    width: 12px;
    height: 12px;
    background: url('images/keyboard_arrow_desc.svg') no-repeat;
    background-size: contain;
    background-position: 50%;
}

.bgrid-header .bgrid-header-sort-asc button,.bgrid-header .bgrid-header-sort-desc button {
    padding-left: 22px;
}

.bgrid td[class*='inner_clsPresStyle'] > a {
    white-space: nowrap;
}


/* slider */

    .summaryReport {
        position: relative;
    }

    .summaryReport ul.bslider-inner li {
        border-left: 2px solid #8DDB60;
    }

    .bsliderWidget {

    }

    .bslider-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 80px;
        padding-left: 16px;
        width: 264px;
        align-items: flex-start;
     }

    .bslider-container a{
        color: #00763E;
        cursor: pointer;
    }

    .bslider-item-title {
        font-style: normal;
        font-weight: 600;
        font-size: 36px;
        line-height: 36px;
        color: #394447;
        position: relative;
    }

    .bslider-item-value {
        font-style: normal;
        font-weight: normal;
        font-size: 14px;
        line-height: 17px;
        color: #606F73;
    }

    .bslider-item-delta {
        position: absolute;
        font-weight: 600;
        font-size: 14px;
        line-height: 17px;
        margin-left: 5px;
    }

    .bslider-item-delta.positive {
        color:  #00A657;
    }

    .bslider-item-delta.negative {
        color: #EA1B1B;
    }

    .bslider-outer {
        margin: 0 30px 20px;
        overflow: hidden;
    }

    .bslider-inner {
        transition-duration: 0.5s;
    }



    .bslider-button {
        position: absolute;
        min-width: 20px;
        min-height: 20px;
        top: 25px;
        top: calc(50% - 32.5px);
        display: none;
    }

    .bslider-button.icon-arrow-left-1 {
        left: 0px;
    }
    .bslider-button.icon-arrow-right-1 {
        right: 0px;
    }

    .bslider-pages {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .bslider-pages li {
        border-left: none;
        margin-right: 8px;
    }

    .bslider-page {
        border-radius: 50%;
        border: 1px solid #C2CBCF;
        width: 8px;
        height: 8px;
        display: block;
    }

    .bslider-page.selected {
        background-color: #C2CBCF;
    }

/** toolbar **/
.bgrid-title {
    color: #FFFFFF;
}

.bgrid-toolbar {
    padding: 0 32px;
    height: 100px;
    height: var(--tb-height);
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
    transition-duration: 0.5s;
}

.widget .bgrid-toolbar, .right-popup .bgrid-toolbar {
    height: auto;
    background: #FFFFFF;
    position: static;
    margin:16px 0 16px;
    padding: 0;
}

.right-popup .bgrid-toolbar {
    margin: 16px;
}

.right-popup-body.bgrid-wrap {
    padding: 0 16px;
    overflow: visible;
}

.widget .bgrid-toolbar .bgrid-title, .right-popup .bgrid-toolbar .bgrid-title {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    color: #526061;
    line-height: 25px;
    height: 25px;
}

.widget .bgrid-toolbar .bgrid-record-count,  .right-popup .bgrid-toolbar .bgrid-record-count,
.bgrid-toolbar .bgrid-record-count.bgrid-record-count-normal{
    color: #526061;
    margin-top: 0;
}

.widget .bgrid-toolbar .icon-download-bottom, .right-popup .bgrid-toolbar .icon-download-bottom
, .bgrid-toolbar .bgrid-btn-neutral {
    color: #87949B;
    background: #FFFFFF;
    font-size: 18px;
    width: 36px;
    height: 36px;
    padding: 0;
}

.widget .bgrid-toolbar .icon-download-bottom:hover,  .right-popup .bgrid-toolbar .icon-download-bottom:hover
, .bgrid-toolbar .bgrid-btn-neutral:hover
{
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.widget .bgrid-toolbar .icon-download-bottom:active,  .right-popup .bgrid-toolbar .icon-download-bottom:active
, .bgrid-toolbar .bgrid-btn-neutral:active
{
    background: #f8f9fa;
    border: 1px solid #f8f9fa;
    outline: none;
}

.widget .bgrid-toolbar .icon-download-bottom:focus, .right-popup .bgrid-toolbar .icon-download-bottom:focus
, .bgrid-toolbar .bgrid-btn-neutral:focus {
    box-shadow: none;
}

.widget table.bgrid {
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
}

.widget table.bgrid thead th {
    box-shadow: none;
    border: 0;
    z-index: 1;
}

.widget table.bgrid tbody td.selected {
    background: #F9FFF5;
    mix-blend-mode: darken;
    border: 1px solid #00A657;
}

table.bgrid a {
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    text-decoration-line: underline;
    color: #00763E;
}

.widget table.bgrid tbody tr:nth-of-type(even) {
    background: #FFFFFF;
}


.seq-container.full-screen .bgrid-toolbar +.bgrid-wrap .bgrid-header th {
    top: 100px;
    top: var(--tb-height);
    transition-duration:0.5s;
}

.bgrid-fixed-toolbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

.seq-container.full-screen .bgrid-fixed-toolbar {
    position: fixed;
    background: #394447;
    width: 100%;
    padding: 32px;
    z-index: 1;
    left: 0;
    align-items: center;
    top: 0;
    transition-duration: 0.5s;
}

.showNav .seq-container.full-screen .bgrid-toolbar +.bgrid-wrap .bgrid-header th {
    top: calc(var(--tb-height) + var(--nav-small));
}

.showNav .seq-container.full-screen .bgrid-toolbar {
    top:  var(--nav-small);
}

.showNav .seq-container.full-screen .bgrid-fixed-toolbar, .showNav .right-popup {
    top: 56px;
    top:  var(--nav-small);
}
.showNav .right-popup {
    height: calc(100% - 56px);
}

.bgrid-toolbar-buttons {
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
}

.bgrid-toolbar-buttons .btn-group {
    flex-wrap: wrap;
}

.bgrid-toolbar-buttons .bgrid-btn-primary {
    background: #00A657;
    color: #fff;
    border-radius: 4px !important;
}

.bgrid-toolbar-buttons .bgrid-btn-primary:hover {
    background: #00763E;
}

.bgrid-toolbar-buttons .btn.icon-download-bottom, .bgrid-toolbar-buttons .btn.icon-filter-2 {
    padding: 0;
    width: 36px;
    height: 36px;
}

.bgrid-toolbar-buttons .bgrid-btn-primary:focus {
    box-shadow: none;
}

.bgrid-record-count {
    color: #fff;
    font-style: italic;
    margin-top: 10px;
}


.bgrid-toolbar-top {

}

.bgrid tr td .tdBadge {
    border-radius: 12px;
    max-width: 30px;
    font-style: normal;
    font-weight: bold;
    color: inherit;
    line-height: 22px;
    display: block;
    margin: auto;
    text-decoration: none !important;
}


.bgrid td a.tdBadge:hover {
    text-decoration: none;
    color: inherit;
}



/* CALENDAR VIEW */

    table.bgrid-calendar {
        border-collapse: separate;
        border-spacing: 0;
        border: none;
    }

    .bgrid-calendar tr:first-of-type th:not(:first-of-type) {
        background: #EEF1F2;
        text-align: center;
        position: static;
        padding: 0 3px;
    }

    .bgrid-calendar tbody tr:nth-of-type(even) {
        background: none;
    }

    .bgrid-calendar thead th, .bgrid-calendar thead th button {
        font-style: normal;
        font-size: 12px;
        line-height: 17px;
        position: static;
        box-shadow: none;
        font-weight: 600;
    }

    .bgrid-calendar tbody td:first-of-type {
        line-height: 17px;
        position: static;
        box-shadow: 1px 0px #e5eaeb;
    }

    .bgrid-calendar tbody tr {
        height: 37px;
    }

    .bgrid-calendar tr:first-of-type th {
        color: #394447;
    }

    .bgrid-calendar tr:first-of-type th button {
        border: none;
        padding: 0;
        text-align: center !important;
    }

    .bgrid-calendar tr:first-of-type th button:focus {
        outline: none;
    }

    .bgrid-calendar tr td:first-of-type, .bgrid-calendar thead th:first-of-type, .bgrid-calendar thead th:first-of-type button{
        color: #606F73;
        border: none;
        background: #FFFFFF;
        width: 1%;
        white-space: nowrap;
        text-align: right;
    }

    /* table content */
    .bgrid-calendar tbody td:not(:first-of-type) {
        width: 37px;
        max-width: 37px;
        min-width: 37px;
        text-align: center;
        position: relative;
        padding: 0;
        border: none;
        border-bottom: 1px solid #E5EAEB;
        border-right: 1px solid #E5EAEB;
    }

    .bgrid-calendar tbody td.selected:not(:first-of-type) {
        background: #F9FFF5;
        mix-blend-mode: darken;
        border: 1px solid #00A657;
    }

    .bgrid-calendar td:not(:first-of-type)
    {
        border-bottom: 1px solid #E5EAEB;
        padding: 0 !important;
    }

    .bgrid-calendar tr td a {
        border-radius: 12px;
        max-width: 30px;
        font-style: normal;
        font-weight: bold;
        font-size: 12px;
        color: inherit;
        line-height: 22px;
        display: block;
        margin: auto;
        text-decoration: none !important;
    }


    .bgrid-calendar tr:not(:first-of-type) td a:hover {
        text-decoration: none;
        color: inherit;
    }

    col.regular {
        border-left: 1px solid #E5EAEB;
        border-top: 1px solid #E5EAEB;
        border-bottom: 1px solid #E5EAEB;
    }

    col.regular-right {
        border-top: 1px solid #E5EAEB;
        border-bottom: 1px solid #E5EAEB;
        border-right: 1px solid #E5EAEB;
    }
    colgroup.selected {
        border: 1px solid #00A657;
        background: #F9FFF5;
    }


    #colcount {
        border: 1px solid #E5EAEB;
    }

    .bgrid-wrap .alert, .mapboxgl-map .alert {
        margin-bottom: 0px;
    }
/* bgrid accordion */
.bgrid-accordion thead th, .bgrid-list thead th {
    white-space: nowrap;
    padding: 0px 16px;
}

.bgrid-accordion tr td button, .bgrid-accordion caption button, .bgrid-list tr td button{
    color: #606F73;
}

.bgrid-accordion tr td, .bgrid-accordion caption {
    font-weight: 600;
    font-size: 16px;
    line-height: 23px;
    color: #606F73;
    display: block;
    align-items: center;
}

.bgrid-accordion caption {
    caption-side: top;
    white-space: nowrap;
    padding: 0;
}

.bgrid-accordion tr td:first-child {
    margin-bottom: 8px;
}

.bgrid-accordion tr {
    display: block;
    padding: 12px 16px;
    background: #FFFFFf;
    margin-bottom: 8px;
    border-radius: 4px;
}

.bgrid-accordion caption .collapse-button:before {
    font-family: 'Streamline-Bold';
    content: "\e906";
}

.bgrid-accordion caption .collapse-button.collapsed:before {
    font-family: 'Streamline-Bold';
    content: "\e90c";
}

/* bgrid list */
.bgrid-list thead {
    display: none;
}

.bgrid-list thead th {
    white-space: nowrap;
    padding: 0 16px;
}
.bgrid-list thead th button {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
}

.bgrid-list tbody tr {
    display: block;
    padding: 12px 16px 0;
    background: #FFFFFf;
    margin-bottom: 8px;
    position: relative;
}

.bgrid-list tbody tr.last-row td:first-child {
    border-bottom-left-radius: 4px;
}

.bgrid-list tbody tr.last-row td:last-child {
    border-bottom-right-radius: 4px;
}

.bgrid-list tbody tr.selected {
    background: #F2FCED;
    box-shadow: inset 0px -1px 0px #E5EAEB;
}

.bgrid-list tr td {
    display: block;
    font-size: 14px;
    line-height: 17px;
    color: #394447;
    margin-bottom: 8px;
}

.bgrid-list tr td .cv {
    display: inline-block;
    padding: .375rem .75rem;
    border-radius: 4px;
    border: 1px dotted white;
    min-width: 36px;
    min-height: 36px;
    line-height: 20px;
}
.bgrid-list tr:hover td .cv {
    border-color: #C2CBCF;
    cursor: pointer;
}

.bgrid-list tbody td button.icon-bin {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 16px;
}

.bgrid-list tbody td a {
    color: #00763E;
}

.bgrid-list tr.first-row td:first-child {
    border-top-left-radius: 4px;
}

.bgrid-list tr.first-row td:last-child {
    border-top-right-radius: 4px;
}

.bgrid-list-toolbar {
    display: flex;
    padding: 0 32px;
    width: 100%;
    height: 72px;
    background: #F8F9F9;
    border-bottom: 1px solid #E5EAEB;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    left: 0;
    top: 0;
}

.tab-page-toolbar.d-flex + .tab-page-main, .bcards-toolbar-top + .tab-page-main {
    height: calc(100% - 72px);
}



/*************************/
/** BCARD ****************/
/*************************/

.bcards {
    margin: 32px 16px;
}

.bcard {
    background: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #fff;
    margin: 0 auto;
    padding: 12px 16px;
}
.bcard-editable {
    border: 1px solid #00A657;
}
.bcards-wrap {
    width: 100%!important;
}
.bcard-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}
.bcard-col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding-left: 8px;
    padding-right: 8px;
    position: relative;
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    line-height: 17px;
    color: #394447;
}

.span-text {
white-space: break-spaces;
    max-height: 75px;    
}

.bcard-title {
    font-size: 20px;
    font-weight: 600;
}
.bcard-col label {
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    margin: 0px 10px 5px 0;
}
.bcard-col-lbl {
    display: block;
}
.bcard-col-lbl-inline {
    display: inline-block;
}
.bcard-col input[type=checkbox] {
    margin-top: 7px;
}

.bcard:not(:first-of-type) {
    margin-top: 12px;
}

.bcard .cv:not(.popform-single) {
    display: inline-block;
    padding: .375rem .75rem;
    border-radius: 4px;
    border: 1px solid white;
    min-width: 36px;
    min-height: 36px;
    line-height: 20px;
}

.bcard-editable .bcard-row:not(:last-child) [class^="bcard-col"] {
    margin-bottom: .75rem;
}

[class^="bcard-col"]:hover:not(.cellReadonly) .cv {
    border-color: #d6dfe3;
    cursor: pointer;
}

.bcard .ev {

}


.bcard-col-1, .bcard-col-2,.bcard-col-3,
.bcard-col-4,.bcard-col-5,.bcard-col-6,
.bcard-col-7,.bcard-col-8,.bcard-col-9,
.bcard-col-10,.bcard-col-11,.bcard-col-12 {
    position: relative;
    width: 100%;
    padding-right: 8px;
    padding-left: 8px;
}

.bcard-col-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}
.bcard-col-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}
.bcard-col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}
.bcard-col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}
.bcard-col-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}
.bcard-col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
.bcard.col-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}
.bcard-col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}
.bcard-col-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
}
.bcard-col-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}
.bcard-col-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}
.bcard-col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;;
}

/* bCard Toolbar */
.bcards-toolbar {
    padding: 9px 16px;
    height: 72px;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
    transition-duration: 0.5s;
    background: #F8F9F9;
    border-bottom: 1px solid #E5EAEB;
}
.bcards-fixed-toolbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

.bcards-title {
    display: inline-block;
    font-weight: 600;
    font-size: 20px;
    line-height: 36px;
    color: #394447;
    white-space: nowrap;
    margin: 0;
}

.bcards-toolbar-center {
    display: flex;
}

.bcards-toolbar-right {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    white-space: nowrap;
}






@media only screen and (min-width: 600px) {
    .showNav .seq-container.full-screen .bgrid-toolbar +.bgrid-wrap .bgrid-header th {
        top: calc(100px + var(--nav-medium));
    }
    
    .showNav .seq-container.full-screen .bgrid-toolbar {
        top:  var(--nav-medium);
    }

    .showNav .seq-container.full-screen .bgrid-fixed-toolbar, .showNav .right-popup {
        top: 72px;
        top:  var(--nav-medium);
    }

    .showNav .right-popup {
        height: calc(100% - 72px);
    }

    .bcards-toolbar {
        padding: 9px 32px;
    }
    
}

@media only screen and (min-width: 1024px) {

    .bgrid-list {
        display: table;
        border-spacing: 0;
        border-collapse: separate;
    }

    .bgrid-list thead {
        display: table-header-group;
    }

    .bgrid-list tbody tr, .bgrid-list thead tr {
        display: table-row;
    }

    .bgrid-list tr td {
        display: table-cell;
        padding: 15px 16px;
    }


    .bgrid-list tbody td button.icon-bin {
        position: static;
    }
}

@media only screen and (min-width: 1440px) {
    .showNav .seq-container.full-screen .bgrid-toolbar +.bgrid-wrap .bgrid-header th {
        top: calc(var(--tb-height) + var(--nav-large));
    }
    
    .showNav .seq-container.full-screen .bgrid-toolbar {
        top:  var(--nav-large);
    }

    .showNav .seq-container.full-screen .bgrid-fixed-toolbar, .showNav .right-popup {
        top: 80px;
        top:  var(--nav-large);
    }

    .showNav .right-popup {
        height: calc(100% - 80px);
    }

    .widget .bgrid-toolbar {
        /* padding: 0 35px; */
    }
}