.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

/*.select2 {
    max-width: 100%;
    width: 100% !important;
}*/

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.search{
    width: 100%;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar{
    background: #65737E;
}

.c-sidebar .c-sidebar-brand{
    background: #65737E;
}

.c-sidebar .c-sidebar-nav-link.c-active{
    background: #4F5B67 ;
}

.c-sidebar .c-sidebar-nav-link:hover, .c-sidebar .c-sidebar-nav-dropdown-toggle:hover{
    background: #A7ADBA;
}

.c-sidebar .c-sidebar-nav-dropdown.c-show{
    background: #343D46;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

.cart-item-thumb {
    display: block;
    width: 10rem
}

.cart-item-thumb>img {
    display: block;
    width: 100%
}

.product-card-title>a {
    color: #222;
}

.font-weight-semibold {
    font-weight: 600 !important;
}

.product-card-title {
    display: block;
    margin-bottom: .75rem;
    padding-bottom: .875rem;
    border-bottom: 1px dashed #e2e2e2;
    font-size: 1rem;
    font-weight: normal;
}

.text-muted {
    color: #888 !important;
}

.bg-secondary {
    background-color: #f7f7f7 !important;
}

.accordion .accordion-heading {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: bold;
}
.font-weight-semibold {
    font-weight: 600 !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.colored-toast.swal2-icon-success {
  background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
  background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
  background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
  background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
  background-color: #87adbd !important;
}

.colored-toast .swal2-title {
  color: white;
}

.colored-toast .swal2-close {
  color: white;
}

.colored-toast .swal2-html-container {
  color: white;
}

table.dataTable>tbody>tr.child ul.dtr-details{
    width: 100%;
}

table.dataTable>tbody>tr.child span.dtr-title{
    display: block;
}

table.dataTable>tbody>tr.child span.dtr-data{
    display: block;
    width: 280px;
}

table.table-vertical>tbody>tr.even{
    background-color: rgba(0,0,21,.05);
}

#promoterTaskListPlayer{
    border: 1px solid black;
    padding: 5px;
}

#promoterTaskListCanvas{
    border: 1px solid black;
    padding: 5px;
}

/*
Max width before this PARTICULAR table gets nasty. This query will take effect for any screen smaller than 760px and also iPads specifically.
*/
@media
  only screen 
and (max-width: 760px), (min-device-width: 768px) 
and (max-device-width: 1024px)  {

    /* Force table to not be like tables anymore */
    table.vertical-responsive, .vertical-responsive thead, .vertical-responsive tbody, .vertical-responsive th, .vertical-responsive td, .vertical-responsive tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .vertical-responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .vertical-responsive tr {
      margin: 0;
    }
  
    .vertical-responsive tr:nth-child(odd) {
      background: #ccc;
    }

    .vertical-responsive td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    .vertical-responsive td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 0;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    /*
    Label the data
You could also use a data-* attribute and content for this. That way "bloats" the HTML, this way means you need to keep HTML and CSS in sync. Lea Verou has a clever way to handle with text-shadow.
    */
    .promoterTaskList-responsive-dataTable td:nth-of-type(1):before { content: attr(data-name); }
    .promoterTaskList-responsive-dataTable td:nth-of-type(2):before { content: attr(data-t-qty); }
    .promoterTaskList-responsive-dataTable td:nth-of-type(3):before { content: attr(data-o-qty); }
    .promoterTaskList-responsive-dataTable td:nth-of-type(4):before { content: attr(data-l-qty); }
    .promoterTaskList-responsive-dataTable td:nth-of-type(5):before { content: attr(data-remark); }

    .promoterTaskList-clockInClockOut-responsive-dataTable td:nth-of-type(1):before { content: attr(data-no); }
    .promoterTaskList-clockInClockOut-responsive-dataTable td:nth-of-type(2):before { content: attr(data-name); }
    .promoterTaskList-clockInClockOut-responsive-dataTable td:nth-of-type(3):before { content: attr(data-time-start); }
    .promoterTaskList-clockInClockOut-responsive-dataTable td:nth-of-type(4):before { content: attr(data-clock-in-image); }
    .promoterTaskList-clockInClockOut-responsive-dataTable td:nth-of-type(5):before { content: attr(data-time-end); }
    .promoterTaskList-clockInClockOut-responsive-dataTable td:nth-of-type(6):before { content: attr(data-clock-out-image); }
    .promoterTaskList-clockInClockOut-responsive-dataTable td:nth-of-type(7):before { content: attr(data-status); }

    .timeEntries-responsive-dataTable td:nth-of-type(1):before { content: attr(data-clock-in-image); }
    .timeEntries-responsive-dataTable td:nth-of-type(2):before { content: attr(data-clock-out-image); }

    .adjustmentEntries-responsive-dataTable th:nth-of-type(1):before { content: attr(data-index); }
    .adjustmentEntries-responsive-dataTable td:nth-of-type(1):before { content: attr(data-name); }
    .adjustmentEntries-responsive-dataTable td:nth-of-type(2):before { content: attr(data-in-qty); }
    .adjustmentEntries-responsive-dataTable td:nth-of-type(3):before { content: attr(data-out-qty); }
    .adjustmentEntries-responsive-dataTable td:nth-of-type(4):before { content: attr(data-remark); }
    .adjustmentEntries-responsive-dataTable td:nth-of-type(5):before { content: attr(data-action); }
}

.loading {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    z-index: 998;
    display: none;
}

.loading-show{
    display: block;
}

.loading-wheel {
    width: 20px;
    height: 20px;
    margin-top: -40px;
    margin-left: -40px;
    
    position: absolute;
    top: 50%;
    left: 50%;
    
    border-width: 30px;
    border-radius: 50%;
    -webkit-animation: spin 1s linear infinite;
}

.style-2 .loading-wheel {
    border-style: double;
    border-color: #ccc transparent;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(-360deg);
    }
}