body, html {
 color:#666; 
 font-size:16px; 
 font-family:jaf-bernino-sans-condensed, arial, sans-serif; 
 /*font-weight: 300,400,600,700;*/
 /*font-weight:300;*/
 margin:0; 
 padding:0; 
 width:100%; 
  -webkit-text-size-adjust: 100%;
}

img, table { 
	border:none;
}

* {
	outline: none;
	box-sizing:border-box;
	/*-webkit-appearance: none;*/
}

td, p { 
	margin:0; 
}

ul {
    margin: 0;
    padding: 0;
}


ul li {
    margin: 0 0 0 1em;
    padding: 0;
}

hr {
    border-top:1px solid rgba(100,100,100,0.4);
    margin:2em 0;
}

/*--------------------------------------------------------*/
/*FORM*/
/*--------------------------------------------------------*/
form {
    margin: 0;
}

.center {
    text-align: center;
    margin:5em 0 2em 0;
}

.form-default label p, 
.errmsg, .error {
	color:red;
}

.errbox {
	background:#ffdede;
	padding:10px;
	margin:0 0 3em 0;
	border:#ebccd1 1px solid;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
}

.errbox p {
	color:red;
	margin-top:0;
	margin-bottom:0;
}

.form-default input.error, 
.form-default textarea.error, 
.form-default select.error {
	background:#ffdede;
}

.form-default label {
	display: block;
	margin-bottom: 3px;
	font-family: inherit;
	font-size: 1em;
}

.form-default select {
    border: 1px solid #ccc;
    box-sizing: border-box;
    color: #777;
    font-family: inherit;
    font-size: 1em;
    font-weight: 200;
    margin: 0 0 0.8em;
    padding: 0.3em;
    width: 100%;
}

.form-default .no-border {
    border:none;
}

.form-default .upload {
    margin-bottom:1.35em;
}

.form-default .center {
    width:100%;
    text-align:center;
}

.form-default select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

.form-default input, .form-default textarea {
	border: 1px solid #ccc;
	border-radius: 0;
	box-sizing: border-box;
	color: #777;
	font-family: inherit;
	font-size: 1em;
	font-weight: 200;
	margin: 0 0 0.8em;
	padding: 0.3em;
	width: 100%;
}

.form-default textarea {
	resize: none !important;
}

.form-default input[type="submit"] {
    border:none;
    color: #fff;
    background:transparent;
    margin:0;
    padding:0;
}
.form-default input[type="submit"]:hover,
.form-default .jh-button:hover {
    cursor:pointer;
}

.form-default input[type="checkbox"], .form-default input[type="radio"] {
    background: transparent none repeat scroll 0 0;
    border: medium none;
    float: left;
    width: auto;
}
.form-default input[type="checkbox"]:checked, .form-default input[type="checkbox"]:not(:checked), .form-default input[type="radio"]:checked, .form-default input[type="radio"]:not(:checked) {
    background: transparent none repeat scroll 0 0;
    display: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.form-default input[type="checkbox"] + label, .form-default input[type="radio"] + label {
    cursor: pointer;
}
.form-default input[type="checkbox"]:checked + label::before, .form-default input[type="checkbox"]:not(:checked) + label::before, .form-default input[type="radio"]:checked + label::before, .form-default input[type="radio"]:not(:checked) + label::before {
    background: white none repeat scroll 0 0;
    border: 1px solid #777;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1) inset;
    content: " ";
    display: inline-block;
    height: 15px;
    margin-right: 0.5em;
    position: relative;
    top: 2px;
    width: 15px;
}
.form-default input[type="checkbox"]:hover + label::before, .form-default input[type="radio"]:hover + label::before {
    background: #ccc none repeat scroll 0 0;
    box-shadow: 0 0 0 2px white inset;
}
.form-default input[type="checkbox"]:checked + label::before, .form-default input[type="radio"]:checked + label::before {
    background: #53b8dd none repeat scroll 0 0;
    box-shadow: 0 0 0 2px white inset;
}
#datenschutz, #datenschutz:checked, #datenschutz:not(:checked){
	display:block;
	border:1px solid;
	margin:5px 10px 0 0;
}

/*--------------------------------------------------------*/
/*ALLGEMEIN*/
/*--------------------------------------------------------*/

a,
a:link,
a:visited,
a:focus {
	text-decoration:underline; 
	/*color:rgba(0,100,174,1);*/
    color:#666;
}

a:hover {
	text-decoration:none;
}

.wrapper {
	position:relative; 
	margin:0 auto; 
	max-width:1280px; 
}

.wrapper_ref {
	position:relative; 
	margin:0 auto; 
	max-width:1350px; 
}

.clearingfix { 
	clear:both; 
	overflow:hidden; 
	line-height:0; 
	height:0; 
	font-size:0px; 
}

/*.test {
	-webkit-transition:color 0.3s;
    -moz-transition:color 0.3s;
    -o-transition:color 0.3s;
    -ms-transition:color 0.3s;
    transition:color 0.3s; 
}*/

/*--------------------------------------------------------*/
/*ÜBERSCHRIFTEN*/
/*--------------------------------------------------------*/

h1,h2 {
    text-transform: uppercase;
    font-weight:bold;
    line-height:1.25em;
    color:rgba(0,100,174, 1);
    font-family:arial, helvetica, sans-serif; 
    font-size: 1.75em;
    margin: 0 0 1.5em;
    overflow-wrap:break-word;
}

h2.azubijobs_h2{margin-top:1.5em;}

h3 {
    font-family:arial, helvetica, sans-serif; 
    text-transform: uppercase;
    font-weight:bold;
    line-height:1.4em;
    font-size:1em;
    color:rgba(0,100,174, 1);
    /*margin:0 0 1.3em;*/
    margin-top:0;
}

h4 {
     color:rgba(0,100,174, 1);
     text-transform: uppercase;
}

h5 {
     color:rgba(0,100,174, 1);
     font-weight:bold;
     font-size:1rem;
      margin:0;
     line-height:1.42857;
     float:left;
}

h6 {
    text-transform: uppercase;
    font-weight:bold;
    color:rgba(0,100,174, 1);
    font-family:arial, helvetica, sans-serif; 
    font-size: 4em;
    margin: 0;
}

.azubi #content h1,
.azubi #content h2 {
    font-family: paralucent-stencil, sans-serif;
    font-style: normal;
    font-weight: 500;
    text-transform: none;
}

.azubi #content h1 {
    font-size:3em;
    margin: 0 0 0.5em;
}

.azubi #content h2 {
    font-size:2.25em;
}

.content-azubi,
.content-azubi #azubi-news {
  padding-bottom: 0 !important;
}


/*--------------------------------------------------------*/
/*HEADER*/
/*--------------------------------------------------------*/

header {
        position:fixed;
        width:100%;
        height:auto;
        z-index:999999;
}


/*--------------------------------------------------------*/
/*LOGO*/
/*--------------------------------------------------------*/

#logo {
    width:100%;
	max-width: 300px;
    float:right;
    position: relative;
    z-index:0;
}

.biglogo{
	
}

#logo img {
    position: absolute;
    width:300px;
    height:auto;
}

#logo a {
    text-indent: -9999px;
    color:transparent;
}
#logo > a::before {
    background: rgba(0, 0, 0, 0) url("../graphik/josef-hebel-min-dt.png") no-repeat scroll left top / 70px auto;
	background-size: 300px auto;
    content: " ";
    height: 60px;
    left: 0;
    position: absolute;
    width: 300px;
}
#logo.biglogoXX > a::before {
    background: rgba(0, 0, 0, 0) url("../graphik/josef-hebel.jpg") no-repeat scroll left top / 75px auto;
    background-size: 300px auto;
    width: 300px;
    height: 75px;
}
#logo.biglogo > a {
    width: 300px;
}

@media screen and (max-width: 1055px) {
	#logo {
		max-width: 264px;
	}
	#logo > a::before {
   		background: rgba(0, 0, 0, 0) url("../graphik/josef-hebel-min.png") no-repeat scroll left top / 70px auto;
	}
	#logo > a::before {
		background-size: 264px auto;
		height: 66px;
		width: 264px;
	}	
}

@media screen and (max-width: 390px) {
	#logo {
		max-width: 200px;
		margin-top:8px;
	}	
	#logo > a::before {
		background-size: 200px auto;
		width: 200px;
		height: 50px;
	}
}

/*--------------------------------------------------------*/
/*KOPFGRAFIK*/
/*--------------------------------------------------------*/

#hero {
   height: 1000px;
    overflow: hidden;
    position: absolute;
}

/*#hero img {
    width:100%;
}*/

#hero-default img {
    width:100%;
    height:auto;
}

#hero-azubi .img-azubi {
    width:100%;
    height:500px;
    background-size: cover;
    background-position:center;
 }

.hero-page {
    height:500px !important;
    position: relative !important;
}

.layer {
    background-position: bottom center;
    background-size: auto;
    background-repeat: no-repeat;
    width: 100%;
    height: $heroHeight;
    position: fixed;
    z-index: -1;
}

#hero-mobile {
    display: none;
    height: 320px;
    background-size:cover;
    background-position:center top;
}

#hero, .layer {
    min-height: 1000px;
}

.hero-page, .hero-page .layer {
    min-height:500px !important;
}

.layer-bg {
    background-size:cover;
    background-position:center top;
}

.layer-1 {
    background-position: 25% bottom;
}

/*--------------------------------------------------------*/
/*HOTSPOTS TRIANGLE*/
/*--------------------------------------------------------*/

/*.triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 40px solid tranparent;
    position: absolute;
    top:425px;
    left:15%;
    z-index: 999;
}*/

/*BORDER WHITE*/
/*.triangle:before {
     width: 0;
    height: 0;
     border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 24px solid #fff;
    position: absolute;
    left:-12px;
    top:16px;
    content: "\00a0";
}*/

/*TRIANGLE BLUE*/
/*.triangle:after {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid rgba(0, 100, 174, 1);
    content: "\00a0";
    position: absolute;
    left:-10px;
    top:19px;
}

.triangle-bg {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 40px solid rgba(0, 100, 174, 0.5);
    position: absolute;
    top:425px;
    left:15%;
    animation:2s ease 0s normal infinite pulse;
    transform: scale(1);
    opacity:0;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity:0;
    }

    30% {
        opacity:1;
    }

    100% {
        transform: scale(3);
        opacity:0;
    }
}

.triangle h3 {
    position: absolute;
    top:50px;
    background:rgba(0,100,174,0.8);
    line-height:40px;
    height:40px;
    left:-185px;
    white-space: nowrap; 
    margin:0;
    padding:0 15px 0 20px;
    color:#fff;
    border-bottom:1px solid #fff;
    opacity:0;
}

.triangle:hover h3 {
    opacity: 1;
     transition: opacity 0.6s ease;
}

.triangle:hover {
    cursor:default;
}*/


/*TRIANGLE 2*/

/*.triangle2,
.triangle2-bg {
    top:350px;
    left:40%;
}

.triangle2-bg {
    -webkit-animation-delay: 1s; 
    animation-delay: 1s;
}

.triangle2 h3 {
    left:-188px;
}*/


/*TRIANGLE 3*/

/*.triangle3,
.triangle3-bg {
    top:530px;
    left:33%;
}

.triangle3-bg {
    -webkit-animation-delay: 1.5s; 
    animation-delay: 1.5s;
}

.triangle3 h3 {
    left:-265px;
}*/


/*--------------------------------------------------------*/
/*HERO CONTENT*/
/*--------------------------------------------------------*/

#hero-content {
    position:relative;
    padding:125px 0 0 0;
    width:100%;
    z-index: 99;
}

.hero-text {
    text-shadow: 0 0 10px #000;
    font-size:1.2em;
    line-height:1.3em;
    color:#fff;
}

.hero-text h1 {
    font-size:1.75rem;
    color:#fff;
}

/*--------------------------------------------------------*/
/*SEARCH*/
/*--------------------------------------------------------*/

.search {
    color:#000;
    position:relative;
}

.search .icon-blue {
    position:absolute;
    margin:0;
}

.search input {
    height:40px;
    line-height:40px;
    border:none;
    padding: 0 60px 0 20px;
    margin-left:35px;
    font-weight:normal;
    color: #0064ae;
    width:calc(100% - 35px);
    font-family:jaf-bernino-sans-condensed, arial, sans-serif; 
}

.search input[type="submit"] {
    font-family: FontAwesome;
    background:transparent;
    color: #0064ae;
    position:absolute;
    right:0;
    width:40px;
    margin:0;
    padding:0;
}

#hero-content .search input {
    background:rgba(0,100,174,0.8);
    color:#fff;
    font-size: 1.25em;
    border-bottom:1px solid #fff;
    height:50px;
    margin-left:50px;
    width:calc(100% - 50px);
    line-height:50px;
    border-radius:0px;
}

#hero-content .search .icon-blue {
    background:rgba(0,100,174,0.8);
    border:none;
    border-bottom:1px solid #fff;
    border-radius:0;
    height:50px;
    width:50px;
    font-size:1.625em;
}

.search .icon-blue:before {
    display:none;
}

.search .icon-blue:hover {
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none;
    
}

#hero-content .search input[type=submit] {
    background:transparent;
    margin:0;
    width:40px;
}

/*--------------------------------------------------------*/
/*HEADLINE BLUE*/
/*--------------------------------------------------------*/

.headline-blue {
    background:#e6e101;
    display:inline-block;
    line-height:1.5em;
    /*height:40px;*/
    height:auto;
    margin:0 50px 0 0;
    position:relative;
    padding:9px 15px 8px 20px;
    color:#015b9a;
}

.headline-blue:after {
    width: 50px;
    height: 40px;
    content: "\00a0";
    border-style: solid;
    border-width: 0 0 40px 27px;
    border-color: transparent transparent transparent #e6e101;;
    position:absolute;
    top:0;
    left:100%;
}

.headline-blue:before {
    height:1px;
    width:calc(100%);
    position:absolute;
    top:40px;
    left:0;
    background:#fff;
    content: "\00a0";
}

a.headline-blue {
    color:#fff;
    text-decoration: none;
}

/*--------------------------------------------------------*/
/*FLAGS - SCHNELLEINSTIEGE LINKER RAND*/
/*--------------------------------------------------------*/

#flags {
    position:absolute;
    top:70px;
    left:0;
    z-index: 9999;
}

.home #flags {
    
}

#flags li {
    list-style-type:none;
    margin:10px 0;
}

#flags .headline-blue {
    background:rgba(232, 224, 3, 1);
}

#flags .headline-blue::after {
    border-color:transparent transparent transparent rgba(232, 224, 3, 1);
}

#flags .headline-blue:hover {
    background:rgba(232, 224, 3, 0.8);
}

#flags .headline-blue:hover:after {
    border-color:transparent transparent transparent rgba(232, 224, 34, 0.8);
}

#flags .flag1 .headline-blue{padding-right: 30px;}
#flags .flag2 .headline-blue{padding-right: 30px;}
#flags .flag3 .headline-blue{padding-right: 25px;}

/*--------------------------------------------------------*/
/*NEWS SLIDER*/
/*--------------------------------------------------------*/

.slider li {
    margin:0;
	position: relative;
}

/*CONTROLS*/
.slider-prev, .slider-next {
    align-items: end;
    background: rgba(1,91,154);
    display: flex;
    height:calc(100%);
    justify-content: center;
    width: 30px;
	padding-bottom: 20px;
}

.slider-prev i, .slider-next i {
    color: #fff;
    font-size: 1.25rem !important;
    opacity: 1;
}

.slider-prev {
    display:none;
}

.slider-eck{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 100px 80px;
	border-color: transparent transparent #015a9a transparent;
	position: absolute;
	bottom:0;
	right:29px;
}
/*CONTENT*/

.bx-viewport,
.zeitung.slider-content {
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:    3px 3px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow:         3px 3px 5px 0px rgba(0, 0, 0, 0.5);
    background:#fff;
	position: relative;
}

.zeitung .headline-blue{
	top:-20px;
	left:-20px;
}

.slider-content {
    padding:20px 50px 20px 20px;
    /*height:260px;*/
    background:#fff;
}

.zeitung.slider-content {
    padding:20px;
	border-right: 30px solid rgb(1, 91, 154);
	position: relative;
}

.zeitung .slider-eck{right:0px;}


.zeitungen .zeitung.slider-content {
    padding:20px;
    box-shadow:none;
}

.slider-content .column-2third {
    position:relative;
}

.slider-img  {
    background-size: cover !important;
    background-position: center top;
    width:100%;
    min-height:220px;
	max-height: 220px;
}

.slider-text {
    /*max-height:155px;*/
    overflow:hidden;
    padding-bottom:50px;
color:#666;
}

.slider-icons {
    position:absolute;
    bottom:0;
    width:100%;
}

.slider-icons li {
    list-style-type: none;
    margin:0 10px 0 0;
    float:left;
}

.slider-icons li:last-child {
    float:left;
    margin:0 0 0 0px;
}

#news-uebersicht .slider-icons li:last-child,
.presse .slider-icons li:last-child {
    margin:0 10px 0 0;
    float:left;
}

#news-uebersicht .zeitung.slider-content{border-right: none;}

/*LIGHTBOX*/
.white-popup {
    background: #fff none repeat scroll 0 0;
    margin: 20px auto;
    max-width: 1200px;
    padding: 40px;
    position: relative;
    width: auto;
}

.white-popup img {
    max-width:100%;
    height:auto;
}

.standort-lightbox img {
    width:100%;
}

.mfp-close {
    opacity:1;
}

/*--------------------------------------------------------*/
/*PAGINIERUNG*/
/*--------------------------------------------------------*/

.page-selection {
    margin: 3em auto;
}
.page-selection ul {
    display: block;
    font-size: 18px;
    list-style-type: none;
    margin-bottom: 6px;
    padding: 6px 12px;
    position: relative;
    text-align: center;
}
.page-selection ul li {
    background: #0071c5;
    background: -moz-linear-gradient(top,  #0071c5 0%, #004d86 100%);
    background: -webkit-linear-gradient(top,  #0071c5 0%,#004d86 100%);
    background: linear-gradient(to bottom,  #0071c5 0%,#004d86 100%);
    display: inline-block;
    color:#fff;
    font-weight: 700;
    margin: 0 2px;
    padding:10px 0;
    text-align: center;
}
.page-selection ul li.active, .page-selection ul li:hover {
    background:#e6e6e6;
    background: -moz-linear-gradient(top,  #999 0%, #666 100%);
    background: -webkit-linear-gradient(top,  #999 0%,#666 100%);
    background: linear-gradient(to bottom,  #999 0%,#666 100%);
}
.page-selection a,
.page-selection li.active {
    color: #fff;
    text-decoration: none;
}
.page-selection li span {
    padding: 0 15px;
}


/*--------------------------------------------------------*/
/*CONTENT MAIN*/
/*--------------------------------------------------------*/

.white-space {
    width:100%;
    height:70%;
    position:absolute;
    top:1000px;
    background:#fff;
}

#content {
    padding: 75px 0;
}

#content_ref {
    padding: 75px 0 0 0;
}


.home #content,
.azubi #content  {
    padding-bottom:0;
}

.home .content {
    /*min-height:380px;*/
    position:absolute;
    top: 875px;
    width:45%;
    background:#fff;
    padding-top:80px;
}

.home .content img{width:100%; max-width:280px; height:auto;}

.home #azubi-news {
    padding:0;
}

.grey {
    background:#e6e6e6;
}

section {
    padding:6em 0;
}
section#azubi-news{
    padding:0;
}


/*--------------------------------------------------------*/
/*NEWS GRID*/
/*--------------------------------------------------------*/

.news-grid {
    display: flex;
    -webkit-display:flex;
    justify-content: space-between;
    flex-wrap:wrap;
    width: 100%;
}


.news-grid li{
    width: 33.3%;
    list-style-type: noen;
    margin:0;
    position:relative;
    overflow: hidden;
}

.news-grid img{
    width:100%;
    height:auto;
    transform: scale(1.1);
    transform-origin: 50% 50% 0;
    transition-duration: 0.6s;
}




.news-grid li:hover img {
    transform: scale(1);
    transform-origin: 50% 50% 0;
}

.isotope-grid img,
.isotope-grid li:hover img {
    transform: scale(1);
}

.news-grid-text {
    background:rgba(0,100,174,0.85);
    left: 0;
    width: 100%;
    max-height:500px;
    opacity: 0;
    overflow: visible;
    position: absolute;
    bottom: 0;
    transition: all 0.75s ease 0s;
    padding:30px;
    color:#fff;
    z-index: 999;
}

.isotope-grid .news-grid-text {
    opacity:1;
}

.news-grid-text h3 {
    color:#fff;
    margin:0;
}

.news-grid-text .column-third {
    position:relative;
    width: 100px;
}

.news-grid-text .column-2third {
    position:relative;
    width: calc(100% - 135px);
}

.news-grid-text i {
    font-size:3em;
    float:left;
}

 .diagonal-line {
    width: 90px;
    height: 50px;
    border-bottom: 1px solid #fff;
    -webkit-transform:rotate(115deg); 
    transform:rotate(115deg); 
    top:0;
    right:0;
    margin-top:10px;
    margin-right:-50px;
    position:absolute;
}

.link-archiv {
    position: absolute !important;
    top:0;
    right:0;
}

/*--------------------------------------------------------*/
/*BAUSTELLE DETAIL*/
/*--------------------------------------------------------*/
h1.ref_h1{margin-bottom:0;}
.ref_subtopic{color:rgba(0,100,174,1);}
.baustelle-detail{
	margin:1.5em 0 0 0;
}
.baustelle-detail .column-third{
	margin:0 0 20px 0;
}

/*--------------------------------------------------------*/
/*VORLAGE LAYOUT ZWEISPALTIG*/
/*--------------------------------------------------------*/

.two-columns {
    display: flex;
    flex-wrap: wrap;
}
.column-left {
    margin-right: 2%;
    width: 49%;
}
.column-right {
    width: 49%;
}
.column-left img, .column-right img {
    height: auto;
    max-width: 100%;
}

/*---------------------------------------------------------------------*/
/*VORLAGE LAYOUT DREISPALTIG*/
/*---------------------------------------------------------------------*/
.three-columns {
    display: flex;
    -webkit-display:flex;
    justify-content: space-between;
    flex-wrap:wrap;
    width: 100%;
}
.column-third {
    width: 31.3%;
}

.column-third img {
    height: auto;
    width: 100%;
}

.column-2third {
    width: 62.6%;
}


/*--------------------------------------------------------*/
/*ICON BLAU*/
/*--------------------------------------------------------*/

.icon-blue {
    overflow:hidden;
    position:relative;
    border-radius:5px;
    border:2px solid #fff;
    background: #0071c5;
    background: -moz-linear-gradient(top,  #0071c5 0%, #004d86 100%);
    background: -webkit-linear-gradient(top,  #0071c5 0%,#004d86 100%);
    background: linear-gradient(to bottom,  #0071c5 0%,#004d86 100%);
    color:#fff;
    width:40px;
    height:40px;
    display:flex;
    -webkit-display:flex;
    justify-content:center;
    align-items:center;
    font-size:1.2em;
}

.icon-blue:before {
    background: rgba(255, 255, 255, 0.2) none no-repeat scroll 0 0;
    bottom: 0;
    content: "";
    display: block;
    position: absolute;
    /*right: 40px;*/
    right:100%;
    top: 0;
    -webkit-transform: skew(45deg, 0deg);
    -ms-transform: skew(45deg, 0deg);
    transform: skew(45deg, 0deg);
    transform-origin: left bottom 0;
    transition:right 0.3s ease; 
    width: 100%;
    z-index: 8;
}

.icon-blue:hover:before {
   right: 0;
    

}

a.icon-blue {
    text-decoration: none;
    color:#fff !important;
}

a.icon-blue:hover {
    -webkit-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.7);
    -moz-box-shadow:    1px 1px 2px 0px rgba(0, 0, 0, 0.7);
    box-shadow:         1px 1px 2px 0px rgba(0, 0, 0, 0.7);
    color:#fff;
}

/*--------------------------------------------------------*/
/*ICON ORANGE*/
/*--------------------------------------------------------*/

.icon-orange {
    overflow:hidden;
    position:relative;
    border-radius:5px;
    border:2px solid #fff;
    background: #f47300;
    background: -moz-linear-gradient(top,  #ff9d1d 0%, #f47300 100%);
    background: -webkit-linear-gradient(top,  #ff9d1d 0%, #f47300 100%);
    background: linear-gradient(to bottom,  #ff9d1d 0%, #f47300 100%);
    color:#fff;
    width:40px;
    height:40px;
    display:flex;
    -webkit-display:flex;
    justify-content:center;
    align-items:center;
    font-size:1.2em;
}

.icon-orange:before {
    background: rgba(255, 255, 255, 0.2) none no-repeat scroll 0 0;
    bottom: 0;
    content: "";
    display: block;
    position: absolute;
    /*right: 40px;*/
    right:100%;
    top: 0;
    -webkit-transform: skew(45deg, 0deg);
    -ms-transform: skew(45deg, 0deg);
    transform: skew(45deg, 0deg);
    transform-origin: left bottom 0;
    transition:right 0.3s ease; 
    width: 100%;
    z-index: 8;
}

.icon-orange:hover:before, .cookiebutton:hover:before {
   right: 0;
}

a.icon-orange {
    text-decoration: none;
    color:#fff !important;
}

a.icon-orange:hover, .cookiebutton:hover {
    -webkit-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.7);
    -moz-box-shadow:    1px 1px 2px 0px rgba(0, 0, 0, 0.7);
    box-shadow:         1px 1px 2px 0px rgba(0, 0, 0, 0.7);
    color:#fff;
}

.cookiebutton {	
	overflow:hidden;
    position:relative;
	float: left;
	margin:4px 0 5px 0; 
	cursor:pointer;
	border-radius:5px; 
}

.cookiebutton > input {
	font-size: 16px;	
	text-transform: uppercase; 
	padding:8px 10px;
    background: #0071c5;
    background: -moz-linear-gradient(top,  #0071c5 0%, #004d86 100%);
    background: -webkit-linear-gradient(top,  #0071c5 0%,#004d86 100%);
    background: linear-gradient(to bottom,  #0071c5 0%,#004d86 100%);
    color:#fff;
    border:2px solid #fff;
	border-radius:5px;
}

.cookiebutton:before {
	background: rgba(255, 255, 255, 0.2) none no-repeat scroll 0 0;
    bottom: 0;
    content: "";
    display: block;
    position: absolute;
    right:100%;
    top: 0;
    transform-origin: left bottom 0;
    transition:right 0.3s ease; 
    width: 100%;
}

/*--------------------------------------------------------*/
/*VORLAGE BUTTON BLAU*/
/*--------------------------------------------------------*/

.jh-button {
    width: auto !important;
    padding:5px 20px;
    height:auto;
    display:inline-block;
    position:relative;
}

.jh-button:before {
	transform:none;
}

/*.jh-button:hover {
	background: #3381bb none no-repeat scroll 0 0;
}*/

/*--------------------------------------------------------*/
/*INFO BUTTON*/
/*--------------------------------------------------------*/

.info-button {
    position:relative;
}

.info-button span {
    float:left;
    margin-right:-5px;
    z-index:1;
}

.info-button-text {
    background:#fff;
    display:inline-block;
    line-height:40px;
    height:40px;
    margin:0;
    position:relative;
    padding:0 15px 0 20px;
    color: #666;
}

.info-button-text:after {
    width: 50px;
    height: 40px;
    content: "\00a0";
    border-style: solid;
    border-width: 0 0 40px 30px;
    border-color: transparent transparent transparent #fff;
    position:absolute;

    left:100%;
}

.info-button-text:before {
/*    height:1px;
    width:calc(100% + 30px);
    position:absolute;
    top:40px;
    left:0;
    background:#fff;
    content: "\00a0";*/
}

a.info-button {
    color:#666;
    text-decoration: none;
}

.info-button:hover .icon-blue:before {
    right: 0;
}

.info-button:after {
    transition:opacity 0.3s ease; 
    opacity:0;
    width: calc(100% + 35px);
    height: 5px;
    content: "\00a0";
    position:absolute;
    top:30px;
    left:-35px;
    border-radius:5px;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);

}

.info-button:hover:after {
   opacity:1;
}


/*--------------------------------------------------------*/
/*BLUE BUTTON*/
/*--------------------------------------------------------*/

.azubi-link {
    position:relative;
    float: right;
    width: 300px;
}

.button-blue {
    background: #0071c5;
    background: -moz-linear-gradient(top,  #0071c5 0%, #004d86 100%);
    background: -webkit-linear-gradient(top,  #0071c5 0%,#004d86 100%);
    background: linear-gradient(to bottom,  #0071c5 0%,#004d86 100%);
    height:40px;
    line-height:40px;
    color:#fff;
    padding:0 15px;
    position:absolute;
    width: 250px;
    top:0;
    left:50px;
}

.azubi-link:hover .button-blue {
    -webkit-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.7);
    -moz-box-shadow:    1px 1px 2px 0px rgba(0, 0, 0, 0.7);
    box-shadow:         1px 1px 2px 0px rgba(0, 0, 0, 0.7);
}

h3.button-blue {
    margin:0;
}

.azubi-link .icon-blue {
        margin-bottom:0.5em;
}


/*--------------------------------------------------------*/
/*LEISTUNGEN SCHNELLEINSTIEGE*/
/*--------------------------------------------------------*/

#leistungen-einstiege,
#news-uebersicht {
    -webkit-display:flex;
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
     margin-bottom:10px;
}

.leistung  {
    width:45%;
    margin-bottom:80px;
    -webkit-box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow:    3px 3px 5px 0 rgba(0, 0, 0, 0.5);
    box-shadow:         3px 3px 5px 0 rgba(0, 0, 0, 0.5);
	border-right: 20px solid #015b9a;
	position: relative;
}

.leistung .einstieg-text {
    padding:25px 20px;
    margin-top:0px;
}

.job-description {
    padding: 0 20px 25px 20px;
}

.presse .leistung .einstieg-text {
    margin-top:0;
}

.presse .standort-lightbox object {
    width:100%;
    height:auto;
}

a.leistung {
    color:#666;
    text-decoration: none;
}

.leistung:hover {
    background:#e6e6e6;
    transition:background 0.3s ease; 
}

.leistung .column-third .icon-blue {
    float:right;
    margin-left:5px;
}

.leistung .headline-blue {
    top:0px;
}

.icon-blue:hover {
    -webkit-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.7);
    -moz-box-shadow:    1px 1px 2px 0px rgba(0, 0, 0, 0.7);
    box-shadow:         1px 1px 2px 0px rgba(0, 0, 0, 0.7);
    color:#fff;
}

.content-eck{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 70px 60px;
	border-color: transparent transparent #015a9a transparent;
	position: absolute;
	bottom:0;
	right:0px;
}

/*--------------------------------------------------------*/
/*STANDORTE SLIDER*/
/*--------------------------------------------------------*/

.slider-wrapper {
    margin: 0 auto;
    max-width: 100%;
    padding: 0 160px;
    position: relative;
    width: 1600px;
}

.slider-wrapper .link-archiv {
    margin-right:160px;
}

.slide {
    padding-bottom:10px;
}

.slide a {
    /*color: #666;*/
}

.img-link {
    width:100%;
    height:340px;
    overflow:hidden;
    position: relative;
}

.img-link .img {
    width:100%;
    height:100%;
    position:absolute;
    background-size: cover !important;
    background-size: center top;
    transform: scale(1.1);
    transform-origin: 50% 50% 0;
    transition-duration: 0.6s;
}

.img-link:before {
    width: 100%;
    height: 100%;
    display:flex;
    -webkit-display:flex;
    justify-content:center;
    align-items:center;
    font-size:3em;
    color:#fff;
    content: "\f002";
    font-family: 'FontAwesome';
    position:absolute;
    z-index: 999;
} 

.slide h3 {
    text-align: center;
}

a.fancybox:hover .img,
.standort a:hover .img {
    transform: scale(1);
    transform-origin: 50% 50% 0;
}

/*--------------------------------------------------------*/
/*STANDORTE SEITE*/
/*--------------------------------------------------------*/

.standort {
	padding:3em 0;
}

.standort:last-of-type {
	padding-bottom:0;
	margin-bottom:-100px;
}

.standort .grey {
	padding:6em 0;
}

.map-canvas {
	height: 400px;
	position: relative;
	width: 100%;
	z-index: 0;
	background:red;
}

.standort .content-text {
	padding-bottom:6em;
}

/*.standort .content-text .img-link {
	right:0;
	width:280px;
	height:280px;
	position:absolute;
}*/

/*NEU*/
.standort .content-text .img-link {
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
}

.img-link-wrapper {
    width:280px;
    height:280px;
    position:relative;
    float:left;
    margin: 0 50px 50px 0;
}

/*NEU ENDE*/

.standort .slide .img-link,
.standort .slide .img {
	max-width:280px;
	height:280px;
        width:100% !important;
}

.standort .slide .img-link:before {
	content:"";
}

.mitarbeiter-slider {
    height:510px;
}

.mitarbeiter-slider .owl-prev, 
.mitarbeiter-slider .owl-next {
	top:140px;
}

.mitarbeiter-slider .slider-text {
	padding:0;
}

.mitarbeiter-slider .img {
    transform: scale(1);
    background-size: cover !important;
    background-position: center center !important;
}

/* GOOGLE-MAPS */
.map {
	position: relative;
	z-index: 1;
        height:350px;
}

.map_canvas {
	color:#333;
	position:relative;
	width:100%;
	height:350px;
	z-index:0;
}

.map .content {
	width:190px;
	height:auto;
	line-height: normal;
	overflow: auto;
	z-index:-999;
}

.map_canvas h2 {
	line-height:1.3em;
	margin-bottom:0.5em;
}

.minimap {
	position: relative;
	z-index: 1;
	width:  200px;
	height: 200px;
}

.minimap_canvas {
	color:#333;
	position:relative;
	width:100%;
	height:200px;
	z-index:0;
}

/*--------------------------------------------------------*/
/*AZUBI*/
/*--------------------------------------------------------*/

#azubi-header {
    padding: 75px 0 0;
    position: absolute;
   top:0;
    width: 100%;
    z-index: 99;
}

#azubi-header .column-right {
    max-width:530px;
}

#azubi-header .bubble {
    color:#fff;
    margin:0 30px;
    padding:130px 45px 130px 55px;
    min-height: 360px;
    font-size:1.25em;
    overflow:hidden;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

#azubi-header .bx-viewport {
    width:530px;
    background: url('../graphik/bubble.png') no-repeat;
    background-size: 100% auto;
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none;
}

/*.bubble::before {
    content: "\f10d";
    font-family: 'FontAwesome';
    left: 0;
    position: absolute;
}

.bubble::after {
    content: "\f10e";
    font-family: 'FontAwesome';
    position: absolute;
    right: 0;
    bottom: 0;
}*/


.bubble p {
    font-size:1rem;
    padding-top:1em;
}

#azubi-header .slider-prev, 
#azubi-header .slider-next {
    top: 100%;
    background:transparent;
    height:auto;
    font-size:2.5em;
     display:block;
}

#azubi-header .bx-prev {
    left:115px;
}

#azubi-header .bx-next {
    left:155px;
    right:auto;
}

#azubi-header .slider-prev i, 
#azubi-header .slider-next i {
    font-size:2.5rem !important;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#azubi-header .bx-wrapper .bx-controls-direction a {
    height:auto;
    top :380px !important;
}

#azubi-header .controlBtn {
    display:none;
}


/*--------------------------------------------------------*/
/*GALERIE*/
/*--------------------------------------------------------*/

.galerie {
    margin: 0 -25px;
}

.galerie ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.galerie ul li {
    width:25%;
    margin:0;
}

.two-columns .galerie ul li {
	width:50%;
}

.galerie ul li .img-wrapper {
     height: 280px;
     width: 280px;
    overflow: hidden;
    margin: 0 auto 3em;
}

.galerie ul li div {
    align-items: center;
    background-position: center center !important;
    background-size: cover !important;
    display: flex;
    height: 280px;
    justify-content: center;
    width: 280px;
}
.galerie ul li {
    list-style-type: none;
}
.galerie div::after {
    align-items: center;
    border-radius: 100%;
    color: #fff;
    content: "\f002";
    font-family: 'FontAwesome';
    display: flex;
    font-size: 2.5em;
    height: 80px;
    opacity:0;
    justify-content: center;
    width: 80px;
}

.galerie ul li a {
    text-decoration: none;

}

.galerie ul li p,
.galerie ul li hr {
    max-width:280px;
    margin: 0 auto;
}

.galerie ul li hr {
    margin:2em auto;
}

.galerie li .img {
    transform: scale(1.1);
    transition-duration: 0.6s;
}

.galerie li:hover .img {
    transform: scale(1);
}

.galerie li:hover div::after {
    transition:opacity 0.3s ease; 
    opacity:1;
}

/*--------------------------------------------------------*/
/*FILTER ISOTOPE KATEGORIEN*/
/*--------------------------------------------------------*/

.filter-button-group {
    margin-bottom: 15px;
    text-align:center;
}

.filter-button-group button,
.submit-button {
    border:none;
    background:#e6e6e6;
    background: -moz-linear-gradient(top,  #999 0%, #666 100%);
    background: -webkit-linear-gradient(top,  #999 0%,#666 100%);
    background: linear-gradient(to bottom,  #999 0%,#666 100%);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    line-height: 40px;
    margin: 5px 2px 0 0;
    padding: 0 10px;
    width: auto;
    font-size: 18px;
    /*font-weight: 700;*/
    text-align: center;
    text-transform: uppercase;
}

.is-checked, .filter-button-group button:hover,
.submit-button:hover {
    background: #0071c5 !important;
    background: -moz-linear-gradient(top,  #0071c5 0%, #004d86 100%) !important;
    background: -webkit-linear-gradient(top,  #0071c5 0%,#004d86 100%) !important;
    background: linear-gradient(to bottom,  #0071c5 0%,#004d86 100%) !important;
    color: #fff;
}

.isotope-grid{
    margin: 80px -32px;
}

.isotope-item {
    margin:40px 32px;
    width:calc(50% - 64px) !important;
}

 .leistung.leistung:hover {
    background:transparent;
}

.leistung .icon-blue {
	float:right;
	margin-left:5px;
}

.leistung .jh-button {
	margin-left:0;
}

.jobbox .jh-button{margin-right:20px;}


/*--------------------------------------------------------*/
/*FOOTER*/
/*--------------------------------------------------------*/

footer {
    padding:40px 0;
    background: #0071c5;
    background: -moz-linear-gradient(top,  #0071c5 0%, #004d86 100%);
    background: -webkit-linear-gradient(top,  #0071c5 0%,#004d86 100%);
    background: linear-gradient(to bottom,  #0071c5 0%,#004d86 100%);
    color:#fff;
}

footer h2,
footer h3 {
    color:#fff;
}

footer .two-columns {
    justify-content:space-between;
}

footer .column-right {
    width:auto;
}

footer li {
    list-style-type: none;
    margin:0;
}

footer li h2 {
    margin:0;
}

footer a {
    text-decoration:none !important;
}
/*--------------------------------------------------------*/
/*CONTENT*/
/*--------------------------------------------------------*/
#content {
    background-color: #fff;
}



/*--------------------------------------------------------*/
/*RESPONSIVE MEDIA QUERIES*/
/*--------------------------------------------------------*/


@media screen and (max-width:1630px) {
        #flags {
        display:none;
    }
}


@media screen and (max-width:1330px) {
    .galerie {
    margin: 0;
    }
}


@media screen and (max-width:1320px) {
  .wrapper,
  .wrapper_ref {
    margin: 0 2%;
  }
}

@media screen and (max-width:1280px) {
  #azubi-header .column-left {
    display:none;
  }

    #azubi-header .column-right {
    width:100%;
    margin: 0 auto;
  }

  .galerie ul li {
    width:33.3%;
  }

    .isotope-grid {
        margin:80px -16px;
    }

    .isotope-item {
        margin:40px 16px;
        width:calc(50% - 33px) !important;
    }

}

@media screen and (max-width:1024px) {
    #logo {
        z-index:99999;
    }

    #hero-default,
    #hero-azubi {
        margin-top:66px;
    }

    #hero-azubi .img-azubi {
	height:433px;
    }

}

@media screen and (max-width:980px) {
    /*.triangle,
    .triangle-bg {
        display:none;
    }*/

    .standort:last-of-type {
	margin-bottom:0;
    }

    #hero-content .column-right,
    #hero-content .column-left {
        width:100%;
    }

    .home .content {
	width:100%;
        min-height:0;
        position:relative;
        top:0;
        padding:20px;
        margin-bottom:80px;
    }

    .content .column-left {
        width:100%;
    }

    #content {
        padding:520px 0;
    }

   .news-grid li {
    width:50%;
   }

   
   #hero {
    position:absolute;
   }

    #hero-content {
        position:relative;
    }

    #content {
        padding:75px 0;
    }

    .leistung {
        width:100%;
    }

    .leistung .column-left {
	width:100%;
	margin:0 0 20px 0;
     }

    .leistung .column-right {
	width:100%;
        margin:0;
     }

    .leistung .icon-blue {
        float:left;
    }

    .galerie ul li {
        width:50%;
    }

    .two-columns .galerie ul li {
        width:100%;
    }

    .galerie ul li .img-wrapper {
        margin-bottom:2em;
    }

    .leistung:last-of-type {
        margin-bottom:0;
    }

}


@media screen and (max-width:768px) {

.hero-page, .hero-page .layer {
	min-height:250px !important;
}

    section {
        padding:2em 0;
    }

    h1, h2, .hero-text h1 {
        font-size:1.5em;
        margin-bottom:1em;
    }

    h6 {
        font-size:3em;
    }

    .azubi #content h1,
    .azubi #content h2 {
        font-size:1.5em;
        margin-bottom:1.5em;
    }

	.column-left {
	    margin: 0 0 20px;
	    width: 100%;
	}
	.column-right {
	    width: 100%;
	}

    .slider-wrapper {
        padding: 0 90px;
    }

    .owl-prev {
        left:-65px;
    }

    .owl-next {
        right:-65px;
    }

    .news-grid-text .column-third,
    .news-grid-text i,
     .diagonal-line {
        display:none;
    }

    .news-grid-text .column-2third {
        width:100%;
    }

    .img-link {
        height:270px;
    }

    .owl-prev, .owl-next {
        top:140px;
    }

    .slider-wrapper .link-archiv {
        margin-right:90px;
        margin-left:20px;
    }

    #baustellen-grid h2,
    .slider-wrapper h2 {
        width: calc(100% - 60px);
    }

    .mitarbeiter-slider .slide .slider-text {
        width:280px;
        margin: 0 auto;
    }

    .mitarbeiter-slider .slide .img-link {
        margin: 0 auto;
        height:250px;
    }

    .mitarbeiter-slider .owl-prev, 
    .mitarbeiter-slider .owl-next {
        top:125px;
    }

    .isotope-grid {
        margin:80px 0;
    }

    .isotope-item {
        margin:40px 0;
        width:100% !important;
    }

    .standort .column-left {
        margin-right: 2%;
        width: 49%;
    }
    
    .standort .column-right {
        width: 49%;
    }

}

@media screen and (max-width:650px) {

    .galerie ul li {
        width:100%;
    }

    .galerie ul li .img-wrapper {
        margin-bottom:1em;
    }
}

@media screen and (max-width:580px) {

    #hero-azubi .img-azubi {
	height:250px;
    }

    #hero-mobile {
	background-image:url("/graphik/hero-mobile.jpg") !important;
	background-position:center center !important;
    }

    .news-grid li {
        width:100%;
   }

    .column-third,
    .column-2third {
        width:100%;
    }

    .einstieg-text .column-third {
        width: 31.3%;
    }

    .einstieg-text .column-2third {
        width: 62.6%;
    }

    .icon-blue {
        width: 40px !important;
    }

    .leistung .jh-button,
    .jh-button {
        width:auto !important;
    }

    .search .icon-blue {
        width:50px !important;
    }

    .column-third img {
        height: auto;
        width: 100%;
    }

    .column-third {
        margin-bottom:20px;
    }

    .standort .column-left {
         margin: 0 0 20px;
        width: 100%;
    }
    
     .standort .column-right {
        width: 100%;
    }

    .standort .img-link {
         left:0;
        right:auto;
    }

    #hero {
        display: none;
    }

    #hero-content {
        padding-top:20px;
    }

    .home .content {
        padding:0;  
	margin-bottom:40px;
    }

    #hero-mobile {
        display: block;
    }

    #content {
        padding:40px 0;
    }

    .hero-text h1 {
        color:rgba(0,100,174, 1);
        text-shadow:none;
    }

    .hero-text {
        color: #666;
        text-shadow:none;
        font-size:1em;
    }

    .slider-content {
        height:auto;
    }

     #azubi-header  { 
        position:relative;
        padding:20px 0;
    }

    #azubi-header .bx-viewport {
        background:transparent;

    }

    #azubi-header .bubble {
        color:rgba(0,100,174, 1);
        padding:0;
        margin:0;
        display:block;
         min-height:0;
    }

    #azubi-header .bx-wrapper .bx-controls-direction a {
        top:0 !important;
    }

    #azubi-header .bx-prev {
        left:0;
    }

    #azubi-header .bx-next {
        right:0;
        left:auto;
    }

     #azubi-header .slider-prev i, 
     #azubi-header .slider-next i {
        color:rgba(0,100,174, 1);
    }

    .azubi-slider > li {
        margin:0;
        padding: 0 40px;
    }

    .headline-blue::after,
    .headline-blue::before {
        display:none;
    }

    .headline-blue {
        line-height:1.5em;

    }

    .standort .content-text .img-link {
        position:relative;
    }

    .standort .img-link .img {
        top:0;
        width:280px;
        height:280px;
        position:relative;
        transform: scale(1);
    }

    .standort .img-link::before {
        top:145px;
	left:140px;
     }

    .standort .content-text {
        padding-bottom:3em;
    }

}

@media screen and (max-width:440px) {

    .slider-wrapper {
        padding: 0 50px;
    }

    .owl-prev {
        left:-45px;
        font-size:2em;
    }

    .owl-next {
        right:-45px;
        font-size:2em;font-size:2em;
    }

    #azubi-header .bubble {
        font-size:1em;
    }

}

video { 
   width:100%;
   max-width:700px;
   height:auto;
}

.jubilaeum{position:absolute; top:5px; left:60px; width:60px;}
.jubilaeum img{width:100%; height:auto;}
@media screen and (max-width:1600px) {
	.jubilaeum{left:20px;}
}
@media screen and (max-width:1470px) {
	.jubilaeum{display:none;}
}