/*
Theme Name: Madeia Architekten
Theme URI: https://architekt-madeia.de
Author: internetgestalten.de 
Author URI: http://internetgestalten.de
Version: 0.9.3
Description: Madeia Architekten - Relaunch 2021
*/

@import url("https://fast.fonts.net/lt/1.css?apiType=css&c=c425d6c3-eaaa-4e51-87f2-e559f3c1d2c0&fontids=1572283,1572299");
@font-face{
    font-family:"Frutiger LT W04_47 Light Cond";
    src:url("css/fonts/1572283/440f5248-b769-4a60-8e59-5a0797a60c6b.woff2") format("woff2"),url("css/fonts/1572283/98ade8b2-89f0-43a5-87d1-a005ec31711b.woff") format("woff");
}
@font-face{
    font-family:"Frutiger LT W04_67 Bold Cond";
    src:url("css/fonts/1572299/bf9128aa-8d28-4a06-8fa9-797ec3b076e1.woff2") format("woff2"),url("css/fonts/1572299/0c84ca39-6f05-4db7-91c7-9fb771a47622.woff") format("woff");
}

:root {
  --blau: #0978A9;
}

*,
::before,
::after {
  box-sizing: border-box;
}

figure {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}


html, body {
    font-family:"Frutiger LT W04_47 Light Cond";
    color:#111;
    font-size:15px;
    line-height:1.4em;
    margin:0;
    padding:0;
}
body {
    background-color:#fff;
}

.container {
    width: 1120px;
    margin: 0 auto;
}
 
.row,
.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.row.reverse {
    flex-direction: row-reverse;
}

.row {
    margin: 1em 0 4em 0;
}

.col-40 {
    width: 38%;
}

.col-50 {
    width: 48%;
}

.col-60 {
    width: 58%;
}

.ma {
    width: 19%;
}

#logo { 
    width: 330px;
    display: block;
    height: 100%;
    margin-top: 20px;
}

#logo img {
    width: 100%;
}

#site-header {
    position: fixed;
    width: 100%;
    height: 74px;
    background: #fff;
    z-index: 999;
    box-shadow: 0px -1px 10px 0px rgba(0,0,0,0.5);
}

.menu {
    list-style: none;
}
.menu li {
    display: inline-block;
    margin: 0  0 0 3em;
}

.menu li.current-menu-item {
    border-bottom: 3px solid var(--blau);
}

.menu a {
    color: #333;
    text-decoration: none;
}

#site-header .menu {
    margin: 27px 0 0 0;
}

/* Mobile Menu Button */
.mobile-button {
    display: none;
    position: absolute;
    background: transparent;
    cursor: pointer;
    top: 25px;
    right: 4%;
    width: 26px;
    height: 22px;
    -webkit-transition: all ease .238s;
       -moz-transition: all ease .238s;
            transition: all ease .238s;
}

.mobile-button:before,
.mobile-button:after, 
.mobile-button span {
    background-color: #111;
    -webkit-transition: all ease .238s;
       -moz-transition: all ease .238s;
            transition: all ease .238s;
}

.mobile-button:before,
.mobile-button:after {
    content: '';
    position: absolute;
    top: 0;
    height: 2px;
    width: 100%;
    left: 0;
    top: 50%;
    -webkit-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
}

.mobile-button span {
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    top: 50%;
    overflow: hidden;
    text-indent: 200%;
}

.mobile-button:before {
    -webkit-transform: translate3d(0,-9px,0);
       -moz-transform: translate3d(0,-9px,0);
            transform: translate3d(0,-9px,0);
}

.mobile-button:after {
    -webkit-transform: translate3d(0,9px,0);
       -moz-transform: translate3d(0,9px,0);
            transform: translate3d(0,9px,0);
}

.mobile .mobile-button span {
	opacity: 0;
        background-color: #fff;
}

.mobile .mobile-button:before {
        background-color: #fff;
	-webkit-transform: rotate3d(0, 0, 1, 45deg);
	   -moz-transform: rotate3d(0, 0, 1, 45deg);;
            transform: rotate3d(0, 0, 1, 45deg);
}

.mobile .mobile-button:after {
        background-color: #fff;
	-webkit-transform: rotate3d(0, 0, 1, -45deg);
	   -moz-transform: rotate3d(0, 0, 1, -45deg);;
            transform: rotate3d(0, 0, 1, -45deg);
}

img {
    align-self: center;
}

a { color: var(--blau); }

a.back {
    text-decoration: none;
}

h1,h2,h3,h4,h5,h6 { 
    font-family:"Frutiger LT W04_67 Bold Cond";
    font-weight: normal;
    line-height: 1.4em; 
    margin-bottom: 1em;
}
h1 {font-size: 2.2em; }
h2 {font-size: 1.6em; }
h3 {
    font-family:"Frutiger LT W04_47 Light Cond";
    font-size: 1em; 
    color: var(--blau);
    margin: 0 0 .2em 0;
    text-transform: uppercase;
}
h4 {font-size: 1em; }

.content h1 {
    border-left: 4px solid var(--blau);
    font-size: 1.3em;
    padding-left: .8em;
    letter-spacing: -.4px;
}

.content {
    padding: 135px 0 2% 0;
}

.content p {
    margin: 0 0 1em 0;
}

#site-footer {
    background: #0082BA;
    color: #fff;
    padding: 0;
    font-size: .94em;
}

#footer-logo {
    width: 26px;
    margin: 10px 15px 0 0;
}

#footer-logo img {
    width: 100%;
}

#site-footer .menu li {
    padding: 0 8px;
    margin: 0;
    border-left: 1px solid #fff;
}
#site-footer .menu li:first-child {
    border: none;
}

#site-footer a {
    color: #fff;
}

.home #site-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
    height: auto;
}

#gotop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity .3s ease;
    width: 40px;
    height: 40px;
    display: block;
    background: #fff url(images/icon_top.svg) center no-repeat;
    background-size: 40px;
    cursor: pointer;
    z-index: 999;
}
.scrolled #gotop {
    opacity: 1;
}


/* pages */

#slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}
.slide {
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
    position: relative;
}

.slide h1 {
    display: none;
    z-index: 9999;
    position: absolute;
    left: 8%;
    top: 35%;
    max-width: 50%;
    background-color: var(--blau);
    color: #fff;
    font-weight: 200;
    font-size: 2em;
    text-transform: uppercase;
    padding: .2em .3em;
}

#gmap {
    width: 100%;
    min-height: 600px;
    border: none;
}

.awmp-show-map {
    padding: 1em;
    background: #0082BA;
    display: block;
}
#gmap span.awmp-show-map {
    color: #fff !important;
}

.mitarbeiter {
    display: flex;
    flex-wrap: wrap;
    justify-content: normal;
    align-content: flex-start;
    margin-bottom: 4em;
}

.ma {
    position: relative;
    margin-right: 1%;
    margin-bottom: 1%;
    z-index: 1;
}

.ma-info {
    display: flex;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: rgba(9,120,169,.8);
    opacity: 0;
    transition: opacity .3s ease;
    padding: 15px;
    color: #fff;
    align-items: flex-end;
    z-index: 9;
}

.ma:hover .ma-info {
    opacity: 1;
}

.ma-info h3 {
    font-size: 1em;
    font-weight: normal;
    margin-bottom: 0;
    color: #fff;
}
.ma-info h3 span {
    font-weight: bold;
}

.mail-icon {
    width: 40px;
}

#pslider {
    height: 600px;
}

/*#pslider .slick-track {
    display: flex !important;
}*/

#pslider .slick-track { 	
    display: flex !important;
    height: 600px;
}  
#pslider .slick-slide { 	
    height: inherit !important; 	
    display: flex !important; 	
    justify-content: center; 	
    align-items: center; 
}

#pslider .slick-slide img {
    max-height: 100%;
    max-width: 100%;
}


.projektinfo {
    border-left: 4px solid var(--blau);
    font-size: 1.3em;
    padding-left: 1em;   
    margin-bottom: 2em;
}

.projektinfo h1,
.projektinfo h2,
.projektinfo h3 {
    border:none;
    text-transform: uppercase;
    font-size: 1em;
    margin: 0;
    padding: 0;
}

.projektinfo h3 {
    font-weight: normal;
    text-transform: none;
}

dl {
    margin: 2em 0;
    border-bottom: 1px solid #bdc8ca;
}

dt,
dd {
    box-sizing: border-box;
    padding: 10px 10px 10px 0;
}

dl,
dd ~ dt,
dd ~ dd {
    border-top: 1px solid #bdc8ca;
}
dt {
    float: left;
    width: 35%;
    padding-bottom: 0;
}
dd {
    margin-left: 35%;
}
dd:after {
    content: "";
    display: block;
    clear: both;
}





/* media queries */
@media only screen and (max-width: 1120px) {
    
    .container {
        width: 96%;
        margin: 0 2%;
    }  

}

@media only screen and (max-width: 1024px) {
    
    .mobile-button {
        display: block;
    }    

    #site-header nav .menu {
        display: none;
    }
    #site-header.mobile {
        overflow: hidden;
    }
    
    #site-header.mobile nav .menu {
        display: flex;
        background: var(--blau);
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        margin: 0;
        padding: 80px 0 0 0;
        align-items: center;
        flex-direction: column;
    }
    
    #site-header nav .menu li {
        display: block;
        margin: 2em 0;
        padding: 0;
    }
    
    #site-header nav .menu li.current_page_item {
        font-family:"Frutiger LT W04_67 Bold Cond";
    }
    
    #site-header nav .menu li a {
        display: block;
        color: #fff;
        font-size: 2em;
        text-transform: uppercase;
    }
    
    
    
}

@media only screen and (max-width: 920px) {
    
    #site-footer .flex  {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    #menu-footer {
        padding-left: 0;
        width: 100%;
        text-align: center;
    }
    
}

@media only screen and (max-width: 770px) {
 
    #logo {
        width: 280px;
        margin-top: 22px;
    }
    
    
    .col-40,
    .col-50,
    .col-60 {
        width: 100%;
    }

    .ma {
        width: 48%;
    }
    
    .page-id-701 .row {
        flex-direction: column-reverse;
    }
    
    .container {
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
    }      

    .content {
        padding-top: 105px;
    }
    
    
    .back {
        margin-top: 2em;
    }
    
}

@media only screen and (max-width: 680px) {

    #filters li {
        margin: 1em 1em 1em 0;
    }
    
    #site-footer .break {
        display: block;
        visibility: hidden;
        height: 5px;
    }    
    
    #site-footer .flex .flex {
        flex-direction: column;
    }

    #site-footer p {
        text-align: center;
    }
    #footer-logo {
        align-self: center;
        margin-top: 15px;
    }
} 

@media only screen and (max-width: 540px) {
    
    .picture-item {
       margin-bottom: 0;
    }   
    
    .home #site-footer, 
    #slider {
        position: relative;
    }
    
    #slider {
        height: 90%;
        height: 90vh;
    }
    
    
}
    
    
/* ++++++++++++++++++++++++++++++++++++++++++++++++
Shuffle  
https://vestride.github.io/Shuffle/
++++++++++++++++++++++++++++++++++++++++++++++++++*/
.my-shuffle-container {
  position: relative;
  overflow: hidden;
}

.my-sizer-element {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

#filters {
    list-style: none;
    margin: 0 0 0 8px;
    padding: 0;
}
#filters li {
    display: inline-block;
    padding-right: 1em;
}
#filters li a {
    color: var(--blau);
    text-decoration: none;
    text-transform: uppercase;
}

#filters li.active a,
#filters li:hover a {
    border-bottom: 1px solid var(--blau);
}


.picture-item {
  margin-top: 0;
  margin-bottom: 18px;
}

@supports (object-fit: cover) {
  .picture-item img {
    max-width: none;
    height: 100%;
    object-fit: cover;
  }
}


.picture-item__inner {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.picture-item__details {
    display: flex;
    opacity: 0;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    padding: 15px;
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(9,120,169,.8);
    transition: opacity .3s ease;
}

.picture-item__details:after {
    content: ' ';
    width: 40px;
    height: 40px;
    background: url(images/icon_plus.svg) no-repeat center;
    background-size: 40px;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.picture-item__details:hover {
    opacity: 1;
}

.picture-item__description {
  width: 100%;
  padding: 0 2em 1em 1em;
  margin: 0;
}

.picture-item__title {
  flex-shrink: 1;
  margin-right: 35px;
}

.picture-item__title h1 {
  text-transform: uppercase;
  color: #fff;
  font-size: 1em;
  font-weight: normal;
  padding-left: 0;
  margin: 0;  
}

.picture-item__tags {
  flex-shrink: 1;
  text-align: right;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .picture-item--overlay {
    .picture-item__details {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      overflow: hidden;
    }
  }
}

@media screen and (max-width: 767px) {
    
  .picture-item {
    height: auto;
    margin-top: 0;
  }

  .picture-item__details,
  .picture-item__description {
    font-size: 0.875em;
    padding: 0.625em;
  }

  .picture-item__description {
    padding-right: 0.875em;
    padding-bottom: 1.25em;
  }

  .picture-item--h2 {
    height: auto;
  }
}

@media screen and (max-width: 620px) {

    .picture-item,
    .picture-item img {
        width: 100%;
    }
    
}

.projekte-masonry {
    padding-top: 2em;
}

.projekte-masonry:after,
.projekte-masonry:before {
  content: " ";
  display: table;
}

.projekte-masonry:after {
  clear: both;
}

.col-1\@xs,
.col-2\@xs,
.col-3\@xs,
.col-4\@xs,
.col-5\@xs,
.col-6\@xs,
.col-1\@sm,
.col-2\@sm,
.col-3\@sm,
.col-4\@sm,
.col-5\@sm,
.col-6\@sm,
.col-7\@sm,
.col-8\@sm,
.col-9\@sm,
.col-10\@sm,
.col-11\@sm,
.col-12\@sm,
.col-1\@md,
.col-2\@md,
.col-3\@md,
.col-4\@md,
.col-5\@md,
.col-6\@md,
.col-7\@md,
.col-8\@md,
.col-9\@md,
.col-10\@md,
.col-11\@md,
.col-12\@md {
  position: relative;
  box-sizing: border-box;
  min-height: 1px;
  padding-left: 8px;
  padding-right: 8px;
}

.col-1\@xs,
.col-2\@xs,
.col-3\@xs,
.col-4\@xs,
.col-5\@xs,
.col-6\@xs {
  float: left;
}

.col-1\@xs {
  width: 16.66667%;
}

.col-2\@xs {
  width: 33.33333%;
}

.col-3\@xs {
  width: 50%;
}

.col-4\@xs {
  width: 66.66667%;
}

.col-5\@xs {
  width: 83.33333%;
}

.col-6\@xs {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .col-1\@sm,
  .col-2\@sm,
  .col-3\@sm,
  .col-4\@sm,
  .col-5\@sm,
  .col-6\@sm,
  .col-7\@sm,
  .col-8\@sm,
  .col-9\@sm,
  .col-10\@sm,
  .col-11\@sm,
  .col-12\@sm {
    float: left;
  }

  .col-1\@sm {
    width: 8.33333%;
  }

  .col-2\@sm {
    width: 16.66667%;
  }

  .col-3\@sm {
    width: 25%;
  }

  .col-4\@sm {
    width: 33.33333%;
  }

  .col-5\@sm {
    width: 41.66667%;
  }

  .col-6\@sm {
    width: 50%;
  }

  .col-7\@sm {
    width: 58.33333%;
  }

  .col-8\@sm {
    width: 66.66667%;
  }

  .col-9\@sm {
    width: 75%;
  }

  .col-10\@sm {
    width: 83.33333%;
  }

  .col-11\@sm {
    width: 91.66667%;
  }

  .col-12\@sm {
    width: 100%;
  }


}

@media screen and (min-width: 1024px) {
  .col-1\@md,
  .col-2\@md,
  .col-3\@md,
  .col-4\@md,
  .col-5\@md,
  .col-6\@md,
  .col-7\@md,
  .col-8\@md,
  .col-9\@md,
  .col-10\@md,
  .col-11\@md,
  .col-12\@md {
    float: left;
  }

  .col-1\@md {
    width: 8.33333%;
  }

  .col-2\@md {
    width: 16.66667%;
  }

  .col-3\@md {
    width: 25%;
  }

  .col-4\@md {
    width: 33.33333%;
  }

  .col-5\@md {
    width: 41.66667%;
  }

  .col-6\@md {
    width: 50%;
  }

  .col-7\@md {
    width: 58.33333%;
  }

  .col-8\@md {
    width: 66.66667%;
  }

  .col-9\@md {
    width: 75%;
  }

  .col-10\@md {
    width: 83.33333%;
  }

  .col-11\@md {
    width: 91.66667%;
  }

  .col-12\@md {
    width: 100%;
  }
}
