/* hide number input arrows*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Back to top button */
#btn-back-to-top {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 100;
    display: none;
}

/*pointer effect*/
.pointer {
    cursor: pointer;
}

/* FONTS *************************/

@font-face {
    font-family: "Montserrat";
    src: url("https://weingut-herrenhof.de/webshop_images/fonts/Montserrat-VariableFont_wght.ttf");
    font-weight: 100 900;
}

@font-face {
    font-family: "Lora";
    src: url("https://weingut-herrenhof.de/webshop_images/fonts/Lora-VariableFont_wght.ttf");
    font-weight: 100 900;
}

/***GENERAL***/

body {
    font-family: "Open Sans", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.lora{
    font-family: "Lora" !important;
}

footer {
    margin-top: auto;
    color: white;
}

footer .nav-link{
    color: var(--blue-color) !important;
}

footer .big-icon{
    font-size: 48px;
    margin-bottom: 24px;
}

footer .copyright{
    background-color: var(--orange-color);
}

footer .border-start{
    border-left: 1px solid rgba(128,128,128,.2) !important;
}

footer .container{
    max-width: 1232px;
}

footer .grid-container a {
    color: white;
    border-bottom: none;
    text-decoration: none;
}

.desktop {
    display: table-row;
}

.contact-button {
    display: block !important;
    position: fixed;
    bottom: 4rem;
    right: 1rem;
    z-index: 1
}

.mobil {
    display: none;
}

.btn.btn-primary {
    color: var(--background-color);
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.btn-outline-primary {
    color: var(--main-color);
    border-color: var(--main-color);
}

.btn-outline-primary:hover {
    color: var(--background-color);
    border-color: var(--main-color);
    background-color: var(--main-color);
}

.btn-secondary{
    background-color: var(--red-color);
    border:2px solid var(--blue-color);
}

.btn-secondary:hover{
    background-color: var(--btn-hover-color);
    border-color:var(--btn-hover-border-color);
    color: var(--btn-hover-text-color);
}

.btn-warning{
    background-color: var(--red-color);
    color: var(--light-color);
}

.btn-info{
    color: white;
    border-radius: 56px;
    font-size: .85rem;
    background-color: var(--blue-color);
    padding: .65rem 2rem;
    line-height: 1.6rem;
    font-weight: 600;
}

.btn-outline-light{
    border-radius: 56px;
    font-size: .85rem;
    padding: .65rem 2rem;
    line-height: 1.6rem;
    font-weight: 600;
}

.btn-danger{
    background-color: #e52222;
    font-size: 14px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.light {
    color: var(--text-color-light);
}

.link-light:hover,
a:hover {
    color: var(--text-color);
    text-decoration: none;
}

.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.form-check-input:focus,
.form-select:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.25rem var(--main-color-25alpha);
}

.input-group > .form-select:focus {
    z-index: 0;
}

.bg-white {
    background-color: white;
}

.bg-site {
    background: var(--background-color);
}

.bg-dark {
    background-color: var(--bg-dark-color) !important;
}

.form-control:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.25rem var(--main-color-25alpha);
}

.text-muted {
    color: var(--text-color-light);
}

.text-light {
    color: var(--light-color);
}

.letter-spacing {
    letter-spacing: 0.1em;
}

.font-09-rem {
    font-size: 0.9rem;
}

.font-s {
    font-size: small;
}

.font-xs {
    font-size: x-small;
}

.font-m {
    font-size: medium;
}

.font-l {
    font-size: large;
}

.font-xl {
    font-size: x-large;
}

.font-xxl{
    font-size: xx-large;
}

.text-color {
    color: var(--text-color) !important;
}

.text-color-light {
    color: var(--text-color-light) !important;
}

.text-color-grey{
    color: var(--text-color-grey) !important;
}

.text-color-blue{
    color: var(--blue-color) !important;
}

.text-color-red{
    color: var(--red-color) !important;
}

.text-color-transparent{
    color: transparent !important;
}

.categorylink .text-underline {
    text-decoration: underline;
    text-decoration-color: var(--text-color-grey) !important;
}

.link-light {
    color: var(--text-color-light) !important;
}

.link-dark {
    color: var(--text-color);
    /*text-decoration: none;*/
}

.link-red{
    color: var(--red-color) ;
}

.link-orange{
    color: var(--orange-color);
}

.small-hover-shadow {
    transition: box-shadow 0.3s ease;
}

.small-hover-shadow:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Smaller box shadow on hover */
}

.expertise_a {
    color: var(--text-color-light);
    text-decoration: none;
}

.expertise_a:hover,
.expertise_a:active,
.expertise_a:focus {
    text-decoration: none;
    color: var(--text-color-light);
}

.toggle-element {
    display: none;
}

.max-height-420px {
    max-height: 420px;
}

.minilist {
    overflow-y: scroll;
}

/* Navbar */

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-toggler {
    color: var(--background-color);
    background-color: var(--button-secondary-color);
    border-color: var(--button-secondary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 128, 0, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-brand img {
    min-width: 8em;
    max-width: 10em;
    margin-left: 2em;
    margin-right: 2em;
}

.navbar-collapse {
    display: flex;
}

.logo-text{
    font-size: 1.6rem;
    font-weight: 600;
}

.nav-link {
    color: var(--text-color) !important;
}

.border-bottom-shadow {
    /*box-shadow: 0 6px 6px -6px var(--main-color);*/
    border-bottom: 0.01em dotted var(--main-color);
}

#navbarSupportedContent .nav-link:hover{
    color: var(--blue-color) !important;
}

#grp_aktiv {
    text-decoration: underline;
    text-decoration-color: var(--blue-color);
    text-underline-offset: 8px;
    text-decoration-thickness: 3px;
}

#search-input {
    min-width: 8em;
}

.hover-animation {
    transition: 0.2s ease-in-out;
    border-bottom: 1px solid transparent;
}

.hover-animation:hover {
    transform: translateY(-2px);
    border-color: var(--main-color);
}

.versandland {
    max-width: 10ch;
}

.dropdown-menu[data-bs-popper] {
    right: 0;
    left: auto;
    max-height: 12em;
    overflow-y: auto;
    width: fit-content;
    overflow-x: clip;
    height: fit-content;
}

/* Shop Menü*/
#categories ul {
    list-style: none;
    flex-direction: row;
}


#categories li {
    float: left;
    border: 1px solid rgba(0,0,0,.125);
}

/* Main Hero */
@keyframes hero-text {
    0% {
        transform: translateY(10%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-text {
    font-family: Montserrat, sans-serif;
    background-color: rgba(0, 0, 0, 0.8);
    animation: hero-text 1s ease-in-out;
}

.hero-text p {
    font-size: 1.2rem;
    font-weight: 400;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

/*FILTER*/

.wine-filter {
    padding: 0.25rem 1.5rem;
    color: var(--background-color);
    background-color: var(--main-color);
    font-size: 1rem;
    border-radius: 2em;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-weight: 400;
    transition: transform 0.4s ease-in-out;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    line-height: 2.3;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.wine-filter i {
    font-size: 1em !important;
    line-height: unset !important;
}

.filter-cluster-container {
    display: none;
    color: var(--background-color);
}

.filter-cluster-container .row {
    background-color: var(--main-color);
}

.filter-cluster-container .row * {
    color: var(--background-color);
    background-color: var(--main-color);
}

.filter-cluster-container .form-check .form-check-input {
    margin-left: -1rem;
    border: 2px solid var(--background-color);
    margin-right: 0.2rem;
}

.filter-cluster.ancestor {
    display: none;
}

.wine-filter:hover {
    transform: scale(1.1);
}

.filter-list {
}

.list-group {
    display: revert;
    flex-direction: revert;
    padding-left: 0.5em;
}

.list-group-item {
    border: none;
}

.accordion-item {
    border: none;
}

.accordion-button:not(.collapsed) {
    color: var(--background-color);
    background-color: var(--button-secondary-color);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: var(--main-color-25alpha);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/*ARTICLE LIST*/
#ausgetrunken_blende {
    visibility: hidden;
}


#ausgetrunken_an {

}

#articles {
}

.categorylink a {
    color: var(--text-color-grey);
    text-decoration: none;
}

.article {
    pointer-events: auto;
}



.article .card {
    /*min-height: 390px;*/
}

.article a {
    text-decoration: none;
}

.article p {
    margin: 0;
}

.article img {
    max-height: 400px;
    -o-object-fit: contain;
    object-fit: contain;
    min-height: 250px;
}

.fact {
    background: var(--main-color);
    color: var(--text-color-light);
    font-size: x-small;
    letter-spacing: 0.2em;
    padding: 1em 1em 0.8em;
    width: 100%;
    height: 100%;
    font-weight: bold;
    min-height: 33px;
}

.badge-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.badge {
    position: relative;
    margin-right: 5px;
}

.shopnotiz {
    overflow: hidden;
}

.article .shopnotiz {
    font-size: small;
    color: var(--text-color);
}

.article .pricing-div {
    font-size: medium;
    line-height: 1.3rem;
}

.article .pricing-div a {
    font-size: medium;
}

.article .pricing-div button {
    font-size: x-small;
}

.article .name-div {
    font-size: medium;
}

.article .name-div :hover {
    color: var(--blue-color);
}

/** Colors for badges **/

.warengruppen-color-1 {
    background-color: #f8df81;
}

.warengruppen-color-2 {
    background-color: #f6aa90;
}

.warengruppen-color-3 {
    background-color: #f6b4bf;
}

.warengruppen-color-4 {
    background-color: #d5b6d5;
}

.warengruppen-color-5 {
    background-color: #badfda;
}

.warengruppen-color-6 {
    background-color: #9bd0b7;
}

/**DETAIL**/

/* striped table */
/*.table-striped > div:nth-child(odd) {*/
/*	background-color: rgba(164, 164, 164, 0.1);*/
/*}*/

.detail #detail-img{
    max-height: 1000px;
    /* the coordinate of the zoom */
    --x: 50%;
    --y: 50%;
    /**/
    transform: scale(var(--zoom));
    transform-origin: var(--x) var(--y);
    clip-path: inset(
      calc((1 - 1/var(--zoom)) * (var(--y)))
      calc((1 - 1/var(--zoom)) * (100% - var(--x)))
      calc((1 - 1/var(--zoom)) * (100% - var(--y)))
      calc((1 - 1/var(--zoom)) * (var(--x)))
    );
  }

#detail-img:hover{
    --zoom:3;
}

.big-card{
    flex-direction: row !important;
}


.table-striped > div:not([style*="display:none"]):nth-child(odd) {
    background-color: rgba(164, 164, 164, 0.2);
}

.odd-row-background {
    background-color: rgba(164, 164, 164, 0.2);
}

.carousel-indicators {
    margin-bottom: 0;
}

.detail img {
    /*max-height: 20rem;*/
    -o-object-fit: contain;
    object-fit: contain;
}

.nuancen_bild {
    max-height: 4em !important;
}

.auszeichnungen_bild {
    max-height: 4em !important;
    margin-right: 0.5em;
}

.target {
    max-width: 100%;
    max-height: 100%;
}

#collapseShopNotizContainer #collapseShopNotiz.collapse:not(.show) {
    display: block;
    height: 5rem;
    overflow: hidden;
}

#collapseShopNotizContainer #collapseShopNotiz.collapsing {
    height: 3rem;
}

#collapseShopNotizContainer a.collapsed::after {
    content: "+ Mehr anzeigen";
}

#collapseShopNotizContainer a:not(.collapsed)::after {
    content: "- Weniger anzeigen";
}

.sortiment-container li {
    cursor: pointer;
    /*border-bottom: 1px solid black;*/
    box-shadow: 0 6px 6px -6px var(--main-color);
    margin-bottom: 1em;
}

/*WARENKORB*/

@media screen and (max-width: 768px) {
    .desktop {
        display: none;
    }

    .mobil {
        display: table-row;
    }
}

/*KASSE*/

input[type="checkbox"] {
    height: 1.1rem;
    width: 1.1rem;
}

input[type="date"] {
    text-transform: uppercase;
}

.inp {
    width: 100%;
    margin-top: 0.5rem;
}

.form-label {
    margin-bottom: 0.2rem;
}

.form-floating > label {
    left: unset;
}

.invalid-feedback {
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.back-button {
    bottom: 75%;
}

.shopping-cart-sticky {
    position: sticky;
    z-index: 100;
    top: 10rem;
}

#fsendDoi {
    margin-left: 0;
    width: 25px;
    height: 25px;
}

.errorDiv {
    display: none;
}

/*mobile shopping cart row in detail effectively starts at bootstrap5 breakpoint SM and goes until XS*/
@media only screen and (min-width: 0px) and (max-width: 767.98px) {
    .cart-container {
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: #fff;
        width: 100%;
        z-index: 50;
        border-top: 1px solid #aaa;
        margin-bottom: 0;
    }
}

/*mobile weiter in wk starts at MD breakpoint and goes until XS**/
@media only screen and (min-width: 0px) and (max-width: 992px) {

    #btn-back-to-top {
        bottom: 6rem;
    }

    .shopping-cart-sticky {
        top: unset;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        width: 100%;
        z-index: 50;
        border-top: 1px solid #aaa;
        padding: 1em;
        margin-bottom: 0;
    }

    .shopping-cart-sticky .row {
        border: none !important;
    }

    .shopping-cart-sticky .row .bg-site {
        background-color: var(--bs-white);
    }

    .submit-order-container {
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: #fff;
        width: 100%;
        z-index: 50;
        border-top: 1px solid #aaa;
        margin: 0;
    }
}

/**BESTELLUNG PRÜFEN*/

#gutscheincode {
    display: none;
}

#gutscheinwert {
    display: none;
}

/*.uebersicht_zeile {*/
/*    height: 2em;*/
/*}*/

/*.uebersicht_name {*/
/*    width: 40%;*/
/*    float: left;*/
/*}*/

/*.uebersicht_anzahl {*/
/*    width: 10%;*/
/*    float: left;*/
/*    text-align: end;*/
/*}*/

/*.uebersicht_einzelpreis, .uebersicht_postenpreis {*/
/*    width: 25%;*/
/*    float: left;*/
/*    text-align: end;*/
/*}*/

/*@media only screen and (min-width: 0px) and (max-width: 758px) {*/
/*    .uebersicht_zeile {*/
/*        height: 5em;*/
/*    }*/

/*    .uebersicht_postenpreis {*/
/*        display: none;*/
/*    }*/

/*    .uebersicht_einzelpreis {*/
/*        float: right;*/
/*    }*/
/*}*/
.zoom-image {
    max-height: 40em !important;
}

@media (min-width: 768px) {
    .desktop-container {
        background-color: #fff;
    }
}


/*Startpage*/
.site{
    min-height: 100vh;
}

.text-content p{
    color: var(--text-color-grey);
    font-size: 16px;
    line-height: 1.5rem;
}

.startpage .link {
    color: var(--blue-color) !important;
    font-size: 16px !important;
    font-weight: 600;
}

.header-homepage h1{
    font-size: 3.5rem;
}

.header-homepage .header-subtitle {
    color: white;
    font-size: 1.3rem;
}

.page1 .header-homepage p{
    margin-bottom: 0;
}

/**page 5 (contact)**/

.contact-info {
    color: var(--text-color);

}


.contact-info:hover{
    color: var(--text-color-grey);
    
}

.startpage .header-homepage{
    background-position: 50% 15%;
   /*background-position: 50% 88%;*/

    background-repeat: no-repeat;
    background-size: cover;

    /*background-image: url('https://weingut-herrenhof.de/webshop_images/herrenhof_gruss.png') !important;*/

    background-image: url('https://weingut-herrenhof.de/webshop_images/herrenhof-weingut-background.jpg') !important;
	/*bild für weihnachten 2024*/
	/*wenn weihnnahctssortiment weg ist wieder weg*/
	background-size: 80%;
	/*background-size: 50%;*/ 
    /*background-image: url('https://weingut-herrenhof.de/webshop_images/herrenhof-weihnachtssortiment-v2.jpg') !important;*/

}

#page .header-homepage{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('https://weingut-herrenhof.de/webshop_images/herrenhof_background.jpg');


}

#page .header-separator{
    background-color: transparent !important;
}

#page2 .header-homepage{
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('https://weingut-herrenhof.de/webshop_images/herrenhof-brennerei-background.JPG');
}

#page2 .header-separator{
    background-color: transparent !important;
}

#page3 .header-homepage{
    background-position: 50% 75%;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('https://weingut-herrenhof.de/webshop_images/herrenhof-gaestezimmer-background.jpg');
}

#page3 .header-separator{
    background-color: transparent !important;
}

#page5 .header-homepage{
    background-position: 50% 22%;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('https://weingut-herrenhof.de/webshop_images/herrenhof-kontakt-background3.jpg');
}

#page5 .header-separator{
    background-color: transparent !important;
}

#header-background-img .header-homepage{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('https://weingut-herrenhof.de/webshop_images/herrenhof_shop_background.JPG');
}

#header-background-img .header-separator{
    background-color: transparent !important;
}

.startpage .header-separator{
    background-color: transparent !important;
}

/*bootstrap lg breakpoint */

@media (min-width: 992px) {
    .sortiment-minilist {
        max-height: 35% !important;
    }
    .grid-container .col-sm-3{
        padding-top: 80px !important;
        padding-bottom: 80px;
    }

    

    .container {
        max-width: 1232px;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .text-align-md-right{
        text-align: right !important;
    }
    
}

/*bootstrap md breakpoint*/
@media (min-width: 768px) and (max-width: 991.98px) {
    .zoom-image {
        max-height: 37em !important;
    }

    .dropdown-menu[data-bs-popper] {
        left: 50%;
        transform: translateX(-50%);
    }

    .sortiment-minilist {
        max-height: 35% !important;
    }

    .grid-container .col-sm-3{
        padding-top: 80px !important;
        padding-bottom: 80px;
    }
    
    .header-homepage{
        background-position: center center;
    }

    .text-align-md-right{
        text-align: right !important;
    }
    
}

/*bootstrap 5 sm breakpoint */
@media (min-width: 576px) and (max-width: 767.98px) {
    .zoom-image {
        max-height: 32em !important;
    }

    .navbar-nav.container-sm {
        padding-left: var(--bs-gutter-x, 0.75rem);
    }

    .dropdown-menu[data-bs-popper] {
        left: 50%;
        transform: translateX(-50%);
    }

    .sortiment-minilist {
        max-height: 70% !important;
    }

    .p-y-sm-5{
        padding-bottom: 5em;
        padding-top: 5em;
    }
}

/*bootstrap 5 xs breakpoint */
@media (max-width: 575.98px) {
    .dropdown-menu[data-bs-popper] {
        left: 50%;
        transform: translateX(-50%);
    }

    .zoom-image {
        max-height: 30em !important;
    }

    #imageModal {
        height: 80%;
    }

    .navbar-nav.container-sm {
        padding-left: var(--bs-gutter-x, 0.75rem);
    }

    .sortiment-minilist {
        max-height: 60% !important;
    }

    .contact-button {
        bottom: 9rem;
    }

    
    .p-y-sm-5{
        padding-bottom: 5em;
        padding-top: 5em;
    }

    
}

.weihnachten .modal-content {
    background: url('https://weingut-herrenhof.de/webshop_images/herrenhof_gruss.png') no-repeat center center;
    background-size: cover;
    height: 400px; /* Adjust as needed */
}
.weihnachten .modal-body {
    color: white; /* Text color for better readability */
    padding: 20px;
    border-radius: 10px;
}

.weihnachten .btn-close{
    background-color: white !important;
    opacity: 1;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c0392b'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

:root {
    /*COLORS*/
    --main-color: #333;
    --main-color-25alpha: rgba(92, 57, 42, 0.25);
    --detail-table-background-color: rgba(164, 164, 164, 0.2);
    --button-secondary-color: #6c757d;
    --sec-color: #cdd73f;
    --tert-color: #f5c73b;
    --light-color: #e3e3db;
    --background-color: #ffffff;
    --text-color: #2a2a2a;
    --bg-dark-color: #222;
    --text-color-light: #ffff;
    --text-color-grey: #8E9DAE;
    --blue-color: #03a9f4;
    --red-color : #c0392b;
    --orange-color: #FF9800;
    --btn-hover-color: #dad8da;
    --btn-hover-border-color:#2ebcfc;
    --btn-hover-text-color:#515151;
}
