﻿/*
 Theme Name:     Divi Child
 Theme URI:      https://buero15.com
 Description:    Divi Child
 Author:         BÜRO15 GmbH
 Author URI:     https://buero15.com
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */


/* nunito-500 - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/et-fonts/nunito-v25-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/et-fonts/nunito-v25-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/et-fonts/nunito-v25-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/et-fonts/nunito-v25-latin-500.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/et-fonts/nunito-v25-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/et-fonts/nunito-v25-latin-500.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* nunito-600 - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  src: url('/wp-content/et-fonts/nunito-v25-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/et-fonts/nunito-v25-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/et-fonts/nunito-v25-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/et-fonts/nunito-v25-latin-600.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/et-fonts/nunito-v25-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/et-fonts/nunito-v25-latin-600.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* nunito-700 - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/et-fonts/nunito-v25-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/et-fonts/nunito-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/et-fonts/nunito-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/et-fonts/nunito-v25-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/et-fonts/nunito-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/et-fonts/nunito-v25-latin-700.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* nunito-800 - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  src: url('/wp-content/et-fonts/nunito-v25-latin-800.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/et-fonts/nunito-v25-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/et-fonts/nunito-v25-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/et-fonts/nunito-v25-latin-800.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/et-fonts/nunito-v25-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/et-fonts/nunito-v25-latin-800.svg#Nunito') format('svg'); /* Legacy iOS */
}



/* Menü */

#main-header .et_mobile_menu {
    background-color:  #000 !important;
}

.et_header_style_left #et-top-navigation .mobile_menu_bar {
  padding-bottom: 10px;
}


@media (max-width: 1100px) {

    .et_header_style_left .et-fixed-header #et-top-navigation, 
    .et_header_style_left #et-top-navigation {
        padding-right: 5%;
    }

    #logo {
      height: 100%;
      max-height: none;
      max-width: none !important;
      float: left !important;
    }

    #et-top-navigation {
      padding-top: 10px !important;
    }

    .logo_helper {
        display: none;
    }

    .logo_container {
        z-index:  1;
    }

    .et_menu_container {
        margin: 0;
        width: 100%;
    }

    .mobile_nav.opened #mobile_menu{
        display: flex !important;
        z-index: 0;
        background-color: rgba(0, 0, 0, .6) !important; 
    }

    #mobile_menu {
        top: 0;
        left: 0;
        flex-direction: column;
        justify-content: center;
    }

    #mobile_menu li a{
        font-size:  20px;
    }

    .et_header_style_left #et-top-navigation .mobile_menu_bar {
        z-index:  1;
    }

}


/* Mobile Breakpoint */

@media (max-width: 1100px)/* Hier Wert anpassen */ {
    #et_mobile_nav_menu {
        display: block !important;
    }
    #top-menu {
        display: none;
    }
}


/* X icon in expanded mobile menu */
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}

/* Remove the top line in the mobile menu*/
.et_mobile_menu {
    border-top:0;
}

/* Center-align moble menu items */

.et_mobile_menu li {
    text-align:center !important;
}
  
.et_mobile_menu li li, .et_mobile_menu li ul {
    padding-left:0 !important;
}

/* Make mobile menu fullwidth with 90% row width */

.et_mobile_menu {
min-width: 100vw;
}

/* Make the mobile menu full height */

.et_mobile_menu {
    min-height:100vh !important;
    min-height: -webkit-fill-available;
}

html {
    height: -webkit-fill-available;
}






/* Helper */

.hide-desktop {
        display: none !important;
}

@media (max-width: 980px) {
    .hide-desktop {
        display: block !important;
    }
}




/*Header*/

.rr-header {
    cursor: pointer;
}

.rr-header-fadeout {
    opacity: 1;
	-webkit-transition: opacity 1s ease-in-out;
  	-moz-transition: opacity 1s ease-in-out;
 	-ms-transition: opacity 1s ease-in-out;
  	-o-transition: opacity 1s ease-in-out;
  	transition: opacity 1s ease-in-out;
}

.rr-header-fadeout-hidden {
    opacity: 0;
}


/*Typografie*/

.rr-box {
    max-width: 800px;
    margin-bottom: 2em !important;
}
/*
.rr-box h1 {
    background: #ffcc46;
    display: inline-block;
    letter-spacing: -0.5px;
    padding: 8px 30px;
    font-size: 2em;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Work Sans", sans-serif;
}
*/

/*
.rr-box h2,
.rr-box h3 {
    background-color: #333333;
    color: #fff !important;
    display: inline-block;
    font-size: 24px;
    font-weight: 400;
    margin: 2em 0 0;
    margin-top: 0;
    padding: 8px 30px;
    text-transform: uppercase;
    line-height: 1.3em;
}
*/

h3 {
	padding-bottom: 3px;
}

h3 + blockquote {
	margin-top: 0px;
}

.rr-box p {
    background: rgba(255,255,255,.85);
    margin: 0 0 20px 0;
    padding: 30px !important;
}

.rr-box.rr-box-transparent p {
    background: rgba(255, 255, 255, 0);
    margin-bottom:  0px !important;
}

.rr-box p:not(:last-child) {
  padding-bottom: 0 !important;
  margin-bottom:0;
}

.rr-button a,
.rr-box p a {
    background: #ffcc46;
    color: #000;
    padding: 0 5px;
    text-decoration: none;
}

.rr-button a::after,
.rr-box p a::after {
    content: " ››";
}


/*Single Post*/

.single .post {
  padding-bottom: 0px;
}

.et_pb_post {
  margin-bottom: 0px;
}



/*Gallerie*/

.rr-photo-grid {
    width:  100% !important;
}

.rr-gallery {
    border-top: 5px solid #fff;
    /*border-bottom:  5px solid #fff;*/
}

.rr-gallery a {
	pointer-events: none;
}

.rr-gallery .et_overlay {
	display: none !important;
}

.rr-gallery .et_pb_gallery_items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}

.rr-gallery .et_pb_gallery_item {
    width: 100% !important;
}

.rr-gallery .et_pb_gallery_image {
  padding-top: 100%;
  display: block;
  height: 100%;
}

.rr-gallery .et_pb_gallery_item img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

.rr-gallery.rr-gallery-big .et_pb_gallery_item:first-child {
    grid-area: 1 / 1 / 3 / 3;
}

.rr-gallery.rr-gallery-big .et_pb_gallery_item:nth-child(2) {
    grid-area: 1 / 3 / 2 / 4;
}

.rr-gallery.rr-gallery-big .et_pb_gallery_item:nth-child(3) {
    grid-area: 1 / 4 / 2 / 5;
}

.rr-gallery.rr-gallery-big .et_pb_gallery_item:nth-child(4) {
    grid-area: 2 / 3 / 3 / 4;
}

.rr-gallery.rr-gallery-big .et_pb_gallery_item:nth-child(5) {
    grid-area: 2 / 4 / 3 / 5;
}


.rr-gallery.rr-gallery-big-right .et_pb_gallery_item:first-child {
    grid-area: 1 / 1 / 2 / 2;
}

.rr-gallery.rr-gallery-big-right .et_pb_gallery_item:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}

.rr-gallery.rr-gallery-big-right .et_pb_gallery_item:nth-child(3) {
    grid-area: 2 / 1 / 3 / 2;
}

.rr-gallery.rr-gallery-big-right .et_pb_gallery_item:nth-child(4) {
    grid-area: 2 / 2 / 3 / 3;
}

.rr-gallery.rr-gallery-big-right .et_pb_gallery_item:nth-child(5) {
    grid-area: 1 / 3 / 3 / 5;
}



.rr-gallery.rr-gallery-big-4-special .et_pb_gallery_item:first-child {
    grid-area: 1 / 1 / 2 / 2;
}

.rr-gallery.rr-gallery-big-4-special .et_pb_gallery_item:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}

.rr-gallery.rr-gallery-big-4-special .et_pb_gallery_item:nth-child(3) {
    grid-area: 2 / 1 / 3 / 3;
}

.rr-gallery.rr-gallery-big-4-special .et_pb_gallery_item:nth-child(3) .et_pb_gallery_image {
  padding-top: 50.2%;
}


.rr-gallery.rr-gallery-big-4-special .et_pb_gallery_item:nth-child(4) {
    grid-area: 1 / 3 / 3 / 5;
}


@media (max-width: 980px) {

    .rr-gallery {
        border-bottom: 5px solid #fff;
    }

    .rr-gallery .et_pb_gallery_items {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 5px;
        grid-row-gap: 5px;
    }

    .rr-gallery .et_pb_gallery_items::after {
        display: none;
    }

    .rr-gallery.rr-gallery-big .et_pb_gallery_item:first-child,
    .rr-gallery.rr-gallery-big-right .et_pb_gallery_item:first-child {
        grid-area: 1 / 1 / 3 / 3;
    }

    .rr-gallery.rr-gallery-big .et_pb_gallery_item:nth-child(2),
    .rr-gallery.rr-gallery-big-right .et_pb_gallery_item:nth-child(2) {
        grid-area:  3 / 1 / 4 / 2;
    }

    .rr-gallery.rr-gallery-big .et_pb_gallery_item:nth-child(3),
    .rr-gallery.rr-gallery-big-right .et_pb_gallery_item:nth-child(3) {
        grid-area:  3 / 2 / 4 / 3;
    }

    .rr-gallery.rr-gallery-big .et_pb_gallery_item:nth-child(4),
    .rr-gallery.rr-gallery-big-right .et_pb_gallery_item:nth-child(4) {
        grid-area:  4 / 1 / 5 / 2;
    }

    .rr-gallery.rr-gallery-big .et_pb_gallery_item:nth-child(5),
    .rr-gallery.rr-gallery-big-right .et_pb_gallery_item:nth-child(5) {
        grid-area: 4 / 2 / 5 / 3;
    }

    .rr-gallery.rr-gallery-big-4-special .et_pb_gallery_items {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-column-gap: 5px;
        grid-row-gap: 5px;
    }

    .rr-gallery.rr-gallery-big-4-special .et_pb_gallery_item:nth-child(3) .et_pb_gallery_image {
        height: 100%;
        width: 100%;
    }

    .rr-gallery.rr-gallery-big-4-special .et_pb_gallery_item:nth-child(3) {
      grid-area: 2 / 1 / 2 / 2;
    }

    .rr-gallery.rr-gallery-big-4-special .et_pb_gallery_item:nth-child(4) {
        grid-area: 2 / 2 / 3 / 3;
    }
}




.rr-footer-menu ul li {
    /*text-transform: lowercase;*/
    border-bottom: 1px solid #999;
    padding-top: 8px;
    padding-bottom: 8px;
}

.rr-blog-module .et_pb_post {
    margin-bottom:  20px;
}





/* Archiv */

a.rr-post-item {
  margin-bottom: 1rem;
  padding: 5rem 0;
  min-height: 600px;
  display: flex;
align-items: flex-end;
-webkit-align-items: flex-end;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #000;
}

.rr-post-body {
  display: inline-block;
  max-width: 1000px;
	position:relative;
}

.rr-post-title {
  background-color: rgba(255,255,255,.5);
  padding: 1.5rem 2rem 1.5rem 4rem;
  font-size: 2rem;
  line-height: 2.3rem;
  text-transform: uppercase;
}

.rr-post-desc {
  background-color: rgba(255,255,255,.8);
  padding: 1.5rem 2rem 2.5rem 10rem;
  line-height: 1.3rem;
}

.rr-post-button {
  background-color: yellow;
  display: inline-block;
  padding: .5rem 1em;
  margin-top: -25px;
  position: absolute;
  right: 100px;
  color: #000000 !important;
  border-width: 3px !important;
  border-color: #FFCC46;
  letter-spacing: 1px;
  font-size: 17px;
  font-weight: 800 !important;
  background-color: #FFCC46;
}

@media (max-width:767px) {
	.rr-post-item {
	  min-height: 600px;
	}
	.rr-post-title {
	  	padding: 1.5rem;
	}
	.rr-post-desc {
	 	padding: 1.5rem;
        padding-bottom:  2.5rem;
	}
}








.rr-section-no-padding-top {
    padding-top: 0px !important;
}





.preload * {
 -webkit-transition: none !important;
 -moz-transition: none !important;
 -ms-transition: none !important;
 -o-transition: none !important;
}

p {
    hyphens:auto;
}


/* Menü Hintergrund */
#main-header, 
#main-header .nav li ul, 
.et-search-form {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.75)), color-stop(rgba(0,0,0,0.5)), to(transparent));
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.5), transparent);
}

@media (max-width: 1100px) {
    #main-header {
        height: 150px;
        pointer-events:none;
    }
    
    
    #main-header * {
        pointer-events: auto;
    }
}

.mobile_menu_bar:before {
    font-size: 60px;
}

#mobile_menu a {
    text-transform: uppercase;
}

@media only screen and (max-width: 981px) {
    #logo {
        content: url("/wp-content/uploads/2022/10/rosenrot-logo-wide-mobile.png");
      }
    
    .et_menu_container #et-top-navigation {
        padding-top: 10px!important;
    }
}


.et_menu_container {
    padding-left: 0 !important;
}

#logo {
    float: left;
    max-height: 80px !important;
}

#et-top-navigation {
    padding-top: 27px !important;
}

@media (max-width: 980px) {
    #logo {
        float: none;
    }
}

.menu-icons-wrapper > a {
    display: none !important;
}

#main-header .et_mobile_menu li.menu-icons-wrapper > ul {
    display: flex !important;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 40px;
}

.yellow-link a {
    background: #ffcc46;
    color: #000;
    padding: 0 5px;
    text-decoration: none;
}

.rr-arrow {
    -webkit-animation: slide-top 1s ease-in-out infinite alternate both;
            animation: slide-top 1s ease-in-out infinite alternate both;
}

/*********************************
style mobile fixed header
*********************************/
 
@media (max-width: 980px) {
    .et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header,
    .et_fixed_nav #main-header, .et_fixed_nav #top-header {
        position: fixed;

    }
}
 
.et_mobile_menu {
    overflow: scroll !important;
    max-height: 83vh;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-7-11 14:22:41
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-top
 * ----------------------------------------
 */
@-webkit-keyframes slide-top {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
  }
}
@keyframes slide-top {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
  }
}

