body {
}

.allow-button {
    background-color: var(--paleda-background-color);
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 16px;
    margin: 20px 6px 6px 6px;
    cursor: pointer;
    border-radius: 5px;
    color: var(--paleda-font-color);
}

.cookie-popup-content {
    padding: 15px;
}

.cookie-header{
    margin-bottom:15px;
}


.outer-login-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
}

.login-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 350px;
    min-height: 300px; 
}

.form-input-item {
    display: flex;
    flex-direction: column; 
    margin-bottom: 15px;
}

    .form-input-item label {
        font-weight: bold; 
        margin-bottom: 5px; 
    }

    .form-input-item input {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        width: 100%; 
        box-sizing: border-box; 
    }

/*.overflow-auto {
    overflow: auto;
}*/

/*.gridlayout-item {
    font-size: 1.2em;
    font-weight: 500;
    text-align: center;
    height: 100%;
    padding: 0.5rem;
    text-align: center;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gridlayout-item:before {
        content: " ";
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        opacity: 0.4;
    }
.gridlayout-footer {
    position: relative;
    width: 100%;
    bottom: 0;
}*/


.n2c-navcomponent-text {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}




.product-grid-shell,
#product-grid-component .product-grid,
#product-grid-component .dxbl-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.striped-table table tbody tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

#product-grid-component table.dxbl-grid-table > thead > tr {
    background-color: #E9ECEF;
}

#product-grid-component table.dxbl-grid-table > tbody > tr > td {
    vertical-align: top;
}

    #product-grid-component table.dxbl-grid-table > tbody > tr > td > div {
        font-size: 12.8px;
    }

        #product-grid-component table.dxbl-grid-table > tbody > tr > td > div.container {
            padding-right: 0;
            padding-left: 0;
        }

#product-grid-component .special-item::before {
    border-radius: 10px;
    color: white;
    padding: 4px;
    margin-right: 0.25rem;
    font-weight: 500;
    font-size: 12.8px;
}

#product-grid-component .special-item.campaign::before {
    content: "Kampanjvara";
    background-color: red;
}

#product-grid-component .special-item.new::before {
    content: "Nyhet";
    background-color: lawngreen;
}

#product-grid-component .special-item.clearance-sale::before {
    content: "Utförsäljning";
    background-color: blue;
}

#product-grid-component .product-grid-toolbar-status {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    margin-left: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

#product-grid-component .product-grid-toolbar-status-success {
    color: #1f7a3f;
}

#product-grid-component .product-grid-toolbar-status-error {
    color: #a12a2a;
}

#product-grid-component .product-grid-balance-ok {
    color: #1f7a3f;
}

#product-grid-component .product-grid-balance-partial {
    color: #b26b00;
}

#product-grid-component .product-grid-balance-empty {
    color: #a12a2a;
}

#product-grid-component .paleda-enter-navigation-editor {
    display: block;
    width: 100%;
}

#product-grid-component .paleda-enter-navigation-editor .paleda-input,
#product-grid-component .paleda-enter-navigation-editor input {
    width: 100%;
}

#product-grid-component .paleda-enter-navigation-row-active > td {
    background-color: rgba(179, 187, 127, 0.18);
}

.info-icon-container {
    position: absolute;
    right: 6px; 
    top: 50%; 
    transform: translateY(19%);  
    display: flex;
    align-items: center;
}

.info-icon {
    font-size: 33px;
    color: var(--paleda-background-color);
    cursor: pointer;
    margin-left: 10px;
}

ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

li {
    margin: 5px 0;
}

.form {
    position: sticky;
    /* Needs to be > 2 to not be hidden by Product\table header. */
    z-index: 3;
}

.form-control-lg {
    font-size: 18px;
}

span.right-aligned {
    position: absolute;
    right: 0;
    top: 0.1125em;
}

.search-bar-wrapper {
    width: 100%; 
    box-sizing: border-box; 
    padding-top: 5px;
}


.paleda-grid {
    width: 100%;
    max-width: 100%;
}

.paleda-grid .dxbl-grid-table > tbody > tr > td {
    vertical-align: top;
}

.paleda-grid--virtual {
    height: clamp(360px, calc(100vh - 220px), 760px);
}

.paleda-grid--compact {
    max-height: clamp(260px, calc(100vh - 260px), 560px);
}

@media (max-width: 768px) {
    .paleda-grid--virtual {
        height: clamp(320px, calc(100vh - 170px), 640px);
    }

    .paleda-grid--compact {
        max-height: clamp(220px, calc(100vh - 220px), 480px);
    }
}

body {
    --paleda-background-color: #B3BB7F;
    --paleda-secondary-background-color: #E9ECEF;
    --paleda-font-color: #212529;
    --paleda-font-color-grey: rgba(0,0,0,50%);
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.product-public-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.75rem;
    align-items: stretch;
}

.product-public-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10);
    height: 100%;
    padding: 0.75rem;
}

.product-public-card-layout,
.product-public-card-layout .dxbl-gridlayout-root {
    height: 100%;
}

.product-public-image-cell {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 120px;
}

.product-public-image-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.product-public-content {
    text-align: center;
}

.product-public-card h2 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.35rem;
}

.product-public-card p {
    font-size: 0.9rem;
    line-height: 1.35;
    margin: 0 0 0.25rem;
}

.product-public-badge {
    background-color: lawngreen;
    border-radius: 4px;
    color: black;
    display: inline-block;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    padding: 0.15rem 0.5rem;
}

.product-public-description {
    display: -webkit-box;
    font-size: 0.875rem;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-public-action {
    display: flex;
    justify-content: center;
}

.product-details-popup {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-details-summary {
    text-align: center;
}

.product-details-summary h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-image-carousel-single,
.product-image-carousel-item {
    align-items: center;
    background-color: var(--paleda-background-color);
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 1.25rem;
}

.paleda-button {
    background-color: var(--paleda-background-color);
    color: var(--black);
    border-color: #6c757d;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}

    .paleda-button:hover {
        background-color: hsl(177.7, 7%, 37%) !important;
        color: #fff;
        border-color: #6c757d;
    }

    .paleda-button:active {
        background-color: hsl(50.7, 37.1%, 64.6%) !important;
        color: #fff;
        border-color: lightgrey !important;
        border-width: medium;
    }

    .paleda-button:focus {
        background-color: hsl(50.7, 37.1%, 64.6%) !important;
        color: #fff;
        border-color: lightgrey !important;
        border-width: medium;
    }

.dxbl-treeview-items-container {
    padding-top: 10px !important;
}

.dxbl-treeview-item .dxbl-treeview-item-content {
    height: 21px;
    margin-bottom: 0 !important;
    font-size: 13.3333px;
}

.dxbl-treeview-item .dxbl-treeview-item .dxbl-treeview-item-content {
    height: 18px;
    font-size: 13px;
}

@media (max-width: 450px) {
    dxbl-menu-item a.dxbl-btn {
        font-size: 14px;
        padding-top: 4px;
        padding-bottom: 4px;
    }
}

@media (min-width: 451px) {
    dxbl-menu-item a.dxbl-btn {
        font-size: 16px;
    }
}

a {
    font-size: 16px;
    text-decoration: none;
    color: var(--black);
}

p {
    font-size: 16px;
    color: var(--black);
    margin-bottom: 0;
}

.accordion-button {
    position: static !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-indicator-class {
    z-index: 1000;
    position: absolute;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

button.dxbl-btn.dxbl-menu-dropdown-item {
    font-size: medium;
}

.custom-menu-logo-container {
    padding-left: 3em;
}

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

    .custom-html-content td {
        vertical-align: baseline;
    }

    .custom-menu-logo-container {
        padding-left: 1em;
    }

    dxbl-menu-item .dxbl-btn {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .custom-html-content img {
        width: 100%;
        height: 100%;
    }
}

.sidebar {
    min-width: max-content;
    width: max-content;
    max-width: max-content;
}

.sidebar .dxbl-scroll-viewer-vert-scroll-bar {
    visibility: hidden;
}

.layout-wrapper {
    padding: 6px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.footer-content-wrapper {
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 100%; 
    text-align: center; 
    padding: 10px; 
}
    .footer-content-wrapper a {
        font-weight: bold;
    }
footer-content-wrapper p{
    margin: 0;
    font-size: 14px;  
    word-wrap: break-word;  
    line-height: 1.5;  
    text-align: center !important;
}

