/*
Theme Name: Berger Spezialkran Montagen
Description: WordPress-Theme für Berger Spezialkran Montagen.
Version: 1.0
Author: Medienservice Bettina Gschneidner
Author URI: https://www.medienservice-bg.de
Template: enfold
*/



/*Add your own styles here:*/

/** --- NUR FÜR LANDINGPAGE --- **/
.av-m8ogk2b2-8e1ee7a6b9b06dea81483654b51c1be4 img { height:200px; width:auto;}
body.page-id-17.home #header { display: none !important; }
body.page-id-17 .html_header_top.html_logo_center .logo { margin-top: 30px; }
body.page-id-17 .logo img, .logo svg { max-height: 120px; }
body.page-id-17 .container.av-logo-container { height: 180px !important; }
body.page-id-17 { font-size: 16px; font-weight: 100; }
body.page-id-17 h2 { font-size: 22px; }
body.page-id-17 h2.portfolio-preview-title { text-transform: none; }
body.page-id-17 h3.grid-entry-title { font-size: 16px; }
body.page-id-17 .avia-icon-list .iconlist_title { text-transform: none; color: #58585a; }
body.page-id-17 .main_color .avia-icon-list .iconlist_icon { background-color: #506f57; }
body.page-id-17 .footer-logo img { width: 100%; height: auto; margin-top: 20px; }
body.page-id-17 #av_section_2 h2 { margin-top: 15px; }
body.page-id-17 #scroll-top-link { display: none; }
body.page-id-17 blockquote { margin-top: 50px; }
.page-id-17 .flex_column.av-uoy9-47e979d2ea615953d45997ab6601035b .avia-image-overlay-wrap {
  display: flex;
  place-content: center;
}
.page-id-17 .flex_column.av-uoy9-47e979d2ea615953d45997ab6601035b .avia-image-overlay-wrap img {
  max-width: 400px;
  width: 100%;
  margin-top: -100px;
}

@media only screen and (max-width: 900px) {
	body.page-id-17 #av_section_1 .container { height: 400px !important; }
}

@media only screen and (max-width: 767px) {
    body.page-id-17.responsive .logo img, body.page-id-17.responsive .logo svg {
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

body.page-id-17.responsive #top .logo {
    width: 100%;
}
}
/** ------------STARTSEITE---------------- **/
.avia-svg-logo::before { content:"";
    position: absolute;
    width: 100%;         
    height: 250%;         
    background-color: #c1d9c8;
    border-radius: 20px;  
    transform: rotate(-30deg);
    bottom: -60%;         
    left: 0;
    z-index: 1;
}
.logo a{
    overflow: visible !important;
}
.logo.avia-svg-logo{
overflow: visible;
margin-top: 20px;
margin-left: 50px;
}
#a {
    margin-left: 10px;
}
#header_main{
    background-color:rgba(0, 0, 0, 0.3) ;
}
.main_menu a {
    color: white !important;
    text-decoration: none;         
    text-transform: uppercase;     
    font-size: 18px !important;            
    margin: 0 10px;              
    display: inline-block !important;         
    transition: background-color 0.3s, color 0.3s !important; 
  }
  
  .main_menu a:hover {
    color: #50725b !important;
    background-color: #d0dcd4;
  }

.main_menu li.current-menu-item a,
.main_menu li.current_page_item a {
    color: #50725b !important;
    background-color: #d0dcd4;
}

.header-container {
  max-width: 90%;
  margin: 2rem auto;
}

.header-box {
  display: inline-block;
  padding: 0.4em 0.8em;
  font-weight: 900;
  line-height: 1.3;
}
.header-box p {
  color: white !important;
  font-size: 3rem !important;
  background-color: rgba(0, 0, 0, 0.75);
  display: inline;
  padding: 5px;
  padding-inline-start: 10px;
  padding-inline-end: 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.av-hamburger-inner, .av-hamburger-inner::before, .av-hamburger-inner::after {
  background-color: #c1d9c8 !important;
}
.first-row img {
    margin-bottom: 22px !important;
}
.second-row{
    margin-bottom: 43px !important;
}
.third-row {
    margin-bottom:40px !important;
}
.row img{
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;

}
.avia-image-overlay-wrap{
    width: 100%;
}
.avia-image-container-inner{
    width: 100%;
}
h2 {
    font-size: 45px;
    text-transform: none !important;

}
p{
  color: #54745e;
  font-size: 25px;
  line-height: 1.7;
}

h3{
    font-size: 25px;
}
.custom-button {
    border: none;
    background-color: #50725b;
    color: #a9dc5e !important;
    cursor: pointer;
    font-size: 28px; 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    padding: 2px 30px;
    line-height: 1;
    border-radius: 0; 
}


.custom-button::after {
    content: "→";
    font-weight: bold;
    margin-left: 8px;
    color: inherit; 
}


.custom-button a {
    color: inherit !important;
    text-decoration: none;
}


.custom-button:hover {
    background-color: #a9dc5e;
    color: #50725b !important;
    transform: scale(1.05);
}
.custom-button:hover::after{
    color: #50725b;
}
.custom-button * {
    color: inherit !important;
  }
  .avia-icon-list .iconlist_icon {
    background-color: #50725b !important;
}
.av-image-caption-overlay-center p:last-child {
    color: #a7d571;
    font-size: 80px;
    line-height: 1.3;
}
#johannes-photo .av-image-caption-overlay-center p:last-child {
  
  color: white;
  font-size: 26px;
  margin-top: 250px;
}

.page-id-222 .template-page.content.av-content-full.alpha.units.av-main-page {
  margin-top: 180px ;
}
.page-id-220 .avia_textblock {
  margin-top: 180px;
}
.post-entry.post-entry-type-page.post-entry-503 {
  margin-top: 50px;
}
.post-entry.post-entry-type-page.post-entry-499 {
  margin-top: 65px;
}
.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
  margin-bottom: 0px !important;
  width: 95% !important;
  padding: 16px 12px !important;
}
#top textarea {
width: 97.5%}
.page-id-503 h3 {
  margin-bottom: 30px;
  margin-top: 50px;
}
.page-id-503 p {
  margin: 0;
}
.post-entry.post-entry-type-page.post-entry-784 {
  margin-top: 80px;
}
.post-entry.post-entry-type-page.post-entry-782 {
  margin-top: 80px;
}
.post-entry.post-entry-type-page.post-entry-779 {
  margin-top: 80px;
}
.post-entry.post-entry-type-page.post-entry-774 {
  margin-top: 80px;
}
.post-entry.post-entry-type-page.post-entry-768 {
  margin-top: 80px;
}

.page-id-456 .hr {
  width: 0%;
  margin: 1px 0;
}

.av_iconlist_title,
.iconlist_title {
  font-size: 23px; 
  hyphens: auto;
  word-wrap: break-word;
  }
  .iconlist_content p {
    color:#58585a;
    font-size: 19px;
  }
  
  .page-id-497 p:has(span) {
    color: #58585a;
  }


.page-id-417 #av_section_2.av-section-cont-open {
  height: 100%; 
}

.page-id-417 #av_section_2 {
  height: 100%; 
}


.page-id-417 #av_section_2 .av-section-cont-open {
  height: 100%;
 
}
.page-id-417 .avia_textblock h2 {
  margin-bottom: 30px; 
}
.page-id-497 #av_section_5.av-section-cont-open {
  height: 100%; 
}

.page-id-497 #av_section_5 {
  height: 100%; 
}


.page-id-497 #av_section_5 .av-section-cont-open {
  height: 100%;
 
}
.grid-entry-title, .entry-title {
  font-size: 18px;
text-align: center;}
#scroll-top-link {
  right: 33px;
  bottom: 100px;
}
.av-burger-menu-main.menu-item-avia-special a {
  background-color: transparent;
}
#small-pic-left {
  clear: none;
}

#small-pic-right {
  clear: none;
}

#small-pic-left .avia-image-container-inner {
  width: 47%;
  float: left;
}

#small-pic-right .avia-image-container-inner {
  width: 47%;
  float: right;
}

.margin-top-img {
  margin-top: 20px;
}
[data-ajax-id="774"] .grid-content {
  padding: 30px;
}


.avia-image-container.av-4mlnh4-55a648867846dedaae927744eb62a251.av-styling-no-styling.avia-align-center.avia-builder-el-88.avia-builder-el-no-sibling {
  display: flex;
  position: absolute;
}
.wp-image-346.avia-img-lazy-loading-not-346.avia_image {
  object-fit: cover;
  height: 100%;
}
#text-6 .textwidget {
  white-space: nowrap;
}

.flex_column.av-fb4tn4-78428585ac23c3d093d0684e7c688644.av_one_half.avia-builder-el-20.el_after_av_one_fourth.el_before_av_one_fourth.flex_column_table_cell.av-equal-height-column.av-align-top.column-top-margin,
.flex_column.av-fb4tn4-78428585ac23c3d093d0684e7c688644.av_one_half.avia-builder-el-20.el_after_av_one_fourth.el_before_av_one_fourth.flex_column_table_cell.av-equal-height-column.av-align-top.column-top-margin div {
  height: 100%;
}

#equal-height-image .avia-image-container {
   display: flex;
  position: absolute;
 
}
#equal-height-image div {
  height: 100%;
}
#equal-height-image img {
  height: 100%;
  object-fit: cover;
}
.wp-image-43.avia-img-lazy-loading-not-43.avia_image {
  object-fit: contain;
}
.avia-image-container-inner:has(img.wp-image-465.avia-img-lazy-loading-not-465.avia_image) {
  margin-bottom: 20px;
}

.single-portfolio .avia-icon-list h4 {
  text-transform: none;
}
.single-portfolio .avia-icon-list h4::first-letter {
  text-transform: capitalize;
}
h3.p1 {
  line-height: 1.4;
}
.flex_column:has(.avia-gallery) {
  margin-bottom: 100px;
}

.main_color .avia-gallery img{
  background-color: transparent !important;
  border-color: transparent !important ;
}
.post-entry.post-entry-type-page.post-entry-999{
  margin-top: 80px;
}


@media (max-width: 1348px) {
  #johannes-photo .av-image-caption-overlay-center p:last-child {
    margin-top: 210px;
  }
  .av-main-nav > li > a {
   padding:0 5px;
  }
}
 
@media (max-width: 1300px) {
  .av-image-caption-overlay-center p:last-child {
    font-size: 65px;
  }
  #johannes-photo .av-image-caption-overlay-center p:last-child{
    margin-top: 150px;
    font-size: 23px;
  }
  [data-ajax-id="774"] .grid-content {
    padding: 20px;
  }
}
@media (max-width: 979px) {
  .av-image-caption-overlay-center p:last-child {
    font-size: 50px;
  }
  #johannes-photo .av-image-caption-overlay-center p:last-child{
    margin-top: 100px;
    font-size: 20px;
  }
 
  .second-row{
    margin-bottom: 30px ;
  }
  
.av_textblock_section.av-cam7iw-3404433e8b8a32282868429443049c78 {
  margin-bottom: 30px; 
}

.av_textblock_section.av-appbhs-80afcafdbe173179b63df21674dd81f9 {
  margin-top: 30px;
}

.av_textblock_section.av-9gqk14-dfb420265e025ab2d663dbbff650d036 {
  margin-bottom: 30px; 


}
#footer p{
  font-size: 20px;
}
.borlabs-cookie-open-dialog-preferences {
  font-size: 20px;
}


}
@media (max-width: 768px) {
  .wrapper img {
    max-width: 200px;
  }
  .bg-shape {
    bottom: -30%;
  }
  .footer-content {
    flex-direction: column;
  }
  .grid-entry-title, .entry-title {
    font-size: 16px;}
}
@media  (max-width:767px){ 
    h2 {font-size: 35px;}
    p{ font-size: 20px;}
    h3{ font-size: 20px;}
    .custom-button{ font-size: 23px;}
    .av_iconlist_title,
    .iconlist_title {
  font-size: 20px; 
  }
    
    #johannes-photo .av-image-caption-overlay-center p:last-child{
      margin-top: 300px;
      font-size: 40px;
    }
    .av_minimal_header #header_main, .av_minimal_header #header_meta {
      border: 1px solid rgba(0, 0, 0, 0.3);
  }
    #a {
      margin-right: 90px;
  }
  .header-box p {
    font-size: 2rem !important;
  }
  #footer .container {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;                                                          
  } 
  .avia-svg-logo::before {
    width: 300px;
    height: 400px;
    transform: rotate(-20deg);
    bottom: -50px;
   
}
#text-6.widget.clearfix.widget_text {
 left: 40px;
}
#text-2.widget.clearfix.widget_text {
  left: 40px;
}
#text-3.widget.clearfix.widget_text{
  left: 30px;
}
#footer p.footer_title,
#footer  a, #footer p {
  font-size: 15px;
 
}
.avia-image-container{
  position: relative !important;
}

}
@media (max-width: 700px) {
  .wpcf7-two-col {
    flex-direction: column;
  }

  .wpcf7-column {
    flex: 1 1 100%; 
  }

  
  .wpcf7-column label {
    display: block; 
   
  }
}
@media (max-width: 600px){
  #footer .container {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;                                                          
  } 
  #footer .container > :nth-child(3) {
    order: 3; 
    
  }
  
  #footer .container > :nth-child(1) {
    order: 2; 
  }
  
  #footer .container > :nth-child(2) {
    order: 1; 
  }
  .bg-shape{
    width: 200px !important;
  }
  #footer .flex_column.av_one_third.el_after_av_one_third.el_before_av_one_third #text-4{
    left: 50px;
    margin-bottom: 50px !important;
  }
  #text-3.widget.clearfix.widget_text {
    left: 40px;
}

  .joinchat.joinchat--right.joinchat--show {
    right: 20px;
    left: 0;
    flex-direction: row-reverse ;}

}
@media (max-width: 480px){
    h2{font-size: 25px;}
    p{font-size: 15px;}
    h3{font-size: 15px;}
    .av_iconlist_title,
    .iconlist_title {
  font-size: 20px; 
  }
    .custom-button{ font-size: 18px;}
    .avia-svg-logo::before {
      width: 250px;
      height: 300px;
      transform: rotate(-15deg);
      bottom: -60px;}
      #a {
        right: 49px;
      }
    .av_minimal_header #header_main, .av_minimal_header #header_meta {
      border: 1px solid rgba(0, 0, 0, 0.3);
  }
  .av-image-caption-overlay-center p:last-child {
    font-size: 40px;
  }
  #johannes-photo .av-image-caption-overlay-center p:last-child{
    margin-top: 150px;
    font-size: 30px;
  }
  .grid-entry-title, .entry-title {
    font-size: 14px;}
  
   
   
    .avia-svg-logo::before{
      width: 250px !important;
    height: 200px !important;
    transform: rotate(-20deg) !important;
    background-color: transparent;
    }
    .avia-chrome .avia-gallery-thumb a {
      flex-basis: 28%; 
  }
  .single-portfolio .avia-icon-list .av-iconlist-empty .iconlist_title {
    margin-top: 0px;
  }
  .post-entry{
    margin-top: 0px !important;
  }
  .page-id-222 .template-page.content.av-content-full.alpha.units.av-main-page{
    margin-top: 0px;
  }
  .page-id-220 .avia_textblock{
    margin-top: 0px;
  }
  #top .flex_column_table.av-equal-height-column-flextable:not(:first-child) {
    margin-top: 0px;
  }
}
@media  (max-width: 380px) {
  .post-entry{
    margin-top: 30px;
  }
}
  


@media only screen and (max-width: 1300px) {
    #top #header .av-main-nav > li.menu-item  {
        display: none!important;
    }
    #top #header .av-burger-menu-main {
        cursor: pointer;
        display: block!important;
    }
  }
/** --- FOOTER --- **/

/***** Footer Background & Basic Text *****/
#footer { background-color: #50725b; 
overflow: hidden;
border-color: #50725b;}
#footer .widget_media_image img { width: 100%; }
#footer .menu li { font-size: 16px; }
.footer_color a:hover { color: #abe159; }
.footer_color a { color: white;}
#footer p { color: white;}
.footer_title { color: #abe159 !important;}
#footer .widget {
    margin: 0 !important;
    overflow: unset;
}
.wrapper {
    position: relative;
    display: block;       
      
  }
  
  .wrapper img {
    display: block;
    position: relative;
    z-index: 2;           /* Ensure the image sits above the background shape */
  
  }
  
  .bg-shape {
    position: absolute;
    width: 100%;          /* Twice as wide as the image */
    height: 250%;         /* Twice as tall as the image */
    background-color: #94b49c;
    border-radius: 20px;  /* Fully rounded corners; adjust the value if needed */
    
    
    transform: rotate(-30deg);
    
    
    bottom: -60%;         /* Adjust this value to control how much is moved up */
    left: 0;
    
    z-index: 1;
  }
  


  