﻿body {
    width: 100%;
    min-width: 1700px;
    height: 100%;
    font-family: Roboto, 'Times New Roman', Arial;
}

html {
    width: 100%;
    height: 100%;
}

textarea {
    resize: none;
}

input[type="radio"] {
    margin: 0px;
}

.CMBanner {
    float: left;
    width: 100%;
    height: 50px;
    background: #333;
    color: #FFFFFF;
    line-height: 50px;
    box-shadow: 4px 10px 18px 1px #5f5f5f inset;
    text-align: center;
}

.CMBannerText {
    font-size: xx-large;
}

.CMToolbar {
    float: left;
    width: 250px;
    height: calc(100% - 50px);
    padding: 0px;
    background: #333;
    color: #FFFFFF;
    box-shadow: 4px 10px 18px 1px #5f5f5f inset;
    overflow: auto;
}

.CMToolbarItem {
    width: 100%;
    height: 50px;
    line-height: 50px;
    color: #FFFFFF;
    padding-left: 20px;
}

.CMActiveToolbarItem {
    background: #555 !important;
    box-shadow: 4px 0px 18px 0px #5f5f5f inset;
}

.CMToolbarLabel {
    cursor: pointer;
}

.CMLogo {
    height: 100%;
    float: right;
}

.CMBody {
    float: right;
    width: calc(100% - 250px);
    height: calc(100% - 75px);
}

.CMList {
    width: 100%;
    height: calc(100% - 30px);
    overflow-y: auto;
}

.CMListItem {
    width: 100%;
    height: 50px;
    line-height: 25px;
    border-bottom: 1px solid #DFDFDF;
    color: #AFAFAF;
    cursor: pointer;
}

    .CMListItem:hover {
        color: #9F9F9F;
        border-bottom: 1px solid #CFCFCF;
    }

.CMActiveListItem {
    background: #F5FFF5;
}

.CMListItemLine {
    float: left;
    width: 100%;
    height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.CMListItemSep {
    text-align: center;
    color: #6F6F6F;
    font-weight: bold;
    user-select: none;
    border: 1px dashed #6F6F6F;
}

.CMListItemLabel {
    float: left;
    font-size: small;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.CMGreen {
    border-radius: 15px;
    color: #FFFFFF;
    width: 100px;
    height: 28px;
    line-height: 27px;
    background: #666; /* #58a737;*/
    border: none;
    font-size: small;
}

.CMRed {
    border-radius: 15px;
    color: #FFFFFF;
    width: 100px;
    height: 28px;
    line-height: 28px;
    background: #b60d0d;
    border: none;
    font-size: small;
}

.CMText {
    border: 1px solid #CCCCCC;
    height: 24px;
    border-radius: 3px;
    width: 250px;
    padding-top: 2px;
    line-height: 22px;
}

.CMDropdown {
    padding-top: 0px;
}

.CMItems {
    float: left;
    width: 400px;
    height: 100%;
}

.CMDetails {
    float: right;
    width: calc(100% - 400px);
    height: 100%;
    overflow-y: auto;
}

.CMDetailLine {
    float: left;
    width: 100%;
    height: 24px;
    line-height: 24px;
    margin: 10px 0px 10px 0px;
}

.CMDetailLabel {
    color: #9F9F9F;
}

.DateInput {
    width: 80px;
    font-weight: normal;
}

.TimeInput {
    width: 40px;
    font-weight: normal;
}

.ui-datepicker {
    z-index: 5001;
}

.ui-datepicker-trigger {
    width: 28px;
    vertical-align: top;
    margin-left: 5px;
    margin-right: 5px;
}

.CMOrder {
    float: left;
    width: 100%;
    height: calc(100% - 73px);
    overflow-y: auto;
}

.CMOrderItem {
    float: left;
    width: 100%;
    height: 32px;
    line-height: 32px;
    border-bottom: 1px solid #DFDFDF;
    color: #AFAFAF;
}

    .CMOrderItem:hover {
        color: #9F9F9F;
        border-bottom: 1px solid #CFCFCF;
        background: #F5FFF5;
    }

.CMOrderItemLabel {
    float: left;
    font-size: small;
    width: 15%;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    color: #9F9F9F;
}

.CMSelectAllCell {
    float: left;
    width: 50px;
    height: 100%;
    line-height: 18px;
}

.CMSelectAllItems {
    margin-top: 0px;
}

.CMOrderItemCheck {
}

.CMDeleteOrderItem {
    float: left;
    width: 4%;
    height: 100%;
    text-align: center;
}

.CMPopup {
}

.CMHidden {
    display: none;
}

.CMPopupContent {
    background: #FFFFFF;
    width: 100%;
    height: calc(100% - 40px);
    padding: 20px;
    border-radius: 5px;
}

.CMPopupTitle {
    background: #333;
    color: #FFFFFF;
    width: 100%;
    height: 40px;
    padding: 8px;
    text-align: left;
    border-radius: 5px 5px 0px 0px;
    box-shadow: 4px 0px 18px 0px #5f5f5f inset;
}

.CMPopup {
    width: 600px;
    height: 400px;
    position: absolute;
    text-align: center;
    border-radius: 5px;
    background: #FFFFFF;
    box-shadow: -2.071px 7.727px 16.92px 1.08px rgba(0, 0, 0, 0.14);
    z-index: 2;
}
/*.CustomPopup {
    left: calc(50% - 190px);
    top: calc(50% - 120px);
    width:380px;
    height: 240px;
}
*/
.CustomPopup {
    left: 10%;
    top: 5%;
    width: 80%;
    height: 90%;
}

.CustomTypePanel {
    float: left;
    margin: 0px 0px 12px 12px;
    width: 100px;
    height: 116px;
    border-radius: 8px;
    box-shadow: 0.929px 2.727px 3.92px 3.08px rgb(0 0 0 / 14%);
    user-select: none;
    background: #FFFFFF;
}

.CustomTypeImage {
    float: left;
    width: 100%;
    height: 50px;
    object-fit: scale-down;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.CustomTypeTitle {
    float: left;
    width: 100%;
    height: calc(100% - 80px);
    padding: 4px;
    color: #606060;
    margin-bottom: 0px;
    font-weight: normal;
    line-height: 16px;
    font-size: 12px;
}

.CustomTypeFooter {
    float: left;
    width: 100%;
    height: 30px;
    padding: 0px 1px 3px 1px;
}

.CustomTypeQ {
    float: left;
    width: 30px;
    height: 100%;
    background: #333;
    color: white;
    font-size: 24px;
    border-radius: 6px;
    margin-bottom: 0px;
    line-height: 26px;
}

.CustomTypeQuantity {
    float: left;
    width: calc(100% - 60px);
    height: 100%;
    font-size: 20px;
    color: #9F9F9F;
}

.EditCustomTypeQuantity {
    float: left;
    width: calc(100% - 60px);
    height: 100%;
    font-size: 14px;
}

.ImportPopup {
    left: calc(50% - 300px);
    top: calc(50% - 267px);
    height: 534px;
}

.CMImport {
    width: 100%;
    height: calc(100% - 32px);
    padding: 20px 40px;
}

.CMRadioPanel {
    float: left;
    width: 33%;
    height: 14px;
    line-height: 13px;
    color: #6F6F6F;
    font-size: x-small;
    text-align: left;
}

.CMBigLabel {
    color: #8F8F8F;
    font-size: large;
}

.CMClose {
    width: 16px;
    float: right;
    margin-right: 4px;
    margin-top: 4px;
}

.PreviewPopup {
    left: calc(50% - 300px);
    top: calc(50% - 200px);
}

.CMImportPreview {
    float: left;
    width: 100%;
    height: calc(100% - 50px);
    margin-bottom: 20px;
}

.CMTableHeader {
    float: left;
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    font-size: medium;
    color: #8F8F8F;
    border-bottom: 2px solid #8F8F8F;
}

.CMTableBody {
    overflow-y: auto;
    width: 100%;
    height: calc(100% - 30px);
}

.CMTableHeading {
    float: left;
    width: 300px;
}

.CMTableLine {
    float: left;
    width: 100%;
    height: 32px;
    line-height: 32px;
    border-bottom: 1px dashed #CFCFCF;
}

.CMImportPanel {
    float: left;
    font-size: x-small;
    height: 42px;
    line-height: 12px;
    width: 350px;
    margin-left: 100px;
    margin-top: 10px;
    color: #6F6F6F;
}

.CMImportSupplier {
    float: left;
    width: 100%;
    height: 24px;
    line-height: 24px;
    margin-top: 10px;
    padding-left: 24px;
    font-size: small;
    color: #6F6F6F;
}

.CMGreenLine {
    width: 100%;
    height: 3px;
    background: #333;
    margin: 5px 0px 5px 0px;
}

.CMNow {
    width: 42px;
}

.CMFilterItems {
    margin-top: 0px;
    width: 406px;
    height: 60px;
    line-height: 30px;
}

.CMFilterRow {
    width: 100%;
    height: 30px;
}

.CMReportItem {
    width: 100%;
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #EFEFEF;
    text-align: left;
}

.CMReportItemLabel {
    font-size: large;
    font-weight: normal;
    color: #AFAFAF;
    margin-bottom: 0px;
}

.CMTooltip {
    border-radius: 5px;
    background: #555555;
    color: #EFEFEF;
    border: 1px solid #DFDFDF;
    position: absolute;
}

.CMBarChart {
    margin-top: 5%;
}

.CMLineCount {
    float: left;
    padding: 3px 0px 0px 0px;
    width: 30px;
    height: 300px;
    overflow: hidden;
    margin-left: 112px;
    list-style-type: none;
    line-height: 20px;
}

.CMListCount {
}

.CMLineNo {
    width: 100%;
    height: 20px;
}

.CMImportList {
    float: left;
    width: 200px;
    height: 100%;
    line-height: 20px;
    overflow-y: auto;
    white-space: nowrap;
}

.CMIcon {
    width: 24px;
    cursor: pointer;
}

.CMDropbox {
    float: right;
    width: 100px;
    height: 100px;
    line-height: 94px;
    margin-left: 5px;
    text-align: center;
    color: #9F9F9F;
    font-weight: bold;
    border: 3px dashed #AFAFAF;
}

.CMAttachmentList {
    float: left;
    width: calc(100% - 250px);
    height: 100%;
    overflow-y: auto;
    line-height: 32px;
}

.CMAttachmentEdit {
    float: right;
    width: 250px;
}

.CMAttachment {
    width: 100%;
    height: 32px;
}

.CMAttachmentCell {
    float: left;
    width: 40px;
    height: 100%;
    font-size: x-small;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-x: hidden;
}

.CMAttachmentLink {
    font-size: x-small;
    cursor: pointer;
}

.AttachPopup {
    left: calc(50% - 300px);
    top: calc(50% - 300px);
    width: 700px;
    height: 560px;
}

.CMTabBar {
    width: 100%;
    height: 32px;
    margin-top: 0px;
    list-style-type: none;
    padding: 0px 0px 0px 20px;
    margin-bottom: 0px;
    line-height: 32px;
    text-align: center;
}

.CMTabBarItem {
    float: left;
    width: 200px;
    height: 30px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: #DFDFDF;
    border-left: 1px solid #CFCFCF;
    margin-top: 2px;
    user-select: none;
}

.CMActiveTabBarItem {
    height: 32px !important;
    background: #EFEFEF !important;
    margin-top: 0px !important;
}

.CMTabContent {
    width: 100%;
    height: calc(100% - 16px);
    background: #EFEFEF;
    padding: 5px;
}

.CMCameraDrop {
    display: flex;
    text-align: center;
    align-items: center;
    width: 300px;
    height: 228px;
    margin: 38px 10px 0px 0px;
    font-size: 12px;
    line-height: 32px;
    float: right;
    text-align: center;
    color: #9F9F9F;
    font-weight: bold;
    border: 3px dashed #AFAFAF;
}

#lblPhoto {
    margin: 0 auto;
}

#txtPhoto {
    width: calc(100% - 20px);
    height: 100px;
}

.CMCloseCamera {
    width: 16px;
    float: right;
    margin-right: 4px;
    margin-top: 4px;
}

.CMOrderAttList {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    overflow-y: auto;
}

.CMOrderAttItem {
    float: left;
    width: 100%;
    height: 50px;
    padding: 5px;
    border: 1px solid #DFDFDF;
    cursor: pointer;
}

.CMOrderAttActiveItem {
    background: #EFEFFF;
    border: 1px dashed #DFDFDF;
}

.CMOrderAttImage {
    float: left;
    height: 100%;
}

.CMOrderAttIcon {
    float: right;
    width: 16px;
}

.CMOrderAttDisplay {
    padding-top: 5px;
}

.CMOrderAtt {
    float: right;
    width: calc(100% - 130px);
    height: 100%;
}

.CMOrderAttLabel {
    float: left;
    width: 100%;
    height: 50%;
    margin: 0px;
    text-align: left;
    padding: 0px 0px 0px 10px;
    font-weight: normal;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.CMAttDisplayImage {
    float: left;
    max-width: 50%;
    height: 100%;
}

.CMAttDisplayLabel {
    float: left;
    width: 50%;
    height: 100%;
    font-weight: normal;
    text-align: left;
}

.ImportConfirmPopup {
    width: 500px;
    height: 600px;
    z-index: 1001;
    left: calc(50% - 250px);
    top: calc(50% - 300px);
}

.CMImportConfirm {
    float: left;
    width: 100%;
    height: calc(100% - 164px);
    overflow-y: auto;
}

.CMImportRow {
    float: left;
    width: 100%;
    height: 24px;
}

.CMImportCell {
    float: left;
    width: 50%;
    height: 100%;
    white-space: nowrap;
}

.CMConfirmOK {
    color: #58a737;
}

.CMConfirmWarning {
    color: #FF0000 !important;
}

.CMConfirmLabel {
    float: left;
    width: 100%;
    text-align: center;
}

.CMConfirmText {
    float: left;
    width: 100%;
    height: 95px;
}

.CMDevicesExportPopup {
    width: 300px !important;
    height: 220px !important;
}

.CMTinyGrey {
    float: left;
    color: #9F9F9F;
    font-size: 12px;
}

.CMCategoryTitle {
    float: left;
    height: 28px;
    line-height: 28px;
    border: 1px solid #EFEFEF;
    border-bottom: none;
    background: #F0F0F0;
    margin-bottom: -1px;
    z-index: 1001;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.CategoryTitle {
    color: #6F6F6F;
    font-size: 18px;
    margin: 0px 12px 0px 12px;
}

.CMCustomPopupBody {
    width: 100%;
    height: calc(100% - 30px);
    overflow-y: auto;
    padding-top: 10px;
}

.CMCategoryGroup {
    float: left;
    max-width: calc(50% - 8px);
    margin: 4px 4px;
}

.CMCategoryBody {
    float: left;
    border: 1px solid #EFEFEF;
    padding: 12px 10px 0px 0px;
    background: #F0F0F0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
}

.CMProductImage {
    height: 200px;
}

.ProductPhotoPopup {
    left: calc(50% - 300px);
    top: calc(50% - 250px);
    width: 700px;
    height: 400px;
}

.CMVerifyItem {
    float: right;
    height: 100%;
    width: 5%;
}

.CMVerified {
    width: 16px;
}

.CMActivity {
    position: absolute;
    left: calc(50% - 60px);
    top: calc(50% - 60px);
    width: 100px;
}

.GPSBobPopup {
    width: 300px;
    height: 200px;
    left: calc(50% - 150px);
    top: calc(50% - 150px);
}

.CMCheckPanel {
    float: left;
    width: 24px;
    height: 100%;
}

.CMCheckLabel {
    float: left;
}

.CMCheckRow {
    height: 24px;
    width: auto;
    line-height: 24px;
}

.CMTBList {
    float: left;
    width: 100%;
    height: 100%;
    list-style-type: none;
    padding: 0px;
}

.CMTBListItem {
    float: left;
    width: 100%;
}

.CMTBSubMenu {
    float: left;
    list-style-type: none;
    width: 100%;
    height: auto;
    padding: 0px 0px 0px 20px;
}

.CMRequestList {
    float: left;
    width: 100%;
    height: auto;
    list-style-type: none;
    padding: 0px;
}

.CMRequestListItem {
    float: left;
    width: 100%;
    height: 32px;
    line-height: 32px;
    border-bottom: 1px dashed #DFDFDF;
}

.CMRequestRemove {
    float: right;
    width: 16px;
    margin-top: 6px;
    cursor: pointer;
}

.RequestDevicesPopup {
    width: 400px;
    height: 250px;
    top: 250px;
    user-select: none;
}

.EditDeviceQuantity {
    float: left;
    width: calc(100% - 60px);
    height: 100%;
    font-size: 14px;
}

.CMTexty {
    width: 310px !important;
}

.CMRequestPopup {
    width: 400px;
    height: 300px;
}

.CMActualList {
    float: left;
    width: 50%;
    height: 100%;
    overflow-y: auto;
    padding: 0px 0px 0px 20px;
    list-style-type: none;
}

.CMActualListItem {
    float: left;
    width: 100%;
    height: 24px;
    border-bottom: 1px dashed #DFDFDF;
}

.CMRequestIcon {
    width: 20px;
}

.CMNone {
    color: #fa0f0f;
}

.CMMeh {
    color: #f36a1b;
}

.CMOK {
    color: #0b760a;
}

.CMRequestCount {
    float: right;
    font-size: 14px;
    border: 3px solid #FF0000;
    border-radius: 50%;
    height: 30px;
    margin-right: 20px;
    margin-top: 10px;
    width: 30px;
    text-align: center;
    line-height: 25px;
}

.CMBold {
    font-weight: bold !important;
}

.CMBoxItem {
    float: left;
    width: 25%;
    height: 100%;
    font-weight: normal;
}

.CMShipmentTitle {
    width: 100%;
    float: left;
    text-align: center;
    color: #8F8F8F;
    font-size: large;
}

.CMShipmentList {
    float: left;
    width: 100%;
    height: calc(100% - 215px);
    overflow-y: auto;
    list-style-type: none;
    padding: 0px;
}

.CMShipmentListItem {
    float: left;
    width: 100%;
    height: 24px;
    border-bottom: 1px dashed #DFDFDF;
}

.CMRMADialog {
    width: 400px;
}

.CMRMAPopup {
    width: 550px;
    height: 480px;
}

.CMRMAList {
    float: left;
    width: 100%;
    height: calc(100% - 50px);
    list-style-type: none;
    border: 1px solid #DFDFDF;
    border-radius: 5px;
    overflow-y: auto;
    padding: 0px;
    line-height: 30px;
}

.CMRMAListItem {
    float: left;
    width: 100%;
    height: 30px;
    border-bottom: 1px dashed #CDCDCD;
    background: #F8F8F8;
    padding: 0px 8px 0px 20px;
}

    .CMRMAListItem:hover {
        background: #EFEFEF;
    }

.CMRMAListTitle {
    width: 100%;
    height: 24px;
    padding: 0px 20px 0px 20px;
}

.CMRMAListCell {
    float: left;
    width: 25%;
    height: 100%;
}

.CMRMALabel {
    float: left;
    width: 100%;
    font-size: small;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    color: #9F9F9F;
}

.CMRMAPhotosPanel {
    float: left;
    width: 100%;
    height: 300px;
    padding: 10px;
}

.CMRMAPhotosList {
    float: left;
    width: 100%;
    height: 100%;
    padding: 10px;
    overflow-x: auto;
}

.CMRMAPhoto {
    float: left;
    height: 100px;
    margin: 0px 10px 10px 0px;
}

.CMDeleteRMALine {
    float: right;
    margin-top: 6px;
}

.CMRMALink {
    cursor: pointer;
}

.CMRMAReport {
    float: right;
    width: 24px;
}

.CMRMAReportItem {
    float: left;
    width: 100%;
    border-bottom: 1px dashed #CDCDCD;
    background: #F8F8F8;
    padding: 0px 8px 10px 20px;
}

.CMRMAReportPhoto {
    width: 200px;
}
