/* Allgemein */
* {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
}

.yellow {
  border: none;
  width: 72px;
}

/* Header Image */
section.img {
  margin-top: 10em;
}

.icon-konstruktion {
  color: white;
}

@media (max-width: 576px) {
 section.img{
   margin-top: unset;
 }
}

@media only screen
  and (min-width: 380px)
  and (max-width: 767px)
  and (orientation: landscape){
  section.img{
   margin-top: unset;
 }
}

a[href="https://bauwerk-4.de/#ue"] {
  pointer-events: none;
}

.swiper-button-next::before, .swiper-button-prev::before {
  content: ">";
  color:#e9df02;
  display: block;
  padding-top: 4px;
  font-size: 24px;
}

.swiper-button-next::before {
  content: ">";
}

.swiper-button-prev::before {
  content: "<";
}

/*Karriere Accordion*/

.jobCard {
 background: white;
 border-radius: 10px;
 margin: 20px 0;
 padding: 20px;
 z-index: 999;
 position: relative;
}

.jobCard> header{
  position: relative;
 cursor: pointer;
 transition: 0.4s;
}

.bottomRow {
 display: grid;
 grid-auto-flow: column;
}

.tags{
 display: flex;
 flex-direction: row;
}

.tags span {
  margin-right: 10px;
  background: #f5f5f5;
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
  align-content: center;
}

.bottomRow a {
 justify-self: right;
 background: #e9df02;
  border-radius: 10px;
  padding: 10px;
  color: #3c3c3c;
}

.jobCard .ce-textpic{
 max-height: 0px;
 overflow: hidden;
 transition: 0.75s;
}

@media (max-width: 768px) {
  .bottomRow {
    grid-gap: 24px;
    grid-auto-flow: row;
  }
  
  .bottomRow a {
    max-height: 45px;
    justify-self: center;
  }
  
  .tags {
    grid-gap: 12px;
    flex-wrap: wrap;
  }

  .tags > span {
    margin-right: 0;
  }
}

@media only screen
  and (min-width: 380px)
  and (max-width: 767px)
  and (orientation: landscape){
 .bottomRow a {
    max-height: 45px;
  }
  .tags {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Karriere Kontaktformular */

section.contact form > label{
 display: none;
}

label.form-check-label{
  position: relative !important;
  margin-bottom: 50px;
}

label[for="karriere_Bewerben_AW_form-424-checkbox-1"] {
  display: none;
}

label.add-on[for="karriere_Bewerben_AW_form-424-checkbox-1"] {
  display: block;
}

.add-on.form-check-label {
  pointer-events: all;
}

.add-on.form-check-label > span {
  margin-left: 12px;
}

#karriere_Bewerben_AW_form-424-fileupload-1 {
  position: absolute;
  right: 0;
  margin-right: 24px;
}

@media (max-width: 768px) {
  #karriere_Bewerben_AW_form-424-fileupload-1 {
    position: relative;
    max-width: 90%;
  }
}

#karriereBewerbenform-526-checkbox-1 {
 pointer-events: auto;
 margin-right: 10px;
}

.form-check {
 padding-left: 5px !important;
}

#karriereBewerbenform-526-fileupload-1{
 margin-left: 15px;
 font-size: 1rem;
 color: #8e8e93;
}

.help-block {
 position: relative;
 float: left;
 margin-left: 15px;
 color: #8e8e93;
}

#aw-erfolgsnachricht {
  text-align: center;
}

/* Mitarbeiter Uebersicht */

.aw-mitarbeiter-container {
 display: grid;
 gap: 12px;
 padding: 24px 12px;
 grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.aw-mitarbeiter-container .aw-mitarbeiter-cardview {
 border-radius: 8px;
 box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08), 0 0 6px rgba(0, 0, 0, 0.05);
 transition: 0.2s transform cubic-bezier(0.155, 1.105, 0.295, 1.12), 0.2s box-shadow, 0.2s -webkit-transform cubic-bezier(0.155, 1.105, 0.295, 1.12);
 max-width: 320px;
 background-color: white;
}

.aw-mitarbeiter-container .aw-mitarbeiter-cardview:hover {
  transform: scale(1.025);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.aw-mitarbeiter-container .aw-mitarbeiter-cardview:hover .aw-mitarbeiter-cardview__img img {
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  filter: grayscale(0%);
}

.aw-mitarbeiter-container .aw-mitarbeiter-cardview .aw-mitarbeiter-cardview__img img {
 border-top-left-radius: 8px;
 border-top-right-radius: 8px;
 width: 100%;
 height: 200px;
 object-fit: cover;
 object-position: top center;
 -webkit-filter: grayscale(100%);
 -moz-filter: grayscale(100%);
 filter: grayscale(100%);
 transition: all 0.5s ease;
}

.aw-mitarbeiter-container .aw-mitarbeiter-cardview .aw-mitarbeiter-cardview__text {
 padding: 12px;
 font-size: 18px;
}

.aw-mitarbeiter-container .aw-mitarbeiter-cardview .aw-mitarbeiter-cardview__text span:first-child {
 font-weight: 600;
 border-bottom: 2px solid #e9df02;
 margin-bottom: 8px;
}

.aw-mitarbeiter-container .aw-mitarbeiter-cardview .aw-mitarbeiter-cardview__text span {
 display: inline-block;
 letter-spacing: 0.22px;
}

.aw-mitarbeiter-container .aw-mitarbeiter-cardview .aw-mitarbeiter-cardview__text span:last-child {
 font-weight: 300;
}

/* Mitarbeiter Uebersicht - Accordion */

.accordion .accordion-item {
  border-bottom: 1px solid #8e8e93;
}

.accordion button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 12px 0;
  font-size: 1.15rem;
  font-weight: 400;
  border: none;
  background: none;
  outline: none;
}
.accordion button:hover,
.accordion button:focus {
  cursor: pointer;
  outline: none;
}

.accordion button .accordion-title {
 color: #3c3c3c;
 font-weight: 500;
 font-size: 1.25em;
 text-transform: uppercase;
 padding: 12px 0;
}
.accordion button .icon {
  display: inline-block;
  position: absolute;
  top: 15px;
  right: 0;
  width: 28px;
  height: 28px;
  border: 1px solid #3c3c3c;
  border-radius: 22px;
}
.accordion button .icon::before {
  display: block;
  position: absolute;
  content: "";
  top: 12px;
  left: 6px;
  width: 14px;
  height: 2px;
  background: #3c3c3c;
}

.accordion button .icon::after {
  display: block;
  position: absolute;
  content: "";
  top: 6px;
  left: 12px;
  width: 2px;
  height: 14px;
  background: #3c3c3c;
}

.accordion button[aria-expanded="true"] .icon::after {
  width: 0;
}

.accordion .accordion-item button[aria-expanded="true"] {
  border-bottom: 1px solid #3c3c3c;
}

.accordion button[aria-expanded="true"] + .accordion-content {
  opacity: 1;
  max-height: 100%;
  transition: all 300ms linear;
  will-change: opacity, max-height;
}
.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 300ms linear, max-height 300ms linear;
  will-change: opacity, max-height;
}

@media (max-width: 576px) {
 .aw-mitarbeiter-container .aw-mitarbeiter-cardview {
   max-width: 100%;
  }

  .aw-mitarbeiter-container .aw-mitarbeiter-cardview .aw-mitarbeiter-cardview__img img {
   height: 280px;
  }
}

@media only screen
  and (min-width: 380px)
  and (max-width: 767px)
  and (orientation: landscape){
   .aw-mitarbeiter-popup-box {
     position: absolute;
     max-height: 85vh;
     bottom: 0;
     overflow: scroll;
   }
  .aw-mitarbeiter-container .aw-mitarbeiter-cardview {
  max-width: 220px;
  }

.aw-mitarbeiter-container .aw-mitarbeiter-cardview .aw-mitarbeiter-cardview__img img {
  object-fit: scale-down;
}

.aw-mitarbeiter-cardview__img{
	margin-top: 12px;
}

}

.loading {
  z-index: 0 !important;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 2;
}

/* Mitarbeiteruebersicht - Popup */

.aw-mitarbeiter-popup-outer {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: scale(1.2);
  transition: all 0.3s ease-in-out;
}
.aw-mitarbeiter-popup-outer.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  padding: 0 12px;
}

.aw-mitarbeiter-popup-box {
  position: relative;
  max-width: 420px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: scroll;
}

/*.aw-mitarbeiter-popup-box {
  position: absolute;
  max-width: 420px;
  max-height:85vh;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  bottom: calc(7.5vh - 36px);
  overflow: scroll;
}*/

.aw-mitarbeiter-popup-box .profile-text {
  display: flex;
  align-items: center;
}

.aw-mitarbeiter-popup-box img {
  height: 320px;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  border-bottom: 4px solid #e9df02;
}

.aw-mitarbeiter-profile-text-container {
  padding: 30px;
  padding-top: 8px;
}

.aw-mitarbeiter-profile-text .text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.aw-mitarbeiter-profile-text .text .name {
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  color: #3c3c3c;
}
.aw-mitarbeiter-profile-text .text .profession {
  font-size: 14px;
  font-weight: 400;
  color: rgba(60, 60, 60, 0.5);
  text-transform: uppercase;
}

.aw-mitarbeiter-profile-text .text hr {
  border: none;
  height: 2px;
  background-color: #f1f3f6;
  border-radius: 1px;
  width: 100%;
}

.aw-mitarbeiter-popup-box .button {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}
.aw-mitarbeiter-popup-box .button button {
  outline: none;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  background: #6f93f6;
  margin-left: 12px;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

button.cancel {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border: none;
  border-top-left-radius: 12px;
  background-color: rgba(255,255,255,0.2);
  fill: white;
}

.aw-mitarbeiter-popup-box p {
  text-align: justify;
}

.aw-mitarbeiter-interactions {
  display: flex;
  justify-content: end;
  margin-top: -26px;
  height: 48px;
  margin-left: 24px;
  margin-right: 24px;
}

.aw-mitarbeiter-interactions .phone,
.aw-mitarbeiter-interactions .email {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  border-radius: 24px;
  background-color: #e9df02;
  fill: #3c3c3c;
  margin-left: 12px;
  border: none;
}

.aw-mitarbeiter-interactions .phone:hover,
.aw-mitarbeiter-interactions .email:hover {
  background-color: #ddd402;
  fill: #3c3c3c;
  cursor: pointer;
}
  
#snackbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: #333; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

/* Projekte */
.aw-project-categories {
 display: flex;
 flex-direction: column;
}

.aw-project-categories i {
 color: #e9df02;
}

.aw-project-category h2 { 
   border-bottom: 1.5px solid #e0e0e0;
   padding-bottom: 12px;
}


.aw-project-headline a {
  text-transform: none;
  color: #929395;
}

.aw-project-headline span {
  color: #3c3c3c;
}

.aw-project-headline img {
  height: 24px;
  width: 24px;
}

.aw-project-grid {
   display: grid;
   grid-gap: 1em;
   grid-auto-rows: 1fr;
   grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
   margin-bottom: 4em;
}

.aw-project-grid.all-projects{
  width: 100vw;
}

.aw-project-grid-item {
   transition: 0.2s transform cubic-bezier(0.155, 1.105, 0.295, 1.12), 0.2s box-shadow, 0.2s -webkit-transform cubic-bezier(0.155, 1.105, 0.295, 1.12);
   box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
   border-radius: 0.25em;
}

.aw-project-grid-item:hover {
  transform: scale(1.025);
}

.aw-project-grid-item > picture > img {
   height: 200px;
   border-top-left-radius: 0.25em;
   border-top-right-radius: 0.25em;
}

.aw-project-grid-item  .content {
 margin: 10px;
}

.aw-project-grid-item .content .category {
  font-weight: 100;
  opacity: 0.6;
}

.aw-project-grid-item .content .name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  line-clamp: 2; 
  -webkit-box-orient: vertical;
  height: 2lh;
  margin-bottom: 1lh;
  font-weight: 600;
}

.aw-project-grid-item .content .link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.aw-project-grid-item .content .link a {
  flex: 1;
  text-align: center;
  background-color: #3c3c3c;
  border-radius: 2px;
  color: white;
  padding: 8px 4px;
  font-weight: 600;
}

.aw-project-grid-item .content .link a img {
  height: 24px;
  width: 24px;
}

.projekte-alle-anzeigen {
  padding: 10px;
  align-self: center;
  text-align: center;
}

.projekte-alle-anzeigen img {
  transition: 0.2s transform cubic-bezier(0.155, 1.105, 0.295, 1.12), 0.2s box-shadow, 0.2s -webkit-transform cubic-bezier(0.155, 1.105, 0.295, 1.12);
  height: 72px;
  width: 72px;
}

.projekte-alle-anzeigen img:hover {
  transform: scale(1.025);
}

/*Main Navigation Menu*/

#mainHeader {
 display: none;	
  z-index: 9999;
 justify-content: start;
 background: white;
 position: fixed;
 height: 10em;
 transition: height 0.75s;
 box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08), 0 0 6px rgba(0, 0, 0, 0.05)
}

#mainHeader.collapsed {
 height: 72px;
}

#headerLogo {
 height: 10em;
 transition: 0.75s;
 padding: 1em 0 1em 3em;
}

#headerLogo.collapsed {
 height: 72px;
 padding: 0 0 0 3em;
}

.navContainer {
	display: flex;
	justify-content: end;
	width: 100%;
}

nav {
 display: block;
 color: #3c3c3c;
 align-content: end;
 padding: 1em 3em;
 transition: 0.75s;
}

#mainHeader.collapsed nav {
 padding: 0 3em;
}

.mainNav ul {
	list-style: none;
}

.mainNav>ul {
 display: block;	
}

.mainNav li {
 position: relative;
 float: left; 
}

.mainNav>ul>li {
 margin: 10px;
 border-top: 1px solid rgba(60, 60, 60, 0.2); 
 padding-top: 4px;
}

.mainNav>ul>li:hover {
 border-top: 1px solid #E9DF02; 
}

.mainNav>ul>li>a{
 padding: 10px;
 color: #3c3c3c;
 font-weight: 400;
}

.mainNav>ul>.activeMenuItem {
  border-top: 2px solid #e9df02;
}

.mainNav>ul>li:hover .submenu {
	display: block;
}

.mainNav .submenu {
  float: left;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 12px 10px 0 10px;
  z-index: 99999;	
  display: none;
  background: white;
}

.submenu > li {
  width: 100%;
  padding: 4px 5px;
  border-top: 1px solid rgba(60, 60, 60, 0.1);
  font-weight: normal;
}

.submenu > li:hover {
  font-weight: bold;
}

/* Mobile Menu */
nav.mobile .level1 > li > a {
 padding: 20px 0 0 0 !important;
}

nav.mobile .submenu{
 padding-left: 10px;
}

/* Mobile Menu Display */

@media only screen and (min-width: 768px) {
 #mainHeader {
  display: flex;
 }
 header.mobile {
  display: none;
 }
 nav.mobile {
  display: none;
 }
} 

/* Footer */
footer, .footer {
 border: none !important;
}

.newfooter{
 color: white;
 background-color: #3c3c3c;
}

.footer-row{
 display: flex;
 padding: 2em 0;
 justify-content: space-between;
 align-items: center;
}

.footer-col{
 display: flex;
 flex-direction: column;
}

footer .icon-facebook:before {
  margin: 0;
}

.newfooter a {
 color: white;
 text-transform: none;
 font-weight: 300;
 letter-spacing: .2px;
 line-height: 29px;
}

.newfooter a:hover{
 color: #8e8e93;
}

.newfooter .socialmedia i{
 font-size: 50px;
}

.newfooter-container{
  padding-left: 50px;
  padding-right: 33px;
 }

 .newfooter img{
  display: none;
 }



@media (max-width: 900px) {
 .footer-row{
   display: grid;
   grid-template-columns: auto auto;
   justify-content: space-evenly;
 }
 .footer-col{
   padding-top: 30px;
 }
}

@media (max-width: 600px) {
 .footer-row{
   grid-template-columns: auto;
 }
}

@media (min-width: 1168px) {
 .newfooter img{
  display: inline;
 }
}

@media (min-width: 1350px) {
 .newfooter-container{
  padding-left: 150px;
  padding-right: 100px;
 }
  .newfooter img{
  display: inline;
 }
}

/* Referenzen grid fix */
.grid-item.industriebau, .grid-item.handel, .grid-item.wohnen, .grid-item.oeffentlich{
  position: static !important;
}

/* Instagram */
.instagram-user-root-container {
  display: none !important;
}

.sk-ig-bottom-btn-container {
  display: none !important;
}

#instagram-3x1 {
  height: calc(33vw - 25px) !important;
}

#instagram-mehr {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4em 0;
}

#instagram-mehr a {
  width: 120px;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  font-weight: bolder;
  color: #3c3c3c;
  background-color: #e9df02;
}

@media (max-width: 576px) {
  #instagram-3x1 {
     height: calc(300vw - 108px) !important;
  }

  #instagram-3x3 > div.sk-ww-ig-feed-container > div.instagram-user-root-container {
    display: none !important;
  }
  
  #instagram-3x1 > div.sk-ww-ig-feed-container > div.instagram-user-root-container {
    display: none !important;
  }
}
