@import url("back2top.css");
@import url("nav.css");
@import url("content.css");
@import url("google-maps.css");
@import url("footer.css");

/* alfa-slab-one-regular - latin */
@font-face {
  font-family: 'Alfa Slab One';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/alfaslabone/alfa-slab-one-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/alfaslabone/alfa-slab-one-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/alfaslabone/alfa-slab-one-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/alfaslabone/alfa-slab-one-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/alfaslabone/alfa-slab-one-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/alfaslabone/alfa-slab-one-v17-latin-regular.svg#AlfaSlabOne') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-300 - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/sourcesansprosource-sans-pro-v21-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-300.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-regular - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/sourcesansprosource-sans-pro-v21-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-700 - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/sourcesansprosource-sans-pro-v21-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/sourcesansprosource-sans-pro-v21-latin-700.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* Maps */
#maps {
	position: relative;
	text-align: center;
}
#maps.loaded::before {
	display: none;
}
#maps::before {
    display: flex;
    position: absolute;
    align-content: center;
    align-items: center;
    justify-content: center;
    content: "Sie müssen der Datenschutzerklärung von Google zustimmen, um Google Maps zu laden.";
	color: #333;
    width: 100%;
    height: 100%;
    z-index: 25;
    font-size: 1em;
    background: url('../img/maps-bg.jpg') center center no-repeat;
	background-size: cover;
}

/* --------------------------------

Primary style

-------------------------------- */
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  font-family: "Source Sans Pro", sans-serif;
  color: rgba(2, 23, 37, 0.7);
  background: url(../img/background.png) repeat fixed;
}
body.overflow-hidden {
  overflow: hidden;
}

li.navi a {
	color: white;
	text-decoration: none;
}
li.navi a:hover {
	opacity: 1;
}

a {
	color: #1d71b8;
  	text-decoration: underline;
}
a:hover {
	opacity: 0.7;
}
strong {
	font-weight: 700;
}


/* --------------------------------

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  width: 100%;
  /*max-width: 1180px;*/
  background: #fff;
  margin: 0 auto;
}


/* --------------------------------

Main components

-------------------------------- */
html, body {
  height: 100%;
}
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cd-header {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(2, 23, 37, 0.75) !important;
  height: 50px;
  width: 100%;
  z-index: 3;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media only screen and (min-width: 768px) {
  .cd-header {
    height: 80px;
    background: transparent;
    box-shadow: none;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-header {
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .cd-header.is-fixed {
    position: fixed;
    top: -80px;
    background-color: rgba(2, 23, 37, 0.96);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
  }
  .cd-header.is-visible {
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  .cd-header.menu-is-open {
    background-color: rgba(2, 23, 37, 0.96) !important;
  }
}

.cd-logo {
  display: block;
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: .875em;
}
.cd-logo img {
  display: block;
}
@media only screen and (min-width: 768px) {
  .cd-logo {
    left: 2.6em;
  }
}

.cd-intro {
  position: relative;
  height: 90vh;
  background: url("../img/cd-background-img.jpg") no-repeat center center;
  background-size: cover;
  z-index: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media only screen and (min-width: 1170px) {
  .cd-intro {
    height: 90vh;
  }
}

.cd-intro div.logo_start {
  display: inline-block;
  position: absolute;
  width: 300px; height: 300px;
  margin-left: -150px;
  margin-top: -150px;
  background: url(../svg/logo_rossmeier.svg);
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
}
@media only screen and (min-width: 1170px) {
  .cd-intro div.logo_start {
    width: 400px; height: 400px;
    margin-left: -200px;
    margin-top: -200px;
  }
}
@media only screen and (max-width: 672px) {
  .cd-intro div.logo_start {
    width: 200px; height: 200px;
    margin-left: -100px;
    margin-top: -100px;
  }
}

.cd-main-content {
  position: relative;
  z-index: 1;
}
.cd-main-content p {
  line-height: 1.6;
  margin: 2em 0;
}
@media only screen and (min-width: 1170px) {
  .cd-main-content p {
    font-size: 20px;
    font-size: 1.25rem;
  }
}
