/*
 * Solum brown: (76, 57, 1).
 * Solum green: (113, 191, 69).
 */

/*
 * EXTENSIONS TO BOOTSTRAP.
 */
html {
    height: 100%;
}

body {
    height: 100%;
    min-width: 1230px;
    color: #333131;
    background-color: white;
    border-left: 10px solid #F7F0EC;
    border-right: 10px solid #F7F0EC;
}

div.wrapper {
    position: relative;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    min-width: 1230px;
    margin: 0 -10px -70px;
    border-left: 10px solid #F7F0EC;
    border-right: 10px solid #F7F0EC;
}

div.img_container {
    position: absolute;
    left: 0px;
    bottom: 4px;
    width: 3px;
    height: 24px;
    margin: 0px 0px;
    background-color: #ffffff;
    border: 1px solid black;
    opacity: 0.8;
}

.container-fluid {
    padding-left: 20px;
    padding-right: 15px;
    margin-left: 10px;
    margin-right: 10px;
}

#navigation {
    min-width: 1140px;
}

.navbar-inner {
    background-color: #F3F3F3;

    background-image: -moz-linear-gradient(top, white, #ECEDEC);
    background-image: -ms-linear-gradient(top, white, #ECEDEC);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white, #ECEDEC));
    background-image: -webkit-linear-gradient(top, white, #ECEDEC);
    background-image: -o-linear-gradient(top, white, #ECEDEC);
    background-image: linear-gradient(top, white, #ECEDEC);
    background-repeat: repeat-x;

    /* IE8-9 gradient filter */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='white', endColorstr='#ECEDEC', GradientType=0);
}

.navbar-fixed-top {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    margin-bottom: 0;
    -webkit-box-shadow: 0px 0px 7px -1px #777;
    box-shadow: 0px 0px 7px -1px #777;
    border-bottom: 1px solid #DDD;
}

.navbar .tabs li > a:hover {
    background-color: white;
    color: rgb(76, 57, 1);
}

.open .menu, .dropdown.open .menu, .open .dropdown-toggle, .dropdown.open .dropdown-toggle {
    background-color: white;
    color: rgb(76, 57, 1);
    border-color: #ccc !important;
}

.tabs {
    padding-top: 3px;
    margin: 0;
}

/* Embiggen tab headings. */
.tabs a {
    font-size: 18px;
    font-weight: bold;
    color: rgb(76, 57, 1);
}

/* Items in dropdown a bit smaller. */
.tabs .dropdown-menu {
    background-color: white;
}

.tabs .dropdown-menu li a {
    font-weight: normal;
    font-size: 16px;
    text-shadow: 0 1px 0 #ffffff;
    color: rgb(76, 57, 1);
    white-space: nowrap;
}

.tabs .menu-dropdown, .tabs .dropdown-menu {
    max-width: 288px;
    border-top: 0px;
    border-top-right-radius: 0;
    -moz-border-radius-topright: 0;
}

.tabs {
    border-style: none !important;
}

.row {
    min-width: 1240px;
}

.order-row {
    width: 1240px;
}

.sample-row-odd {
    background-color: #ffffff;
}

.sample-row-even {
    background-color: #eeeeee;
}

.sample-header {
    background-color: #eeeeee;
}

.main-content {
    padding-top: 53px;
}

.table-container {
    background-color: #FDFDFD;
    padding: 10px 15px 0px;
}

/* 
 * Save the trouble of having to clear and float, etc..
 * Use an id to prevent conflict with .content of bootstrap.
 */
div#content {
    /*    min-height: 620px;*/
}

/* Space out a bit more, center text for pretty. */
.sidebar .btn {
    margin: 3px;
    text-align: center;
}

/* Remove bootsrap's weird button outlines */
.btn:focus {
    outline: none;
}

a:focus {
    outline: none;
}

/* Bootstrap adds a margin that looks strange in plate detail views. */
dl {
    margin-bottom: 0px;
}

.sidebar dl {
    font-size: 13px;
}

dl.inline {
    display: block;
}

dl.inline dt {
    clear: left;
}

dl.inline dt, dl.inline dd {
    float: left;
}

dl.inline-horizontal {
    display: block;
    clear: left;
}

dl.inline-horizontal dt, dl.inline-horizontal dd {
    float: left;
    margin-left: 0px;
    margin-right: 9px;
}

/* A little less dead space. */
.pagination {
    margin: 9px auto;
    text-align: center;
}

.pagination-centered {
    text-align: center;
}

.pagination a {
    line-height: 24px;
}

/* Yellowish instead of gray. */
.zebra-striped tbody tr:hover td {
    /*    background-color: rgb(255, 255, 200);*/
    background-color: #EBE9E6;
}

/* Improve look of forms - reduce whitespacing. */
form {
    margin-bottom: 4px;
}

form.form-stacked {
    padding-left: 5px;
}

select.select {
    width: 215px;
}

input.input {
    margin: 0px;
    width: 205px;
}

input.input-half {
    margin: 0px;
    width: 95px;
}

textarea.textarea {
    width: 205px;
}

input.half-button {
    width: 105px;
    margin: 10px 0px !important;
    padding: 5px 12px 6px;
}

.full-button {
    width: 100% !important;
    margin: 10px 0px !important;
    padding: 5px 12px 6px;
}

input.tiny-button {
    width: 50px;
    margin: 0 0 !important;
    padding: 1px 1px 1px;
}

input.button {
    margin: 10px 0px !important;
}

input.table-input {
    width: 143px !important;
}

input.table-input-half {
    width: 50px !important;
}

/* Over-write bootstrap css */
.form-stacked .actions {
    margin: 10px -20px 10px -25px !important;
    padding-left: 25px !important;
}

.color-bar {
    float: left;
    position: relative;
}

/* Progress bars on sample detail page */
.progress {
    height: 20px;
    width: 150px;
    overflow: hidden;
    background-color: #F7F7F7;
    background-image: -moz-linear-gradient(top, whiteSmoke, #F9F9F9);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(whiteSmoke), to(#F9F9F9));
    background-image: -webkit-linear-gradient(top, whiteSmoke, #F9F9F9);
    background-image: -o-linear-gradient(top, whiteSmoke, #F9F9F9);
    background-image: linear-gradient(to bottom, whiteSmoke, #F9F9F9);
    background-repeat: repeat-x;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Blue */
.progress-info .bar {
    background-color: #146FD4;
    background-image: -moz-linear-gradient(top, #3FABFF, #3274D6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3FABFF), to(#3274D6));
    background-image: -webkit-linear-gradient(top, #3FABFF, #3274D6);
    background-image: -o-linear-gradient(top, #3FABFF, #3274D6);
    background-image: linear-gradient(to bottom, #3FABFF, #3274D6);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#3FABFF', endColorstr='#3274D6', GradientType=0);
}

/* Green */
.progress-success .bar {
    background-color: #75D347;
    background-image: -moz-linear-gradient(top, #58E458, #29AD29);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#58E458), to(#29AD29));
    background-image: -webkit-linear-gradient(top, #58E458, #29AD29);
    background-image: -o-linear-gradient(top, #58E458, #29AD29);
    background-image: linear-gradient(to bottom, #58E458, #29AD29);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#58E458', endColorstr='#29AD29', GradientType=0);
}

/* Yellow */
.progress-warning .bar {
    background-color: #FAE10A;
    background-image: -moz-linear-gradient(top, #FBED50, #F8BE06);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FBED50), to(#F8BE06));
    background-image: -webkit-linear-gradient(top, #FBED50, #F8BE06);
    background-image: -o-linear-gradient(top, #FBED50, #F8BE06);
    background-image: linear-gradient(to bottom, #FBED50, #F8BE06);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#FBED50', endColorstr='#F8BE06', GradientType=0);
}

/* Red */
.progress-danger .bar {
    background-color: #DD514C;
    background-image: -moz-linear-gradient(top, #EE5F5B, #C43C35);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#EE5F5B), to(#C43C35));
    background-image: -webkit-linear-gradient(top, #EE5F5B, #C43C35);
    background-image: -o-linear-gradient(top, #EE5F5B, #C43C35);
    background-image: linear-gradient(to bottom, #EE5F5B, #C43C35);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#EE5F5B', endColorstr='#C43C35', GradientType=0);
}

.progress .bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    color: white;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: width 0.6s ease;
    -moz-transition: width 0.6s ease;
    -o-transition: width 0.6s ease;
    transition: width 0.6s ease;
}

/*
 * END EXTENSIONS TO BOOTSTRAP.
 */

.warning-block {
    background-image: url(../img/collapse.png);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-position: 5px;
    padding-left: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 30px;
    display: flex;
    align-items: center;
    background-color: #fe8b4b;
    font-weight: bold;
    border-radius: 5px;
}

/*
 * SOLUM STYLE.
 */

/* Status label styling. */
.status {
    font-size: 14px;
    font-weight: bold;
    color: #575757;
    text-align: center;
    vertical-align: middle;
}

.status.warning, .status.pending {
    background-color: #FFFCD8 !important;
}

.status.missing {
    background-color: #FFFCD8 !important;
}

.status.measured {
    background-color: #DAF3FF !important;
}

.status.danger, .status.invalid, .status.unapproved {
    background-color: #FDC4C4 !important;
}

.status.needs_review, table.plate td.rerun {
    background-color: #BFBFBF !important;
}

.status.rerun-1, .status.rerun-2, .status.rerun-3, .status.rerun-4 {
    background-color: #FCFFC8 !important;
}

.status.ready {
    background-color: #DEF7A8 !important;
}

.status.sampled {
    background-color: #add8e6 !important;
}

.status.approved, .status.manually_approved, .status.automatically_approved {
    background-color: #CBFFCA !important;
}

.status.published, .status.reported {
    background-color: #B3FFED !important;
}

.status.ordered {
    background-color: #ddf4fb !important;
}

.status.received {
    background-color: #ffe4e4 !important;
}

.smp-msm-approved {

}

.smp-msm-unapproved {
    color: #902000;
    font-weight: bold;
}

.smp-msm-newer {
    color: #3d773d;
    font-weight: bold;
}

.smp-msm-delivered:after {
    content: "\02713";
    font-size: 70%;
}

.other-measurements {
    display: none;
}

/* Styling for motherbin statuses */

.header-row {
    background-color: #F0F0F0 !important;
}

.pass {
    background-color: #E4FDE4;
}

.fail {
    background-color: #FFC7CC;
}

.rerun {
    background-color: #FCFFC8;
}

.pending {
    background-color: #FFF9E5;
}

/* Sample type label styling. */
.label.sample_type {
    font-size: 12px;
}

.label.sample_type.normal {
    background-color: rgb(63, 63, 63);
}

.label.sample_type.di {
    background-color: rgb(19, 155, 255);
}

.label.sample_type.test {
    background-color: rgb(254, 139, 75);
}

.label.sample_type.qc {
    background-color: rgb(175, 62, 184);
}

/* Push the logo off the top a bit. */
#top-logo {
    height: 27px;
    padding-right: 20px;
    float: left;
    padding-top: 4px;
}

/* Plate table. */
table.plate tr {
    height: 100px;
    overflow: scroll;
}

table.plate td {
    background-color: white;
    padding: 5px;
    min-width: 100px;
}

.corner-container > .plate-well {
    z-index: 2;
    position: relative;
}

.corner-container {
    position: relative;
}

.corner {
    width: 0px;
    height: 0px;
    border-bottom: 70px solid #EEE;
    border-left: 70px solid transparent;
    position: absolute;
    bottom: 2px;
    right: 2px;
    z-index: 1;
}

/* Field detail page */
#data-table {
    clear: both;
}

/* ICP run QC delta background colors. */
tr.delta {
    background-color: #eee;
}


/* Fit four. */
div.plot {
    width: 45%;
    float: left;
}

/* Pinkish. */
.measurement.ph.buffered {
    color: rgb(253, 0, 135);
}

/* Footer extras. */
div.footer {
    border-top: 3px solid #ddd; /*#f9f6f4;*/
    padding-top: 10px;
    margin-top: 14px;
    height: 43px;
}

.push {
    height: 70px;
}

div.footer p {
    font-size: 14px;
    line-height: 22px;
    font-weight: bold;
}

/* Support popup */
.support-tab {
    position: fixed;
    bottom: 0px;
    right: 50px;
    width: 200px;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    box-shadow: 3px 3px 8px #DDD;
    background-color: #86CC4B;
    color: white;
    font-size: 15px;
    z-index: 9999;
    cursor: pointer;
}

/* Format/layout helpers */

.left {
    text-align: left;
}

.right {
    text-align: right;
    float: right;
    clear: right;
}

.errorlist {
    list-style: none;
}

.errorlist > li {
    color: red;
}

li.error {
    color: red;
}

.helper-link {
    font-size: 12px;
}

.alert {
    color: red;
}

.spacer {
    margin: 10px;
}

.breaker {
    page-break-before: always;
}

.separator {
    width: 100%;
    height: 10px;
    clear: both;
    text-align: center;
}

/* This duplicates hide. */
.hidden {
    display: none;
}

.clear {
    clear: both;
}

/* new clearfix */
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .clearfix {
    zoom: 1;
}

/* IE6 */
*:first-child + html .clearfix {
    zoom: 1;
}

/* IE7 */

/* Show/Hide buttons */
.collapse-title {
    vertical-align: middle;
    margin-left: -15px;
}

.toggle-button {
    cursor: pointer;
    background-color: #E6E6E6;
    background-repeat: no-repeat;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), color-stop(25%, white), to(#E6E6E6));
    background-image: -webkit-linear-gradient(white, white 25%, #E6E6E6);
    background-image: -moz-linear-gradient(top, white, white 25%, #E6E6E6);
    background-image: -ms-linear-gradient(white, white 25%, #E6E6E6);
    background-image: -o-linear-gradient(white, white 25%, #E6E6E6);
    background-image: linear-gradient(white, white 25%, #E6E6E6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
    padding: 0px 6px 3px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    color: #333;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    min-width: 12px;
    border: 1px solid #CCC;
    border-bottom-color: #BBB;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.throbber {
    background-image: url(../img/throbber.gif);
    background-position: center;
    background-repeat: no-repeat;
}

.throbber-gif {
    width: 1.0em;
}

.placeholder, .loading {
    font-size: 20px;
    vertical-align: top;
    color: #9B9B9B;
    font-weight: 200;
}

.adminLink {
    width: 16px;
    height: 16px;
    padding-right: 20px;
    background-image: url('../img/note_small.png');
    background-repeat: no-repeat;
    background-position: left center;
    text-decoration: none;
}

.adminLink:hover {
    text-decoration: none;
}

.reloadLink {
    width: 24px;
    display: inline-block;
    height: 16px;
    background-image: url('../img/reload.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    text-decoration: none;
}

.date-time {
    text-align: right;
    display: inline-block;
    width: 6em;
    padding-left: 0;
    padding-right: 0;
}

.color-key {
    margin: 16px 0;
    text-align: right;
    clear: right;
}

.invalid {
    background-color: #FFFCD8 !important;
}

.missing {
    background-color: #FFFCD8 !important;
}

.unapproved {
    background-color: #FFA0A0 !important;
}

.rerunning {
    background-color: #BFBFBF !important;
}

.key {
    padding: 2px 10px;
    margin: 4px 4px 0px 10px;
    border: 1px solid #DDD;
}

/* Places labels on the same line as checkboxes to which they are adjacent. */
input[type=checkbox] + label {
    display: inline;
}

.popover {
    text-align: left;
}

.attr-table {
    width: auto;
}

.attr-table tr td:first-child {
    font-weight: bold;
}

.invoice-table {
    width: auto;
}

.invoice-table tbody tr td {
    padding-left: 1em;
    padding-right: 1em;
}

.invoice-table thead tr th {
    padding-left: 1em;
    padding-right: 1em;;
}

.invoice-table td {
    text-align: right;
}

.invoice-table thead tr th:first-child {
    text-align: center;
}

.field-header-row {
    background-color: transparent !important;
    border: none;
}

tr.field-header-row td {
    background-color: transparent !important;
    text-align: left;
    font-weight: bold;
    padding-bottom: 5px;
    border: none;
}

.sort-dir-asc:after {
    padding-left: 5px;
    content: "\2193"
}

.sort-dir-desc:after {
    padding-left: 5px;
    content: "\2191"
}

.menu-dropdown .divider, .dropdown-menu .divider {
    border-bottom-width: 1px;
    border-bottom-color: lightgray;
    border-bottom-style: solid;
}

td.range-very-low, td.range-low, td.range-normal, td.range-high, td.range-very-high {
    position: relative;
    padding-right: 20px;
}

td.range-very-low:before, td.range-low:before, td.range-normal:before, td.range-high:before, td.range-very-high:before {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 13px;
    font-size: 75%;
    vertical-align: bottom;
    white-space: pre;
}

td.range-very-low:before {
    background-color: #EE5F5B;
    content: "V\AL";
    color: white;
    line-height: 1.7em;
}

td.range-low:before {
    background-color: orange;
    content: "L";
    font-weight: bold;
    line-height: 3.5em;
}

td.range-normal:before {
    content: "O";
    background-color: rgba(4, 231, 11, 0.23);
    line-height: 3.5em;
}

td.range-high:before {
    content: "H";
    font-weight: bold;
    background-color: #64ae78;
    line-height: 3.5em;
}

td.range-very-high:before {
    content: "V\AH";
    color: white;
    background-color: #468847;
    line-height: 1.7em;
}

/* Expanding filter checkbox list */

.expand_filter > label a:before {
    font-weight: normal;
    font-size: 90%;
    padding-left: .5em;
}

.expand_filter.ef_checked > label a:before {
    content: "Clear"
}

.expand_filter.ef_hidden > label a:before {
    content: "Add filter"
}

.expand_filter.ef_hidden > div {
    display: none;
}

.expand_filter.ef_nochecks > label a:before {
    content: "Hide"
}

.ui-autocomplete {
    overflow: scroll;
    height: 200px;
}

.ui-autocomplete:before {
    content: "Type more to narrow choices.";
    font-size: 8pt;
}

.tiny {
    font-size: xx-small;
}

.msm-approved {
    background-image: url('../img/lims/checked.png');
    background-repeat: no-repeat;
    background-position: left;
    background-size: 1em;
    padding-left: 2em;
}

.msm-unapproved {
    padding-left: 2em;
}

.msm-col {
    vertical-align: bottom;
}