/* you can add your own custom css here if you don't want to worry about SASS/SCSS */
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  color: #273583;
  margin-top: 1rem;
  margin-bottom: 1rem;}

header {
  margin-bottom: 2em;
}
header .navbar > .container {
 align-items: initial;
  height: 100px;
}
.navbar {z-index: 10;}
.navbar-brand img {
  height: 193px;
}
.navbar > .container{ 
  align-items: end;}
.navbar-collapse {
  justify-content: end;

}
.dj-megamenu-clean li a.dj-up_a .title {
  font-size: 1.3em;
  text-transform: uppercase;
  font-weight: bold;
}

  #dj-megamenu111.dj-megamenu-clean li ul.dj-submenu > li:hover > a, #dj-megamenu111.dj-megamenu-clean li ul.dj-submenu > li.active > a {
  background: #bfbfbf;
}

.headerClasses {
  display: flex;
  justify-content: end;
  background: rgb(39,53,131);
  background: linear-gradient(90deg, rgba(39,53,131,1) 0%, rgba(39,53,131,1) 70%, rgba(227,6,19,1) 70%);
  color: #fff;
  height: 35px;
  padding: 3px 1em;
  box-sizing: border-box;
}
.mod-breadcrumbs__wrapper {
  box-sizing: border-box;
  height: 35px;
}
.headerClasses #mod-custom116 a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
}

#banner {
  width: 70%;
  height: 600px;
  background-image: url('../../../../../images/design/banner2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position:bottom;
  margin:auto;
  position: relative;
}
#banner span {
  background: #fff7;
  padding: 0.5em 1em;
  font-size: 1.5em;
  position: absolute;
  bottom: 20px;
  right: 20px;
}
.bannerblur {  width: 100%;
  height: 600px;
  background-image: url('../../../../../images/design/banner2_blur.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0px -300px;}

.parallax {
  width: 100%;
  min-height: 500px;
  background-attachment: fixed;
}

.breadcrumb-item + .breadcrumb-item::before, .breadcrumb-item.active {color: #fff;}
.phone-icon, .mail-icon {vertical-align: text-bottom; margin-left: 1em;}
a[data-summary]:hover::after {
  content: attr(data-summary);
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  color:#ff00ff;
}

main{margin-top: 4em;}
.zweispaltig {
  column-count: 2;
  column-gap: 3em;
}


div.mitarbeiter {
  display: flex;
  color: #fff;
  font-size: 1.6em;
  text-align: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.mitarbeiter div {
  background: #273583;
  padding: 0.8em;
  margin: 1em 1em 0 0;
}

.mitarbeiter p {margin:0;}

table.firmenhistorie {
  table-layout: auto;
  margin-right: 2em;
}

table.firmenhistorie td{
  vertical-align: top;
  padding: 0.5em;
}

table.firmenhistorie tr td:first-child {
color: #d4daff;
  text-shadow: 0px 0px 2px #000, -1px -1px #333;
  font-weight: bold;
  white-space: nowrap;
  width: 75px;
  background: rgb(255,255,255);
  background: linear-gradient(90deg, rgba(255,255,255,1) 23%, rgba(39,53,131,1) 23%, rgba(39,53,131,1) 77%, rgba(255,255,255,1) 77%);
  text-align: center;
}

table.firmenhistorie tr:last-child td:first-child {
 background: #fff;
padding: 0;
}

table.firmenhistorie tr td:nth-child(2) {
  padding-left: 1em;
}
.arrow-down {
width: 0px;
height: 0px;
-webkit-transform:rotate(360deg);
border-style: solid;
border-width: 41px 37.5px 0 37.5px;
border-color: #273583 transparent transparent transparent;
}
a[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  color:#ff00ff;
}

.ausbildung {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2em;
}

.ausbildung img {
  width: 31%;
}

.gallery-item {
  width: 400px;
  height: 400px;
}
.flex-gallery {
  display: grid;
width: 100%;
  grid-template-columns: repeat(auto-fill, 400px);
  grid-gap: 5px 10px;
}
figcaption h2 {
  margin-top: 0;
  font-size: 1.5em;
}
.imghvr-fade {
  overflow:inherit;
}
table.projekte th {background-color: #273583; color: #fff;}

table.projekte th, table.projekte td {
  padding: 0.5em;
  border-bottom: 1px solid #ddd;
}

table.projekte tr:hover {background-color: #f8f9fa;}
table.projekte p {margin-bottom: 0;}
.siteBody {
  margin-bottom: 2em;
}

#sigplus_1001 .slideplus-stripe > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#sigplus_1001 .slideplus-content {
  margin-bottom: 1em;
}
#sigplus_1001 .slideplus-content div{
  padding: 5px;}

.sigplus-preview {box-shadow: 2px 2px 4px #999;}

.referenzen {
  display: flex;
  border-bottom: 10px solid #273583;
  padding-bottom: 2em;
  margin-bottom: 2em;
}
.ref_img {
  width: 35%;
}
.ref_img img {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
 transition: all linear 0.3s 0s;
  height: 350px;
  object-fit: cover;
  width: 100%;
}
.ref_img img:hover {
    filter: none;
    -webkit-filter: grayscale(0);
 transition: all linear 0.3s;
}
.ref_desc {
  padding-left: 3em;
  width: 64%;
}
iframe {width: 100%;}
.footer #mod-custom117 address {
  display: flex;
  justify-content: space-between;
}


/** Lightbox **/

.lightbox {
  display: none;
  position: fixed;
  z-index: 11;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #424242f2;
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  height: 90%;
}

.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
  width: 100%;
  height: 100%;
  margin: auto;
}
.mySlides img {
  max-height: 100%;
  max-width: 100%;
  margin: 0 auto 1em;
  display: block;
}

.thumbnails {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1em;
}
.thumbnails img {
  height: 100%;
  margin: 3px;
}

.cursor {
  cursor: pointer;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}


.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}


.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.demo.cursor.active {
  box-shadow: 0px 0px 3px #fff;
}

footer .nav-link {padding: 0;}

.flex {display: flex; justify-content: space-between;}
.flex-historie {display: flex; justify-content: space-between; align-items: center;}
.flex-historie img{width: auto; height:auto;}
.address {width: 70%;}

/** Mobile Ansicht **/
@media (max-width: 1420px){
  .headerClasses {background: linear-gradient(90deg, rgb(39, 53, 131) 0%, rgb(39, 53, 131) 60%, rgb(227, 6, 19) 60%);}
}

@media (max-width: 1100px){
  .headerClasses {background: linear-gradient(90deg, rgb(39, 53, 131) 0%, rgb(39, 53, 131) 50%, rgb(227, 6, 19) 50%);}
  .gallery-item {width: 300px; height: 300px;}
  .footer #mod-custom117 address {
    display: block;}
}

@media (max-width: 990px){
  header {margin-bottom: 4em;}
  #mod-custom116 {display: none;}
  #banner {height: 15rem;}
  
  .navbar-brand {width: 100%; display: block;}
  .navbar-toggler {
  width: 100%;
  background: #fff;
  border-radius: 0;}
  .navbar .navbar-toggler:focus {box-shadow: 0 0 0;}
 
  #dj-megamenu111 li {
  display: block;
  width: 100%;
  background: #f0f0f0;
}
  #dj-megamenu111 li .dj-submenu li {
  background: #e0e0e0;
    width: 100%;
}
  
  #dj-megamenu111 li .dj-subwrap-in, #dj-megamenu111 li .dj-subwrap-in .dj-subcol {width: 100% !important;}
  
  table.projekte {
  font-size: 0.7em;
}

  .flex {display: block;}
}

@media (max-width: 800px){
  .zweispaltig{column-count:1;}
}

@media (max-width: 600px){
    .gallery-item {width: 87%; height: auto;}
}

