/* START Tablet DEVICES STYLING OVERRIDES */
/* 1280 x 664 */
@media only screen and (max-width: 1281px) {
    .samplesPage body {
        padding-left: 0px;
        padding-right: 0px;
    }

    body, input, select, button {
        font-size: 28px;
    }

    .samplesPage body, .samplesPage input, .samplesPage select, .samplesPage button, .skipMobileLarger body, .skipMobileLarger input, .skipMobileLarger select, .skipMobileLarger button {
        font-size: 14px;
    }

    .customerAddressInputAreaWrapperTD input {
        font-size: 14px;
    }

    .customerAddressInputAreaWrapperTD {
        font-size: 20px;
    }

    .menuTextHeader {
        margin-bottom: 0px !important;
    }

    h2, h4 {
        margin: 0px !important;
    }

    .mainTable {
        margin-bottom: 5px !important;
    }

    .runWrapper .mainTable {
        margin-bottom: initial;
        min-width: auto;
    }

    td.text, td.title {
        font-size: 28px;
    }

    .samplesPage td.text, .samplesPage td.title, .skipMobileLarger td.text, .skipMobileLarger td.title {
        font-size: 16px;
    }

    td.input {
        min-width: 250px;
    }

    .shipperWrapperBoxArea td.input {
        min-width: auto;
    }

    .swal2-html-container {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    .swal2-container {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    table.summaryGrid {
        width: 100%;
    }

        table.summaryGrid td {
            width: 25%;
        }

    .reqItemsArea table.summaryGrid td {
        width: 17%;
    }

    .reqItemsArea .lotInput {
        width: 100px;
        font-size: 16px;
    }

    .reqItemsArea textarea.note {
        width: 140px;
    }

    .caseInnerTable input {
        max-width: 100px;
        font-size: 16px;
    }

    table.summaryGrid td input {
        max-width: 130px;
        font-size: 20px;
    }

    div.expanderProdEntryWrapper {
        width: 50%;
        min-width: 600px;
    }

        div.expanderProdEntryWrapper .mainTable {
            min-width: 435px;
        }

    div.controlsArea {
        width: 50%;
    }

    /* Move the modal to the left for the tablet */
    .swal2-popup.swal2-modal {
        place-self: initial !important;
    }

    .logoutArea {
        font-size: 26px;
        margin: 0px;
    }

    .quickAdd {
        max-width: auto;
    }

    .rmfpTable input, .currentMetrics input, .timeInput {
        font-size: 16px;
    }

    input.wasteReported {
        width: 65px;
    }

    .removeRow {
        padding: 1em;
    }

    .samplesListHTML .actionsColumn img {
        padding: 1em;
        margin: .5em;
    }

    .samplesListHTML .dateColumn, .samplesListHTML .costColumn, .samplesListHTML .numItemsColumn, .samplesListHTML .saleColumn {
        font-size: 20px !important;
    }

    .select2-container.chopTypeSelect, select.unitOfMeasure {
        width: 60px !important;
        font-size: 12px;
        min-width: auto !important;
    }

    .chopTypeSelectOptions li, .chopTypeSelectOptions input {
        font-size: 12px !important;
    }
}

/* START PHONE / MOBILE DEVICES STYLING OVERRIDES */
/* 412 pixels wide by 759 pixels high = motorola phone */
@media only screen and (max-width: 600px) {

    .sampleReqHeaderH2 {
        font-size: 20px;
        text-align: left;
    }

    .select2-container.chopTypeSelect, select.unitOfMeasure {
        width: 50px !important;
        font-size: 10px;
        min-width: auto !important;
    }

    .linkActor.manageWeights {
        font-size: 14px;
    }

    .chopTypeSelectOptions li, .chopTypeSelectOptions input {
        font-size: 10px !important;
    }

    .reqItemsArea textarea.note {
        width: 80px;
        font-size: 12px;
    }

    .reqItemsArea .lotInput {
        width: 60px !important;
    }

    .removeRow {
        padding: .5em;
    }

    .samplesListHTML .actionsColumn img {
        padding: .5em;
        margin: .25em;
    }

    .imageRenderWrapper {
        margin-top: 1em;
    }

    select, input {
        max-width: 200px;
    }

    div.expanderProdEntryWrapper {
        width: auto;
        min-width: auto;
    }

    .mainTable {
        min-width: auto;
    }

    div.controlsArea {
        width: auto;
    }

    h2 {
        font-size: 24px;
        margin-top: 0.25em;
        margin-bottom: 0.25em;
    }

    body {
        font-size: 20px;
    }

    input, button, textarea, select {
        font-size: 20px;
    }

    td {
        padding-bottom: .5em !important;
        padding-top: .5em !important;
    }

        /*
    tr:first-child td {
        padding-top: 0px !important;
    }

    tr:last-child td {
        padding-bottom: 0px !important;
    }
    */

        td.title {
            font-size: 26px;
        }

        td.value {
            font-size: 26px;
            width: 300px;
        }

    .logoutArea {
        font-size: 26px;
        margin: 0px;
    }

    .mainMenuTable td.input {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    td.text, td.title {
        width: 200px;
        font-size: initial;
    }

    .barcodeControlButton:first-of-type {
        min-width: 120px !important;
    }

    .barcodeControlButton:last-of-type {
        max-width: 81px !important;
    }

    .itemListInline {
        font-size: 14px;
    }

        .itemListInline .enlargeAnimate {
            /*transform: scale(3);*/
            font-size: 18px;
            background-color: yellow;
        }

    ul.addedLPs li {
        font-size: 14px;
    }

    td.input {
        min-width: initial;
    }

    table.summaryGrid {
        width: 100%;
    }

        table.summaryGrid td {
            width: 25%;
        }

            table.summaryGrid td input {
                max-width: 65px;
                font-size: 16px;
            }

    .summaryGridTBody input.qtyInput, .summaryGridTBody input.qualInput, .summaryGridTBody input.lotInput, .summaryGridTBody .dateInput {
        max-width: 57px;
        min-width: 40px;
        font-size: 8px;
    }


    .summaryGridTBody.qualColumnHide input.qtyInput, .summaryGridTBody.qualColumnHide input.qualInput, .summaryGridTBody.qualColumnHide input.lotInput, .summaryGridTBody.qualColumnHide .dateInput {
        max-width: 80px;
        min-width: 40px;
        font-size: inherit;
    }

    .summaryGridTBody.qualColumnHide .dateInput, .summaryGridTBody.qualColumnHide .lotInput {
        font-size: 11px !important;
    }

    /* Move the modal to the left for the tablet */
    .swal2-popup.swal2-modal {
        place-self: center center !important;
    }

    .sampleRequestForm td.text {
        width: 85px;
    }

    .sampleRequestForm .caseTable td.text {
        width: 50px;
    }

    .soLnComments {
        font-size: 14px;
    }

    .quickAdd {
        max-width: 230px !important;
    }

    .metricsReportingPage table td:nth-child(even) {
        width: 150px;
    }

        .metricsReportingPage table td:nth-child(even) input, .metricsReportingPage table td:nth-child(even) textarea, .metricsReportingPage table td:nth-child(even) select, .metricsReportingPage table td:nth-child(even) button {
            max-width: 145px;
        }

    .dtEventsTable th, .dtEventsTable td {
        word-break: break-all;
        word-wrap: break-word;
    }

    .dtNotes {
        width: 25px;
    }

    .dtType, .dtEquip {
        width: 18px;
    }

    .dtStart, .dtEnd {
        width: 20px;
    }

    .dtDur {
        width: 15px;
    }

    .dtDel {
        width: 10px;
    }

    div.runWrapper, div.wasteWrapperBox {
        width: 285px;
    }

    .metricsReportingPage body {
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Samples rules */
    .sortableTable .idColumn {
        display: none;
    }

    .sortableTable .dateColumn {
        width: 60px;
    }

    .sortableTable td, .sortableTable th {
        word-break: break-all;
        word-wrap: break-word;
    }

    .sampleFormItemsArea .note {
        width: 40px;
    }

    .sampleFormItemsArea select, .sampleFormItemsArea input {
        width: 40px !important;
        font-size: 8px !important;
        min-width: auto !important;
        max-width: auto !important;
    }

    .sampleFormItemsArea .chopped {
        width: 10px !important;
    }

    .sampleFormItemsArea .qtyInput {
        width: 30px !important;
    }

    body.sampleRequestForm {
        padding: 0px !important;
    }

    .sampleFormItemsArea .summaryGrid {
        font-size: 16px;
    }

        .sampleFormItemsArea .summaryGrid .summaryGridTBody td, .sampleFormItemsArea .summaryGrid th {
            padding-left: 0px !important;
            padding-right: 0px !important;
            width: 5%;
            overflow-wrap: anywhere !important;
            word-break: break-word !important;
        }

            .sampleFormItemsArea .summaryGrid .summaryGridTBody td.itemNameCol, .sampleFormItemsArea .summaryGrid th.itemNameCol {
                width: 40px !important;
                overflow-wrap: anywhere !important;
                word-break: break-word !important;
            }

    .samplesListHTML .dateColumn, .samplesListHTML .costColumn, .samplesListHTML .numItemsColumn, .samplesListHTML .saleColumn {
        font-size: 14px !important;
    }

    .checkWeightsHtml td.date.value{
        font-size: 12px;
    }
}

/* Munbyn with no keyboard screen res is 360 x 504 */
@media only screen and (max-width: 361px) {
    .reqItemsArea textarea.note {
        width: 60px;
    }

    .removeRow {
        padding: 0px;
    }

    .samplesListHTML .actionsColumn img {
        padding: 0px;
        margin: 0px;
    }

    .imageRenderWrapper {
        margin-top: 1em;
    }

    .uploadImages {
        max-width: 240px;
        box-sizing: border-box;
    }

    h4, h2 {
        margin-top: 0.25em !important;
        margin-bottom: 0.25em !important;
    }

    .logoutArea {
        font-size: 20px;
        margin: 0px;
    }

    .swal-height {
        min-height: 350px;
    }

        .swal-height .swal2-html-container, .swal-height .swal2-html-container h2.center, .swal-height .swal2-actions, .swal-height button.swal2-styled {
            margin-top: 0px !important;
            margin-bottom: 0px !important;
        }

    html.putaway .swal2-container {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .olderProductsHeading {
        margin-top: 1em !important;
    }

    .filterLot, .itemSelectorForLPLookup {
        width: 185px;
    }

    td.title {
        font-size: 20px;
    }

    td.value {
        font-size: 20px;
        width: 170px;
    }

    td.text, td.title {
        width: 120px;
        font-size: initial;
    }

    input.barcode {
        min-width: 165px;
        width: 165px;
        max-width: 165px !important;
    }

    .barcodeControlButton:first-of-type {
        min-width: 120px !important;
    }

    .barcodeControlButton:last-of-type {
        max-width: 45px !important;
        padding-left: 4px;
        padding-right: 4px;
    }

    div.listOfItemsInner {
        max-height: 250px !important;
        overflow: auto;
    }

    td.input {
        min-width: initial;
    }

    select.filterItem.fromBuildLPDetailsHtml, select.filterLot.fromBuildLPDetailsHtml {
        max-width: 210px;
    }

    table.summaryGrid {
        width: 100%;
        font-size: 16px;
    }

        table.summaryGrid td {
            width: 25%;
        }

            table.summaryGrid td input {
                max-width: 65px;
                font-size: 16px;
            }

    span.shortDescForJob {
        font-size: 8px;
    }

    .mainMenuTable td.input, td.title, td.text, a, .linkActor {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    td.text, td.title {
        width: 120px;
        font-size: initial;
    }

    .sortableTable .idColumn {
        display: none;
    }

    .sortableTable .dateColumn {
        width: 60px;
    }

    .sortableTable td, .sortableTable th {
        word-break: break-all;
        word-wrap: break-word;
    }

    .sampleFormItemsArea .note {
        width: 40px;
    }

    .sampleFormItemsArea select, .sampleFormItemsArea input {
        width: 40px !important;
        font-size: 8px !important;
        min-width: auto !important;
        max-width: auto !important;
    }

    .sampleFormItemsArea .chopped {
        width: 10px !important;
    }

    .sampleFormItemsArea .qtyInput {
        width: 30px !important;
    }

    .sampleFormItemsArea .itemNameCol {
        width: 40px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.sampleRequestForm {
        padding: 0px !important;
    }
}

/* Munbyn Keyboard version screen res is 320 x 392 */
@media only screen and (max-width: 359px) {
    h2 {
        font-size: 16px !important;
        margin-top: 0px !important;
        margin-bottom: 5px !important;
    }

    .logoutArea {
        font-size: 14px;
        margin: 0px;
    }

    h4 {
        font-size: 14px !important;
        margin-top: 0.25em !important;
        margin-bottom: 0.25em !important;
    }

    body {
        font-size: 16px;
    }

    input, button, textarea, select {
        font-size: 16px;
    }

    td {
        padding-bottom: 5px !important;
        padding-top: 5px !important;
    }

        td.text, td.title {
            padding-bottom: 5px !important;
            padding-top: 5px !important;
            width: 150px;
        }

        td.input, td.value {
            padding-top: 5px;
            padding-bottom: 5px;
            padding-left: 1em;
        }

    .barcodeAreaWithButtons {
        padding-bottom: 5px !important;
    }

    /*
    tr:first-child td {
        padding-top: 0px !important;
    }

    tr:last-child td {
        padding-bottom: 0px !important;
    }
    */

    td.title {
        font-size: 20px;
    }

    td.value {
        font-size: 20px;
        width: 170px;
    }

    .mainMenuTable td.input, td.title, td.text, a, .linkActor {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    td.text, td.title {
        width: 120px;
        font-size: initial;
    }

    .barcodeControlButton:first-of-type {
        min-width: 120px !important;
    }

    .barcodeControlButton:last-of-type {
        max-width: 45px !important;
        padding-left: 4px;
        padding-right: 4px;
    }

    input.barcode {
        min-width: 165px;
    }

    .itemListInline {
        font-size: 14px;
    }

    ul.addedLPs li {
        font-size: 14px;
    }

    .swal2-html-container {
        margin: 5px !important;
    }

    .productLookupFinderLink, p.success {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .gobackAreaP {
        position: fixed;
        bottom: 0px;
    }

        .gobackAreaP.notFloat {
            position: relative !important;
        }

    .gobackAreaPReg {
        margin: 0px !important;
    }

    .mainTitleHeader {
        font-size: 16px;
    }

    ul.addedLPs {
        min-height: 50px;
        max-height: 50px;
    }

    div.listOfItemsInner {
        max-height: 170px !important;
        overflow: auto;
    }

    .swal-height {
        min-height: 350px;
    }

        .swal-height .swal2-html-container, .swal-height .swal2-html-container h2.center, .swal-height .swal2-actions, .swal-height button.swal2-styled {
            margin-top: 0px !important;
            margin-bottom: 0px !important;
        }

    html.putaway .swal2-container {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .olderProductsHeading {
        margin-top: 1em !important;
    }

    .filterLot, .itemSelectorForLPLookup {
        width: 185px;
    }

    td.input {
        min-width: initial;
    }

    select.filterItem.fromBuildLPDetailsHtml, select.filterLot.fromBuildLPDetailsHtml {
        max-width: 200px;
    }

    table.summaryGrid {
        width: 100%;
        font-size: 14px;
    }

        table.summaryGrid td {
            width: 25%;
        }

            table.summaryGrid td input {
                max-width: 56px;
                font-size: 14px;
            }

    .soLnComments {
        font-size: 12px;
    }
}
