/*
Theme Name: Innauer/Matt 2022
Version: 2.0
Author: Ewald Natter
Author URI: http://www.freelenz.at
*/

@font-face {
  font-family: 'PP Right Grotesk Tight';
  src: url('fonts/PPRightGrotesk-TightMedium.eot'), /* IE9 Compat Modes */
       url('fonts/PPRightGrotesk-TightMedium.woff') format('woff'), /* Modern Browsers */
       url('fonts/PPRightGrotesk-TightMedium.ttf') format('truetype'); /* Safari, Android, iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
  }

@font-face {
  font-family: 'PP Right Grotesk Tight';
  src: url('fonts/PPRightGrotesk-TightBlack.eot'), /* IE9 Compat Modes */
       url('fonts/PPRightGrotesk-TightBlack.woff') format('woff'), /* Modern Browsers */
       url('fonts/PPRightGrotesk-TightBlack.ttf') format('truetype'); /* Safari, Android, iOS */
  font-style: normal;
  font-weight: bold;
  text-rendering: optimizeLegibility;
  }


* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  }
  
HTML {
  }
  
BODY {
  font: 14px 'PP Right Grotesk Tight';
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: #1D1D1B;
  overflow-x: hidden;
  background-color: #EDEFEE;
  -webkit-text-size-adjust: 100%;
  -webkit-appearance: none; 
  -webkit-font-smoothing: antialiased; 
  font-smoothing: antialiased; 
  }

LI {
  list-style-type: none;
  }  
  
IMG {
  border: none;  
  }
  
A {
  text-decoration: none;
  color: #000;
  transition: 0.2s;
  } 
  
A:hover {
  color: #001AFF;
  }   
  
.mobile {
  display: none;
  }  

::selection {
  background: #001AFF; /* WebKit/Blink Browsers */
  color: #fff;
  }
  
::-moz-selection {
  background: #001AFF; /* Gecko Browsers */
  color: #fff;
  }   
  
.container {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  }   

/* HEADER
----------------------------------------------------------------------------------------------- */   

#header {
  height: 175px;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 20;
  text-transform: uppercase;
  position: fixed;
  width: 100%;
  left: 0;
  }
  
#header .location {
  position: absolute;
  left: 50px;
  top: 100px;
  }

#header .logo {
  margin: 0 auto 0 auto;
  text-transform: uppercase;
  width: 365px;
  height: 52px;
  background: url('images/logo.svg') no-repeat;
  background-size: 365px auto;
  display: block;
  position: relative;
  top: 85px;
  }

#header .menu {
  position: absolute;
  top: 100px;
  right: 50px;
  cursor: pointer;
  width: 100px;
  text-align: right;
  }  
  
#header .menu.close {
  display: none;
  }  
  
BODY.menu #header .menu.close {
  display: block;
  }
  
BODY.menu #header .menu.open {
  display: none;
  }      
  
/* MENU
----------------------------------------------------------------------------------------------- */    

#menu {
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px;
  background-color: #EDEFEE;
  z-index: 10;
  overflow: hidden;
  transition: 0.2s;
  }
  
BODY.menu #menu {
  height: 100%;
  }  
  
#menu NAV {
  margin-top: 175px;
  }  
  
#menu A {
  display: block;
  font-size: 40px;
  padding: 0.15em 0;
  text-transform: uppercase;  
  }  
  
#menu A:hover {
  color: #001AFF;
  }
  
#menu .highlight A {
  color: #001AFF;
  font-weight: bold;
  }  
  
#menu .instagram {
  position: relative;
  }  
  
#menu .instagram A {
  text-indent: -10000px;
  }  
  
#menu .instagram A:before {
  content: "\e900";
  font-family: icomoon;
  font-size: 29px;
  line-height: 40px;
  position: absolute;
  left: 50%;
  width: 32px;
  margin-left: -16px;
  text-indent: -0;
  }
  
/* TYPO
----------------------------------------------------------------------------------------------- */   

h1 {
  font-family: "PP Right Grotesk Tight";
  text-transform: uppercase;
  font-weight: normal;
  }
  
H2, H3 {
  font-family: "PP Right Grotesk Tight";
  text-transform: uppercase;
  font-weight: normal;
  font-size: 40px;
  margin-top: 1.5em;
  margin-bottom: 1em;
  }  
  
H2:first-child,
H3:first-child {
  margin-top: 0;
  }  
  
H2 A:hover, 
H3 A:hover {
  color: #001AFF;
  }    
  
P {
  margin-bottom: 1.5em;  
  }
  
P:last-child {
  margin-bottom: 0;
  }  
  
/* BLOCKS
----------------------------------------------------------------------------------------------- */   

.alignfull {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  }
  
/* BLOCK SECTION
----------------------------------------------------------------------------------------------- */   
  
.wp-block-getwid-section {
  margin-top: 100px;
  margin-bottom: 100px;
  }
  
.wp-block-getwid-section__inner-wrapper {
  max-width: 980px !important;
  padding: 30px 50px;
  }  
  
.wp-block-getwid-section__inner-wrapper A:hover {
  color: #fff;
  } 
  
/* BLOCK GROUP
----------------------------------------------------------------------------------------------- */    
  
.wp-block-group {
  margin-top: 100px;
  margin-bottom: 100px;
  }  
  
/* BLOCK COLUMNS
----------------------------------------------------------------------------------------------- */     

.wp-block-columns {
  margin: 100px 0;
  }
  
H2 + .wp-block-columns {  
  margin-top: -20px;
  }
  
.wp-block-columns .wp-block-column .wp-block-image {   
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  }
  
.wp-block-columns .wp-block-column:first-child {
  text-transform: none;
  }
  
.wp-container-3 {
  gap: 20px !important;
  }
  
/* BLOCK IMAGE
----------------------------------------------------------------------------------------------- */  
    
 .wp-block-image {
   margin-bottom: 40px !important;
   display: block !important;
   } 
   
.wp-block-image.alignleft {  
  width: calc(50% - 10px);
  float: left;
  margin-right: 0 !important;
  margin-top: 0 !important;
  }
  
.wp-block-image.alignright {  
  width: calc(50% - 10px);
  float: right;
  margin-left: 0 !important;
  margin-top: 0 !important;
  }  
  
/* BLOCK GALLERY
----------------------------------------------------------------------------------------------- */      

.single-project .wp-block-gallery .wp-block-image {
  margin-bottom: 0 !important;
  }
  
.wp-block-gallery {
  margin-top: 40px;
  margin-bottom: 75px;
  gap: 20px !important;
  }
  
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image),
.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image) {
  width: calc(50% - 20px) !important;
  }    
  
.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image) {
  width: calc(33.3% - 20px) !important;
  }  
  
.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image) {
  width: calc(25% - 20px) !important;
  }
   
/* BLOCK SLIDER
----------------------------------------------------------------------------------------------- */       

.slick-slide {
  cursor: grab;
  }
  
.slick-slide:active {
  cursor: grabbing;
  }  

.wp-block-getwid-images-slider.has-cropped-images .wp-block-getwid-images-slider__item img { 
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover !important;
  }
   
/* BLOCK TABLE
----------------------------------------------------------------------------------------------- */    
   
.wp-block-table {
  overflow: hidden;
  }
  
P + .wp-block-table {
  margin-top: -1.5em;
  }

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

#page {
  position: static;
  left: auto;
  padding-top: 175px;
  }

#page.hide {
  position: absolute;
  left: -10000px;
  }
  
.page-title {
  font-size: 40px;
  padding: 0.15em 0;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 25px
  }

#content {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  }  
  
#content #back {
  text-decoration: none;
  }  
  
#content #back:before {
  display: none;
  }  
  
#content P {
  clear: both;
  }  
  
#content UL {
  margin: 0;
  }
  
#content P + UL {
  margin-top: -1.5em;
  }
  
#content UL LI {
  padding-left: 0.55em;
  text-indent: -0.55em;
  transition: 0.2s;
  }
  
#content UL LI.hover:hover {  
  color: #001AFF;
  }
  
#content UL LI:before {
  content: "⮡";
  } 
  
#content UL LI A {
  text-decoration: none;
  text-transform: none;
  padding: 0;
  display: inline;
  }
  
#content UL LI A:before {  
  display: none;
  }
  
.page #content IMG {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  }
  
#content A {
  text-decoration: underline;  
  text-transform: uppercase;
  }
  
#content A:before {  
  content: "⮡";
  }  
  
/* HOME
----------------------------------------------------------------------------------------------- */    

@media (min-width: 480px){

BODY.home #header {
  height: 285px;
  }
  
BODY.home #page {
  padding-top: 285px;
  }  

BODY.home #header .location {
  top: 130px;
  }
  
BODY.home #header .logo {
  width: 215px;
  height: 150px;
  background: url('images/logo-home.svg') no-repeat center center;
  top: 50px;
  }  
  
BODY.home #header .menu {
  display: none;
  }  
  
BODY.home #menu {
  display: block;
  height: auto;
  position: fixed;  
  top: 0;
  padding-top: 0;
  left: auto;
  right: 50px;
  width: auto;
  z-index: 30;
  background: none;
  }
  
@media (min-width: 1400px){
  BODY.home #menu {
    left: 50%;
    margin-left: 500px;
    width: 100px;
    }
    
}  
  
BODY.home #menu NAV {
  margin-top: 75px;
  }  
  
BODY.home #menu A {
  font-size: 24px;
  padding: 0;
  }  
  
BODY.home #menu .highlight,
BODY.home #menu .instagram {
  display: none;
  }  
  
}  
  
/* AKTUELL
----------------------------------------------------------------------------------------------- */   

.aktuell .page-title {
  margin-bottom: 50px;
  }
  
.aktuell .item {
  margin-bottom: 70px;
  text-align: center;
  }
  
.aktuell .item .slide IMG {
  margin: 0 auto;
  }  
  
.aktuell .item-content {
  text-align: center;
  padding-top: 0;
  font-size: 25px;
  text-transform: uppercase;
  }
  
.aktuell .item-content A {
  text-transform: uppercase;
  }    
  
/* JOBS
----------------------------------------------------------------------------------------------- */    

.page-template-jobs {
  background: #001AFF;
  color: #fff;
  }
  
.page-template-jobs #header {
  background: #001AFF;
  }  
  
.page-template-jobs A:hover {  
  color: #fff;
  }
  
.page-template-jobs #header .logo {
  background-image: url('images/logo-white.svg');
  }
  
.page-template-jobs #header #burger SPAN {
  background: #fff;
  }  
  
.page-template-jobs #menu {
  background: #001AFF;
  } 
  
.page-template-jobs #menu .highlight A,
.page-template-jobs #menu A:hover {   
  color: #000;
  }
  
/* BÜRO
----------------------------------------------------------------------------------------------- */     

.buero #content {
  color: #444;
  }
  
.buero #content A {
  text-decoration: none;
  }  

.buero #content P {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  }
  
.buero #content P IMG {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-left: -140px;
  }     
  
.buero #content STRONG {
  font-weight: bold;
  color: #000;
  }  
  
/* PROJECTS
----------------------------------------------------------------------------------------------- */   

#projects {
  margin: 0 auto;
  text-align: center;
  }

#projects .project {
  display: inline-block;
  text-decoration: none;  
  text-align: left;
  }  

#projects .project .title {
  display: block;
  font-size:16px;
  height: 120px;
  text-transform: uppercase;
  }  
  
#projects .project.small {
  width: 250px;  
  overflow: hidden;
  }
  
#projects .project.medium {
  width: 420px;  
  overflow: hidden;
  }  
  
#projects .project.big {
  width: 590px;  
  overflow: hidden;
  }  
  
/* SHORTCODES
----------------------------------------------------------------------------------------------- */   

.shortcode {
  margin: 100px 0;
  }

.columns {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1em;
  }
  
.columns .column {
  width: 25%;
  padding: 0 1em;
  margin-bottom: 2em;
  }
  
/* SINGLE 
----------------------------------------------------------------------------------------------- */ 
  
#grid-container .item {
  margin-bottom: 40px;
  }
  
.single-project #back {
  position: fixed;
  z-index: 100;
  left: 50%;
  margin-left: 500px;
  text-transform: uppercase;
  width: 100px;
  text-align: center;
  right: 37px;
  }  
  
@media (max-width: 1260px){
  .single-project #back {
    left: auto;
    right: 20px;
    }

}
  
.single-project  .wp-block-image {
  margin-top: 40px;
  margin-bottom: 75px !important;
  }  
  
.single-project .wp-block-image + P + .wp-block-image {   
  margin-top: 75px;
  }
   
.single-project .wp-block-getwid-images-slider {
  margin-bottom: 50px;
  }
  
.single-project .wp-block-columns {
  margin: 75px 0;
  }  

.item-title {
  text-align: center;
  margin-bottom: 0;
  font-size: 40px;
  }
  
.item-title A {
  text-decoration: none !important;  
  }
  
.item-subtitle {
  text-align: center;
  }  
  
.item-content {
  padding: 0;
  font-size: 25px;
  text-transform: uppercase;
  } 
  
.item-content P {
  margin-bottom: 1em;
  }
  
IMG.alignleft {
  float: left;
  }  
  
IMG.alignright {
  float: right;
  }    
  
#loading {
  height: 31px;
  margin-bottom: 70px;
  background: url('images/loading_matt.gif') no-repeat center 5px;
  display: none;
  }  
  
BODY.loading #loading {
  display: block;  
  }
  
BODY.loading #top {
  display: none;  
  }
  
/* SLICK
----------------------------------------------------------------------------------------------- */     
  
.slick-dots {
  list-style-type: none;
  position: static !important;
  padding: 10px 0 !important;
  font-size: 26px !important;
  line-height: 26px !important;
  letter-spacing: 0.04em !important;
  }
  
.slick-dots LI {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
  font-size: 26px !important;
  line-height: 26px !important;
  display: none !important;
  letter-spacing: 0.04em !important;
  }  
  
.slick-dots LI.slick-active {
  display: inline-block !important;
  }  
  
.slick-dots LI:before {
  display: none;
  }  
  
.slick-dots LI BUTTON {
  font-size: 26px !important;
  line-height: 26px !important;
  color: #000 !important;
  width: auto !important;
  height: auto !important;
  font-family: 'PP Right Grotesk Tight' !important;
  padding: 0 !important;
  letter-spacing: 0.04em !important;
  text-shadow: none !important;
  }  
  
.slick-dots LI BUTTON:before {
  display: none !important;
  }
  
.slick-arrow {
  display: none !important;
  }  
  
/* FOOTER
----------------------------------------------------------------------------------------------- */     

#footer {
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
  font-size: 12px;
  }
  
#footer #copyright {
  text-transform: uppercase;
  }  
  
#footer #copyright A {
  display: block;
  }  
  
#top {
  display: block;
  }  
  
#footer #top {
  background: url('images/divider.png') no-repeat center bottom;
  height: 25px;
  padding-bottom: 6px;
  text-decoration: none;
  line-height: 12px !important;
  padding-left: 1px;
  margin: 0px 0 70px 0;
  }  

/* MISC
----------------------------------------------------------------------------------------------- */

.left { float: left; }
.right { float: right; }
.clear { clear: both; }

/* ERROR 404
----------------------------------------------------------------------------------------------- */

.error404 {
  text-align: center;
  }
