/*
 Theme Name:   XANADU-Enfold_Child
 Theme URI:    http://kriesi.at
 Description:  Enfold Child Theme
 Author:       Gernot Puschner
 Author URI:   http://shape-design.at
 Template:     enfold
 Version:      1.0.0
*/



/* KEIN PADDING nach HEADER auf HOME*/
.page-id-438 main.content {
    padding: 0;
  }
  
  /* VERGROSERUNG GOOGLE MAP OVERVIEW auf JOURNEYS */
  .page-id-527 .wpsl-map { 
     height: 600px;
  }
  
  /* KEIN HOVER_OVERLAY ICON UBER BILDERN */
  .image-overlay{
  display: none !important;
  }
  
  /* TRANSPARENT_OVERLAY BEI MASONRY */
  figcaption.av-inner-masonry-content {
      background: rgba(255, 255, 255, 0.8) !important;
  }
  
  /* INDENT FOR SUB CATEGORIES ON SIDEBAR RIGHT 
  #top .widget .children {
      padding-left: 10px;
  }*/
  
  /* REMOVE BACKGROUND ON FEATURED IMAGE */
  /* + ALIGN LEFT BOTTOM */
  /* @ BLOG-POST-ELEMENT IN GRID_STYLE */
  .main_color .avia-content-slider .slide-image {
       background: #fff;
  }
 /* .avia-content-slider .slide-image img {
      margin: 0; align: bottom;
  }*/
  @media only screen and (min-width:981px) {
    .page-id-31 #after_section_3 .avia-content-slider .slide-entry-wrap {
      display: flex;
      align-items: baseline;
    }
  }
  
  /* header: kolission von logo und Navigation beim resize verhindern */
  @media only screen and (max-width: 767px) {
  .responsive .logo a, .responsive .logo img {
  margin: 0 auto;
  max-width: 100%;
  height: 50px !important;
  max-height: 50px !important;
  top: 5px;
  }
  }
  
  @media only screen and (max-width: 480px) {
  .responsive .logo a, .responsive .logo img {
  margin: 0 auto;
  max-width: 100%;
  height: 45px !important;
  max-height: 45px !important;
  top: 5px;
  }
  }
  
  .wp-caption-text {
  text-align: left;
  }
  
  /* SINGLE IMAGE - CAPTION BELOW IMAGE by choice*/
  .avia-image-container.caption-below .av-image-caption-overlay {
  position: absolute;
  height: auto;
  width: 100%;
  bottom: -15px;
  padding: 15px 0;
  left: 0;
  top: 100%;
  }
  
  /* addition so that a text element following the image below does not be covered by the caption */
  .avia-image-container.avia-align-center.caption-below {
    margin: 0 auto 50px auto;
  }
  
  /* addition so that the caption below the image has no padding and is set to left and change of font-color and BG*/
  .avia-image-container.caption-below .av-image-caption-overlay-center {
    padding: 0; 
  }
  .avia-image-container.caption-below .av-image-caption-overlay-center p {
    text-align: left; color: #000000;
  }
  
  /* addition so that related posts don't wrap with the image settings and some styling 
  .yarpp-related {
  display: inline-block;
      border-top: 2px solid #78757e;
      margin-left: 0px;
      margin-top: 40px!important;
      padding-top: 35px;
  }*/
  /*font size for theme texts*/
  .category-themes .entry-content p {
      font-size: 1.6em;
      line-height: normal;
  }
  
  /* * * * * * * * * * * * * * * XINI * * * * * * * * * * * * */

  /* landing page adjustments*/
  #jan {
  padding: 32px;
  }
  
  #jan .container.av-section-cont-open {
      border: 3px solid #374C67;
      border-radius: 3px;
  }
  
  
  /*LANDING PAGE*/
  /* recent posts change img size 
  #x_recent img {
      height: 347px;
      object-fit: cover;
  }*/
  /* arrows change for recent posts */
  .avia-slideshow-arrows a:before{
      border: none !important;
      font-size: 48px;
      color: white;
      top:-20px;
  }
  .avia-slideshow-arrows a.next-slide:before{
      content: "→";
  }
  .avia-slideshow-arrows a.prev-slide:before{
      content: "←";
  }
  
  #x_recent .slide-entry-excerpt.entry-content {
      letter-spacing: 0.2px;
      line-height: 24px;
      height: fit-content;
  }
  
  #x_recent .avia-content-slider-inner {
      height: fit-content !important;
  } 
  
  .x_section_title h3 {
      font-family: 'montserrat' !important;
      font-weight: bold !important;
      font-size: 32px;
      color: #23302C !important;
  }
  .x_section_seperator {
  line-height:1px;
  min-height:1px;
  }
  
  /*h2 quote font adjustment */
  #quote h2 {
  font-size: 40px!important;
      line-height: 1.5em;
      margin-bottom: 8px;
  }
  /* small quote color padding and size adjustment */
  .x_sm_quote strong {
  color: #FFF5F0!important;
  
  }
  .x_sm_quote p{
  margin: 0;
  }
  
  
  /*h3 for bio size adjustment*/
  #bio h3 {
      font-size: 28px;
  }
  
  /* remove margin in bio*/
  #bio p {
  margin-top: 0!important;
  }
  
  /*bio img adjustment to full-width column
  .x_bio_img {
  padding-right
  }*/
  
  
  /* EXPLORE adjustments size, padding */
  #explore .avia-image-container  {
  margin:0;
 
  }
  #explore h4 {
  margin:0;
  font-size: 24px!important;
  }
  #explore .x_explore_cat {
      padding: 16px;
  }
  
  
  /* *********HEADER************* */
  /* Logo settings */
  .container.av-logo-container {
  padding: 16px;
    height: 69.4px !important;
    line-height: 69.4px !important;
    width: 100% !important;
    max-width: unset !important;
      }
  
  /*logo adjustment for text logo*/
  .logo h1 {
  margin-bottom: 0;
  }
  
  .logo h1 a{
  max-height: unset!important;
  }
  
  /*navigation transition change - removing underline */
  
  span.avia-menu-fx {
      display: none;
  }
  
  #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus, #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .avia-menu-text, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .avia-menu-text, #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .avia-menu-subtext, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .avia-menu-subtext {
   color: #973449;
  }
  
  /* logo and navigation scroll behavior */
  .header-scrolled h1 {
      font-size: 24px;
  }
  
  .header-scrolled .container.av-logo-container {
      padding: 8px;
      height: 42px !important;
     background-color: #FFF5F0;
  }
  
  .header-scrolled {
      border-bottom: 2px solid #374C67;
      background-color: #FFF5F0;
  }

  #header {
    border-bottom: 2px solid #374C67;
  }
  
  .home #header {
    border-bottom: none;
  }

  .logo,  nav.main_menu{
  height: fit-content;
      top: 50%;
      transform: translateY(-50%);
  }
  
  
/* ***********FOOTER *************** */

/*scroll to the top styling */
#scroll-top-link {
    border-radius: 50%;
    background-color: #374C67;
    color: #FFF5F0;
    opacity: 1 !important;
}
  
#scroll-top-link:hover, #av-cookie-consent-badge:hover {
    background-color: #4a2721!important;
    color: #fff5f0;
}



  
  /* collor for footer socket */
  footer#socket {
      color: #FFF5F0;
  }

  /* ****************   POSTS   ************************* */

  /*styling next/prev post arrow popup */
  #top .avia-post-nav {
    background: none;
  }

.avia-post-nav .label:before {
    font-size: 55px;
    color: #374c67;
    margin: 0 8px 0 8px;
    }



#top .avia-post-nav:hover {
    background: #374c67!important;
    border-radius: 0 6px 6px 0;
    }
    
.avia-post-nav .label:before {
    font-size: 48px;
    color: #374c67; 
    }
    
.avia-post-nav:hover .label:before, .entry-info-wrap {
    color: #fff5f0; 
    }
    
.entry-info-wrap { 
    margin-left: 20px;
    margin-right: 20px;
    }
    
    
.avia-post-nav .entry-info span {
    font-size: 16px;
    }
    
.avia-post-nav .entry-image img {
    border-radius: 6px;
}
  
  
  
  /* ***************** IMAGES ************************** */
  
  /* IMAGES SINGLE GALLERY */
  /* top location styling */
  
  /*hide unnecessary element - you're here, first entry and title*/
  .breadcrumb-trail .trail-before, strong.main-title.entry-title, a.trail-begin {
      display: none;
  }
  /*send location to left, change size and position of text */
  .title_container .breadcrumb {
      line-height: 24px;
      margin-top: -11px;
      left: 96px;
  }
  
  /*change font size*/
  .breadcrumb-trail span {
      font-size: 24px;
      font-weight: bold;
  }
  /* change the size and margin for separators */
  .breadcrumb .sep {
      margin: 0 8px;
      width: fit-content;
  }
  
  /*change color and lowercase for parent locations */
  .breadcrumb-trail a {
      color: #838C9B !important;
      text-transform: lowercase;
  }
  
  /*add border */
  .container_wrap {
    border-top: 2px solid #222F2C;
  }

  .title_container {
      border-top: 3px solid #222F2C;
    /*  border-bottom: 1px solid #222F2C; */
  box-shadow: 0 3px 3px 0 color(srgb 0 0 0 / 0.25);
  }


  
  /* GALLERY VISUAL SETTINGS */
  .category-images .entry-content-header,   .category-our-people .entry-content-header {
      display: none;
  }
  /*make containers for gallery posts wider */
  .entry-content-wrapper.clearfix.gallery-content {
      max-width: 100%!important;
  }
  
  .category-images .entry-content,   .category-our-people .entry-content  {
      max-width: 100em !important;
  }
  
  
  
  /*IMAGES CATEGORY*/
  
  /* filter styling */
  
  .x_magazine .av-magazine-sort  {
      float: left;
      font-size: 16px;
  }
  /*remove / separator */
  .x_magazine span.text-sep {
      display: none;
  }
  /* add text styling */
  .x_magazine .av-sort-by-term a  {
      padding: 0 8px;
      border-radius: 3px;
      margin: 16px 16px 16px 0;
      font-weight: bold;
      text-transform: lowercase;
  }
  /* add color images filter*/
  #images-category .av-sort-by-term a {
      background-color: #e1e1e1;
      color: #4A2721;
  }
  /*add color words filter */
  #words-category .av-sort-by-term a {
      background-color: #FFF5F0;
      color: #4A2721;
  }
   /*add color our people filter */
   #our-people-category .av-sort-by-term a {
    background-color: #FFF5F0;
    color: #4A2721;
}
  /* style active filter buttons */
  #images-category .av-sort-by-term a.active_sort {
      background-color: #374c67 !important;
      color: #E2E5E7 !important;
  }
  
  #words-category .av-sort-by-term a.active_sort {
      background-color: #4A2721!important;
      color: #FFF5F0!important;
  }

  #our-people-category .av-sort-by-term a.active_sort {
    background-color: #4A2721!important;
    color: #FFF5F0!important;
}


  
  /* background color for the images page */
  
  .category-images #main, .category-images #main .main_color, .category-images .header_bg, .category-images #header_main, 
  .category-images .title_container {
      background-color: #FFF5F0 !important;
  }
  /*
  .page-id-967 #main, .page-id-967 .header_bg, .page-id-967 #header_main {
      background-color: #FFF5F0 !important;
  }*/
  
  /* styling single post magazine style */
  article.av-magazine-entry.av-magazine-type-post {
      border: 1px solid #23302C;
      border-radius: 3px;
  box-shadow: 0 3px 3px 0 color(srgb 0 0 0 / 0.25);
  }
  #images-category article.av-magazine-entry.av-magazine-type-post {
      background-color: #E2E5E7;
  }
  #words-category article.av-magazine-entry.av-magazine-type-post {
      background-color: #FFF5F0;
  }
  /*thumbnail styling */
.av-magazine-thumbnail {
      margin: 0;
      padding: 0;
      box-shadow: 0 6px 20px 1px color(srgb 0.25 0.27 0.29 / 0.25);
      border-bottom: 1px solid #23302C;
  }

  /* change size of thumbnail and layout of posts */
  /*make full width of the post listing */
  .av-magazine-hero.first {
    margin-bottom: 32px;
  } 
  .av-magazine-thumbnail {
    float:none;
    margin-left:0;
  }

 
  .av-magazine-sideshow .av-magazine-thumbnail {
    height: 480px;

  }
  .av-magazine-sideshow .size-thumbnail {
    height:480px;
    width:auto;
    object-fit: cover;
  }
  .av-magazine-sideshow {
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    row-gap: 32px;

  }

  #our-people-category .av-magazine-time {
    display:none;
    
  }


/* version with pic on the left 
  .size-thumbnail {
    width:auto;
    height: 140px;
    object-fit: cover;
  }

  .av-magazine-thumbnail {
    width:180px!important;

  }*/
  
  
  
  
  /* remove excerpt and separators */
  .x_magazine .av-magazine-content.entry-content, .x_magazine span.av-magazine-text-sep.text-sep-cats {
      display: none;
  }
  
  /* add arrows to title */
  .av-magazine-content-wrap h3 a::after {
      content: '→';
      margin-left: 16px;
  }
  
  .x_magazine header.entry-content-header {
      margin: 16px;
  }
  
  .x_magazine span.av-magazine-cats-wrap {
      margin: 16px 0;
  }
  
  .x_magazine span.av-magazine-cats.minor-meta {
      padding: 8px;
      background-color: #4A2721;
      border-radius: 3px;
  }
  
  .x_magazine span.av-magazine-cats.minor-meta, .x_magazine .av-magazine-cats a {
      color: #FFF5F0;
      font-weight: 600;
      text-transform: lowercase;
  }
/*
  .x_magazine .minor-meta a {
    display: none;
}

  .x_magazine .minor-meta a:first-child {
    display: inline-block !important;
}
*/

  
  .x_magazine h3.av-magazine-title {
      font-size: 28px!important;
      color: #23302C !important;
  }
  .x_magazine h3.av-magazine-title:hover {
      color: #973449 !important;
  }
  
  .x_magazine .av-magazine-content-wrap {
      border: none;
  }
  
  .x_magazine .av-magazine-thumbnail {
      padding: 0;
      border: none;
      width: fit-content;
  }
  
  
  /* ********************WORDS **************************** */
  
  /*bg color for words page */
  
  .page-id-187 #main, .page-id-187 .header_bg, .page-id-187 #header_main, .category-words #header_main, .category-words #main .main_color, .category-words .title_container  {
    background-color: #E2E5E7!important;
  }
  
  /* fix padding for menu */
  .html_header_top.html_header_sticky #main {
    padding-top: 71px;
  }
  /*
  .main_color {
    border-top: 2px solid #374C67; }
  */


/* ***********************SINGLE POST ********************************* */

.category-words .av-main-single {
    padding-top:0;
}

.category-words .template-single-blog {
    padding:0;
    margin: 0;
}

.category-words .single-big {
    width:100vw;
}

.category-words .entry-content-wrapper {
    padding: 64px 0;
}

#top .fullsize .template-blog .post-title {
    text-align: left;
}

#top .fullsize .template-blog .post-meta-infos {
    text-align: left;
    margin-top: 16px;
}
  

/* *********************************************** OUR PEOPLE *************************************************** */

.page-id-959 #main, .page-id-959 .main_color, .page-id-959 .header_bg, .page-id-959 #header_main, .category-our-people #header_main, .category-our-people #main .main_color, .category-our-people .title_container  {
    background-color: #E8D8E8;
}


  /* related posts styling */
  /*
  .yarpp-thumbnails-horizontal .yarpp-thumbnail-default {
      display: none;
  }
  */
  a.yarpp-thumbnail {
      background-color: #E2E5E7;
      border: 1px solid #23302C !important;
      border-radius: 3px;
      box-shadow: 0 3px 3px 0 color(srgb 0 0 0 / 0.25);
      padding: 16px;
      width: 48.5% !important;
      height: fit-content !important;
  }
     .yarpp-thumbnails-horizontal .yarpp-thumbnail-default, .yarpp-thumbnails-horizontal .yarpp-thumbnail>img {
      object-fit: cover;
  }


