/********************************/
/* Formatting framework */
/********************************/

/* general text and form text */

.design-inverted .section-text-color-1:not(#top) .mz_editable .moze-wysiwyg-editor,
.design-inverted .section-text-color-1 .mz_editable .moze-wysiwyg-editor h1,
.design-inverted .section-text-color-1 .mz_editable .moze-wysiwyg-editor h2,
.design-inverted .section-text-color-1 .mz_editable .moze-wysiwyg-editor h3,
.design-inverted .section-text-color-1 .moze-form * {
    color: rgba(0, 0, 0, 0.75);
}

/* store items */

.design-inverted .section-text-color-1 .cat-thumb-title,
.design-inverted .section-text-color-1 .cat-thumb-price {
    color: rgba(0, 0, 0, 0.75);
}

/* links */

.design-inverted .section-text-color-1 .mz_editable .moze-wysiwyg-editor a:not(.moze-button-large):not(.moze-button) {
    color: rgba(0, 0, 0, 0.5);
}

/* important text */

.design-inverted .section-text-color-1 .mz_editable .moze-important,
.design-inverted .section .grid-cell.section-text-color-1 .mz_editable .moze-important { /* .section outranks the :not() rule */
    background-color: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.95);
}

.design-inverted .section:not(.section-text-color-1) .mz_editable .moze-important {
    background-color: rgba(255, 255, 255, 0.17);
    color: #FFFFFF;
}

/* code - for dark background */

.design-inverted .section:not(.section-text-color-1) .mz_editable .moze-code {
    background-color: rgba(255, 255, 255, 0.17);
}

.design-inverted .section-text-color-1 .mz_editable .moze-code,
.design-inverted .section .grid-cell.section-text-color-1 .mz_editable .moze-code { /* .section outranks the :not() rule */
    background-color: rgba(0, 0, 0, 0.05);
}

/* tables - for dark background  */

body:not(.design-inverted) .section-text-color-1 .mz_editable table td,
.design-inverted .mz_editable table td {
    border-color: rgba(255, 255, 255, 0.1);

}

body:not(.design-inverted) .section-text-color-1 .mz_editable table .moze-th,
.design-inverted .mz_editable table .moze-th {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
}

.design-inverted .section-text-color-1 .mz_editable table td {
    border-color: rgba(0, 0, 0, 0.15);

}

.design-inverted .section-text-color-1 .mz_editable table .moze-th {
    color: rgba(0, 0, 0, 0.95);
    background-color: rgba(0, 0, 0, 0.05);
}



/********************************/
/* Form */
/********************************/

/* forms - for light background */

.design-inverted .section-text-color-1 .moze-form input,
.design-inverted .section-text-color-1 .moze-form textarea,
.design-inverted .section-text-color-1 .moze-form select {
    border: 0;
    background-color: rgba(0, 0, 0, 0.1);
}

.design-inverted .section-text-color-1 .moze-form option {
    color: rgba(0, 0, 0, 0.75);
}

/********************************/
/* Catalog */
/********************************/

/* Scrollbars for Chromium */

.design-inverted .sliding-panel-body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.1);
}
.design-inverted .sliding-panel-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/********************************/
/* Buttons */
/********************************/

/* btn-alt-light */

.moze-button-large.btn-alt-light,
.moze-button-large.btn-alt-light:hover {
    color: #FFFFFF;
    border-color: #447CE4;
}

.moze-button-large.btn-alt-light:hover {
    color: #FFFFFF;
    border-color: #333333;
}

/* btn-alt-white */

.moze-button-large.btn-alt-white,
.moze-button-large.btn-alt-white:hover {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.moze-button-large.btn-alt-white:hover,
.moze-button-large.btn-alt-light:hover {
    opacity: 0.70;
}

/* btn-white and btn-alt-dark */

.moze-button-large.btn-white,
.moze-button-large.btn-white:hover {
    background-color: #FFFFFF;
    color: #222222;
}

.moze-button-large.btn-alt-dark,
.moze-button-large.btn-alt-dark:hover {
    background-color: #447CE4;
    color: #FFFFFF;
}

.moze-button-large.btn-white:hover,
.moze-button-large.btn-alt-dark:hover {
    opacity: 0.8;
}

/* buttons - for light background */

.design-inverted .section-text-color-1 .mz_editable .moze-formbutton,
.design-inverted .section-text-color-1 .mz_editable .moze-button,
.design-inverted .section-text-color-1 .mz_editable .moze-button-large:not([class*="btn-"]) {
    background-color: rgba(0, 0, 0, 0.75);
    color: #FFFFFF;
}

.design-inverted .section-text-color-1 .mz_editable .moze-button.btn-alt,
.design-inverted .section-text-color-1 .mz_editable .moze-button-large.btn-alt {
    color: rgba(0, 0, 0, 0.75);
    background: transparent;
}

.section-text-color-1 .mz_editable .moze-button-large:not(.btn-white):not(.btn-alt-white):not(.btn-alt-light):not(.btn-alt-dark):hover {
    opacity: 0.8;
}

/* default button sizings */

.moze-button-large.btn-alt-white,
.moze-button-large.btn-alt-light {
    padding-top: 0.76em;
    padding-bottom: 0.76em;
}

.moze-button-large.btn-alt-white,
.moze-button-large.btn-alt-light {
    border-width: 2px;
    border-style: solid;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
}

.moze-button-large.btn-alt-white:hover,
.moze-button-large.btn-alt-light:hover {
    background-color: transparent;
    background-image: none;
    box-shadow: none;
}

/********************************/
/* Banner */
/********************************/

#bigbar.keep-aspect {
    box-sizing: border-box;
}

#bigbar .mz_banner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.mz_banner .moze-banner {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.mz_banner .moze-banner-slide-left,
.mz_banner .moze-banner-slide-right
{
    background: rgba(0, 0, 0, 0.4) no-repeat center center;
    background-size: 25px;
    position: absolute;
    opacity: 0;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    display: block;
    z-index: 50;
}

.mz_banner .moze-banner-slide-left {
    background-image: url("../../../libs/icons/icon-arrow-left-white.svg");
    left: 0;
}

.mz_banner .moze-banner-slide-right {
    background-image: url("../../../libs/icons/icon-arrow-right-white.svg");
    right: 0;
}

div:hover > .mz_banner .moze-banner-slide-right,
div:hover > .mz_banner .moze-banner-slide-left
{
    opacity: 1;
}

@media screen and (max-width: 600px) {
    div:hover > .mz_banner .moze-banner-slide-right,
    div:hover > .mz_banner .moze-banner-slide-left
    {
        opacity: 0;
    }
}

.bigbar-h1 {
    overflow-wrap: anywhere;
}

.bigbar-h1 .mz_wysiwyg {
    margin: 0px;
    line-height: 1.3;
}

.bigbar-h2 .mz_wysiwyg {
    line-height: 1.5;
}

#bigbar-down {
    animation: jumpy 0.5s ease 1s infinite alternate;
}

.bigbar-overlay-buttons {
    text-align: center;
    left: 0;
    right: 0;
    padding-top: 40px;
}

/* if buttons are not part of central alignment layout,
do not center, otherwise always center */
.bigbar-overlay-container:not(.overlay-align-center) .bigbar-overlay-buttons {
    text-align: inherit;
}

.bigbar-overlay-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    box-sizing: border-box;
}

@media screen and (max-width: 1200px) {
    .keep-aspect .bigbar-overlay-container {
        min-height: 370px !important;
    }
}

@media screen and (min-width: 1800px) {
    .keep-aspect .bigbar-overlay-container {
        min-height: 580px !important;
    }
}

[class*="overlay-align-"] {
    padding: 40px;
    max-width: 80%;
}

.overlay-align-center {
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.overlay-align-center .bigbar-h1 .mz_wysiwyg,
.overlay-align-center .bigbar-h2 .mz_wysiwyg {
    text-align: center;
    float: none;
}

.overlay-align-center .bigbar-h1,
.overlay-align-center .bigbar-h2 {
    float: none;
}

.overlay-align-left {
    justify-content: flex-end;
    align-items: flex-start !important;
    max-width: 45%;
    text-align: left !important;
}

.bigbar-overlay-container .overlay-align-left #bigbar-overlay {
    text-align: left;
    align-items: flex-start;
}

.overlay-align-right {
    justify-content: flex-end;
    align-items: flex-start;
    max-width: 45%;
    left: auto;
    float: right;
}

#bigbar-container:after, #bigbar:after {
    content: " ";
    display: table;
    clear: both;
}

.overlay-align-right #bigbar-overlay {
    text-align: left;
}


#bigbar-overlay {
    padding: 25px;
    box-sizing: border-box;
}

.bigbar-h1 .mz_wysiwyg {
    margin-bottom: 0.2em;
}

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

    .overlay-align-left, .overlay-align-right {
        max-width: 50%;
    }

}

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

    [class*="overlay-align-"] {
        justify-content: flex-end;
    }

    .overlay-align-left, .overlay-align-right {
        max-width: 60%;
    }

}

@media screen and (min-width: 841px) {

    .bigbar-overlay-container.overlay-with-buttons {
        padding: 50px;
        justify-content: center;
    }

}

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

    [class*="overlay-align-"] {
        padding: 20px;
    }

    .bigbar-overlay-container {
        min-height: auto !important;
    }

    .bigbar-overlay-container.overlay-with-buttons {
        padding: 20px;
    }

    .bigbar-overlay-buttons {
        padding-top: 20px;
    }

    .overlay-align-center {
        max-width: none;
    }

    .overlay-align-left, .overlay-align-right {
        max-width: 70%;
    }

    #bigbar-overlay {
        margin-top: 230px !important;
        padding: 20px;
    }

}

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

    .overlay-align-center, .overlay-align-left, .overlay-align-right {
        max-width: none;
    }

}


@keyframes jumpy {
    from {
        background-position: center 0px;
    }
    to {
        background-position: center 10px;
    }
}
@-webkit-keyframes jumpy { /* Safari and Chrome */
    from {
        background-position: center 0px;
    }
    to {
        background-position: center 10px;
    }
}

/********************************/
/* Banner buttons */
/********************************/

/* Center banner buttons for legacy designs (buttons inside #bigbar-overlay) */
#bigbar-overlay .bigbar-overlay-buttons .moze-wysiwyg-editor {
    justify-content: center;
}

/********************************/
/* Header, title, toptext, languages */
/********************************/

/* Boxed layout (.design-boxed) — only legacy designs set this body class. Moved from layout-shared.css. */
/* #wrap inherits --page-width from the .design-width-* body class (narrow/s/l/xl); m falls back to 1260px. */
.design-boxed #wrap {
    margin: 0 auto;
    max-width: var(--page-width, 1260px);
}

.design-boxed #bottom {
    box-sizing: content-box;
}

[class*="header-menu-"].design-boxed #header, .design-boxed #submenu {
    box-sizing: content-box;
}

/*#header::after {
    content: " ";
    clear: both;
    display: table;
}*/

#menu:after {
    content: ' ';
    display: table;
    clear: both;
}

.sticky #header {
    min-height: auto;
}

#shopicons, #toolicons {
    display: none;
}

#top:not(.sticky.is-fat):not(.sticky.is-semifat) ~ div #shopbar {
    visibility: visible;
}

#skip-link {
    display: none;
}

.header-menu-down #header {
    align-content: center;
}


@media screen and (min-width: 841px) and (min-height: 501px) {

    .header-menu-center #header {
        grid-template-columns: 1fr;
        grid-template-areas:
            "icons"
            "logo"
            "menu" !important;
    }

    .header-menu-center #title {
        max-width: none !important;
        /* Opt this row out of the grid's full-width stretch so it sizes to its content */
        justify-self: center;
        width: max-content;
    }

    .header-menu-center #header-actions {
        display: contents;
    }

}

@media screen and (max-width: 840px), screen and (max-height: 500px) {

    /* The 2px is not cosmetic: it reserves room for per-design item borders/outlines, which get clipped at margin 0.
       !important neutralizes per-design layout.css #menu margins - that file loads later and is not media-scoped. */
    #header-navigation #menu > ul {
        margin: 2px !important;
    }

    #header-navigation #menu {
        margin: 0 !important;
    }

    #header.floating {
        box-sizing: border-box !important;
    }

}

/*#top.sticky #header {
    min-height: auto;
}*/

/********************************/
/* Menu Bones */
/********************************/



@media screen and (max-width: 840px), screen and (max-height: 500px) {

    #menu ul li a {
        line-height: 1.3;
    }

    #menu > ul > li > a,
    #languages ul li > a,
    #submenu > div > ul > li > a {
        padding: 15px !important;
    }

    body:not(.mz_rtl) ul li a.foldable {
        padding-right: 55px !important;
    }

    body.mz_rtl ul li a.foldable {
        padding-left: 55px !important;
    }

    #menu ul li a {
        font-size: 16px !important;
        border: none !important;
    }

    #menu,
    #menu ul,
    #menu ul li {
        border: none !important;
        border-radius: 0 !important;
        float: none !important;
    }

    #menu ul li:hover,
    #menu ul ul li:hover {
        background: none !important;
    }

    .mobile-menu-arrow {
        width: 55px;
        max-height: 46px;
    }

    #menu > ul > li:after {
        content: "" !important;
    }

    /* Cosmetic resets moved from layout-shared.css (only legacy designs set these on menu items) */
    #menu ul li a,
    #languages ul li > a,
    #submenu ul li a {
        border: none;
        border-radius: 0 !important;
        text-shadow: none;
    }

    #menu > ul > li > a:hover,
    #menu > ul > li.selected > a,
    #menu ul ul li:hover a,
    #menu ul ul li.selected a,
    #menu ul ul li:hover,
    #menu ul ul li.selected,
    #languages li.selected > a,
    #languages li > a:hover {
        border: none !important;
        background-image: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
        border-radius: 0 !important;
    }

    #menu ul ul li a {
        background: none;
    }

    #header-navigation #menu {
        background-color: transparent !important;
    }

}

.mz_menu ul li {
    list-style-type: none !important;
}

/********************************/
/* Catalog */
/********************************/

#shopbar {
    border-radius: 6px;
}


/********************************/
/* Inner grid */
/********************************/

[class^="column-"] {
    padding: 20px;
}

.gridrow {
    margin: -20px;
}

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

    [class^="column-"] {
        padding: 20px 10px;
    }

    .gridrow {
        margin: -20px -10px;
    }

}

/********************************/
/* Sections (boxed layout) */
/********************************/

/* Only legacy designs set .design-boxed. Moved from layout-shared.css. */
.design-boxed .section-width-s.section-bigimg.section-nobox .container {
    max-width: 1100px;
}

.design-boxed .section-width-m.section-bigimg.section-nobox .container {
    max-width: 1100px;
}

.design-boxed .section-width-l.section-bigimg.section-nobox .container {
    max-width: 1200px;
}

/********************************/
/* Backend */
/********************************/