/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

/* pt-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: url('https://keyvest-re.com/fonts/pt-sans-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* pt-sans-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    src: url('https://keyvest-re.com/fonts/pt-sans-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

  /* pt-serif-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'PT Serif';
    font-style: normal;
    font-weight: 400;
    src: url('https://keyvest-re.com/fonts/pt-serif-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* pt-serif-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'PT Serif';
    font-style: normal;
    font-weight: 700;
    src: url('https://keyvest-re.com/fonts/pt-serif-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

  /* Common */
  body {
    font-family: "PT Sans",sans-serif;
    font-size: .875rem;
  }
  h1, h2, h3, h4 {
    font-family: 'PT Serif';
    color: #d3a04e !important;
    text-transform: none !important;
  }

  h1.av-special-heading-tag {
    font-size: 2.1875rem !important;
    line-height: 108% !important;
  }
  h2, h2, h3 a{
    font-size: 1.3125rem !important; 
    font-weight: 100 !important; 
  }
  p {
    margin: 0.85em 0 1.2em 0!important;
  }  
#top .fullsize .template-blog .post .entry-content-wrapper {
	font-size: inherit !important;
}

  p, .avia-content-slider .slide-entry-excerpt {
    line-height: 145% !important;
  }

  @media only screen and (max-width: 767px) {
    body {
      font-size: 1.08rem;
    }
	h1.av-special-heading-tag,
    h2, h2, h3 a{
      font-size: 1.5rem !important; 
    }
  }

  .avia-image-container-inner, .avia_image, .av-image-caption-overlay, .slide-image img {
    border-radius: 0 !important;
  }

  .key:before {
        border-top: 1px solid #d3a04e;
        content: "";
        margin: 0 auto;
        position: absolute;
        top: 74%;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        z-index: -1;
  }
  .key {
    margin-bottom: 100px !important;
  }
  .key img {
    padding: 0 15px;
  }
  .white_bg img{
    background: #ffffff !important;
  }
  .grey_bg img{
    background: #f8f8f8 !important;
  }
  .blue_bg img{
    background: #141f46 !important;
  }
  #top #wrap_all .avia-button {
    border-radius: 24px !important;
  }  
  #top .avia-button.avia-color-light {
    color: #d3a04e !important;
    border: 1px solid #d3a04e !important;
  }
  .avia-button.avia-size-large {
    padding: 4px 40px 4px;
    font-size: 18px;
    min-width: 139px;
    margin-top: 20px;
  }
  .main_color span.hr-inner {
    border-color: #d3a04e !important;
  }
  .mobile_only {
    margin-top: -50px !important;
	}
  .mobile_only .avia-image-container{
	  display: none !important;
	}
  @media only screen and (max-width: 767px) {    
    .mobile_only .avia-image-container{
      display: block !important;
      margin-top: 0 !important;
      margin-bottom: -20px !important;
    }
    .avia-button.avia-size-large {
      font-size: 1.08rem;
    }
  }
  .av-1pbh8u-1f40902288576c9607e4c7de04ac3422 {
   /* display:none !important;*/
  }
  /* Common */

  /* Header */
  #header_main {
    border: none !important;
  }
  .avia-standard-logo a img {
    max-width: 145px!important;
    margin-top: 33px!important;
  }
  @media only screen and (max-width: 767px) {
    .avia-standard-logo a img {
         margin-top: 0 !important;
      }
  }
  .avia-menu-text{
    font-size: 16px;
    font-weight: normal;
  }
  .av_seperator_small_border .av-main-nav > li > a > .avia-menu-text {
    border-left-color: #d3a04e !important;
  }

  .av-language-switch-item.avia_current_lang {
    display:none !important
  }
  .language_flag span.title {
    font-size: 20px;
    font-weight: 400;
    color: #374574;
  }
  #top .content .flex_column .widget_nav_menu li a:hover, #top .content .flex_column .widget_nav_menu ul:first-child > .current-menu-item, #top .content .flex_column .widget_nav_menu ul:first-child > .current_page_item {
    background-color: transparent !important;
    color: #d3a04e !important;
  }

  /* Slider */
  .slideshow_inner_caption h2{
    color: #d3a04e !important;
    font-size: 70px !important;
    line-height: 80px !important;
    text-transform: none !important;
	text-shadow: 3px 4px 11px #141f46;
  }
.avia_transform .av_slideshow_full .active-slide .avia-caption-title, .avia_transform .av_fullscreen .active-slide .avia-caption-title {
  /*animation: caption-left 2s 1 cubic-bezier(0.25, 0.1, 0.25, 1.0)!important;*/
  animation: caption-bottom 0.4s 1 cubic-bezier(0.15, 0.05, 0.15, 0.5) !important
}
@media only screen and (max-width: 600px) {
  .slideshow_inner_caption h2 {
    margin-top: -55px !important;
  }
    }
  @media only screen and (max-width: 450px) {
.slideshow_inner_caption h2 {
  font-size: 50px !important;
  line-height: 56px !important;
}
  }
  @media only screen and (max-width: 400px) {
.slideshow_inner_caption h2 {
  font-size: 42px !important;
    line-height: 48px !important;
}
  }
  /* Slider */

  /* Bereiche */
  #bereiche .av-special-heading {
    margin-top: 30px !important;
    padding-bottom: 0 !important;
  }
  /* Bereiche */

  /* Referenzen Uebersicht */
  .slide-meta {
    display: none !important
  }
  .slide-image {
    background: #141f46 !important
  }
  h3.slide-entry-title.entry-title {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
  }
  .slide-entry-excerpt.entry-content::after {
    content: '';
    display: block;
    border-bottom: 2px solid #d3a04e;
    width: 100px;
    position: absolute;
    bottom: -40px;
  }
  @media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .slide-entry {
      margin-left: 0 !important
    }
  }

#porfolioverkauf .slide-image {display:none !important}
#porfolioverkauf .slide-entry-wrap {
  margin-bottom: 100px !important;
}
  /* Referenzen Uebersicht */

  /* Footer */
  #footer_contact .avia_codeblock {
    display: flex;
    justify-content: space-between;
    }

 .phone,
 .mail {
    margin: 0;
    }

 .phone a,
 .mail a{
       color:#fff !important;
       font-size: 16px !important;
       }
  #nav_menu-3 #menu-footer,     
  #nav_menu-2 #menu-main_menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-top:30px;
  }
  #nav_menu-3 #menu-footer {
    margin-top:0;
  }
  
  #nav_menu-3 #menu-footer li,
  #nav_menu-2 #menu-main_menu li {
    margin: 0;
    padding: 0;
    border-right: 1px solid #d3a04e; /* Vertical line as separation */
    border-top: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
    line-height: 15px !important;
  }
  
  #nav_menu-3 #menu-footer li:last-child,
  #nav_menu-2 #menu-main_menu li:last-child {
    border-right: none; /* Remove border for the last item */
  }
  
  #nav_menu-3 #menu-footer a,
  #nav_menu-2 #menu-main_menu a {
    text-decoration: none;
    padding: 0 10px; /* Adjust padding as needed */
    display: block;
    color: #fff;
    font-weight: 400;
  }

  #nav_menu-3 .sub-menu,
  #nav_menu-2 .sub-menu {
    display: none !important
  }
  
  @media only screen and (max-width: 767px) {
    #nav_menu-3 #menu-footer, #nav_menu-2 #menu-main_menu {
      display: block !important;
      text-align: center !important;
    }
    #nav_menu-3 #menu-footer li,
    #nav_menu-2 #menu-main_menu li {
      border-right: none; /* Vertical line as separation */
      padding: 6px 0 !important
    }
  }



  #scroll-top-link {
    display:none !important
  }

  .entry-content-wrapper ul.social-icons {
    list-style: none;
    margin: 0 !important;
  }
  .social-icons {
    list-style: none;
    padding: 0;
    display: flex;
}

.social-icons li {
    margin-right: 10px;
    margin-left: 0
}

.social-icons a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #d3a04e; /* Background color */
    text-align: center;
    line-height: 40px;
    color: #101739; /* Icon color */
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #555;
}

.fa {
    font-size: 20px;
}

#lang_sel ul {
  max-width: 50px;
  padding-top: 30px !important;
}
.wpml-ls-slot-sprachumschaltung_footer a {
  background: transparent;
  color: #374574;
  border: none !important;
  padding: 0 !important;
  font-size: 16px;
}
.wpml-ls-slot-sprachumschaltung_footer a:hover {
  color: #374574 !important;
}
.wpml-ls-legacy-dropdown a:hover {
  background: transparent !important
}
#lang_sel ul ul.wpml-ls-sub-menu {
  padding-top: 5px !important;
  border: none !important;
}
.wpml-ls-link {  
  font-size: 16px !important;
}

@media only screen and (max-width: 767px) {
  #footer_contact .avia_codeblock {
    display: block;
  }
  .phone a, .mail a {
    font-size: 16px !important;
    text-align: center;
    display: block;
  }
  #footer-page .avia_codeblock {
    text-align: center;
  }
  #footer-page .avia_image {
    max-width: 60%;
    margin: 0 auto;
  }
  .entry-content-wrapper ul.social-icons {
    margin: 0 auto !important;
    text-align: center;
    display: inline-flex;
  }
  #icl_lang_sel_widget-2 {
    width: 50px !important;
    margin: 0 auto;
  }
}
/* Footer */



  /* Blog */
  .slide-entry-title.entry-title a {
    font-size: clamp(0.7em, 2vw, 33px);
    line-height: 1.3em !important;
    display: block;
  }
  .slide-entry-excerpt {
    color: #fff !important;
    /*font-size: clamp(0.5em, 1.6vw, 1em);*/
  }
  .slide-entry-wrap {
    margin-bottom: 150px !important;
  }
  .slide-entry a {
    pointer-events: none;
  }

#top.page-id-216 .slide-image {
	display: none!important;
}
.read-more-link {
	margin-top: 15px !important;
}
.read-more-link .more-link {
	color: #d3a04e !important;
    font-weight: bold;
}
#top.page-id-216 .slide-entry a {
    pointer-events: all;
  }
.avia-post-nav,
.entry-content-wrapper .entry-footer {
	display: none !important
}
h1.post-title.entry-title {font-weight:300 !important}

  @media only screen and (max-width: 767px) {
    .slide-entry {
         margin-bottom: 100px !important;
      }
      .slide-entry-wrap {
        margin-bottom: 0 !important;
      }  
      .responsive #top #wrap_all .slide-entry {
        width: 100% !important;
      }
  }
  /* Blog */


  /* Form */
  #top .wpcf7-form label {
    font-weight: normal !important;
  }
  input {
    font-size: 16px !important;
    font-weight: normal !important;
    font-family: 'roboto' !important;
  }
  .wpcf7-submit{
    color: #d3a04e !important;
    background:#101739 !important;
    border-color: #101739 !important;
    margin-top:20px;
  }
  .wpcf7-list-item {
    margin-left: 0 !important;
  }
  #top input[type="checkbox"] {
    float: left;
  }
  .wpcf7-acceptance .wpcf7-list-item-label{
    display: block;
    line-height: 21px !important;
    font-size: 14px !important;
    float: left;
    width: 90%;
  }
  .wpcf7-not-valid-tip {
    display: none
  }
  .wpcf7-not-valid {
    border: 1px solid #d3a04e !important;
  }
  /* Form */


  /* Temp */
  #lang_sel,
  .av-language-switch-item {
    display:none !important
  }
#BorlabsCookieWidget {
	display:none!important
}
  /* Temp */