﻿@charset "UTF-8";
    
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}
audio, canvas, video {
    display: inline-block;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
[hidden] {
    display: none;
}
html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%}
body {
    margin: 0;
}
a:focus {
    outline: thin dotted;
}
a:active, a:hover {
    outline: 0;
}
h1 {
    font-size: 2em;
    margin: .67em 0;
}
abbr[title] {
    border-bottom: 1px dotted;
}
b, strong {
    font-weight: 700;
}
dfn {
    font-style: italic;
}
hr {
    box-sizing: content-box;
    height: 0;
}
mark {
    background: #ff0;
    color: #000;
}
code, kbd, pre, samp {
    font-family: monospace, serif;
    font-size: 1em;
}
pre {
    white-space: pre-wrap;
}
q {
    quotes: "“" "”" "‘" "’"}
small {
    font-size: 80%}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -.5em;
}
sub {
    bottom: -.25em;
}
img {
    border: 0;
}
svg:not(:root) {
    overflow: hidden;
}
figure {
    margin: 0;
}
fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em;
}
legend {
    border: 0;
    padding: 0;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}
button, input {
    line-height: inherit;
}
button, select {
    text-transform: none;
}
button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
}
button[disabled], html input[disabled] {
    cursor: default;
}
input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}
input[type=search] {
    -webkit-appearance: textfield;
}
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
}
button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
textarea {
    overflow: auto;
    vertical-align: top;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
*, :after, :before {
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    -webkit-backface-visibility: hidden;
}
html {
    width: 100%;
    overflow-x: hidden;
    min-height: 100%}
html.touch {
    cursor: pointer;
}
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    background: var(--surface);;
    color: var(--dark);
    line-height: 1.5;
    font-family: Segoe UI, Arial, Helvetica, sans-Serif;
}
.order-message {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 900px;
    margin: 25px auto;
    padding: 18px 22px;
    border: 1px solid;
    border-left-width: 5px;
    border-radius: 4px;
    box-sizing: border-box;
}

.order-message__icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    color: white;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
}

.order-message__content {
    flex: 1;
}

.order-message__title {
    margin: 1px 0 8px 0;
    font-size: 17px;
    font-weight: bold;
}

.order-message__list {
    margin: 0;
    padding-left: 20px;
}

    .order-message__list li {
        margin: 4px 0;
        line-height: 1.5;
    }
.order-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin: 28px 0 20px 0;
    padding: 20px 22px;
    background: var(--surface);;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-left: 5px solid var(--primary-colour);
    border-radius: 4px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
}

.order-actions__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .order-actions__text strong {
        color: var(--dark);
        font-size: 16px;
        line-height: 1.3;
    }

    .order-actions__text span {
        margin-top: 4px;
        color: #666;
        font-size: 14px;
    }

.order-actions__buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.order-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 20px;
    border: 2px solid transparent;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

    .order-action:hover {
        transform: translateY(-1px);
    }

    .order-action:active {
        transform: translateY(0);
    }

.order-action--primary {
    background: var(--secondary-colour);
    border-color: var(--secondary-colour);
    color: #fff;
}

    .order-action--primary:hover {
        background: var(--dark);
        border-color: var(--dark);
        color: #fff;
    }

.order-action--secondary {
    background: var(--surface);;
    border-color: var(--primary-colour);
    color: var(--primary-colour);
}

    .order-action--secondary:hover {
        background: var(--primary-colour);
        border-color: var(--primary-colour);
        color: #fff;
    }

.order-action i {
    font-size: 14px;
}

/* Information */

.order-message--information {
    background: #eef6fc;
    border-color: #8bbada;
    border-left-color: #347da8;
    color: #244b63;
}

    .order-message--information .order-message__icon {
        background: #347da8;
    }


/* Warning */

.order-message--warning {
    background: #fff8e6;
    border-color: #e7c56b;
    border-left-color: #c89415;
    color: #4c3b12;
}

    .order-message--warning .order-message__icon {
        background: #c89415;
    }


/* Error */

.order-message--error {
    background: #fceced;
    border-color: #dc9ca1;
    border-left-color: #a71930;
    color: #721423;
}

    .order-message--error .order-message__icon {
        background: #a71930;
    }

.product-table.out-of-stock img[data-img-stref] {
    opacity: .42;
    filter: grayscale(100%);
    z-index:4;
}
.category-ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-colour);
    color: var(--light);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 0 6px 6px 0;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    cursor: pointer;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}
category-ribbon:hover {
    background: var(--dark);
    transform: scale(1.05);
}
.review-summary-row td {
    padding: 20px 0 0 0;
    border: 0;
    background: transparent;
}

.review-summary {
    min-width: 300px;
    margin-left: auto;
    border: 1px solid var(--border-colour);
    border-radius: 4px;
    background: var(--surface);;
    overflow: hidden;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
}

.review-summary__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-bottom: 1px solid #e4e4e4;
}

    .review-summary__item:last-child {
        border-bottom: 0;
    }

.review-summary__label {
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.review-summary__value {
    margin-left: 25px;
    color: #222;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
}

.review-summary__item--total {
    padding-top: 16px;
    padding-bottom: 16px;
    background: #f5f7f8;
}

    .review-summary__item--total .review-summary__label {
        color: #222;
        font-size: 16px;
    }

    .review-summary__item--total .review-summary__value {
        color: #a71930;
        font-size: 20px;
    }
.history-summary-row td {
    padding: 24px 0 0 0;
    border: 0;
    background: transparent;
}

.history-summary {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

.history-summary__details,
.history-summary__totals {
    border: 1px solid var(--border-colour);
    border-radius: 4px;
    background: var(--surface);;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
}

.history-summary__details {
    flex: 1;
    min-width: 0;
}

.history-summary__heading {
    padding: 13px 18px;
    background: #f5f7f8;
    border-bottom: 1px solid #e3e3e3;
    color: #222;
    font-size: 15px;
    font-weight: bold;
}

.history-summary__description {
    min-height: 75px;
    padding: 18px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.history-summary__totals {
    flex: 0 0 320px;
    align-self: flex-start;
}

.history-summary__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-bottom: 1px solid #e4e4e4;
}

    .history-summary__item:last-child {
        border-bottom: 0;
    }

.history-summary__label {
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.history-summary__value {
    margin-left: 25px;
    color: #222;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
}

.history-summary__item--grand-total {
    padding-top: 16px;
    padding-bottom: 16px;
    background: #f5f7f8;
}

    .history-summary__item--grand-total .history-summary__label {
        color: #222;
        font-size: 16px;
    }

    .history-summary__item--grand-total .history-summary__value {
        color: #a71930;
        font-size: 20px;
    }
.history-filter {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(280px, 1.4fr) auto auto;
    align-items: center;
    gap: 22px;
    padding: 22px;
    margin-bottom: 0;
    background: var(--surface);;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.history-filter__heading {
    color: var(--primary-colour);
    font-size: 16px;
}

.history-filter__search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .history-filter__search input {
        height: 44px;
        padding: 8px 42px 8px 16px;
    }

.history-filter__results {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

    .history-filter__results label {
        color: var(--primary-colour);
        font-size: 14px;
        font-weight: 600;
    }

    .history-filter__results select {
        width: 72px;
        height: 44px;
        padding: 6px 10px;
    }

.history-filter__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    background: var(--primary-colour);
    color: #fff;
    border: 2px solid var(--primary-colour);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .history-filter__button:hover {
        background: var(--dark);
        border-color: var(--dark);
    }

.history-order-table {
    width: 100%;
    margin-top: 0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

    .history-order-table th,
    .history-order-table td {
        vertical-align: middle;
    }

.history-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-row-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--primary-colour);
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.history-row-action--view {
    background: var(--surface);;
    color: var(--primary-colour);
}

    .history-row-action--view:hover {
        background: var(--primary-colour);
        color: #fff;
    }

.history-row-action--reuse {
    background: var(--secondary-colour);
    border-color: var(--secondary-colour);
    color: #fff;
}

    .history-row-action--reuse:hover {
        background: var(--dark);
        border-color: var(--dark);
        color: #fff;
    }

.history-paging-row td {
    padding: 22px;
    background: var(--surface);;
    border: 0;
}

.history-paging {
    display: flex;
    justify-content: center;
    align-items: center;
}
.history-order-table .history-row-action,
.history-order-table .history-row-action:visited,
.history-order-table .history-row-action:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

/* View */
.history-order-table .history-row-action--view,
.history-order-table .history-row-action--view:visited {
    background: var(--surface);;
    border: 1px solid var(--primary-colour);
    color: var(--primary-colour);
}

    .history-order-table .history-row-action--view:hover,
    .history-order-table .history-row-action--view:focus {
        background: var(--primary-colour) !important;
        border-color: var(--primary-colour) !important;
        color: #fff !important;
    }

/* Reuse */
.history-order-table .history-row-action--reuse,
.history-order-table .history-row-action--reuse:visited {
    background: var(--secondary-colour);
    border: 1px solid var(--secondary-colour);
    color: #fff;
}

    .history-order-table .history-row-action--reuse:hover,
    .history-order-table .history-row-action--reuse:focus {
        background: var(--dark) !important;
        border-color: var(--dark) !important;
        color: #fff !important;
    }
@media screen and (max-width: 750px) {

    .history-filter {
        display: block;
        padding: 18px;
        border-radius: 6px;
        margin-bottom: 16px;
    }

    .history-filter__heading,
    .history-filter__search,
    .history-filter__results {
        margin-bottom: 14px;
    }

    .history-filter__search {
        display: block;
    }

    .history-filter__results {
        justify-content: space-between;
    }

        .history-filter__results select {
            width: 90px;
        }

    .history-filter__button {
        width: 100%;
    }

    .history-order-table {
        display: block;
        width: 100%;
        border-radius: 0;
        background: transparent;
    }

        .history-order-table tbody,
        .history-order-table tr,
        .history-order-table td {
            display: block;
            width: 100%;
            box-sizing: border-box;
        }

            .history-order-table tr:first-child {
                display: none;
            }

            .history-order-table tr.review-odd,
            .history-order-table tr.review-even {
                margin-bottom: 16px;
                border: 1px solid var(--border-colour);
                border-radius: 5px;
                background: var(--surface);;
                overflow: hidden;
                box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
            }

        .history-order-table td {
            position: relative;
            min-height: 46px;
            padding: 12px 14px 12px 43%;
            border: 0;
            border-bottom: 1px solid var(--border-colour);
            text-align: right;
            overflow-wrap: anywhere;
        }

            .history-order-table td:before {
                position: absolute;
                top: 12px;
                left: 14px;
                width: 36%;
                color: #555;
                font-weight: 700;
                text-align: left;
            }

            .history-order-table td:nth-child(1):before {
                content: "Order ID";
            }

            .history-order-table td:nth-child(2):before {
                content: "Date created";
            }

            .history-order-table td:nth-child(3):before {
                content: "PO / Note";
            }

            .history-order-table td:nth-child(4):before {
                content: "Channel";
            }

            .history-order-table td:nth-child(5):before {
                content: "Stage";
            }

            .history-order-table td:nth-child(6):before {
                content: "Total + VAT";
            }

            .history-order-table td:nth-child(7):before {
                display: none;
                content: none;
            }

        .history-order-table .history-actions-cell {
            padding: 12px;
            border-bottom: 0;
        }

    .history-row-actions {
        display: flex;
        width: 100%;
        gap: 10px;
    }

    .history-row-action {
        flex: 1;
        min-height: 44px;
    }

    .history-order-table .history-paging-row {
        display: block;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

        .history-order-table .history-paging-row td {
            padding: 16px 0;
            border: 0;
        }

            .history-order-table .history-paging-row td:before {
                display: none;
                content: none;
            }
}
@media screen and (max-width: 750px) {
    .order-actions {
        display: block;
        padding: 18px;
    }

    .order-actions__text {
        margin-bottom: 16px;
        text-align: center;
    }

    .order-actions__buttons {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
    }

    .order-action {
        width: 100%;
    }
}

@media screen and (max-width: 750px) {

    .review-order-table td:nth-child(1):before {
        content: "#";
    }

    .review-order-table td:nth-child(2):before {
        content: "Stock ref";
    }

    .review-order-table td:nth-child(3):before {
        content: "Product";
    }

    .review-order-table td:nth-child(4):before {
        content: "Quantity";
    }

    .review-order-table td:nth-child(5):before {
        content: "Price ex VAT";
    }

    .review-order-table td:nth-child(6):before {
        content: "Action";
    }

    .review-order-table td:nth-child(n+7):before {
        content: none;
        display: none;
    }

    .review-order-table td:last-child {
        padding: 12px;
        text-align: center;
    }

        .review-order-table td:last-child:before {
            display: none;
            content: none;
        }

    .review-order-table .del-link {
        width: 100%;
        margin: 0;
    }
}
@media screen and (max-width: 750px) {
    .review-order-table .quantity {
        width: 75px;
        height: 46px;
        padding: 8px 12px;
        text-align: center;
    }
}
@media screen and (max-width: 750px) {

    .review-total--orders .history-summary-row td {
        min-height: 0;
        padding: 0;
        border: 0;
        text-align: left;
    }

        .review-total--orders .history-summary-row td:before {
            display: none;
            content: none;
        }
}
@media screen and (max-width: 750px) {

    /* Hide the desktop scrolling instruction */
    .table-scrolling-message {
        display: none !important;
    }

    .history-order-table {
        display: block;
        width: 100%;
        min-width: 0 !important;
        background: transparent;
    }

        .history-order-table tbody,
        .history-order-table tr,
        .history-order-table td {
            display: block;
            width: 100%;
            box-sizing: border-box;
        }

        /* Hide desktop headings */
        .history-order-table > tbody > tr:first-child,
        .history-order-table > tr:first-child {
            display: none;
        }

        .history-order-table tr.review-odd,
        .history-order-table tr.review-even {
            display: block;
            margin: 0 0 16px 0;
            border: 1px solid var(--border-colour);
            border-radius: 5px;
            background: var(--surface);;
            overflow: hidden;
            box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
        }

            .history-order-table tr.review-odd td,
            .history-order-table tr.review-even td {
                position: relative;
                display: block;
                min-height: 48px;
                padding: 13px 14px 13px 43%;
                border: 0;
                border-bottom: 1px solid #e5e5e5;
                text-align: right;
                overflow-wrap: anywhere;
            }

                .history-order-table tr.review-odd td::before,
                .history-order-table tr.review-even td::before {
                    position: absolute;
                    top: 13px;
                    left: 14px;
                    display: block;
                    width: 36%;
                    color: #555;
                    font-weight: 700;
                    text-align: left;
                }

        .history-order-table td:nth-child(1)::before {
            content: "Order ID" !important;
        }

        .history-order-table td:nth-child(2)::before {
            content: "Date created" !important;
        }

        .history-order-table td:nth-child(3)::before {
            content: "PO / Note" !important;
        }

        .history-order-table td:nth-child(4)::before {
            content: "Channel" !important;
        }

        .history-order-table td:nth-child(5)::before {
            content: "Stage" !important;
        }

        .history-order-table td:nth-child(6)::before {
            content: "Total + VAT" !important;
        }

        .history-order-table td:nth-child(7)::before {
            content: none !important;
            display: none !important;
        }

        /* Action row */
        .history-order-table td.history-actions-cell {
            padding: 12px !important;
            border-bottom: 0;
        }

    .history-row-actions {
        display: flex;
        width: 100%;
        gap: 10px;
    }

    .history-row-action {
        flex: 1;
        min-height: 44px;
    }

    /* Paging must not become a product card */
    .history-order-table .history-paging-row {
        display: block;
        margin: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

        .history-order-table .history-paging-row td {
            padding: 18px 0 !important;
            border: 0;
            text-align: center;
        }

            .history-order-table .history-paging-row td::before {
                content: none !important;
                display: none !important;
            }
}
img {
    vertical-align: bottom;
    border: none;
    height: auto;
}
img, svg {
    max-width: 100%}
hr {
    border: none;
    border-bottom: 1px solid #bbb;
}
::-moz-selection {
    background: #3cb54b;
    color: #fff;
}
::selection {
    background: #3cb54b;
    color: #fff;
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
}
::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb:hover {
    background: var(--dark);
}
label {
    display: block;
}
input[type=date], input[type=email], input[type=file], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    padding: .7em 1.5em;
    height: 50px;
    background: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-border-radius: 0;
    border: 2px solid var(--dark);
    font-family: Segoe UI, Arial, Helvetica, sans-Serif;
    box-sizing: border-box;
    transition: all, .3s;
    width: 100%;
    color: var(--dark);
}
input[type=date]:focus, input[type=email]:focus, input[type=file]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--dark);
    box-shadow: none;
    background: rgba(0, 30, 98, .1);
}
button, input[type=button], input[type=submit] {
    outline: none;
    border: none;
    font-family: Segoe UI, Arial, Helvetica, sans-Serif;
    font-weight: 700;
    transition: all, .3s;
    -webkit-appearance: none;
}
textarea {
    max-width: 100%;
    min-height: 150px;
}
input::-webkit-input-placeholder {
    color: var(--dark);
    text-transform: uppercase;
    font-family: Segoe UI, Arial, Helvetica, sans-Serif;
    letter-spacing: 2px;
}
input::-moz-placeholder {
    color: var(--dark);
    text-transform: uppercase;
    font-family: Segoe UI, Arial, Helvetica, sans-Serif;
    letter-spacing: 2px;
}
input:-ms-input-placeholder, input::-ms-input-placeholder {
    color: var(--dark);
    text-transform: uppercase;
    font-family: Segoe UI, Arial, Helvetica, sans-Serif;
    letter-spacing: 2px;
}
input::placeholder {
    color: var(--dark);
    text-transform: uppercase;
    font-family: Segoe UI, Arial, Helvetica, sans-Serif;
    letter-spacing: 2px;
}
a {
    color: #3cb54b;
    transition: all .3s;
    text-decoration: underline;
}
a:active, a:focus, a:hover {
    outline: none;
}
a.u-secondary-colour:hover {
    color: #3cb54b;
}
a.u-primary-colour:hover {
    color: #35c2cd;
}
a.u-dark:hover {
    color: #3cb54b;
}
a.u-clean {
    text-decoration: none;
}
