.app-header {
    background-color: #3c8dbc;
}
.app-header .navbar-brand {
    margin-left: 0.5rem;
}

.sidebar .sidebar-nav, .sidebar .sidebar-scroll, .sidebar .nav {
    width: 235px;
}
.sidebar .nav-link {
    padding: 0.75rem 0.25rem;
}


.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.text-red {
    color: #dd4b39 !important;
}
.pull-right {
    float: right;
}

.hidden {
    display: none;
}



/* design-request custom */

#crudTable .fa-bolt {
    color: red;
}
#crudTable .fa-arrow-up {
    color: red;
}

#crudTable .fa-play {
    color: green;
}
#crudTable .fa-pause {
    color: #FDAB3D;
}

#pl_component_table td.input-group  {
    display: table-cell;
}
#pl_component_table td.input-group select {
    width: calc(100% - 34px)!important;
    float: left;

}
#pl_component_table td.input-group select + .input-group-append {
    float: right;
    max-width: 34px!important
}
#pl_component_table td {
    vertical-align: middle ;
}
#pl_component_table td.input-group .btn {
    height: 38px;
}


/* Color Schemes List */

.ds_preset-0 {
    background-color: #ccc;
}
.ds_preset-2 {
    font-weight: bold;
}

.color-option {
    display: inline-flex;
    align-items: center;
}
.color-round {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border-radius: 20px;
    border: 1px solid #999;
    display: inline-block;
}


/* Cards */
#card_top_buttons a {
    margin-bottom: 4px;
}

#crudTable .Requestdetails {
    white-space: normal !important;
    min-width: 200px;
}
#crudTable .ID a, #crudTable .Requestdetails a {
    color: #000;
}

#crudTable .SellPrice,
#crudTable .DealerPrice,
#crudTable .Tier1,
#crudTable .Tier2,
#crudTable .Tier3,
#crudTable .SalePrice,
#crudTable .MAP,
#crudTable .CBM,
#crudTable .MSRP {
    text-align: right;
}



            .attachfile {
                background-color: #fff;
                margin: 4px;
                padding: 0 !important;
                border: 1px solid #999;
                color: #333 !important;
                font-weigth: bold;
                float: left;
                width: 240px;
                height: 238px;
                overflow: hidden;
            }
            .attachfile .thumb {
                height: 180px;
                width: 240px;
                object-fit: cover;
            }
            .attachfile a, .attachfile2 a {
                color: #fff !important;
            }
            .attach_name {
                line-height: 28px;
                padding: 0 3px;
                width: 170px;
                height: 32px;
                overflow: hidden;
                white-space: normal !important;
                word-break: break-all;
                font-size: 14px;
            }
            .attach-head {
                background-color: #ddd;
            }
            .attach-file-item a {
                margin-left: 10px !important;
                color: #000;
            }
            .attach_datetime {
                text-align: center;
                background-color: #ddd;
            }
            .attach_btn {
                width: 32px !important;
                cursor: pointer;
            }

            .cursor-pointer {cursor: pointer;}
            .s_model, .s_marker, .action-deletemark {
                cursor: pointer;
            }

            #fm-card-modalView .modal-dialog {
              min-width: 100%;
              height: 100%;
              margin: 0;
              padding: 0;
              text-align: center;
            }

            #fm-card-modalView .modal-content {
              height: auto;
              min-height: 100%;
              border-radius: 0;
            }
            #id_modalView_img {
                box-shadow: 3px 3px 10px #777;
                max-width: 100%;
                max-height: 100%;
            }
            #design_html a {
                color: #fff;
            }

.colorInput {
    max-width: 58px;
    min-width: 58px;
    border: 0px;
    cursor: pointer;
}
.notification-email-queue td.Status div{
    padding: 2px 10px;
    border-radius: 5px;
    text-align: center;
    /*font-weight: bold;*/
    color: white;
}

.bigCell {
    display: table;
    color: #000;
    text-align: center;
    min-height: 60px;
    width: 100%;
}
.bigCell span {
    display: table-cell;
    vertical-align: middle;
}

.mailSent {
    border-left: 5px solid blue;
}

.s_notes {
    position: relative;
}

.s_notes_button {
    position: absolute;
    top: 0;
    right: 12px;
    cursor: pointer;
}
.s_notes .s_notes-save, .s_notes .s_notes-cancel {
    display: none;
}

.structure-card .thumb {
    cursor: zoom-in;
}


.thumb2 {
    width: 60px;
}

.action-compcard-image {
    cursor: zoom-in;
}

#cardComponentImages {
    height: 680px;
    width: 290px;
    padding: 10px;
    background-color: #fff;
    text-align: center;
    border-radius: 20px;
    position: fixed;
    top: 5px;
    left: 5px;
}
#cardComponentImages .thumb {
    width: 240px;
    height: 180px;
}


.drinc {
    padding: 4px 7px;
    font-size: 18px;
}

.drinc200 {
    background-color: #eee;
}
.drinc500 {
    background-color: #e8ff00;
}
.drinc600 {
    background-color: #2ecc40;
}

.table-dark th {
    background-color: #467fd0;
}


.drPriorityReportRowTable {
    width: 100%;
}
.drPriorityReportRowTable thead tr th {
    color: black !important;
}


/*** backpack 6 fixes ***/

/* fix many blank pages in jsPDF.  It's a bug in CoreUI framework */
.table>:not(caption)>*>* {
    box-shadow: unset !important;
}

/* ckeditor */
.ck.ck-editor__main > .ck-editor__editable {
    min-height: 500px;
}

/* filters */
#filter_warehouse+.select2-container {
    min-width: 200px;
}

#filter_import+.select2-container,
#filter_requestTypes+.select2-container,
#filter_vendorId+.select2-container,
#filter_statuses+.select2-container,
#filter_categoryId+.select2-container {
    min-width: 300px;
}

.form-group.backpack-filter {
    width: 240px;
}

/* Hide TinyMCE links */
.tox-promotion, .tox-statusbar__branding {
    display: none;
}


/*
textarea {
    min-height: 180px !important;
}
*/

/* Issue Reports */
.custom-disabled {
    position: relative;
}

.custom-disabled .selection:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
    cursor: not-allowed;
    z-index: 1;
}

.custom-disabled .selection .select2-selection__clear {
    display: none;
}

.img240 .dropzone {
    padding: 0px;
}
.img240 .dropzone .dz-preview .dz-image {
    height: 100%;
    max-height: 240px;
    max-width: 240px;
    width: 100%;
}

.structure-info-card {
    min-height: 110px;
}

/* fix grid cell and three dots */
#crudTable_wrapper #crudTable tr th:first-child,
#crudTable_wrapper #crudTable tr td:first-child,
#crudTable_wrapper table.dataTable tr th:first-child,
#crudTable_wrapper table.dataTable tr td:first-child {
    display: table-cell !important;
}
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
    content: '▾' !important;
    background-color: #216595 !important;
}

.paginate_button a:focus,
#crudTable_previous a:focus,
#crudTable_next a:focus {
    background: unset;
    color: var(--cui-link-color);
}
