@import "fonts/Poppins/stylesheet.css";
@import "fonts/PlayfairDisplay/stylesheet.css";
/*
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@0;1&family=Poppins:wght@300;500;800&display=swap');
*/

img {max-width: 100%;}

a.text-reset{
    text-decoration: none;
}

#page-wrapper {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

    #page-header  {
        min-height: 4em;
        padding-bottom: 8vw;
    }  
    #page-header.header-img,
    #page-header.header-img .header-wrapper
    {
        position: relative;
    }
    #page-header.header-img {
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    .page-impressionen #page-header.header-img 
    {
        background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.05), rgba(0,0,0,0.0)), url(fotos/feier2-3000x1200.jpg);
        min-height: 30vw;
    }
    .page-programm #page-header.header-img,
    .page-va #page-header.header-img 
    {
        background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.05), rgba(0,0,0,0.0)), url(fotos/veranstaltungen-3000x1200.jpg);
        min-height: 30vw;
    }
    #page-header.header-img::after {
        padding-bottom: 8%;
        background-image: url(gfx/welle-default.svg);
    }

    .page-programm #page-header.header-img::after,
    .page-va #page-header.header-img::after 
    {
        padding-bottom: 13%;
        background-image: url(gfx/welle-va.svg);
    }
    .page-home #page-header.header-img::after 
    {
        padding-bottom: 0;
        background-image: none;
    }


#page-header .page-title {
    margin-top: 12vw;
    font-size: 4vw;
}

#page-header .logo-link {
    display: block;
    max-width: 210px;
    margin: 15vh auto 5vh auto;
}

#page-footer .logo {
    display: block;
    max-width: 180px;
}
#page-footer .reservation-contact a {
    color: inherit;
}

.page-home .navbar-brand {
    display: none;
}
.navbar-brand img {height: 1.3em; width: auto; margin-top: -.3em;}

.section-bg {
    height: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}
.header-img {
    position: relative;
    background-position: 50% 50%;
}
.header-img::before,
.header-img::after
{
    display: block;
    content: '';
    height: 0;
    width: 100%;
    position: absolute;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 100;
    pointer-events: none;
}
.header-img::before {
    top: -1px;
    background-position: center top;
}
.header-img::after {
    bottom: -1px;
    background-position: center bottom;
}

.btn { text-transform: uppercase; }
.nav-paging .btn {font-size: 2em; color: inherit;}
.nav-paging .btn [class^="icon-"]::before {margin: 0; width: 1.2em;}

.border-footer
{
    padding-bottom: 16%;
    margin-top: -1px;
    background-position: center top;
    background-image: url(gfx/bogen320-6-light.svg);
}

.page-home .border-footer
{
    background-image: url(gfx/bogen320-6-primary.svg);
}


.border-events
{
    padding-bottom: 14%;
    margin-bottom: -1px;
    background-position: center bottom;
    background-image: url(gfx/bogen320-neu.svg);
}

.page-home .header-restaurant {
    padding-bottom: 90%;
    background-image: url(fotos/restaurant-web-3000x1465.jpg);
}
.page-home .header-restaurant::before {
    padding-bottom: 19%;
    background-image: url(gfx/bogen320-2.svg);
}
.page-home .header-restaurant::after {
    padding-bottom: 11%;
    background-image: url(gfx/bogen320-3.svg);
}


.page-home .header-feier {
    padding-bottom: 90%;
    background-image: url(fotos/feier-3000x1465.jpg);
}
.page-home .header-feier::before {
    padding-bottom: 15%;
    background-image: url(gfx/bogen320-4.svg);
}
.page-home .header-feier::after {
    padding-bottom: 21%;
    background-image: url(gfx/bogen320-5.svg);
}

.page-home #flowers {
    top: 3em;
    right: 5em;
    width: 8%;
}
.page-home #spoon {
    bottom: 3em;
    left: 5em;
    width: 5%;
}
.page-home #cap {
    bottom: 13em;
    right: 5em;
    width: 5%;
}
.page-home #ring {
    bottom: 10em;
    left: 3%;
    width: 7%;
}
.page-home #plopp {
    bottom: 0;
    right: 3%;
    width: 7%;
}
@media only screen and (min-width: 1500px) {
    .d-1500-block { display: block !important; }
}

a.va:hover {text-decoration: none;}
.va.grid-item { 
    flex-basis: 50%;
    padding: 10px 0;
    max-width: 460px;
}

.va.compact .va-head {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}


.va.compact .va-head .va-date {
    flex-basis: 7em;
    flex-shrink: 0;
    text-align: center;
}
.va.compact .va-head .va-date .tag{
    font-size: 4em;
    font-weight: bold;
    line-height: 1;
    letter-spacing: -.05em;
}
.va.compact .va-head .va-date .monat{
    font-weight: bold;
}

.va.compact .va-head .va-img {
    border-top-right-radius: 3px;
}

.va.compact .va-summary {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    line-height: 1.1;
}
.va .eintritt + .eintritt:before {content: ' | '}

.va.list-item {border-radius: 3px;}

.va-header,
.va.compact .va-head 
{
    position: relative;
}
.label-rotated {
    position: absolute;
    right: 2%;
    transform: rotate(-10deg);
    /* rotate: -10deg; */
    padding: .4em .6em;
    border-radius: 2px;
}
.va.compact .label-sold-out {
    bottom: 5%;
}
.va.compact .label-today {
    bottom: 18%;
    margin-right: 1.3em;
}
.va-list .va.compact .label-rotated {
    right: -4%;
    bottom: 0%;
}
.va-header .label-rotated {
    /* rotate: 5deg; */
    transform: rotate(5deg);
    top: 1%;
}

.partner-block .logo {
    max-height: 80px;
    width: auto;
}

/* MD  */

@media only screen and (min-width: 768px) {
    #page-header {
        font-size: 1.9vw;
    }
    #page-main .container {
        font-size: 22px;
    }
    
    
    .page-home #page-header.header-img .logo-link {
        position: absolute;
        top: 8vw;
        left: 8%;
        margin: 0;
        width: 20vw;
        max-width: 500px;
    }
    #page-header.header-img .navbar-expand-md {
        padding-top: 20px;
    }


    .page-home #page-header.header-img {
        background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.05), rgba(0,0,0,0.0)), url(fotos/start2-3000x1687.jpg);
        min-height: 50vw;
    }
    .page-home #page-header.header-img::after {
        padding-bottom: 8%;
        background-image: url(gfx/welle-1.svg);
    }

    @keyframes fadeIn2 {
        from 	{opacity: 0;}
        20% 	{opacity: 0;}
        28% 	{opacity: 1;}
        58% 	{opacity: 1;}
        66% 	{opacity: 0;}
        to 		{opacity: 0;}
    }

    @keyframes fadeIn3 {
        from 	{opacity: 0;}
        51% 	{opacity: 0;}
        59% 	{opacity: 1;}
        88% 	{opacity: 1;}
        96% 	{opacity: 0;}
        to 		{opacity: 0;}
    }

    .bg-slides > * {
        height: 50vw;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 50% 50%;
    }
    .bg-slides>:nth-child(1) {
        background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.05), rgba(0,0,0,0.0)), url(fotos/start1-3000x1687.jpg);
        opacity: 0;
        animation: fadeIn2 24s ease-in-out infinite;
    }
    .bg-slides>:nth-child(2) {
        background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.05), rgba(0,0,0,0.0)), url(fotos/start3-3000x1687.jpg);
        opacity: 0;
        animation: fadeIn3 24s ease-in-out infinite;
    }

    .page-home .teaser-layer {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        z-index: 20;
    }
    .page-home .teaserbox {
        width: 50%;
        margin-left: auto;
        margin-right: 0;
        border-radius: 5px;
        padding-bottom: 3em !important;
    }

    .page-home .border-events
    {
        padding-bottom: 11%;
        background-image: url(gfx/welle-2.svg);
    }

    .page-home .header-restaurant {
        padding-bottom: 50%;
    }
    .page-home .header-restaurant::before {
        padding-bottom: 14%;
        background-image: url(gfx/welle-3.svg);
    }
    .page-home .header-restaurant::after {
        padding-bottom: 10%;
        background-image: url(gfx/welle-4.svg);
    }
    .page-home section.restaurant .container {
        position: relative;
    }
    .page-home section.restaurant .title {
        position: absolute;
        top: -40vw;
        left: 20px;
        z-index: 5;
    }
    .page-home .header-feier {
        padding-bottom: 50%;
    }
    .page-home .header-feier::before {
        padding-bottom: 14%;
        background-image: url(gfx/welle-5.svg);
    }
    .page-home .header-feier::after {
        padding-bottom: 12.5%;
        background-image: url(gfx/welle-6.svg);
    }
    .border-footer
    {
        padding-bottom: 8%;
        background-image: url(gfx/welle-7-light.svg);
    }
    .page-home .border-footer
    {
        background-image: url(gfx/welle-7-primary.svg);
    }
    .va.grid-item { 
        padding: 20px;
    }
    .va.list-item .va-head {
        flex: 0 0 300px;
    }
        
    .textbox .img-inline {
        width: 33%; 
        margin: 0 1em 1em 0; 
        float: left; 
    }
    
    .va.compact.flex-md-row .va-head {
        border-radius: 3px 0 0 3px;
    }
    .va.compact.flex-md-row .va-head .va-img {
        border-radius: 0;
    }
    .va.compact.flex-md-row .va-summary {
        border-radius: 0 3px 3px 0;
    }


}

/* LG */

@media only screen and (min-width: 992px) {
    #page-header {
        font-size: 1.3vw;
    }
    #page-main .container {
        font-size: 20px;
    }
    .page-va .nav-paging {
        position: fixed;
        top: 58%;
        left: 0;
        width: 100%;
        margin: 0;
    }
}

/* XL */

@media only screen and (min-width: 1200px) {
    #page-header {
        font-size: 16px;
    }
    #page-main .container {
        font-size: 22px;
    }
    .grid-item.va { 
        flex-basis: 25%;
    }
}

@media only screen and (min-width: 1300px) {
    .page-va .nav-paging {
        padding: 0 2.5em;
    }
    /*
    .page-va .nav-paging .btn{
        text-shadow: 1px 1px 0 #FAFAF0, -1px 1px 0 #FAFAF0, 1px -1px 0 #FAFAF0, -1px -1px 0 #FAFAF0;
    }
    */
    .va.list-item .va-title {
        font-size: 3em;
        line-height: 1;
    }
    
    body { background-color: #222;}
    #page-wrapper {
        max-width: 1800px;
        box-shadow: 0px 0 50px 0px rgba(0, 0, 0, 0.3);
    }
}
