/*
 Theme Name:     Larch-Bad
 Theme URI:      http://larch-design.at
 Description:    Child Theme for Larch-Bad
 Author:         Florian Larch
 Author URI:     http://larch-design.at
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */

/* FULLSCREEN SLIDER */
.et_fullscreen_slider .et_pb_slides,
.et_fullscreen_slider .et_pb_slide,
.et_fullscreen_slider .et_pb_container {
    /*min-height: 100vh !important;
    height: 100vh !important;*/
    min-height: calc(100vh - 78px) !important;
    height: calc(100vh - 78px) !important;
}

body, .et_pb_text_inner h2, .et_pb_text_inner p, .et_pb_text_inner, .entry-title a{
  font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif !important;
}
.et_pb_post .post-meta a {
  color: #e8aa00;
  color: black;
  font-weight: 600;
}
.et_pb_post .entry-title a {
    font-weight: 600!important;
}

.nav ul.sub-menu li a:hover {
    background-color: #FFF6DB;
    opacity: 1;
}

/*
img.active, .et_pb_slide_image img {
    max-width: 600px !important;
}

.et_pb_slide_image img {
    float: right;
}

.table-header-rotated th.row-header{
  width: auto;
}

.table-header-rotated td{
  width: 40px;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  vertical-align: middle;
  text-align: center;
}

.table-header-rotated th.rotate-45{
  height: 80px;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  position: relative;
  vertical-align: bottom;
  padding: 0;
  font-size: 12px;
  line-height: 1.2;
}


.table-header-rotated th.rotate-45 > div{
  position: relative;
  top: 0px;
  
  height: 200px;
  -ms-transform:skew(0deg,0deg);
  -moz-transform:skew(0deg,0deg);
  -webkit-transform:skew(0deg,0deg);
  -o-transform:skew(0deg,0deg);
  transform:skew(0deg,0deg);
  overflow: hidden;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
}

.table-header-rotated th.rotate-45 span {
  -ms-transform:skew(0deg,0deg) rotate(270deg);
  -moz-transform:skew(0deg,0deg) rotate(270deg);
  -webkit-transform:skew(0deg,0deg) rotate(270deg);
  -o-transform:skew(0deg,0deg) rotate(270deg);
  transform:skew(0deg,0deg) rotate(270deg);
  position: absolute;
  bottom: 30px;
  left: -8px; 
  display: inline-block;
  width: 100%;
  width: 85px; 
  text-align: left;
   white-space: nowrap;
}
*/

/* Style portfolio special section
@media (min-width: 981px){
  .portfolio_col1{
      width: 74.25% !important;
      margin-right: 3% !important;
  }

  .portfolio_col2{
    width: 22.75% !important;
    margin-right: 0!important;
  }
}
*/
/*Blog
.et_pb_row {
    width: 100% !important;
  }*/

/*main page portfolio cards*/

.portfolio_card .dsm-subtitle{
  display: block;
}

.portfolio_card .dsm_flipbox_child_0 span.dsm-subtitle, .portfolio_card .dsm_flipbox_child_2 span.dsm-subtitle, .portfolio_card .dsm_flipbox_child_4 span.dsm-subtitle, .portfolio_card .dsm_flipbox_child_6 span.dsm-subtitle, .portfolio_card .dsm_flipbox_child_8 span.dsm-subtitle, .portfolio_card .dsm_flipbox_child_10 span.dsm-subtitle, .portfolio_card .dsm_flipbox_child_12 span.dsm-subtitle, .portfolio_card .dsm_flipbox_child_14 span.dsm-subtitle, .portfolio_card .dsm_flipbox_child_16 span.dsm-subtitle, .portfolio_card .dsm_flipbox_child_18 span.dsm-subtitle{
  width: 60%;
  height: 1px;
  border-top: 2px solid #ffffff;
  margin-left: auto;
  margin-right: auto;
}

.portfolio_card.small_logo img{
  max-width: 50%;
}

.portfolio_card img{
  max-width: 80%;
}
.portfolio_card .dsm_flipbox_child_image{
  margin-bottom: 0px;
  margin-top: 20px;
}

/*portfolio grid*/
.portfolio_grid1{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.grid1_element{
  margin-right: 0px !important;
  margin-bottom: 40px !important;
}

@media (min-width: 981px){
  .grid1_element{
    width: calc(33% - 15px) !important;
  }
  .portfolio_grid1{
    justify-content: space-between;
  }
}
@media (max-width: 980px){
  .grid1_element{
    width: calc(50% - 15px) !important;
  }
  .portfolio_grid1{
    justify-content: space-around;
  }
}

.portfolio_grid1.et_pb_row:after {
     content: none !important;
}


@media (max-width: 767px){
  .et_pb_slider_container_inner .et_pb_slide_image {
      display: block !important;
  }
  .portfolio_grid1 .et_pb_button{
    font-size: 1rem;
  }

  a.et_pb_button.et_pb_more_button.et_pb_button_one {
    margin: auto;
  }
}

.portfolio_card .et_pb_button:hover {
    background-image: initial!important;
    background-color: rgba(255,255,255,0.2)!important;
}

/*
body #page-container .et_pb_section .dsm_flipbox_child_1 .et_pb_button, body #page-container .et_pb_section .dsm_flipbox_child_1 .et_pb_button:hover {
    padding: 0.3em 1em!important;
}


h1, h2, h3{
  font-family: bagatela, serif;
  font-weight: 400;
  font-style: normal;

  font-family: williams-caslon-text, serif;
  font-weight: 700;
  font-style: normal;

  font-family: williams-caslon-text,serif;
  font-weight: 400;
  font-style: normal;


}*/
@media (max-width: 809px){
  .et_pb_button_two {
      margin-left: 0px !important;
  }
}

.portfolio_col2 .et_pb_row_inner{
  max-width: 300px;
}

@media (min-width: 981px){
  .portfolio_col1 {
      margin-right: 50px !important;
      width: calc(100% - 350px) !important;
  }
  .portfolio_col2{
    max-width: 300px;
  }
  .et_pb_column.et_pb_column_1_4.et_pb_column_15.grid1_element.et_pb_css_mix_blend_mode_passthrough.et-last-child {
    margin-left: auto;
    margin-right: auto !important;
  }
}
@media (max-width: 980px){
  .portfolio_col2 {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 100%;
  }
  .portfolio_col2 .et_pb_row_inner_0{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 540px){
  .portfolio_col2 {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    max-width: 100%;
    align-items: center;
  }
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active {
    color: white;
    background-color: #e8aa00 !important;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover {
    background-color: #EADDB6 !important;
}



/*------ mobile menu full width --*/
.unclickable > a:hover {
  cursor: default;
}

.et_mobile_menu li a {
    font-size: 16px !important;
}

@media screen and (max-width: 980px) {
 .container { 
 width: 100% !important;
 }
 .et_header_style_left .logo_container{
 padding-left: 25px;
 }
 .et_header_style_centered #main-header .mobile_nav {
 background-color: transparent;
 }
 .mobile_nav.closed .select_page {
 display: none;
 }
 .et-fixed-header#main-header {
 background-color: transparent !important;
 }
}
.et_mobile_menu {
 top: 0 !important;
 border-top: 3px solid #e8aa00 !important;;
 background-color: #fff !important;
 padding: 20% 0;
}
.et_mobile_menu li a {
 text-align: center;
 font-size: .8em;
 border: 0;
 padding: 15px 0;
 letter-spacing: 1px;
}
.mobile_nav ul#mobile_menu .current_page_item > a {
 color: #e8aa00;
}
.mobile_nav ul#mobile_menu li ul li a {
 /*font-size: .8em !important;*/
 margin: auto;
 color: #e8aa00 !important;
 /* padding-top: 0.2em; */
}
.et_mobile_menu li a:hover {
 color: #999;
 -webkit-transition: all .2s ease-in-out;
 transition: all .2s ease-in-out;
}
.mobile_menu_bar:before {
 padding-right: 25px;
 color: #e8aa00 !important;
}
.mobile_nav.opened .mobile_menu_bar:before {
 content: "\4d";
 z-index: 99999;
}

/* mobile header fixed 
@media only screen and (max-width: 980px) {
.et_fixed_nav #main-header, 
.et_fixed_nav #top-header,
.et_non_fixed_nav.et_transparent_nav #main-header,
.et_non_fixed_nav.et_transparent_nav #top-header {
    position: fixed;
}
	.logo_container {
	    background-color: #fff;
	}

    .et_pb_button.et_pb_button_0_tb_footer.et_pb_bg_layout_light{
        width: 100%;
    }
}
*/

/* NESTING MOBILE MENU SETTINGS */

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
 content: '\4d';
}

#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after, 
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
 content: '5'; 
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
  position: relative;
  text-align: center;
}

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
 position: absolute;
 /*background-color: rgba(0,0,0,0.03);*/
 z-index: 1;
 width: 36px;
 height: 36px;
 line-height: 36px;
 border-radius: 50%;
 top: 6px;
 right: 10px;
 cursor: pointer;
 text-align: center;

 /*make parent menu clickable for toggle*/
 width: 100vw;
 display: block;
 text-align: right;
}

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
 /*background-color: rgba(0,0,0,0.1);*/
}

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
 font-family: "ETmodules" !important;
 font-weight: normal;
 font-style: normal;
 font-variant: normal;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 line-height: 36px;
 font-size: 24px;
 text-transform: none;
 speak: none;
 content: '\33';
}

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
 content: '\32';
}

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
 display: none !important;
 padding-left: 0;
}

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
 display: block !important;
 background-color: #FFF6DB; /*#FFECAB;*/
}

 #main-header #mobile_menu.et_mobile_menu li li {
 padding-left: 0;
 display: inline-block;
}

#main-header #mobile_menu.et_mobile_menu li a, 
#main-header #mobile_menu.et_mobile_menu li li a,
#main-header #mobile_menu.et_mobile_menu li li li a {
 padding-left: 20px;
 padding-right: 20px;
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
 padding-right: 20px;
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
 background-color: transparent;
 font-weight: inherit;
}

#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
 font-weight: bolder;
}

#main-header #mobile_menu.et_mobile_menu li li a{
    border: 1px solid black;
    margin: 10px;
    background-color: white;
    color: black !important;
}


/* NEWS BEITRÄGE */
.news_header{
  max-width: none !important;
  /*height: calc(100vh - 78px) !important; */
}
.news_text .et_pb_row, .news_text.et_pb_row {
  width: 100% !important;
}

.news_header .et_pb_post_title {
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,.36);
}

#cmplz-document{
  max-width: 100% !important;
}

.dsm_flipbox_child .dsm_flipbox_wrapper .dsm-subtitle {
    line-height: 30px;
}

.psac-slider-and-carousel .owl-dots .owl-dot.active {
    background: #e7bc43 !important;
}

.psac-slider-and-carousel .owl-nav .owl-next:hover, .psac-slider-and-carousel .owl-nav .owl-prev:hover, .psac-slider-and-carousel .owl-nav .owl-next:focus, .psac-slider-and-carousel .owl-nav .owl-prev:focus {
    background: #cfa73c !important;
    border-color: #CFA73C !important;
}

.psac-slider-and-carousel .owl-nav .owl-next, .psac-slider-and-carousel .owl-nav .owl-prev {
    border: none !important;
}/* INSTAGRAM-RASTER (15.10.2026, ersetzt den Smash-Balloon-Feed) */
.lb-insta-raster{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
@media (max-width:980px){.lb-insta-raster{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.lb-insta-raster{grid-template-columns:1fr}}
.lb-insta-bild{display:block;aspect-ratio:1/1;overflow:hidden}
.lb-insta-bild img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .2s}
.lb-insta-bild:hover img,.lb-insta-bild:focus img{opacity:.8}
.lb-insta-folgen{text-align:center;padding:15px 0 0!important}
.lb-insta-folgen a{display:inline-block;background:rgb(209,188,0);color:#fff;font-size:13px;line-height:1.4;padding:8px 14px;border-radius:4px}
/* ENDE INSTAGRAM-RASTER */
