﻿body {
    padding-top: 20px;
    padding-bottom: 20px;
}
:root { --main-color: crimson; }


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.nopadding {
    padding-left: 0;
    padding-right: 0;
}

.nopadding-left {
    padding-left: 0;
}

.nopadding-right {
    padding-right: 0;
}
.pl15 {
    padding-left: 15px;
}

.pr15 {
    padding-right: 15px;
}

.btn-rate {
    display: inline-block;
    padding: 5px;
    border: 1px solid black;
}
.margin-bottom10 {
    margin-bottom: 10px;
}
.nomargin {
    margin-left: 0;
    margin-right: 0;
}
.nomargin-bottom {
    margin-bottom: 0;
}
.nomargin-left {
    margin-left: 0;
}
.nomargin-right {
    margin-right: 0;
}
.mb5 {
    margin-bottom: 5px;
}
.mb3 {
    margin-bottom: 3px;
}
.control-padding {
    padding-left: 15px;
    padding-right: 15px;
}

.control-nopadding {
    padding-left: 0px;
    padding-right: 0px;
}

.control-margin {
    margin-left: 15px;
    margin-right: 15px;
}
.left-label {
    text-align: left !important;
}
/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/
@media (min-width: 1400px) {
    .container {
        width: 1400px;
    }
}
.container2 {
    border-top: 3px solid var(--main-color);
    background-color: #EDEDED;
    /*    border-bottom: 3px solid #334986;
*/ border-bottom: 3px solid var(--main-color);
}

.color1 {
    /*color: #334986;*/
    color: var(--main-color);
}

.customer-portal1 {
    /*margin-left: 350px;*/
    margin-top: -10px;
    font-weight: bold;
    font-size: 50px;
    font-style: italic;
}

table {
    table-layout: fixed;
}

td {
    word-break:break-all;
}

.customerdisabled {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: white !important;
}

.btn-text {
    font-family: Calibri;
    font-weight: bold;
}
.btn-seltext {
    font-family: Calibri;
    font-weight: bold;
    color:#00ffff;
}
.btn.active{
    font-family: Calibri;
    font-weight: bold;
    color:#00ffff;
}
.btn.active.focus{
    color:#00ffff;
}
.btn.active:active{
    color:#00ffff;
}
.btn.active:hover {
    color: yellow;
}

/*'Arial Rounded MT Bold Font';*/


.color-clear {
    background: white;
    color: black;
}

.color-active {
    background: #E8DEFF;
    color: darkblue;
}
.color-invoiced {
    background:darkgreen !important;
    color: white !important;
}
.color-invalid {
    background: black !important;
    color: white !important;
}

.color-ordered-tomorrow {
    background: #A52A2A !important;
    color: white !important;
}

.color-ordered {
    background: #FFFF00 !important;
    color: black !important;
}

.color-assigned {
    background: #7FFFD4 !important;
    color: black !important;
}

.color-topickup {
    background: #53868B !important;
    color: white !important;
}

.color-pickup {
    background: #7FFF00 !important;
    color: black !important;
}

.color-warehouse {
    background: #F0F8FF !important;
    color: black !important;
}

.color-warehouse tr:hover {
    background: grey !important;
    color: white !important;
}

.color-todelivery {
    background: #00FFFF !important;
}

.color-delivered {
    background: #FF82AB !important;
    color: black !important;
}
.color-portal {
    border: solid 4px orangered;
} 
label.color-switch {
    width: 13.4%;
}
div.color-switch {
    width: 13.4%;
    display: inline-block;
}
div.colorswitch {
    padding-top: 1px;
    padding-bottom: 1px;
}
.color-switch div {
    width: 25%;
    height: 37px;
    border: solid 1px black;
    display: inline;
}
.color-switch label {
    margin-left: 5px;
    display: inline;
}
label.date-switch {
    width: 9%;
    min-width: 144px;
}
label.status-switch {
    width: 9%;
    min-width: 100px;
}
button.selected {
    border: red solid 3px;
}
tr.selected {
    background-color:deepskyblue;
}

.colorswitch, .dateswitch, .colorchange, .statusswitch {
    text-align: center;
    padding: 6px 12px;
    width: 100%;
    line-height: 1.42857143;
    border-radius: 4px;
    border-color: black;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.color-sameday .sd-label {
    background: rgb(255, 136, 4) !important;
    color: white !important;
    display: inline-grid;
}

.color-sameday-today .sd-label {
    background: rgb(221, 0, 5) !important;
    color: white !important;
    display: inline-grid;
}

.sd-label {
    display: none;
}

.multidelivery .edit-btn {
    border: 2px solid #1E23FF !important;
}
.cc-selector {
    align-content: center;
    text-align: center;
}

/*.nonpaid {
    background:#53868b;
    color: white;
    display: inline-grid;
    width: 95%;
}
.nonpaid.checked {
    background:#7fffd4;
    color: black;
    border: #1e23ff 1px solid;
}
.nonpaid.checked:hover {
    background:#7fff00;
    color: blue;
}*/
.switch {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
    color:darkcyan
}

.btn-nonpaid {
    background-image: -webkit-linear-gradient(top,#7fffd4 0,darkcyan 100%);
    background-image: -o-linear-gradient(top,#7fffd4 0,darkcyan 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#7fffd4),to(darkcyan));
    background-image: linear-gradient(to bottom,#7fffd4 0,darkcyan 100%);
    border: 1px solid;
    color: black;
    font-weight: bold;
    width: 115px;
}
.btn-nonpaid:hover {
    color: white;
}
.btn-clear {
    background-image: -webkit-linear-gradient(top,orange 0,orangered 100%);
    background-image: -o-linear-gradient(top,orange 0,orangered 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(orange),to(orangered));
    background-image: linear-gradient(to bottom,orange 0,orangered 100%);
    border: 1px solid;
    color: white;
    font-weight: bold;
}

.due90 {
    background-color: rgb(88,0,0);
    color: white;
}
.due90:hover {
    /*background-color: darkred;*/
    color: rgb(88,0,0);
}
.due60 {
    background-color: rgb(155, 0, 0);
    color: white;
}.due60:hover {
    color: black;
}
.due30 {
    background-color: #FF5B5B;
}.due30:hover {
    color: #FF5B5B;
}
.due15 {
    background-color: #FFC9C9;
}
.due0 {
    background: linear-gradient(to bottom, lightgray 0%,lightgray 50%,#000000 50%,white 50%,white 100%);
}

.inline-link {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: bold;
    padding-top: 7px;
    display: block;
}
.pointer {
    cursor: pointer;
}
.all-entries {
    margin-top: 10px;
}
.inv-entries {
    margin-top: 5px;
    height: 22px;
}

.animText {
    animation: animShadow linear .7s 6 forwards;
    -webkit-animation: animShadow linear .7s 6 forwards;
    text-shadow: none;
}
@keyframes animShadow {
    from {
        /*opacity: 0;
        transform: scale(.9, .9);*/
        text-shadow: 4px 4px 8px yellow;
    }

    to {
        /*opacity: 1;
        transform: scale(1, 1);*/
        text-shadow: none;
    }
}

@font-face {
    font-family: 'BarCodeFont';
    src: url('/fonts/3OF9_NEW.TTF');
}

.barcode {
    font-family: 'BarCodeFont';
}

.toggle-button {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 0;
    vertical-align: top;
    background: #ffffff;
    border: 1px solid #bbc1e1;
    border-radius: 30px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    .toggle-button::after {
        content: "";
        display: inline-block;
        position: absolute;
        left: 3px;
        top: 1.5px;
        width: 25px;
        height: 25px;
        background-color: var(--main-color);
        border-radius: 50%;
        transform: translateX(0);
    }

.toggle-button:checked::after {
    transform: translateX(calc(100% + 3px));
    background-color: #fff;
}

    .toggle-button:checked {
        background-color: var(--main-color);
    }

.toggle-text {
    color: var(--main-color);
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 7px;
    cursor: pointer;
}

.btn-bol {
    height: 22px;
    padding: 3px 8px;
    font-size: 12px;
    color: black;
    background-color: transparent;
    border-color: #0564BC;
    border-bottom: 1px solid #033c73;
    /*background-image: linear-gradient(#0677E0, #0564BC 60%, #04519b);*/
}
.btn-bol:hover {
    color: darkblue; 
    border-color: #07B2FF;
    background-color: #EAEAEA;
    /*background-image: linear-gradient(#04519b, #033c73 60%, #02325f);*/
}


.loader20 {
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid blue;
    border-bottom: 2px solid blue;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.loader40 {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid blue;
    border-bottom: 3px solid blue;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.btn-primary-def {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
/*    background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
    background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
    background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #245580;
    text-shadow: 0 -1px 0 rgb(0 0 0 / 20%);
    -webkit-box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
*/}

.btn-primary-def:focus,
.btn-primary-def.focus {
    color: #fff;
    background-color: #286090;
    border-color: #122b40;
}

.btn-primary-def:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.btn-primary-def:active,
.btn-primary-def.active,
.open > .dropdown-toggle.btn-primary-def {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.btn-primary-def:active:hover,
.btn-primary-def.active:hover,
.open > .dropdown-toggle.btn-primary-def:hover,
.btn-primary-def:active:focus,
.btn-primary-def.active:focus,
.open > .dropdown-toggle.btn-primary-def:focus,
.btn-primary-def:active.focus,
.btn-primary-def.active.focus,
.open > .dropdown-toggle.btn-primary-def.focus {
    color: #fff;
    background-color: #204d74;
    border-color: #122b40;
}

.btn-primary-def:active,
.btn-primary-def.active,
.open > .dropdown-toggle.btn-primary-def {
    background-image: none;
}

.btn-primary-def.disabled:hover,
.btn-primary-def[disabled]:hover,
fieldset[disabled] .btn-primary-def:hover,
.btn-primary-def.disabled:focus,
.btn-primary-def[disabled]:focus,
fieldset[disabled] .btn-primary-def:focus,
.btn-primary-def.disabled.focus,
.btn-primary-def[disabled].focus,
fieldset[disabled] .btn-primary-def.focus {
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary-def .badge {
    color: #337ab7;
    background-color: #fff;
}

.btn-info-def {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

    .btn-info-def:focus,
    .btn-info-def.focus {
        color: #fff;
        background-color: #31b0d5;
        border-color: #1b6d85;
    }

    .btn-info-def:hover {
        color: #fff;
        background-color: #31b0d5;
        border-color: #269abc;
    }

    .btn-info-def:active,
    .btn-info-def.active,
    .open > .dropdown-toggle.btn-info-def {
        color: #fff;
        background-color: #31b0d5;
        border-color: #269abc;
    }

    .btn-info-def:active:hover,
    .btn-info-def.active:hover,
    .open > .dropdown-toggle.btn-info-def:hover,
    .btn-info-def:active:focus,
    .btn-info-def.active:focus,
    .open > .dropdown-toggle.btn-info-def:focus,
    .btn-info-def:active.focus,
    .btn-info-def.active.focus,
    .open > .dropdown-toggle.btn-info-def.focus {
        color: #fff;
        background-color: #269abc;
        border-color: #1b6d85;
    }

.btn-info-def:active,
.btn-info-def.active,
.open > .dropdown-toggle.btn-info-def {
    background-image: none;
}

.btn-info-def.disabled:hover,
.btn-info-def[disabled]:hover,
fieldset[disabled] .btn-info-def:hover,
.btn-info-def.disabled:focus,
.btn-info-def[disabled]:focus,
fieldset[disabled] .btn-info-def:focus,
.btn-info-def.disabled.focus,
.btn-info-def[disabled].focus,
fieldset[disabled] .btn-info-def.focus {
    background-color: #5bc0de;
    border-color: #46b8da;
}

.btn-info-def .badge {
    color: #5bc0de;
    background-color: #fff;
}

.col-xs-5c,
.col-sm-5c,
.col-md-5c,
.col-lg-5c {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5c {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5c {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5c {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5c {
        width: 20%;
        float: left;
    }
}

.topFixed {
    position: fixed;
    top: 0;
    /*width: 100%;*/
    background-color: white;
    padding: 6px 15px;
    border-radius: 5px;
    /* border: 1px solid gray; */
    z-index: 99;
    box-shadow: 0 0 9px 0px black;
}

.zipCode {
    max-width: 120px;
}
.zipCode-sm {
    max-width: 100px;
}
.time {
    max-width: 130px;
}
.tooltip-status {
    position: absolute;
    left: 100%;
    top: 0;
    box-shadow: 10px 5px 5px darkgrey;
    background: khaki;
    padding: 5px;
    border-radius: 10px;
    width: max-content;
    cursor: default;
}
.required-data {
    border: 2px solid red !important;
    border-radius: 4px !important;
}
