html {
    font-size: 14px;
}



@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 96%;
}

body {
    margin-bottom: 60px;
}

    body thead {
        background-color: lightblue;
    }

[type="search"] {
    outline-offset: -2px;
    -webkit-appearance: auto;
}

    [type="search"]::-webkit-search-cancel-button,
    [type="search"]::-webkit-search-decoration {
        -webkit-appearance: auto;
    }


input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.field-validation-error {
    color: red;
}

.input-validation-error {
    border-color: red;
}

div .navbar-nav {
    --bs-nav-link-color: #232323 !important;
    --bs-nav-link-hover-color: #030303 !important;
}

.nav-link:hover {
    text-shadow: 0px 0px 2px #686430;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

th {
    min-width: 60px !important;
}

.tdImportantCol {
    background-color: #7ecde7 !important;
    text-wrap: nowrap;
    overflow-x: hidden;
    max-width: 250px !important;
    overflow-y: hidden;
}

td.tdBold.even-row.tdImportantCol:focus {
    min-width: 300px !important;
    transition: min-width 0.3s ease !important;
    webkit-transition: min-width 0.3s ease !important;
    moz-transition: min-width 0.3s ease !important;
}

td.tdBold.even-row.tdImportantCol:hover {
    min-width: 300px !important;
    transition: min-width 0.3s ease !important;
    webkit-transition: min-width 0.3s ease !important;
    moz-transition: min-width 0.3s ease !important;
}

td.tdBold.odd-row.tdImportantCol:focus {
    min-width: 300px !important;
    transition: min-width 0.3s ease !important;
    webkit-transition: min-width 0.3s ease !important;
    moz-transition: min-width 0.3s ease !important;
}

td.tdBold.odd-row.tdImportantCol:hover {
    min-width: 300px !important;
    transition: min-width 0.3s ease !important;
    webkit-transition: min-width 0.3s ease !important;
    moz-transition: min-width 0.3s ease !important;
}

.tdPadLeft50 {
    padding-left: 50px !important;
}

.tdPadRight50 {
    padding-right: 50px !important;
}

.tdPadLeft50MinWidth150 {
    padding-left: 50px !important;
    min-width: 150px !important;
    text-align: end !important;
}

.tdPadLeft10 {
    padding-left: 10px !important;
    width: 240px;
}

.tdPadLeft11 {
    padding-left: 10px !important;
    width: 320px;
}


.tdPadding5 {
    padding: 2px 25px 5px 5px !important;
}

.dispBlock100{
    display: block;
    width: 100%;
}


.hidden {
    visibility: hidden;
    display: none;
    width: 0px !important;
}

/* Create two equal columns that floats next to each other */
.column {
    float: left;
    width: 33.3%;
    padding: 2px 10px 2px 5px;
}

.column4 {
    float: left;
    width: 25%;
    padding: 2px 10px 2px 5px;
}

.column5 {
    float: left;
    width: 20%;
    padding: 2px 10px 2px 5px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
    width: 10px;
}

.button-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #4479BA;
    color: #FFF !important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    user-select: none;
    text-decoration: none;
}

    .button-link:hover {
        background: #356094;
        border: solid 1px #2A4E77;
        text-decoration: none;
    }

    .button-link:active {
        -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
        -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
        box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
        background: #2E5481;
        border: solid 1px #203E5F;
        text-decoration: none;
    }

/************  Calcs/Create **************/

.scrollwrapper {
    overflow: auto;
}

.scrolltable {
    width: 100% !important;
}

.btn {
    margin: 20px 0px;
    text-decoration: none !important;
}

.btnCreate {
    margin: 0px 0px;
    text-decoration: none !important;
    line-height: 0.5;
}

.btn-index-view-sm {
    text-decoration: none !important;
    padding: 0em 0.5em 0.25em 0.5em !important;
    height: 25px !important;
    margin-top: 0px !important;
    display: inline-block;
    text-align: center;
    width: 50px;
}

.btn-sm {
    text-decoration: none !important;
    padding: 0.15em 0.5em 0.25em 0.5em !important;
    height: 25px !important;
    margin-top: 5px !important;
    display: inline-block;
    text-align: center;
}

.bottom-25 {
    bottom:-25px !important;
}

.footer {
    bottom: -25px !important;
}

.homefooter {
    position: absolute;
    bottom: 0;
    width: -webkit-fill-available;
    white-space: nowrap;
    line-height: 223px;
}

.display_inline_block {
    display: inline-block !important;
}

.bottom_button_div {
    padding-left: 0px !important;
}

.bottom_cancel_button {
    margin-left: 50px !important;
}

.width10 {
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    font-size: 9px !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}


.width20 {
    width: 20px !important;
}

.width30 {
    width: 30px !important;
}

.width40 {
    width: 40px !important;
}

.width50 {
    width: 50px !important;
}

.width60 {
    width: 60px !important;
}

.width70 {
    width: 70px !important;
}

.width80 {
    width: 80px !important;
}

.width90 {
    width: 90px !important;
}

.width100 {
    width: 100px !important;
}

.width100percent {
    width: 100% !important;
}


.width110percent {
    width: 70px !important;
}

.table {
    width: max-content;
}

    .table thead th
     {
        border-bottom: 0px !important;
    }

.MaxWidth60 {
    max-width: 60px !important;
    /*height: 40px */

}

.BodyWidth50 {
    width: 50px !important;
}

    .BodyWidth50 tr td {
        width: 50px !important;
    }

.BodyWidth70 {
    width: 70px !important;
}

    .BodyWidth70 tr td {
        width: 70px !important;
    }

.BodyWidth100 {
    width: 100px !important;
}

    .BodyWidth100 tr td {
        width: 100px !important;
    }

.BodyWidth200 {
    max-width: 200px !important;
}

    .BodyWidth200 tr td {
        max-width: 200px !important;
    }

.BodyWidth300 {
    max-width: 300px !important;
}

    .BodyWidth300 tr td {
        max-width: 300px !important;
    }

.BodyWidth400 {
    max-width: 400px !important;
}

    .BodyWidth400 tr td {
        max-width: 400px !important;
    }

.BodyWidth500 {
    max-width: 500px !important;
}

    .BodyWidth500 tr td {
        max-width: 500px !important;
    }

.BodyWidth1000 {
    max-width: 1000px !important;
}


.BodyWidth500MinWidth150 {
    max-width: 500px !important;
    min-width: 150px !important;
}

    .BodyWidth500MinWidth150 tr td {
        max-width: 500px !important;
        min-width: 150px !important;
    }

.MaxWidth264 {
    max-width: 264px !important;
}

.minwidth50percent {
    min-width: 50% !important;
}

.inpName {
    width: 300px !important;
}

.inpDec {
    width: 80px !important;
    text-align: right !important;
}

.inpDecDetails {
    width: 215px !important;
    text-align: right !important;
    padding-right: 50px !important;
}

.inpTextDetails {
    width: 215px !important;
    text-align: left !important;
}

.inpTankDetails {
    width: 32px !important;
    text-align-last: center !important;
}

.inpCalcTextDetails {
    text-align: left !important;
}

.bottomMargin0 {
    margin-bottom: 0px !important;
}

.bottomMargin1 {
    margin-bottom: 1px !important;
}

.bottomMargin2 {
    margin-bottom: 2px !important;
}

.bottomMargin5 {
    margin-bottom: 5px !important;
}

.ContainerMargins10 .container {
    margin-top: 10px;
    margin-bottom: 10px;
}

.container {
    max-width: max-content;
}

.noafter.row::after {
    content: none;
}

h1Left {
    text-align: left;
}


.tdBold {
    font-weight: bold !important;
    font-size: 1rem;
}

.PLeft {
    text-align: left;
}


.NoBorder {
    border: 0px !important;
    border-style: hidden !important;
}

    .NoBorder:focus-within {
        outline: none !important;
    }


.pull-right {
    text-align: end;
}

.submit-progress-bg {
    background-color: lightgray;
    opacity: .5;
}

.submit-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 6em;
    padding-top: 2.3em;
    z-index: 1;
    /* The following properties are the ones most likely to change */
    width: 20em;
    /* Set 'margin-left' to a negative number that is 1/2 of 'width' */
    margin-left: -10em;
    padding-left: 2.1em;
    background-color: black;
    color: white;
    -webkit-border-radius: 0.4em;
    -moz-border-radius: 0.4em;
    border-radius: 0.4em;
    box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
    -webkit-box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
    -moz-box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
}

/* Changing style for spinner */
.submit-progress {
    padding-top: 2em;
    width: 23em;
    margin-left: -11.5em; /* Set to a negative number that is 1/2 of the width */
}

    .submit-progress i {
        margin-right: 0.5em;
    }
.dropdown-toggle {
    margin: 0px 0px;
}


.bootstrap-select.form-control {
    margin-bottom: 0.5rem !important;
}
.form-control:hover {
    border-color: #ff80ff;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(255, 100, 255, 0.5);
}

.custom-select:hover {
    border-color: #ff80ff;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(255, 100, 255, 0.5);
}

.sortHeader {
    text-decoration: underline;
}

.select2:hover {
    border-color: #ff80ff;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(255, 100, 255, 0.5);
}

.control-label {
    margin-bottom : 1px;
}

.form-group {
    margin-bottom: 1px;
}

.select2-container--default .select2-selection--multiple {
    box-shadow: none !important;
    border: 1px solid #ced4da !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-image-outset: 0 !important;
    border-image-repeat: stretch !important;
    border-image-slice: 100% !important;
    border-image-source: none !important;
    border-image-width: 1 !important;
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #ff80ff !important;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(255, 100, 255, 0.5) !important;
}

.select2-container--default .select2-selection--multiple:hover {
    border-color: #ff80ff;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(255, 100, 255, 0.5);
}

.select2-selection:hover {
    border-color: #ff80ff;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(255, 100, 255, 0.5);
}

span.select2-selection.select2-selection--multiple {
    margin-top: 0px;
}

/********************************/




/********** Calcs/Edit **********/

.tdWrap {
    word-wrap: break-word;
}

.tdSubstanceId {
    max-width: 50px;
    min-width: 50px;
    visibility: hidden;
}

    .tdSubstanceId input {
        width: -webkit-fill-available;
        padding: 0.1em;
        text-align: right;
        visibility: hidden;
    }

    .tdSubstanceId label {
        width: -webkit-fill-available;
        padding: 0.1em;
        text-align: right;
        visibility: hidden;
    }

.tdTank {
    max-width: 50px !important;
    min-width: 32px !important;
}

    .tdTank input {
        width: 32px !important;
        padding: 0.1em !important;
        text-align: right !important;
    }

    .tdTank label {
        width: 32px !important;
        padding: 0.1em !important;
        text-align: right !important;
    }

.tdName {
    max-width: 500px;
    min-width: 100px;
}

    .tdName input {
        width: 100px;
        padding: 0.1em;
    }

.tdNameResEdit {
    max-width: 500px;
    min-width: 100px;
    width: 260px;
}

    .tdNameResEdit input {
        width: 240px;
        padding: 0.1em !important;
    }

.tdNute {
    max-width: 500px;
    min-width: 100px;
    width: 100px;
}

    .tdNute input {
        width: 100px;
        padding: 0.1em;
    }

.tdSubstance {
    max-width: 500px;
    min-width: 190px;
}

    .tdSubstance input {
        width: 100%;
        padding: 0.1em;
    }

.tdAmount {
    max-width: 100px;
    min-width: 100px;
}

    .tdAmount input {
        text-align: right;
        padding: 0.1em;
    }

    .tdAmount label {
        width: -webkit-fill-available;
        padding: 0.1em;
        text-align: right;
    }

.tdAmountResEdit {
    max-width: 100px;
    min-width: 100px;
    width: 100px;
}

    .tdAmountResEdit input {
        text-align: right;
        padding: 0.1em;
        width: 100px;
    }

    .tdAmountResEdit label {
        width: 100px;
        padding: 0.1em;
        text-align: right;
    }


.tdUnit {
    max-width: 30px;
    min-width: 30px;
}

    .tdUnit input {
        width: -webkit-fill-available;
        padding: 0.1em;
    }

    .tdUnit label {
        width: -webkit-fill-available;
        padding: 0.1em;
        text-align: right;
    }

.tdUnitResEdit {
    max-width: 30px;
    min-width: 30px;
}

    .tdUnitResEdit input {
        width: 30px;
        padding: 0.1em;
    }

    .tdUnitResEdit label {
        width: 30px;
        padding: 0.1em;
        text-align: right;
    }

.tdCalculatedAmount {
    max-width: 100px;
    min-width: 100px;
}

    .tdCalculatedAmount input {
        text-align: right;
        padding: 0.1em;
    }

    .tdCalculatedAmount label {
        width: -webkit-fill-available;
        padding: 0.1em;
        text-align: right;
    }

.tdCalculatedAmountResEdit {
    max-width: 60px;
    min-width: 60px;
    width: 60px;
}

    .tdCalculatedAmountResEdit input {
        text-align: right;
        padding: 0.1em;
        width: 60px;
    }

    .tdCalculatedAmountResEdit label {
        width: 60px;
        padding: 0.1em;
        text-align: right;
    }

.text-box {
    width: -webkit-fill-available;
}

.tdDecPPMResEdit {
    max-width: 100px;
    min-width: 100px;
}

    .tdDecPPMResEdit input {
        width: 100px;
        text-align: right;
        padding: 0.1em !important;
    }

.tdDecPPM {
    max-width: 60px;
    min-width: 60px;
}

    .tdDecPPM input {
        width: -webkit-fill-available;
        padding: 0.1em;
        text-align: right;
    }

    .tdDecPPM label {
        width: -webkit-fill-available;
        padding: 0.1em;
        text-align: right;
    }

.tdDecPPMHdr {
    max-width: 60px;
    min-width: 60px;
    font-size: small;
}

    .tdDecPPMHdr input {
        width: -webkit-fill-available;
        padding: 0.1em;
        text-align: right;
    }

    .tdDecPPMHdr label {
        width: -webkit-fill-available;
        padding: 0.1em;
        text-align: right;
    }

.odd-row {
    background-color: #f1f1f1;
}

.even-row {
    background-color: #e1e1e1;
}

.nopadding {
    padding: 0px !important;
}

.spaceFlexAround {
    display: flex;
    justify-content: space-around;
}

.spaceGridAround {
    display: grid;
    justify-content: space-around;
}

.gridCenter {
    display: grid;
    justify-content: center;
}

.minWidthUnSet {
    min-width: unset !important;
    width: 0px !important;
}
.cbcontainer {
    /*display: inline-block;*/
    padding-left: 0px !important;
}


.checkbox {
    text-align: left !important;
    padding-left: 0px !important;
    margin-left: 29px !important;
    zoom: 1.7;
    margin-top: 0px !important;
    border-color: lightgrey !important;
}

    .checkbox input {
        float: right;
        position: relative !important;
        margin-left: 50px !important;
        border-color: lightgrey !important;
    }

.contests input[type="checkbox"] {
    outline-style: solid;
    outline-color: red;
}

.marginleft2 {
    margin-left: 2px !important;
}

.webkitTextAlignCenter {
    text-align: -webkit-center !important;
}

.maxwidthunset {
    max-width: unset !important;
}

    .maxwidthunset td {
        max-width: unset !important;
    }

.col-sm-1perc {
    -webkit-box-flex: 0 !important;
    max-width: 1% !important;
}

.horizontal-scroll-except-first-column {
    width: 100%;
    overflow: auto;
}

    .horizontal-scroll-except-first-column > table {
        margin-left: 123px;
    }

        .horizontal-scroll-except-first-column > table > * > tr > th:first-child,
        .horizontal-scroll-except-first-column > table > * > tr > td:first-child {
            position: absolute;
            width: 123px;
            margin-left: -123px;
            background: lightblue !important;
            margin-top: 0px;
            height: 37px;
            padding-top: 10px;
        }

        .horizontal-scroll-except-first-column > table > * > tr > th,
        .horizontal-scroll-except-first-column > table > * > tr > td {
            /* Without this, if a cell wraps onto two lines, the first column
   * will look bad, and may need padding. */
            white-space: nowrap;
        }


.toggle {
    display: none;
}

.togglelabel {
    display: inline-block;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    margin-left: 3px;
}

    .togglelabel::before {
        content: "";
        position: absolute;
        top: 2px;
        left: 2px;
        width: 16px;
        height: 16px;
        background-color: white;
        border-radius: 25%;
        transition: transform 0.3s;
    }

.toggle:checked + label {
    background-color: #397eb8;
}

    .toggle:checked + label::before {
        transform: translateX(20px);
    }

.footerhomebutton {
    background-color: lightslategray;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.25rem;
}

h3 {
    font-size: 1rem;
}

h4 {
    font-size: 0.75rem;
}
.scrolltable td {
    padding-top: 1px;
    padding-bottom: 1px;
    vertical-align: middle;
}

.NameCell {
    border-bottom-width: 2px;
    border-top-width: 1px;
    margin-top: 0px;
    height: 50px !important;
    vertical-align: middle !important;
}

.navCalcEdit {
    font-size: small;
    flex-wrap: unset;
    width: max-content;
}

.divCenterLeft {
    width: max-content;
    float: left;
}

.divCenterRight {
    float: right;
}
.divCenterContainer{
    display: flow-root;
}

.height0 {
    height: 0px !important;
}


button.dropdown-toggle {
    border: 1px solid #ced4da;
}
/********************************/
