body {
    padding-top: constant(safe-area-inset-top);
    padding-top: env(safe-area-inset-top);
    padding-top: 20px;
}

@media only screen and (min-width:501px) {
    body>div.search>div.container {
        max-width: 500px;
        margin: 0 auto;
    }
}

div.order label,
div.order span {
    /*color: rgb(85, 85, 85);*/
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 26px;
    width: 100pt;
}

div.order input.fixed {
    min-width: 130pt;
    width: 25%;
    display: inline;
}

label.time {
    width: 50px;
    max-width: 50px !important;
    min-width: 50px;
}

input.hours,
input.minutes {
    width: 50px !important;
    display: inline-block;
    text-align: center;
}

input.date {
    width: 100px !important;
    display: inline-block;
    text-align: center;
}

div.order #saved,
div.order #notSaved,
div.order #outOfSync,
div.order #missingContainerNumber,
div.order #missingSealNumber,
div.order #errorAlert {
    position: fixed;
    top: 51px;
    left: 0px;
    right: 0px;
}

div.order {
    margin-top: 50px;
}

div.order .anchor {
    padding-top: 60px;
    margin-top: -60px;
}

div.order #canvas {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.collapse-expand {
    cursor: pointer;
}

.panel-heading span.collapse-expand {
    width: 16px !important;
}

a.haz-pill {
    color: Red;
}

.no-padding-lr {
    padding-left: 0px;
    padding-right: 0px;
}

.no-padding-r {
    padding-right: 0px;
}

.no-padding-t {
    padding-top: 0px;
}

.no-padding-tb {
    padding-top: 0px;
    padding-bottom: 0px;
}

.no-margin-b {
    margin-bottom: 0px;
}

.no-margin-tb {
    margin-top: 0px;
    margin-bottom: 0px;
}

.margin-b-3 {
    margin-bottom: 3px;
}

.warning-glyph {
    margin-bottom: 3x;
    margin-right: 5px;
}

.padding-lr-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.padding-lr-2 {
    padding-left: 2px;
    padding-right: 2px;
}

.padding-l-2 {
    padding-left: 2px;
}

.padding-t-8 {
    padding-top: 8px;
}

.width-full {
    display: block;
    width: 100% !important;
    height: 25px;
    line-height: 25px !important;
    padding: 0px 12px;
}

.padding-l-5 {
    padding-left: 5px;
}

.hide {
    display: none;
}

.btn-back {
    margin-top: 7px;
    margin-right: 7px;
}

.control-address {
    display: block;
    width: 100% !important;
    height: 25px;
    line-height: 25px !important;
    padding: 0px 12px;
}

.label.control-address.label {
    text-align: left;
}

.sq-48 {
    width: 25px;
    height: 25px
}

.no-height {
    height: 0px;
}

.nav>li>a {
    height: 25px;
    line-height: 25px !important;
    padding: 0px 12px;
    font-weight: 700;
}

.navbar-brand>img {
    margin-top: -12px;
    height: 45px;
}

.navbar-header {
    padding-right: 8px;
}

.well {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.inline {
    display: inline;
}

.max-lines-1 {
    max-height: 25px;
    overflow: hidden;
}

.max-lines-2 {
    max-height: 50px;
    overflow: hidden;
}

.max-lines-3 {
    max-height: 75px;
    overflow: hidden;
}

.pbt {
    width: 100%;
    text-align: center;
}

.white {
    color: white !important;
    opacity: 1 !important;
}

.red {
    color: Red !important;
}

.blue {
    color: Blue !important;
}

.underline {
    text-decoration: underline;
}

.progress-bar {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

.loader-48 {
    border: 5px solid #e0e0e0;
    border-radius: 50%;
    border-top: 5px solid #337ab7;
    border-right: 5px solid #337ab7;
    width: 25px;
    height: 25px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.loader-max {
    border: 30px solid #e0e0e0;
    border-radius: 50%;
    border-top: 30px solid #337ab7;
    border-right: 30px solid #337ab7;
    width: 150px;
    height: 150px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#tracking,
#not-tracking,
#tracking-denied {
    font-size: 16px !important;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

#tracking {
    border: 12px solid #4cae4c;
}

#not-tracking {
    border: 12px solid #eea236;
}

#tracking-denied {
    border: 12px solid #ff0000;
}

a.w3w {
    display:block;
    color: unset;
    font-style: unset;
    margin-bottom: 3px;
    margin-top: -12px;
}

a.w3w span:first-of-type {
    color: #e11f26;
    margin-right: 3px;
}

div.outbound-queue-item {
    display:flex;
    flex-direction: column;
}

div.outbound-queue-item-t2 {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}
div.outbound-queue-item div {
    overflow: hidden;
    white-space: nowrap;
}
div.outbound-queue-item label {
    margin: unset !important;
}
small.outbound-queue-item-error {
    color: red;
}

div.no-outbound-data {
    display:flex;
    padding-top: 50px;
    flex-direction: column;
    justify-content: center;
    color: #999;
}

div.no-outbound-data h1 {
    color: #999;
    text-align: center;
}

div.no-outbound-data i {
    color: #999;
    font-size: 100pt;
    margin: 0 auto;
    margin-bottom: 20px;
}

.defect-label {
    width: unset !important;
    overflow-x: hidden;
    white-space: nowrap;
}

.defect-card-label {
    width: unset !important;
    white-space: nowrap;
}

.picSignature{
    width: 100%;
}

.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    border-radius: 50px;
    height:50px;
    width: 50px;
    filter: drop-shadow(0 0 0.33rem black);
    z-index: 1000;
}

.btn-defect-toggle {
    display:flex
}

.btn-defect-toggle > label {
    flex-grow: 1;
}

.defect-report-adder {
    position: fixed;
    background-color: white;
    display: flex;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px;
    gap:10px;
    box-shadow: 0 -1px 3px 0px rgba(50,50,50,0.5);
}

.defect-report-adder > * {
    flex-grow: 1;
    flex-basis: 0;
}

#defectReports div.well {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.mandatory-defect-alert {
    margin-left: 17px;
    margin-right: 17px;
}

.defect-report-card {
    display:flex;
    flex-direction: row;   
    justify-content: space-between;
}

.defect-report-card > div:last-child {
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}