@font-face {
    font-family: 'Gilroy ExtraBold';
    src: url('/fileadmin/templates/fonts2017/Gilroy-ExtraBold.eot'); /* IE9 Compat Modes */
    src: url('/fileadmin/templates/fonts2017/Gilroy-ExtraBold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fileadmin/templates/fonts2017/Gilroy-ExtraBold.woff') format('woff'), /* Modern Browsers */
    url('/fileadmin/templates/fonts2017/Gilroy-ExtraBold.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('/fileadmin/templates/fonts2017/Gilroy-ExtraBold.svg#d06325052c5113784af338ada63fb512') format('svg'); /* Legacy iOS */
    font-style:   normal;
    font-weight:  700;
}
@font-face {
    font-family: 'Gilroy Light';
    src: url('/fileadmin/templates/fonts2017/Gilroy-Light.eot'); /* IE9 Compat Modes */
    src: url('/fileadmin/templates/fonts2017/Gilroy-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fileadmin/templates/fonts2017/Gilroy-Light.woff') format('woff'), /* Modern Browsers */
    url('/fileadmin/templates/fonts2017/Gilroy-Light.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('/fileadmin/templates/fonts2017/Gilroy-Light.svg#d06325052c5113784af338ada63fb512') format('svg'); /* Legacy iOS */
    font-style:   normal;
    font-weight:  200;
}
@font-face {
    font-family: 'Gilroy Medium';
    src: url('/fileadmin/templates/fonts2017/Gilroy-Medium.eot'); /* IE9 Compat Modes */
    src: url('/fileadmin/templates/fonts2017/Gilroy-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fileadmin/templates/fonts2017/Gilroy-Medium.woff') format('woff'), /* Modern Browsers */
    url('/fileadmin/templates/fonts2017/Gilroy-Medium.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('/fileadmin/templates/fonts2017/Gilroy-Medium.svg#d06325052c5113784af338ada63fb512') format('svg'); /* Legacy iOS */
    font-style:   normal;
    font-weight:  400;
}
@font-face {
    font-family: 'Gilroy';
    src: url('/fileadmin/templates/fonts2017/Gilroy-Regular.eot'); /* IE9 Compat Modes */
    src: url('/fileadmin/templates/fonts2017/Gilroy-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fileadmin/templates/fonts2017/Gilroy-Regular.woff') format('woff'), /* Modern Browsers */
    url('/fileadmin/templates/fonts2017/Gilroy-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('/fileadmin/templates/fonts2017/Gilroy-Regular.svg#d06325052c5113784af338ada63fb512') format('svg'); /* Legacy iOS */
    font-style:   normal;
    font-weight:  400;
}


body,html{
    background-color:#FFFFFF;
    font-family:'Gilroy',Arial,sans-serif;
    font-size:14px;
    letter-spacing: 0.03em;
    line-height:1.4;
    height:100%;
    color:#000000;
    padding:0;
    margin:0;
    -webkit-text-size-adjust: 100%;

}
body.hdview{
    font-size:18px;
}
body.openmenu{
    overflow: hidden;
}
div.loader{
    display:none!important;
}
h1,
h2,
.title{
    font-size:32px;
    font-family: 'Gilroy ExtraBold',Arial,sans-serif;
    font-weight: normal;
    line-height: 1.1em;
    transform: translateX(-2px);
}
h1,
.title {
    color:#537189;
}
h1 {
  margin:1em 0 1em 0;
}
h2 {
    color:#B3c3ce;
   /* opacity: 0.5;*/
    margin:0.5em 0;
}
.frame-layout-3 h2,
.frame-layout-5 h2 {
    font-size:18px;
}
.frame-layout-5 h2 {
    margin-bottom: 1em;
}
h2 > a,
h2 > a:hover {
    color:#B3c3ce;

}
h2{
    font-size: 22px;
}
h3 {
    color:#537189;
    font-family: 'Gilroy ExtraBold',Arial,sans-serif;
    font-size:24px;
    font-weight:normal;
    margin-bottom:1em;
}
p,
ul,
table {
    margin-bottom:1.5em;
}

ul {
    padding-left:1.1em;
}

strong {
    font-family: 'Gilroy ExtraBold',Arial,sans-serif;
}

.title64 {
    font-size:32px;
    line-height:1.1em
}

.title54 {
    font-size:24px;
    line-height:1.1em
}

.title30 {
    font-size:24px;
    line-height:1.1em
}

.green,
.green a {
    color:#537189;
}

.lightgreen,
.lightgreen a {
    color:#537189;
}

.bgGrey {
    background-color:#E6E6E6;
    padding:2em 0;
    margin-top:4em;
}
.bgGrey h2 {
    color:#537189;
    font-size:24px;
    margin:1em 0;
}

.fadein {
  opacity:0;
  transform: translateY(50px);
}

.visible {
  opacity:1;
  transform: translateY(0px);
  -webkit-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
  -moz-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
  -o-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
  transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
}

.wrapper,
.frame-default,
.frame-col-md-5,
.frame-col-md-7,
.frame-col-md-9 {
    width:80%;
    margin-left:10%;
    margin-right:10%;
}

article > .row.wrapper{
    padding-bottom: 4em;
}

.frame-col-md-8 {
    margin-left:10%;
    width:60%;
}

.frame-layout-1 {
    border-left:1px solid #537189;
    padding-left:20%;
    width:80%;
}

.frame-layout-2 {
    border-left:1px solid #537189;
    margin-bottom:1em;
    margin-left:10%;
    padding-bottom:5em;
    padding-left:10%;
}

.frame-layout-2 .ce-textpic.ce-right .ce-bodytext,
.frame-layout-2 .ce-textpic.ce-right .ce-gallery {
    margin-left:0;
}
.frame-layout-2 .ce-textpic.ce-right .ce-bodytext {
    margin-right:25%;
}
.frame-layout-2 .ce-textpic.ce-right .ce-gallery {
    width:100%;
    margin-bottom:0;
}

.frame-space-before-1em {
    margin-top:1em;
}

.frame-space-before-2em {
    margin-top:2em;
}

.frame-space-before-3em {
    margin-top:3em;
}

.frame-space-before-4em {
    margin-top:4em;
}

.frame-space-before-5em {
    margin-top:5em;
}

.frame-space-after-1em {
    margin-bottom:1em;
}

.frame-space-after-2em {
    margin-bottom:2em;
}

.frame-space-after-3em {
    margin-bottom:3em;
}

.frame-space-after-4em {
    margin-bottom:4em;
}

.frame-space-after-5em {
    margin-bottom:5em;
}

.icon {
    display:block;
    width:40px;
}

article{
    width:100%;
    margin:auto;
    position:relative;
    /*padding-top:220px;*/

}
a {
    color:#537189;
    text-decoration:none;
    outline:none;
}
a:hover {
    color: #537189;
}
img {
    border:none;
}
.bullet{
    position:relative;
    padding-right:1em;
}
.bullet::after{
    position: absolute;
    right: 0;
    content:"•";
    width: 1em;
    height: 1em;
    text-align: center;
}
img{
    display:block;
    width:100%;
    height:auto;
}
.bold,
b{
    font-family:"Gilroy ExtraBold",Arial,sans-serif;
    font-weight: normal;
}
address{
    font-style:normal;
}
#footerContainer {
    background-color:#537189;
    bottom:0;
    position: absolute;
    width:100%;
    z-index:10;
}
#footerContainer p {
    margin:0.5em 0;
}
#footerContainer ul {
    list-style: none;
    margin:0;
    padding:0;
}
footer{
    padding: 1em 0;
}

footer,footer a,footer a:visited,footer a:hover{
    color:#fff;
}
nav ul,.fancybox-inner ul{
    list-style-type:none;
    padding:0;
    margin:0;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing:border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.colContainer .row {
    display:flex;
    display:-ms-flexbox;
    flex-wrap:wrap;
    -ms-flex-wrap:wrap;
}

.col-xs-5,
.col-xs-10 {
    margin:0.5em 0;
}

.col-xs-5 {
    width:50%;
}

.col-xs-10 {
    width:100%;
}

/* Header */

#headerContainer {
    background-color:#FFFFFF;
    padding:15px 0;
    position:fixed;
    width:100%;
    z-index:15;
}

#headerContainer header.wrapper {
    display:flex;
    display:-ms-flexbox;
    justify-content: space-between;
    -ms-flex-pack:justify;
    align-items: center;
    -ms-flex-align:center;

}

.all-projects-link-container{
    padding: 4em 0 6em 0;
    text-align: center;
}

/* NAVI ICON begin */

#menuicon {
    width: 25px;
    height: 17px;
    position: relative;
    cursor: pointer;
}

#menuicon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #537189;
    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;
}

#menuicon span:nth-child(1) {
    top: 0px;
}

#menuicon span:nth-child(2),#menuicon span:nth-child(3) {
    top: 7px;
}

#menuicon span:nth-child(4) {
    top: 14px;
}

.openmenu #menuicon span:nth-child(1) {
    top: 7px;
    width: 0%;
    left: 50%;
}

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

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

.openmenu #menuicon span:nth-child(4) {
    top: 7px;
    width: 0%;
    left: 50%;
}

/* NAVI ICON end */
.logo {
    margin-left:-25px;
    width:100px;
}
.logo a {
    display:block;
}
.openmenu .mainmenu-container {
    transform:translate(0,0);
    -webkit-transform:translate(0,0);
}

.mainmenu-container {
    position: absolute;
    z-index:20;
    min-height: calc(100vh - 72px);
    background-color: #537189;
    width: 100%;
    top: 72px;
    left: 0;
    opacity: 1;
    transform:translate(-100%,0);
    -webkit-transform:translate(-100%,0);
    -webkit-transition: transform 500ms cubic-bezier(0.750, 0.000, 0.250, 1.000);
    -moz-transition: transform 500ms cubic-bezier(0.750, 0.000, 0.250, 1.000);
    -o-transition: transform 500ms cubic-bezier(0.750, 0.000, 0.250, 1.000);
    transition: transform 500ms cubic-bezier(0.750, 0.000, 0.250, 1.000);
}
ul.mainnavi {
    display: block;
    width: 80%;
    margin:60px 10% 0 10%;
}
ul.mainnavi li {
}
ul.mainnavi a {
    color:#FFFFFF;
    display:inline-block;
    font-family: 'Gilroy Light';
    font-size:30px;
    margin:0.3em 0;
    text-transform: uppercase;
}
ul.mainnavi a:hover {
    text-decoration:none;
}

/* Main */
#mainContainer {
    min-height:100%;
    position: relative;
    padding-bottom:375px;
    padding-top:72px;
    z-index:5;
}
#gridContainer {
    display:none;
    height:100%;
    position:fixed;
    left:0;
    top:0;
    width:100%;
}
#gridContainer .gridRow {
    align-items: stretch;
    -ms-flex-align:stretch;
    display:flex;
    display:-ms-flexbox;
    height:100%;
    justify-content: space-between;
    -ms-flex-pack:justify;
}
#gridContainer .grid-sm-hide {
    display:none;
}
#gridContainer .grid-sm-2 {
    border-left:1px solid #E6E6E6;
    width:20%;
}
#gridContainer .grid-sm-2:first-child {
    border:none;
}
p.teaser {
    color:#537189;
    /*font-family: 'Gilroy ExtraBold',Arial,sans-serif;*/
    margin-bottom:4em;
    margin-top:1.5em;
    /*margin-top:3em;*/
}
header + p.teaser {
    margin-top:-1.5em;
}
p.teaser a {
    color:#000000;
}
.phi-projects-show h1 {
    margin:0;
}

.phi-projects-show h3 {
    color:#B3C3CE;
    letter-spacing: 0.03em;
    margin:0.5em 0;
}

.phi-projects-show .firstItemsContainer .project-item:first-child h2 {
    margin-top:1em;
}

.phi-projects-main.overview{
    height:100%;
    margin-bottom:2em;
    overflow: hidden;
    position: relative;
}
.overview .project-item {
    width: 100%;
    background-position:center;
    background-size:cover;
    padding-bottom:66%;/* results of an image ration of 1920 x 1080 */
}
.overview .project-item .project-desc,
.overview .project-desc {
  font-family: 'Gilroy ExtraBold',Arial,sans-serif;
  font-size:32px;
  line-height:1.1em;
  color:#FFFFFF;
  position:absolute;
  bottom:23%;
  left:10%;
  right:10%;
}
.overview .project-item .project-desc-shadow,
.overview .project-desc-shadow {
  color:#537189;
  left:calc(10% + 2px);
  bottom:calc(23% - 2px);
  mix-blend-mode:multiply;
  display:none;
}
.overview .overlay-container{
    display: none;
}
.tx-phi-projects{
    width: 100%;
    /*overflow: hidden;*/
    position: relative;
}
.tx-phi-projects .description table{
    margin: auto;
}
.tx-phi-projects .projectfilterContainer {
    margin-top:1em;
    margin-bottom:2.5em;
}
.tx-phi-projects .shuffle  a.imagelink img{
    display: block;
    /*padding:1px;*/
}
.tx-phi-projects .shuffle .project-item {
    width:100%;
}
.menuPages .menuPagesText,
.tx-phi-projects .firstItemsContainer .project-item .overlay-container,
.tx-phi-projects .itemsContainer .project-item .overlay-container {
    margin:0 20% 0 10%;
}
.menuPages .menuPagesImage,
.tx-phi-projects .firstItemsContainer .project-item .image,
.tx-phi-projects .itemsContainer .project-item .image {
    margin-bottom:6em;
    width:80%;
}
.menuPages .menuPagesItem:nth-child(even) .menuPagesImage,
.tx-phi-projects .firstItemsContainer .project-item:nth-child(even) .image,
.tx-phi-projects .itemsContainer .project-item:nth-child(even) .image  {
    margin-left:20%;
}
.menuPages .menuPagesItem:nth-child(even) .menuPagesText,
.tx-phi-projects .firstItemsContainer .project-item:nth-child(even) .overlay-container,
.tx-phi-projects .itemsContainer .project-item:nth-child(even) .overlay-container {
    margin:0 20%;
}
.tx-phi-projects .detailItem {
  margin:1em 0;
}
.projectfilter li{
    margin:0;
    display: block;
}
.projectfilter li a[title=Neubau]{
    display: none;
}
.projectfilter a{
    position: relative;
    display: block;
}
.flickity-page-dots{
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform:translate(-50%,0);
    -webkit-transform:translate(-50%,0);
}
.flickity-page-dots li{
    background-color: #fff;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}
.flickity-page-dots li:last-child{
    margin-right: 0px;
}
.flickity-page-dots li.is-selected{
    background-color: #537189;
}
.flickity-page-dots li.is-selected:after{
    position: absolute;
    background-color: #fff;
    width: 50%;
    height: 50%;
    content: "";
    top: 25%;
    left: 25%;
    border-radius: 50%;
}
.flickity-prev-next-button {
    position: absolute;
    background-color:transparent;
    border: none;
    cursor: pointer;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
}
.flickity-prev-next-button.previous {
    left: 2%;
}
.flickity-prev-next-button.next {
    right: 2%;
}
.flickity-prev-next-button svg {
    fill:#FFFFFF;
}

/*content elements */
.whitebox{
    background-color: #fff;
}
.darkgreybox{
    background-color:#651D32;
    color: #fff;
}
.darkgreybox h2{
    padding: 80px 0 40px 0;
    font-size: 48px;
}
.yellowbox em,
.darkgreybox em{
    font-size: 48px;
    font-family: 'Gilroy ExtraBold',Arial,sans-serif;
    font-weight: normal;
    font-style: normal;

}

/*team
.teamcontainer{display:flex;display:-ms-flexbox;flex-wrap:wrap;-ms-flex-wrap:wrap;position:relative;width:100%;max-width:915px;margin:auto}
.team-item{width:100%;vertical-align:top;font-size:.85em}
.team-item .description{margin-bottom:2em;min-height:110px}
.team-item .description p:nth-child(2){min-height:50px}.team-item p{padding-bottom:2%}
*/
/*ext*/

.team-item{
    width: 100%;
    text-align: center;
    vertical-align: top;
    /*float: left;*/
    font-size: 0.85em;
}
.team-item .description{
    margin-bottom: 2em;
    margin-top: 1em;
    min-height: 110px;
}
.team-item .description p:nth-child(2){
    min-height: 50px;
}
.team-item p{
    padding-bottom: 2%;
    margin-bottom: 0;
}
.zsf{
    margin:auto;
    padding-top:0px;
    max-width: 550px;
    clear:both;
    position: relative;
}
.zsf img{
    position: absolute;
    top: -50px;
}
.s16-logo{
    margin: auto;
    width: 270px;
    padding:32px 0 150px 0;
}
.s16-logo img{transform:scale(1,1);-webkit-transform:scale(1,1);transition:all 0.5s;}
.s16-logo:hover img{transform:scale(1.05,1.05);-webkit-transform:scale(1.05,1.05);transition:all 0.5s;}
/* project detail*/

.detail .textwrap{
    position: relative;
}
.detail h2{
    font-size:2em;
}
.detail .description{
    margin:0em 0 1em 0;
}

.detail .images .image{
    padding: 0 5%;
    margin:0 auto 6px auto;
    width: 90%;
    max-width: 650px;
    box-sizing:content-box;
}
.detail .images .image img{
    display: block;
}

.competences{
    width: 100%;
    max-width: 650px;
    margin: auto;
    text-align: center;
}

.separator-text{
    padding:40px 0;
    text-align:center;
}
/*listnavi*/

.listnavi{
    width: 220px;
    max-width: 680px;
    margin: auto;
    padding: 0 0 60px 0;
}
.listnavi.allclosed{
    padding: 0 0 120px 0;
}
.listnavi a,
.competences li{
    width: 215px;
    margin:0 10px 10px 0;
    border:1px solid #646464;
    background-color: #fff;
    padding: 0px 0px 0px 20px;
    display: block;
    position: relative;
    line-height: 31px;
    height: 31px;
}
.competences li,
.projectfilter li{
    border-right:1px solid #000000;
    display: inline-block;
    line-height:1em;
    padding:0 5px;
}
.projectfilter li:first-child {
    padding-left:0;
}
.projectfilter li:last-child {
    border-right:0;
}
.listnavi a:nth-child(3){
    margin-right: 0px;
}
.listnavi a span{
    position: absolute;
    height: 1px;
    width: 7px;
    background-color: #646464;
    top: 15px;
    left: 6px;
}
.listnavi a span.vert{
    height: 7px;
    width: 1px;
    left: 9px;
    top:12px;
}
.listnavi a:hover,
.listnavi a.open,
.competences li.active{
    background-color:  #651D32;
    color: #fff;
    text-decoration: none;
    font-family:'Gilroy',Arial,sans-serif;
    font-weight: normal;
}
.listnavi a:hover span,
.listnavi a.open span{
    background-color:  #fff;
}
.listnavi a.open span.vert{
    opacity: 0;
}
/* project navi */
.project-item.image{
    position:relative;
}
.projectNavigator {
    margin-bottom:4em;
    margin-top:4em;
}
.projectNavigator .wrapper {
  display:flex;
  display:-ms-flexbox;
  justify-content: space-between;
}
.arrow-left a,
.arrow-right a{
    color:#B3C3CE;
    font-family: 'Gilroy ExtraBold',Arial,sans-serif;
    font-size:18px;
    line-height:1.1em;
}
.arrow-right a {
    text-align:right;
}
.arrow-left span,
.arrow-right span {
    display:inline-block;
    vertical-align: middle;
}
.arrow-left a:before,
.arrow-right a:after {
    background-image:url(/fileadmin/templates/baudenkmal/img/arrow.svg);
    background-size:contain;
    background-repeat: no-repeat;
    content:"";
    display:inline-block;
    height:36px;
    vertical-align: middle;
    width:19px;
}
.arrow-left a:before {
    margin-right:0.5em;
    transform:rotate(180deg);
}
.arrow-right a:after {
    margin-left:0.5em;
}
#googlemap{
    height: 485px;
    width: 100%;
}
#instafeed{
    max-width: 650px;
    margin:0px auto 30px auto;
}
#instafeed a{
    position: relative;
}
a.more{
    clear: both;
    width: 215px;
    margin:10px auto;
    border:1px solid #646464;
    background-color: #fff;
    padding: 0px 0px 0px 20px;
    display: block;
    line-height: 31px;
    height: 31px;

}
.hide{
    display: none;
}

/* FORM */
.tx-pmx-order input,
.tx-pmx-order textarea{
    padding: 10px 0;
    border:0px solid #fff;
    border-bottom:1px solid #537189;
    border-radius:0;
    background-color: transparent;
    color:#537189;
    font-size: 1em;
    display:block;
    font-family: "Gilroy",Arial,sans-serif;
    resize: none;
    width:100%;
}
.tx-pmx-order textarea{
    overflow:auto;
}
.bgGrey .tx-pmx-order input,
.bgGrey .tx-pmx-order textarea {
    border-bottom:1px solid #FFFFFF;
}
.tx-pmx-order input.submit{
    border:1px solid #537189;
    padding:5px 40px;
    color: #537189;
    cursor: pointer;
    margin-top:1.5em;
    width:auto;
    -webkit-appearance: none;
}
.tx-pmx-order input.submit:hover{
    background-color: #537189;
    color: #FFFFFF;
}
.tx-pmx-order input:focus,
.tx-pmx-order input:hover,
.tx-pmx-order textarea:focus,
.tx-pmx-order textarea:hover{
    color: #537189;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#537189;
}
::-moz-placeholder { /* Firefox 19+ */
  color:#537189;
}
:-ms-input-placeholder { /* IE 10+ */
  color:#537189;
}
:-moz-placeholder { /* Firefox 18- */
  color:#537189;
}

input.error::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#c8192d;
}
input.error::-moz-placeholder { /* Firefox 19+ */
  color:#c8192d;
}
input.error:-ms-input-placeholder { /* IE 10+ */
  color:#c8192d;
}
input.error:-moz-placeholder { /* Firefox 18- */
  color:#c8192d;
}

/* CONTENT ELEMENTS*/
.ce-textpic.ce-left .ce-bodytext {
    margin: 0 20% 0 10%;
}
.ce-textpic.ce-left .ce-gallery,
.ce-textpic.ce-right .ce-gallery {
    margin-bottom: 6em;
    width:80%;
}
.ce-textpic.ce-right .ce-bodytext {
    margin:0 20%;
}
.ce-textpic.ce-right .ce-gallery {
    margin-left:20%;
}
.ce-inner{
    position: relative;
}
.ce-row{
    width: 100%;
}
.error{
    border-bottom:1px solid #651D32;
    color:#537189;
}
/*INSTAFEED */

#instafeed a{
    display:inline-block;
    width:100%;
    padding-bottom:100%;
    height: 0;
    background-size: cover;
}
#instafeed a img{
    max-width:100%;
}
.detail .images{
    padding-bottom: 65px;
}
/*
.contenttable{
    width: 90%;
    max-width: 650px;
    margin: auto;
    border-spacing: 0px;
    border-collapse: separate;
}
.contenttable td{
    padding: 0;
    font-family: "Gilroy",Arial,sans-serif;
    font-size: 1em;
}
.contenttable td:first-child{
    width: 30%;
}
*/
.contenttable{
    border-spacing: 0px;
    border-collapse: separate;
    width:100%;
}

.contenttable td {
    border-bottom:1px solid #537189;
    vertical-align: top;
}

.contenttable td:first-child{
    color:#537189;
    font-family: 'Gilroy ExtraBold';
    padding-right:5%;
    width:30%;
}


.detail .description,
.detail .description2 {
    padding:0 10px;
}
.ce-bodytext .text-right{
    text-align: right;
}

.cookie-banner {
    background-color:#E6E6E6;
    bottom:0;
    font-size:14px;
    left:0;
    padding:1em 0;
    position:fixed;
    transform:translateY(100%);
    width:100%;
    z-index:15;
    -webkit-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
    -moz-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
    -o-transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
    transition:all 500ms cubic-bezier(0.000, 0.000, 0.250, 1.000);
}

.cookie-banner.show {
  transform:translate(0);
}

.cookie-banner p {
    margin:0;
}

.cookie-banner a.accept-cookie {
    background-color:#537189;
    border-radius:5px;
    color:#FFFFFF;
    display:inline-block;
    padding:0.25em 0.5em;
}


.teamcontainer{
    position: relative;
    margin-bottom: 2em;
}

@media only screen and (min-width: 400px) {
    
.teamcontainer{
    position: relative;
    width: 100%;
    max-width: 915px;
    margin: auto auto 2em auto;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap:20px;
}
}
@media only screen and (min-width:768px) {

    html,body {
        font-size:16px;
    }

    h1,h2 {
        font-size:64px;
    }
    .frame-layout-3 h2,
    .frame-layout-5 h2 {
        font-size:30px;
    }
    h3 {
        font-size:30px;
    }

    .title64 {
        font-size:64px;
    }

    .title54 {
        font-size:30px;
    }

    .title30 {
        font-size:30px;
    }

    .col-xs-5,
    .col-xs-10 {
        margin:1em 0;
    }

    .col-sm-3 {
        width:37.5%;
    }

    .col-sm-5 {
        width:50%;
    }

    .logo {
        margin-left:-42px;
        width:165px;
    }

    .mainmenu-container {
        top:97px;
        min-height:calc(100vh - 97px);
    }

    /* Main */

    #mainContainer {
        padding-bottom:404px;
        padding-top:96px;
    }

    .row {
        display:flex;
        display:-ms-flexbox;
        justify-content: space-between;
    }

    .tx-phi-projects .itemsContainer .project-item {
        display:flex;
        display:-ms-flexbox;
    }
    .tx-phi-projects .itemsContainer .project-item:nth-child(odd) {
        flex-direction: row-reverse;
        -ms-flex-direction:row-reverse;
    }
    .tx-phi-projects .itemsContainer .project-item:nth-child(even) .overlay-container {
        text-align:right;
    }
    .tx-phi-projects .itemsContainer .project-item:nth-child(even) .overlay-container,
    .tx-phi-projects .itemsContainer .project-item .overlay-container {
        margin:0 10%;
        width:30%;
    }
    .tx-phi-projects .itemsContainer .project-item:nth-child(even) .image,
    .tx-phi-projects .itemsContainer .project-item .image {
        width:50%;
        margin-left:0;
        margin-bottom:0;
    }
    .tx-phi-projects .itemsContainer h2 {
        font-size:30px;
    }
    .overview .project-item .project-desc,
    .overview .project-desc {
      font-size:64px;
    }
    .overview .project-item .project-desc-shadow,
    .overview .project-desc-shadow {
      left:calc(10% + 4px);
      bottom:calc(23% - 4px);
    }
    .projectNavigator {
        margin-top:8em;
    }
    .arrow-left a,
    .arrow-right a {
        font-size:30px;
    }
    .arrow-left a:before,
    .arrow-right a:after {
        height:56px;
        width:30px;
    }
    /*.team-item{
        width: 50%;
        padding: 0 1%;
        margin-bottom: 2em;
    }*/
    /*.team-item.total2{
        width: 50%;
    }
    .team-item.total2:first-child{
        padding-left: 16%;
    }
    .team-item.total2:last-child{
        padding-right: 16%;
    }*/
    .flickity-page-dots{
        bottom: 48px;
    }
    .flickity-page-dots li{
        width: 20px;
        height: 20px;
    }
    .detail .competences{
        padding: 20px 0 120px 0;
    }
    .listnavi{
        width: 100%;
    }
    .listnavi a{
        display: inline-block;
    }
    body.transparent header{
        position:absolute;
        top:0;
        left:0;
        width:100%;
        background-color:rgba(233,233,233,0.7);
        z-index:2;
    }
    #c225 {
        height:calc(100% - 2em);
    }
    #googlemap {
        height:100%;
    }
    #instafeed a{
        width:32.3%;
        padding-bottom:33.3%;
    }
    #footerContainer {
        font-size:15px;
    }
    footer {
        padding:2em 0;
    }
}
@media only screen and (min-width: 1140px) {
    html,body {
        font-size:18px;
    }
    .title54 {
        font-size:54px;
        line-height:1.1em
    }

    .title30 {
        font-size:30px;
        line-height:1.1em
    }
    .bgGrey h2 {
        font-size:30px;
        margin-bottom:2em;
    }
    .menuPagesText.visible,
    .ce-bodytext.visible,
    .project-item .overlay-container.visible {
        transition-delay: 250ms;
    }
    .wrapper,
    .frame-default {
        margin-left:6.25%;
        margin-right:6.25%;
        width:87.5%;
    }
    .col-md-1 {
        width: 7.142%;
    }
    .col-md-4 {
        width: 28.571%;
    }
    .col-md-5 {
        width: 35.714%;
    }
    .col-md-7 {
        width: 50%;
    }
    .col-md-8 {
        width: 57.143%;
    }
    .frame-col-md-9 {
        margin-left:6.25%;
        width:56.25%;
    }
    .frame-col-md-8 {
        margin-left:6.25%;
        width:50%;
    }
    .frame-layout-1 {
        padding-left:37.5%;
        width:87.5%;
    }
    .frame-layout-2 {
        border-left:none;
        margin-bottom:0;
        margin-left:0;
        padding-bottom:0;
        padding-left:0;
    }
    .frame-layout-2 .ce-textpic.ce-right .ce-bodytext {
        display:flex;
        flex-direction: column;
        margin-right:6.25%;
        margin-left:6.25%;
        margin-bottom:0;
    }
    .frame-layout-2 .ce-textpic.ce-right .ce-bodytext:after {
        border-left:1px solid #537189;
        content:"";
        display:block;
        flex-grow: 1;
    }
    .frame-layout-2 .ce-textpic.ce-right .ce-gallery {
        width:56.25%;
        margin-bottom:6em;
    }
    .frame-layout-4,
    .frame-layout-5{
        margin: auto;
        max-width: 900px;
    }
    .overview .project-item{
        width: 100%;
        background-size:cover;
        height:calc(100vh - 210px);
        padding-bottom:0;
    }
    .overview .project-item .project-desc,
    .overview .project-desc {
      font-size:90px;
      left:6.25%;
    }
    .overview .project-item .project-desc-shadow,
    .overview .project-desc-shadow {
      left:calc(6.25% + 4px);
      bottom:calc(23% - 4px);
    }
    #headerContainer {
        padding:30px 0;
    }
    #menuicon{
        display: none;
    }
    .mainmenu-container{
        background-color: transparent;
        position: static;
        min-height: inherit;
        transform:none;
        width:auto;
    }
    ul.mainnavi {
        margin:0;
        width:auto;
    }
    ul.mainnavi li{
        display: inline-block;
        padding: 0;
        margin-left: 1.5em;
    }
    ul.mainnavi a{
        color:#000000;
        font-size:15px;
        margin:0;
        text-align:center;
    }
    ul.mainnavi a:hover,
    ul.mainnavi a.active {
        color:#537189;
        font-family: 'Gilroy ExtraBold',Arial,sans-serif;
    }
    ul.mainnavi a::before {
        content: attr(title);
        font-family: 'Gilroy ExtraBold',Arial,sans-serif;
        height: 1px;
        white-space: nowrap;
        visibility: hidden;
        display: block;
    }
    #gridContainer .grid-sm-2 {
        width:12.5%;
    }
    #gridContainer .grid-sm-hide {
        display:block;
    }
    /* Main */

    #mainContainer {
        padding-bottom:217px;
        padding-top:126px;
    }
    p.teaser {
        font-size:24px;
        margin-bottom:5em;
        /*margin-top:4em;*/
    }
    .menuPages .menuPagesItem {
        display:flex;
        display:-ms-flexbox;
    }
    .menuPages .menuPagesItem:nth-child(odd) {
        flex-direction: row-reverse;
        -ms-flex-direction:row-reverse;
    }
    .menuPages .menuPagesText,
    .menuPages .menuPagesItem:nth-child(even) .menuPagesText {
        margin:0 6.25% 0 6.25%;
        width:31.25%;
    }

    .menuPages .menuPagesImage {
        margin-bottom:7em;
    }

    .menuPages .menuPagesImage,
    .menuPages .menuPagesItem:nth-child(even) .menuPagesImage {
        width:56.25%;
        margin-left:0;
    }
    .phi-projects-show .firstItemsContainer {
        margin-top:5em;
    }
    .menuPages h2,
    .tx-phi-projects .firstItemsContainer .project-item h2 {
        margin-top:0;
    }
    .tx-phi-projects .projectfilterContainer {
        margin:0;
        position:absolute;
        left:62.5%;
        top:-7em;
        width:auto;
        z-index:5;

    }
    .tx-phi-projects .phi-projects-list .firstItemsContainer .project-item,
    .tx-phi-projects .phi-projects-show .firstItemsContainer .project-item {
        display: flex;
        display: -ms-flexbox;
    }
    .tx-phi-projects .phi-projects-list .firstItemsContainer .project-item {
        flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
    }
    .tx-phi-projects .phi-projects-show .firstItemsContainer .project-item {
        flex-direction:row;
        -ms-flex-direction: row;
    }
    .phi-projects-show .firstItemsContainer .project-item:first-child h2 {
        margin-top:0;
    }
    .tx-phi-projects .firstItemsContainer .project-item .image {
        width:56.25%;
    }
    .tx-phi-projects .firstItemsContainer .project-item:nth-child(even) .image {
        margin-left:0;
    }
    .tx-phi-projects .firstItemsContainer .project-item:nth-child(even) .overlay-container,
    .tx-phi-projects .firstItemsContainer .project-item .overlay-container {
        margin:0 6.25% 6em 6.25%;
        width:31.25%;
    }
    .tx-phi-projects .itemsContainer {
        display:flex;
        display: -ms-flexbox;
        flex-wrap:wrap;
        -ms-flex-wrap:wrap;
    }
    .tx-phi-projects .itemsContainer .project-item {
        width:50%;
    }
    .tx-phi-projects .firstItemsContainer .project-item:nth-child(even),
    .tx-phi-projects .itemsContainer .project-item:nth-child(odd) {
        flex-direction: row;
        -ms-flex-direction: row;
    }
    .tx-phi-projects .itemsContainer .project-item:nth-child(4n+4),
    .tx-phi-projects .itemsContainer .project-item:nth-child(4n+5) {
        flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
        text-align:left;
    }
    .tx-phi-projects .itemsContainer .project-item:nth-child(4n+2) .overlay-container,
    .tx-phi-projects .itemsContainer .project-item:nth-child(4n+3) .overlay-container {
        text-align:right;
    }
    .tx-phi-projects .itemsContainer .project-item:nth-child(4n+4) .overlay-container,
    .tx-phi-projects .itemsContainer .project-item:nth-child(4n+5) .overlay-container {
        text-align:left;
    }
    .tx-phi-projects .itemsContainer .project-item:nth-child(even) .overlay-container,
    .tx-phi-projects .itemsContainer .project-item .overlay-container {
        margin:0 5%;
        width:40%;
    }
    .tx-phi-projects .detailContainer {
      position:relative;
    }
    .tx-phi-projects .detailContainer > .wrapper {
      margin-left:31.25%;
      margin-right:31.25%;
      width:37.5%;
    }
    .flickity-prev-next-button {
        height:70px;
        width:70px;
    }
    .content915 .logo{
        width: calc((100% - 915px) / 2);
    }
    .phi-projects-main.overview{
        /*height:100vh;	*/
        height:calc(100vh - 126px);

    }
    .overview .project-item{
        height:calc(100vh - 126px);
    }
    .projectNavigator {
      margin:0;
      position:absolute;
      top:0;
      width:100%;
    }
    /* CONTENT ELEMENTS */

    .ce-textpic.ce-left,
    .ce-textpic.ce-right {
        display:flex;
        display: -ms-flexbox;

    }
    .ce-textpic.ce-left {
        flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
    }
    .ce-textpic.ce-left .ce-bodytext,
    .ce-textpic.ce-right .ce-bodytext {
        margin: 0 6.25% 6em 6.25%;
        width: 31.25%;
    }
    .ce-textpic.ce-left .ce-gallery,
    .ce-textpic.ce-right .ce-gallery {
        width: 56.25%;
        margin-left: 0;
    }
    .ce-textpic.ce-left h2,
    .ce-textpic.ce-right h2 {
        margin-top:0;
    }

    footer {
        padding:2em 0 4em 0;
    }
    .cookie-banner {
        text-align: center;
    }
}
