/*custom css by sajid*/

.label-checkbox {
    padding-top: 3px !important;
    /*   font-weight: 500;
    color: #3C4858;*/
}

.btn.btn-just-icon {
    margin-top: 0px;
}

.togglebutton {
    margin-top: 7px;
}

.result-info {
    width: 100%;
}


/* avoid wrapping table headers */

table th {
    white-space: nowrap;
    color: #9c27b0;
    vertical-align: top !important;
}

table th .fa:before {
    font-size: 0.8em;
    color: #9c27b0;
}

table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 30vw;
}

table td.select-option {
    overflow: visible !important;
}

table .td-actions .togglebutton label .toggle {
    overflow: visible;
}

table .td-actions .togglebutton label input[type=checkbox]:checked+.toggle:after {
    border-color: rgba(0, 156, 255, 0.9);
}

table .td-actions .togglebutton label input[type=checkbox]:checked+.toggle {
    background-color: rgba(0, 156, 255, 0.9);
}


/* print styles */

.workorder-print {
    font-size: 2em;
}

.workorder-print .row {
    margin-bottom: 1em;
}

.workorder-print label {
    display: inline-block;
    margin-right: 20px;
    font-size: 1.5em;
    line-height: 1.3;
    color: #666666;
}

.workorder-print span {
    display: inline-block;
    font-size: 1.5em;
    line-height: 1.3;
    color: #333333;
}


/* work order detail timeline */

.tm {
    padding: 20px 10px;
    display: inline-block;
    margin-right: 3px;
}

.tm label {
    display: block;
}

.tm.picked {
    background: #ffed4a;
}

.tm.workshoped {
    background: #9561e2;
}

.tm.working {
    background: #f66d9b;
}

.tm.fixed {
    background: #38c172;
}

.tm.dropready {
    background: #f6993f;
}

.tm.dropped {
    background: #4dc0b5;
}

.tm.received {
    background: #6cb2eb;
}

.tm.out_labelled {
    background: #e3342f;
}

.tm.canceled {
    background: #9561e2;
}


/* print styles */

.workorder-print label {
    display: inline-block;
    margin-right: 10px;
    font-size: 17px;
    line-height: 1.3;
    color: #666666;
}

.workorder-print span {
    display: inline-block;
    font-size: 17px;
    line-height: 1.3;
    color: #333333;
}


/* styles for workorder status */

.collapse-row td {
    border-top: none;
}

.status-row {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.status-item-container {
    display: flex;
    flex-wrap: nowrap;
}

.status {
    display: inline-block;
    text-align: center;
    height: 120px;
    text-transform: capitalize;
    color: black;
}

.status.working {
    background-color: #EB548C;
}
.status.diagnosed {
    background-color: #ab3a64;
}

.status.workshoped {
    background-color: #DB4CB2;
}

.status.created {
    background-color: #7D3AC1;
}

.status.fixed {
    background-color: #EA7369;
}

.status.drop_ready {
    background-color: #F0A58F;
}

.status.picked {
    background-color: #AF4BCE;
}

.status.dropped {
    background-color: #EE9A3A;
}

.status.on_hold {
    background-color: #C02323;
}

.status.received {
    background-color: #FCEAC6;
}

.status.out_labelled {
    background-color: #e3342f;
}

.status.canceled {
    background-color: #9561e2;
}

.status>span {
    display: inline-block;
    transform-origin: bottom left;
    transform: rotate(88deg);
    font-weight: 600;
}

.days-container {
    display: flex;
    flex-wrap: nowrap;
}

.days-container:last-child {
    border-right: none;
}

.day {
    height: 24px;
    display: inline-block;
    text-align: center;
    color: #0a0a0a;
    font-weight: 600;
    /* padding: 10px 10px; */
    background-color: gray;
    border-right: 1px solid #ffffff
}

.warnRowColor{
    background: #ffb6b65a  !important;
}

.retireRowColor{
    background: #b2afaf72  !important;
}

.inactiveRowColor{
    background: #29282872  !important;
}
.rowColor{
    background: #e1f7cc !important;
}

.celltechRowColor{
    background: #d6e2f9 !important;
}
.errorMsg{
    color: red;
    margin-left: 60px;
    font-size: 14px;
}

.scanned_repair_part {
    background-color: #70fb54 !important;
}

.swal2-label{
    font-size: 24px !important;
    margin-bottom: 0px !important;
}

input.livewire-search-fields {
    margin: 0.3125rem 1px;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.42857;
    padding: 12px 6px;
}

input#serialno {
    margin: 0.3125rem 1px;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.42857;
    border: 0;
    border-radius: 0.2rem;
    padding: 12px 30px;
    width: 62%;
}
.form-width{
    width: 100%;
}

.extra-attr-rm{
    color: red;
    margin-top: 15px;
}

.center-attr-btn{
    align-items: center;
    display: block;
}

.form-width{
    width: 100%;
}
