/* Brand Colors
 *   - These colors may be used in various places, but their main uses are noted below.
 ***********************************************/
/* Select2 Overrides
 *   - Increases height to match default Bootstrap input size
 *   - Theming of highlighted option
 ***********************************************/
.select2-container {
    height: 38px;
}

    .select2-container .select2-selection--single {
        height: 38px;
    }

        .select2-container .select2-selection--single .select2-selection__rendered {
            height: 38px;
            line-height: 38px;
        }

        .select2-container .select2-selection--single .select2-selection__arrow {
            height: 38px;
        }

    .select2-container .select2-results__option--highlighted[aria-selected] {
        background-color: #45946d;
    }

/* Bootstrap Datpicker Overrides
 *   - Alters Bootstrap's input-group styles
 *   - Blends the input background with the appended group text (cal icon)'
 *   - Changes highlight color from blue to primary-green
 ***********************************************/
.input-group.date input {
    border-right: none;
}

    .input-group.date input::placeholder {
        color: #999;
    }

.input-group.date .input-group-append .input-group-text {
    background-color: #fff;
    border-left: none;
}

.datepicker table tr td span.active.active,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled.active,
.datepicker table tr td span.active.disabled.disabled,
.datepicker table tr td span.active.disabled:active,
.datepicker table tr td span.active.disabled:hover,
.datepicker table tr td span.active.disabled:hover.active,
.datepicker table tr td span.active.disabled:hover.disabled,
.datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active.disabled:hover:hover,
.datepicker table tr td span.active.disabled:hover[disabled],
.datepicker table tr td span.active.disabled[disabled],
.datepicker table tr td span.active:active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active:hover.disabled,
.datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active:hover:hover,
.datepicker table tr td span.active:hover[disabled],
.datepicker table tr td span.active[disabled],
.datepicker table tr td.active.active,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled.disabled,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover,
.datepicker table tr td.active.disabled:hover.active,
.datepicker table tr td.active.disabled:hover.disabled,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.disabled:hover:hover,
.datepicker table tr td.active.disabled:hover[disabled],
.datepicker table tr td.active.disabled[disabled],
.datepicker table tr td.active:active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active:hover.active,
.datepicker table tr td.active:hover.disabled,
.datepicker table tr td.active:hover:active,
.datepicker table tr td.active:hover:hover,
.datepicker table tr td.active:hover[disabled],
.datepicker table tr td.active[disabled] {
    background-color: #45946d;
    background-image: none;
}

/* "MetaFarms" Tables
 ***********************************************/
.table.mf-table {
    margin-bottom: 2rem;
}

    .table.mf-table thead th {
        background-color: #f8faf6;
        color: #6c757d;
        font-weight: normal;
        font-size: 13px;
        text-transform: uppercase;
        vertical-align: middle;
    }

    .table.mf-table tbody:before {
        content: '-';
        display: block;
        line-height: 0.3em;
        color: transparent;
    }

    .table.mf-table tbody td {
        vertical-align: middle;
        padding: 0.5rem 0.3rem;
    }

.mf-table-sm .row {
    padding: 0.3rem 0;
    margin-right: 0;
    margin-left: 0;
}

    .mf-table-sm .row .col {
        padding: 0.2rem 0;
    }

        .mf-table-sm .row .col:first-of-type {
            color: #6c757d;
            font-weight: normal;
            font-size: 14px;
            text-transform: uppercase;
        }

        .mf-table-sm .row .col:nth-of-type(2) {
            text-align: right;
        }

.mf-table-sm .col {
    border-bottom: 1px solid #6c757d;
    padding-left: 0;
    padding-right: 0;
}

.mf-table-sm .row:last-of-type .col {
    border-bottom: none;
}

.row.mf-table-sm-title-row .col {
    font-weight: bold;
}

    .row.mf-table-sm-title-row .col:first-of-type {
        color: initial;
    }

/* Card selecting behavior
 ***********************************************/
.card-list.selecting .card {
    cursor: pointer;
}

    .card-list.selecting .card button {
        pointer-events: none;
        cursor: default;
    }

.card.selected {
    outline: 3px solid #45946d;
}

    .card.selected > * {
        opacity: 0.5;
    }

#mf-order-form .mf-form-card {
    border-top: transparent;
    border-top-left-radius: 0;
    min-height: 75%;
}

#mf-select-all-action {
    background-color: #45946d;
    height: 130px;
    z-index: 1090;
}

.h-25px {
    height: 25px;
}

.mf-dropdown-group a.btn {
    color: #45946d;
}


.mf-dropdown-group .dropdown-menu {
    border: 1px solid #45946d;
}

.mf-dropdown-group .dropdown-item {
    border-bottom: 1px solid #45946d;
    color: #45946d;
    text-transform: uppercase;
    text-align: center;
    padding: 0.6rem 0;
}

    .mf-dropdown-group .dropdown-item:last-of-type {
        border-bottom: none;
    }

    .mf-dropdown-group .dropdown-item:hover {
        color: #fff;
    }

/**************************************************/

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.ng-hide:not(.ng-hide-animate) {
    /* These are just alternative ways of hiding an element */
    display: block !important;
    position: absolute;
    top: -9999px;
    left: -9999px;
}

.is-invalid + .select2-container .select2-selection,
.is-invalid + .input-group-addon .input-group-text {
    border-color: #e03825 !important;
}

/* "ICTUS" Code
 ***********************************************/

.edge-fix {
    margin-bottom: -15px;
}

@media screen and (max-width: 576px) {
    .desktopLogo {
        width: 50%;
    }
}

/* Code to customize Create Form 
 ***********************************************/

table.minimal tr td {
    padding: 4px !important;
    height: 10px !important;
}

table.minimal {
    box-shadow: 1px 1px 5px #c4c3c3;
}

/* Code to customize Feed Bin & Layout Mobile views
 ***********************************************/

.mobile {
    margin-top: 20px;
    max-width: 400px;
}

.mobile-btn {
    margin-top: 50px;
    background: #c3c3c3;
    padding-top: 10px;
    padding-bottom: 18px;
    color: #ffffff;
}

.FeedBinLayout {
    width: inherit;
    margin-left: 33.333%;
}

.FeedBinDesktop {
    width: 500px;
}

@media screen and (max-width: 740px) and (min-width: 360px) {
    .FeedBinLayout {
        margin-left: 0px;
    }
    .reset {
        width: 100% !important;
        margin-left: 0px !important;
    }
}

@media screen and (max-width: 1024px) and (min-width: 741px) {
    .FeedBinLayout {
        margin-left: 15%;
    }
}

.mobileBin {
    margin-left: 25%;
    border-bottom: 0px !important;
    margin-bottom: 10px;
}

/* Code to mock Feed Bin Layout menu
 ***********************************************/

.reset {
    background-color: #4b4b4b;
    width: 500px;
    height: 40px;
    color: #ffffff;
    padding-top: 10px;
    padding-left: 20px;
    margin-bottom: 5px;
    margin-top: 10px;
    margin-left: 0;
}

/* Code to program Slide Ruler
 ***********************************************/

.slidecontainer {
    width: 88%; /* Width of the outside container */
    margin-left: 20px;
}

/* The slider itself */
input[type=range] {
    /*removes default webkit styles*/
    -webkit-appearance: none;
    /*fix for FF unable to apply focus style bug */
    border: 1px solid white;
    /*required for proper track sizing in FF*/
    width: 100%;
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
    border-radius: 5px;
}

    input[type=range]::-webkit-slider-runnable-track {
        width: 100%;
        height: 10px;
        background: #709749;
        border: none;
        outline: none; /* Remove outline */
        opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
        -webkit-transition: .2s; /* 0.2 seconds transition on hover */
        transition: opacity .2s;
        border-radius: 5px;
    }

/* Mouse-over effects */
.slider:hover {
    opacity: 1; /* Fully shown on mouse-over */
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    width: 30px; /* Set a specific slider handle width */
    height: 30px; /* Slider handle height */
    border-radius: 50%;
    background: #ffffff; /* White background */
    cursor: pointer; /* Cursor on hover */
    border: 2px solid #709749;
    box-shadow: 1px 1px 5px #c4c3c3;
    margin-top: -10px;
}

    input[type=range]:focus {
        outline: none;
    }

        input[type=range]:focus::-webkit-slider-runnable-track {
            background: #ccc;
        }

input[type=range]::-moz-range-track {
    -webkit-appearance: none; /* Override default CSS styles */
    appearance: none;
    width: 100%; /* Full-width */
    height: 10px; /* Specified height */
    background: #709749; /* Green background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
    border-radius: 5px;
}

    input[type=range]::-moz-range-thumb {
        border: 1px solid #709749;
        height: 30px;
        width: 30px;
        border-radius: 50%;
        background: #ffffff;
        opacity: 0.9;
    }

    /*hide the outline behind the border*/
    input[type=range]:-moz-focusring {
        outline: 1px solid white;
        outline-offset: -1px;
    }

    input[type=range]::-ms-track {
        width: 100%;
        height: 10px;
        /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
        background: transparent;
        /*leave room for the larger thumb to overflow with a transparent border */
        border-color: transparent;
        border-width: 6px 0;
        /*remove default tick marks*/
        color: transparent;
    }

    input[type=range]::-ms-fill-lower {
        background: #709749;
        border-radius: 10px;
    }

    input[type=range]::-ms-fill-upper {
        background: #709749;
        opacity: 0.6;
        border-radius: 10px;
    }

    input[type=range]::-ms-thumb {
        border: 1px solid #709749;
        height: 22px;
        width: 22px;
        border-radius: 50%;
        background: #ffffff;
        margin-top: 1px;
    }

    input[type=range]:focus::-ms-fill-lower {
        background: #888;
    }

    input[type=range]:focus::-ms-fill-upper {
        background: #ccc;
    }

.percent-5 {
    margin-left: -4%;
}

.percent-10 {
    margin-left: 0%;
}

.percent-15 {
    margin-left: 5%;
    margin-right: -5%;
}

.percent-20 {
    margin-left: 9%;
    margin-right: -9%;
}

.percent-25 {
    margin-left: 13%;
    margin-right: -13%;
}

.percent-30 {
    margin-left: 18%;
    margin-right: -18%;
}

.percent-35 {
    margin-left: 23%;
    margin-right: -23%;
}

.percent-40 {
    margin-left: 27%;
    margin-right: -27%;
}

.percent-45 {
    margin-left: 33%;
    margin-right: -33%;
}

.percent-50 {
    margin-left: 37%;
    margin-right: -37%;
}

.percent-55 {
    margin-left: 42%;
    margin-right: -42%;
}

.percent-60 {
    margin-left: 46%;
    margin-right: -46%;
}

.percent-65 {
    margin-left: 50%;
    margin-right: -50%;
}

.percent-70 {
    margin-left: 54%;
    margin-right: -54%;
}

.percent-75 {
    margin-left: 58%;
    margin-right: -58%;
}

.percent-80 {
    margin-left: 62%;
    margin-right: -62%;
}

.percent-85 {
    margin-left: 66%;
    margin-right: -66%;
}

/* Code to customize Feed Bin Mobile view
 ***********************************************/

.bin {
    height: 225px;
    margin-top: 10px;
    margin-right: 20px;
}

.inventory {
    margin-top: -50px;
}

.observation {
    margin-top: -25px;
}

/* Code to program fill function for feed bin */

.fillerouter {
    background-image: url('../Images/BinImageOuter.png');
    background-repeat: no-repeat;
    position: relative;
    width: 128px;
    height: 225px;
    margin-top: 10px;
}

.gray-0 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #c4c4c4;
    height: 200px;
}

.orange-5 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 40px;
}

.orange-10 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 48px;
}

.orange-15 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 56px;
}

.orange-20 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 64px;
}

.orange-25 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 72px;
}

.orange-30 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 80px;
}

.orange-35 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 88px;
}

.orange-40 {
    background-color: #fc7c14;
    height: 96px;
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
}

.orange-45 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 104px;
}

.orange-50 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 112px;
}

.orange-55 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 128px;
}

.orange-60 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 136px;
}

.orange-65 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 144px;
}

.orange-70 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 152px;
}

.orange-75 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 160px;
}

.orange-80 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 168px;
}

.orange-85 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 176px;
}

.orange-90 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 184px;
}

.orange-95 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 192px;
}

.orange-100 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #fc7c14;
    height: 200px;
}

.blue-5 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 40px;
}

.blue-10 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 48px;
}

.blue-15 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 56px;
}

.blue-20 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 64px;
}

.blue-25 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 72px;
}

.blue-30 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 80px;
}

.blue-35 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 88px;
}

.blue-40 {
    background-color: #219EBA;
    height: 96px;
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
}

.blue-45 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 104px;
}

.blue-50 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 112px;
}

.blue-55 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 128px;
}

.blue-60 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 136px;
}

.blue-65 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 144px;
}

.blue-70 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 152px;
}

.blue-75 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 160px;
}

.blue-80 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 168px;
}

.blue-85 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 176px;
}

.blue-90 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 184px;
}

.blue-95 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 192px;
}

.blue-100 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #219EBA;
    height: 200px;
}

.green-5 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 40px;
}

.green-10 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 48px;
}

.green-15 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 56px;
}

.green-20 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 64px;
}

.green-25 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 72px;
}

.green-30 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 80px;
}

.green-35 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 88px;
}

.green-40 {
    background-color: #446d23;
    height: 96px;
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
}

.green-45 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 104px;
}

.green-50 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 112px;
}

.green-55 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 128px;
}

.green-60 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 136px;
}

.green-65 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 144px;
}

.green-70 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 152px;
}

.green-75 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 160px;
}

.green-80 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 168px;
}

.green-85 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 176px;
}

.green-90 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 184px;
}

.green-95 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 192px;
}

.green-100 {
    position: absolute;
    bottom: 0px;
    width: 128px;
    overflow: visible;
    background-color: #446d23;
    height: 200px;
}

.fillrate {
    margin-top: 50px;
    background: #4b4b4b;
    padding-top: 5px;
    padding-bottom: 8px;
    color: #ffffff;
    width: 80px;
    position: absolute;
    top: 0%;
    left: 15%
}

/* Code to header size and position */

header.notTabbed {
    height: 60px !important;
    position: sticky;
    top: 0;
    z-index: 99;
}

header.fixedHeader {
    position: sticky;
    top: 0;
    z-index: 99;
    height: 130px !important;
}

@media (max-width: 991.98px) {
    header.notTabbed .container {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
}

/* Code for active bin switch */

.switch {
    display:inline-block;
    width:75px;
    height:30px;
    margin-top: -14px;
    transform:translateY(50%);
}

/* Code for positioning the subtitle relative to the logo image */

h6.mobilesubtitle {
    color: #fff;
    position: relative;
    margin-top: 40px;
    float: left;
    margin-left: -127px;
    text-transform: uppercase;
}

/* Code for moving create order button for mobile devices */

.ordermobile-sm {
    position: relative;
    float: left;
    margin-right: 0;
    margin-top: -40px;
}

/* Code for refresh button on suggested page */

.refresh-md {
    margin-top: -15px;
}

/* Code for Active Switch */

.btn-switch {
    position: relative;
    display: block;
    width: 65px;
    height: 25px;
    cursor: pointer;
    background-color: #c4c4c4;
    border: 2px solid #c4c4c4;
    border-radius: 40px;
}
.btn-switch .btn-switch-circle {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 40px;
}
.btn-switch--on {
    background-color: #219eba;
    border: 2px solid #219eba;
}
.btn-switch--on .btn-switch-circle--on {
    left: auto;
    right: 0;
}

/* Code for login portal */

.loginportal {
    float: left;
    margin-top: 250px;
    margin-left: -420px;
    z-index: 1;   
}

.messageportal {
    max-width: 524px;
    margin-top: -125px;
    padding-top: 125px;
}