﻿/* bt */

.bt {
    margin-bottom: 20px;
}

.bt .input-group,
.bt input,
.bt select,
.bt textarea,
.bt .dropdown {
    max-width: 100% !important;
}

.bt a {
    cursor: pointer;
}
.hidden{
    display: none!important;
}

.bt .dropdown-menu {
    min-width: 200px;
}

.bt hr {
    margin: 10px 0;
}

/* bt-header */

.bt-header {
    position:relative;
}

.bt-reorder-col-header {
    width: 50px;
    min-width: 50px;
}

    .bt-reorder-col-header > div {
        width: 100%;
    }

.bt-reorder-check {
    display: none;
}

.bt-filters{
    margin:0px;
    min-width: 70px;
}

.bt-clonable-filter.hidden{
    display:none;
}

.bt-filters-badge {
    font-size: 0.8em;
    width: 24px;
    text-align: center;
    padding: 2px 0;
    color:#212529;
}

.bt-filters.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1026; /* must be higher than table header, but lower than navbar */
    width: calc(100%);
    padding: 5px;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 0px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.open.dropdown-menu {
    display: block;
}

.bt-filters .row {
    padding: 15px 0;
    position: relative;
}
.bt-filters .row:not(:last-child) {
    border-bottom:3px solid #ddd;
}

.bt-filters .btn {
    width:100%;
}

.bt-filter table {
    width: 100%;
}

/*.bt-filter td:first-child,
.bt-filter td:last-child {
    width: 50%;
}*/

.bt-filter.active {
    background-color: #eee;
}

.bt-filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background-color: #eee;
    opacity: .4;
}

.bt-fcs-bar {
    margin-bottom: 15px;
}

@media (min-width: 992px) {
    .bt-fcs-bar {
        margin-bottom: 0;
    }
}

.bt-fcs-save .fa-check {
    position: absolute;
    right: calc(100% + 12px);
    line-height: inherit;
}

.bt-fc-list {
    max-height: 220px;
    overflow-y: auto;
}

.bt-fc > .row {
    padding: 0;
}

.bt-fc mark {
    padding: 0;
}

.bt-fc-lock {
    vertical-align: middle;
    cursor: pointer;
}

.bt-fc-name {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
}
.bt-search-wrapper > .input-group-prepend > .btn:first-child,
.bt-search-wrapper > input:first-child {
    border-bottom-left-radius: 0;
}
.bt-search-wrapper > .input-group-append > :not(.dropdown-menu):last-of-type,
.bt-search-wrapper > input:last-child {
    border-bottom-right-radius: 0;
}
.bt-search-text {
    width: 100%;
    max-width: 100%;
}
.bt-search-clr {
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    margin-top: -7px;
    z-index: 3;
    color: rgba(144, 143, 143, 0.35);
    cursor: pointer;
}

.bt-search-col-dark {
    color:lightsteelblue !important;
}

.bt-column-options-menu {
    padding: 5px;
    margin: 0;
    position: absolute;
    top: 100%;
    right: 0;
    width: 400px;
    left: auto;
    border-radius: 0px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1027; /* must be higher than table header, but lower than navbar */
}

.bt-search-column-options-label {
    white-space: nowrap;
}

.bt-select-column-toggle,
.bt-search-column-toggle {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
}

/* bt-body */

.bt-body {
    position: relative;
}

.bt-overlay {
    display: none;
    position: absolute;
    width: 100%;
    top: 35px;
    bottom: 0;
    z-index: 1021;
    text-align: center;
    background-color: rgba(144, 143, 143, 0.35);
}

.bt-loading {
    display: table;
    position: absolute;
    height: 30px;
    width: 150px;
    top: 50%;
    left: 50%;
    margin-top: -15px;
    margin-left: -75px;
    background-color: white;
    border-radius: 5px;
    opacity: 0.75;
}

.bt-loading-msg {
    vertical-align: middle;
    display: table-cell;
}

.bt-loading-dots {
    display: inline-block;
    text-align: left;
    width: 15px;
}

.bt-filter-add{
    max-width:100px !important;
}
.bt-filters-apply{
    max-width:150px !important;
}
.bt-thead{
    letter-spacing: 1px;
}
    /*.bt-thead th:not(:last-child) {
        border-right-color: #dee2e6 !important;
    }*/

    .bt-thead th {
        z-index: 1020; /* more than most items, but less than popover */
        position: relative; /* for older browsers */
        position: sticky;
        top: 0;
        box-shadow: 0 0 0 1px #32383e; /* simulates border so color should be same as border */
    }

.bt-col-header {
    vertical-align: top !important;
    overflow-x: hidden;
}
.bt-thead .bt-checkbox-col {
    vertical-align: middle !important;
    text-align: center;
    width: calc(24px + 1.2em);
    min-width: calc(24px + 1.2em);
    z-index: 1025; /* higher than other ths */
    left: 0; /* stick to left */
}
.bt-checkbox-cell {
    z-index: 1020; /* more than most items, but less than popover */
    position: relative; /* for older browsers */
    position: sticky;
    left: 0;
    background-color: white;
    box-shadow: 0 0 0 1px #dee2e6; /* simulates border so color should be same as border */
}
.bt-table {
    table-layout: fixed;				 
    margin: 0;
}

.bt-table td {
    vertical-align: top !important;
}

.bt-clickable {
    cursor: pointer;
}

.bt-reorder-handle {
    text-align: center;
    cursor: pointer;
}

.bt-cell:not(.bt-editable-cell) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bt-table input[type="checkbox"] {
    display: block;
    margin: 4px auto 0 auto;
    height: 1.2em;
    width: 1.2em;
}

.bt-action-bar {
    display: none;
    position: absolute;
    z-index: 5;
    padding: 5px;
    /*background-color: white;*/
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

    .bt-action-bar .btn {
        min-width:80px;
    }

/*.bt-selected > td,
.bt-action-bar {
    background-color: #add8e6;
}*/

/* bt-footer */

.bt-footer-well {    
    display: inline-block;
    background: white;
    margin: .5em 0;
    padding: 2px 4px;
    border-radius: 4px;
}

@media screen and (max-width: 1000px){
    .hidden-sm-down{
        display:none;
    }
}

.bt-options.dropdown-menu {
    color: black;
    padding: 5px;
}

    .bt-options.dropdown-menu .btn-group {
        width: 100%;
    }

        .bt-options.dropdown-menu .row {
            margin-top: 5px;
            margin-bottom: 5px;
        }

        .bt-options.dropdown-menu .row > div {
            line-height: 30px;
            padding-left: 5px;
            padding-right: 5px;
        }

    .bt-options.dropdown-menu .btn {
        width: 100%;
    }

.bt-page {
    width: 6em !important;
    text-align: center;
    /* Firefox remove number spinner */
    -moz-appearance: textfield;
}
    /* Chrome, Safari, Edge, Opera remove number spinner */
    .bt-page::-webkit-outer-spin-button,
    .bt-page::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

.btn.bt-info {
    cursor: default;
    min-width: 149px;
}

div.bt-info {
    color: black;
    padding: 8px;
}

.row-btn-cursor{
    cursor: pointer;
}

.overflow-auto {
    overflow: auto;
}
.overflow-hidden {
    overflow: hidden;
}

.bootstrap-datetimepicker-widget th,
.bootstrap-datetimepicker-widget td {
    border: none !important;
    padding: 0 !important;
    background-color: white;
}

.bt-legend-cell{
    text-align: center;
}

.bt-table-scroll {
    overflow-y: auto;
}