@media print {
	#hb-global-footer{	
		display:none;
	}
}

/* Theming */
#hb-global-footer {
    --cms-spacing-050: 0.5rem;
    --cms-spacing-075: 0.75rem;
    --cms-spacing-100: 1rem;
    --cms-spacing-150: 1.5rem;
    --cms-spacing-200: 2rem;
    --cms-font-size-087: 0.875rem;
    --cms-font-size-100: 1rem;
    --cms-footer-container-max-width: 90rem;
    --cms-footer-border-width: 0.0625rem; /* 1px */
}


    /* Hornbach */
    #hb-global-footer {
        --cms-footer-text-align: center; 
        --cms-footer-headline-weight: 700; 
        --cms-footer-headline-font: badhouse;
        --cms-footer-base-font: Arial, Verdana, Helvetica, sans-serif;
    }


/* Container */

#hb-global-footer {
	padding: var(--cms-spacing-100) var(--cms-spacing-100) 0 var(--cms-spacing-100);
    background: var(--cms-semanticColors-container-medium-background, #f2f2f2);
    box-sizing: border-box;
    font-size: var(--cms-font-size-087);
    font-family: var(--cms-footer-base-font);
}

.hb-global-footer-inner {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 0 var(--cms-spacing-100);
    max-width: var(--cms-footer-container-max-width);
    margin: 0 auto;
    padding-top: var(--cms-spacing-100);
}

.hb-global-footer-inner-container-content-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: var(--cms-spacing-050);
}

.hb-global-footer-inner-container {
    border-bottom: var(--cms-footer-border-width) solid #ccc;
    background: var(--cms-semanticColors-container-medium-background,#f2f2f2);
    text-align: var(--cms-footer-text-align);
    padding-bottom: var(--cms-spacing-200);
    grid-column: 1 / span 12;
}

.hb-global-footer-inner-container:not(:first-child) {
    padding-top: var(--cms-spacing-200);
}

.hb-global-footer-inner-container:last-child {
    border: none;
}

/* Divider */
#hb-global-footer .hb-global-footer-divider {
    grid-column: span 12;
    padding: 0;
}

#hb-global-footer .hb-global-footer-divider-container-top,
#hb-global-footer .hb-global-footer-divider-container-middle,
#hb-global-footer .hb-global-footer-divider-container-bottom {
    display: none;
}

/* Images  */
#hb-global-footer img {
    max-width: 100%;
    height: auto;	
    max-height: 2.5rem;
}

/* List-Styles (A11Y: All items have to be wrapped in lists) */
#hb-global-footer ul,
#hb-global-footer li {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
}

/* Headlines */
.hb-global-footer-headline {
    grid-column: span 12;
    color: var(--cms-semanticColors-base-strong-text,#333);
    margin: 0;
    font-weight: var(--cms-footer-headline-weight); 
    font-family: var(--cms-footer-headline-font);
    font-size: 1.25rem;
    line-height: 1.5rem;
    margin-bottom: var(--cms-spacing-100);
}

/* Elements with background */
#hb-global-footer .payment-provider-container,
#hb-global-footer .delivery-provider-container,
#hb-global-footer .trusted-provider-container,
#hb-global-footer .socialmedia-provider-container,
#hb-global-footer .misc-provider-container {
    background: var(--cms-semanticColors-container-weak-background,#fff);
    text-align: center;
    padding: var(--cms-spacing-050);
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Elements in first row */
#hb-global-footer .hb-global-footer-payment-container,
#hb-global-footer .hb-global-footer-delivery-container,
#hb-global-footer .hb-global-footer-trusted-container {
    grid-column: 1 / span 12;
}


#hb-global-footer .hb-global-footer-payment-list,
#hb-global-footer .hb-global-footer-delivery-list,
#hb-global-footer .hb-global-footer-trust-list {
    grid-column: 1 / span 12;
    display: inline-grid;
    grid-gap: var(--cms-spacing-050);
    grid-template-columns: repeat(3, 1fr);
}

/* Payment */

#hb-global-footer .payment-provider-container {
    display: inline-block;
}

/* Link-Lists */
#hb-global-footer .hb-global-footer-linklist-container {
    padding-bottom: var(--cms-spacing-100);
    padding-top: var(--cms-spacing-100);
}

#hb-global-footer .hb-global-footer-contact-container {
    padding-top: var(--cms-spacing-200);
}

#hb-global-footer .hb-global-footer-sortiment-container {
    padding-bottom: var(--cms-spacing-200);
}

#hb-global-footer .contact-links-content,
#hb-global-footer .services-links-content,
#hb-global-footer .company-links-content,
#hb-global-footer .sortiment-links-content {
    grid-column: span 12;
}

#hb-global-footer .hb-global-footer-contact-container,
#hb-global-footer .hb-global-footer-services-container,
#hb-global-footer .hb-global-footer-company-container,
#hb-global-footer .hb-global-footer-sortiment-container {
    grid-column: auto / span 12;
}

/* Apps */
#hb-global-footer .hb-global-footer-mobileapp-container {
	gap: var(--cms-spacing-050);
    display: flex;
	flex-direction: column;	
}
#hb-global-footer .hb-global-footer-mobileapp-apps {
    display: flex;
    gap: var(--cms-spacing-050);
    flex-direction: row;
    justify-content: center;    
    flex-wrap: wrap;
}

#hb-global-footer .hb-appstore-container {
    width: max-content;
}

/* Socialmedia */
#hb-global-footer .hb-global-footer-socialmedia-container {
    display: flex;
	flex-direction: column;	
}

#hb-global-footer .hb-global-footer-socialmedia-icons {
    display: flex;
    gap: var(--cms-spacing-050);
    flex-direction: row;
    justify-content: center;    
    flex-wrap: wrap;    
}

#hb-global-footer .hb-global-footer-socialmedia-container .hb-global-footer-headline {
    text-align: center;
}

#hb-global-footer .socialmedia-provider-container {
    display: inline-flex;
    width: 3.5rem;
	height: 3.5rem;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#hb-global-footer .socialmedia-provider-container img {
	vertical-align: middle;
}

/* Misc */

#hb-global-footer .hb-global-footer-misc-icons {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: var(--cms-spacing-050);
    grid-column: 1 / span 12;
}

#hb-global-footer .misc-item {
    grid-column: auto / span 12;
    text-align: center;
}

#hb-global-footer .misc-image {
    width: auto;
    height: auto;
}

/* Info-Text */
#hb-global-footer .hb-global-footer-info-container {
    grid-column: 1 / span 12;    
}
#hb-global-footer .hb-global-footer-info-container p {
    color: var(--cms-semanticColors-base-strong-text, #333);
}
#hb-global-footer .hb-global-footer-info-container a {
	color: inherit;
    display: inline-block;
    font-size: inherit;
    line-height: inherit;
	text-decoration: underline;
}
/* Texts */
#hb-global-footer a {
    display: block;
    font-family: var(--cms-footer-base-font);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none;
    font-size: var(--cms-font-size-100);
}

#hb-global-footer p {
    font-family: var(--cms-footer-base-font);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none;
    font-size: var(--cms-font-size-100);
    line-height: 1.5rem;
}

#hb-global-footer a,
#hb-global-footer a:hover {
    color: var(--cms-semanticColors-base-strong-text,#333);
}

#hb-global-footer .hb-global-footer-textlink a {
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    line-height: 1.5rem;
}

#hb-global-footer .hb-global-footer-textlink a:hover {
    text-decoration: underline;
}

/* Viewports */


@media (min-width: 30rem) {
    .hb-global-footer-divider-container-bottom,
    .hb-global-footer-divider-container-middle {
        display: block;
    } 

    #hb-global-footer .misc-item {
        grid-column: auto / span 6;
    }  
}

/* > 768px */
@media (min-width: 48rem) {

    #hb-global-footer .hb-global-footer-inner {
        grid-gap: var(--cms-spacing-200);
    }

    #hb-global-footer .hb-global-footer-inner-container {
        padding-bottom: 0;
        padding-top: 0;
        text-align: left;
    }

    /* Grid */  
    #hb-global-footer .hb-global-footer-payment-container {
        grid-column: 1 / span 6;
    }
    #hb-global-footer .hb-global-footer-payment-list {
        grid-template-columns: repeat(4, 1fr);
    }
    #hb-global-footer .hb-global-footer-delivery-container,
    #hb-global-footer .hb-global-footer-trusted-container {
        grid-column: auto / span 3;
    }
    #hb-global-footer .hb-global-footer-delivery-list,
    #hb-global-footer .hb-global-footer-trust-list {
        grid-template-columns: repeat(2, 1fr);
    }
    #hb-global-footer .hb-global-footer-mobileapp-container {
        grid-column: 1 / span 4;
    }   
    #hb-global-footer .hb-global-footer-socialmedia-container {
        grid-column: auto / span 4;
    }
    #hb-global-footer.hb-global-footer-info  .hb-global-footer-socialmedia-container {
        grid-column: auto / span 3;
    }
    #hb-global-footer .hb-global-footer-info-container {
        grid-column: 1 / span 9;    
		padding-bottom: 1.875rem;
    }
    #hb-global-footer .hb-global-footer-misc-container {
        grid-column: 10 / span 3;
        padding-bottom: 1.875rem;
        text-align: left;
    }
    #hb-global-footer .hb-global-footer-misc-container a {
        text-align: left;
    }
    
    #hb-global-footer .hb-global-footer-mobileapp-apps,
    #hb-global-footer .hb-global-footer-socialmedia-icons {
        justify-content: flex-start;        
        padding-bottom: 1.875rem;
    }

    #hb-global-footer .misc-item {
        grid-column: 1 / span 12;
    }

    #hb-global-footer .hb-global-footer-contact-container,
    #hb-global-footer .hb-global-footer-services-container,
    #hb-global-footer .hb-global-footer-company-container,
    #hb-global-footer .hb-global-footer-sortiment-container {
        grid-column: auto / span 3;
    }

    #hb-global-footer .hb-global-footer-divider-container-top {
        padding: 0;
    }
    #hb-global-footer .hb-global-footer-divider-container-top,
    #hb-global-footer .hb-global-footer-divider-container-bottom {
        display: block;
    }
    .hb-global-footer-payment-container,
    .hb-global-footer-delivery-container,
    .hb-global-footer-trusted-container,
    .hb-global-footer-contact-container,
    .hb-global-footer-services-container,
    .hb-global-footer-company-container,
    .hb-global-footer-sortiment-container,
    .hb-global-footer-mobileapp-container,
    .hb-global-footer-socialmedia-container {
        border: none;
    }
    .hb-global-footer-inner-container.hb-global-footer-divider-container-middle {
        display: none;
    }

    #hb-global-footer .hb-global-footer-socialmedia-container .hb-global-footer-headline {
        text-align: left;
    }
}

/* 
###########################
    Minimal-Footer
###########################
*/
#hb-checkout-footer {
    background: var(--cms-semanticColors-container-weak-inverted-background, #333333);
    padding-bottom: 0;
    margin: 0 -0.9375rem;
    text-align: center;
    padding-top: 0;
}

#hb-checkout-footer .hb-global-footer-inner-container-content-wrapper {
    max-width: 90rem;
    margin: 0 auto; 
    display: block;
}

#hb-checkout-footer * {
	margin: 0;
	padding: 0;
}

#hb-checkout-footer ul {
    gap: .75rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

#hb-checkout-footer ul li {
    display: inline-block;
    list-style: none;
}

#hb-checkout-footer .bottombar-links-content {
    text-align: center;
    padding: 0.75rem;
    grid-column: 1 / span 12;
}

#hb-checkout-footer .bottombar-links-content ul li a {
    border-right: var(--cms-footer-border-width) solid var(--cms-semanticColors-container-weak-inverted-border,#999999);
    font-family: var(--cms-footer-base-font);
    line-height: 1rem;
	font-size: var(--cms-font-size-087);
	font-weight: 400;
    padding: 0 0.75rem 0 0;
    color: var(--cms-semanticColors-base-strong-textOnBackground,#fff);
}

#hb-checkout-footer .bottombar-links-content ul li a:hover {
    color: var(--cms-semanticColors-base-strong-textOnBackground,#fff);
}

#hb-checkout-footer ul li:last-of-type a {
    border-right: none;
}

#hb-checkout-footer ul li:last-child a {
    padding-right: 0;
    border-right: none;
    margin-right: 0;
}

@media (min-width: 48rem) {
    #hb-checkout-footer .bottombar-links-content ul li a {
        border-right: var(--cms-footer-border-width) solid var(--cms-semanticColors-base-weak-border,#CCCCCC);
        margin-right: 0.75rem;
        line-height: 1.5rem;
        font-size: var(--cms-font-size-100);
        font-weight: 400;
    }

    #hb-checkout-footer ul li:last-child a {
        border-right: none;
    }
}

/* 
###########################
    Scroll to top Button
###########################
*/

#scroll-to-top-button *, #scroll-to-top-button ::after, #scroll-to-top-button ::before {
    box-sizing: border-box;
}

#scroll-to-top-button {
   text-align: center;
   text-decoration: none;
   width: 40px;
   height: 40px;
   background: rgba(33, 33, 33, 0.6);
   position: fixed;
   bottom: 30px;
   right: 30px;
   z-index: 9;
   display:none;
}

#scroll-to-top-button .scroll-button-text {
   background: rgba(33, 33, 33, 0.6);
   bottom: 0;
   color: #FFFFFF;
   height: 40px;
   padding-top: 13px;
   position: absolute;
   right:40px;
   width:max-content;
   opacity:0;
   font-family: TradeGothic, Arial, Helvetica, sans-serif;
   font-size: 14px;
   text-align: right;
   line-height: normal;
   padding-left:12px;
}
	
#scroll-to-top-button .scroll-button-icon {
    padding-top: 8px;
    text-align: center;
    display: flex;
    width: 100%;
    justify-content: center;
    height: 100%;
}

#scroll-to-top-button:hover .scroll-button-text  {
   opacity:1;
    transition: opacity 0.5s ease-in;
}