

.order-mobile {
    display: none;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    --color-highlight: #53819b;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

h1 {
    font-weight: 200 !important;
    font-size: 3em;
}

h2 {
    margin-bottom: .6em !important;
    font-weight: 200;
    color: var(--color-primary-dark-1);
}

h3,
h4 {
    margin: .6em 0 .2em;
}

h2.filled-header {
    background-color: var(--color-primary-med);
    color: #ffffff;
    padding: .2em .2em .2em 15px;
    margin-bottom: 0 !important;
    font-size: 1.9em;
}

h2.clickable-header:hover {
    color: #fff;
    background-image: linear-gradient(to top, var(--color-button-hover-1), var(--color-button-hover-2));
    cursor: pointer;
}

.filled-header-w-button {
    width: 100%;
    grid-template-columns: 1.4fr .2fr;
    display: grid;
    justify-content: flex-end;
    padding-right: 1em;
    background-color: var(--color-primary-med);
    align-items: center;
}

.filled-header-w-button .filled-header {
    width: 85%;
}

#category-toggle h2 {
    margin: .3em 0 !important;
    cursor: pointer;
}

input[type="date"] {
    width: 10em;
    margin-right: 1em;
}

input.qtyAmount:disabled {
    cursor: not-allowed;
}

.required-field {
    border: 1px solid red;
}

.required-field::before {
    content: "This field is required.";
    position: absolute;
    top: -10px;
}

label.required:after {
    content: "*";
    color: red;
}

.hightlight-text {
    color: var(--color-secondary-med);
}

.simple-border-box {
    width: 100%;
    border: 1px solid var(--color-grey-med);
    padding: .5em;
}

.simple-filled-box {
    width: 100%;
    border: 1px solid var(--color-secondary-med);
    background-color: var(--color-grey-med);
    padding: 1em;
    color: #fff;
    text-align: center;
    text-wrap: balance;
}

.boxed {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1em;
    background-color: #fff;
}

.grid-row-span {
    grid-row: span 2;
}

p.sub-head {
    margin-bottom: 0;
    font-weight: 700;
}

/* Dialog 
dialog {
    border: 1px solid darkblue;
    border-radius: 8px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    max-width: 40%;
    min-width: 300px;
}
dialog h3 {
    margin-top: 0;
}
dialog legend {
    margin-bottom: 0;
}
dialog button {
    color: #fff;
    text-align: center;
    cursor: pointer;
    padding: 13px 29px;
    line-height: 17px;
    font-size: 14px;
    background-image: linear-gradient(to top, var(--color-button-1), var(--color-button-2));
    border: 1px solid transparent;
    border-radius: var(--button-radius);
}
dialog button:hover {
    color: #fff;
    background-image: linear-gradient(to top, var(--color-button-hover-1), var(--color-button-hover-2));
}
.dialog-close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0.25rem 0.5rem;
}
.dialog-close-btn:hover {
    color: #000;
}
#smsQuestion {
    margin-bottom: 1em;
}
#smsQuestion label:first-of-type {
    margin-right: 1.5em;
}
dialog p.disclaimer {
    font-size: .7em;
    margin-bottom: 0;
}
#phoneNumWrapper {
    margin-bottom: 1em;
}*/
.error {
    color: var(--color-alert);
    font-size: 1.3em;
}
dialog {
    border: 1px solid rgba(0,0,0,0.8);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
/*Kyle Design*/
#ipcDialog {
    font-family: Arial, sans-serif;
    padding: 24px;
    border: none;
    border-radius: 12px;
    /*width: min(420px, 90vw);*/
    max-width: 440px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    position: relative;
}
  

#ipcDialog::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

/* Top-right close button */
.dialog-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-primary-dark-1);
    cursor: pointer;
    line-height: .5rem;
    padding-left: 1rem;
    /*position: absolute;
    top: 6px;
    right: 12px;
    padding: 4px 8px;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;*/
}
.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.dialog-header h2 {
    margin: 0;
}


#ipcDialog h2 {
    color: var(--color-primary-dark-1);
    font-weight: 700;
    margin-top: 0;
    font-size: 20px;
}
dialog legend {
    font-size:14px;
    font-weight:bold;
    text-wrap: pretty;
}

.description {
    margin-top: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #444;
    line-height: 1.6em;
}

.section-label {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.radio-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

/*?*/
.input-label {
    display: block;
    margin-top: 16px;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
}

#sms-phone-number {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
}


.disclaimer {
    margin-top: 16px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.primary-action {
    width: 100%;
    padding: 14px;
    background-image: linear-gradient(to top, var(--color-button-1), var(--color-button-2));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    display: block;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.primary-action:hover {
    background-image: linear-gradient(to top, var(--color-button-hover-1), var(--color-button-hover-2));
}

.primary-action:active {
    transform: scale(0.98);
}

#saveBtn {
    background-color: var(--color-button-2);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: var(--button-radius);
    cursor: pointer;
}

#saveBtn:hover {
    background-color: var(--color-button-hover-1)
}



/* table header border options */
th.no-border-bottom {
    border-bottom: none !important;
}

th.no-border-top {
    border-top: none !important;
}

th.right-border {
    border-right: 2px solid #336581 !important;
}

th.left-border {
    border-left: 2px solid #336581 !important;
}

table.co-owner-table td.text-end {
    padding-right: 1em;
}


/* adujstments for sticky header */
div.outer-logo-wrapper, div.outer-logo-wrapper img {
    transition: width 200ms, height 200ms;
}

.container,
#boxed-wrapper {
    overflow: unset;
}

table.co-owner-table {
    border-collapse: separate;
}

.co-owner-table .table>thead>tr>th {
    border-bottom: none;
}

table.co-owner-table tr th.co-owner-head1 {
    border-left: 2px solid var(--color-primary-dark-1);
}

table.co-owner-table thead {
    position: sticky;
    top: 37.8px;
}
#top-nav-logged-in {
    z-index: 10000;
}
/*
html#taiga #top-nav-logged-in {
    position: relative;
    top: 0;
    z-index: 10000;
}

html#taiga section.fusion-tb-header {
    position: sticky;
    top: 0;
    z-index: 10000;
}*/
section.fusion-tb-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.sticky-header-pos2 th {
    position: sticky;
    top: 41.8px;
}

ul.top-nav-menu {
    flex-wrap: nowrap !important;
}

.svg-white {
    height: 1rem;
    padding-right: .4rem;
    margin-bottom: .1rem;
    filter: invert(99%) sepia(0%) saturate(5%) hue-rotate(161deg) brightness(101%) contrast(104%);
    vertical-align: middle;
}

.svg-blue {
    width: 16rem;
    padding-right: .4rem;
    margin-bottom: .1rem;
    filter: brightness(0) saturate(100%) invert(48%) sepia(62%) saturate(300%) hue-rotate(157deg) brightness(86%) contrast(84%);
    vertical-align: middle;
}

.bronze {
    color: var(--color-bronze);
}

.silver {
    color: var(--color-silver);
}

.gold {
    color: var(--color-gold);
}

.filled-bg {
    background-color: var(--color-grey-lt);
}

.filled-bg-padding {
    padding: 1em;
}

p.notice,
div.notice {
    border: 1px solid var(--color-primary-dark-1);
    padding: .5em;
    background-color: #dcf0f5;
    text-align: center;
    margin: 1rem 0;
}

.notice h2 {
    margin-bottom: .1em !important;
}

.notice a {
    text-decoration: underline;
}

.placeholder {
    min-width: 6em;
    background-color: var(--color-grey-med);
    opacity: .3;
    display: block;
}

.container {
    background-color: #ffffff;
    min-height: 800px;
}

main section {
    margin-bottom: 4em;
}

.center-nav {
    margin: 0 auto !important;
}

.center-nav ul#menu-logged-in-menu li {
    padding-left: .625rem;
    padding-right: .625rem;
}

.center-nav ul#menu-logged-in-menu li a {
    font-size: 18px;
}

.center-nav ul#menu-logged-in-menu li:hover {
    background-color: var(--color-primary);
    border-radius: 100vw;
    
}

a#admin-browse-catalog {
    margin-left: 1.4em;
}

ul#desktop-cart li {
    display: flex;
}

ul#desktop-cart li:hover {
    background-color: #eee;
}

ul.cart-saved-orders li a {
    font-weight: 400;
}

ul#desktop-cart li a.cartOrderName {
    width: 13.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 5px;
    padding-left: 15px;
}

ul#desktop-cart li a.cartOrderTotal {
    width: 7em;
    text-align: right;
    padding-left: 5px;
}

ul#desktop-cart {
    max-height: 70vh;
    overflow-y: auto;
    padding: .4em;
    box-shadow: -4px 6px 9px rgb(0 0 0 / 10%);
}

ul#desktop-cart li:after {
    content: none;
}

ul#desktop-cart li.dropdown-header {
    color: #fff;
    background-color: var(--color-primary-dark-1);
}

ul#desktop-cart i.delete-order {
    color: #ccc;
    cursor: pointer;
    margin: auto .5em;
}

ul#desktop-cart i.delete-order:hover {
    color: #4a4e57;
}

#top-nav-napb-logo {
    padding: .2rem !important;
    background-color: #fff;
    border-radius: 2px;
    /*margin-left: .5rem;*/
    margin-right: 24px;
    padding-left: 0;
    padding-right: 0;
}
li#top-nav-napb-logo:hover {
    background-color: #fff !important;
    border-radius: 2px !important;
}
    /*
    Loading spinner
*/

    i .loadingSpinner, div.loadingSpinner img {
    animation-name: spin2;
    animation-duration: 3000ms;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    font-size: 3em;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1080deg);
    }
}

@keyframes spin2 {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(-20deg);
    }
    100% {
        transform: rotate(1080deg);
    }
}


/* center order loading spinner */

tr.loading-spinner {
    /*display: flex;*/
}

tr.loading-spinner td {
    width: 100%;
}

/* fade in animation */

.fade-in {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 10s;
    animation-duration: 400ms;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Chat box */

.chaport-container.chaport-container-positioned.chaport-collapsed.chaport-window-custom {
    opacity: .65;
    bottom: 28px !important;
}


/* site messaging */

#desktopMessageAccordion {
    margin: 1em 0;
}

#siteMessageAccordion {
    margin: .4em auto;
}

#siteMessageAccordion .accordion-button {
    padding: .4rem 1rem;
}

.site-message .accordion,
.desktop-message .accordion {
    max-width: 1200px;
    margin: 0 auto;
}

h2.accordion-header,
h2#edit-box {
    margin-bottom: 0 !important;
}

.desktop-message .accordion-item {
    background-color: transparent;
}

.site-message .accordion-item.alert {
    padding: 0;
}

.site-message .accordion-item.alert,
#desktopMessageAccordion .accordion-item.alert {
    margin-bottom: 0;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.14);
}

.site-message h2,
.desktop-message h2 {
    margin-bottom: 0 !important;
}

.site-message .accordion-button:focus,
.desktop-message .accordion-button:focus {
    box-shadow: none;
    outline: 2px solid var(--color-secondary-med);
}

.std .accordion-button {
    color: var(--color-primary);
}

.accordion-button:not(.collapsed) {
    background-color: #dcf0f5;
}

.desktop-message button.accordion-button.collapsed {
    margin-right: 0.5em;
}

.alert .accordion-button.collapsed {
    color: var(--color-alert);
    background-color: #fffaec;
    font-weight: 700;
}

.alert .accordion-button:not(.collapsed) {
    color: var(--color-alert);
    background-color: #fffaec;
    font-weight: 700;
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

.site-message .accordion-button,
.desktop-message .accordion-button,
.site-message .accordion-button:focus,
.desktop-message .accordion-button:focus {
    box-shadow: none;
    outline: 1px solid #ddd;
}

div.desktop-message .accordion-collapse {
    margin-left: 0;
    border: 1px solid #ddd;
}

.accordion-button:not(.collapsed)::after {
    background-image: url(/font-awesome/chevron-down-solid.svg);
    transform: rotate(-180deg);
}

.accordion-button::after {
    background-image: url(/font-awesome/chevron-down-solid.svg);
}

.banner-alert,
.shipping-alert {
    border: 1px solid var(--color-alert);
    color: var(--color-alert);
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    background-color: #fffaec;
}

.banner-alert {
    min-height: 145px;
}

.shipping-alert h2,
.shipping-alert p,
.shipping-notice h2,
.shipping-notice p {
    display: inline;
}

.shipping-notice {
    border: 1px solid #0c740c;
    color: #1cb21c;
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    background-color: #bafcba;
}
.shippingMessage {
    display: flex;
}
.shippingMessage img.alertTruck {
    max-width: 38px;
    margin-right: 1em;
}
.shippingMessage {
    line-height: 1.1em;
    padding: .5em;
    margin: .5em 0;
    background: #f5db52;
    border: 1px solid #000000;
    border-radius: 6px;
}

.banner-alert p,
.shipping-alert p {
    margin-bottom: 0;
}

.banner-alert a {
    color: var(--color-alert);
    font-weight: 700;
}

.flex-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin: 1em;
}

.flex-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex-end {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.flex-end-no-wrap {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
}

div#summary {
    align-items: center;
}

img.print-logo {
    display: none;
}

.instockitems-message {
    text-align: center;
    display: grid;
    grid-template-columns: .5fr .3fr .2fr;
    justify-content: space-evenly;
    /*justify-items: left;*/
    /*background: linear-gradient(to left, #F37335, #FDC830);*/
    background: linear-gradient(to left, #F37335, #DFB10C);
    padding: .5em;
    margin: .5rem 0;
}

.instockitems-message-text {
    font-size: 1.2em;
    color: white;
    justify-self: left;
}

.instockitems-message-view {
    justify-self: left;
}

.instockitems-message-viewlink {
    font-size: 1.2em;
    color: white;
    text-decoration: underline;
}

.instockitems-message-hidelink {
    justify-self: end;
    align-self: center;
}


/* auto-grid must be used with .auto-200 or similar.*/

.auto-grid {
    display: grid;
    gap: .5em;
    grid-auto-flow: row;
}

.auto-grid-col {
    display: grid;
    gap: .5em;
}

.auto-200 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.auto-300 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.auto-350 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.auto-400 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.auto-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 10px;
    /*grid-auto-flow: column;*/
}

.grid-2-1 {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 1em;
    grid-auto-flow: column;
    padding: 1em;
}

.grid-3-1 {
    display: grid;
    grid-template-columns: .7fr .5fr;
    gap: 1em;
    /*grid-auto-flow: column;*/
    padding: 1em;
}
.grid-1-3 {
    display: grid;
    grid-template-columns: .5fr .7fr;
    gap: 1em;
    /*grid-auto-flow: column;*/
    padding: 1em;
}
.flex-3-1, .flex-1-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.flex-3-1 > *:nth-child(1) {
    flex: 1 1 500px;
    min-width: 500px;
    text-align: center;
    
}
.flex-3-1 > *:nth-child(2) {
    flex: 1 1 250px;
    /*padding-left: 1em;*/
    
}
.flex-1-3 > *:nth-child(2) {
    flex: 1 1 500px;
    min-width: 500px;
    text-align: center;
}
.flex-1-3 > *:nth-child(1) {
    flex: 1 1 250px;
    /*padding-right: 1em;*/
}


.align-items-center {
    align-items: center;
}

.btn-group-spacing {
    position: relative;
    display: inline-flex;
    vertical-align: top;
    gap: 1em;
}

.flex-col {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.header-grid-2col,
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1em;
}

.header-grid-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
}

.title-nav-buttons {
    justify-self: self-end;
    align-self: center;
    gap: .5em;
    margin-bottom: .5em;
    /* added to space buttons from overlapping elements below */
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.title-nav-buttons a.button-solid {
    min-width: 140px;
}

div#hdrButtons {
    min-width: 20em;
}

.header-grid-2col a.button-sm {
    text-decoration: underline;
    justify-self: self-end;
}

button.button-solid:disabled,
a.button-solid:disabled,
a.disabled,
a:hover.disabled,
button.button-checkout:disabled {
    background-color: rgb(155 155 155 / 45%);
    background-image: none;
    /*cursor: default;*/
    cursor: not-allowed;
}

p a {
    text-decoration: underline;
}

footer p a {
    text-decoration: none;
}

footer p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.fusion-layout-column.fusion_builder_column.fusion-builder-column-5.fusion-flex-column {
    margin-left: 45px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


/* Fusion and Avada overrides*/

#main,
.layout-boxed-mode #main,
.layout-boxed-mode.avada-footer-fx-sticky .above-footer-wrapper,
.layout-boxed-mode.avada-footer-fx-sticky-with-parallax-bg-image .above-footer-wrapper,
.layout-wide-mode #main,
.layout-wide-mode #wrapper,
body,
html,
html body.custom-background {
    background-color: #e2e2e2;
}


/*made hamburger menu hamburger larger */

.fusion-menu-element-wrapper>.avada-menu-mobile-menu-trigger {
    font-size: 1.4em;
}

ul#mobile-cart {
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2);
}

ul#mobile-cart li,
ul#mobile-cart li a {
    min-height: 4em;
}

ul#mobile-cart li {
    padding-top: 1em;
}


/* fix for bootstrap */

.collapse.show {
    visibility: visible;
    display: block;
}

#program-levels.collapse,
#program-levels.collapsing {
    margin-left: 1em;
}

.collapse a,
.collapsing a {
    text-decoration: underline;
}

table.table.table-striped {
    border-bottom: 1px solid #ccc;
}


/* UI elements */

.button-solid {
    color: #fff;
    text-align: center;
    cursor: pointer;
    padding: 13px 29px;
    line-height: 17px;
    font-size: 14px;
    background-image: linear-gradient(to top, var(--color-button-1), var(--color-button-2));
    border: 1px solid transparent;
    border-radius: var(--button-radius);
}
a.button-solid.sm-margin{
    color: #fff;
    text-align: center;
    cursor: pointer;
    padding: 13px 13px;
    line-height: 17px;
    font-size: 14px;
    background-image: linear-gradient(to top, var(--color-button-1), var(--color-button-2));
    border: 1px solid transparent;
    border-radius: var(--button-radius);
}
.button-solid.highlight {
    color: var(--color-primary-dark-1);
    background-image: linear-gradient(to top, #f5bd09, #ffe73e)
}
.button-solid.highlight:hover {
    color: var(--color-primary-dark-1);
    background-image: linear-gradient(to top, #ffe73e, #f5bd09)
}
a.button-cta {
    background-image: linear-gradient(to top, #e2750e, #ff8a1c);
    text-decoration: unset;
}
.button-solid.alt-button {
    background-image: linear-gradient(to top, var(--color-secondary-med), var(--color-secondary-med-alt));
}
.button-solid.alt-button:hover {
    background-image: linear-gradient(to top, var(--color-secondary-med-alt), var(--color-secondary-med) );
}

.button-checkout {
    color: #fff;
    background-color: forestgreen;
    text-align: center;
    cursor: pointer;
    padding: 13px 29px;
    line-height: 17px;
    font-size: 14px;
    border: 1px solid transparent;
    border-radius: var(--button-radius);
}

.button-checkout:hover {
    color: #fff;
    background-image: linear-gradient(to top, forestgreen, limegreen);
}

.button-solid:hover {
    color: #fff;
    background-image: linear-gradient(to top, var(--color-button-hover-1), var(--color-button-hover-2));
}

a.button-cta:hover {
    background-image: linear-gradient(to top, #ff8a1c, #e2750e);
    text-decoration: unset;
}

.button-outline {
    color: var(--color-primary-med);
    text-align: center;
    cursor: pointer;
    padding: 13px 29px;
    line-height: 17px;
    font-size: 14px;
    border: 1px solid var(--color-primary-med);
    border-radius: var(--button-radius);
    background-color: transparent;
}

.button-white-solid {
    color: var(--color-grey-med);
    text-align: center;
    cursor: pointer;
    padding: 13px 29px;
    line-height: 17px;
    font-size: 14px;
    border: 1px solid var(--color-grey-med);
    border-radius: var(--button-radius);
    background-color: #fff;
}

.button-white-solid:active {
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: var(--button-radius);
    background-color: transparent;
}

.button-white-solid:disabled {
    background-color: rgb(155 155 155 / 45%);
    background-image: none;
    cursor: not-allowed;
}

.button-white-outline {
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    padding: 13px 29px;
    line-height: 17px;
    font-size: 14px;
    border: 1px solid #ffffff;
    border-radius: var(--button-radius);
    background-color: transparent;
}

.button-solid-special {
    padding: 3px 29px
}

.button-sm {
    padding: 5px 19px 6px;
    width: 12em;
}

.button-solid-sm-2 {
    color: #fff;
    text-align: center;
    text-decoration: unset;
    cursor: pointer;
    padding: 3px 6px;
    line-height: 16px;
    font-size: 14px;
    background-image: linear-gradient(to top, var(--color-button-1), var(--color-button-2));
    border: 1px solid transparent;
    border-radius: var(--button-radius);
}

.button-solid-sm-2:hover {
    color: #fff;
    background-image: linear-gradient(to top, var(--color-button-hover-1), var(--color-button-hover-2));
}

.error-message-box {
    display: block;
    text-align: center;
    width: 100%;
    font-weight: bold;
    color: red;
}

.error-message-box-shaded {
    display: block;
    text-align: center;
    padding: 2em;
    width: 100%;
    font-weight: bold;
    color: red;
    border: 1px solid var(--color-grey-med);
    background-color: var(--color-grey-lt);
}

.success-message-box {
    display: block;
    text-align: center;
    width: 100%;
    font-weight: bold;
    color: green;
}

.success-message-box-shaded {
    display: block;
    text-align: center;
    width: 100%;
    font-weight: bold;
    color: green;
    border: 1px solid var(--color-grey-med);
    background-color: var(--color-grey-lt);
}

.show-password-label {
    display: block;
    padding-left: 15px;
    text-indent: -15px
}

.show-password-div {
    display: block;
    width: 100%;
    margin-top: 10px;
}

.show-password-checkbox {
    width: 15px;
    height: 15px;
    padding: 0;
    margin: 0;
    margin-right: 5px;
    vertical-align: baseline;
}

.password-guidelines {
    text-align: left;
    padding-left: 30%;
}

.password-guidelines span {
    font-weight: bold;
}

table.table th,
table.table thead tr {
    color: #ffffff;
    background-color: var(--color-primary-dark-1);
}

thead#itemHeader th {
    position: sticky;
    top: 142.8px;
    font-size: .9em;
    line-height: 1.3em;
}
html#taiga thead#itemHeader th {
    top: 142px;
}

table.product-table.withCategories thead#itemHeader th {
    position: sticky;
    top: 195px;
    font-size: .9em;
    line-height: 1.3em;
}

#categories-wrapper {
    position: sticky;
    top: 103.8px;
}

th.last-ordered {
    /*min-width: 86px;*/
    min-width: 96px;
}

.table>tbody>tr>th,
.table>thead>tr>th {
    padding: .6em 6px !important;
}

table.table td,
table.table td a {
    color: var(--color-primary-dark-1);
}

html#taiga table.table tr.in-order td,
html#taiga table.table tr.in-order td a {
    color: #ffffff;
}

table.table td a {
    text-decoration: underline;
}

table.table td a.button-solid-sm-2 {
    text-decoration: none;
}

.search-rx-slim {
    position: relative;
}

.search-rx-slim button {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 20px;
    z-index: 2;
}

#autoComplete {
    height: auto;
    position: absolute;
    z-index: 99;
    min-width: 400px;
    padding-top: 50px;
}

#autoCompleteList {
    height: auto;
    min-height: 200px;
    min-width: 100%;
    box-shadow: 0px 3px 7px 1px rgb(0 0 0 / 40%);
}

.replace-item {
    border: 1px solid yellow;
    border-radius: 6px;
    padding: 0.4em 0.6em;
}

.replace-item i {
    color: yellow;
}

select.table-controls {
    max-height: 1.8em;
}

.text-flex {
    display: flex;
    padding: 2em;
    gap: 2em;
}

.text-flex .text-col {
    max-width: 50%;
    min-width: 20em;
}

.center-flex {
    justify-content: space-around;
}


/* Account info */

div#account-info-display {
    z-index: 0;
    margin-top: -40px;
    /*transition-property: margin-top;
    transition-duration: 1s;*/
}

div.account-info {
    display: flex;
    justify-content: center;
}

ul.account-info-list {
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 1em;
    flex-wrap: wrap;
    list-style-type: none;
    margin-left: calc(-4% / 2);
    margin-right: calc(-4% / 2);
    padding: 0;
    margin: 0.3em 0;
    width: max(50vw, 1200px);
}

ul.account-info-list>li {
    text-align: center;
}

ul.account-info-list a {
    color: #fff;
    text-decoration: underline;
}

ul.account-info-list a:hover {
    color: #ffffff91;
    text-decoration: underline;
}


/* dashboard */

div.dashboard-title {
    width: 100%;
}

div.home-message {
    justify-self: end;
}

.orders-product.full-width {
    margin: 0 -15px;
    border-top: 6px solid var(--color-primary);
    border-bottom: 6px solid var(--color-primary);
}

.order-product-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(405px, 1fr));
    grid-template-rows: 1fr 45%;
    gap: 0px 0px;
    grid-auto-flow: row;
    align-items: stretch;
    justify-content: space-evenly;
}

div.level-descriptions .btn {
    color: #4a4e57;
    position: absolute;
    top: 46px;
    font-size: 1.3em;
}

div.level-descriptions div#program-levels,
div.level-descriptions div#program-levels.collapsing {
    margin-top: 2.5em;
    line-height: 1.5em
}

div.level-descriptions .disclaimer {
    font-size: .85em;
    line-height: 1.3em;
}

div.level-descriptions .gcr {
    font-style: italic;
    font-weight: 600;
}

div#billToMessage {
    margin-top: -30px;
    margin-bottom: 20px;
    border-top: 6px solid var(--color-secondary);
    border-bottom: 6px solid var(--color-secondary);
    text-align: center;
    font-weight: bold;
}
#ipcPrograms {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    margin-top: 1em;
}

#ipcPrograms > div {
    flex: 1 1 470px;
}
/*#ipcPrograms #advantedge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    overflow: hidden;
    background-image: url(/images/AdvantEdge-border.png), url(/images/AdvantEdge-border.png);
    background-position: top center, bottom center;
    background-repeat: no-repeat, no-repeat;
}*/
#ipcPrograms #advantedge {
    max-width: 1200px;
    padding: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    isolation: isolate;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-image-source: url(/images/AdvantEdge-border.png);
    border-image-slice: 6 0;
    border-image-repeat: round;
    background-color: #f3f7ff;
    /*background-color: #092b6d;*/
}
#ipcPrograms .button-outline {
    background-color: #ffffff8c;
    color: var(--color-primary-dark-1);
    font-weight: 600;
}
img.advantedge-logo {
    width: 35%;
}
@media only screen and (max-width:640px) {
    .order-product-layout-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 35%;
        gap: 0px 0px;
        grid-auto-flow: row;
        align-items: stretch;
        justify-content: space-evenly;
    }
    .product-links {
        flex-wrap: wrap;
        gap: 1em;
        justify-content:center;
        width: 100%;
    }
    .product-links #overrides {
        border-right: none;
        border-bottom: 1px solid #ffffff;
        padding-bottom: 1em;
    }
    #ipcPrograms #digitalHealth {
        background-image: none;
        background-color: #ffffff;
    }
}

.search-select-order {
    background-color: var(--color-grey-lt);
    padding: 2em;
    grid-row: 1 / span 2;
    display: grid;
    align-content: center;
}

div#searchDiv {
    display: flex;
}

input.search-rx {
    margin-right: .2em;
}

input.search-rx+button {
    vertical-align: top;
    margin-top: .1em;
}

#clearSearch i {
    margin-right: 2em;
}

input.search-otc {
    max-width: 75% !important;
    margin-right: .2em;
}

input.search-otc+button {
    vertical-align: top;
    margin-top: .1em;
}

#clearOtcSearch i {
    margin-right: 2em;
}

.button-stack {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    justify-content: space-evenly;
    justify-items: center;
    align-content: space-evenly;
    align-items: center;
}

a.button-solid.stack {
    width: 75%;
    margin-top: 2em;
    font-size: 1em;
}

.product-links {
    background-color: var(--color-primary-dark-1);
    display: flex;
    align-items: center;
    padding: .8em 1em;
    /*justify-content: center;*/
}

ul.link-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    /*width: max(50%, 400px);*/
    color: #ffffff;
    padding-left: 0;
    margin-bottom: 0;
    gap: 1em
}

ul.link-row li,
ul.link-row li a {
    color: #ffffff;
}

ul.link-row li {
    width: 160px;
}

ul.link-row li a {
    text-decoration: underline;
}

ul.link-row li i,
.button-stack i {
    margin-right: 7px;
}

ul.featured.link-row {
    justify-content: center;
}

ul.featured.link-row li {
    width: fit-content;
}

#featured-mfg {
    display: none;
}

.feature-mfg {
    border-bottom: 1px solid #ffffff8a;
    padding-bottom: .5em;
    margin-bottom: .5em;
}
.pharmacy-overrides {
    width: 60%;
    padding-right: 3%;
    border-right: solid 1px #ffffff;
    color: #ffffff;
    text-align:center;
}
.pharmacy-overrides > .button-white-solid {
    padding: 5px 17px;
    white-space: nowrap;
}
.pharmacy-overrides > .button-white-solid img {
    width: 20px;
    display: inline;
    vertical-align: text-bottom;
}
#overrides-last-mod {
    font-style: italic;
    font-size: .8rem;
    color: #fff;
    line-height: .8rem;
    padding-top: 5px;
}
.saved-orders {
    background-color: var(--color-primary-med);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
    padding: 2em;
    gap: 1em;
}

.saved-orders h3 {
    margin-top: 0;
    margin-bottom: 0;
    color: #ffffff;
    font-weight: 200;
}

#saved-orders {
    width: min(81%, 600px);
}

.program-wrapper {
    position: relative;
}

.program-description {
    text-align: center;
    position: absolute;
    /*width: 10em;
    top:40%;
    left:28%*/
}

.program-description.doughnut-one {
    /*width: 12em;
    left: 23%;*/
    width: 300px;
    height: 300px;
    display: grid;
    align-content: center;
    justify-content: center;
    padding: 3.5em;
}

.program-description h3 {
    margin-top: .15em;
}

.program-description p {
    margin-bottom: 0;
    line-height: 1.4em;
}

span.month-total {
    line-height: .4em;
    color: var(--color-grey-med);
}

.lock-status {
    position: absolute;
    bottom: 5px;
    text-align: center;
}

.lock-status i {
    display: block;
    font-size: 1.4em;
}

.lock-status.current-month {
    left: 5px;
}

.lock-status.next-month {
    right: 5px;
}

#widgets-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px 10px;
    grid-auto-flow: row;
    /*grid-template-areas:
        ". . ."
        ". . .";*/
}

#widgets-wrapper canvas.rebate-graph {
    padding: 10px;
}

#widgets-wrapper .filled-bg {
    border: rgba(0, 0, 0, .3) 1px solid;
    border-radius: 8px;
}

#widgets-wrapper h2.filled-header {
    border-radius: 8px 8px 0 0;
}


/* this sets position and the size of the doughnut graphs*/

.doughnut-graph-text-position {
    /*display: grid;
    justify-items: center;*/
    display: flex;
    justify-content: center;
}

.program-wrapper canvas {
    width: 300px;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.program-wrapper>h2.with-logo img {
    height: 25px;
    margin-top: 6px;
    margin-right: 7px;
}

#year-totals {
    padding-bottom: 1em;
}

#year-totals h4,
#year-totals h3 {
    margin-bottom: 0;
}

#year-totals h4 {
    margin-top: .8em;
}

#recent-orders {
    padding: 1.2em;
    overflow-y: auto;
    min-height: 4em;
    max-height: 18em;
}

.recent-order.header {
    font-weight: bold;
}

.recent-order {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr .7fr;
    border-bottom: 1px solid #c6c6c6;
    font-weight: normal;
}

.recent-order>div {
    margin-right: .4em;
}

.recent-order a {
    text-decoration: underline;
}

.filled-bg.bar-chart canvas {
    padding: 1em;
}


/* Order */

.boxed h5 {
    margin-top: 0;
    margin-bottom: .3em;
}

.boxed h1 {
    margin-top: 0.2em;
    margin-bottom: 0;
}

#free-shipping h6 {
    margin-top: 0;
    margin-bottom: .2em;
    margin-right: .2em;
    display: inline;
}

#free-shipping h6+div {
    display: inline;
}

.shipping-wrapper {
    display: flex;
    justify-content: space-around;
}
.shipping-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

div#free-shipping {
    align-items: center;
    gap: 1em;
    width: 100%;
    padding: .8rem .8rem .5rem;
}
#free-shipping .qualifyFreeImg {
    margin-bottom: .5rem;
}
#free-shipping .qualifyFreeImg img {
    max-width: 700px;
    min-width: 300px;
}

#free-shipping i {
    color: var(--color-primary);
}

.namePO {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

div.orderSubmitMessage {
    text-align: center;
    /* display: block; */
    font-size: 2em;
    font-weight: 500;
    color: var(--color-secondary-med);
    border-bottom: 1px solid var(--color-secondary-med);
    margin: 1em 0;
    padding-bottom: 1em;
}

.order-name-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 0 1.5em;
    padding-bottom: 1em;
}

.order-name-wrapper.header-grid-3col {
    grid-template-columns: 1fr .5fr .4fr;
}

.order-name-wrapper h1 {
    margin-top: .2em;
    margin-bottom: 0;
    font-size: max(0.5vw, 50%, 2.2rem);
}

.order-name-wrapper h5 {
    margin-bottom: .2em;
    margin-top: .7em;
    color: var(--color-primary-med);
}

.order-name-wrapper i,
h1#order-po,
h1#order-name,
#edit-order-po {
    cursor: pointer;
}

#order-name,
#order-po {
    color: #4a4e57;
    margin-left: .4em;
    cursor: pointer;
}

.order-name-wrapper h1.disabled {
    color: #ccc;
}


/*#order-name-wrapper {
    margin-right: 1em;
}*/

#order-name-wrapper input {
    width: 65%;
}

#order-po-wrapper input {
    width: 53%
}

input#orderName,
input#order-po {
    margin-bottom: 1em;
}

.order-control-grid {
    background-color: var(--color-grey-med);
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    justify-content: space-around;
    gap: 1em;
    padding: .4em;
    margin-bottom: 0;
    border-radius: 4px 4px 0 0;
    position: sticky;
    top: 80px;
    z-index: 90;
}
html#taiga .order-control-grid {
    top: 80px;
}

/*.order-category-grid {
    display: grid;
    grid-template-columns: .3fr 1fr;
}*/

.free-shipping-wrapper {
    display: flex;
    padding: .8rem;
}

.shipping-status-wrapper {
    display: flex;
}

.generic-shipping-wrapper,
.brand-shipping-wrapper {
    width: clamp(226px, 35%, 300px);
}

.shippingCenter {
    max-width: 400px;
    min-width: 100px;
}
.shippingCenterCheckout img {
    max-width: 220px;
    margin: 1rem 0;
}
.graphLimits {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
}
.shipping-status-truck {
    align-self: center;
}

div.otc .order-control-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.otc-shipping-message div#free-shipping {
    text-align: center;
}

.otc-shipping-message div#free-shipping .shipping-status-wrapper {
    justify-content: center;
}

.otc-shipping-message div#free-shipping {
    min-height: 39px;
}

.otc-shipping-message {
    background-color: var(--color-grey-lt);
    padding: 0 .3em;
    border-radius: 2px;
}

.otc-shipping-message p {
    margin-bottom: 0;
    text-align: center;
}

.quick-list {
    width: 100%;
    border: 2px solid #ccc;
}

.checkout {
    width: 100%;
    border: 2px solid #ccc;
}

.grid-right {
    justify-self: end;
    align-self: center;
}

.grid-justify-center {
    justify-self: center;
}

.grid-bottom {
    align-self: end;
}

.grid-center {
    align-self: center;
}

section.search {
    margin-bottom: 2em;
}

.search {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*grid-template-rows: 1fr 35%;*/
    gap: 0px 0px;
    /*grid-auto-flow: row;
    align-items: stretch;
    justify-content: space-evenly;*/
}

button[type="submit"] img {
    vertical-align: baseline;
    width: 22px;
    opacity: .5;
}

.search .quick-entry .input-area {
    display: inline-block;
}

.quick-entry {
    justify-self: end;
}

.input-area .product-qty {
    max-width: 6em;
    padding-right: 5px;
    margin-right: 5px;
}


/*.category-toggle {
    display:none;
}*/

.product-categories,
.mobile-product-categories {
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    justify-items: center;
    gap: 10px 15px;
    padding: .6em 0;
    border: 1px solid #ccc;
    background-color: var(--color-grey-lt);
}


/*
.product-categories {
    margin-bottom: 0;
    position: sticky;
    top: 62.78px;
    z-index: 90;
}*/


/* 118 */

.product-categories i.fas.fa-tablets {
    font-size: 12.5px;
}

#product-results-controls,
#product-results-controls-top,
#product-results-controls-bottom {
    background-color: var(--color-grey-med);
    color: #ffffff;
    display: flex;
    /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
    padding: .5em 1em;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5em;
}

#product-list-description {
    justify-self: center;
}

.product-control {
    justify-self: end;
}

.product-control button {
    min-width: 140px;
}

div.page-controls {
    display: inline;
}

.number-Per-Page {
    margin-right: .5em;
}

span[class$="-label"] {
    display: none;
}

.sales-price {
    text-align: right;
}

.notNet {
    text-align: right;
}

p.invoice-locked {
    margin-bottom: 1.5em;
}

span.weDifference {
    color: #999999;
}

html#taiga span.weDifference {
    color: #00000054
}


/* Warehouse Edge */

#programProgressWrapper {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: #d0dae1ed;
}

#chart-group {
    max-width: 1200px;
    background-color: #d0dae1ed;
    margin: 0 auto !important;
}

.programProgress {
    height: 56px;
    padding: 0 15px 0 15px;
}

.collapse-title-wrapper {
    display: grid;
    grid-template-columns: .0fr 1fr;
    align-items: center;
    margin: 0 auto;
    background-color: var(--color-secondary-med);
    color: white;
    padding: 5px 15px 5px 15px;
    cursor: pointer;
    box-shadow: 0px -3px 5px rgb(0 0 0 / 35%);
}

.collapse-title {
    text-align: center;
}

.currentWeStatusDescriptionDiv {
    background-color: #d0dae1ed;
    padding: 0 15px 0 15px;
    cursor: pointer;
}

.order-net-price {
    font-weight: bold;
}


/*table.product-table {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(150px, 1.67fr) minmax(150px, 1.67fr) minmax(150px, 1.67fr) minmax(150px, 3.33fr) minmax(150px, 1.67fr) minmax(150px, 3.33fr) minmax(150px, 1.67fr) minmax(150px, 1.67fr) minmax(150px, 1.67fr);
}
table.product-table thead, table.product-table tbody, table.product-table tr {
    display: contents;
}*/


/* order summary */

a.remove-item i {
    vertical-align: bottom;
    font-size: 1.2em;
}

a.remove-item i:active {
    color: #707070;
}

tbody.summary-striped>tr:nth-child(4n+1),
tbody.summary-striped>tr:nth-child(4n) {
    /*--bs-table-accent-bg: var(--bs-table-striped-bg);*/
    background-color: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}

.order-notices {
    padding: 1em;
}

#hdrDiv {
    display: flex;
    gap: .5em;
    justify-content: space-between;
}


/*Quick List*/

.remove-item {
    cursor: pointer;
}


/*Product Table*/

tbody#product-results>tr {
    background-color: none;
}


/*tbody#product-results>tr:nth-child(6n+1),
tbody#product-results>tr:nth-child(6n+2),
tbody#product-results>tr:nth-child(6n+3) {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}*/

tbody#product-results>tr:nth-child(8n+1),
tbody#product-results>tr:nth-child(8n+2),
tbody#product-results>tr:nth-child(8n+3),
tbody#product-results>tr:nth-child(8n+4) {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}

#product-results tr.hidden {
    display: none;
}

section.product-list table thead th,
section.product-list table tbody td {
    padding: .5% .7%;
}

section.product-list th.qty {
    text-align: center;
}

section.product-list th.qty,
section.product-list td.qty {
    min-width: 90px;
    text-align: center;
}

section.product-list td.qty input {
    height: 2.1em;
    padding: 0 5px;
    margin-bottom: 3px;
    width: 80px;
}

td.qty a.button-solid-sm {
    color: #fff;
    text-align: center;
    text-decoration: unset;
    cursor: pointer;
    padding: 3px 6px;
    line-height: 16px;
    font-size: 14px;
    background-image: linear-gradient(to top, var(--color-button-1), var(--color-button-2));
    border: 1px solid transparent;
    border-radius: var(--button-radius);
}

td.qty a.button-solid-sm:hover {
    color: #fff;
    background-image: linear-gradient(to top, var(--color-button-hover-1), var(--color-button-hover-2));
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

.title-ql {
    width: 60px;
}

span.ipc-item {
    display: block;
    /*color: var(--color-primary-dark-1);*/
    font-weight: 700;
    white-space: nowrap;
}

.remove-quicklist i {
    cursor: pointer;
}

.qtyChanged {
    background-color: var(--color-primary-light);
}

td.star input[type="checkbox"],
div.star input[type="checkbox"] {
    display: none;
}

.mobile-details,
.mobile-add-order,
.mobile-update {
    display: none;
}

td.star input+label,
div.star input+label {
    background-image: url('/font-awesome/star-regular-prime-med.svg');
    background-repeat: no-repeat;
    display: block;
    width: 20px;
    height: 20px;
    margin: 20%;
    cursor: pointer;
}

td.star input:checked+label,
div.star input:checked+label {
    background-image: url('/font-awesome/star-solid-prime-dark.svg');
    background-repeat: no-repeat;
    display: block;
    width: 20px;
    height: 20px;
    margin: 20%;
    cursor: pointer;
}

div.brand,
div.generic,
div.cold-item,
div.top-twenty-item {
    border-radius: 50%;
    color: #ffffff;
    height: 1.5em;
    width: 1.5em;
    text-align: center;
    margin-top: .2em;
    font-weight: 600;
}

div.brand {
    background-color: var(--color-primary);
}

div.generic {
    background-color: var(--color-grey-med);
}

div.cold-item {
    background-color: var(--color-primary-dark-1);
    padding-right: 0.05em;
    padding-top: 0.01em;
}

div.top-twenty-item {
    background-color: var(--color-secondary-med);
    padding-right: 0.05em;
    padding-top: 0.01em;
}

div.brand::before {
    content: "B"
}

div.generic::before {
    content: "G"
}

.table>tbody>tr>td {
    border-top: 0;
    border-bottom: 0;
}

section.product-list table tbody .itemMessage td {
    padding-top: 0;
}

td.info {
    cursor: pointer;
}

td.product-thumbnail img {
    height: 100px;
}

td.product-thumbnail {
    width: 180px;
}

div.equivalent {
    width: 110px;
    /*white-space: nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;*/
}

.itemDetails table {
    width: 100%;
}

.itemDetails table td p {
    border-bottom: 1px solid #aaa;
}

tr.itemDetails table tr td {
    vertical-align: top;
}


/* Payment */

.total-group {
    border-bottom: 1px solid var(--color-grey-med);
    padding-bottom: .5em;
}


/* placeOrder */

#place-order h1#order-po {
    font-size: 1.8em;
}

.notice div#order-po-wrapper {
    background-color: transparent;
    border: 0px;
    /*margin-bottom: 2em;*/
    padding: 1em 0 0;
}

#place-order .notice {
    background-color: #ddd;
    padding: 1em;
    margin: -1em;
    margin-right: 0;
    border: none;
}

#place-order .notice em {
    margin-bottom: 3em;
    display: block;
}


/* Order history */

#order-history-controls {
    background-color: var(--color-grey-med);
    color: #ffffff;
    display: flex;
    /*padding: .5em 1em;*/
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    align-items: center;
    justify-content: space-evenly;
    /*gap: 1.3em;*/
    flex-wrap: wrap;
}

#order-history-controls .years {
    text-align: left;
}

#order-history-controls .page-buttons {
    text-align: center;
}

#order-history-controls .per-page {
    text-align: right;
}

#order-history-controls .prev-page {
    width: 10em;
}

#order-history-controls .next-page {
    width: 10em;
}

#order-history-controls .find-order {
    display: flex;
    height: 30.5px;
}

#order-history-controls .find-order-input {
    height: 30.5px;
    width: 6em;
    margin-right: 0.2em;
}

#order-history-controls .find-order-button {
    width: 6em;
}


/* Order Page Responsive */

@media only screen and (max-width: 995px) {
    .otc a#orderCheckoutButton {
        grid-column: 1/span 2;
    }
}


/*@media only screen and (max-width: 580px),
    (min-device-width: 300px) and (max-device-width:580px) {*/

@media only screen and (max-width: 700px) {
    .container {
        margin: 0;
        padding: 0;
    }
    h2 {
        font-size: 2em;
        font-weight: 400;
    }
    section.product-list {
        font-size: clamp(1rem, 0.5789rem + 2.1053vw, 1.8rem);
    }
    ul.account-info-list {
        justify-content: space-around;
        gap: .6em;
        padding: 0 0 .6em 0;
    }
    ul#account-info span {
        display: block;
        font-size: 18px;
        line-height: 1em;
    }
    .title-nav-buttons {
        flex-wrap: wrap;
    }
    /*free shipping*/
    #free-shipping.flex-end-no-wrap {
        justify-content: center;
        flex-wrap: wrap;
    }
    .shipping-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    div#free-shipping {
        padding: 1em 0;
        justify-items: center;
    }
    .order-category-grid,
    .order-name-wrapper.header-grid-3col {
        grid-template-columns: 1fr;
        margin: 0 1em;
        display: unset;
    }
    .generic-shipping-wrapper,
    .brand-shipping-wrapper {
        width: 100%;
    }
    .shipping-wrapper img {
        max-width: 85%;
    }
    /*end free shipping*/
    div#hdrButtons {
        min-width: unset;
    }
    div#hdrDiv {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .order-control-grid {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    #pagination-controls-top {
        display: contents;
    }
    .order-name-wrapper h1 {
        margin-top: 0.2em;
        margin-bottom: 0;
    }
    section.product-list td.qty input {
        height: 100%;
        padding: 0 5px;
        margin-bottom: 3px;
    }
    .mobile-category-toggle {
        display: block;
        width: 100%;
        padding: 0.8em 0.8em 1px;
        background-color: var(--color-grey-lt);
        text-align: center;
        cursor: pointer;
        border: solid #ccc;
        border-width: 0 1px;
    }
    .category-toggle h2 {
        display: inline;
    }
    #product-categories,
    #category-toggle {
        display: none;
    }
    .mobile-product-categories {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }
    #mobile-product-categories .button-sm {
        padding: 5px 15px 6px;
        width: 12em;
    }
    #product-results-controls,
    #product-results-controls-top,
    #product-results-controls-bottom {
        grid-template-columns: 1fr;
    }
    #product-results-controls,
    #product-results-controls-top,
    #product-results-controls-bottom {
        justify-content: space-evenly;
        gap: 1.3em;
    }
    /*mobile product items display*/
    /*table.product-table, .product-table thead, .product-table tbody, .product-table th, .product-table td, .product-table tr {
        display: grid;
        grid-template-rows:max-content;
    }*/
    #product-results {
        display: grid;
        grid-template-rows: max-content;
        min-height: 100vh;
    }
    .otc #product-results {
        min-height: auto;
    }
    .checkout {
        margin-left: 0;
    }
    /* tables */
    .table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    /* sets display for rx order */
    table#rx-order tbody#product-results tr {
        display: none;
    }
    table#rx-order tbody#product-results tr.table-wrapper-mobile {
        display: table-row;
    }
    /* all other tables */
    .table tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1em;
    }
    /* end all other tables */
    section.product-list td.qty.qtySummary {
        margin: 0;
        min-width: none;
        flex-wrap: wrap;
    }
    section.product-list td.qty.qtySummary input {
        height: auto;
    }
    .order-mobile {
        display: block;
        padding: .5% 0 !important;
    }
    .order-desktop {
        display: none;
    }
    div.star input+label,
    div.star input:checked+label {
        margin: .6em;
    }
    .summary tr {
        justify-content: space-between;
    }
    /* this is used to add mobile styles that are not used on order */
    table.standard-table {
        margin-top: 1em;
    }
    table.standard-table tr {
        border-bottom: 1px solid var(--color-grey-med);
        padding-top: 1em;
        padding-bottom: 1em;
        margin-bottom: 1.5em;
    }
    table.standard-table td {
        font-size: 1.1em;
        padding: .7em !important;
    }
    table.standard-table tr:nth-child(odd) {
        --bs-table-accent-bg: none;
        /*color: var(--bs-table-striped-color);*/
        background-color: var(--bs-table-striped-bg);
    }
    tr[class=" bx"],
    tr[class=" gx"],
    tr[class="in-order bx"],
    tr[class="in-order gx"] {
        margin-top: 1em;
    }
    table.table.product-table tr.item-body {
        margin-top: 1.5em;
    }
    /*
    .product-table td {
        position: relative;
    }
    .product-table td div {
        position:relative;
    }
    tr.bx td, tr.gx td {
        display: contents;
    }*/
    td.qty {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin: 1em .2em;
    }
    input.qtyAmount {
        max-width: 6em;
    }
    .mobile-details,
    .mobile-add-order,
    .mobile-update {
        display: inline;
    }
    .ipc-item i.fa-info-circle {
        display: none;
    }
    tr.bx td.order-net-price {
        display: none;
    }
    tr.gx td.order-cog,
    tr.gx td.order-wac {
        display: none;
    }
    .ndc-text {
        width: 32%;
    }
    /*.product-table td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }
    td.text-center.star{
        width: 80px;
    }*/
    td.star input:checked+label,
    td.star input+label {
        margin: 3% !important;
    }
    td.star,
    td.order-icons {
        order: 2;
    }
    .order-itemid {
        order: 3;
        display: flex;
        justify-content: space-around;
    }
    td.order-item-name,
    td.row-title {
        order: -1;
        width: 100%;
        text-align: center;
    }
    span[class$="-label"] {
        display: block;
        font-weight: 700;
    }
    table.standard-table span[class$="-label"] {
        font-weight: 700;
    }
    .label-group .item-id-label,
    .label-group .ndc-label {
        display: block;
    }
    .order-itemid .label-group {
        margin-right: 10px;
    }
    .order-itemid {
        margin: 1em 0 0;
    }
    .order-itemid .label-group {
        /*width: 50%;*/
    }
    .manufacturer {
        width: 33%;
    }
    .bx .order-wac,
    .bx .order-cog,
    .bx .sales-price {
        margin: 1em 10px 1em 0;
        width: 30%;
        border-bottom: 1px solid #aaaaaa;
    }
    .gx .sales-price {
        text-align: center;
        width: 100%;
        font-size: 1.3em;
        font-weight: 700;
        border-bottom: 1px solid #ccc;
    }
    .gx td.notNet,
    .gx .order-net-price {
        margin: 1em 10px 1em 0;
        width: 45%;
        border-bottom: 1px solid #cccccc;
        text-align: right;
    }
    .gx span.invoice-label {
        font-size: clamp(1rem, 0.5789rem + 2.1053vw, 1.8rem);
    }
    .equivalent,
    .last-ordered {
        display: none;
    }
    p.invoice-locked {
        margin-bottom: 0;
    }
    /* -- mobile details start -- */
    tr.itemDetails tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    td.product-thumbnail,
    td.per-unit {
        grid-column: 1 / span 2;
    }
    .itemDetails table td p {
        border-bottom: none;
        text-align: center;
    }
    .itemDetails table td p span.right {
        text-align: center;
        float: none;
    }
    .itemDetails table td p strong {
        display: block;
    }
    /* -- mobile details end -- */
    .ql-label {
        display: inline;
    }
    td.star {
        display: flex;
        margin: 3% 1% 3% 25%;
        width: 6em;
        flex: 130px;
    }
    .order-icons {
        display: flex;
        gap: .5em;
    }
    div.cold-item,
    div.brand {
        display: inline-block;
    }
    .order-name-text,
    td.row-title {
        border-top: 2px solid var(--color-grey-med) !important;
        font-weight: bold;
        padding: .6em 1em;
        background-color: rgba(0, 0, 0, .1);
        font-size: 1.2em;
        text-wrap: balance;
    }
    .quicklist-wrapper {
        display: flex;
        align-content: center;
        justify-content: center;
    }
    td.row-title span {
        display: inline;
    }
    .manufacturer {
        order: 4;
    }
    .order-wac {
        order: 5;
    }
    .order-cog {
        order: 5;
    }
    .sales-price {
        order: 5;
    }
    .notNet {
        order: 5;
    }
    .order-net-price {
        order: 5;
    }
    .qty {
        order: 7;
        display: flex;
        justify-content: space-around;
        margin: 1em 0 .5em;
        padding-bottom: .5em;
    }
    /*hiding this to move to details*/
    div.equivalent {
        display: none;
    }
    .equivalent {
        order: 6;
    }
    .last-ordered {
        order: 6;
    }
    /*selects every other mobile result*/
    tbody#product-results>tr:nth-child(8n+4) {
        --bs-table-accent-bg: none;
        color: var(--bs-table-striped-color);
    }
    div[id^="mobile-wrapper-"] {
        padding-bottom: 1em;
    }
    .title-nav-buttons {
        justify-self: center;
        margin-bottom: 2em;
        justify-content: center;
    }
    .title-nav-buttons a.button-solid {
        min-width: 45%;
    }
    .auto-200,
    .auto-300,
    .auto-350,
    .auto-400,
    .grid-3-1,
    .grid-1-3 {
        grid-template-columns: 1fr;
    }
    div.otc .order-control-grid {
        grid-template-columns: 1fr;
    }
    .otc a#orderCheckoutButton {
        grid-column: 1/span 1;
    }
    .button-sm {
        padding: 5px 13px 6px;
        width: 6em;
    }
    #order-history-controls {
        grid-template-columns: 1fr;
        padding: .5em;
        justify-items: center;
        gap: .5em;
    }
    #order-history-controls .years {
        text-align: left;
    }
    #order-history-controls .page-buttons {
        text-align: left;
    }
    #order-history-controls .per-page {
        text-align: left;
    }
    /*mobile details full screen*/
    .mobileDetailsWrapper {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10000;
        width: 100vw;
        height: 100vh;
        display: grid;
        background-color: #ffffff;
        overflow: scroll;
    }
    /*.mobileDetailInner {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        ustify-content: space-evenly;
    }
*/
    .mobileDetailsWrapper span.right {
        float: none;
    }
    .mobileDetailsWrapper .order-name-text {
        grid-column: span 2;
    }
    .mobileDetailsWrapper .product-thumbnail {
        grid-column: span 2;
    }
    #closeMobileDetails {
        cursor: pointer;
        text-align: right;
    }
    /*order confirmation*/
    #place-order .notice {
        background-color: #ddd;
        padding: 1em;
        margin: 0;
    }
    /* placed order summary */
    div#brand-total,
    div#generic-total,
    #otc-total,
    #control-total {
        color: #fff;
        background-color: var(--color-primary-dark-1);
        padding: 1em 1em .5em 0;
        margin-bottom: 2em;
    }
    /* billing */
    div.billing-summary {
        grid-template-columns: 1fr;
    }
    div.payment-credits {
        padding-top: 1em;
    }
    /* equity */
    tr.equity-totals {
        justify-content: center;
    }
    tr.equity-totals td.equity-total-label {
        display: none;
    }
    tr.equity-totals td.text-end.mobile-center,
    td.text-end.mobile-center {
        text-align: center !important;
        font-size: 1.3em;
    }
    #equity tr {
        border-bottom: 1px solid var(--color-grey-med);
        padding-top: 0;
    }
    td.mobile-center {
        text-align: center !important;
    }
    .product-table tr td {
        text-align: center;
    }
}


/* elements that are only on smaller windows - Example removing mobile categories */

@media only screen and (min-width: 700px) {
    #mobile-categories-wrapper,
    #mobile-category-toggle {
        display: none;
    }
}

tr.in-order,
div.in-order {
    background-color: var(--color-secondary) !important;
}

tr.not-available,
div.not-available {
    background-color: var(--bs-gray-400);
}


/* checkout process */

.remove-item {
    text-align: center;
}

.remove-item img {
    width: 1.4em;
    opacity: .6;
    margin-top: .8em;
}

.item-total,
.order-total-wrapper {
    margin-bottom: 2em;
    padding-right: 2em;
}

.item-total p,
.order-total-wrapper p,
.align-right {
    text-align: right;
}

.order-total-wrapper p {
    margin-bottom: .5em;
}

.order-total-text {
    font-size: 1.3em;
}

.order-total-wrapper .align-right {
    margin-top: 2em;
}

.order-total-wrapper .align-right a {
    margin-left: 1em;
}

.total-lable {
    font-weight: 600;
}

.inner-wrapper {
    padding: 2em;
}

.autoCompleteOption {
    color: black;
}

.autoCompleteOption:hover {
    background: #c1e1e9;
}

.hidden {
    display: none!important;
}


/*Returns*/

.return-auto-col-grid {
    display: grid;
    grid-template-columns: repeat(auto, minmax(230px, 1fr));
    gap: 10px 10px;
    grid-auto-flow: column;
    margin-bottom: 10px;
}

.return-auto-row-grid {
    display: grid;
    /*grid-template-columns: repeat(1, minmax(230px, 1fr));*/
    gap: 10px 10px;
    grid-auto-flow: row;
    margin-bottom: 10px;
}

.return-item-number {}

.return-lot-number {}

.return-item-quantity {}

.return-item-invoice {}

.select-field select {}

div.return-save-line {
    margin-bottom: 2em;
}

table.table.return-lines {
    border: 1px solid #ccc;
}

table.table.return-invoice-detail {
    margin-bottom: 0;
}

table.table.return-invoice-detail thead th {
    background-color: var(--color-grey-med);
}

.table.return-invoice-detail th {
    padding: 0.2em 5px !important;
    font-weight: 400;
}

table.table.return-invoice-detail tbody tr td {
    padding: 10px 5px;
}

.return-required {
    font-weight: bold;
    color: red;
    padding-left: 10px;
}

.return-error {
    font-weight: bold;
    color: red;
}

.data-page {
    display: block;
    width: 100%;
}

.div-table {
    display: table;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.div-table-head {
    display: table-caption;
    background-color: #003F62;
    color: #FFF;
}

.div-table-row {
    display: table-row;
}

.div-table-row-bg {
    background-color: #FFF;
}

.div-table-row-altbg {
    background-color: #F2F2F2;
}

.div-table-row-text {
    color: #000;
}

.div-table-cell {
    display: table-cell;
    min-width: 8% !important;
    max-width: 20% !important;
    width: 10%;
    /*word-wrap: break-word;
    word-break: break-word;*/
}

.striped.div-table-row:nth-child(odd) {
    background-color: var(--bs-table-striped-color);
}


/* For checkboxes with no label. div-table-cell-checkbox is for the div cell and div-table-checkbox is for the checkbox input tag. */

.div-table-cell-checkbox {
    width: 40px;
}

.div-table-checkbox {
    margin-left: 10px;
}

.div-table-cell-center {
    text-align: center;
}


/**
    fixing container size issues overriding boostrap defaults
*/

@media (min-width: 992px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .container,
    .container-md,
    .container-sm {
        max-width: 100%;
    }
}

@media (min-width: 576px) {
    .container,
    .container-sm {
        max-width: 100%;
    }
}
/*@media (max-width: 1200px){
    .container-xl {
        display: block;
        max-width: 100%;
    }
}*/
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 1200px;
    }
    .container-xl {
        max-width: 100%;
    }
    
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm{
        max-width: 1199px;
    }
    .container-xl,
    .container-xxl {
        max-width: 100%;
    }
}
@media (min-width: 1920px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 1199px;
    }

    .container-xl,
    .container-xxl {
        max-width: 1920px;
    }
}


/*
    toggle display of order elements to details section
*/

@media (min-width: 700px) {
    th.last-ordered,
    td.last-ordered {
        display: none;
    }
    td.last-ordered-detail {
        display: table-cell;
    }
    th.equivalent,
    td.equivalent {
        display: none;
    }
    th.equivalent-detail,
    td.equivalent-detail {
        display: table-cell;
    }
    th.manufacturer,
    td.manufacturer {
        display: none;
    }
    td.manufacturer-detail {
        display: table-cell;
    }
}


/*@media (min-width: 768px) {
    th.manufacturer, td.manufacturer {
        display: table-cell;
    }
    td.manufacturer-detail {
        display: none;
    }
}*/

@media (min-width: 992px) {
    th.manufacturer,
    td.manufacturer {
        display: table-cell;
    }
    td.manufacturer-detail {
        display: none;
    }
    th.equivalent,
    td.equivalent {
        display: table-cell;
    }
    th.equivalent-detail,
    td.equivalent-detail {
        display: none;
    }
}

@media (min-width: 1200px) {
    th.last-ordered,
    td.last-ordered {
        display: table-cell;
    }
    td.last-ordered-detail {
        display: none;
    }
}

.display-inline {
    display: inline;
}

.display-inline-block {
    display: inline-block;
}

.center-text {
    text-align: center;
}

.center-margins {
    margin-right: auto;
    margin-left: auto;
}

.mlr-20 {
    margin-right: 20px;
    margin-left: 20px;
}

.width-90 {
    width: 90px;
}

.width-100 {
    width: 100px;
}

.width-100pct {
    width: 100%;
}

.pad-5 {
    padding: 5px;
}

.pad-20 {
    padding: 20px;
}

.pad-bottom-10 {
    padding-bottom: 20px;
}

.pad-bottom-20 {
    padding-bottom: 20px;
}

.pad-top-20 {
    padding-top: 20px;
}

.min-height-200 {
    min-height: 200px;
}


/* Slider toggle switch CSS */


/* The switch - the box around the slider */

.switchbox {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}


/* Hide default HTML checkbox */

.switchbox input {
    opacity: 0;
    width: 0;
    height: 0;
}


/* The slider */

.sliderswitch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.sliderswitch:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.sliderswitch {
    background-color: #3D6583;
}

input:focus+.sliderswitch {
    box-shadow: 0 0 1px #3D6583;
}

input:checked+.sliderswitch:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


/* Rounded sliders */

.sliderswitch.round {
    border-radius: 34px;
}

.sliderswitch.round:before {
    border-radius: 50%;
}

.change-account {
    position: absolute;
    z-index: 10001;
    display: block;
    background: #fff;
    color: #000;
    border-radius: 5px;
}

.change-account-input {
    width: 200px !important;
    height: 40px !important;
}

.change-account-select {
    height: 40px !important;
}

.change-account-ul {
    position: absolute;
    z-index: 500;
    display: block;
    background: #fff;
    color: #000;
    min-width: 400px !important;
    max-height: 300px;
    border-radius: 5px;
    overflow: scroll;
    list-style: none;
    padding: 3px;
    cursor: pointer;
}

.change-account-ul :hover {
    background-color: #e6e6e6;
}

.change-account-item {
    display: block;
    width: 100%;
    min-height: 30px;
    border-bottom: thin solid #e6e6e6;
}

#stop-impersonating-link {
    text-decoration: none;
}

#stop-impersonating-img {
    vertical-align: middle;
    height: 30px;
}

.highlight-account-info {
    background: var(--color-secondary-med);
}

.max-width-150 {
    max-width: 150px;
}

.max-width-300 {
    max-width: 300px;
}

.text-bold {
    font-weight: bold;
}

.margin-top10 {
    margin-top: 10px;
}

.margin-top20 {
    margin-top: 20px;
}

.margin-right10 {
    margin-right: 10px;
}

.margin-left10 {
    margin-left: 10px;
}

.margin-left20 {
    margin-left: 20px;
}

.margin-bottom20 {
    margin-bottom: 20px;
}

.margin-bottom10 {
    margin-bottom: 10px;
}

.border-bottom-solid {
    border-bottom: solid 1px #ccc;
}

.overlay-background-div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 800px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5000;
}

.overlay-content-div {
    display: block;
    margin-left: auto;
    width: 75%;
    height: auto;
    margin-right: auto;
    margin-top: 10%;
    background-color: white;
    z-index: 5001
}

@media only screen and (max-width: 1028px) {
    .change-account {
        position: relative;
    }
    .change-account .button-outline {
        padding: 5px 10px;
    }
}


/*my Account*/

#pending h3 {
    margin-bottom: 2em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #ccc;
    font-size: 1.2em;
}

table.incomplete-orders {
    width: 100%;
    border-bottom: 1px solid var(--color-grey-med);
    margin-bottom: 1em;
}

table.incomplete-orders th {
    background-color: var(--color-grey-med);
}

.section-item {
    display: block;
    width: 100%;
}


/* Payment history */

table.table-tr-bottom-border tr.payment {
    color: var(--bs-table-striped-color);
    border-bottom: 1px solid var(--bs-gray-400);
    margin-top: 1em;
    padding-bottom: .5em;
}

table.settlement {
    border: 1px solid var(--color-primary-dark);
}

.paymentYearSummary {
    background-color: var(--color-primary-med);
    font-weight: bold;
}

.paymentMonthSummary {
    background-color: var(--color-primary-light);
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

.pointer {
    cursor: pointer;
}


/* Order Tools */

.order-tools-helptext {
    background-color: var(--color-grey-lt);
    padding: 2em;
}

.order-tools-helptext {
    font-size: 14px;
    height: fit-content;
    margin-right: 2em;
    margin-top: 1em;
    padding: 2em;
    border: 1px solid var(--form-border);
    border-radius: var(--button-radius);
}

#firstChoiceEstNet {
    margin-bottom: 1em;
}

.firstChoicePercentGroup {
    margin: 5%;
}

.threshold-options {
    padding: 5%;
}


/*.order-tools-helptext div{
    padding: 8px;
}*/


/* These are used for the Quicklist buttons color transition. Copied from SO and kept the names. */

@-o-keyframes fadeIt-quicklist {
    0% {
        background-color: gold;
    }
}

@keyframes fadeIt-quicklist {
    0% {
        background-color: gold;
    }
}

.backgroundAnimated-quicklist {
    background-color: var(--color-button-1);
    background-image: none !important;
    -o-animation: fadeIt-quicklist 2s ease-in;
    animation: fadeIt-quicklist 2s ease-in;
}



@-o-keyframes fadeIt-freeShipping {
    0% {
        background-color: lightgreen;
    }
}

@keyframes fadeIt-freeShipping {
    0% {
        background-color: lightgreen;
    }
}

.backgroundAnimated-freeShipping {
    background-color: white;
    background-image: none !important;
    -o-animation: fadeIt-freeShipping 2s ease-in;
    animation: fadeIt-freeShipping 2s ease-in;
}

.fa-question-circle
{
    cursor: pointer;
}

/* Cart button transition */
@-o-keyframes fadeIt-cart {
    0% {
        background-color: limegreen;
    }
}

@keyframes fadeIt-cart {
    0% {
        background-color: limegreen;
    }
}

.backgroundAnimated-cart {
    background-color: var(--color-button-1);
    background-image: none !important;
    -o-animation: fadeIt-cart 2s ease-in;
    animation: fadeIt-cart 2s ease-in;
}

#newRxSearch {
    padding-right: 3em;
    padding-left: 3em;
}

select.current-page {
    padding-right: 1em;
}


/* This extends a style class defined by bootstrap */

.dropdown-menu li:hover {
    background-color: #eee;
    cursor: pointer;
}

@media (max-width: 768px) {
    div#autoComplete {
        display: none !important;
    }
}

@media print {
    #top-nav-logged-in,
    #order-message,
    .change-account,
    .fusion-tb-header,
    .site-message,
    .chaport-container,
    .print-btn,
    .price-sticker-btn,
    footer {
        display: none;
    }
    img.print-logo {
        display: block;
        width: 120px;
        margin-top: 1em;
    }
    .namePO {
        gap: 0 1em;
    }
    #summary,
    #order-header,
    #brand-total {
        border-bottom: 1px solid #aaa;
    }
    .table,
    #order-header {
        margin-bottom: 0 !important;
    }
    main section {
        margin-bottom: 0;
    }
    main.pb-3 {
        font-size: 14px;
    }
    .order-name-wrapper h1 {
        font-size: 22px;
        font-weight: 500 !important;
    }
    .item-total-submitted {
        margin-bottom: .2em !important;
    }
}

.hideCameraButton {
    display: none;
    visibility: hidden;
}

#btnCamera {
    border-radius: 7px;
    border: 1px solid #ccc;
    margin-right: 3px;
}

div.search-rx-slim #btnCamera {
    margin-right: 4em;
    border: none;
}

@media only screen and (max-device-width: 1024px) {
    #btnCamera {
        display: block;
        visibility: visible;
    }
}


/* ipad pro landscape */

@media only screen and (max-device-width: 1366px) and (max-device-height: 1024px) {
    #btnCamera {
        display: block;
        visibility: visible;
    }
}
