/*
Theme Name: Gruber + Haumer
Author: Ewald Natter
Author URI: http://www.freelenz.at
Version: 1.0
*/

* {
  outline: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  line-height: inherit;
  box-sizing: border-box;  
  }

HTML {
  height: 100%;
  }
  
BODY {
  height: 100%;
  font-family: Open Sans;
  font-size: 20px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  color: #4A4040;
  overflow-x: hidden;
  overflow-y: scroll;
  }
  
IMG {
  vertical-align: bottom;
  -ms-interpolation-mode: bicubic;
  }    
  
A {
  text-decoration: none;
  transition: 0.2s;
  color: #CAD5AB;
  }  
  
UL, LI {
  list-style-type: none;
  }
  
P {
  margin-bottom: 1.5em;
  }   
  
P:last-child,
P:last-of-type {
  margin-bottom: 0em;
  }   
  
B, STRONG {
  font-weight: 600;
  }   
    
  
/* LAYOUT
------------------------------------------------------------------------- */  

#page {
  height: auto !important;
  min-height: 100%;
  margin-left: auto;  
  margin-right: auto;
  max-width: 1300px;
  margin-bottom: -150px;
  position: relative;
  }

#page:after {
  content: " ";
  clear: both;
  display: table;
  }  
  
FOOTER, #push {
  height: 150px;
  }  

.vertical-align {
  display: table !important;
  width: 100%;
  height: 100%;
  }  
  
.vertical-align .middle {
  display: table-cell !important;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  } 
  
.greenspace {  
  position: absolute;
  background: #CAD5AB;
  opacity: 0.3;
  }  
  
.greenspace IMG {
  display: none;
  }  
  
/* NAV
------------------------------------------------------------------------- */    
  
NAV LI {
  display: inline-block;
  margin-left: 2em;
  font-size: 14px;
  }  
  
NAV LI A {
  color: #404040;
  }  
  
NAV LI.menu-item-type-custom A,
NAV LI A:hover {
  color: #CAD5AB;
  } 
  
NAV LI.menu-item-type-custom A:hover {
  color: #404040;
  }   
  
NAV LI.current-page-ancestor A,
NAV LI.current-menu-item A {
  font-weight: 600;
  }  
  
/* HEADER
------------------------------------------------------------------------- */   

HEADER {
  position: relative;
  z-index: 2;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: rgba(255,255,255,0.97);
  }
  
HEADER #overlay {
  position: relative;
  z-index: 5;
  }  
  
HEADER .container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  }  
  
HEADER NAV {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 50px;
  padding: 40px 0px;
  }
  
HEADER NAV UL UL {
  display: none;
  }  

#logo {
  width: 185px;
  height: auto;
  position: absolute;
  margin-left: 60px;
  left: 0;
  top: 90px;
  z-index: 2;
  transition: none;
  }
  
#logo.fixed {
  position: fixed;
  top: 40px;
  }  
  
/* MOBILE MENU
------------------------------------------------------------------------- */   
  
#icon-menu {
  position: absolute;
  z-index: 100;  
  top: 70px;
  right: 70px;
  width: 42px;
  height: 32px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  transition: position 0s;
  cursor: pointer;
  float: left;
  display: none;
  }

#icon-menu span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #404040;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  }

#icon-menu span:nth-child(1) {
  top: 10px;
  }

#icon-menu span:nth-child(2),#icon-menu span:nth-child(3) {
  top: 22px;
  }

#icon-menu span:nth-child(4) {
  top: 34px;
  }
  
#icon-menu.open {
  position: fixed;
  }  

#icon-menu.open span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
  }

#icon-menu.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  }

#icon-menu.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  }

#icon-menu.open span:nth-child(4) {
  top: 20px;
  width: 0%;
  left: 50%;
  }    
  
/* HEADLINES
------------------------------------------------------------------------- */     

H2 {
  font-weight: 400;
  text-align: left;
  font-size: 30px;
  margin: 2em 0;
  }
  
H2:first-child {
  margin-top: 0;
  }  
  
H3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 2em 0;
  }  
  
H4 {
  margin-top: 2em;
  margin-bottom: 1em;
  font-weight: 600;
  color: #000;
  }  
  
/* BLOCKS
------------------------------------------------------------------------- */   

.wp-block-separator {
  height: 1px;
  background: none;
  border: none;
  border-top: 1px solid #e4ead5;
  margin: 5em 0;
  margin-left: -280px;
  margin-right: -30px;
  }  
  
.wp-block-columns {
  margin: 0 0 5em 0
  }  
  
.wp-block-column {
  padding: 0 30px;
  margin: 0 !important;
  }  
  
.wp-block-columns.has-2-columns .wp-block-column {  
  width: 50%;
  }  

.wp-block-column:first-child {
  padding-left: 0;
  }  
  
.wp-block-column:last-child {  
  padding-right: 0;
  }
  
.wp-block-cover {
  margin-bottom: 3em;
  }  
  
.wp-block-cover-image {
  margin: 5em 0;
  background-color: #e8eedb;
  -ms-interpolation-mode: bicubic;
  }  
  
.wp-block-gallery {
  display: block;
  list-style-type: none;
  max-width: 100%;
  } 
  
.wp-block-gallery LI {
  background: none;
  padding-left: 0 !important;
  text-indent: 0 !important;
  }  
  
.wp-block-gallery LI:before {
  content: " " !important;
  } 
  
.wp-block-gallery .slick-slide {
  max-width: 100%;
  }
  
.wp-block-gallery LI {
  width: 100%;
  }  
  
.wp-block-gallery LI IMG {
  width: 100%;
  height: auto;
  }  
  
.wp-block-gallery LI FIGURE {
  padding-bottom: 36px !important;
  }  
  
.wp-block-gallery LI FIGCAPTION {
  bottom: 0px !important;
  text-align: left !important;
  padding-left: 0 !important;
  background: none !important;
  color: #404040 !important;
  font-weight: 600;
  }  
  
.wp-block-gallery .slick-slide {
  margin: 0 10px;
  }

.wp-block-gallery .slick-list {
  margin: 0 -10px;
  }  
  
.wp-block-gallery .slick-dots {
  position: absolute;
  right: 0;
  bottom: 20px;
  counter-reset: number;
  background: #ffffff;
  padding: 0 10px;
  margin-right: -10px;
  } 
  
.wp-block-gallery .slick-dots LI {
  display: inline-block;
  width: auto;
  float: left;
  counter-increment: number !important;
  font-size: 13px;  
  font-weight: 600;
  position: absolute;
  left: -10000000px;
  }  
  
.wp-block-gallery .slick-dots LI:last-child,
.wp-block-gallery .slick-dots LI.slick-active  {
  position: static;
  } 
  
.wp-block-gallery .slick-dots LI:last-child BUTTON:before {
  display: inline-block;
  content: "/";
  } 
  
.wp-block-gallery .slick-dots LI:last-child:before {
  display: inline-block;
  font-size: 13px;  
  font-weight: 600;
  }
  
.wp-block-gallery .slick-dots LI.slick-active:last-child:before {
  content: counter(number)"" !important;
  }  
  
.wp-block-gallery .slick-dots LI BUTTON {
  border: none;
  font-size: 13px;  
  font-weight: 600;
  color: #404040;
  background: none;
  }   
     
  
/* HOME / STARTSEITE
------------------------------------------------------------------------- */   

.image.lazyload {
  overflow: hidden;
  }

.image.lazyload .preview {
  background-size: cover;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
  transform: scale(1);
  overflow: hidden;
  background-color: #eee;
  } 
  
.image.lazyload .finished {
  background-size: cover;
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s;
  transition: 1s;
  }  
  
.image.lazyload .finished.show {
  opacity: 0.3;
  }   
  
.image.lazyload:hover .finished.show {  
  opacity: 1;
  }
  
/* HOME / STARTSEITE
------------------------------------------------------------------------- */   

.home #content {
  padding-top: 260px;
  padding-right: 20%;
  max-width: 2000px;
  }

.home #feature .landschaftsarchitektur IMG {
  width: 210px;
  }
  
.home #feature {
  max-width: 1044px;
  position: relative;
  }  
  
.home #feature #slideshow {
  position: relative;
  z-index: 1;
  }  
  
.home #feature .image {
  padding-bottom: 67%;
  position: relative;
  background: #fff;
  z-index: 3;
  } 
  
.home #feature .greenspace {
  position: absolute;
  top: 20%;
  bottom: 10%;
  right: -20%;
  left: 0px;
  }  
  
.home #feature .landschaftsarchitektur {
  position: absolute;
  right: -30%;
  bottom: 20%;
  width: 20%;
  transform: translateX(-3px);
  }

/* CONTENT
------------------------------------------------------------------------- */   

MAIN #content {
  position: relative;
  z-index: 1;
  padding-top: 260px;
  padding-left: 300px;
  padding-right: 50px;
  padding-bottom: 50px;
  max-width: 1300px;
  font-size: 16px;
  }
  
MAIN #content P {
  max-width: 700px;
  }  

MAIN #content P.has-text-color A:hover {
  color: #CAD5AB;
  }  
  
MAIN #content UL {
  margin: 1em 0;
  }  
  
MAIN #content UL LI {
  padding-left: 0.75em;
  text-indent: -0.75em;
  font-size: 16px;
  }  
  
MAIN #content UL LI:before {
  content: "– ";
  }  

/* SIDEBAR
------------------------------------------------------------------------- */    

#sidebar {
  position: absolute;
  z-index: 2;
  top: 260px;
  padding-left: 60px;
  font-size: 14px;
  line-height: 1.85;
  }
  
#sidebar.fixed {
  position: fixed;
  top: 160px;
  }  
  
#sidebar A.filter {
  display: none;
  color: #CAD5AB;
  }  
  
#sidebar UL {
  padding: 1em 0;
  margin-top: -1em;
  }  
  
#sidebar UL + UL {
  border-top: 1px solid #c9c9c9;
  margin-top: 0;
  }  
  
#sidebar A {
  color: #4A4040;
  display: block;
  }
  
#sidebar LI.active A {
  font-weight: 600;
  }
  
#sidebar A:hover { 
  color: #CAD5AB;
  }
  
/* PROJEKTE
------------------------------------------------------------------------- */  

.projekte #content,
.category #content {
  max-width: 1600px;
  }

#projects {
  margin: -50px;
  }

#projects:after {
  content: " ";
  clear: both;
  display: table;
  }  
  
#projects .nada {
  padding: 50px;
  font-size: 14px;
  color: #aaa;
  }  
  
#projects .project {  
  width: 50%;
  position: relative;
  padding: 50px 50px 0px 50px;
  float: left;
  }  
  
#projects .project .insert {
  padding-bottom: 67%;
  position: relative;
  } 
  
#projects .project.double-height .insert {
  padding-bottom: 154%;
  }  
  
#projects .project.double-height .insert .text {
  padding-left: 0px;
  padding-right: 0px;
  font-size: 15px;
  }
  
#projects .project .insert .text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  max-width: 500px;
  }  
  
#projects .greenspace {
  width: 100%;
  height: 100%;
  display: none;
  }    
  
#projects .project:nth-child(3) .greenspace {  
  display: block;
  top: auto;
  bottom: -70px;
  left: -70px;
  z-index: 0;
  }
  
#projects .project:nth-child(8) .greenspace,
.category #projects .project:nth-child(9) .greenspace {  
  display: block;
  top: auto;
  bottom: -70px;
  right: -70px;
  z-index: 0;
  } 
  
.category #projects .project:nth-child(8) .greenspace {
  display: none;
  }
  
#projects .project A {
  display: block;
  position: relative;
  }  
  
#projects .project .image {
  padding-bottom: 67%;
  }
  
#projects .project .title {
  font-size: 14px;
  padding: 1em 0;
  opacity: 0;
  transition: 0.2s;
  }  
  
#projects .project:hover .title {  
  opacity: 1;
  }
  
/* PROJEKT DETAIL
------------------------------------------------------------------------- */  

.single-project #sidebar UL + UL {
  border-bottom: 1px solid #c9c9c9;
  padding-bottom: 1.2em;
  }
  
.single-project #content {
  padding-top: 260px;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  }  

.single-project #content .info {
  float: right;
  width: 35%;
  font-size: 14px;
  padding-left: 50px;
  position: relative;
  z-index: 4;
  }  
  
.single-project #content .info H1 {
  font-size: 1em;
  margin-bottom: 1em;
  }
  
.single-project #content .info .metadata {
  margin-bottom: 2em;
  }  
  
.single-project #content .info .description A {
  font-weight: 600;
  cursor: pointer;
  display: block;
  } 
  
.single-project #content .info .description .content {
  display: none;
  }  
  
.single-project #content .info .description A.hide {
  display: none;
  }     
  
.slideshow {
  width: 65%;
  float: left;
  margin-top: 5px;
  position: relative;
  overflow: hidden;
  }  
  
.slideshow #description {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  bottom: 30px;
  background: #CAD5AB;
  z-index: 10;
  font-size: 14px;
  transition: 0.2s;
  } 
  
.slideshow #description.show {
  left: 0;
  }  
  
.slideshow .arrows {
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  }  
  
.slick-arrow {  
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: 5;
  border: none;
  background: none;
  text-indent: -1000000px;
  cursor: pointer;
  }  
  
.slick-next {
  left: auto;
  right: 0;
  }    

.slideshow .slides {
  margin-bottom: 10px;
  }  
  
.slideshow .slides .slide {
  position: relative;
  background-color: #eee;
  background-size: cover;
  background-position: center center;
  float: left;
  cursor: pointer;
  }
  
.slideshow .slides .slide IMG {
  width: 100%;
  height: auto;
  float: left;
  }  
  
.slideshow .slides .slide .caption {
  position: absolute;
  bottom: -31px;
  right: 80px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  }    
  
BODY.touch .slick-arrow {
  display: none !important;
  }  
 
 /* SIMPLE BAR
 ------------------------------------------------------------------------- */
 
.simplebar-scrollbar {
  opacity: 1;
  }
  
.simplebar-content {
  padding: 50px 50px 80px 50px !important;
  } 
  
/* ARBEITSFELDER
------------------------------------------------------------------------- */     
  
.arbeitsfelder MAIN #content UL LI {
  font-size: 1.2em;
  line-height: 1.75;
  }
  
.arbeitsfelder MAIN #content UL LI:before {
  content: "+ ";
  color: #CAD5AB;
  margin-left: -2px;
  } 
  
/* WETTBEWERBE
------------------------------------------------------------------------- */    
  
.wettbewerbe .greenspace {  
  position: fixed;
  height: 240px;
  top: 360px;
  left: 840px;
  right: 0;
  background: #CAD5AB;
  opacity: 0.3;
  }  
  
#competitions {
  column-count: 2;
  column-gap: 60px;
  }  
  
.competition {
  margin-bottom: 2em;
  break-inside: avoid;
  }  
  
.competition .title A {
  color: #4A4040;
  display: none;
  }  
  
.competition .title A:first-child {  
  display: block;
  }
  
.competition .title A:hover {
  color: #CAD5AB;
  }  
  
/* FANCYBOX
------------------------------------------------------------------------- */  

.fancybox-enabled {
  overflow-y: scroll;
  }  

.fancybox-button--fullscreen,
.fancybox-button--thumbs,
.fancybox-button--play {
  display: none !important;
  }
  
.fancybox-container--ready .fancybox-bg {
  opacity: 1;
  background: rgba(255,255,255,0.9);
  }
  
.fancybox-slider-wrap {
  top: 175px;
  left: 300px;
  right: 300px;
  bottom: 175px;
  }

.fancybox-button--close {
  background: #CAD5AB;
  }
  
.fancybox-button--close:before,
.fancybox-button--close:after {
  background-color: #fff;
  }  
  
/* AKTUELLES
------------------------------------------------------------------------- */   

#news .posts {
  column-count: 2;
  column-gap: 50px;
  }

#news .posts .post {
  break-inside: avoid;
  margin-bottom: 1.5em;
  }  
  
/* KONTAKT
------------------------------------------------------------------------- */  

.kontakt .greenspace {  
  position: fixed;
  height: 450px;
  top: 50%;
  left: 840px;
  margin-top: -225px;
  right: 0;
  background: #CAD5AB;
  opacity: 0.3;
  }
  
/* FOOTER
------------------------------------------------------------------------- */   

FOOTER {
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  padding-top: 50px;
  position: relative;
  z-index: 10;
  }
  
FOOTER A {
  color: #4A4040;
  }
  
FOOTER A:hover {
  color: #CAD5AB;
  }     
  
FOOTER NAV LI {
  margin: 0;
  }
  
FOOTER NAV LI A {
  padding: 0 2px 0 4px;
  display: inline-block;
  }  

FOOTER NAV LI:before {
  content: "|";
  font-size: 14px;
  }  
  
FOOTER NAV LI:first-child:before {  
  display: none;
  }      

  
  
  
  
  
  
  