/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks-child
*/

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    hyphens: auto;
}

body {
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

.brxe-text-basic,
.brxe-text {
    line-height: 1.4;
}

.nowrap {
    white-space: nowrap;
}
/* - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - */
/* - - - - - - - - - -   ANFANG Buchung - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - */


#buchungsbox{
    padding-left: 20px;
    background-color: #303030;
    position: fixed;
    left: -290px;
    top: calc(50% - 156px);
    transition:left 1s ease-in-out;
    z-index: 2000;
}

#buchungsbox > div{
    float:left;
}

#buchungsbox.open {
    left: 0;
}

#dirs-box{
    width: 270px;
    height: 225px;
}

#dirs-box .material-icons {
    line-height: 1.3;
}

#dirs-box form > d21-row{
    margin-bottom:0;
}

#buchungs-titel h4{
    color: #9d855f;
    writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    clear: right;
    cursor: pointer;
    width: 32px;
    display: inline-block;
    font-size: 28px;
    padding: 17px 0px 0px 0px;
    user-select: none;
    text-transform: uppercase;
    line-height: 43px;
    font-weight: 700;
    width: 49px;
}

#d21-quickbook {
    display: flex;
    align-items: center;
}
/* - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - */
/* - - - - - - - - - - - - ENDE Buchung - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - */


/* - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - */
/* - - - - - - - -  ANFANG Animations-bereich - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - */

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px); /* Startet 50px unterhalb der ursprünglichen Position */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Endet in der Originalposition */
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(53px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ai-zweispaltiger-text__pre-block {
    opacity: 0; /* Startet unsichtbar */
    animation: slideInFromTop 1s ease-out forwards; /* Animation anwenden */
}

.ai-zweispaltiger-text__block, .ai-galerie__block {
    opacity: 0; /* Startet unsichtbar */
    animation: slideInFromBottom 1s ease-out forwards; /* Animation anwenden */
}

.ai-fixed-icons__block {
    position: absolute; /* Damit die Positionierung absolut bleibt */
    opacity: 0; /* Startet unsichtbar */
    animation: slideInFromRight 1s ease-out forwards; /* Animation anwenden */
}

#menu-header {
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0; /* Unsichtbar bis geöffnet */
    transition: opacity 0.3s ease-in-out;
}

#menu-header li {
    opacity: 0;
    transform: translate(-100px, 20px); /* Startposition: links und unten */
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: 0s; /* Dynamisch durch JS angepasst */
}

/* Zustand, wenn die Navigation geöffnet wird */
#menu-header.open {
    opacity: 1;
}

#menu-header.open li {
    opacity: 1;
    transform: translateY(0);
}


/* - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - */
/* - - - - - - - - -  ENDE Animations-bereich - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - */

/* Textfarben  */

.ebony {
    color: #222221;
}
.onyx {
    color: #303030;
}
.sandstone, li.onlinebuchen > a  {
    color: #9d855f !important;
}
.graphite {
    color: #727272;
}
.stone {
    color: #999999;
}
.light-grey {
    color: #e3e3e3;
}
.white {
    color: #ffffff;
}
/* Padding-Top-Klassen für die Blöcke "Zweispaltiger Text (mit H1)" und "Text (über die gesamte Breite)" */
.padding-top-0{
    padding-top:0;
}
.padding-top-5pro{
    padding-top:5%;
}
.padding-top-10pro{
    padding-top:10%;
}
.padding-top-15pro{
    padding-top:15%;
}
.padding-top-20pro{
    padding-top:20%;
}
.padding-top-25pro{
    padding-top:25%;
}
.padding-top-30pro{
    padding-top:30%;
}
.padding-top-35pro{
    padding-top:35%;
}
.padding-top-40pro{
    padding-top:40%;
}
.padding-top-45pro{
    padding-top:45%;
}
.padding-top-50pro{
    padding-top:50%;
}

/* Padding-Bottom-Klassen für die Blöcke "Zweispaltiger Text (mit H1)" und "Text (über die gesamte Breite)" */

.ai-bild-text-boxen-standard-padding-bottom{
   padding-bottom: 50px;
}
.padding-bottom-0 {
    padding-bottom:0;
}
.padding-bottom-5pro {
    padding-bottom:5%;
}
.padding-bottom-10pro {
    padding-bottom:10%;
}
.padding-bottom-15pro {
    padding-bottom:15%;
}
.padding-bottom-20pro {
    padding-bottom:20%;
}
.padding-bottom-25pro {
    padding-bottom:25%;
}
.padding-bottom-30pro {
    padding-bottom:30%;
}
.padding-bottom-35pro {
    padding-bottom:35%;
}
.padding-bottom-40pro {
    padding-bottom:40%;
}
.padding-bottom-45pro {
    padding-bottom:45%;
}
.padding-bottom-50pro {
    padding-bottom:50%;
}

/* margin-top-minus-Klassen für die Blöcke "Zwei Bilder" und "Großes Bild/Video" */

.margin-top-minus-15pro {
    margin-top:-15%;
}
.margin-top-minus-10pro {
    margin-top:-10%;
}
.margin-top-minus-5pro {
    margin-top:-5%;
}
.margin-top-0 {
    margin-top:0;
}
.margin-top-5pro {
    margin-top:5%;
}
.margin-top-10pro {
    margin-top:10%;
}
.margin-top-15pro {
    margin-top:15%;
}
.margin-top-20pro {
    margin-top:20%;
}
.margin-top-25pro {
    margin-top:25%;
}
.margin-top-30pro {
    margin-top:30%;
}
.margin-top-35pro {
    margin-top:35%;
}
.margin-top-40pro {
    margin-top:40%;
}
.margin-top-45pro {
    margin-top:45%;
}
.margin-top-50pro {
    margin-top:50%;
}
.margin-top-55pro {
    margin-top:55%;
}
.margin-top-60pro {
    margin-top:60%;
}
.margin-top-65pro {
    margin-top:65%;
}
.margin-top-70pro {
    margin-top:70%;
}
.margin-bottom-0 {
    margin-bottom:0;
}
.margin-bottom-5pro {
    margin-bottom:5%;
}
.margin-bottom-10pro {
    margin-bottom:10%;
}


/* Wort-Trennungen vermeiden  */

h2 {
    hyphens: manual;
}

.ai-barkarte__linke-spalte h2 {
    color: #ffffff !important;
}

/* Buttons  */
a.white-button, a.black-button{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    line-height: 40px;
    height: 40px;
    font-style: normal;
    border-radius: 0;
    letter-spacing: 0;
    text-transform: uppercase;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 0;
    margin-left: auto;
}
.ai-text__text-link.white-button, .ai-text__text-link.black-button{
    margin-right: auto;
}
a.white-button{
    color: #303030;
    border: 1px solid #303030;
    background-color: #ffffff;
}
a.white-button:hover{
    color: #a08465;
    border: 1px solid #303030;
    background-color: #303030;
}
a.black-button{
    color: #ffffff;
    border: 1px solid #ffffff;
    background-color: #303030;
}
a.black-button:hover{
    color: #a08465;
    border: 1px solid #303030;
    background-color: #ffffff;
}

/* Abstände der Blöcke nach unten */

.normal-distance {
    margin-bottom:80px;
}
.small-distance {
    margin-bottom:40px;
}
.no-distance {
    margin-bottom:0;
}


.ai-grosses-bild__block .ai-grosses-bild__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild wie ein Hintergrundbild */
    transition: transform 0.6s ease; /* Smooth transition */
    position: relative;
    overflow: hidden;
}

.ai-grosses-bild__block {
    overflow: hidden; /* Verhindert, dass das Bild aus dem Container ragt */
}

.ai-grosses-bild__block:hover .ai-grosses-bild__image {
    transform: scale(1.1); /* Skaliert das Bild gleichmäßig */
}

.color-white {
    color:#ffffff;
}



.bricks-mobile-menu li:last-child,
.bricks-mobile-menu li:nth-last-child(2) {
    display: inline-block;
}

.bricks-mobile-menu li:last-child a,
.bricks-mobile-menu li:nth-last-child(2) a {
    padding: 0 10px;
}



@media (max-width: 992px) {
    /* - - - - - - Abstände  - - - - - -  */
    .normal-distance {
        margin-bottom:65px;
    }
    .small-distance {
        margin-bottom:25px;
    }
    .no-distance {
        margin-bottom:0;
    }
}

@media (max-width: 767px) {

    h1, h2, h3, h4 {
        text-align: center !important;
    }
    /* Buttons  */
    a.white-button, a.black-button{
        margin-right: auto;
        margin-left: auto;
    }
}
@media (max-width: 478px) {
    /* - - - - - - Abstände  - - - - - -  */
    .normal-distance {
        margin-bottom:33px;
    }
    .small-distance {
        margin-bottom:18px;
    }
    .no-distance {
        margin-bottom:0;
    }
}
@media (max-width: 1279px) {
    #buchungsbox {
        display: none !important;
    }
}

@media (min-width: 1279px) {
    .buchen-bottom {
        display: none;
    }
}


@media (max-width: 1279px) {
    .buchen-bottom {
        text-align: center;
        position: fixed;
        bottom: 0px;
        margin: 0px auto;
        width: 100%;
        background-color: #303030;
        padding: 7px 0 5px 0;
        z-index: 0;
    }
    .buchen-bottom a {
        font-weight: 600 !important;
    }
}
