/*
 @license
 Copyright (C) ATW HANDELSPARTNER HANDELSBOLAG - All Rights Reserved
 Unauthorized copying of this file, via any medium is strictly prohibited
 Proprietary and confidential
 Written by Oscar Reimer <oscar.reimer@reimerbrothers.com>, September 2016
*/

header#menu, .noBorderRadius
{
    border-radius: 0 !important;
}

header#menu img
{
    height: 2.57142857rem;
    width: auto;
}

.noBefore:before
{
    width: 0 !important;
    height: 0 !important;
}

.no-padding-vertically
{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.button.minimal-padding
{
    padding: 0.35rem !important;
}

.no-padding-left
{
    padding-left: 0 !important;
}

.black-dropdown
{
    background: rgba(0, 0, 0, .87) !important;
}

.ui.menu .navbeer-sandwich .navbeer-sandwich-content.black-dropdown > .item,
.ui.menu .navbeer-sandwich .navbeer-sandwich-content.black-dropdown > .item:hover,
.ui.menu .navbeer-sandwich .navbeer-sandwich-content.black-dropdown > .item:active,
.ui.menu .navbeer-sandwich .navbeer-sandwich-content.black-dropdown > .item:focus
{
    color: rgba(255, 255, 255, .9) !important;
}

header#menu nav
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

header#menu nav > .navbeer-container
{
    flex: 1 1 auto;
    width: 100% !important;
    max-width: none !important;
}

header#menu > nav > .container
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header#menu li.dropdown .item:hover
{
    background: rgba(255, 255, 255, .08) !important;
}

.navbeer-menu
{
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbeer-sandwich.item:before
{
    margin-right: 0.57142857em;
}

.breadcrumb > li + li::before
{
    display: inline-block;
    opacity: .7;
    margin: 0 .21428571rem;
    font-size: .92857143em;
    color: rgba(0, 0, 0, .4);
    vertical-align: baseline;
    content: "/\00a0";
}

#sylius-cart-button
{
    background: none;
    color: inherit;
    border: 0;
    border-radius: 0;
    padding: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.5rem;
    min-width: 2.5rem;
}

#sylius-cart-button:hover
{
    box-shadow: none;
}

#sylius-cart-button .sylius-cart-button-icon
{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#sylius-cart-button .sylius-cart-badge
{
    position: absolute;
    top: -0.55rem;
    right: -0.7rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #db2828;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.15rem;
    text-align: center;
    box-shadow: 0 0 0 2px rgba(27, 28, 29, 0.9);
}

#sylius-cart-button.cart-updated
{
    animation: sylius-cart-pulse 0.9s ease;
}

@keyframes sylius-cart-pulse
{
    0%
    {
        transform: scale(1);
    }
    35%
    {
        transform: scale(1.18);
    }
    100%
    {
        transform: scale(1);
    }
}

.cart.popup .item
{
    color: rgba(0, 0, 0, .87) !important;
}

.ui.not.bulleted.list .list > .item:before,
.ui.not.bulleted.list > .item:before
{
    list-style-type: none;
    content: '';
    margin: 0;
    border: 0;
    padding: 0;
}

div.ui.fluid.search > input.search
{
    width: 100% !important;
}

input.disabled, select.disabled
{
    pointer-events: none;
    opacity: .45;
}

.ui.items.bordered
{
    border-radius: .28571429rem;
    border: 1px solid rgba(34, 36, 38, .15);
}

.ui.items > .item.bordered:first-child
{
    border-top: none;
    border-radius: .28571429rem .28571429rem 0 0;
}

.ui.items > .item.bordered
{
    border: none;
    border-top: 1px solid rgba(34, 36, 38, .15);
    padding: 1em 1em 40px;
}

.ui.items > .item.bordered:last-child
{
    border-radius: 0 0 .28571429rem .28571429rem;
}

.margin-small
{
    margin-bottom: .28571429rem !important;
}

.margin-medium
{
    margin-bottom: 1rem !important;
}

.margin-small-right
{
    margin-right: .5rem !important;
}

.margin-small-top
{
    margin-top: .5rem !important;
}

.no-margin-vertically
{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.no-margin-horizontally
{
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.bottom.aligned
{
    vertical-align: bottom !important;
}

.slick-dots.large
{
    bottom: -40px;
}

.slick-dots.large li
{
    width: 35px;
    height: 35px;
}

.slick-dots.large li button
{
    width: 35px;
    height: 35px;
}

.slick-dots.large li button::before
{
    font-size: 14px;
    line-height: 35px;
    width: 35px;
    height: 35px;
}

.column.selected .select.button:not(:hover)
{
    background-color: rgb(39, 174, 96) !important;
    border-color: rgb(39, 174, 96) !important;
    color: #FFF !important;
}

.column.selected .select.button:hover
{
    background-color: rgb(219, 40, 40) !important;
    border-color: rgb(219, 40, 40) !important;
    color: #FFF !important;
}

.item.disabled, .column.disabled .card
{
    cursor: default;
    opacity: .45 !important;
    background-image: none !important;
}

/* Greyed-out cards stay unselectable, but admin edit links remain clickable */
.item.disabled .select.button,
.column.disabled .card .select.button
{
    pointer-events: none !important;
}

.item.disabled .admin-edit-link,
.item.disabled .admin-edit-block-link,
.item.disabled .admin-edit-block-links,
.item.disabled a[href*="/admin/"],
.column.disabled .card .admin-edit-link,
.column.disabled .card .admin-edit-block-link,
.column.disabled .card .admin-edit-block-links,
.column.disabled .card a[href*="/admin/"],
.ui.card.disabled .admin-edit-link,
.ui.card.disabled .admin-edit-block-link,
.ui.card.disabled .admin-edit-block-links,
.ui.card.disabled a[href*="/admin/"]
{
    pointer-events: auto !important;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.item.disabled
{
    box-shadow: none !important;
}

.ui.button.fabric-colour
{
    width: 38px;
    height: 38px;
    padding: 0.2em;
    position: relative;
}

.ui.button.fabric-colour.active
{
    border-bottom: 2px outset black;
}

span.fabric-colour
{
    display: inline-block;
    width: 100%;
    height: 100%;
}

.fabric-colour-selected-icon > i
{
    font-size: 1.5rem;
    margin: 0;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    display: none;
    color: #21ba45;
    text-shadow: black 0.1em 0.1em 0.2em;
}

.ui.button.fabric-colour.active .fabric-colour-selected-icon > i
{
    display: inherit;
}

.ui.card > .content .meta p:not(:last-child)
{
    margin: 0 0 0.1em;
}

/*
 * Classes for limiting text to a specific number of rows
 */
.line-text
{
    line-height: 1.5rem;
    position: relative;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-text:after
{
    content: "";
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 1.5rem;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
}

.one.line-text
{
    max-height: 1.5rem;
}

.two.line-text
{
    max-height: 3rem;
}

.three.line-text
{
    max-height: 4.5rem;
}

/*
 * End of classes for limiting text to a specific number of rows
 */

.hidden,
.ui.stretched.grid > .column.hidden,
.fabrics-tab .more-info,
#fabricReadMoreContainer .tabs-only,
.column.selected .button .select,
.column:not(.selected) > .card .button .selected,
.column.selected .button:hover .selected,
.column:not(.selected) > .card .button .deselect,
.column.selected .button:not(:hover) .deselect,
tr:first-child button.moveItemUp,
tr:last-child button.moveItemDown,
.hideDisabled .disabled,
.hideDisabled .ui.stretched.grid > .column.disabled
{
    display: none !important;
}

.ui.hidden.divider
{
    display: inherit !important;
}

.p.margin
{
    margin: 0 0 1em;
}

/* Hack to make Slick work, see https://github.com/kenwheeler/slick/issues/187 */
.fabrics-tab
{
    display: block !important;
}

/* Part of Slick hack */
.fabrics-tab:not(.active)
{
    height: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.grid-image
{
    height: 32px;
    width: auto;
}

.card + .ui.pointing.label
{
    margin-top: 0;
}

.fixed-position
{
    position: fixed !important;
    z-index: 1000 !important; /* Sticky/affix has 800 */
    margin: 0 !important;
}

.scroll-on-overflow
{
    white-space: nowrap;
    max-width: 100%;
    overflow: auto;
}

.break-long-words, #sylius-cart-items .sylius-product-variant-code
{
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

span.fabric-colour
{
    opacity: 0.35;
}

.fabric-colour.active span.fabric-colour
{
    opacity: 1;
}

#globalMessagesOuterContainer
{
    bottom: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#globalMessagesOuterContainer .globalOverlay
{
    margin-bottom: 0;
}

hr.ui.divider
{
    border-left: 0;
    border-right: 0;
}

.ui.segment.optionSegment
{
    margin-bottom: 0;
    margin-top: 0;
}

.segments.optionSegments, .ui.segment.optionSegment
{
    min-height: 100%;
}

.ui.vertical.steps .step.regulatorCategoryStep
{
    padding: 1rem 1rem !important;
    cursor: pointer;
}

/* Allow predefined width/height buttons to wrap onto multiple lines so they
   are not cut off by the adjacent dimensions image when many values are
   configured. Each button is given individual rounded corners since they are
   no longer rendered as a single horizontal button group. */
.ui.buttons.predefined-dimension-buttons
{
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    max-width: 100%;
}

.ui.buttons.predefined-dimension-buttons > .button
{
    margin: 0 !important;
    border-radius: 0.28571429rem !important;
    border-left: 1px solid rgba(34, 36, 38, .15);
}

.regulatorCategoryStep .icon
{
    width: calc(100% * (1 / 4) - 1rem);
}

.regulatorCategoryStep .content
{
    width: calc(100% * (3 / 4) - 1rem);
    margin-left: 1rem;
}

@media only screen and (max-width: 767px)
{

    .regulatorCategoryStep .content
    {
        margin-left: 0;
    }

    #regulatorCategoryOptionsInnerContainer.ui.stackable.grid > .column:not(:first-child)
    {
        padding-top: 0 !important;
    }

    #regulatorCategoryOptionsInnerContainer.ui.stackable.grid > .column:not(:last-child)
    {
        padding-bottom: 0 !important;
    }

}

.mobile-config-bar
{
    flex-wrap: wrap;
    min-height: 0;
}

.mobile-config-bar #mobilePriceOuterContainer
{
    flex: 1 1 auto;
    min-width: 0;
}

.mobile-config-bar-actions
{
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto !important;
}

.mobile-config-bar-actions #mobileViewCart
{
    margin: 0 !important;
    white-space: nowrap;
}

.mobile-config-bar-actions #mobileGoToSummary
{
    white-space: nowrap;
}

@media only screen and (max-width: 385px)
{
    #mobilePriceOuterContainer:before
    {
        width: 0 !important;
        height: 0 !important;
    }

    .mobile-config-bar
    {
        justify-content: space-between;
    }

    #mobileGoToSummary
    {
        display: none;
    }

    .mobile-config-bar-actions #mobileViewCart
    {
        display: inline-flex !important;
    }
}

/* Semantic UI has these classes, however they're only applicable to
   grids, containers, rows and columns.
   plus, there isn't any `mobile hidden`, `X hidden` class.
   this snippet is using the same class names and same approach
   plus a bit more but to all elements.

   see https://github.com/Semantic-Org/Semantic-UI/issues/1114 */

/* Mobile */
@media only screen and (max-width: 767px)
{
    [class*="mobile-hidden"],
    [class*="tablet only"]:not(.mobile),
    [class*="computer only"]:not(.mobile),
    [class*="large screen only"]:not(.mobile),
    [class*="widescreen only"]:not(.mobile),
    [class*="or lower-hidden"]
    {
        display: none !important;
    }

    .sylius-active-locale .flag
    {
        margin: 0 !important;
    }
}

/* Tablet / iPad Portrait */
@media only screen and (min-width: 768px) and (max-width: 991px)
{
    [class*="mobile only"]:not(.tablet),
    [class*="tablet-hidden"],
    [class*="computer only"]:not(.tablet),
    [class*="large screen only"]:not(.tablet),
    [class*="widescreen only"]:not(.tablet),
    [class*="or lower-hidden"]:not(.mobile)
    {
        display: none !important;
    }
}

/* Computer / Desktop / iPad Landscape */
@media only screen and (min-width: 992px) and (max-width: 1199px)
{
    [class*="mobile only"]:not(.computer),
    [class*="tablet only"]:not(.computer),
    [class*="computer-hidden"],
    [class*="large screen only"]:not(.computer),
    [class*="widescreen only"]:not(.computer),
    [class*="or lower-hidden"]:not(.tablet):not(.mobile)
    {
        display: none !important;
    }
}

/* Large Monitor */
@media only screen and (min-width: 1200px) and (max-width: 1919px)
{
    [class*="mobile only"]:not([class*="large screen"]),
    [class*="tablet only"]:not([class*="large screen"]),
    [class*="computer only"]:not([class*="large screen"]),
    [class*="large screen-hidden"],
    [class*="widescreen only"]:not([class*="large screen"]),
    [class*="or lower-hidden"]:not(.computer):not(.tablet):not(.mobile)
    {
        display: none !important;
    }
}

/* Widescreen Monitor */
@media only screen and (min-width: 1920px)
{
    [class*="mobile only"]:not([class*="widescreen"]),
    [class*="tablet only"]:not([class*="widescreen"]),
    [class*="computer only"]:not([class*="widescreen"]),
    [class*="large screen only"]:not([class*="widescreen"]),
    [class*="widescreen-hidden"],
    [class*="widescreen or lower-hidden"]
    {
        display: none !important;
    }
}

/* Show help cursor for elements with title attribute */
[title]
{
    cursor: help;
}

h2.ui.header .sub.header.large
{
    font-size: 1.3rem;
}

.ui.menu.hideOnSelectedFabric:empty
{
    min-height: 0;
    line-height: 0;
    margin: 0;
    border: 0;
}

.height100
{
    height: 100%;
}

input.at-least-three-number-wide
{
    min-width: 5rem;
}

.fit-text-loader
{
    min-height: 8rem;
}

.ui.segment.very-basic
{
    border: 0 !important;
    padding: 0 !important;
}

.ui.segments .ui.segment.very-basic
{
    border: 0 !important;
}

[data-content].highlighted
{
    text-decoration: underline dashed;
}

/* Keep search, language flag and nav labels from colliding */
.navbeer-menu,
.navbeer-fixed-items-container
{
    flex-shrink: 0;
}

.navbeer-shop-search
{
    flex-shrink: 0;
    padding-left: 0.5rem;
    padding-right: 0.75rem;
}

.navbeer-shop-search form.ui.mini.action.input
{
    display: flex;
    align-items: stretch;
    max-width: 11rem;
    width: 11rem;
    box-sizing: border-box;
}

.navbeer-shop-search form.ui.mini.action.input > input[type="search"]
{
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    max-width: none;
}

.navbeer-shop-search form.ui.mini.action.input > .button
{
    flex: 0 0 auto;
}

#sylius-locale-selector
{
    margin-left: 0.4rem !important;
    flex-shrink: 0;
}

#sylius-locale-selector .flag
{
    overflow: hidden;
}

/* Mobile: free header space for cart — icon-only search, locale in menu */
@media only screen and (max-width: 767px)
{
    .navbeer-shop-search
    {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    .navbeer-shop-search form.ui.mini.action.input
    {
        max-width: none !important;
        width: auto !important;
    }

    .navbeer-shop-search input[type="search"]
    {
        display: none !important;
    }

    .navbeer-shop-search .ui.action.input > .button
    {
        border-radius: 0.3rem !important;
        margin: 0 !important;
        padding: 0.65em 0.85em !important;
    }

    #sylius-locale-selector
    {
        display: none !important;
    }

    .navbeer-fixed-items-container > .item
    {
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
    }

    #sylius-cart-button
    {
        padding: 0.4rem 0.65rem !important;
        border: 1px solid rgba(255, 255, 255, 0.45) !important;
        border-radius: 0.35rem !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }

    #sylius-cart-button.has-items
    {
        border-color: rgba(219, 40, 40, 0.85) !important;
        background: rgba(219, 40, 40, 0.18) !important;
    }

    #sylius-cart-button .cart.icon
    {
        margin: 0 !important;
        font-size: 1.25em;
    }

    #app-cart-container
    {
        padding-left: 0.35rem !important;
        padding-right: 0.45rem !important;
        overflow: visible !important;
    }
}

/* Hide some not so important menu elements for very narrow screens */
@media only screen and (max-width: 530px)
{
    .navbeer-brand
    {
        display: none !important;
    }

    #sylius-cart-total
    {
        display: none !important;
    }
}

.ui.menu li.no-list-style
{
    list-style: none !important;
}

.bottom5
{
    margin-bottom: 5px;
}

.bottom7
{
    margin-bottom: 7px;
}

.bottom10
{
    margin-bottom: 10px;
}

.bottom15
{
    margin-bottom: 15px;
}

.bottom17
{
    margin-bottom: 17px;
}

.bottom30
{
    margin-bottom: 30px;
}

.top5
{
    margin-top: 5px;
}

.top5important
{
    margin-top: 5px !important;
}

.top7
{
    margin-top: 7px;
}

.top10
{
    margin-top: 10px;
}

.top15
{
    margin-top: 15px;
}

.top17
{
    margin-top: 17px;
}

.top30
{
    margin-top: 30px;
}

.strong
{
    font-weight: bold;
}

.ui.wrapable
{
    flex-wrap: wrap;
}

.padding-horizontally1em
{
    padding-left: 1em !important;
    padding-right: 1em !important;
}

.initialCursor
{
    cursor: initial !important;
}

.selectable
{
    -moz-user-select: text !important;
    -webkit-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

.clickable
{
    cursor: pointer;
}

.intro-image-container
{
    height: auto;
    max-height: 50vh;
    overflow: hidden;
}

.intro-image-text
{
    border: 1px solid #fff;
    background-color: rgba(0, 0, 0, 0.35);
    color: #fff;
    position: absolute;
    top: 20vh;
    left: 0;
    right: 0;
    padding-top: 2em;
    padding-bottom: 2em;
    margin-top: auto;
    margin-bottom: auto;
    cursor: pointer;
}

.intro-image-standing-logo
{
    height: 15vh;
    position: absolute;
    margin-top: -13vh;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

.intro-image-logo
{
    height: 11vw;
    position: absolute;
    margin-top: -9vw;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

@media only screen and (max-width: 767px)
{

    .intro-image-text
    {
        top: 21vw;
        padding-top: 1em;
        padding-bottom: 1em;
        font-size: 0.5em;
    }

    @media only screen and (max-height: 420px) and (min-width: 560px)
    {
        .intro-image-text
        {
            top: 14vw;
        }

        .intro-image-logo
        {
            height: 9vw;
            margin-top: -7vw;
        }

    }

    .intro-image-text h3
    {
        display: none;
    }
}

@media only screen and (max-height: 495px)
{
    .intro-image-text h3
    {
        display: none;
    }
}

.intro-image-text h2
{
    font-size: 2rem !important;
}

.intro-image-text .header
{
    color: #fff !important;
}

#how-and-what-grid
{
    margin-top: 0 !important;
}

.homepage-grid
{
    margin-left: 0;
    margin-right: 0;
}

.how-and-what-text
{
    color: black;
}

.how-and-what-text h3.ui.header
{
    color: black !important;
}

.ui.borderless.segment
{
    border-radius: 0;
    border: 0;
}

.ui.dropdown .remove.icon
{
    font-size: 0.857143em;
    margin: 0;
    padding: 0;
    right: 2.5em;
    top: auto;
    position: absolute;
    opacity: 0.5;
    z-index: 3;
}

.ui.dropdown input[value=''] ~ .remove.icon,
.ui.dropdown input:not([value]) ~ .remove.icon,
.ui.dropdown.loading .remove.icon
{
    display: none;
}

div.icon
{
    display: inline-block;
    vertical-align: top;
}

div.huge.icon
{
    height: 4em;
    min-width: 4.72rem;
}

div.icon > img
{
    height: 100%;
    width: auto;
}

.ui.menu .ui.dropdown .menu.black-dropdown > .item
{
    color: rgba(255, 255, 255, .9) !important;
    display: flex !important;
}

#fabricReadMoreContainer .hideOnSelectedFabric.hidden:not(.tabs-only)
{
    display: initial !important;
    visibility: initial !important;
}

div.icon > img.widthAdjusted
{
    max-width: 4.72rem;
    height: auto;
}

div.icon.needsBackground
{
    background: white;
    padding: 0.1rem;
    margin-right: 0.24rem !important;
    height: 3.4rem;
    vertical-align: middle;
}

div.icon.needsBackground:not(.inverted)
{
    background: black;
}

div.icon.needsBackground > span.helper
{
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

div.icon.needsBackground > img.widthAdjusted
{
    max-width: 4.9rem;
    vertical-align: middle;
}

.ui.breadcrumb .active.section a
{
    color: black;
}
.slick-list:hover
{
    cursor: pointer;
}
table.vertical.celled.table tbody tr th
{
    background-color: #f9fafb;
    padding-left: 11px;
}
table.vertical.celled.table tbody tr:not(:first-of-type) th
{
    border-top: 1px solid rgba(34, 36, 38, 0.1);
}
.ui.tiny.images > .image > img:hover {
    cursor: pointer;
}

/* Admin edit links for logged in shop employees */
.admin-edit-link {
    display: inline-block;
    font-size: 0.85em;
    color: #2185d0 !important;
    margin-left: 0.5em;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.admin-edit-link:hover {
    opacity: 1;
    text-decoration: underline;
}
.admin-edit-link::before {
    content: '✎ ';
}

/* Admin edit block links */
.admin-edit-block-links {
    margin-top: 5px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -5px;
}
.admin-edit-block-links > * {
    margin-left: 5px;
    margin-bottom: 5px;
}
.admin-edit-block-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.8em;
    padding: 4px 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #2185d0 !important;
    text-decoration: none;
    transition: all 0.2s ease;
}
.admin-edit-block-link:hover {
    background: #2185d0;
    color: white !important;
    border-color: #2185d0;
}
.admin-edit-block-link i.icon {
    margin-right: 4px;
}
.admin-edit-block-link::before {
    content: none;
}

/* Admin editable content — wrapper is a div so inner CMS <a> links stay valid */
.admin-editable-content {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
    cursor: default;
    position: relative;
    border: 2px dashed transparent;
    border-radius: 4px;
    padding: 4px;
    margin: -4px;
    transition: all 0.2s ease;
}
.admin-editable-content:hover {
    border-color: #2185d0;
    background-color: rgba(33, 133, 208, 0.05);
}

/* Admin button edit link - small edit icon on buttons */
.admin-button-edit-wrapper {
    position: relative;
    display: block;
    width: 100%;
}
.admin-button-edit-wrapper > .ui.button {
    padding-right: 45px !important;
}
.admin-button-edit-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    background: rgba(33, 133, 208, 0.9);
    color: white !important;
    text-decoration: none;
    transition: all 0.2s ease;
    z-index: 10;
    border-left: 1px solid rgba(255,255,255,0.3);
}
.admin-button-edit-link:hover {
    background: #1a6fb3;
}
.admin-button-edit-link i.icon {
    margin: 0 !important;
    font-size: 14px;
}

/* Admin homepage hero controls */
.intro-image-container {
    position: relative;
}
.admin-homepage-hero-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}
.admin-homepage-hero-controls .ui.button,
.admin-homepage-hero-controls .ui.label {
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
@media only screen and (max-width: 767px) {
    .admin-homepage-hero-controls {
        top: 5px;
        right: 5px;
        flex-direction: column;
    }
    .admin-homepage-hero-controls .ui.button,
    .admin-homepage-hero-controls .ui.label {
        font-size: 10px !important;
    }
}

/* Vacation mode site-wide banner */
.vacation-mode-banner {
    background: linear-gradient(90deg, #c47a1a 0%, #d4882a 100%);
    color: #fff;
    padding: 0.65em 0;
    text-align: center;
    font-size: 0.95em;
    line-height: 1.45;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
.vacation-mode-banner__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    flex-wrap: wrap;
}
.vacation-mode-banner__content .icon {
    margin: 0;
    opacity: 0.9;
}
.vacation-mode-banner--preview {
    outline: 2px dashed rgba(255, 255, 255, 0.85);
    outline-offset: -2px;
}
.vacation-mode-preview-label {
    background: rgba(0, 0, 0, 0.25);
    font-size: 0.8em;
    padding: 0.35em 0.75em;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.vacation-mode-notice--preview {
    outline: 2px dashed #d4882a;
    outline-offset: 6px;
    border-radius: 4px;
    padding-top: 0.5em;
}
.vacation-mode-contact-notice {
    margin-bottom: 1.5em;
}
.vacation-mode-sample-delivery-notice {
    margin-top: 0.75em;
    margin-bottom: 1em;
}
.vacation-mode-sample-delivery-notice p {
    margin: 0;
}
.vacation-mode-sample-delivery-notice__preview {
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 0.45em !important;
    color: #8a5a00;
}

/* Horizontal divider headings: one text node, divider lines only on desktop */
@media only screen and (max-width: 767px)
{
    .ui.horizontal.section.divider.header.pb-responsive-divider
    {
        display: block !important;
        white-space: normal;
        text-align: left;
        margin-top: 1em;
        margin-bottom: 0;
    }
    .ui.horizontal.section.divider.header.pb-responsive-divider:before,
    .ui.horizontal.section.divider.header.pb-responsive-divider:after,
    .ui.horizontal.section.divider.header.pb-responsive-divider::before,
    .ui.horizontal.section.divider.header.pb-responsive-divider::after
    {
        display: none !important;
        width: 0 !important;
        content: none !important;
    }
}
.vacation-mode-contact-notice__description p {
    margin: 0.5em 0;
}

/* CMS pages: dummy/placeholder banners should not take up space */
img.page-image[src*="dummy"] {
    display: none !important;
}

/* Shared 1–3 image page banners. Each image keeps the aspect saved in admin. */
.page-banner {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
    margin-bottom: 1em;
    background: #f3f3f3;
}
.page-banner__image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/*
 * CMS body copy sometimes has Semantic UI "ui blue button" on PDF links.
 * Short labels stay as compact document links. Long text (whole paragraphs)
 * must not look like blue fields.
 */
.bitbag-page-content a.ui.blue.button,
.bitbag-page-content a.ui.button.blue {
    display: inline-block;
    background: transparent !important;
    color: #1b4f72 !important;
    box-shadow: none !important;
    padding: 0.35em 0;
    font-weight: 600;
    font-size: 1em;
    border-radius: 0;
    text-align: left;
    min-height: 0;
    margin: 0.15em 0;
}

.bitbag-page-content a.ui.blue.button:hover,
.bitbag-page-content a.ui.button.blue:hover {
    background: transparent !important;
    color: #0d2d44 !important;
    text-decoration: underline;
}

.bitbag-page-content p a.ui.button,
.bitbag-page-content p a.ui.blue.button,
.bitbag-page-content p a.ui.button.blue {
    display: inline !important;
    background: none !important;
    color: inherit !important;
    padding: 0 !important;
    font-weight: inherit !important;
    box-shadow: none !important;
    text-align: inherit;
    min-height: 0;
    line-height: inherit;
    margin: 0;
}

.bitbag-page-content p a.ui.button:hover,
.bitbag-page-content p a.ui.blue.button:hover,
.bitbag-page-content p a.ui.button.blue:hover {
    background: none !important;
    color: inherit !important;
    text-decoration: none;
}

/* Small grey stand-in where a configurator choice has no product image. */
.ui.card > .image.choice-image-placeholder {
    background: #e6e6e6;
    height: 4.75rem;
    min-height: 4.75rem;
}

