@charset "utf-8";

/*
* CSS-Design
* THOM THUT Fahrschule
* Webauftritt
*/

/* Reset: Alle Abstände auf 0 setzten. */
*{
  margin: 0;
  padding: 0;
  -mozbox-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

img{
  max-width: 100%;
}

/* Inhalt über volle Browser höhe */
html {
position: relative;
min-height: 100%;
}

/* * * * * * * * * * * Grundeinstellungen * * * * * * * * * * */
body{
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 21px;
  font-size: 15px;
  background: #1e1f1f;
  color: #eee;
  margin-bottom: 200px;
}

.wrapper{
  max-width:1200px;
  margin: 0 auto;
  padding: 0 10px;
  /* Kind-Elemente einschliessen.*/
  overflow: hidden;
}

header{
        /* Hintergrundbild Teaser*/
        background-image: url(../images/titelbild.jpg);
        background-repeat: no-repeat;
        background-position:center;
        margin-bottom: 25px;
        color: #333;
        text-align: center;
        padding: 25px;
}

#header{
  /* Abstand nach oben und unten für Header-Bereich*/
  padding: 15px 0 10px;
}

footer{
  /* Schrift im Footer etwas kleiner, als restliche Schrift */
  font-size: 14px;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 200px;
  width: 100%;
}

/* Raster * * * * * * * * */

/* Jede Reihe soll auf einer neuen Zeile beginnen */
.row{
width: 100%;
float: left;
}

.column {
float: left;
/*background: #555;*/
padding: 20px;
margin: 25px 0 25px 2%;
}

/* Abstand nach links bei der ersten Spalate entfernen */
.column:first-child {
margin-left: 0;
}

.full {
width: 100%;
}

.half {
width: 49%;
}

.third {
width: 32%;
}

.two-thirds {
width: 66%;
}

.fourth {
width: 23.5%;
}

.three-fourth {
width:74.5%;
}

/* * * * * * * * * * * Navigation * * * * * * * * * * */
#mobile-menu-btn{
display: none;
}

ul#navigation{
  float: right;
  margin: 12px 10px 0 0;
}

/* Elemente der Liste */
ul#navigation li{
  display: inline;
  margin: 0 0 0 40px;
  list-style: none;
}

/* Punkte in Liste entfernen für Navigation */
ul#navigation li::before{
content: "";
}

/* Links in der Liste */
ul#navigation li a{
  color: #eee;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 300;
  font-family: 'Prompt', Arial, sans-serif;
}

/* Hover für Links in der Liste */
ul#navigation li a:hover, ul#navigation li a.active{
  color: #fdd208;
}

/* * * * * * * * * * * Typografie * * * * * * * * * * */

/* Darstellung der Titel sofern nichts anderes definiert: */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Prompt', Arial, sans-serif;
  font-weight: 300;
  margin: 0 0 10px 0;
  text-align: left;
}

.titel_Unterseiten{
  /* Abstände */
  padding: 30px 0 50px;
  margin: 60px 0px 0px 0px;
}

/* Titel h-h6 */
h1{
  font-size: 45px;
  line-height: 73px;
  /* Text einmitten */
  text-align: center;
  /* Gelb */
  color:#fdd208;
}

h2{
  font-size: 27px;
  line-height: 50px;
}

h3{
  font-size: 22px;
  line-height: 50px;
}

h4{
  font-size: 20px;
  line-height: 48px;
}

h5{
  font-size: 19px;
  line-height: 47px;
}

h6{
  font-size: 18px;
  line-height: 46px;
}

/* Titel h1 im Teaser */
#startseite_h1{
  font-weight: 700;
  text-align: center;
  font-size: 80px;
  line-height: 20px;
  margin: 80px 0px 0px 0px;
  /* Gelb */
  color:#fdd208;
}

/* Titel h2 im Teaser (etwas grösser als sonst und mittig)*/

#startseite_h2{
  font-size: 35px;
  text-align: center;
  margin: 35px 0 175px 0;
  color: #1e1f1f;
  line-height: 55px;
}

/* Titel h2 und p in 3-Spalten-Teaser auf Startseite */
#drei_teaser h2{
  font-family: 'Prompt', Arial, sans-serif;
  font-weight: 300;
  font-size: 27px;
  text-align: center;
}

#drei_teaser p{
  margin: 0 0 20px 0;
}

/* * * * * * * * * * * Links und Buttons * * * * * * * * * * */
a{
  /* Gelb */
  color: #fdd208;
  text-decoration: none;
}

a:hover{
  /* Grau */
  color: #959595;
}

/* Gelber Ghost Button */
.button{
  background-color: Transparent;
  border: 2px solid #fdd208;
  text-decoration: none;
  font-family: 'Prompt', Arial, sans-serif;
  /* Gelb */
  color: #fdd208;
  padding: 13px 0px 14px 0px;
  font-size: 18px;
  text-align: center;
  /* gesamte Breite der Spalte einnehmen */
  display: inline-block;
  width:100%;
}

.button_unterseite{
  background-color: Transparent;
  border: 2px solid #fdd208;
  text-decoration: none;
  font-family: 'Prompt', Arial, sans-serif;
  /* Gelb */
  color: #fdd208;
  padding: 13px 30px 14px 30px;
  margin: 20px 0px 50px 0px;
  font-size: 18px;
  text-align: center;
  display: inline-block
}

/* Hover Zustand Button */
.button_unterseite:hover{
  background: #fdd208;
  color: #1e1f1f;
}

/* Gelber Ghost Button grösser */
.gross{
  font-size: 25px;
  width: 250px;
  padding: 15px 0px 16px 0px;
  margin: 0px 0px 50px 0px;
  /* Gelb */
  border: 4px solid #fdd208;
}

/* Hover Zustand Button */
.button:hover{
  background: #fdd208;
  color: #1e1f1f;
}

/* * * * * * * * * * * Weitere Elemente * * * * * * * * * * */

p{
  margin: 5px 0 10px 0;
}
strong {
  font-weight: 700;
}

/* * * * * * * * * * * Listen * * * * * * * * * * */
ul, ol{
  margin: 0 0 12px 20px;
}

ul, ol{
  list-style: none;
}

ul li::before {
  content: ">";
  color: #fdd208;
  display: inline-block;
  width: 1.5em;
  margin-left: -1.5em;
  line-height: 2em;
}

ol {
  list-style: counter-reset: li}

ol li::before {
  content: "."counter(li);
  color: #fdd208;
  display: inline-block;
  width: 1.5em;
  margin-left: -2em;
  margin-right: 1em;
  text-align: right;
  line-height: 2em;
  direction: rtl}

li {counter-increment: li}

/* * * * * * * * * * * Tabelle * * * * * * * * * * */
table, tr, th, td, thead, tbody{
  border-collapse: collapse;
}

table{
  margin: 12px 0 24px;
}

thead tr{
  background: #fdd208;
  color: #1e1f1f;
}

th{
  padding: 3px 0;
}

td{
  border-top: 4px solid #1e1f1f;
  padding: 3px 6px;
b order-right: 1px solid #1e1f1f
}

tbody tr:nth-child(even) {
  background-color: #e6e6e6;
  color: #1e1f1f;
}

tbody tr:nth-child(odd) {
  background-color: #c2c2c2;
  color: #1e1f1f;
}

/* Darstellung Zitat */
.zitat{
  font-family: 'Shadows Into Light', cursive;
  font-size: 30px;
  line-height: 44px;
  text-align: center;
  margin: 0px 200px;
}

blockquote{
  margin: 12px 0 24px 25px;
  font-size: 18px;
  line-height: 35px;
  font-style: italic;
  color: #999;
}

blockquote:before {
content: '« ';
color: #fdd208;
font-size:35px;
}

blockquote:after{
content: ' »';
color: #fdd208;
font-size:35px;
}

/* Icon einmitten*/
.icon_mittig{
  display: block;
  margin: 30px auto;
}

/* Trennlinie Footer */
hr{
  margin: 40px 0px 0px 0px;
  /* Weiss */
  background-color: #eee;
  border: 0;
  height: 1px;
  width: 100%;
}

/* Trennlinie Titel Unterseiten*/
.titel_Unterseiten hr{
  margin: 20px auto 20px auto;
  /* Weiss */
  background-color: #eee;
  border: 0;
  height: 2px;
  width: 30%;
  text-align: center;
}

/* Media Queries * * * * * * * * */

@media only screen and (min-width: 980px) and (max-width: 1279px) {

  .wrapper{
  width: 980px;
  }
}

@media only screen and (min-width: 760px) and (max-width: 979px) {

  .zitat{
    margin: 0px 4%;
  }
}

@media only screen and (min-width: 550px) and (max-width: 759px) {

  .wrapper{
  width: 100%;
  }

  /* Spalten über ganzen Wrapper*/
  .full, .two-thirds, .half, .fourth, .third, .three-fourth{
  width: 96%;
  margin: 5px 2% !important;
  }

  .zitat{
    margin: 0px 4%;
  }

  /*Navigation ausblenden*/
  #navigation{
    display: none;
    margin: 0px 0 0;
  }

  /****** Mobile Navigation Ausklappbar ******/

  ul#navigation{
    float: block;
    float: none;
  }

  ul#navigation li a{
    padding: 10px 20px;
    margin: 0 10px;
    display: block;
    background: #222;
  }

  ul#navigation li a:hover{
    color: #1e1f1f;
    background: #fdd208;
  }

  a#mobile-menu-btn{
    display: block;
    background: #333;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 0 10px 10px;
    margin: 25px 0 0;
  }

  header{
    /* Hintergrundbild Teaser*/
    background-image: url(../images/titelbild_klein.jpg);
    background-repeat: no-repeat;
    background-position:right;
  }

  /* Titel h1 auf Titelbild*/
  #startseite_h1{
    font-weight: 700;
    text-align: center;
    font-size: 65px;
    line-height: 20px;
    margin: 6px 0px 195px 0px;
    /* Gelb */
    color:#fdd208;
  }

  /* Titel h2 auf Titelbild*/
  #startseite_h2{
    font-size: 30px;
    text-align: center;
    margin: 120px 0 0 0;
    color: white;
  }

  /* Gelber Ghost Button verkleinern*/
  .gross{
    font-size: 25px;
    width: 200px;
    padding: 14px 0px 15px 0px;
    margin: 5px 0px 0px 0px;
    /* Gelb */
    border: 4px solid #fdd208;
  }

  /*Teaser nicht über ganze Breite des Wrappers*/
  #drei_teaser p{
    margin: 30px 15% 20px 15%;
  }

      /*  UNTERSEITEN */

    .two-thirds h2{
      margin: 5px 15% 20px 15%;
      font-size: 22px;
      line-height: 25px;
    }

    .third h2{
      font-size: 27px;
      line-height: 20px;
      text-align: center;
    }

    p{
      margin: 10px 15% 10px 15%;
    }


      .button_unterseite{
        display: inline-block;
        width:100%;
      }

  .titel_Unterseiten{
    /* Abstände */
    padding: 0px;
    margin: 0px;
  }

  /* Titel h-h6 */
  h1{
    font-size: 40px;
    line-height: 70px;
  }

  /* Trennlinie Titel Unterseiten*/
  .titel_Unterseiten hr{
    width: 60%;
  }
  ul, ol{
    margin: 0 0 12px 20%;
  }


  footer p{
    margin: 0px 0px 0px 15%;
  }
}

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

  .wrapper{
  width: 100%;
  }

  /* Spalten über ganzen Wrapper*/
  .full, .two-thirds, .half, .fourth, .third, .three-fourth{
  width: 99%;
  margin: 5px 0.5% !important;
  }

  .zitat{
    margin: 0px 1%;
    font-size: 26px;
  }

  /* Navigation oben ausblenden */
  #navigation{
    display: none;
    margin: 0px 0 0 0;
  }

  /****** Mobile Navigation Ausklappbar ******/
  ul#navigation{
    float: block;
    float: none;
  }

  ul#navigation li a{
    padding: 10px 20px;
    margin: 0 10px;
    display: block;
    background: #222;
  }

  ul#navigation li a:hover{
    color: #1e1f1f;
    background: #fdd208;
  }

  a#mobile-menu-btn{
    display: block;
    background: #333;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 0 10px 10px;
    margin: 25px 0 0;
  }

  header{
    /* Hintergrundbild Teaser*/
    background-image: url(../images/titelbild_klein2.jpg);
    background-repeat: no-repeat;
    background-position:right;
  }

  /* Titel h1 auf Titelbild */
  #startseite_h1{
    font-weight: 700;
    text-align: center;
    font-size: 50px;
    line-height: 20px;
    margin: 6px 0px 200px 0px;
    /* Gelb */
    color:#fdd208;
  }


  /* Titel h2 auf Titelbild */
  #startseite_h2{
    font-size: 24px;
    text-align: center;
    margin: 0px 3px 0px 0px;
    color: white;
  }

  /* Gelber Ghost Button verkleinern*/
  .gross{
    font-size: 22px;
    width: 200px;
    padding: 13px 0px 14px 0px;
    margin: 5px 0px 0px 0px;
    /* Gelb */
    border: 4px solid #fdd208;
  }

    /*  UNTERSEITEN */

  .two-thirds h2{
    font-size: 21px;
    line-height: 26px;
    margin: 5px 0 20px 0;
  }

  .third h2{
    font-size: 27px;
    line-height: 20px;
    text-align: center;
  }

  p{
    margin: 5px 0 10px 0;
  }

  #drei_teaser p{
    margin: 30px 0px 20px 0px;
  }

  footer p{
    margin: 0px 0px 0px 0px;
  }

.button_unterseite{
  display: inline-block;
  width:100%;
}

.titel_Unterseiten{
  /* Abstände */
  padding: 0px 0px 0px 0px;
  margin: 0px 1%;
}

/* Titel h-h6 */
h1{
  font-size: 33px;
  line-height: 65px;
}

/* Trennlinie Titel Unterseiten*/
.titel_Unterseiten hr{
  width: 100%;
}

}

/* Druckformatierung */
@media print {
  #header, #footer {
  display: none;
  }
}
