/*!
 * Start Bootstrap - Scrolling Nav (https://startbootstrap.com/template-overviews/scrolling-nav)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-scrolling-nav/blob/master/LICENSE)
 */


body {
  color: #555;
  background-color: #FFF;
  font-family:  'Quicksand', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

hr {
  border-top: 2px solid #ffbb3c;
  text-align: left;
  margin: 1rem 0 2rem;
}

h1, h2, h3, h4, h5 {
  font-weight: 500;
}

h2, h3 {
  font-size: 2.5rem;
}

@media (max-width: 575.98px) {
  h1, h2, h3, h4, h5 {
    font-size: 1.25rem;
  }
}

a, a:visited {
  color: #ffbb3c;
}

a:hover, a:focus {
  color: #ffbb3c;
  text-decoration: none;
}

.orange {
  color: #ff7300;
}

.top img {
  width: 200px;
  height: auto;
}

.lang {
  padding-top: 5px;
  color: #b7b7b7;
  font-size: .75rem
}

.lang a, .lang a:visited {
  color: #4b4b4b
}

nav {
  padding: 1rem;
  position: fixed;
  top: 0;
  z-index: 5000;
  width: 100%;
  background: white;
}

nav .btn-main {
  color: #004a69;
  background-color: #ffbb3c;
  border-color: #ffbb3c;
  padding: 1rem 2rem;
  margin: 1rem 0;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: .3rem;
    }


nav .btn-main:hover, nav .btn-main:visited, nav .btn-main:active {
  color: #004a69;
}

.ueber {
  font-size: 24px;
  font-weight: 700;
  padding-top: 10px;
  color: #ff7300;
}

@media (max-width: 767.99px) {
  nav {
    padding: 1rem 0.1rem
  }
    nav .btn-main {
        font-size: .75rem;
        padding: .5rem 1rem
    }
}

@media (max-width: 575.98px) {
  .ueber {
    font-size: 16px;
    padding-top: 7px;
  }
    nav .btn-main {
  display: none;
    }
}

.desk {
  display:contents;
}

.mobi {
  display: none;
}

@media (max-width: 575.98px) {
  .desk {
    display:none;
  }
  
  .mobi {
    display: contents;
  }
}

.fld-li {
  padding: 2rem;
  background: #fff0d3;
}

.fld-li h3 {
  font-size: 1.5rem;
}

.fld-li img {
  float: left;
  margin-right: 40px;
}

@media (max-width: 575.98px) {
  .fld-li {
    padding: 1rem;
  }
  
  .fld-li h3 {
    font-size: 1.25rem;
  }
}

.btn-main {
  color: #004a69;
  background-color: #ffbb3c;
  border-color: #ffbb3c;
  padding: 1rem 2rem;
  margin: 1rem 0;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: .3rem;
}

.btn-main:hover {
  color: #004a69;
  -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
  -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
}

.btn-main:visited, .btn-main:active {
  color: #004a69;
}


.btn-li {
  background-color: #005b82;
  border-color: #005b82;
    color: #fff;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.btn-li:hover {
    color: #fff;
  -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
  -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
}
.btn-li:visited, .btn-li:active {
  color: #fff;
}

.phonelink a {
  font-size: 20px;
  position: fixed;
  bottom: 20px;
  left: 90px;
  width: 50px;
	height: 50px;
	border-radius: 10px;
	margin-right: 7px; /*space between*/
  display: flex;
  align-items: flex-start;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  background: #ffbb3c;
  z-index: 5000;
}

.maillink a {
  font-size: 20px;
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
	height: 50px;
	border-radius: 10px;
	margin-right: 7px; /*space between*/
    display: flex;
    align-items: flex-start;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
  background: #ffbb3c;
  z-index: 5000;
}

.whatslink a {
  font-size: 28px;
  position: fixed;
  bottom: 20px;
  right: 160px;
  width: 50px;
	height: 50px;
	border-radius: 10px;
	margin-right: 7px; /*space between*/
    display: flex;
    align-items: flex-start;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
  background: #fff;
  z-index: 5000;
  text-align: center;
}

.phonelink a i, .maillink a i, .whatslink a i {
  align-self:center;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  margin: 0 auto;
}

.phonelink a i {
  color: #004a69;
}

.maillink a i, .whatslink a i {
	color: #004a69
}

.phonelink a i::before, .maillink a i::before, .whatslink a i::before {
  display:inline-block;
  text-decoration:none;
}

.phonelink a, .maillink a, .whatslink a {
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.36);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.36);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.36);
}

header {
  min-height: 100vh;
  background-image: url("../img/ertragsretter_header.jpg");
  background-repeat: no-repeat;
    background-position: center;
  background-size: cover;
}
@media (max-width: 767.98px) {
    header {
      padding: 40% 0 100px;
    }
}

header .intro {
  margin-top: 40%;
  padding: 50px;
  background-color: #005b82;
    color: #fff;
  width: 90%;
}

header .intro h1 {
  font-size: 2rem;
}

header .intro p {
  font-size: 1.25em;
}

@media (max-width: 1499.98px) {
  header .intro {
    margin-top: 40%;
    padding: 50px;
    width: 90%;
  }
  header .intro h1 {
    font-size: 2rem;
  }
  header {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
  }
  header .intro p {
    font-size: 1.25em;
    width: 90%;
  }
}

@media (max-width: 991.98px) {
  header .intro {
    margin-top: 35%;
    padding: 30px;
    width: 90%;
  }
  header .intro h1 {
    font-size: 2rem;
  }
  header {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
  }
  header .intro p {
    font-size: 1.25em;
    width: 90%;
  }
}

@media (max-width: 767.98px) {
  header .intro {
    background: #005b82;
    margin-top: 35%;
    padding: 30px;
    width: 90%;
  }
  header .intro h1 {
    font-size: 2rem;
  }
  header {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
  }
  header .intro p {
    font-size: 1.25em;
    width: 90%;
  }
}

@media (max-width: 575.98px) {
    header .intro {
      width: 95%;
      position: relative;
      top: 20%;
      left: 5%;
    }
    header h1 {
      font-size: 1.25rem;
    }
    header {
      min-height: 100vh;
      padding: 30px 0 100px;
      background: #005b82;
      color: #fff;
      background-image: none;
      background-repeat: no-repeat;
      background-size: cover;
    }
    header .intro p {
      font-size: 1.25em;
      width: 95%;
    }

    .lead  {
      font-size: 1rem;
    }
}

section {
  padding: 150px 0;
}
@media (max-width: 991.98px) {
  section {
  padding: 150px 0
  }
}
#solarvideo {  
  min-height: 100vh;
}
#reparatur {
  background: #fff0d3;
  min-height: 100vh;
}

#solargesetz a {
  color: #fff;
  font-weight: 700;
}

#photovoltaik {  
  min-height: 100vh;
}


#kontakt {
  min-height: 100vh;
  background-image: url("../img/ertragsretter_kontakt.jpg");
  background-repeat: no-repeat;
    background-position: center;
  background-size: cover;
}
@media (max-width: 767.98px) {
    #kontakt {
      padding: 5% 0 100px;
    }
}

#kontakt .intro {
  margin-top: 5%;
  padding: 50px;
  background-color: #005b82;
    color: #fff;
  width: 90%;
}

#kontakt .intro h1 {
  font-size: 2rem;
}

#kontakt .intro p {
  font-size: 1.25em;
}

@media (max-width: 1499.98px) {
  #kontakt .intro {
    margin-top: 5%;
    padding: 50px;
    width: 90%;
  }
  #kontakt .intro h1 {
    font-size: 2rem;
  }
  #kontakt {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #kontakt .intro p {
    font-size: 1.25em;
    width: 90%;
  }
}

@media (max-width: 991.98px) {
  #kontakt .intro {
    margin-top: 5%;
    padding: 30px;
    width: 90%;
  }
  #kontakt .intro h1 {
    font-size: 2rem;
  }
  #kontakt {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #kontakt .intro p {
    font-size: 1.25em;
    width: 90%;
  }
}

@media (max-width: 767.98px) {
  #kontakt .intro {
    background: #005b82;
    margin-top: 5%;
    padding: 30px;
    width: 90%;
  }
  #kontakt .intro h1 {
    font-size: 2rem;
  }
  #kontakt {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #kontakt .intro p {
    font-size: 1.25em;
    width: 90%;
  }
}

@media (max-width: 575.98px) {
    #kontakt .intro {
      width: 95%;
      position: relative;
      top: 20%;
      left: 5%;
    }
    #kontakt h1 {
      font-size: 1.75rem;
    }
    #kontakt {
      min-height: 100vh;
      padding: 30px 0 100px;
      background: #005b82;
      color: #fff;
      background-image: none;
      background-repeat: no-repeat;
      background-size: cover;
    }
    #kontakt .intro p {
      font-size: 1.25em;
      width: 95%;
    }

    .lead  {
      font-size: 1rem;
    }
}


#kontakt a {
  font-size: 1.25em;
}

@media (max-width: 575.98px) {  

#kontakt a {
  font-size: 1.25em;
  }
}

#kontakt i {
  margin-right: .5em;
}

#kontakt2 {
    background-color: #005b82;
    padding: 50px;
    text-align: center
}


.headpic {
  width: 400px;
  height: auto;
}

.card {
  border-width: 0;
  font-size: 1.25rem;
}

@media (max-width: 575.98px) {
  .card  {
    font-size: 1rem;
  }
}

#faqs {
  background: #E8E1D7;
  min-height: 100vh;
}

.plus {
  font-size: 1.5rem;
  line-height: 1rem;
  color: #919191;
}

footer {
  text-align: center;
  font-size: 80%;
  padding-bottom: 50px;
}

footer a, footer a:visited {
  color: #4b4b4b;
  margin-left: 0.5rem;
  padding-bottom: 100px
}

@media(max-width:768px){
  .row{
    margin:0 !important;
  }
}

.imp h1, .imp h2, .imp h3, .imp h4, .imp h5 {
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: none;
} 

  form {
   width: 100%;
   padding: 10px;
   margin: Auto;
  }

  span.pflichtfeld {
   font-size: 0.90rem;
   color: Red;
  }

  span.hilfetext {
   font-family: Arial, Tahoma, Sans-Serif;
   font-size: 0.80rem;
   font-style: Oblique;
   color: #009500;
  }

label {
    display: inline;
}