/*--------------- FONTS --------------------*/

@import url('https://rsms.me/inter/inter.css');
@import url('https://fonts.googleapis.com/css?family=Inter:100,200,400,500,700&display=swap');

/* -------------------- MISC -------------------- */

:root {
  
 --main-text: #080808;

}



html {
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 32px;

}

#slide_content {
  overflow-x: hidden;
}

body {
  background: white;
  font-family: 'Inter', sans-serif;
  color: #080808;
  font-size: 16px;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

a {
color: var(--main-text);
text-decoration: underline;
  cursor:pointer;
}
a:hover {
color: var(--main-text);
}

.align-items-center {
-webkit-align-items: center;
}

.regular {
  font-weight: 400;
}
.medium {
  font-weight: 500;
}
.semi-bold {
  font-weight: 600;
}
.bold {
  font-weight: 700;
}

.mt-40 {
margin-top: 2rem;
}
.mb-40 {
margin-bottom: 2rem;
}
.mb-20 {
margin-bottom: 1rem;
}

.ma {
  margin: auto;
  }
.uline {
  text-decoration: underline;
  }

.d-flex {
  display: -webkit-flex;
  }
header {
  font-family: 'Poppins', sans-serif;
  font-weight:500;
  text-transform: uppercase;
}

.poppins {
  font-family: 'Poppins', sans-serif;
}

a:focus, a:hover {
  text-decoration: none;
}

/*for macOs*/
.row:after, .row:before {
  display: none! important;
  }

/* -------------------- HEADER -------------------- */

#menuToggle {
height: 100%;
}

header {
  position:fixed;
  top: 0;
  z-index:99;
  background: white;
  margin-top: 0rem;
  width:100%;
  
}

.header-container {
  background-color: white;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  height: -webkit-fit-content;
  height: fit-content;
  height: -moz-fit-content;

}

.logo {
  
}

.logo svg{
  width: 100%;
  /*min-width:283px !important;*/
}

/* --- MAIN NAVBAR --- */



#slider {
  height: 0;
}


.main-nav {
  height: 100%;
}

.main-nav ul {  
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  height: 100%;
}

.main-nav ul li {
  margin-right: 40px;
  text-align: center;
}

.main-nav ul li:last-child {
  margin-right: 0px;
}

.main-nav ul li a {
  color: var(--main-text);
  white-space: nowrap;
  font-weight: 500;
  font-size: 1.125rem;
  width:100%;
  letter-spacing: 2px;
  text-decoration: none;
}

.main-nav ul li a:hover {
}

.main-nav ul li .active {
  border-bottom: 4px solid var(--main-text);
}

.main-nav ul li a {
  padding-bottom: 8px;
  border-bottom: 4px solid white;
}


/* --- SLIDE NAV --- */


#hamburger-wrapper {
cursor: pointer;
}

#burgers {
display:none;
}

#slide_content{
  background-color: white;
}


#menuToggle
{
  text-transform:uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  width: -moz-fit-content;
  z-index: 1;
  float:right;
  
  -webkit-user-select: none;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
}

/*---------------- BURGER ---------------*/

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  float: right;
  
  cursor: pointer;
  
  opacity: 0;
  z-index: 2;
  
  -webkit-touch-callout: none;
}


#menuToggle span
{
  display: block;
  width: 30px;
  height: 2px;
  margin-bottom: 7px;
  position: relative;
  
  background: var(--main-text);
  
  z-index: 1;
  
  -ms-transform-origin: 4px 0px;
  
      transform-origin: 4px 0px;
  -webkit-transform-origin: 4px 0px;

    -webkit-transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
  
  -webkit-transition: background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease,
    -webkit-transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  
  transition: background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease,
    -webkit-transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  
  -o-transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease,
    -webkit-transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#hamburger-wrapper span
{
  -ms-transform-origin: center;
      transform-origin: center;
   -webkit-transform-origin: center;

}

#hamburger-wrapper span
{
  -ms-transform-origin: center;
      transform-origin: center;
    -webkit-transform-origin: center;

}


#hamburger-wrapper.active span
{
  opacity: 1;
  -ms-transform: translate(-0px, 5px) rotate(45deg) ;
      transform: translate(-0px, 5px) rotate(45deg) ;
  -webkit-transform: translate(-0px, 5px) rotate(45deg) ;

}

#hamburger-wrapper.active span:last-child
{
  -ms-transform: translate(0px, -4px) rotate(-45deg);
      transform: translate(0px, -4px) rotate(-45deg);
  -webkit-transform: translate(0px, -4px) rotate(-45deg);

}

/*---------------SLIDE NAV MENU -----------------*/

#menu li a {
  font-size: 1.5rem;
  text-transform: uppercase;
}
#menu li {
  margin-bottom: 2rem;
}

#menu
{
  position: fixed;
  width: 100%;
  z-index: 99;
  text-align: right;
  padding: 1rem;
  background: white;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  -ms-transform-origin: 0% 0%;
  
      transform-origin: 0% 0%;
  -ms-transform: translate(100%, 0);
      transform: translate(100%, 0);
  
  -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  
  transition: -webkit-transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  
  -o-transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), -webkit-transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
   -webkit-transform-origin: 0% 0%;
  -webkit-transform: translate(100%, 0);
  
  -webkit-transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li a
{
  color: var(--main-text);
  text-decoration: none;

}


#menu.active
{
  -webkit-transform: none;

}


/* -------------------- CONTENT -------------------- */

/* Same margin between content and header on all pages */
.content {
  margin-top: 2rem;
}


/*------------------ PROJEKTE --------------------------*/

.grid-item {
  cursor: pointer;
  padding: 0.5rem;
}

.grid-item,
.grid-sizer {
  width: 33%;
}

.grid-wrapper {
display: block;
  width:100%;
}
#no-results {
margin-bottom:0;
opacity: 0;
transition: opacity 0.3s;
}
#no-results.active {
display: block;
 opacity: 1;

}
.grid-item img{
  display: block;
  max-width:100%;

}

.grid-item--width2 { width: 40%; }
.grid-item--height2 { height: 200px; }

.title, .title-bold {
  font-family: 'Poppins', sans-serif;
  font-size: 2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.title-bold {
  font-weight: 700;
}
.title {
margin-right: 1rem;
}

.filter {
cursor: pointer;
}
.filter.active {
text-decoration: underline;
}


#filter-block div {
padding-left: 0;
  min-width: -moz-fit-content;
  padding-right: 1.5rem;
}

#filter-reset {cursor: pointer;}

.card {
  
  -webkit-transition: all ease-in;
  
  -o-transition: all ease-in;
  
  transition: all ease-in;
  
  
  border-radius: 0;
}
.card-img-top {
border-radius:0;
}

.card-columns {
    -webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3;

}

.projects-grid {
  margin-top: 1rem;
}

.overlay {
  
  text-align: center;
  overflow-wrap: anywhere;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  height: calc(100% - 1rem);
  width: calc(100% - 1rem);
  margin: 0.5rem;
background-color: #DBE6F080;
}

.projektname {
  margin:auto;
  font-size: 1.5rem;
  line-height: 2rem;
  font-family: Poppins;
  letter-spacing: 0.05em;
  color: #161615;
}

/*------------------ PROJEKT DETAILS ------------------*/

.gallery-top {
/* background-color: #f4f4f4; */
  padding-left:30px;
  padding-right:30px;
}

.gallery-top .swiper-slide {
  background-size: contain;
  background-repeat: no-repeat;
  width: 100% !important;
}

.gallery-thumbs .swiper-slide {

  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
    cursor: pointer;
  width: unset;
}
.gallery-top .swiper-wrapper {
  margin: auto;

}
.gallery-top .swiper-button-next, .gallery-top .swiper-button-prev {
background-image: none !important;
  width:25px;
  padding:7px;
  padding-top: 10px;
  padding-bottom: 10px;
  height: 100%;
  top:0;
  margin-top: 0;
  display: flex;
  align-items: center;
  background: white;
  z-index:99;
}
.gallery-top .swiper-button-next img, .gallery-top .swiper-button-prev img {

margin: auto;
}
  
.gallery-top .swiper-button-next {
right:-1px;
}
.gallery-top .swiper-button-next {
  transform: rotate(180deg);
}
.gallery-top .swiper-button-prev {
left:0;
}
.gallery-thumbs .swiper-slide img {

  height: 100%;
}

    .gallery-thumbs .swiper-slide {
      opacity: 0.4;
    }
    .gallery-thumbs .swiper-slide-thumb-active {
      opacity: 1;
    }

/*------------------ ÜBER UNS --------------------------*/

.team-grid {
margin-top: 6rem;
margin-bottom: 8rem;
}

.team-mitglied {
height: 100%;
  margin-bottom: 1rem;
  padding-left: 0;
  cursor: pointer;
  /*max-width: -moz-fit-content;
  max-width: -webkit-fit-content;
  max-width: fit-content;*/
      max-width: 262px; 

}

.member {
    
  height:100%;
  height: 175px;
  max-width: 262px;

  width: -moz-fit-content;
    width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  position: relative;
}

.portrait {


  
  margin: auto;
}

.member-name {
  display: none;
  position: absolute;
  bottom:0;
 font-size: 0.9rem;
  line-height: 26px;
  font-family: Inter;
letter-spacing: 0.05em;
color: #FFFFFF;
text-transform: uppercase;
  margin-left: 0.5rem;
}
.member-name p {
margin-bottom: 0;
}
.member-name p:last-of-type {
font-size:0.7rem;
}
.member-ext {
  cursor: auto;
display: none;
font-family: Inter;
color: #080808;
text-transform: uppercase;

margin-top: 0.5rem;
}
.member-funktion {
font-weight: 200;
font-size: 0.9rem;
}
.member-funktion.pos {
margin-bottom: 1rem;
}
.member-add {
font-weight: thin;
font-size: 0.9rem;
  font-weight:200;
  text-transform: lowercase;
  text-decoration: none;
    color: var(--main-text);
}
.member-bio {
  position: fixed;
  display: none;
  background: white;
  z-index:999;
  bottom:20%;
  left:10%;
  width:80%;
  border: 1px solid black;

  font-weight:100;
  font-size: 0.9rem;
  text-transform: none;
}

.bio-wrapper {
position: relative;
  width: 100%;
  height:100%;
  padding:30px;
  font-weight: 200;
}
.bio-close svg {
position: absolute;
top:5px;
  right:5px;
cursor: pointer;
}
.bio-button {
cursor: pointer;
}
.member-ext .name{
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.075em;
}
.member-ext .title{
font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.member-ext p{
margin-bottom: 0;
}

.map {
  width: 100%;
height: 580px;
  margin-bottom: 2rem;
}
.kontakt-basel {
margin-bottom: 5rem;
}

.kontakt-info a {color: var(--main-text)}

/*------------------ PROJEKT-DETAILS --------------------------*/

.projekt-bild {
padding-left: 0;
}

.projekt-info {
letter-spacing: 0.54px;

}

.projekt-beschreibung {
margin-bottom: 5rem;
  margin-left: 1rem;

}
.projekt-partner p {
margin-bottom:0;
}

.swiper-container{
width: 100%;
}
.gallery-top {
  height: 540px;
  
  margin-bottom: 2rem;
}
.gallery-thumbs {
height: 8rem;
}

.swiper-slide {
        background-size: cover;
      background-position: center;
}
.projekt-kategorie {
  text-decoration: underline;
  cursor: pointer;
  }

.similar-projects-grid {
  margin-top: 5rem;
}
.projekt-weitere {
margin-top: 4rem;
  margin-bottom: 1rem;
}


/*------------------ JOBS --------------------------*/

.jobs-top-text {
margin-bottom: 5rem;
}

.jobs-top-text a {
 color: var(--main-text);
text-decoration: underline;
}

.job-desc {
margin-bottom: 4rem;
}

.job-desc p {
width: 100%;
  line-height: 28px;
}
.job-desc ul {
padding-left: 0;
}
.job-desc ul li {
list-style-position: inside;
}

.job-desc p:last-of-type {
  margin-bottom: 2rem;
}
.job-desc a {
text-decoration: none;
}



/*------------------ AKTUELLES --------------------------*/

#filter-reset {
margin-bottom: 2rem;
}

.grid-item-aktuelles {
margin-bottom:4rem;

}

.grid-item-aktuelles,
.grid-sizer-aktuelles {
  width:100%;
}

.grid-wrapper {
display: block;
  width:100%;
}

.entry {
margin-top: 4rem;
}

.grid-item-aktuelles .title {
  font-size: 1.4rem;
}
.news-image {
  background-position: left;
  background-size: contain;
  background-repeat: no-repeat;
  min-height: fit-content;
}

@media screen and (min-width:1200px) {


}

/*------------------ KONTAKT --------------------------*/

.contact-wrapper div:nth-of-type(2) {
  margin-bottom: 2rem;
}

/*------------------ FOOTER --------------------------*/

footer {
background-color: #4B4C4C;
margin-top: 10rem;
color: white;
}
.footer-row {
margin-top: 2em;
margin-bottom: 1.25em;
 font-size: 0.875em;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.footer-row ul {
list-style: none;
  padding-left: 0;
   
}
.footer-row ul li {
display: block;
  float:right;
  margin-right: 1rem;
}

.footer-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.footer-right a{
  color: white;
  text-decoration: none;
}
.footer-right a:last-of-type {
margin-right: 0;
}


/* -------------------- IMPRESSUM -------------------- */





/* -------------------- BOOTSTRAP 4 MEDIAQUERIES -------------------- */

/* This is the top-down version of bootstrap mediaquery where large desktop is the default (no mediaquery) version */

@media (min-width: 1880.0px) {

#filter-block {
margin-bottom: 2rem;
}

.main-nav ul li a {
font-size: 1.3rem;
}

.container {
width: 1552px;
max-width: 1552px;
}
}

@media (max-width: 1420.0px) {



.main-nav ul li a {
font-size: 1.1rem;
}

}

@media (min-width: 1335px) {

#header-wrapper {
width: 100%;
max-width:100%;
padding-left: 2rem;
padding-right: 2rem;
margin-left:0;
  margin-right:0;
}

}

@media (max-width: 1334.0px) {



#filter-block {
margin-bottom: 2rem;
}

#burgers {
  height:100%;
display:block;
}

.main-nav {
  display:none;
}

}

@media (min-width: 1200px) {
#filter-block {
margin-bottom: 2rem;
}




}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {


#filter-block {
margin-bottom: 2rem;
}

#menu li a {
  font-size: 1.5rem;
}
#menu li {
  margin-bottom: 2rem;
}


.main-nav ul li {
  margin-right: 2rem;
}

.main-nav ul li:last-child {
  margin-right: 0px;
}

.main-nav ul li a {
  font-size: 1.0rem;
}

.card-columns {
    -webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3;

}

}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {



.footer-row {
margin-top:1rem;
  margin-bottom: 1rem;
}

.footer-left {
width:100%;
  margin-bottom:1rem;
}

#menu li a {
  font-size: 1.5rem;
}
#menu li {
  margin-bottom: 2rem;
}

.projekt-info {

margin-top: 1em;
}

.kontakt-info div{
  padding-left: 0;
  margin-bottom: 1rem;
}

.news-text {
padding-left: 0;
}

.news-image {

  margin-bottom: 2rem;
}

}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

#filter-block {
margin-bottom: 0rem;
}

.grid-aktuelles div:last-child{
margin-bottom: 0;
}


.member-name, .overlay {
display: none !important;
}

.footer-row {
margin-top:1rem;
  margin-bottom: 1rem;
}

.header-container {
margin-top: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.projekt-info {
letter-spacing: 0.54px;
margin-bottom: 2em;
}

.projekt-beschreibung {
margin-bottom: 2em;

}

.projekt-weitere .text-right {
display:none;
}

.filter {
  margin-bottom: 2rem;
}


.title {
  margin-bottom: 0;
}

#menu li a {
  font-size: 1.5rem;
}
#menu li {
  margin-bottom: 2rem;
}
#menu li:first-of-type {
  margin-top: 2rem;
  }




.card-columns {
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
  
}

}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

.member-bio {
  bottom: 5%;
  }

.footer-row {
font-size: 0.7rem;
}

.member-name, .overlay {
display: none !important;
}

.footer-row ul li {
display: block;
  float:left;
  margin-right: 1rem;
}

.portrait {

  height: 100%;

}

.header-container {
margin-top: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  padding-right: 2rem;
}

body {
/*font-size: 12px;
line-height: 15px;*/
}


.row {
margin: 0;
}

.team-grid {
margin-top: 4rem;
}

.footer-row {
margin-top:1rem;
  margin-bottom: 1rem;
}

.card-columns {
margin-top: 1rem;
}



.content {
margin-top: 2rem;
}

.team-mitglied {
  padding-left:15px;



  }

header {
  margin-top: 0rem;
  height: 65px;
}


.header-container {

}

.projektname {
font-size: 1em;  
  text-align: center;
}
.title, .title-bold {
font-size: 1.75em;
}
.title {
margin-right: 0.5em;
}

.projekt-bild {
padding-right: 0;
}
.gallery-top {
height: 180px;
  margin-bottom: 1em;
}
.gallery-thumbs {
height: 40px;
}

.projekt-info {
letter-spacing: 0.54px;
margin-top: 1em;
margin-bottom: 4em;
}

.projekt-weitere .text-right {
display:none;
}

.projekt-beschreibung {
margin-bottom: 2em;

}

.job-desc {
margin-bottom: 4rem;
}

.job .title-bold {
margin-bottom: 1rem;
}

}


