﻿

@media (min-width: 1360px) {
    .modal-xl {
        max-width: 1300px;
    }
}

body {
    /*padding-top: 50px;
    padding-bottom: 20px;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


.login-page {
    background-color: #e9ecef; /* For browsers that do not support gradients */
    background-image: linear-gradient( #000428, #004e92);
    height: 100vh;
}

.field-validation-error {
    display: block;
}

.table-action {
    padding: 5px;
    cursor: pointer;
}

table.dataTable tbody tr.selected {
    background-color: #b0bed9;
}

table.dataTable tbody tr.newselected {
    background-color: lemonchiffon;
}

table.dataTable tbody tr {
    background-color: #fff;
}

.table th, .table td {
    padding: 0.25rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.HideDropDown {
    display: none;
}

.btn-app {
    height: 90px;
    margin: 0;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    bottom: 0.4em;
}

.w-10 {
    width: 10% !important;
}

.bootstrap-duallistbox-container select {
    max-width: 100% !important;
    height: 350px !important;
}

#loadingDiv {
    left: 50%;
    top: 50%;
    margin: 0px auto;
    position: absolute;
}

.modal-header, .modal-footer {
    padding-bottom: 0.25rem !important;
    padding-top: 0.25rem !important;
}

.modal-body {
    padding-bottom: 0.25rem !important;
    padding-top: 0.5rem !important;
}

.select-info {
    display: none;
}

#selRowCount span {
    background-color: #b0bed9;
}

.requiredField::after {
    content: "*";
    font-weight: normal;
    color: red;
}

.imgSignature {
    position: absolute;
    bottom: 0;
    padding-left: 150px;
    height: 100px;
    width: 320px;
}

.doc-header-colored {
    background-color: rgba(0, 0, 0, 0.1);
}


/*** START LOT MODULE CSS ***/

#gridInventoryCard .dataTables_scrollBody, #gridLotMusCard .dataTables_scrollBody, #lotToMuGridLotInventoryCard .dataTables_scrollBody, #lotToMuGridLotMuInventoryCard .dataTables_scrollBody, #lotToMuGridMuInventoryCard .dataTables_scrollBody {
    max-height: 230px;
    margin-bottom: 10px;
}

#gridInventoryCard .card-body, #gridLotMusCard .card-body, #lotToMuGridMuInventoryCard .card-body {
    height: 440px !important;
    overflow: auto;
}

#lotToMuGridLotInventoryCard .card-body, #lotToMuGridLotMuInventoryCard .card-body {
    max-height: 471px !important;
    overflow: auto;
}

#lotModuleBadgeAppContainer .btn-app > .badge, #lotToMuModuleBadgeAppContainer .btn-app > .badge {
    font-size: 0.9374rem !important;
}

#lotModuleBadgeAppContainer .add-mu, #lotModuleBadgeAppContainer .remove-mu {
    padding: 8px;
    margin: 0;
    width: 230px;
    height: 60px !important;
}

#lotToMuModuleBadgeAppContainer .add-mu, #lotToMuModuleBadgeAppContainer .remove-mu {
    width: 120px;
    height: 60px !important;
    vertical-align: middle;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
    align-items: center;
    justify-content: space-evenly;
    margin: 50px auto;
}

#gridLot_paginate {
    display: flex;
}
/*** END LOT MODULE CSS ***/

/* show PROCESSING clearly on the tables who are showing processing message */
div.dataTables_wrapper div.dataTables_processing {
    z-index: 1 !important;
}

#grid_wrapper .dataTables_scrollBody {
    margin-bottom: 10px !important;
}

/*drop-zone cite being used in Mu to Lot*/
#drop-zone {
    background: white;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: -1;
}

    #drop-zone p, #drop-zone svg {
        pointer-events: none
    }

    #drop-zone svg {
        margin-right: 5px
    }

.c-btn {
    border: none !important;
    background: none !important;
    color: royalblue !important;
    outline: none !important;
}

.select2-search--dropdown .select2-search__field {
    min-width: 100%;
}

.select2-search--dropdown {
    background-color: #f5f5f5;
}

.bootstrap-duallistbox-container .filter {
    min-width: 100%;
}

.changelog-container {
    max-height: 140px;
    overflow: hidden;
}

#timeline > * {
    cursor: pointer;
}

.footer-total {
    background-color: #dee2e6 !important;
}

.modal-dialog .overlay {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1052;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: rgba(0,0,0,.7);
    color: #666f76;
}