/* ==========================================================================
   Schriften
   ========================================================================== */

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('../fonts/open-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v15-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v15-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url('../fonts/open-sans-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v15-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v15-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-condensed-300 - latin */
@font-face {
  font-family: 'Open Sans Condensed';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-condensed-v12-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Condensed Light'), local('OpenSansCondensed-Light'),
       url('../fonts/open-sans-condensed-v12-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-condensed-v12-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-condensed-v12-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-condensed-v12-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-condensed-v12-latin-300.svg#OpenSansCondensed') format('svg'); /* Legacy iOS */
}

/* open-sans-condensed-700 - latin */
@font-face {
  font-family: 'Open Sans Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-condensed-v12-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Condensed Bold'), local('OpenSansCondensed-Bold'),
       url('../fonts/open-sans-condensed-v12-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-condensed-v12-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-condensed-v12-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-condensed-v12-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-condensed-v12-latin-700.svg#OpenSansCondensed') format('svg'); /* Legacy iOS */
}


/* ==========================================================================
   Standards
   ========================================================================== */

html, body {
  font-family: 'Open Sans', Arial, sans-serif;
	height: 100%;
  overflow: hidden; /* für preloader, wird über js entfernt wenn seite geladen */
}

html {
  background: url(../img/footer.jpg) no-repeat fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* Fix für iPhone, Phone verpixeltes HG Bild */
@media (max-width: 580px) {
  html {
    background-size: 100% 580px;
    background-position: bottom;
  }
}

@media (max-width: 960px) {
  html {
    background-size: 100% 960px;
    background-position: bottom;
  }
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'Open Sans', Arial, sans-serif;
	color: #00314f;
  margin-bottom: 22px;
}

@media (max-width: 576px) {
  h2 {font-size: 1.4em;}
  h4 {font-size: 1.4em;}
}

p {
	font-family: 'Open Sans', Arial, sans-serif;
	color: #00314f;
  line-height: 1.7em;
}

p.lead {line-height: 1.5em;}

/* ----------- LINKS ------------- */

a {
	color: #c5dcea;
	/*transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;*/
}

a:hover {
  color: #fff;
  text-decoration: none;
}

a:focus {
  	outline: none;
  	outline: 0px auto -webkit-focus-ring-color;
}

::selection {
  	background: #0069a9; /* WebKit/Blink Browsers */
  	color: #fff;
}

::-moz-selection {
  	background: #0069a9; /* Gecko Browsers */
  	color: #fff;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.vertical-center {
  min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
  min-height: 100vh; /* These two lines are counted as one :-)       */
  display: flex;
  align-items: center;
}

.flex-center-vertically {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 800px;
}

.text-blau {color: #0069a9;}
.hg-blau {background-color: #0069a9;}

.bg-dark {
  background-color: #00314f !important;
}

.hg-blau-transparent {
  background: rgba(0, 105, 169, 0.8);
}

.hg-dunkelblau-transparent {
  background: rgba(6, 70, 104, 0.8);
}

.logo {
  position: absolute;
  top: 4px;
  max-width: 116px;
  z-index: 9999;
  transition: all .2s ease-in-out;
}

.logo:hover {transform: scale(1.05);}

@media (max-width: 998px) {
  .logo {
    position: relative;
    max-width: 100px;
  }
}

@media (max-width: 580px) {
  .logo {
    margin-left: 10px;
  }
}

.box {padding: 12px;}

@media (max-width: 768px) {
  .box{margin-bottom: 10px;}
}

.box h1, 
.box h2, 
.box h3, 
.box h4,
.box h5,
.box h6,
.box ul,
.box p {color: #fff;}

.box h6 {font-size: 0.9em; font-weight: bold;}
.box p, .box ul {font-size: 0.8em; line-height: 1.4em;}


/* ==========================================================================
   Navigation
   ========================================================================== */

.topbar {
  padding: 10px 0;
  background: #ccc;
  background-color: #0069a9;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8em;
  max-height: 40px;
}

.topbar ul li a {
  color: #c5dcea; 
  text-decoration: none;
}

.topbar ul li a:hover {
  color: #fff; 
}

@media (min-width: 767px) {
  .topbar ul {margin-right: 32px;}
}

@media (max-width: 580px) {
  .topbar ul {margin-right: 10px;}
}

/* Scrollbar in Mobile Nav entfernen */
.navbar-collapse.in {
  overflow: hidden;
  max-height: none !important;
  height: auto !important;
}

.navbar {padding: 0;}

.nav-item {margin: 0 10px;}

@media (max-width: 998px) {
  .nav-item {
    margin: 0;
    font-size: 0.9em;
  }
}

@media (max-width: 767px) {
  .nav-item {
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-size: 1.2em;
  }
}

.nav-item.active {
  -webkit-box-shadow: inset 0 -8px 0 -4px #0069a9;
  -moz-box-shadow: inset 0 -8px 0 -4px #0069a9;
  box-shadow: inset 0 -8px 0 -4px #0069a9;
}

.nav-link {
  padding: 20px 0;
  color: #0069a9;
  font-weight: bold;
}

.nav-link:hover {
  color: #fff;
  background: #0069a9;
}

.dropdown-menu {
  padding: 12px 0;
  margin: 0;
  font-size: 0.9em;
  color: #fff;
  text-align: left;
  list-style: none;
  background-color: #0069a9;
  background-clip: padding-box;
  border: none;
  border-radius: 0;
  min-width: 260px;
}

.dropdown-item {
  display: block;
  padding: 6px 20px;
  clear: both;
  font-weight: 400;
  color: #c5dcea;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  font-weight: bold;
}

.dropdown-item.active {
  background: none;
  color: #fff;
}

@media (max-width: 767px) {
  .dropdown-item {
    text-align: center;
  }
}

.dropdown-item:hover, .dropdown-item:focus {
  color: #fff;
  text-decoration: none;
  background-color: transparent;
}

.dropdown.active.open > a, 
.dropdown.open > a
{
  color: #fff;
  background-color: #0069a9;
  border-color: #fff;
}

.caret-up {
  width: 0; 
  height: 0; 
  border-left: 4px solid rgba(0, 0, 0, 0);
  border-right: 4px solid rgba(0, 0, 0, 0);
  border-bottom: 4px solid;
  display: inline-block;
  margin-left: 2px;
  vertical-align: middle;
}

.sticky.is-sticky {
  background: #fff;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 99999;
  width: 100%;
}

/*.darkness {
    background: rgba(0, 0, 0, 0.5);
    display: none;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 5;
}*/

/*nav {z-index: 9999;}*/

.breadcrumb {
  background: none;
  font-size: 0.9em;
  padding-left: 0;
  padding-bottom: 0;
}

.breadcrumb a {color: #0069a9;}
.breadcrumb a:hover {color: #5699c2;}

/* ==========================================================================
   Sections
   ========================================================================== */

header {
  height: 100%;
  background: #0068a8
  /* linear-gradient(
      rgba(255, 255, 255, 0),
      rgba(0, 105, 169, 0.8)
  ),*/
  url(../img/header.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  text-align: center;
  -moz-transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  background-position: 50% 0;
  background-repeat: no-repeat;
}

header .caption {margin-top: 100px;}

header h1,
header h2,
.header-s h1, 
.header-s h2 {
  font-family: 'Open Sans Condensed';
  color: #fff;
  text-shadow: 2px 2px 10px #00273f;
  text-align: center;
}

header h1, .header-s h1 {font-size: 4.5em;}

@media (max-width: 1180px) {
  header {max-height: 700px;}
  header h1, .header-s h1 {font-size: 3.5em;}
  header h2, .header-s h2 {font-size: 1.8em;}
}

@media (max-width: 998px) {
  header h1, .header-s h1 {font-size: 2.5em;}
  header h2, .header-s h2 {font-size: 1.6em;}
}

.header-s {
  height: 320px;
  background-repeat: no-repeat;
  padding: 66px 0 0 0;
  background: 
    linear-gradient(
      rgba(0, 105, 169, 0.6), 
      rgba(0, 105, 169, 0.6)
    ),
    /* bottom, image */
    url(../img/header.jpg) fixed;
    -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  text-align: center;
}

@media (max-width: 998px) {
  .header-s {height: 200px;}
}

@media (max-width: 576px) {
  .header-s {height: auto; background-attachment: scroll;}
}

section {
	padding: 60px 0 60px 0;
}

@media (max-width: 998px) {
  section#content h1 {
    font-size: 2em;
  }
}

section#features {}

section#content p a {color: #0069a9;}
section#content p a:hover {color: #000000;}

section#zitat {
  background: url(../img/header.jpg) center bottom no-repeat fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* Fix für iPhone, Phone verpixeltes HG Bild */
@media (max-width: 580px) {
  section#zitat {
    background-size: 100% 580px;
    background-position: bottom;
  }
}

@media (max-width: 960px) {
  section#zitat {
    background-size: 100% 960px;
    background-position: bottom;
  }
}

section#zitat h1,
section#zitat p {color:#fff;}

@media (max-width: 998px) {
  section#zitat h1 {font-size: 2em;}
}

@media (max-width: 580px) {
  section#zitat h1 {font-size: 1.6em;}
}

footer .svg-logo {max-width: 140px; height: auto;}
footer .svg-logo path {fill: #fff !important;}

@media (min-width: 980px) {
  footer h2 {float: left;}
  footer .box .btn {float: right;}
}

@media (max-width: 980px) {
  footer h2 {text-align: center;}
  footer .box .btn {display: block;}
}

/* ----------- Cards Leistungen ------------- */

.icon-leistung {max-width: 120px; height: auto;}

.card {transition:0.5s;}

@media (max-width: 580px) {
  .card {margin-bottom: 10px;}
}

.card:hover {
  box-shadow:0 30px 70px rgba(0,0,0,.2); 
}

.card h5 {
  font-family: 'Open Sans Condensed';
  font-weight: bold;
}

p.card-text {font-size: 0.9em;}

/* ----------- RGB Overlay ------------- */

section#overlay {
	background: 
    linear-gradient(
      rgba(40, 0, 0, 0.55), 
      rgba(40, 0, 0, 0.55)
    ),
    /* bottom, image */
    /*url(../img/bg.jpg);
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	text-align: center;*/
}

/* ----------- PNG Overlay (für Muster z.B.) ------------- */

section#png-overlay {
  position: relative;
  background: url(../img/bg.jpg) center center;
  background-attachment: fixed;
}

section#png-overlay:before,
section#png-overlay:after {
    content: ''; /* you have to define that to make the pseudo elements work */
    position: absolute;
    top: 0;
}

section#png-overlay:before {
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/dots.png) repeat;
    opacity: 0.8;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-outline-light {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
}

.btn-outline-light:hover {
    color: #fff;
    background-color: #0069a9;
    border-color: #0069a9;
}

.btn-outline-dark {
    color: #00314f;
    background-color: transparent;
    border-color: #00314f;
}

.btn-outline-dark:hover {
    color: #fff !important;
    background-color: #0069a9;
    border-color: #0069a9;
}

.back-to-top {
   background: #0069a9;
   background: rgba(0,105,169,0.6);
   position: fixed;
   color: #fff;
   bottom: 20px;
   right: 20px;
   padding: 10px 20px 10px 20px;
   transition: all 1s; /* explorer 10 */
  -webkit-transition: all 1s; /* chrome & safari */
  -moz-transition: all 1s; /* firefox */
  -o-transition: all 1s; /* opera */
  font-size: 1.9em;
}

.back-to-top:hover {
  background: #004286;
  background: rgba(11,47,85,1);
}

.back-to-top:hover,
.back-to-top:active,
.back-to-top:focus {color:#fff;}

.btn-down  {
  background: #fff;
  width: 88px; 
  height: 88px; 
  border-radius: 50%;
  margin: 0 auto; 
  display: block; 
  position: absolute; 
  right: 0;
  left: 0; 
  margin-top: -55px;
  padding: 30px 0 0 0;
}

.btn-down a {color: #717070;}
.btn-down a:hover {color: #9f9f9f;}

/* ======================= Scroll Icon ============================= */

.icon-scroll,
.icon-scroll:before {
  position: absolute;
  left: 50%;
  z-index: 9999;
}

.icon-scroll {
  width: 40px;
  height: 70px;
  margin-left: -20px;
  top: 80%;
  margin-top: -35px;
  box-shadow: inset 0 0 0 1px #fff;
  border-radius: 25px;
}

.icon-scroll:before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
          animation-name: scroll;
}

@media (max-width: 1000px) {
  .icon-scroll {display: none; visibility: hidden;}
}

@-webkit-keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(46px);
            transform: translateY(46px);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(46px);
            transform: translateY(46px);
  }
}

/* Cookie Hinweis */
.cc-message {font-size: 0.8em;}


/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0069a9;
  /* change if the mask should have another color then white */
  z-index: 999999;
  /* makes sure it stays on top */
}

#status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  /* centers the loading animation horizontally one the screen */
  top: 50%;
  /* centers the loading animation vertically one the screen */
  background-image: url(../img/loader.gif);
  /* path to your loading animation */
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
  /* is width and height divided by two */
}