﻿html {
    max-height: 100vh;
    height: 100vh;
}
/*Normalize html and body elements,this style is just good to have*/
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.max-lines {
    width: 100%;
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

    .max-lines.lines2 {
        -webkit-line-clamp: 2;
    }

.search .mud-input {
    padding-left: 0.4em;
}

.desktop {
    height: 100vh;
}

#chat-bubble {
    position: fixed;
    bottom: 100px;
    right: 100px;
}

.selectedDate {
    border: 1px solid rgba(164, 29, 35,0.4) !important;
}

.dragging {
    border: 1px solid green;
}

.dropzone {
    border: 1px dotted black;
    padding: 0.5em;
}

.dropzone-candrop {
    border: 1px solid green;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.menuButton {
}

.menuItem {
}

#shopName {
    color: black;
    margin-top: auto;
    margin-bottom: auto;
}

.panelItemPadding {
    padding: 0.2em;
}

#shopLogo {
    max-height: var(--mud-appbar-height);
    max-width: 400px
}

    #shopLogo img {
max-height: var(--mud-appbar-height);
  width: 200px;
  padding: 0.2em;
    padding-top: 0.2em;
  padding-top: 0.5em;
    }

.defaultPadding {
    padding: 0.5em;
}

#mudMainContentPanelDesktop {
    padding: 0;
    position: relative;
    min-height: 100%;
    padding-bottom: 120px;
}

#mudMainContentSingleDesktop {
    position: relative;
    min-height: 100vh;
    padding-bottom: 120px;
    padding-top: 20px
}

#mudMainContentPanelMobile {
    padding-top: 65px;
    margin-bottom: 65px
}

#mudMainContentSingleMobile {
    padding-top: 15px;
    padding-bottom: 50px;
    margin-top: var(--mud-appbar-height);
}

#singleLayoutFooter {
    width: 100%;
    position: absolute;
    bottom: 0;
    padding: 0.5em;
    background-color: var(--mud-palette-appbar-background);
    color: var(--mud-palette-text-primary);
}

#panelLayoutfooter {
    width: 100%;
    position: absolute;
    bottom: 0;
    padding: 0.5em;
    background-color: var(--mud-palette-appbar-background);
    color: var(--mud-palette-text-primary);
}

#desktopBar {
    max-height: var(--mud-appbar-height);
    padding: 0em 0.8em;
    color: var(--mud-palette-text-primary);
    background-color: var(--mud-palette-appbar-background);
}

#desktopSubbar {
    width: 100%;
    padding-left: auto;
    padding-right: auto;
    color: var(--mud-palette-text-primary);
    background-color: var(--mud-palette-appbar-background);
}

#mobileBar {
    color: white;
    background-color: var(--mud-palette-primary);
    height: var(--mud-appbar-height);
    padding: 0em 0.8em;
    position: fixed;
    width: 100%;
    margin-bottom: 10em;
    top: 0;
    z-index: 100;
}

#desktopCategoriesBar {
    min-height: 30px;
    max-height: 60px;
	width: 100%;
}

.centerText {
    text-align: center;
}

.cartAmountScale {
    transform: scale(0.8);
}

.mud-input > input.mud-input-root-outlined, div.mud-input-slot.mud-input-root-outlined {
    padding: 10px 7px;
}

.mud-input-label-outlined {
    transform: translate(14px,14px) scale(1);
}

.productImageComponent {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.2;
    top: 0px;
    left: 0px;
}

.overlayContent {
    position: absolute;
    background-color: white;
}

    .overlayContent.right {
        right: 0px;
    }

    .overlayContent.left {
        left: 0px;
    }

    .overlayContent.top {
        top: 0px;
    }

    .overlayContent.right.top {
        border-radius: 0px 0px 0px 5px;
    }

    .overlayContent.left.top {
        border-radius: 0px 0px 5px 0px;
    }

    .overlayContent.bottom {
        bottom: 0px;
    }

        .overlayContent.bottom.right {
            border-radius: 5px 0px 0px 0px;
        }

        .overlayContent.bottom.left {
            border-radius: 0px 5px 0px 0px;
        }

#desktopSearchHome {
    width: 60vw;
    margin-left: 10em;
    transform: translateY(20vh);
}

#mobileSearchHome {
    width: 100%;
    margin-top: 2em;
    padding-left: 1em;
    padding-right: 1em;
}

.productItemComponent {
    transform: scaleX(1);
    border: hidden;
    padding: 0px;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(0px);
    transform: scale(1.04);
}

#bg-image {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    filter: blur(0px);
    transform: scale(1.04);
    background-image: url('Hintergrund.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
}

.mud-input-control {
    margin-top: 0;
}

div.scrollmenu {
    overflow-x: auto;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 0em;
    margin-top: 0em;
}

#categoriesBar {
    width: 100%;
    position: sticky;
    align-self: flex-start;
    top: 0;
    z-index: 100;
    background-color: var(--mud-palette-primary);
    justify-content: safe center;
    align-items: center;
    overflow-x: auto;
}

#orderListSideBar {
    max-height: 90vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

.ml-1em {
    margin-left: 1em;
}

.ml-05em {
    margin-left: 0.5em;
}

.mx-2em {
    margin-left: 2em;
    margin-right: 2em;
}

.mx-02em {
    margin-left: 0.2em;
    margin-right: 0.2em;
}

.mt-1em {
    margin-top: 1em;
}

.my-05em {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.px-05em {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.pl-02em {
    padding-left: 0.2em;
}

.orderChildRowBottomSpacing {
    padding-bottom: 1.5em;
}

.width10EmColumn {
    width: 10em;
}

.productSpecificationsImageColumn {
    width: 10em;
}

.productSpecificationsNoColumn {
    width: 10em;
}

.productSpecificationsNameColumn {
    width: auto;
}

.opacity-50 {
    opacity: 50%;
}

.amountComponentMaxHeight {
    max-height: 40px;
}

.amountComponent {
    border-top: solid 1px;
    border-bottom: solid 1px;
    border-radius: 0;
    border-left: hidden;
    border-right: hidden;
    min-width: 35px;
    max-width: 45px;
    height: 35px;
}

.amountComponentWMax {
    height: 60%
}

.amountComponentMax {
    border-top: hidden;
    height: 40%;
    font-size: var(--mud-typography-body2-size)
}

.p-0 {
    padding: 0;
}

.p-01em {
    padding: 0.1em !important;
}


.p-03em {
    padding: 0.3em;
}

.pt-1em {
    padding-top: 1em;
}

.pr-05em {
    padding-right: 0.5em;
}

.pl-05em {
    padding-left: 0.5em;
}

.yOverflowScroll {
    overflow-y: scroll;
}

.xOverflowHidden {
    overflow-x: hidden;
}

.xOverflowScroll {
    overflow-x: scroll;
}

#reclamationItems {
    max-height: 80vh;
    overflow-y: scroll;
}

#desktopBarComponent {
    z-index: 90;
    height: 100%;
    color: var(--mud-palette-appbar-text);
}

#mobileBarComponent {
    position: fixed;
    height: 60px;
    width: 100%;
    z-index: 50;
    background-color: var(--mud-palette-primary);
}

#mobileFooterComponent {
    position: fixed;
    bottom: 0px;
    margin-bottom: 0px;
    height: 50px;
    width: 100%;
    margin: 0;
    padding-bottom: 0;
    z-index: 50;
}

.mobileCategoriesOverlay > .mud-drawer {
    position: fixed;
}

.mobileKostenstelleOverlay > .mud-drawer {
    position: fixed;
}

#emailPreviewBox {
    border: solid 1px black;
    border-radius: 5px;
}

.productDetailsComponent {
    width: 100%;
    height: 100%;
}


.desktopProductItemComponent {
    /*padding-left: 0.1em;
    padding-right: 0.1em;
    width: 100%;
    height: 100%;
    justify-content: center;*/
    padding-left: 0.1em;
    padding-right: 0.1em;
    width: 100%;
    height: 100%;
    justify-content: center;
    background-color: var(--mud-palette-background);
    margin-left: 0.2em;
    margin-right: 0.2em;
    border-radius: var(--mud-default-borderradius);
    border: solid 0.5px lightgray;
    padding-bottom: 0.3em;
}

.mobileProductItemComponent {
    height: 100%;
    border-radius: 5px 5px 5px 5px;
    margin: 0.5em;
}

.sonderverkaufItemComponent {
    padding-left: 0.1em;
    padding-right: 0.1em;
    justify-content: center;
    background-color: var(--mud-palette-background);
    margin-left: 0.2em;
    margin-right: 0.2em;
    border-radius: var(--mud-default-borderradius);
    border: solid 0.5px lightgray;
    padding-bottom: 0.3em;
}

.sonderverkaufItemComponentHighlighted {
    border: 2px double var(--mud-palette-error);
}

.vkeSelectionComponentOverlay {
    border: solid;
    border-color: var(--mud-palette-primary);
    border-width: thin;
}

.searchComponentCategoriesOverlayDesktop {
    border-top: solid 1px #e1e1e1;
    border-bottom: solid 1px #e1e1e1;
    border-left: solid 1px #e1e1e1;
    border-right: hidden;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    padding-left: 0.5em;
    height: 35px;
    margin-left: auto;
    margin-right: auto;
}

.searchComponentCategoriesOverlayMobile {
    border-top: solid 1px #e1e1e1;
    border-bottom: hidden;
    border-left: solid 1px #e1e1e1;
    border-right: solid 1px #e1e1e1;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding-left: 0.5em;
    height: 35px;
    margin-left: auto;
    margin-right: auto;
}

#searchComponentResults {
    overflow-x: auto;
    height: 300px;
}

#searchColumnImage {
    width: 10%;
}

#searchColumnArtikelnummer {
    width: 15%;
}

#searchColumnBezeichnung {
    width: 75%;
}

#shoppingCartDrawerIcon {
    position: sticky;
    float: right;
    top: 4em;
    z-index: 10;
    transform: translateX(5px);
}

#shoppingCartDrawer {
    width: 100%;
    position: sticky;
    align-self: flex-start;
    top: 4em;
    z-index: 10;
    max-height: 95vh;
    min-height: 80vh;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 0.5em;
    margin-bottom: 0.5em;
    border-radius: var(--mud-default-borderradius);
}

#shoppingCartDrawerItems {
    max-height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    background-color: #FAFAFA;
}

.move {
    cursor: move;
}

.mud-expand-panel > .mud-expand-panel-header {
    padding: 0px;
}

.mud-collapse-wrapper-inner > .mud-expand-panel-content {
    padding: 0px;
}

.mud-expand-panel > .mud-panel-expanded {
    margin: 2px 0px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.visibleFlex {
    display: flex;
}

#searchComponent .mud-input-control-input-container {
    margin-top: auto;
    margin-bottom: auto;
}

#searchComponent .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text {
    margin-top: 0;
}

.searchBarDesktop {
    border-top: solid 1px #e1e1e1;
    border-bottom: solid 1px #e1e1e1;
    border-radius: 0;
    border-left: dashed 0.5px #e1e1e1;
    border-right: solid 0px #e1e1e1;
    padding-left: 0.5em;
    width: 100%;
    margin: 0;
}

.searchButtonDesktop {
    border-radius: 0px 4px 4px 0px !important;
}

.searchArticleButtonDesktop {
    border-radius: 0px !important;
    width: 30px;
}

.searchBarMobile {
    border-top: dashed 0.5px #e1e1e1;
    border-radius: 0;
    border-left: solid 1px #e1e1e1;
    border-right: solid 1px #e1e1e1;
    border-bottom: solid 0px #e1e1e1;
}

.searchButtonMobileLeft {
    border-radius: 0px 0px 0px 4px !important;
    width: 70% !important;
}

.searchButtonMobileRight {
    border-radius: 0px 0px 4px 0px !important;
    width: 30% !important;
}

#frontPageRecommendedPanel {
    background-color: rgba(255,255,255, 0.85);
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s; /* Firefox < 16 */
    -ms-animation: fadein 2s; /* Internet Explorer */
    -o-animation: fadein 2s; /* Opera < 12.1 */
    animation: fadein 2s;
}

#mobileSearchPanel {
    margin-top: var(--mud-appbar-height);
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.productComponentsWrapperDesktop {
    /*margin-bottom: 2em;*/
    margin-bottom: 0.3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.productComponentsWrapperMobile {
    margin-bottom: 0.5em;
}

.sliderPage {
    display: flex;
    overflow: hidden;
}

.mud-snackbar {
    width: 90vw;
}

.settingField {
}

.settingFields:nth-child(2n) .div {
    background-color: red;
}

.reorderableListItem:nth-child(2n) .div {
    background-color: var(--mud-palette-background);
}

#shopLayoutTopPanel {
    margin-bottom: 0.3em;
}

#shopLayoutBottomPanel {
    margin-top: 0.3em;
}

@property --startPercentageSwipNavigation {
    syntax: '<length-percentage>';
    initial-value: 0%;
    inherits: false;
}

@property --targetPercentageSwipNavigation {
    syntax: '<length-percentage>';
    initial-value: 10%;
    inherits: false;
}

.swipeNavigationIndicator {
    position: fixed;
    top: 0px;
    width: 100%;
    height: 100vh;
    z-index: 15;
    pointer-events: none;
    transition: background-color .6s ease-in-out;
}

    .swipeNavigationIndicator.left {
        left: -20px;
        background: linear-gradient(90deg, var(--mud-palette-primary) 0%, rgba(255,0,0,0) 0%);
    }

    .swipeNavigationIndicator.right {
        right: -20px;
        background: linear-gradient(270deg, var(--mud-palette-primary) 0%, rgba(255,0,0,0) 0%);
    }

    .swipeNavigationIndicator.left.isSwiping {
        background: linear-gradient(90deg, var(--mud-palette-primary) 0%, rgba(255,0,0,0) 10%);
    }

    .swipeNavigationIndicator.right.isSwiping {
        background: linear-gradient(270deg, var(--mud-palette-primary) 0%, rgba(255,0,0,0) 10%);
    }

.blurDialogBackground {
    backdrop-filter: blur(10px);
}
