/* Temporary file for css not included in Pure's files */

/* Extra css for glass measurement wizard
 * /NL/administration.glassesmeasurements/user/existing/GlassesDestination
 */
#GlassesFrame .loading,
#GlassesGlass .loading,
#GlassesEye .loading {
    margin-top: 0.65em;
    width: 16px;
    height: 16px;
    background: url(../img/loader_green_lgrey.gif);
}

form .column-half {
    display: inline-block;
    width: 49%;
}

form .column-half.last {
    float: right;
}

.page-propvals .loading {
    float: right;
    width: 49%;
    height: 80px;
    background: url(../img/loader_green_large.gif) center no-repeat;
}

body.page-myvdp .field-overview > table.tableHeader,
.responsive-table > table.tableHeader {
    min-width: auto;
}

.tableHeader {
    width: auto;
    border: 1px solid #769918;
    margin-bottom: 1.6em;
}

.tableHeader td {
    line-height: 1.4em;
    padding: 5px;
}

.tableHeader tr:first-child > td {
    padding-top: 15px;
}

.tableHeader tr:last-child > td {
    padding-bottom: 15px;
}

.tableHeader tr > td:first-child {
    padding-left: 30px;
}

.tableHeader tr > td:last-child {
    padding-left: 30px;
    padding-right: 30px;
    font-weight: bold;
}

.item-contact-person .field-contact-info svg {
    fill: #fff;
}

.block-product-contact-info .item.item-content {
    position: relative;
}

.block-product-contact-info .item.item-content .field-img video {
    width: 100%;
    height: auto;
}

.block-product-contact-info .item.item-content .field-title {
    margin-bottom: 0.66667em;
}

.block-product-contact-info .item.item-content:hover .field-title h3 {
    color: #769918;
}

.block-product-contact-info .item.item-content .field-date {
    float: left;
    color: #769918;
    padding-right: 0.33333em;
    line-height: 1.25;
}

.block-product-contact-info .item.item-content .field-date:after {
    content: "-";
    padding-left: 0.33333em;
}

.block-product-contact-info .item.item-content .field-text {
    line-height: 1.25;
}

.block-product-contact-info .item.item-content .field-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.block-product-contact-info .item.item-content .field-link a {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-image: url(data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==);
}

.category_tree__back.active a,
.category_tree__sub.active a,
.category_tree__current.active a {
    font-family: MontserratBold, sans-serif;
}

.block-product.block-product-details > ul > li > .label-with-image .image {
    width: 50px;
    float: right;
    margin-right: 14px;
}

.block-product.block-product-details > ul > li > .label-with-image .label {
    font-family: MontserratNormal,sans-serif;
    font-weight: 400;
    float: left;
}

.item-product-teaser .field-img .field-colours {
    height: 15px;
    position: absolute;
    bottom: 5px;
    left: 8px;
    right: 6px;
}

.item-product-teaser .field-img .field-colours .field-colour {
    background-color: #fff;
    height: 15px;
    width: 15px;
    float: left;
    margin-right: 5px;
    line-height: 15px;
    border-radius: 0.15rem;
    border: 1px solid #b2b2b2;
    text-align: center;
}

.block-admin-settings ul li ul {
    margin-top: 5px;
    margin-bottom: 10px;
}

.block-admin-settings ul li ul li {
    padding-left: 15px;
}

#GlassesEye .column-half {
    width: 48.5%;
}
.form-item.button {
    font-family: MontserratBold,sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    background: #769918;;
    padding: 7px 10px 6px;
    line-height: 1.4;
    box-sizing: border-box;
    border-radius: 0.15rem;
    width: auto;
    margin: auto;
    cursor: pointer;
}
.form-item.button.small {
    float: right;
    margin-right: -5.5%;
}
.chartTable {
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
    clear: both;
}

.chartTable th, .chartTable td {
    padding: .75em .5em;
    line-height: normal;
}

.chartTable th {
    background-color: #f3f3f3;
    font-weight: 700;
    border-bottom: solid 1px #a8a8a8;
}

.chartTable td {
    border-bottom: solid 1px #e0e0e0;
}

.chartTable .placeholder-error-row td {
    color: #e60000
}

#header-nav div.header-nav__level ul li a.header-nav__secondlevel {
    text-decoration:underline;
    color: #769918;
}

/* Fixes issue on /NL/administration.orders.statistics/lendings/ where the filters drop down is full width */
.page-lendings > .select2-container {
    min-width: initial;
}

.form-item.voucherComment {
    margin-bottom: 19px;
}
p.voucherComment {
    font-size: 15px;
    color: #3b3a3a;
    line-height: 1.2;
}

.chart--pinned {
    max-height: 280px;
}
.chart--pinned .btn-more {
    position: relative;
    display: block;
    margin-top: -30px;
}
.chart-title,
.chart-customtitle {
    display: block;
    word-wrap: break-word;
}

/* Dashboards (the standard one and the customers' own, also while editing one): every chart or figure is a card with a grey header strip, as on
   the detail pages. Flex instead of the floated columns, so the cards in a row are equally high */
:is(.page-charts-dashboard, .page-statistics-dashboards) .row--separated {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

:is(.page-charts-dashboard, .page-statistics-dashboards) .row--separated:after {
    display: none;
}

:is(.page-charts-dashboard, .page-statistics-dashboards) .row--separated > .col {
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    margin: 0 !important;
    padding: 0 20px 16px;
    float: none;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

:is(.page-charts-dashboard, .page-statistics-dashboards) .row--separated .col + .col:before {
    display: none;
}

:is(.page-charts-dashboard, .page-statistics-dashboards) .chart-title-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin: 0 -20px 14px;
    padding: 10px 20px;
    border-bottom: 1px solid #e6e6e6;
    background: #f3f3f3;
}

:is(.page-charts-dashboard, .page-statistics-dashboards) .chart-title-bar .chart-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
}

:is(.page-charts-dashboard, .page-statistics-dashboards) .chart-title-bar .btn-more {
    position: static;
    display: inline;
    width: auto;
    float: none;
    margin: 0;
    font-size: 14px;
}

:is(.page-charts-dashboard, .page-statistics-dashboards) .chart-title-bar .chart-customtitle {
    flex-basis: 100%;
}

/* A figure has no title strip; its link follows the text instead of being pinned to a fixed height, which the text
   outgrows on a phone */
:is(.page-charts-dashboard, .page-statistics-dashboards) .row--separated > .col > .stat {
    max-height: none;
    padding-top: 16px;
}

:is(.page-charts-dashboard, .page-statistics-dashboards) .row--separated > .col > .stat .btn-more {
    position: static;
    display: block;
    margin-top: 10px;
}

@media (max-width: 775px) {
    :is(.page-charts-dashboard, .page-statistics-dashboards) .row--separated {
        flex-direction: column;
    }

    /* Less padding on a phone; a wide table scrolls inside its card */
    :is(.page-charts-dashboard, .page-statistics-dashboards) .row--separated > .col {
        flex: none;
        padding: 0 12px 12px;
        overflow-x: auto;
    }

    :is(.page-charts-dashboard, .page-statistics-dashboards) .chart-title-bar {
        margin: 0 -12px 12px;
        padding: 8px 12px;
    }
}
table.dataTable tbody tr.highlightRed,
table.dataTable tbody tr td.highlightRed,
table.dataTable tbody tr.odd td.highlightRed,
table.dataTable tbody tr.even td.highlightRed {
    background-color: red !important;
    color: white !important;
}
table.dataTable tbody tr.highlightOrange,
table.dataTable tbody tr td.highlightOrange,
table.dataTable tbody tr.odd td.highlightOrange,
table.dataTable tbody tr.even td.highlightOrange {
    background-color: orange !important;
}
table.dataTable tbody tr.highlightYellow,
table.dataTable tbody tr td.highlightYellow,
table.dataTable tbody tr.odd td.highlightYellow,
table.dataTable tbody tr.even td.highlightYellow {
    background-color: yellow !important;
}
.stockLevelSwatches {
    display: inline-flex;
    gap: 2px;
    vertical-align: middle;
}
.stockLevelSwatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 2px;
}
.stockLevelSwatch--red { background-color: red; }
.stockLevelSwatch--orange { background-color: orange; }
.stockLevelSwatch--yellow { background-color: yellow; }
.stockLevelSwatch--green { background-color: green; }
.stockLevelSwatch--grey { background-color: #999; }
.stockLevelSwatch--active {
    outline: 2px solid #000;
    outline-offset: 1px;
    box-shadow: 0 0 0 1px #fff;
}
tr.stockLevelRow--red td:first-child,
table.dataTable tbody tr.stockLevelRow--red td:first-child { box-shadow: inset 2px 0 0 0 red !important; }
tr.stockLevelRow--orange td:first-child,
table.dataTable tbody tr.stockLevelRow--orange td:first-child { box-shadow: inset 2px 0 0 0 orange !important; }
tr.stockLevelRow--yellow td:first-child,
table.dataTable tbody tr.stockLevelRow--yellow td:first-child { box-shadow: inset 2px 0 0 0 yellow !important; }
tr.stockLevelRow--green td:first-child,
table.dataTable tbody tr.stockLevelRow--green td:first-child { box-shadow: inset 2px 0 0 0 green !important; }
tr.stockLevelRow--grey td:first-child,
table.dataTable tbody tr.stockLevelRow--grey td:first-child { box-shadow: inset 2px 0 0 0 #999 !important; }
.form-item.deliveryAddressText {
    margin-bottom: 19px;
}
p.deliveryAddressText {
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2;
}
.form-items-inline.as-usual-form-item {
    margin: 0;
    border: 0;
}

.form-items-inline.as-usual-form-item .form-label {
    width: 18.6667em;
}

.autocomplete .subgroups li a {
    margin-left: 17px;
    padding-left: 30px;
    background-position: 0 50%;
    text-transform: uppercase;
}
.autocomplete .subgroups li a.withImage {
    background: none;
    margin-left: 0;
    padding-left: 0;
}
.autocomplete .subgroups li a img {
    width: 40px;
    vertical-align: middle;
    margin-right: 5px;
    border: 1px solid #ccc;
}

img#priceSpider {
    width: 0;
    height: 0;
}

tr.td-no-wrap td, tr.td-no-wrap th {
    white-space: nowrap;
}

td.order-details, tr.order-details td:first-child {
    margin-left: 10px;
    padding: 1px 10px;
    background-color: #eaa954;
    color: #fff;
    font-weight: 400;
}

td.order-details-track-trace-button a {
    height: 19px !important;
    margin: 0 auto;
}

/** Order details (overview) css bits **/
.block-order-details .responsive-table table tr th, .block-order-details .responsive-table table tr td {
    white-space: nowrap;
}

.block-order-details .responsive-table table tr td.highlight {
    font-weight: bolder;
}

.block-order-details .responsive-table table tr th a {
    color: #fff;
    text-decoration: none;
}

.block-order-details .responsive-table table tr th a.sortedasc, .block-order-details .responsive-table table tr th a.sorteddesc {
    font-weight: 600;
}

.block-order-details .responsive-table table tr th a {
    padding-right: 20px;
    position: relative;
    display: block;
    width: 100%;
}
.block-order-details .responsive-table table tr th a:after, .block-order-details .responsive-table table tr th a:before {
    border: 4px solid transparent;
    content: "";
    display: block;
    height: 0;
    right: 16px;
    top: 50%;
    position: absolute;
    width: 0;
}

.block-order-details .responsive-table table tr th a:after {
    border-top-color: #666;
    margin-top: 1px;
}

.block-order-details .responsive-table table tr th a:before {
    border-bottom-color: #666;
    margin-top: -9px;
}

.block-order-details .responsive-table table tr th a.sortedasc:before {
    border-bottom-color: #fff;
}

.block-order-details .responsive-table table tr th a.sorteddesc:after {
    border-top-color: #fff;
}
/*
To use this instead, you need to add back not(.sortedasc):not(.sorteddesc) to the other bits!

.block-order-details .responsive-table table tr th a.sortedasc:after, .block-order-details .responsive-table table tr th a.sorteddesc:after {
    content: "";
    border-left: solid 4px transparent;
    border-right: solid 4px transparent;
    display: inline-block;
    position: relative;
    top: -.1em;
    margin-left: .3em;
    opacity: 0;
}

.block-order-details .responsive-table table tr th a.sortedasc:after {
    border-top: solid 6px #fff;
    border-bottom: none;
    opacity: 1;
}

.block-order-details .responsive-table table tr th a.sorteddesc:after {
    border-bottom: solid 6px #fff;
    border-top: none;
    opacity: 1;
}*/

/* Remove the right padding from the 'Artikel' column, so it looks better when we add an icon next to it */
.field-overview.responsive-table table#OrderDetails td[id^="ItemNumber"],
.field-overview.responsive-table table#OrderDetails th[id^="ItemNumber"] {
    padding-right: 0;
}

a.incomplete_measurement_voucher {
    display: block;
    padding: 2px 20px;
}
.warning a.incomplete_measurement_voucher:hover {
    color: black;
}

.dropdown-login .block-messages {
    white-space: initial;
}

/* Foldable rows (Table\Row\FoldableContentRow): a green chevron in the first cell marks the action, the
   unfolded items sit in compact columns so a long list does not stack into one tall row */
table.dataTable tbody tr.foldableRow {
    cursor: pointer;
}

table.dataTable tbody tr.foldableRow > td:first-child::before {
    content: '';
    display: inline-block;
    width: .45em;
    height: .45em;
    margin: 0 .7em .15em .1em;
    border-right: 2px solid #769918;
    border-bottom: 2px solid #769918;
    transform: rotate(-45deg);
    transition: transform .15s ease-out;
}

table.dataTable tbody tr.foldableRow.foldableRowOpen > td:first-child::before {
    transform: rotate(45deg);
}

table.dataTable tbody tr.foldableRow:focus-visible {
    outline: 2px solid #8bb71e;
    outline-offset: -2px;
}

table.dataTable tbody tr.foldableRowChild > td {
    background-color: #ffffff !important;
    border-top: none !important;
}

ul.foldableRowItems {
    columns: 3 18em;
    column-gap: 2em;
    margin: 0;
    padding: 0 0 .75em 1.65em;
    list-style: none;
}

ul.foldableRowItems li {
    break-inside: avoid;
    padding: .15em 0;
}

/* Folded records (foldedItemColumns): a compact, borderless table under the row, indented past the chevron */
table.foldableRowItemsTable {
    width: auto !important;
    margin: 0 0 .75em 1.65em;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

/* Inside a DataTables table the theme hides header text until the first draw and greys the header row */
table.foldableRowItemsTable thead,
table.foldableRowItemsTable thead tr {
    background: none !important;
}

table.foldableRowItemsTable th {
    color: #3b3a3a !important;
    padding: .2em 2.5em .35em 0;
    text-align: left;
    font-family: MontserratBold, sans-serif;
    font-size: 14px;
    border: none !important;
    background: none !important;
}

table.foldableRowItemsTable td {
    padding: .2em 2.5em .2em 0;
    border: none !important;
    background: none !important;
    white-space: nowrap !important;
}

/* Grouping columns (Column::setGroupingColumn): the rows read as an outline. A grouping value repeating its group
   is hidden and takes no space, grouping cells carry no row lines, a charcoal rule opens a group and a lighter one
   a subgroup; the first grouping column is bold where its group starts */
table.dataTable > tbody > tr > td.groupingColumn {
    border-top-color: transparent !important;
    border-bottom-color: transparent !important;
}

table.dataTable > tbody > tr > td.repeatedGroupValue {
    color: transparent !important;
    font-size: 0;
    line-height: 0;
    user-select: none;
}

table.dataTable > tbody > tr.groupStart > td,
table.dataTable > tbody > tr.groupStart > td.groupingColumn {
    border-top: 1px solid #6b6b6b !important;
}

table.dataTable > tbody > tr.groupStart > td.groupingLevel0 {
    font-family: MontserratBold, sans-serif;
}

table.dataTable > tbody > tr.subgroupStart > td:not(.groupingLevel0),
table.dataTable > tbody > tr.subgroupStart > td.groupingColumn:not(.groupingLevel0) {
    border-top: 1px solid #999999 !important;
}

/* Measurement agreements: values wrap, and the grouping columns stay narrow so the values get the room */
table.dataTable.tableMeasurementAgreements > tbody > tr > td {
    white-space: normal !important;
    vertical-align: top;
}

table.dataTable.tableMeasurementAgreements > thead > tr > th:nth-child(1),
table.dataTable.tableMeasurementAgreements > tbody > tr:not(.foldableRowChild) > td:nth-child(1) {
    width: 22%;
}

table.dataTable.tableMeasurementAgreements > thead > tr > th:nth-child(2),
table.dataTable.tableMeasurementAgreements > tbody > tr:not(.foldableRowChild) > td:nth-child(2) {
    width: 16%;
}

table.dataTable.tableMeasurementAgreements > thead > tr > th:nth-child(3),
table.dataTable.tableMeasurementAgreements > tbody > tr:not(.foldableRowChild) > td:nth-child(3) {
    width: 27%;
}

table.dataTable.tableMeasurementAgreements > thead > tr > th:nth-child(4),
table.dataTable.tableMeasurementAgreements > tbody > tr:not(.foldableRowChild) > td:nth-child(4) {
    width: 35%;
}

/* Structured Log tree */
table.tableStructuredLog thead {
    display: none;
}

.tableStructuredLog tbody td.structuredLogSpacer {
    padding: 0;
    border: none;
    width: 20px;
}

.tableStructuredLog tbody td.highlight {
    font-weight: bold;
}

.tableStructuredLog tbody td.structuredLogPreformatted {
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 12px;
}

.page-eyevoucherstatus h3 {
    margin: 20px 0;
}
.page-eyevoucherstatus .card {
    position: relative;
    width: 90%;
    max-width: 520px;
    min-height: 80px;
    margin: 0 auto;
    padding: 5px;
    border: solid 2px #769918;
}
.page-eyevoucherstatus .event {
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    color: #769918;
}
.page-eyevoucherstatus .card:hover legend,
.page-eyevoucherstatus .card:hover .event,
.page-eyevoucherstatus .completed,
.page-eyevoucherstatus .completed .event{
    color: white;
    background: #769918;
}
.page-eyevoucherstatus .completed svg * {
    fill: white;
}
.page-eyevoucherstatus .status {
    background: lightyellow;
}
.page-eyevoucherstatus .status:hover,
.page-eyevoucherstatus .status:hover .event {
    background: lightcoral;
    border-color: red;
}
.page-eyevoucherstatus .icon-container {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
}
.page-eyevoucherstatus legend {
    position: absolute;
    top: -14px;
    left: 12px;
    background: white;
    padding: 0 5px;
}
.page-eyevoucherstatus .link {
    width: 2px;
    height: 30px;
    margin: 0 auto;
    background: #769918;
}
/* Timeline node icons come from mixed icon families with differing canvases;
   lay each node out as a flex row and give the icon one uniform square box */
.page-eyevoucherstatus .card:not(.completed):not(.status) {
    display: flex;
    align-items: center;
    gap: 12px;
}
.page-eyevoucherstatus .card:not(.completed):not(.status) .icon-container {
    position: static;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    max-width: none;
    margin: 0;
}
.page-eyevoucherstatus .card:not(.completed):not(.status) .icon-container .icon {
    width: 34px;
    height: 34px;
    padding-bottom: 0;
}
.page-eyevoucherstatus .card:not(.completed):not(.status) .event {
    display: block;
    text-align: left;
}
/* Final status node: prominent centered banner (rounded, shadow, icon badge) */
.page-eyevoucherstatus .completed,
.page-eyevoucherstatus .status {
    padding: 22px 18px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(118, 153, 24, 0.28);
}
.page-eyevoucherstatus .status {
    background: #fff8e1;
    box-shadow: 0 6px 18px rgba(230, 193, 74, 0.25);
}
.page-eyevoucherstatus .completed .icon-container,
.page-eyevoucherstatus .status .icon-container {
    position: static;
    display: block;
    width: 56px;
    height: 56px;
    max-width: none;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: white;
}
/* undo the aspect-ratio box + absolute svg used by the timeline nodes so the icon centers in the badge */
.page-eyevoucherstatus .completed .icon-container .icon,
.page-eyevoucherstatus .status .icon-container .icon {
    height: 100%;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-eyevoucherstatus .completed .icon-container .icon svg,
.page-eyevoucherstatus .status .icon-container .icon svg {
    position: static;
    width: 28px;
    height: 28px;
}
.page-eyevoucherstatus .completed .icon-container svg * {
    fill: #769918;
}
.page-eyevoucherstatus .status .icon-container svg * {
    fill: #c79a12;
}
.page-eyevoucherstatus .completed .event,
.page-eyevoucherstatus .status .event {
    display: block;
    font-size: 17px;
    line-height: 1.35;
}
.page-eyevoucherstatus .status .event {
    color: #7a5c00;
}

.block-product-overview-alternative {
    float: left;
    width: 100%;
}
.block-product-overview-alternative h2 {
    margin-bottom: 20px;
}
/* Cross-sell / alt-products slider: neutralise the float-based card styles
   that apply outside the slider context. */
.block-product-overview-alternative__slider .slick-slide > div {
    width: 150px;
}
.block-product-overview-alternative__slider .item-product-teaser.small {
    float: none !important;
    width: 140px !important;
    margin: 0 5px !important;
}
.item-product-teaser.small {
    width: 140px;
    float:left;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #999 !important;
    padding: 2px 10px;
}
.item-product-teaser.small .field-img {
    text-align: center;
    padding-bottom: 90px;
}
.item-product-teaser.small img {
    max-width: 120px;
    max-height: 83px;
    border: 0;
    /* The two maxima clip width and height separately; keep the photo's proportions inside that box (WVD-2036) */
    object-fit: contain;
}
.item-product-teaser.small .field-title {
    margin: 3px 0;
}
.item-product-teaser.small .field-title a {
    color: #769918;
    font-size:14px;
}
.item-product-teaser.small .product-teaser-buy {
    margin-top: 5px;
}
.item-product-teaser.small .field-link a {
    zoom: .8;
}
.searchIcon {
    background: url(../img/icon_zoom_green.png) no-repeat;
}
.similarProductsSearch {
    float: right;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 20px;
}
.arrowUp,
.arrowDown {
    text-decoration: none !important;
    color: #769918 !important;
    vertical-align: middle;
    line-height: 0;
    font-size: 35px;
}
.arrowUp:after {
    content: "\21E7";
}
.arrowDown:after {
    content: "\21E9";
}
.block-shoping-cart-total td {
    vertical-align: top;
}
.dropdown-cart-footer #totalTokens{
    float: none;
    margin-left: 30px;
}
/** Temporary tweak for the icons in the admin menu, for as long as the old ones are used **/
.admin-menu__body li.admin-menu__list-item .admin-menu__list-item-link-icon:not(.safety2024-icon) svg {
    width: 32px !important;
    height: 32px !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
}

.admin-menu__body li.admin-menu__list-item .admin-menu__list-item-link-icon.safety2024-icon svg {
    width: 16px !important;
    height: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Hide depth 4 icons.. no longer needed atm because of the added support for another level and horizontal scrolling */
/*
.admin-menu__list.admin-menu__depth-4 > .admin-menu__list-item > .admin-menu__list-item-link:not(.js-has-subnav) > .admin-menu__list-item-link-icon svg {
    fill: transparent;
    stroke: transparent;
}
*/

a.admin-menu__list-item-link.is-active {
    font-weight: bold;
}

nav > ul.admin-menu__list {
    width: fit-content;
    min-width: 100%;
}

div.admin-menu__body {
    overflow-x: auto;
}

span.admin-menu__list-item-link-label {
    white-space: nowrap;
}

.admin-menu__list--sub .admin-menu__list--sub .admin-menu__list--sub .admin-menu__list--sub .admin-menu__list-item-link {
    padding-left: 146px;
}

/* Otherwise some weird white corner was shown */
@media (min-width: 775px) {
    button.admin-menu__trigger {
        height: 100%;
    }
}

body.page-home #content {
    padding-top: 1.7em;
    padding-bottom: 3.33333em;
}

#content {
    /* So that the "click to close" menu properly works on pages without a lot of content */
    min-height: calc(100vh - 116px);
}

button.admin-menu__trigger {
    z-index: 1000;
}

div.dataTables_header div.dt-buttons {
    z-index: 1000;
}

table.dataTable thead > tr > th.dt-orderable-none .dt-column-order,
table.dataTable thead > tr > td.dt-orderable-none .dt-column-order {
    display: none;
}

div.dt-container {
    position: relative;
    max-width: 100%;
}

div.dt-scroll {
    max-width: 100%;
}

div.dt-scroll-head,
div.dt-scroll-foot {
    overflow: hidden;
    max-width: 100%;
}

div.dt-scroll-body {
    overflow-x: auto;
    max-width: 100%;
}

fieldset#Units.vending-machine-units-fieldset {
    min-width: 0;
    max-width: 100%;
}

fieldset#Units.vending-machine-units-fieldset > .field-overview--vending-machine-units {
    max-width: 100%;
    overflow-x: auto;
}

fieldset#Units.vending-machine-units-fieldset > .field-overview--vending-machine-units > .dt-container,
fieldset#Units.vending-machine-units-fieldset > .field-overview--vending-machine-units .dt-scroll,
fieldset#Units.vending-machine-units-fieldset > .field-overview--vending-machine-units .dt-scroll-head,
fieldset#Units.vending-machine-units-fieldset > .field-overview--vending-machine-units .dt-scroll-body,
fieldset#Units.vending-machine-units-fieldset > .field-overview--vending-machine-units .dt-scroll-foot {
    max-width: 100%;
}

/* FixedColumns 5.x (DataTables 2) pinned-column styling. The library JS sets position:sticky
   plus left/right inline on .dtfc-fixed-* cells, but relies on CSS for an opaque background and
   z-index. Without it the pinned columns are transparent and paint under the scrolling cells,
   so they appear to scroll. .dt-scroll already has position:relative above (needed by blockers). */
/* The theme sets table.dataTable{overflow:hidden}; a clipping ancestor between a sticky
   cell and its scroll container disables position:sticky. Restore visible overflow for
   tables inside the DataTables scroll wrapper so FixedColumns can pin. Higher specificity
   than the theme rule, so it wins regardless of stylesheet load order. */
div.dt-scroll table.dataTable {
    overflow: visible;
}

/* Pinned header cells match the normal header row grey (thead tr background), not white */
table.dataTable thead tr > .dtfc-fixed-start,
table.dataTable thead tr > .dtfc-fixed-end {
    z-index: 3;
    background-color: #f3f3f3;
}

table.dataTable tfoot tr > .dtfc-fixed-start,
table.dataTable tfoot tr > .dtfc-fixed-end {
    z-index: 3;
    background-color: #fff;
}

table.dataTable tbody tr > .dtfc-fixed-start,
table.dataTable tbody tr > .dtfc-fixed-end {
    z-index: 1;
    background-color: #fff;
}

div.dt-scroll div.dtfc-top-blocker,
div.dt-scroll div.dtfc-bottom-blocker {
    position: absolute;
    background-color: #fff;
}

/* Subtle shadow separating the pinned columns from the scrolling area */
table.dataTable tr > .dtfc-fixed-left::after,
table.dataTable tr > .dtfc-fixed-right::after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    transition: box-shadow .3s;
    content: '';
    pointer-events: none;
}

table.dataTable tr > .dtfc-fixed-left::after {
    right: 0;
    transform: translateX(100%);
}

table.dataTable tr > .dtfc-fixed-right::after {
    left: 0;
    transform: translateX(-80%);
}

table.dataTable.dtfc-scrolling-left tr > .dtfc-fixed-left::after {
    box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .2);
}

table.dataTable.dtfc-scrolling-right tr > .dtfc-fixed-right::after {
    box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .2);
}

table.dataTable.dtfc-scrolling-right tr > .dtfc-fixed-right + .dtfc-fixed-right::after {
    box-shadow: none;
}

div.dataTables_footer {
    display: flex;
    align-items: center;
    width: 100%;
}

div.dataTables_footer > div.dt-info {
    flex: 1 1 0;
}

div.dataTables_footer > div.dt-paging {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

div.dataTables_footer > div.dt-length {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 0;
}

div.dt-length select.dt-input {
    width: auto;
    min-width: 0;
}

div.dt-paging {
    display: flex;
    align-items: center;
}

div.dt-paging button.dt-paging-button {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0 8px;
    min-width: 0;
    color: #3b3a3a;
}

div.dt-paging button.dt-paging-button:hover,
div.dt-paging button.dt-paging-button:focus {
    background: transparent;
    border: 0;
    box-shadow: none;
}

div.dt-paging button.dt-paging-button.disabled {
    opacity: .35;
    color: #999;
}

div.dt-paging button.dt-paging-button svg {
    width: 14px;
    height: 14px;
    display: block;
}

div.dt-processing {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 280px;
    padding: 12px 18px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    text-align: center;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    z-index: 1001;
}

div.dt-processing[style*="display: block"],
div.dt-processing[style*="display:block"] {
    display: block;
}

table.dataTable thead th .dt-column-header {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
    padding-right: 16px;
}

table.dataTable thead th .dt-column-title {
    display: inline;
    color: #3b3a3a;
}

table.dataTable thead th .dt-column-order {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 14px;
}

table.dataTable thead th .dt-column-order:before,
table.dataTable thead th .dt-column-order:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    opacity: .35;
}

table.dataTable thead th .dt-column-order:before {
    top: 0;
    border-bottom: 5px solid #3b3a3a;
}

table.dataTable thead th .dt-column-order:after {
    bottom: 0;
    border-top: 5px solid #3b3a3a;
}

table.dataTable thead th.dt-ordering-asc .dt-column-order:before,
table.dataTable thead th.dt-ordering-desc .dt-column-order:after {
    opacity: 1;
}

div.dt-scroll-body > table.dataTable > thead > tr > th,
div.dt-scroll-body > table.dataTable > thead > tr > td {
    border-top-width: 0;
    border-bottom-width: 0;
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

div.dt-scroll-body > table.dataTable > thead > tr > th .dt-column-header,
div.dt-scroll-body > table.dataTable > thead > tr > td .dt-column-header,
div.dt-scroll-body > table.dataTable > thead > tr > th .dt-column-title,
div.dt-scroll-body > table.dataTable > thead > tr > td .dt-column-title,
div.dt-scroll-body > table.dataTable > thead > tr > th .dt-column-order,
div.dt-scroll-body > table.dataTable > thead > tr > td .dt-column-order {
    display: none;
}

.icon-icon_shopping_cart {
    vertical-align: middle;
    zoom: 1.25;
}
.tipsy-inner .icon-icon_shopping_cart {
    vertical-align: top;
}
.dropdown-cart-item .field-price>span,
.dropdown-cart-item .item_count>span {
    margin-left: 5px;
}


/* Collapse the actions column (edit/view/delete/... icons) to its content width.
   DataTables stretches every table to 100% (table.dataTable { width:100% }) and
   spreads that width across all columns; on narrow tables the actions column soaks
   up a large share and looks like it "eats" the space behind a right-aligned icon.
   dt-body-right is emitted only on the actions column (DataColumns::isaction), so
   this hugs whatever icon set it holds without a per-icon-type rule. */
table.dataTable td.dt-body-right {
    width: 1px;
    white-space: nowrap;
}

td.dt-body-right a.dataTablesDisabledLink {
    font-size: 22px;
    display: inline-block;
    vertical-align: middle;

    opacity: .6;
}
.dataTablesDisabledLink {
    background: linear-gradient(to left top,
    transparent 47.75%,
    currentColor 49.5%,
    currentColor 50.5%,
    transparent 52.25%
    );
}

div#footer {
    margin-top: 5em;
}

/* Touch ups for the header cart and profile icons */
div.header-cart .dropdown-wrap button.btn-cart {
    width: 40px;
    height: 40px;
}

@media screen and (max-width: 899px) {
    div.header-profile .dropdown-wrap button.profile-icon {
        width: 40px;
        height: 40px;
    }

    div#environment {
        pointer-events: none;
    }
}

div.header-cart .dropdown-wrap button.btn-cart svg.icon-icon_shopping_cart, div.header-profile .dropdown-wrap button.profile-icon svg.icon-icon_user {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    zoom: 1;
}

body.s4m2024 div.header-cart .dropdown-wrap button.btn-cart svg.icon-icon_shopping_cart, div.header-profile .dropdown-wrap button.profile-icon svg.icon-icon_user {
    width: 1.2rem;
    height: 2rem;
}

div.header-cart .dropdown-wrap button.btn-cart span.number {
    zoom: 0.85;
    font-weight: 600;
}

div.header-cart .dropdown-wrap.active button.btn-cart svg.icon-icon_shopping_cart {
    fill: #769918;
}

.price-per-unit .price.tokens {
    font-size: 1.5em;
}

/* Internal-only SAP pricing-error diagnostic (#pricing-errors-1). The global
   reset strips list bullets; restore them here with a hanging indent so wrapped
   error lines stay readable. The nested div is each error's Code/Materiaal meta. */
#pricing-errors-1 ul {
    list-style: disc outside;
    margin: 0.4em 0 0.6em;
    padding-left: 1.4em;
}
#pricing-errors-1 li {
    margin-bottom: 0.4em;
}
#pricing-errors-1 li > div {
    font-size: 0.85em;
    opacity: 0.8;
}
header .dropdown-cart {
    width: 400px;
}

button#order-submit svg.icon.icon-icon_shopping_cart {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    padding-bottom: 8px;
    margin-bottom: -6px;
    zoom: unset;
}

/* Prevent Double Submits - code from:
    https://www.bram.us/2020/11/04/preventing-double-form-submissions/ */
form.is-submitting-slow::before {
    position: absolute;
    content: '';
    top: -0.5em;
    right: -0.5em;
    left: -0.5em;
    bottom: -0.5em;
    background: rgba(0, 0, 0, 0.2) url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8c3ZnIHdpZHRoPSI0MHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCA0MCA0MCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEuNDE0MjE7IiB4PSIwcHgiIHk9IjBweCI+CiAgICA8ZGVmcz4KICAgICAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPjwhW0NEQVRBWwogICAgICAgICAgICBALXdlYmtpdC1rZXlmcmFtZXMgc3BpbiB7CiAgICAgICAgICAgICAgZnJvbSB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIC13ZWJraXQtdHJhbnNmb3JtOiByb3RhdGUoLTM1OWRlZykKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgQGtleWZyYW1lcyBzcGluIHsKICAgICAgICAgICAgICBmcm9tIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0zNTlkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIHN2ZyB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybS1vcmlnaW46IDUwJSA1MCU7CiAgICAgICAgICAgICAgICAtd2Via2l0LWFuaW1hdGlvbjogc3BpbiAxLjVzIGxpbmVhciBpbmZpbml0ZTsKICAgICAgICAgICAgICAgIC13ZWJraXQtYmFja2ZhY2UtdmlzaWJpbGl0eTogaGlkZGVuOwogICAgICAgICAgICAgICAgYW5pbWF0aW9uOiBzcGluIDEuNXMgbGluZWFyIGluZmluaXRlOwogICAgICAgICAgICB9CiAgICAgICAgXV0+PC9zdHlsZT4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJvdXRlciI+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwwQzIyLjIwNTgsMCAyMy45OTM5LDEuNzg4MTMgMjMuOTkzOSwzLjk5MzlDMjMuOTkzOSw2LjE5OTY4IDIyLjIwNTgsNy45ODc4MSAyMCw3Ljk4NzgxQzE3Ljc5NDIsNy45ODc4MSAxNi4wMDYxLDYuMTk5NjggMTYuMDA2MSwzLjk5MzlDMTYuMDA2MSwxLjc4ODEzIDE3Ljc5NDIsMCAyMCwwWiIgc3R5bGU9ImZpbGw6YmxhY2s7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNNS44NTc4Niw1Ljg1Nzg2QzcuNDE3NTgsNC4yOTgxNSA5Ljk0NjM4LDQuMjk4MTUgMTEuNTA2MSw1Ljg1Nzg2QzEzLjA2NTgsNy40MTc1OCAxMy4wNjU4LDkuOTQ2MzggMTEuNTA2MSwxMS41MDYxQzkuOTQ2MzgsMTMuMDY1OCA3LjQxNzU4LDEzLjA2NTggNS44NTc4NiwxMS41MDYxQzQuMjk4MTUsOS45NDYzOCA0LjI5ODE1LDcuNDE3NTggNS44NTc4Niw1Ljg1Nzg2WiIgc3R5bGU9ImZpbGw6cmdiKDIxMCwyMTAsMjEwKTsiLz4KICAgICAgICA8L2c+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwzMi4wMTIyQzIyLjIwNTgsMzIuMDEyMiAyMy45OTM5LDMzLjgwMDMgMjMuOTkzOSwzNi4wMDYxQzIzLjk5MzksMzguMjExOSAyMi4yMDU4LDQwIDIwLDQwQzE3Ljc5NDIsNDAgMTYuMDA2MSwzOC4yMTE5IDE2LjAwNjEsMzYuMDA2MUMxNi4wMDYxLDMzLjgwMDMgMTcuNzk0MiwzMi4wMTIyIDIwLDMyLjAxMjJaIiBzdHlsZT0iZmlsbDpyZ2IoMTMwLDEzMCwxMzApOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksMjguNDkzOUMzMC4wNTM2LDI2LjkzNDIgMzIuNTgyNCwyNi45MzQyIDM0LjE0MjEsMjguNDkzOUMzNS43MDE5LDMwLjA1MzYgMzUuNzAxOSwzMi41ODI0IDM0LjE0MjEsMzQuMTQyMUMzMi41ODI0LDM1LjcwMTkgMzAuMDUzNiwzNS43MDE5IDI4LjQ5MzksMzQuMTQyMUMyNi45MzQyLDMyLjU4MjQgMjYuOTM0MiwzMC4wNTM2IDI4LjQ5MzksMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxMDEsMTAxLDEwMSk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMy45OTM5LDE2LjAwNjFDNi4xOTk2OCwxNi4wMDYxIDcuOTg3ODEsMTcuNzk0MiA3Ljk4NzgxLDIwQzcuOTg3ODEsMjIuMjA1OCA2LjE5OTY4LDIzLjk5MzkgMy45OTM5LDIzLjk5MzlDMS43ODgxMywyMy45OTM5IDAsMjIuMjA1OCAwLDIwQzAsMTcuNzk0MiAxLjc4ODEzLDE2LjAwNjEgMy45OTM5LDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoMTg3LDE4NywxODcpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTUuODU3ODYsMjguNDkzOUM3LjQxNzU4LDI2LjkzNDIgOS45NDYzOCwyNi45MzQyIDExLjUwNjEsMjguNDkzOUMxMy4wNjU4LDMwLjA1MzYgMTMuMDY1OCwzMi41ODI0IDExLjUwNjEsMzQuMTQyMUM5Ljk0NjM4LDM1LjcwMTkgNy40MTc1OCwzNS43MDE5IDUuODU3ODYsMzQuMTQyMUM0LjI5ODE1LDMyLjU4MjQgNC4yOTgxNSwzMC4wNTM2IDUuODU3ODYsMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxNjQsMTY0LDE2NCk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMzYuMDA2MSwxNi4wMDYxQzM4LjIxMTksMTYuMDA2MSA0MCwxNy43OTQyIDQwLDIwQzQwLDIyLjIwNTggMzguMjExOSwyMy45OTM5IDM2LjAwNjEsMjMuOTkzOUMzMy44MDAzLDIzLjk5MzkgMzIuMDEyMiwyMi4yMDU4IDMyLjAxMjIsMjBDMzIuMDEyMiwxNy43OTQyIDMzLjgwMDMsMTYuMDA2MSAzNi4wMDYxLDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoNzQsNzQsNzQpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksNS44NTc4NkMzMC4wNTM2LDQuMjk4MTUgMzIuNTgyNCw0LjI5ODE1IDM0LjE0MjEsNS44NTc4NkMzNS43MDE5LDcuNDE3NTggMzUuNzAxOSw5Ljk0NjM4IDM0LjE0MjEsMTEuNTA2MUMzMi41ODI0LDEzLjA2NTggMzAuMDUzNiwxMy4wNjU4IDI4LjQ5MzksMTEuNTA2MUMyNi45MzQyLDkuOTQ2MzggMjYuOTM0Miw3LjQxNzU4IDI4LjQ5MzksNS44NTc4NloiIHN0eWxlPSJmaWxsOnJnYig1MCw1MCw1MCk7Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K') no-repeat 50% 50% / 2em 2em;
}
.block-shopping-cart tr.error p,
.block-shopping-cart tr.error p a {
    color: #e60000;
    font-size: 15px;
    font-weight: normal;
    font-family: MontserratNormal;
    line-height: 10px;
}
.block-shopping-cart tr.error p a {
    display: initial;
    text-decoration: underline;
}

.block-breadcrumbs .content ul li:after {
    padding-left: 0;
}


/* AJAX main menu loading spinner */
.header-nav__loading {
    display: flex;
    justify-content: center;
    padding: 2em;
}

.header-nav__spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #333;
    border-radius: 50%;
    animation: header-nav-spin 0.8s linear infinite;
}

@keyframes header-nav-spin {
    to { transform: rotate(360deg); }
}

/* Table filters: save & search stored table states */
.table-filters .table-filters__save-filters-state-container {
    background: #769918;
    border-color: #769918;
}

.table-filters__save-filters-state-name::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.table-filters__save-filters-state-close {
    margin-left: 0.15em;
}

.table-filters__save-filters-state-input-container {
    margin: 0 0.15em;
}

.table-filters-select2-primary {
    background-color: #769918;
    border-color: #769918;
}

.table-filters-select2-primary .select2-selection__rendered {
    color: #fff;
}

.table-filters-select2-primary .select2-selection__placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.table-filters-select2-primary .select2-selection__arrow b {
    border-color: #fff;
}

.table-filters-select2-primary .select2-results__option[aria-selected=true] {
    background-color: rgba(118, 153, 24, 0.3);
}

.table-filters-select2-primary .select2-results__option--highlighted[aria-selected] {
    background-color: #5a7512;
    color: #fff;
}

.table-filters-select2-primary .select2-results__option--highlighted[aria-selected] svg {
    fill: #fff;
}

.table-filters-select2-primary.select2-dropdown {
    background-color: #769918;
    border-color: #769918;
    color: #fff;
}

.table-filters-select2-primary.select2-dropdown svg * {
    fill: #fff;
}

.table-filters-select2-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(118, 153, 24, 0.3);
    border-top-color: #769918;
    border-radius: 50%;
    animation: table-filters-select2-spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes table-filters-select2-spin {
    to { transform: rotate(360deg); }
}

/* WVD-1358: a filter's mode ("Is", "Is niet", "Tussen", "Alleen leeg") sits on one row with its input */
/* Top-aligned: a date filter's input is taller (input-type radios above the date), and the mode belongs next to its first line */
.table-filters .table-filter .table-filter__mode-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.table-filters .table-filter .table-filter__modes {
    flex: 0 0 auto;
}

.table-filters .table-filter .table-filter__mode-input {
    flex: 1 1 auto;
    min-width: 0;
}

.table-filters .table-filter .table-filter__mode-input[hidden] {
    display: none !important;
}

.table-filters .table-filter .table-filter__mode-input--range,
.table-filters .table-filter .table-filter__mode-input--range .table-filter__input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* The generic filter rules stack input groups (margin-top) and pad labels and inputs; on one row the gap spaces them */
.table-filters .table-filter .table-filter__input-container .table-filter__mode-input--range .table-filter__input-group {
    flex: 1 1 0;
    margin-top: 0;
}

.table-filters .table-filter .table-filter__input-container .table-filter__mode-input--range .table-filter__input-group label {
    flex: 0 0 auto;
    min-width: 0;
    white-space: nowrap;
}

.table-filters .table-filter .table-filter__input-container .table-filter__mode-input--range .table-filter__input-group label + .table-filter__input {
    margin-left: 0;
}

/* A required filter (locked row: no remove button, fixed column) gets a red asterisk after its column name */
.table-filters .table-filter--required > div:first-child .select2-selection__rendered::after {
    content: " *";
    color: red;
}

/* Native table relative date-period range filters */
.table-filters .table-filter .multiple-input-types-allowed input[value=datePeriodInFuture]:checked~.date-input-type--datePeriodInFuture,
.table-filters .table-filter .multiple-input-types-allowed input[value=datePeriodRange]:checked~.date-input-type--datePeriodRange,
.table-filters .table-filter .multiple-input-types-allowed input[value=dateRangeMonths]:checked~.date-input-type--dateRangeMonths {
    display: block;
}

/* Date and month range filters: a fixed label width keeps the "Van" and "Tot en met" inputs aligned
   (the generated stylesheet only sets min-width: 3em, so the longer label pushed its input out). */
.table-filters .table-filter .date-input-type--dateRange .table-filter__input-group label {
    flex: 0 0 7em;
}

.table-filters .table-filter .date-input-type--dateRangeMonths .table-filter__input-group label {
    flex: 0 0 10em;
}

.table-filters .table-filter .date-input-type--datePeriod,
.table-filters .table-filter .date-input-type--datePeriodInFuture,
.table-filters .table-filter .date-input-type--datePeriodRange {
    width: fit-content;
    max-width: 100%;
}

.table-filters .table-filter .date-input-type--datePeriod .table-filter__input-group,
.table-filters .table-filter .date-input-type--datePeriodInFuture .table-filter__input-group,
.table-filters .table-filter .date-input-type--datePeriodRange .table-filter__input-group {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
}

.table-filters .table-filter .date-input-type--datePeriod .table-filter__input-group label,
.table-filters .table-filter .date-input-type--datePeriodInFuture .table-filter__input-group label {
    flex: 0 0 4em;
}

.table-filters .table-filter .date-input-type--datePeriodRange .table-filter__input-group label {
    flex: 0 0 6em;
}

.table-filters .table-filter .date-input-type--datePeriod .table-filter__input--value,
.table-filters .table-filter .date-input-type--datePeriodInFuture .table-filter__input--value,
.table-filters .table-filter .date-input-type--datePeriodRange .table-filter__input--value,
.table-filters .table-filter .date-input-type--datePeriodRange .table-filter__input--value3 {
    width: 5.8em !important;
    min-width: 5.8em;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    margin-right: .5em;
}

.table-filters .table-filter .date-input-type--datePeriod .table-filter__input--value2,
.table-filters .table-filter .date-input-type--datePeriodInFuture .table-filter__input--value2,
.table-filters .table-filter .date-input-type--datePeriodRange .table-filter__input--value2,
.table-filters .table-filter .date-input-type--datePeriodRange .table-filter__input--value4 {
    width: 8em !important;
    min-width: 8em;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
}

/* WVD-1363: MY FAVORITES ---------------------------------------------------- */

/* Favorite star: just below the "Terug naar overzicht" back-link, top-right of the content-top
   region. Taken out of flow (absolute) so it overlays and doesn't push the content down. */
.region-content-top {
    position: relative;
}
.favorite-star-block {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    z-index: 10;
}
.favorite-star-block .content {
    padding: 0;
}
.favorite-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}
.favorite-star:hover {
    border-color: #769918;
}
.favorite-star__icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #769918;
    stroke-width: 1.5px;
}
.favorite-star.is-active .favorite-star__icon {
    fill: #769918;
    stroke: #769918;
}

/* Sidebar "MY FAVORITES" collapsible item (styled like the other menu items) */
.js-admin-favorites[hidden] {
    display: none !important;
}
.admin-menu__favorites-item {
    display: flex;
    align-items: center;
}
.admin-menu__favorites-item > .admin-menu__list-item-link {
    flex: 1 1 auto;
}
.admin-menu__favorites-move,
.admin-menu__favorites-edit,
.admin-menu__favorites-remove {
    flex: 0 0 auto;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    color: #b2b2b2;
    visibility: hidden;
}
.admin-menu__favorites-remove {
    font-size: 1.2em;
    padding-right: 12px;
}
.admin-menu__favorites-move,
.admin-menu__favorites-edit {
    font-size: 0.95em;
}
.admin-menu__favorites-item:hover .admin-menu__favorites-move,
.admin-menu__favorites-item:hover .admin-menu__favorites-edit,
.admin-menu__favorites-item:hover .admin-menu__favorites-remove {
    visibility: visible;
}
.admin-menu__favorites-move:hover,
.admin-menu__favorites-edit:hover {
    color: #769918;
}
.admin-menu__favorites-remove:hover {
    color: #e60000;
}
.favorite-edit-input {
    width: 100%;
    max-width: 170px;
    padding: 2px 4px;
    font: inherit;
    font-size: 0.95em;
    color: #3b3a3a;
    background: #fff;
    border: 1px solid #769918;
    border-radius: 2px;
}

/* WVD-1621: native dual-range facet slider (replaces the retired jquery-ui .slider widget).
   Grey track + green fill + round green thumbs, matching the prior green slider on both brands. */
.block-filter .filter-slider .native-slider {
    position: relative;
    height: 19px;
    margin-bottom: 1em;
}
.block-filter .filter-slider .native-slider__track,
.block-filter .filter-slider .native-slider__fill {
    position: absolute;
    top: 50%;
    height: 6px;
    transform: translateY(-50%);
    border-radius: 3px;
    pointer-events: none;
}
.block-filter .filter-slider .native-slider__track {
    left: 0;
    right: 0;
    background: #d9d9d9;
}
.block-filter .filter-slider .native-slider__fill {
    background: #769918;
}
/* Two overlaid range inputs; only their thumbs are interactive so both handles stay grabbable. */
.block-filter .filter-slider .native-slider__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 19px;
    margin: 0;
    padding: 0;
    background: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    pointer-events: none;
    z-index: 3;
}
.block-filter .filter-slider .native-slider__input--max {
    z-index: 4;
}
.block-filter .filter-slider .native-slider__input:focus {
    outline: none;
}
.block-filter .filter-slider .native-slider__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 19px;
    height: 19px;
    border: none;
    border-radius: 50%;
    background: #769918;
    cursor: pointer;
    pointer-events: auto;
}
.block-filter .filter-slider .native-slider__input::-moz-range-thumb {
    width: 19px;
    height: 19px;
    border: none;
    border-radius: 50%;
    background: #769918;
    cursor: pointer;
    pointer-events: auto;
}
.block-filter .filter-slider .native-slider__input::-moz-range-track {
    background: transparent;
}
.block-filter .filter-slider .native-slider__input:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(118, 153, 24, 0.35);
}
.block-filter .filter-slider .native-slider__input:focus::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(118, 153, 24, 0.35);
}
/* No native range support: hide the decorative slider, leaving the fully-functional selects. */
.block-filter .filter-slider .native-slider--unsupported {
    display: none;
}





/* Product customizer: the vending & questions sections are only relevant once the
 * product is in a vending catalog. Hidden by default (no first-paint flash); the
 * reveal JS adds .js-vending-revealed when a vending-catalog variant is ticked. */
.form-group.js-vending-reveal:not(.js-vending-revealed) {
    display: none;
}


/* Confidence block (WVD-1613): the buy-now facts grouped under the order button.
 * One row per fact, icon in a fixed gutter so the text lines up regardless of icon width. */
.confidence-block {
    /* .product-order__container is a column flexbox with align-items:flex-end, so without
     * this the block shrink-wraps its longest line and hugs the right edge, lining up with
     * neither the button nor the fields above it. */
    align-self: stretch;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #e4e7dc;
    border-radius: 4px;
    background: #fafbf7;
}
/* Flex, not grid: the delivery row carries a third child (the stock-status span the async
 * update fills), and grid auto-placement would wrap that third child back into the narrow
 * icon column. A fixed-width gutter gives the same constant text offset without caring how
 * many spans a row happens to have. */
.confidence-block__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 3px 0;
    color: #3b3a3a;
    font-size: 13px;
    line-height: 1.4;
}
/* The sprite crops every viewBox tightly to its own artwork, so the glyphs have different
 * aspect ratios (truck 20x15, return arrow 22x22.9, check 13x11). Capping the height makes
 * them read as one size; ending them against the right edge of the fixed track makes the
 * gap to the text identical whatever shape the glyph is. */
.confidence-block .confidence-block__gutter {
    display: flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: flex-end;
    height: 18px;
}
/* An empty span still consumes a flex gap: the stock-status span is empty until a size
 * is chosen, and would push that row's text 8px out of line with the rows above. */
.confidence-block__item > span:empty {
    display: none;
}
.confidence-block .confidence-block__icon {
    width: auto;
    height: auto;
    max-width: 20px;
    max-height: 14px;
    fill: #769918;
    /* Some sprite glyphs are outlines: fill="none" with stroke="currentColor", so they take
     * their colour from `color` and ignore `fill` entirely. Set both. */
    color: #769918;
    /* SVG clips to its viewport by default: a glyph whose artwork reaches the viewBox
     * edge loses that row to sub-pixel rounding at these sizes. */
    overflow: visible;
}
/* Optical, not geometric: the warning triangle fills its box like the others but reads
 * smaller than a solid glyph at the same height, so it gets a little more room. */
.confidence-block .icon-icon_warning {
    max-height: 17px;
}
/* #stockState-1 arrives with .message, whose own spacing would break the row rhythm. */
.confidence-block .message {
    margin: 0;
}
/* The async update colours the delivery row by stock outcome; keep those readable on the
 * block's tinted background rather than inheriting the form's own message styling. */
/* The theme paints .message-error and .message-warning across the whole row. Inside the
 * block only the delivery term should carry the state colour, so the rest of the row
 * keeps the block's own text colour. */
.confidence-block .confidence-block__item.message-ok,
.confidence-block .confidence-block__item.message-warning,
.confidence-block .confidence-block__item.message-error {
    color: #3b3a3a;
}
.confidence-block .message-ok .deliveryTerm {
    color: #5a7512;
}
.confidence-block .message-warning .deliveryTerm {
    color: #a06a00;
}
.confidence-block .message-error .deliveryTerm {
    color: #b03030;
}

/* Glasses measurement wizard: SAP's explanation has one line per eye and per action */
.block-messages.glassesMeasurementMessage {
    white-space: pre-line;
}
.glassesMeasurementExceptionRequest {
    margin-top: 1em;
}
.glassesMeasurementExceptionRequest a {
    color: inherit;
    text-decoration: underline;
}
/* Neutral informational banner: the theme only ships block-messages ok/warning/error,
 * and a green checkmark misreads as "action succeeded" for plain information.
 * Light and icon-less; content:none also kills the sprite square and the overlay band. */
.block-messages.info {
    background-color: #f3f3f3;
    color: #1d1d1b !important;
    padding-left: 15px !important;
}
.block-messages.info:after,
.block-messages.info:before {
    content: none !important;
    background-image: none !important;
}

.order-approval-lab-toggle {
    display: list-item;
    list-style: none;
    cursor: pointer;
    color: #0058a3;
    text-decoration: underline;
    padding: 6px 0;
}

.order-approval-lab-toggle::-webkit-details-marker {
    display: none;
}

.order-approval-lab-toggle::before {
    content: "\25B8";
    display: inline-block;
    margin-right: 6px;
    text-decoration: none;
    transition: transform 0.15s;
}

details[open] > .order-approval-lab-toggle::before {
    transform: rotate(90deg);
}

.order-approval-lab-result .order-approval-lab-error {
    margin: 8px 0 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.7);
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Checkout delivery addresses: mark the ones that are a vending machine (WVD-1700).
 * A plant delivery address looks exactly like a regular ship-to, so the badge and note are the
 * only signal that goods go INTO a machine. Every selector is anchored on the checkout markup
 * (.form-item / label) and on class names used nowhere else, so nothing outside the cart's
 * delivery-address list can be reached. */
.form-item.form-radio label .deliveryAddressTypeBadge {
    display: inline-block;
    margin-right: 6px;
    padding: 1px 6px;
    border-radius: 3px;
    background-color: #1d1d1b;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    vertical-align: 2px;
}
.form-item.form-radio label .deliveryAddressTypeNote {
    display: block;
    color: #555;
    font-size: 12px;
    font-style: normal;
}

/* Machines with no free bin: listed for explanation only, never selectable, so they read as
 * dimmed rather than as an error. The class is only ever on this one form-item.
 * They sit at the foot of the "Automaten" group with no heading of their own, so the top margin
 * is what separates them from the last machine you can actually pick. */
.form-item.deliveryAddressBlocked {
    margin-top: 12px;
    padding: 8px 10px;
    border-left: 3px solid #a06a00;
    background-color: #f3f3f3;
    color: #555;
}
.form-item.deliveryAddressBlocked em {
    display: block;
    margin-top: 4px;
    color: #a06a00;
    font-size: 12px;
    font-style: normal;
}

.order-approval-lab-tabs {
    margin: 24px 0 20px;
    border-bottom: 1px solid #ccc;
}

.order-approval-lab-tabs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-approval-lab-tabs li a {
    display: block;
    padding: 8px 16px;
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    text-decoration: none;
}

.order-approval-lab-tabs li.active a {
    border-color: #ccc #ccc #fff;
    background: #fff;
    font-weight: bold;
}

/* "Ook toevoegen aan de instellingen die nu alle waarden hebben": room between its explanation and the form buttons */
div.checkbox.settings-with-all-values {
    margin-bottom: 20px;
}

/* Phrase rows (WVD-1886): a sentence with its fields inline, rendered by the phrase form container */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* The repeat's prototype is the template for new items, never an item itself */
.repeat .repeatPrototype {
    display: none;
}

.form-item.form-phrase {
    margin-bottom: 10px;
}

/* PhraseContainer::hideWhenEmpty(): an empty phrase renders hidden */
.form-item.form-phrase.phrase-empty {
    display: none;
}

.form-phrase .form-phrase-sentence {
    display: flex;
    font-size: 17px;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px .5em;
    line-height: 1.5;
}

/* Fields inside a sentence: an underline instead of a box, sized to their content */
.form-phrase .form-phrase-field input[type=text] {
    width: 7em;
    padding: 6px 4px;
    border-width: 0 0 2px;
    border-color: #769918;
    border-radius: 0;
    background-color: transparent;
}

.form-phrase .form-phrase-field input[type=text].phrase-wide {
    width: 18em;
}

.form-phrase .form-phrase-field .select2-container {
    width: auto !important;
    min-width: 14em;
}

/* A multiple select2 holds its placeholder in its search field and its dropdown takes its width: room for both */
.form-phrase .form-phrase-field .select2-container:has(.select2-selection--multiple) {
    min-width: 20em;
}

.form-phrase .select2-container--default .select2-selection--single,
.form-phrase .select2-container--default .select2-selection--multiple {
    border-width: 0 0 2px;
    border-color: #769918;
    border-radius: 0;
    background-color: transparent;
}

.form-phrase .form-phrase-field input[type=text]:hover,
.form-phrase .form-phrase-field input[type=text]:focus,
.form-phrase .select2-container--default .select2-selection--single:hover,
.form-phrase .select2-container--default .select2-selection--multiple:hover,
.form-phrase .select2-container--default.select2-container--focus .select2-selection--multiple,
.form-phrase .select2-container--default.select2-container--open .select2-selection {
    border-color: #8bb71e;
}

/* The field being filled in and its open list read as one: a tint on the field, the list in its green and lifted
   off the rows it covers (vdp.phrase.js marks the list) */
.form-phrase .select2-container--open .select2-selection {
    background-color: rgba(118, 153, 24, .08);
}

.form-phrase-dropdown .select2-dropdown {
    border-color: #769918;
    border-radius: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}

.form-phrase .form-phrase-field select {
    width: auto;
    min-width: 10em;
    border-width: 0 0 2px;
    border-color: #769918;
    border-radius: 0;
    background-color: transparent;
}

.form-phrase .form-phrase-field select:hover,
.form-phrase .form-phrase-field select:focus {
    border-color: #8bb71e;
}

/* vdp.phrase.js sets --phrase-or to the translated "of" */
/* Muted and regular weight: a connector between the bold values; green text is too light for 17px (3.3:1) */
.form-phrase .select2-selection__choice + .select2-selection__choice::before {
    content: var(--phrase-or, "");
    margin-right: .4em;
    color: #6b6b6b;
}

.form-phrase .form-phrase-field.error .select2-selection {
    background-color: rgba(230, 0, 0, .1);
    border-color: #b30000;
}

.form-phrase .form-phrase-field .form-message {
    display: block;
    line-height: 1.4;
}

/* Graphviz drawings (showGraph.tpl): laid out with Verdana's metrics (GraphvizTheme), drawn in the site's font */
.vdp-graph svg text {
    font-family: MontserratNormal, sans-serif;
}

.vdp-graph svg text[font-weight="bold"] {
    font-family: MontserratBold, sans-serif;
    font-weight: normal;
}

/* A linked panel (a device state transition) answers hover with a tone shift, as the system does; never lift. Its
   green title bar deepens as a button does */
.vdp-graph svg a:hover polygon[fill="#ffffff"] {
    fill: #f3f3f3;
}

.vdp-graph svg a:hover polygon[fill="#769918"] {
    fill: #658315;
}

.vdp-graph svg a:focus-visible {
    outline: 2px solid #8bb71e;
    outline-offset: 2px;
}

/* Tabs (WVD-1886): a row of buttons in a tablist; the selected one is charcoal */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.tabs .tab {
    padding: 8px 18px;
    border: 1px solid #b2b2b2;
    border-radius: 0.15rem;
    background-color: #fff;
    color: #3b3a3a;
    cursor: pointer;
}

.tabs .tab:hover,
.tabs .tab:focus-visible {
    border-color: #3b3a3a;
}

.tabs .tab[aria-selected="true"] {
    border-color: #3b3a3a;
    background-color: #3b3a3a;
    color: #fff;
}

/* Detail pages: key figures above the details, tabs as one segmented control and a 12-column grid of panes; statuses
   as coloured text, as elsewhere on the site */
.page-entitypage .entitypage-title {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 26px;
    line-height: 1.25;
}

/* What kind of entity the card is about, before its name; two classes, to win over the general icon size below.
   entitypage.titleicon.js crops each icon to its drawing: the card icons carry the dashboard tiles' padding */
.page-entitypage .entitypage-icon.entitypage-title-icon {
    width: 1.3em;
    height: 1.3em;
    flex: 0 0 auto;
    margin-right: 0.35em;
    color: #6d6d6d;
}

.page-entitypage .entitypage-meta {
    margin: 2px 0 0;
    font-size: 13px;
}

.page-entitypage .entitypage-muted {
    color: #999999;
}

.page-entitypage .entitypage-chip {
    white-space: nowrap;
}

.page-entitypage .entitypage-chip--ok {
    color: #769918;
}

.page-entitypage .entitypage-chip--warn {
    color: #e1840c;
}

.page-entitypage .entitypage-chip--bad {
    color: #e60000;
}

.page-entitypage .entitypage-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

/* Quiet, equal buttons: white with a thin border and a green icon, one height and one icon size */
.page-entitypage .entitypage-actions .entitypage-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: auto;
    height: 32px;
    min-height: 0;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: none;
    color: #3b3a3a;
    font-family: MontserratBold, sans-serif;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}
.page-entitypage .entitypage-actions .entitypage-button:hover,
.page-entitypage .entitypage-actions .entitypage-button:focus-visible,
.page-entitypage .entitypage-actions .entitypage-button[aria-expanded="true"] {
    border-color: #769918;
    background: #ffffff;
    color: #769918;
}
.page-entitypage .entitypage-actions .entitypage-button .entitypage-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    color: #769918;
    fill: currentColor;
}

/* Editing is the page's main action: the one filled button, so the header has a clear first choice */
.page-entitypage .entitypage-actions .entitypage-button--primary {
    border-color: #769918;
    background: #769918;
    color: #ffffff;
}
.page-entitypage .entitypage-actions .entitypage-button--primary:hover,
.page-entitypage .entitypage-actions .entitypage-button--primary:focus-visible {
    border-color: #5f7c12;
    background: #5f7c12;
    color: #ffffff;
}
.page-entitypage .entitypage-actions .entitypage-button--primary .entitypage-icon {
    color: #ffffff;
}

.page-entitypage .entitypage-icon {
    width: 1em;
    height: 1em;
    margin-right: 8px;
    vertical-align: -0.125em;
    fill: currentColor;
}

/* Key figures, then the details, each across the full width */
.page-entitypage .entitypage-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
}

/* A photo of the entity beside its name, like a product card; it opens the lightbox */
.page-entitypage .entitypage-titlebar {
    display: flex;
    align-items: stretch;
    gap: 20px;
}
/* As tall as the photo: the name on its top edge, the buttons on its bottom edge */
.page-entitypage .entitypage-title-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.page-entitypage .entitypage-title-text .entitypage-actions {
    margin-top: 8px;
}
.page-entitypage .entitypage-title-text .entitypage-meta {
    line-height: 1.3;
}
.page-entitypage .entitypage-title-photo a {
    display: block;
    border: 1px solid #e6e6e6;
    background: #ffffff;
}
.page-entitypage .entitypage-title-photo img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
}
.page-entitypage .entitypage-title-photo a:hover,
.page-entitypage .entitypage-title-photo a:focus-visible {
    border-color: #769918;
}

.page-entitypage .entitypage-pane-title h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
}

.page-entitypage .entitypage-details {
    margin: 0;
    border-bottom: 1px solid #e6e6e6;
}

.page-entitypage .entitypage-details div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 20px;
    padding: 6px 0;
    border-top: 1px solid #e6e6e6;
}

.page-entitypage .entitypage-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.page-entitypage .entitypage-keyfigures {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #e6e6e6;
}

.page-entitypage .entitypage-keyfigure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 14px 12px 12px;
    text-align: center;
}

.page-entitypage .entitypage-keyfigures:not(.entitypage-keyfigures--strip) > .entitypage-keyfigure:nth-child(odd) {
    border-right: 1px solid #cccccc;
}

/* A line under every row but the last; an odd last figure fills its row alone instead of leaving an empty cell */
.page-entitypage .entitypage-keyfigures:not(.entitypage-keyfigures--row, .entitypage-keyfigures--strip) > .entitypage-keyfigure {
    border-bottom: 1px solid #e6e6e6;
}

.page-entitypage .entitypage-keyfigures:not(.entitypage-keyfigures--row, .entitypage-keyfigures--strip) > .entitypage-keyfigure:last-child,
.page-entitypage .entitypage-keyfigures:not(.entitypage-keyfigures--row, .entitypage-keyfigures--strip) > .entitypage-keyfigure:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.page-entitypage .entitypage-keyfigures:not(.entitypage-keyfigures--row, .entitypage-keyfigures--strip) > .entitypage-keyfigure:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
}

.page-entitypage .entitypage-keyfigure-icon {
    width: 48px;
    height: 32px;
    margin-bottom: 4px;
    fill: #769918;
}

.page-entitypage .entitypage-keyfigure-value {
    font-family: MontserratBold, sans-serif;
    font-size: 1.8em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.page-entitypage .entitypage-keyfigure-label {
    font-family: MontserratBold, sans-serif;
    color: #769918;
    line-height: 1.35;
}

.page-entitypage .entitypage-keyfigure-description {
    font-size: 14px;
    line-height: 1.4;
}

/* The quantities per unit on the counted lines, between the line count and its label */
.page-entitypage .entitypage-keyfigure-quantities {
    color: #6d6d6d;
    font-size: 14px;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

.page-entitypage .entitypage-tabs {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin-top: 32px;
    border: 1px solid #b2b2b2;
    border-radius: 4px;
    /* On a phone the control scrolls sideways instead of breaking into rows */
    overflow-x: auto;
    scrollbar-width: none;
    /* Clears the sticky site header (66px, 70px on a phone) when a tab link jumps here */
    scroll-margin-top: 90px;
}

/* The tab links jump to the tabs; the tabs themselves are no control to outline */
.page-entitypage .entitypage-tabs:focus {
    outline: none;
}

/* One segmented control: the tabs joined in a frame, the chosen one tinted with a green line under it. Underlined links
   were often not seen as tabs at all */
.page-entitypage .entitypage-tabs a {
    flex: 0 0 auto;
    padding: 9px 20px;
    border-left: 1px solid #b2b2b2;
    background-color: #ffffff;
    font-family: MontserratBold, sans-serif;
    font-size: 15px;
    color: #3b3a3a;
    text-decoration: none;
    white-space: nowrap;
}

.page-entitypage .entitypage-tabs a:first-child {
    border-left: none;
}

.page-entitypage .entitypage-tabs a:hover {
    background-color: #f3f3f3;
}

.page-entitypage .entitypage-tabs a:focus-visible {
    outline: 2px solid #769918;
    outline-offset: -2px;
}

.page-entitypage .entitypage-tabs a[aria-current="page"] {
    background-color: #eef3dc;
    box-shadow: inset 0 -3px 0 #769918;
}

.page-entitypage .entitypage-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    padding: 24px 0 8px;
}

/* Every block in a plain frame, so each one is easy to tell apart on the white page; no shadow, title strip or
   accent, which made the blocks look generated */
.page-entitypage .entitypage-card {
    padding: 16px 24px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background: #ffffff;
}

.page-entitypage .entitypage-card > .entitypage-pane-title {
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid #e6e6e6;
}

/* The details read top to bottom in two columns on a wide screen; every row has its line above, so the title has none */
.page-entitypage .entitypage-card--details > .entitypage-pane-title {
    margin-bottom: 0;
    border-bottom: none;
}

.page-entitypage .entitypage-card--details .entitypage-details {
    column-gap: 48px;
}

.page-entitypage .entitypage-card--details .entitypage-details div {
    break-inside: avoid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    padding: 8px 0;
    border-top: 1px solid #e6e6e6;
}

@media (min-width: 900px) {
    .page-entitypage .entitypage-card--details .entitypage-details {
        columns: 2;
    }
}

.page-entitypage .entitypage-card--details dt {
    color: #6d6d6d;
}

/* The key figures as one strip, edge to edge in its frame: label, value and what it counts, without the icons, which
   only decorated and cost the width five figures need on one row; a line between
   figures and between rows. The strip reaches one pixel under the frame, so the line a figure draws on its left
   falls on the frame at a row's start, and the first row's top line on the title's; no overflow clipping, which would
   cut off the hints */
.page-entitypage .entitypage-card > .entitypage-pane-title:has(+ .entitypage-keyfigures--strip) {
    margin-bottom: 0;
}

.page-entitypage .entitypage-card .entitypage-keyfigures.entitypage-keyfigures--strip {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    margin: 0 -24px -16px -25px;
}

.page-entitypage .entitypage-keyfigures--strip > .entitypage-keyfigure {
    display: block;
    margin: -1px 0 0;
    padding: 16px 20px 14px 24px;
    border-top: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
    text-align: left;
}

.page-entitypage .entitypage-keyfigures--strip .entitypage-keyfigure-label {
    font-family: MontserratNormal, sans-serif;
    font-size: 14px;
    color: #3b3a3a;
}

.page-entitypage .entitypage-keyfigures--strip .entitypage-keyfigure-value {
    margin-top: 2px;
    font-size: 24px;
}

/* Nothing counted yet: the sentence in place of a zero stays quiet */
.page-entitypage .entitypage-keyfigures--strip .entitypage-keyfigure--empty .entitypage-keyfigure-value {
    font-family: MontserratNormal, sans-serif;
    font-size: 17px;
    line-height: 1.35;
    color: #6d6d6d;
}

.page-entitypage .entitypage-keyfigures--strip .entitypage-keyfigure-quantities,
.page-entitypage .entitypage-keyfigures--strip .entitypage-keyfigure-description {
    color: #6d6d6d;
    font-size: 13px;
}

.page-entitypage .entitypage-card .entitypage-details,
.page-entitypage .entitypage-card .entitypage-keyfigures {
    border-top: none;
    border-bottom: none;
}

.page-entitypage .entitypage-card:not(.entitypage-card--details) .entitypage-details div:first-child {
    border-top: none;
}

@media (max-width: 775px) {
    .page-entitypage .entitypage-card {
        padding: 12px 16px;
    }

    .page-entitypage .entitypage-card > .entitypage-pane-title {
        padding-bottom: 8px;
    }

    .page-entitypage .entitypage-card .entitypage-keyfigures.entitypage-keyfigures--strip {
        margin: 0 -16px -12px -17px;
    }

    .page-entitypage .entitypage-keyfigures--strip > .entitypage-keyfigure {
        padding: 12px 16px 10px;
    }

    /* Too narrow for label and value side by side: a long label ran into its value */
    .page-entitypage .entitypage-card--details .entitypage-details div {
        grid-template-columns: minmax(0, 1fr);
        padding: 7px 0;
    }

    .page-entitypage .entitypage-card--details dt {
        font-size: 13px;
    }
}

.page-entitypage .entitypage-pane {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    grid-column: span 6;
}

.page-entitypage .entitypage-pane--w4 {
    grid-column: span 4;
}

.page-entitypage .entitypage-pane--w5 {
    grid-column: span 5;
}

.page-entitypage .entitypage-pane--w7 {
    grid-column: span 7;
}

.page-entitypage .entitypage-pane--w8 {
    grid-column: span 8;
}

.page-entitypage .entitypage-pane--w12 {
    grid-column: span 12;
}

.page-entitypage .entitypage-pane-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #cccccc;
}

.page-entitypage .entitypage-pane-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
}

.page-entitypage .entitypage-pane-links a {
    color: #3b3a3a;
    text-decoration: none;
}

.page-entitypage .entitypage-pane-links .entitypage-icon {
    fill: #769918;
}

.page-entitypage .entitypage-note {
    margin: 10px 0 0;
    font-size: 14px;
}

.page-entitypage .entitypage-subtitle {
    margin: 0 0 6px;
    font-size: 15px;
}

.page-entitypage .entitypage-groups {
    display: grid;
    margin-bottom: 18px;
    border-top: 1px solid #e6e6e6;
}

.page-entitypage .entitypage-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: baseline;
    padding: 9px 0;
    border-bottom: 1px solid #e6e6e6;
}

.page-entitypage .entitypage-group-name {
    overflow-wrap: anywhere;
}

.page-entitypage .entitypage-group-count {
    font-size: 14px;
    color: #999999;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.page-entitypage .entitypage-group .entitypage-icon {
    margin-right: 0;
    fill: #769918;
}

/* A table in a pane shows only its rows: the filters and the action bar fold open with the pane's toggle */
.page-entitypage .entitypage-pane-toggle {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.page-entitypage .entitypage-pane-links label {
    cursor: pointer;
}

.page-entitypage .entitypage-pane-toggle:focus-visible ~ .entitypage-pane-title label {
    outline: 2px solid #769918;
    outline-offset: 2px;
}

/* No room above the column headers: the rows start right under the pane title */
.page-entitypage .entitypage-pane-body .block-pjax-overview,
.page-entitypage .entitypage-pane-body .dataTables_wrapper,
.page-entitypage .entitypage-pane-body table.dataTable {
    margin-top: 0;
    padding-top: 0;
}

.page-entitypage .entitypage-pane-toggle:not(:checked) ~ .entitypage-pane-body .table-filters,
.page-entitypage .entitypage-pane-toggle:not(:checked) ~ .entitypage-pane-body .dataTables_header {
    display: none;
}

/* A table without filters or actions has no toggle: its column chooser stays out of sight too */
.page-entitypage .entitypage-pane--notoggle .dataTables_header {
    display: none;
}

/* Per body zone: a dot in the body figure's colours, the products small and grey; a dot, as a square read as a
   checkbox to tick */
.page-entitypage td.entitypage-zone {
    white-space: nowrap;
}

.page-entitypage td.entitypage-zone::before {
    content: "";
    display: inline-block;
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    vertical-align: 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
}

/* The body figure's covered colour, as r, g, b: vdp.highcharts.js mixes it with grey by coverage; S4M swaps it */
body {
    --bodyfigure-covered-rgb: 139, 183, 30;
}

.page-entitypage td.entitypage-zone--covered::before {
    background-color: #8bb71e;
}

.page-entitypage td.entitypage-zone--before::before {
    background-color: #e1840c;
}

.page-entitypage td.entitypage-zone--none::before {
    border: 1.5px solid #b5b5b5;
}

.page-entitypage td.entitypage-zone-products {
    font-size: 13px;
    line-height: 1.45;
    color: #6d6d6d;
    white-space: normal;
}

.page-entitypage td.entitypage-zone-date--before {
    color: #e1840c;
}

/* The short lists out of the facts (zones, months, top products): no pager or page size under them */
.page-entitypage .entitypage-pane--shortlist .dataTables_footer {
    display: none;
}

/* Links in bars, lists and the timeline look like the detail-page links in a table: a quiet dotted underline that
   turns green on the bar being pointed at */
.page-entitypage a.entitypage-hbar-label,
.page-entitypage a.entitypage-group-name,
.page-entitypage .entitypage-timeline a,
.page-entitypage .entitypage-details a {
    color: inherit;
    text-decoration: underline dotted #dcdcdc;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.page-entitypage .entitypage-hbar:hover a.entitypage-hbar-label {
    text-decoration-color: #769918;
}

.page-entitypage a.entitypage-hbar-label:hover,
.page-entitypage a.entitypage-group-name:hover,
.page-entitypage .entitypage-timeline a:hover,
.page-entitypage .entitypage-details a:hover {
    color: #769918;
    text-decoration-style: solid;
    text-decoration-color: #769918;
}

.page-entitypage td.entitypage-product-name {
    white-space: normal;
}

/* Measurements: one line of steps per process, joined by thin lines; every row has the same columns (at most six
   steps, five lines) so the steps line up from row to row whatever their text */
.page-entitypage .entitypage-timelines {
    display: grid;
}

.page-entitypage .entitypage-timeline-row {
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
}

.page-entitypage .entitypage-timeline-title {
    margin-bottom: 6px;
    font-size: 14px;
}

.page-entitypage .entitypage-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr) 36px) minmax(0, 1fr);
    align-items: center;
    row-gap: 6px;
    font-size: 14px;
}

.page-entitypage .entitypage-timeline-step {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: anywhere;
}

.page-entitypage .entitypage-timeline-label {
    font-size: 13px;
    color: #8a8a8a;
}

.page-entitypage .entitypage-timeline-step--todo span:last-child {
    color: #e1840c;
}

.page-entitypage .entitypage-timeline-step--cancelled .entitypage-timeline-label {
    color: #e60000;
}

.page-entitypage .entitypage-timeline-line {
    height: 0;
    margin: 0 8px;
    border-top: 1px solid #d4d4d4;
}

.page-entitypage .entitypage-timeline-step--optional,
.page-entitypage .entitypage-timeline-step--optional .entitypage-timeline-label {
    color: #b8b8b8;
}

.page-entitypage .entitypage-timeline-line--optional {
    border-top-style: dashed;
}

.page-entitypage .entitypage-timelines-more summary {
    margin-top: 10px;
    cursor: pointer;
    color: #769918;
}

/* Once opened the folded rows simply continue the list: the link has done its job */
.page-entitypage .entitypage-timelines-more[open] > summary {
    display: none;
}

/* On a phone six columns are too narrow: the steps wrap instead */
@media (max-width: 775px) {
    .page-entitypage .entitypage-timeline {
        display: flex;
        flex-wrap: wrap;
    }

    .page-entitypage .entitypage-timeline-line {
        flex: 0 0 18px;
    }
}

/* Budget rules: a bar per rule of how much the user used, green, orange from 80%, red when nothing is left */
.page-entitypage .entitypage-bars {
    display: grid;
    gap: 14px;
}

.page-entitypage .entitypage-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 12px;
    font-size: 14px;
}

.page-entitypage .entitypage-bar-track {
    position: relative;
    grid-column: 1 / -1;
    height: 8px;
    background-color: #f3f3f3;
}

.page-entitypage .entitypage-bar-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.page-entitypage .entitypage-bar-fill--ok {
    background-color: #769918;
}

.page-entitypage .entitypage-bar-fill--warn {
    background-color: #e1840c;
}

.page-entitypage .entitypage-bar-fill--bad {
    background-color: #e60000;
}

/* Weekday by hour: a grid of cells shaded by their count (--entitypage-heat-level 0-100), totals on the edges */
.page-entitypage .entitypage-heat {
    --entitypage-heat-rgb: 118, 153, 24;
    display: grid;
    gap: 3px;
    align-items: center;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.page-entitypage .entitypage-heat-hour,
.page-entitypage .entitypage-heat-total {
    color: #6d6d6d;
    text-align: center;
}

.page-entitypage .entitypage-heat-day {
    padding-right: 6px;
    color: #6d6d6d;
}

.page-entitypage .entitypage-heat-total {
    padding: 0 4px;
}

.page-entitypage .entitypage-heat-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border-radius: 2px;
    color: #1d1d1b;
    background-color: rgba(var(--entitypage-heat-rgb), calc(0.15 + var(--entitypage-heat-level) * 0.0085));
}

.page-entitypage .entitypage-heat-cell--strong {
    color: #ffffff;
}

.page-entitypage .entitypage-heat-cell--empty {
    background-color: #f3f3f3;
}

/* Stock levels: a mark on the bar where the replenishment minimum lies */
.page-entitypage .entitypage-bar-marker {
    position: absolute;
    top: -3px;
    bottom: -3px;
    width: 2px;
    margin-left: -1px;
    background-color: #1d1d1b;
}

.page-entitypage .entitypage-bar-remaining {
    grid-column: 1 / -1;
    font-size: 12px;
    color: #999999;
}

/* Stock levels: the current stock is the number that matters, the legend names the fill, the mark and the track */
.page-entitypage .entitypage-bar-stock {
    font-size: 16px;
}

.page-entitypage .entitypage-legend i.entitypage-legend-marker {
    width: 2px;
    margin-right: 10px;
    margin-left: 5px;
    background-color: #1d1d1b;
}

.page-entitypage .entitypage-legend i.entitypage-legend-track {
    background-color: #f3f3f3;
    box-shadow: inset 0 0 0 1px #dddddd;
}

/* Horizontal bars (top products, machines, addresses): the name above its bar, the count on the right */
.page-entitypage .entitypage-hbars {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-entitypage .entitypage-hbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    font-size: 14px;
    line-height: 1.35;
}

.page-entitypage .entitypage-hbar-value {
    color: #6d6d6d;
    font-variant-numeric: tabular-nums;
}

.page-entitypage .entitypage-hbar-track {
    grid-column: 1 / -1;
    height: 4px;
    border-radius: 2px;
    background-color: #f3f3f3;
}

.page-entitypage .entitypage-hbar-track i {
    display: block;
    height: 100%;
    border-radius: 2px;
    background-color: #8bb71e;
}

/* Pieces per month, stacked per channel */
.page-entitypage .entitypage-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0 0 8px;
    padding: 0;
    font-size: 13px;
    list-style: none;
}

.page-entitypage .entitypage-legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    vertical-align: -1px;
}

.page-entitypage .entitypage-columns {
    display: flex;
    align-items: stretch;
    gap: 6px;
}

.page-entitypage .entitypage-column {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    font-size: 12px;
}

.page-entitypage .entitypage-column-total {
    padding-bottom: 2px;
    color: #6d6d6d;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.page-entitypage .entitypage-column-stack {
    box-sizing: border-box;
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    max-width: 40px;
    height: 150px;
    padding-top: 18px;
    border-bottom: 1px solid #cccccc;
}

.page-entitypage .entitypage-column-stack i {
    display: block;
    width: 100%;
}

.page-entitypage .entitypage-column-label {
    margin-top: 4px;
    color: #6d6d6d;
    white-space: nowrap;
}

/* Lines or one unit at a time above a stacked chart (entitypage.measures.js) */
.page-entitypage .entitypage-measure-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 8px;
}

.page-entitypage .entitypage-measure-button {
    padding: 2px 10px;
    border: 1px solid #cccccc;
    border-radius: 12px;
    background-color: #ffffff;
    color: #3b3a3a;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}

.page-entitypage .entitypage-measure-button[aria-pressed="true"] {
    border-color: #769918;
    background-color: #769918;
    color: #ffffff;
}

.page-entitypage .entitypage-measure-button:focus-visible {
    outline: 2px solid #769918;
    outline-offset: 2px;
}

.page-entitypage .entitypage-channel--0 {
    background-color: #769918;
}

.page-entitypage .entitypage-channel--1 {
    background-color: #3b3a3a;
}

.page-entitypage .entitypage-channel--2 {
    background-color: #e1840c;
}

.page-entitypage .entitypage-channel--3 {
    background-color: #c6dd8c;
}

.page-entitypage .entitypage-channel--4 {
    background-color: #999999;
}

.page-entitypage .entitypage-channel--5 {
    background-color: #5b7a10;
}

/* Order channels: one colour per channel on every page, whatever else the period holds */
.page-entitypage .entitypage-channel--web {
    background-color: #769918;
}

.page-entitypage .entitypage-channel--email {
    background-color: #c6dd8c;
}

.page-entitypage .entitypage-channel--edi {
    background-color: #3d7ea6;
}

.page-entitypage .entitypage-channel--vending {
    background-color: #e1840c;
}

.page-entitypage .entitypage-channel--ppu {
    background-color: #f2b866;
}

.page-entitypage .entitypage-channel--replenishment {
    background-color: #9c5a08;
}

.page-entitypage .entitypage-channel--measurement {
    background-color: #7b5aa6;
}

.page-entitypage .entitypage-channel--other {
    background-color: #999999;
}

/* Clothing: under the end-of-life date a bar of the lifetime left, in tenths; orange in the last fifth, red past it */
.page-entitypage td.entitypage-lifetime {
    padding-bottom: 14px;
    background-image: linear-gradient(#8bb71e, #8bb71e), linear-gradient(#f3f3f3, #f3f3f3);
    background-repeat: no-repeat;
    background-position: left 8px bottom 6px, left 8px bottom 6px;
}

.page-entitypage td.entitypage-lifetime--0 {
    background-size: calc((100% - 16px) * 0) 4px, calc(100% - 16px) 4px;
}

.page-entitypage td.entitypage-lifetime--1 {
    background-size: calc((100% - 16px) * 0.1) 4px, calc(100% - 16px) 4px;
}

.page-entitypage td.entitypage-lifetime--2 {
    background-size: calc((100% - 16px) * 0.2) 4px, calc(100% - 16px) 4px;
}

.page-entitypage td.entitypage-lifetime--3 {
    background-size: calc((100% - 16px) * 0.3) 4px, calc(100% - 16px) 4px;
}

.page-entitypage td.entitypage-lifetime--4 {
    background-size: calc((100% - 16px) * 0.4) 4px, calc(100% - 16px) 4px;
}

.page-entitypage td.entitypage-lifetime--5 {
    background-size: calc((100% - 16px) * 0.5) 4px, calc(100% - 16px) 4px;
}

.page-entitypage td.entitypage-lifetime--6 {
    background-size: calc((100% - 16px) * 0.6) 4px, calc(100% - 16px) 4px;
}

.page-entitypage td.entitypage-lifetime--7 {
    background-size: calc((100% - 16px) * 0.7) 4px, calc(100% - 16px) 4px;
}

.page-entitypage td.entitypage-lifetime--8 {
    background-size: calc((100% - 16px) * 0.8) 4px, calc(100% - 16px) 4px;
}

.page-entitypage td.entitypage-lifetime--9 {
    background-size: calc((100% - 16px) * 0.9) 4px, calc(100% - 16px) 4px;
}

.page-entitypage td.entitypage-lifetime--10 {
    background-size: calc((100% - 16px) * 1) 4px, calc(100% - 16px) 4px;
}

.page-entitypage td.entitypage-lifetime--warn {
    background-image: linear-gradient(#e1840c, #e1840c), linear-gradient(#f3f3f3, #f3f3f3);
}

.page-entitypage td.entitypage-lifetime--bad {
    color: #e60000;
}

/* A hint above a block: small, muted, with an info icon, so it does not read as a title */
.page-entitypage .entitypage-hint {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin: 0 0 8px;
    font-size: 13px;
    color: #6d6d6d;
}

.page-entitypage .entitypage-hint .entitypage-icon {
    flex: 0 0 auto;
    margin-right: 0;
    fill: #769918;
}

/* A pane's explanation behind an info button beside its title; it opens over the pane, not pushing it down */
.page-entitypage .entitypage-pane-heading {
    position: relative;
    display: flex;
    /* Centred, not baseline: an icon-only summary has its baseline at its bottom edge and would sit too high */
    align-items: center;
    gap: 6px;
    min-width: 0;
}

/* No line box around the button: its strut made the heading taller than the title and lifted the icon */
.page-entitypage .entitypage-pane-heading .entitypage-pane-hint {
    display: flex;
}

.page-entitypage .entitypage-pane-hint summary {
    line-height: 0;
    display: inline-flex;
    align-items: center;
    padding: 2px;
    border-radius: 50%;
    list-style: none;
    cursor: pointer;
}

.page-entitypage .entitypage-pane-hint summary .entitypage-icon {
    vertical-align: 0;
}

/* A key figure's hint sits inline after its label; its text opens under the whole figure */
.page-entitypage .entitypage-keyfigure {
    position: relative;
}

.page-entitypage .entitypage-keyfigure-hint {
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
}

.page-entitypage .entitypage-keyfigure-hint p {
    top: calc(100% - 4px);
    right: 8px;
    left: 8px;
    width: auto;
    max-width: none;
    font-family: MontserratNormal, sans-serif;
    color: #3b3a3a;
    text-align: left;
}

.page-entitypage .entitypage-pane-hint summary::-webkit-details-marker {
    display: none;
}

.page-entitypage .entitypage-pane-hint summary .entitypage-icon {
    margin-right: 0;
    fill: #769918;
}

.page-entitypage .entitypage-pane-hint summary:focus-visible {
    outline: 2px solid #769918;
    outline-offset: 2px;
}

.page-entitypage .entitypage-pane-hint p {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 20;
    width: max-content;
    max-width: min(360px, calc(100vw - 48px));
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4;
    color: #3b3a3a;
}

/* A short list with column headings in the table style, for lists that are not data tables */
.page-entitypage .entitypage-grid-list-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 110px;
    gap: 12px;
    padding: 7px 8px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

/* A statistics pane that loads after the page (entitypage.lazy.js): room for it, so the page jumps less */
.page-entitypage .entitypage-lazy {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

/* Approval flows: flow, condition set, (the kind of condition,) priority and on/off; steps: flow and step */
.page-entitypage .entitypage-grid-list--flows .entitypage-grid-list-row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 80px 60px;
}

.page-entitypage .entitypage-grid-list--flows-condition .entitypage-grid-list-row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) 80px 60px;
}

.page-entitypage .entitypage-grid-list--steps .entitypage-grid-list-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.page-entitypage .entitypage-grid-list-head {
    background-color: #f3f3f3;
    border-bottom-color: #a8a8a8;
    font-family: MontserratBold, sans-serif;
}

/* Key figures in one row inside a pane (the replacement counts), without the 2-by-2 dividers */
.page-entitypage .entitypage-keyfigures--row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    border-top: none;
}

.page-entitypage .entitypage-keyfigures--row .entitypage-keyfigure {
    border: none;
}

/* Measurement lead times: the product, its item count, then three steps with all customers' median beside */
.page-entitypage .entitypage-grid-list--leadtimes {
    overflow-x: auto;
}

.page-entitypage .entitypage-grid-list--leadtimes .entitypage-grid-list-row {
    grid-template-columns: minmax(160px, 1.5fr) 60px repeat(3, minmax(150px, 1fr));
}

/* What is being made: one line per item with its type icon */
.page-entitypage .entitypage-makes {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-entitypage .entitypage-make {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e6e6e6;
}

.page-entitypage .entitypage-make-icon {
    width: 36px;
    height: 28px;
    fill: #769918;
}

/* The measurement process bars: per type its steps in a row of chevrons; the step waiting for the viewer in orange */
.page-entitypage .entitypage-process-type + .entitypage-process-type {
    margin-top: 18px;
}

.page-entitypage .entitypage-process-type-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-family: MontserratBold, sans-serif;
    font-size: 14px;
}

.page-entitypage .entitypage-process-type-icon {
    width: 28px;
    height: 22px;
    fill: #769918;
}

.page-entitypage .entitypage-process-steps {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-entitypage .entitypage-process-step {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    background-color: #f3f3f3;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
}

.page-entitypage .entitypage-process-step + .entitypage-process-step {
    margin-left: -10px;
}

.page-entitypage .entitypage-process-step:first-child {
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}

.page-entitypage .entitypage-process-step-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px 22px 10px 26px;
    color: inherit;
    text-decoration: none;
}

.page-entitypage .entitypage-process-step:first-child .entitypage-process-step-body {
    padding-left: 14px;
}

.page-entitypage a.entitypage-process-step-body:hover .entitypage-process-step-label {
    color: #769918;
    text-decoration: underline solid #769918;
    text-underline-offset: 4px;
}

.page-entitypage .entitypage-process-step-value {
    font-family: MontserratBold, sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.page-entitypage .entitypage-process-step-label {
    font-size: 13px;
}

.page-entitypage .entitypage-process-step-note {
    font-size: 12px;
}

.page-entitypage .entitypage-process-step--empty .entitypage-process-step-value {
    color: #999999;
}

.page-entitypage .entitypage-process-step--action {
    background-color: #fdf0df;
}

.page-entitypage .entitypage-process-step--action .entitypage-process-step-value,
.page-entitypage .entitypage-process-step--action .entitypage-process-step-note {
    color: #e1840c;
}

@media (max-width: 775px) {
    .page-entitypage .entitypage-process-steps {
        flex-direction: column;
        gap: 4px;
    }

    .page-entitypage .entitypage-process-step,
    .page-entitypage .entitypage-process-step:first-child {
        clip-path: none;
    }

    .page-entitypage .entitypage-process-step + .entitypage-process-step {
        margin-left: 0;
    }

    .page-entitypage .entitypage-process-step-body,
    .page-entitypage .entitypage-process-step:first-child .entitypage-process-step-body {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
        padding: 8px 12px;
    }
}

/* Partner page, what was ordered: the order line text, then the counts with and without voucher */
.page-entitypage .entitypage-grid-list--orderlines .entitypage-grid-list-row {
    grid-template-columns: minmax(0, 1fr) 100px 110px;
}

.page-entitypage .entitypage-grid-list--orderlines .entitypage-grid-list-row span[role="cell"]:not(:first-child),
.page-entitypage .entitypage-grid-list--orderlines .entitypage-grid-list-row span[role="columnheader"]:not(:first-child) {
    text-align: right;
}

/* Machine layout: the units stand side by side as anthracite cabinets on one floor line, each bin a door in its
   row and column; green = filled (and opens what it holds), white = empty, hatched red = broken, orange edge = blocked */
.page-entitypage .entitypage-cabinets {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 4px 0 12px;
    overflow-x: auto;
}

.page-entitypage .entitypage-cabinet {
    flex: 0 0 auto;
    width: min-content;
    min-width: 96px;
    margin: 0;
}

.page-entitypage .entitypage-cabinet-body {
    display: grid;
    grid-auto-columns: 34px;
    grid-auto-rows: 24px;
    gap: 3px;
    padding: 8px 8px 14px;
    border-radius: 4px 4px 0 0;
    background-color: #3b3a3a;
    box-shadow: inset 0 -6px 0 #1d1d1b;
}

.page-entitypage .entitypage-cabinet figcaption {
    max-width: 100%;
    padding-top: 6px;
    border-top: 3px solid #1d1d1b;
    font-size: 13px;
    line-height: 1.3;
}

.page-entitypage .entitypage-cabinet figcaption strong {
    display: block;
    font-size: 15px;
}

.page-entitypage .entitypage-door {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-decoration: none;
}

.page-entitypage .entitypage-door--filled {
    color: #ffffff;
    background-color: #769918;
}

.page-entitypage .entitypage-door--empty {
    color: #6d6d6d;
    background-color: #ffffff;
}

.page-entitypage .entitypage-door--broken {
    color: #ffffff;
    background-color: #e60000;
    background-image: repeating-linear-gradient(135deg, transparent 0 4px, rgba(255, 255, 255, 0.35) 4px 6px);
}

.page-entitypage .entitypage-door--blocked {
    box-shadow: inset 0 0 0 2px #e1840c;
}

.page-entitypage a.entitypage-door:hover,
.page-entitypage a.entitypage-door:focus-visible {
    color: #ffffff;
    outline: 2px solid #ffffff;
    outline-offset: 1px;
}

.page-entitypage .entitypage-cabinet-legend i {
    border: 1px solid #cccccc;
}

/* Table headings a little lower than the site's default, on the visible header only: with sideways scrolling
   DataTables repeats the header inside the body as a sizing row, which the site keeps flat (div.dt-scroll-body) */
.page-entitypage .entitypage-pane-body .dt-scroll-head table.dataTable thead th,
.page-entitypage .entitypage-pane--shortlist table.dataTable thead th {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* The sizing row DataTables repeats inside the body stays flat, also in a short list pane */
.page-entitypage div.dt-scroll-body > table.dataTable > thead > tr > th {
    padding-top: 0;
    padding-bottom: 0;
}

/* The zone list wraps its product names inside the pane instead of scrolling sideways */
.page-entitypage table.dataTable.nowrap td.entitypage-zone-products {
    white-space: normal;
}

@media (max-width: 1100px) {
    .page-entitypage .entitypage-pane {
        grid-column: span 12;
    }
}

@media (max-width: 980px) {
    .page-entitypage .entitypage-head {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Flow builder (WVD-1886), after the approved prototype: sentences with green-underlined values, sets and
   steps as ruled rows instead of boxes */
/* The builder hides what a set or step does not use; .form-item sets its own display */
.page-orderapprovalflowbuilder [hidden] {
    display: none !important;
}

/* A set: a grey rule on its left (fieldset.form-group beats the base form-group styles) */
fieldset.form-group.flowbuilder-set {
    position: relative;
    margin: 0 0 8px;
    padding: 8px 160px 10px 18px;
    border: 0;
    border-left: 3px solid #cccccc;
    border-radius: 0;
}

/* "of" between the sets, drawn by CSS from the fieldset's data-or-label so the page does not jump; the
   hidden prototype comes first, so this starts at the second set */
fieldset.form-group.flowbuilder-set:not(.repeatPrototype) ~ fieldset.form-group.flowbuilder-set {
    margin-top: 36px;
}

fieldset.form-group.flowbuilder-set:not(.repeatPrototype) ~ fieldset.form-group.flowbuilder-set::before {
    content: attr(data-or-label);
    position: absolute;
    top: -28px;
    right: 0;
    left: -3px;
    color: #6b6b6b;
    background: linear-gradient(#769918, #769918) no-repeat right center / calc(100% - 3em) 1px;
}

/* The conditions one order line meets together, indented behind a rule */
.flowbuilder-lines {
    margin: 4px 0 0 14px;
}

/* No order-line conditions shown: no heading for them either */
.flowbuilder-lines:not(:has(~ .flowbuilder-condition:not(.phrase-empty):not([hidden]))) {
    display: none;
}

/* A select keeps its place, unseen and one line high, until select2 replaces it with a one-line picker; a
   native multiple select is several rows tall and made the set collapse when select2 arrived */
.flowbuilder-set select:not(.select2-hidden-accessible),
.flowbuilder-step select:not(.select2-hidden-accessible) {
    visibility: hidden;
    height: 33px;
    overflow: hidden;
}

/* A condition just added flashes green, as it takes its fixed place in the set rather than the bottom */
.flowbuilder-condition-added {
    animation: flowbuilder-condition-added 1.6s ease-out;
}

@keyframes flowbuilder-condition-added {
    from {
        background-color: rgba(118, 153, 24, .25);
    }
    to {
        background-color: transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    .flowbuilder-condition-added {
        animation: none;
    }
}

.flowbuilder-lines ~ .flowbuilder-condition {
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid #cccccc;
}

/* Remove a condition: a grey trash icon from the sprite, unlike the cross that removes one value */
.flowbuilder-remove-condition {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    padding: 4px;
    border: 0;
    background: none;
    color: #6b6b6b;
    cursor: pointer;
}

.flowbuilder-remove-condition .icon {
    width: 14px;
    height: 14px;
}

.flowbuilder-remove-condition .icon svg {
    fill: currentColor;
}

.flowbuilder-remove-condition:hover,
.flowbuilder-remove-condition:focus-visible {
    color: #e60000;
}

/* Remove a set or step: small grey text in the top right (the static's wrapper is full width otherwise) */
.flowbuilder-remove {
    position: absolute;
    top: 8px;
    right: 0;
    left: auto;
    width: auto;
    margin: 0;
}

.flowbuilder-remove-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: #6b6b6b;
    font-size: 13px;
    cursor: pointer;
}

/* The same trash icon as removing a condition; the text says what goes */
.flowbuilder-remove-button .icon {
    width: 14px;
    height: 14px;
}

.flowbuilder-remove-button .icon svg {
    fill: currentColor;
}

.flowbuilder-remove-button:hover,
.flowbuilder-remove-button:focus-visible {
    color: #e60000;
}

/* "+ Voorwaarde toevoegen" adds a condition, it holds no value: it looks like "+ Set toevoegen" below it (green plus,
   charcoal text, underline on hover), not like a field */
.flowbuilder-set .form-item.flowbuilder-add-condition {
    margin: 6px 0 0;
}

.flowbuilder-set .form-item.flowbuilder-add-condition .form-input {
    width: auto;
    margin: 0;
}

.flowbuilder-set .form-item.flowbuilder-add-condition .select2-container {
    display: inline-block;
    width: auto !important;
    /* The theme gives a select2 a min-width of 100% */
    min-width: 0;
}

.flowbuilder-set .form-item.flowbuilder-add-condition .select2-selection--single {
    height: auto;
    padding: 4px 0;
    border: 0;
    background: none;
    cursor: pointer;
}

/* The sprite's icon_plus drawn in CSS: select2 builds this box after the page script runs. Bars 23% of 12px, as the icon */
.flowbuilder-set .form-item.flowbuilder-add-condition .select2-selection__rendered {
    padding: 0 30px 0 18px;
    background:
        linear-gradient(#769918, #769918) 0 50% / 12px 2.75px no-repeat,
        linear-gradient(#769918, #769918) 4.625px 50% / 2.75px 12px no-repeat;
    font-size: 16px;
    line-height: 1.5;
}

.flowbuilder-set .form-item.flowbuilder-add-condition .select2-selection__placeholder {
    color: #3b3a3a;
}

.flowbuilder-set .form-item.flowbuilder-add-condition .select2-selection__arrow {
    top: 50%;
    height: 20px;
    margin-top: -10px;
}

.flowbuilder-set .form-item.flowbuilder-add-condition .select2-container:hover .select2-selection__placeholder,
.flowbuilder-set .form-item.flowbuilder-add-condition .select2-container--focus .select2-selection__placeholder {
    text-decoration: underline;
}

/* The list keeps a readable width now the picker is only as wide as its text (vdp.flowbuilder.js marks it) */
.flowbuilder-add-condition-dropdown .select2-dropdown {
    min-width: 24em;
}

/* "Set toevoegen" / "Stap toevoegen": regular charcoal text after a green plus, as .btn-more looks */
.flowbuilder-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border: 0;
    background: none;
    color: #3b3a3a;
    font-size: 16px;
    cursor: pointer;
}

.flowbuilder-add .icon {
    width: 12px;
    height: 12px;
}

.flowbuilder-add .icon svg {
    fill: #769918;
}

.flowbuilder-add:hover,
.flowbuilder-add:focus-visible {
    text-decoration: underline;
}

/* Steps: rows numbered in a green circle */
#flowbuilderSteps {
    counter-reset: flowbuilder-step;
}

fieldset.form-group.flowbuilder-step {
    position: relative;
    margin: 0;
    padding: 12px 160px 12px 40px;
    border: 0;
    border-top: 1px solid #dddddd;
    border-radius: 0;
    counter-increment: flowbuilder-step;
}

fieldset.form-group.flowbuilder-step::before {
    content: counter(flowbuilder-step);
    position: absolute;
    top: 12px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    border: 2px solid #769918;
    border-radius: 50%;
    color: #3b3a3a;
    font-size: 14px;
}

fieldset.form-group.flowbuilder-step .flowbuilder-remove {
    top: 12px;
}

/* Where the order goes next: labels in one row under the step */
.flowbuilder-step .form-item.flowbuilder-target {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 6px 24px 0 0;
}

.flowbuilder-step .form-item.flowbuilder-target .form-label {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 0;
}

.flowbuilder-step .form-item.flowbuilder-target .form-input {
    width: auto;
    margin: 0;
}

.flowbuilder-step .form-item.flowbuilder-target .select2-container {
    min-width: 14em;
}

/* One focus ring for every flow builder control: Bright VDP Green */
.tabs .tab:focus-visible,
.flowbuilder-add:focus-visible,
.flowbuilder-remove-button:focus-visible,
.flowbuilder-remove-condition:focus-visible {
    outline: 2px solid #8bb71e;
    outline-offset: 2px;
}

.flowbuilder-route-note {
    color: #6b6b6b;
}

#flowbuilderGraph svg {
    max-width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    fieldset.form-group.flowbuilder-set,
    fieldset.form-group.flowbuilder-step {
        padding-right: 0;
    }

    .flowbuilder-remove {
        position: static;
    }
}

.expandable-with-preview {
    overflow-x: auto;
    overflow-y: hidden;
}
.expandable-with-preview > .responsive-table {
    overflow: visible;
}

/* Tiles in one dashboard row share the height of the tallest: the card-containers already stretch per flex row */
.block-dashboard .card-container .card {
    height: 100%;
}

/* Badge pairing QR at its own pixel size (the PNG carries its white quiet zone), crisp when it shrinks */
.badge-pairing-qr {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
}

/* WVD-122: section picker of a wizard edited per section (full page, and in a popup via tables.js) */
.wizard-section-picker {
    max-width: 360px;
    margin: 20px auto;
}

/* Icons centred on the text line instead of sitting on its baseline */
.wizard-section-picker .icon {
    display: flex;
    flex-shrink: 0;
}

.wizard-section-picker .icon svg {
    flex-shrink: 0;
}

.wizard-section-picker p {
    margin: 0 0 16px;
    color: #3b3a3a;
}

.wizard-section-picker__sections {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
}

.wizard-section-picker__sections li + li {
    border-top: 1px solid #ddd;
}

.wizard-section-picker__sections a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: #3b3a3a;
    font-family: MontserratBold, sans-serif;
    text-decoration: none;
}

.wizard-section-picker__sections a:hover,
.wizard-section-picker__sections a:focus-visible {
    background-color: #f3f7e8;
}

.wizard-section-picker__sections .icon svg {
    width: 18px;
    height: 18px;
    fill: #769918;
}

.wizard-section-picker__sections .wizard-section-picker__chevron {
    margin-left: auto;
}

.wizard-section-picker__sections .wizard-section-picker__chevron svg {
    width: 12px;
    height: 12px;
    fill: #999;
}

.wizard-section-picker__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #769918;
    font-family: MontserratBold, sans-serif;
    text-decoration: none;
}

.wizard-section-picker__all:hover,
.wizard-section-picker__all:focus-visible {
    text-decoration: underline;
}

.wizard-section-picker__all .icon svg {
    width: 16px;
    height: 16px;
    fill: #769918;
}

/* The picker in a popup on the table page (tables.js), on top of the export dialog box styles */
dialog#wizard-section-dialog {
    width: 380px;
    padding: 24px;
    border-radius: 0;
}

dialog#wizard-section-dialog .dialog-title {
    font-family: MontserratBold, sans-serif;
    font-size: 1.2em;
    margin: 0 40px 4px 0;
}

dialog#wizard-section-dialog .dialog-close {
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    background: url(../img/icon_close_green.png) no-repeat center center;
}

dialog#wizard-section-dialog .dialog-close:hover,
dialog#wizard-section-dialog .dialog-close:focus-visible {
    background-color: #eee;
}

dialog#wizard-section-dialog .wizard-section-picker {
    max-width: none;
    margin: 0;
}

/* A table cell that links to an entity's detail page: quiet text until the row is pointed at, so a row with
   several of these links (person, product, device) stays readable */
table.dataTable a.entitypage-link {
    color: inherit;
    text-decoration: underline dotted #dcdcdc;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
table.dataTable tbody tr:hover a.entitypage-link {
    text-decoration-color: #769918;
}
table.dataTable a.entitypage-link:hover,
table.dataTable a.entitypage-link:focus-visible {
    color: #769918;
    text-decoration-style: solid;
}

/* "Wissel" with the other buttons: it opens a search for another entity of the type */
.page-entitypage .entitypage-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
}
.page-entitypage .entitypage-switcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.page-entitypage .entitypage-switcher-toggle:focus-visible {
    outline: 2px solid #769918;
    outline-offset: 2px;
}
.page-entitypage .entitypage-switcher-panel {
    width: 320px;
    max-width: 100%;
}
/* select2 sizes itself to the empty select; the panel decides instead */
.page-entitypage .entitypage-switcher-panel .select2-container {
    width: 100% !important;
}

/* A key figure that opens the list it counts: the number keeps its look, a dotted line shows it opens */
.page-entitypage .entitypage-keyfigure-value a {
    color: inherit;
    text-decoration: underline dotted;
    text-underline-offset: 4px;
}

/* DataTables first load: placeholders and the loading row reserve a full page of rows and look the same (row
   lines, no text); the header labels stay hidden until the rows are in, so they do not slide when the columns are
   re-measured; the processing box only shows when loading is slow (tables.js sets dt-first-load) */
:root {
    --dt-row-height: 62px;
    --dt-row-line-color: #e0e0e0;
}

/* Rows without action buttons or thumbnails (the renderer sets dt-compact-rows) */
table.dataTable.dt-compact-rows {
    --dt-row-height: 50px;
}

/* Before DataTables starts the raw table still holds every column, hidden ones too: keep it inside its box */
table.dataTable:not(.processed) {
    table-layout: fixed;
    width: 100%;
}

/* The theme's skeleton of the button bar above the header: same height (63px bar + 50px header row) and the
   blocks at the size and place of the real buttons, only for a button the table actually gets */
table.dataTable[data-actions]:not(.processed) th,
table.dataTable[data-buttons]:not(.processed) th {
    box-sizing: border-box;
    height: 113px;
    padding-top: 78px;
}

table.dataTable[data-actions]:not(.processed)::before,
table.dataTable[data-buttons]:not(.processed)::before {
    top: 15px;
    left: 8px;
    width: 148px;
    height: 32px;
}

table.dataTable[data-actions]:not(.processed)::after,
table.dataTable[data-buttons]:not(.processed)::after {
    top: 15px;
    right: 7px;
    width: 84px;
    height: 33px;
}

table.dataTable:not([data-actions]):not(.processed)::before,
table.dataTable:not([data-buttons*="colvis"]):not(.processed)::after {
    content: none;
}

table.dataTable tbody tr.placeholder-row td {
    box-sizing: border-box;
    height: var(--dt-row-height);
}

.dt-first-load table.dataTable tbody td.dt-empty {
    box-sizing: border-box;
    height: calc(var(--dt-page-length, 10) * var(--dt-row-height));
    color: transparent;
    background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--dt-row-height) - 1px), var(--dt-row-line-color) calc(var(--dt-row-height) - 1px), var(--dt-row-line-color) var(--dt-row-height));
}

.dt-first-load table.dataTable thead th > * {
    visibility: hidden;
}

.dt-first-load div.dt-processing {
    animation: dt-processing-delayed 0s 600ms both;
}

@keyframes dt-processing-delayed {
    from {
        visibility: hidden;
    }
    to {
        visibility: visible;
    }
}

/* Logout is a POST form; its button keeps the look of the link it replaced */
header .dropdown-logged-in .logged-in-footer-button {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    color: #769918;
    font-family: inherit;
    font-weight: 500;
    font-size: 13px;
    line-height: inherit;
    text-transform: uppercase;
    cursor: pointer;
}

header .dropdown-logged-in .logged-in-footer-button:hover {
    text-decoration: underline;
}

/* The PDP image carousel slides are divs (WVD-2035); same styling as the former .slides li */
.item-product-full .field-img .slides .carousel-slide {
    position: relative;
}

.item-product-full .field-img .slides .carousel-slide a {
    cursor: -moz-zoom-in;
}

/* Fitle's size widget renders after the page has loaded (WVD-2032); its height (up to 32.7px on mobile) is reserved so the order form doesn't shift */
#fitle-container {
    min-height: 33px;
}

/* {resizedimage} wraps images in a <picture> for the webp source (WVD-1664); it takes no part in the layout,
   so the <img> is laid out exactly as when it was the direct child */
.vdp-picture {
    display: contents;
}

/* ============================================================
   Carousels (WVD-2039): CSS scroll-snap does the scrolling, vdp.carousel.js adds the arrows and dots.
   The slides are laid out from the first paint, so nothing shifts when the script starts.
   Arrows and dots look like the slick ones they replace; s4m.css overrides the two colours.
   ============================================================ */
.vdp-carousel {
    --vdp-carousel-accent: #769918;
    --vdp-carousel-chevron: #3b3a3a;
    position: relative;
}

.vdp-carousel__viewport {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.vdp-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.vdp-carousel__viewport > * {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
}

@media (prefers-reduced-motion: reduce) {
    .vdp-carousel__viewport {
        scroll-behavior: auto;
    }
}

/* Slides per view, with slick's breakpoints of the former carousel.js (window narrower than 1024/775/500px) */
.vdp-carousel--per-view-4 > .vdp-carousel__viewport > * {
    flex-basis: 25%;
}

.vdp-carousel--per-view-3 > .vdp-carousel__viewport > * {
    flex-basis: 33.3333%;
}

@media (max-width: 1023px) {
    .vdp-carousel--per-view-4 > .vdp-carousel__viewport > * {
        flex-basis: 33.3333%;
    }
}

@media (max-width: 774px) {
    .vdp-carousel--per-view-4 > .vdp-carousel__viewport > *,
    .vdp-carousel--per-view-3 > .vdp-carousel__viewport > * {
        flex-basis: 50%;
    }
}

@media (max-width: 499px) {
    .vdp-carousel--per-view-4 > .vdp-carousel__viewport > *,
    .vdp-carousel--per-view-3 > .vdp-carousel__viewport > * {
        flex-basis: 100%;
    }
}

.vdp-carousel__arrow {
    position: absolute;
    top: calc(50% - 2em);
    width: 2.5em;
    height: 4em;
    background: #ccc;
    border: none;
    padding: 0;
    margin: 0;
    z-index: 1;
    overflow: hidden;
    text-indent: -999px;
    white-space: nowrap;
    cursor: pointer;
}

.vdp-carousel__arrow[hidden],
.vdp-carousel__dots[hidden] {
    display: none;
}

.vdp-carousel__arrow:after {
    content: "";
    display: block;
    width: 1.5em;
    height: 1.5em;
    border: .3em solid var(--vdp-carousel-chevron);
    border-left: none;
    border-top: none;
    position: absolute;
    top: 50%;
}

.vdp-carousel__arrow--prev {
    left: 0;
}

.vdp-carousel__arrow--prev:after {
    transform: translateY(-50%) rotate(-225deg);
    left: 40%;
}

.vdp-carousel__arrow--next {
    right: 0;
}

.vdp-carousel__arrow--next:after {
    transform: translateY(-50%) rotate(-45deg);
    right: 40%;
}

@media (max-width: 400px) {
    .vdp-carousel__arrow--prev {
        transform-origin: 0 50%;
        transform: scale(.5, .5);
    }

    .vdp-carousel__arrow--next {
        transform-origin: 100% 50%;
        transform: scale(.5, .5);
    }
}

@media screen and (min-width: 1500px) {
    .vdp-carousel__arrow {
        width: 3.4em;
        height: 4.7em;
    }

    .vdp-carousel__arrow--prev {
        right: 100%;
        left: auto;
    }

    .vdp-carousel__arrow--next {
        left: 100%;
        right: auto;
    }

    .vdp-carousel--arrows-inset .vdp-carousel__arrow--prev {
        left: 0;
        right: auto;
    }

    .vdp-carousel--arrows-inset .vdp-carousel__arrow--next {
        right: 0;
        left: auto;
    }
}

.vdp-carousel__dots {
    position: absolute;
    bottom: -3em;
    left: 0;
    right: 0;
    text-align: center;
}

.vdp-carousel__dot {
    display: inline-block;
    margin: 0 .45rem;
    text-indent: -999px;
    overflow: hidden;
    border: none;
    width: .8666667rem;
    height: .8666667rem;
    border-radius: 100%;
    padding: 0;
    background-color: #ccc;
    cursor: pointer;
}

.vdp-carousel__dot.is-active {
    background-color: var(--vdp-carousel-accent);
}

/* PDP image gallery and its thumbnail strip */
.item-product-full .field-img .carousel-slide img {
    display: block;
}

/* .field-img clips its overflow, so the wide-screen arrows outside the carousel (1500px+) would be cut off */
.item-product-full .field-img .vdp-carousel__arrow--prev {
    left: 0;
    right: auto;
}

.item-product-full .field-img .vdp-carousel__arrow--next {
    right: 0;
    left: auto;
}

.item-product-full .field-img-nav .vdp-carousel__viewport > * {
    flex: 0 0 20%;
    margin-right: .6666666667em;
    margin-top: .6666666667em;
    cursor: pointer;
}

.item-product-full .field-img-nav .vdp-carousel__viewport img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid #e6e6e6;
    vertical-align: top;
}

.item-product-full .field-img-nav .is-current img {
    border-color: var(--vdp-carousel-accent);
}

.item-product-full .field-img-nav .vdp-carousel__arrow--prev {
    left: 0;
    right: auto;
}

.item-product-full .field-img-nav .vdp-carousel__arrow--next {
    right: 0;
    left: auto;
}

/* PDP accessories / alternatives: fixed-width product cards */
.block-product-overview-alternative__slider > .vdp-carousel__viewport > * {
    flex: 0 0 150px;
}

/* Page block CONTENT_CARROUSEL: a separator between the slides on screen */
.items-expertise-domain > .vdp-carousel__viewport > * {
    position: relative;
    margin-bottom: 2em;
}

.items-expertise-domain > .vdp-carousel__viewport > *:after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, .2);
}

.items-expertise-domain > .vdp-carousel__viewport > *:last-child:after,
.items-expertise-domain > .vdp-carousel__viewport > .is-visible:not(:has(+ .is-visible)):after {
    content: none;
}

.items-expertise-domain .vdp-carousel__arrow {
    top: 25%;
}

/* Product list inset in articles */
.block-product-slider .vdp-carousel {
    background: #f3f3f3;
    padding: 20px 10px;
}

.block-product-slider .vdp-carousel__viewport > * {
    padding: 0 10px;
    box-sizing: border-box;
}

/* Each product sat in a 350px box (an inline width copied from slick markup); kept for the same look, no longer wider than its slide */
.block-product-slider .vdp-carousel__viewport > * > div {
    width: 350px;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.block-product-slider .vdp-carousel__arrow {
    top: calc(20% - 2em);
}

/* WVD-122: radio options side by side on the split user wizard steps (NativeForms_UserWizardStep) */
.form-radios-inline .radio {
    display: inline-block;
    margin-right: 20px;
}

/* WVD-122: field pairs on the split user wizard steps line up in two equal columns */
.user-wizard-step-pair {
    display: flex;
}

.user-wizard-step-pair > .form-item {
    display: flex;
    float: none;
    width: 50%;
    margin-right: 0;
}

/* The same label column as a single row; the input takes the rest of the half */
.user-wizard-step-pair > .form-item > .form-label {
    flex: 0 0 290px;
    box-sizing: border-box;
}

.user-wizard-step-pair > .form-item > .form-input {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 20px;
}

.user-wizard-step-pair > .form-item > .form-input > select,
.user-wizard-step-pair > .form-item > .form-input > input[type="text"],
.user-wizard-step-pair > .form-item > .form-input > .select2-container {
    width: 100% !important;
    box-sizing: border-box;
}
