/**
 * styles.css
 * Author: Jakob Eschler
 * http://www.jakob-eschler.de
 *
 *  * 
 * Copyright 2014, Förderkreis Bausoldaten Prora e.V.
 * 
 */


/*
/****
/********* Globale Styles
/****
*/

*,
html,
body {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    font-size: 100%;
    font-size: 16px;
    font-family: 'Lato', arial, sans-serif !important;
}

body {
    overflow: hidden;
}

/* Preloader */

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

#preloader img {
    width: 20em;
    height: auto;
}

#status {
    width:20em;
    height:20em;
    position:absolute;
    left:50%; /* centers the loading animation horizontally one the screen */
    top:40%; /* centers the loading animation vertically one the screen */
    background-repeat:no-repeat;
    background-position:center;
    margin:-10em 0 0 -10em; /* is width and height divided by two */
}

/* Spinneranimation */

.spinner {
  margin: 100px auto;
  text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #333;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0.0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
  0%, 80%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 40% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

.section a,
.section a.visited,
#impressum-link {
    color: #ff0000;
    text-decoration: none;
    -webkit-transition: all 0.6s; /* Chrome, Safari, Opera */
    transition: all 0.6s;
    border-bottom: 1px solid transparent;
}

.section a:hover,
#impressum-link:hover {
    cursor: pointer;
    border-bottom: 1px solid #ff0000;
}

::-moz-selection { /* Code for Firefox */
    color: #ffffff;
    background: #ff0000;
}

::selection {
    color: #ffffff;
    background: #ff0000;
}

img {
    width: 100%;
    height: auto;
    border: none;
}

a img {
    border: none;
}

#down {
    width: 4em;
    height: 4em;
    left: 50%;
    margin-left: -2em;
    bottom: 4em;
    position: absolute;
    opacity: 0.6;
    -webkit-transition: opacity 0.6s; /* Chrome, Safari, Opera */
    transition: opacity 0.6s;
}

#down:hover {
    opacity: 0.8;
}

#quick-nav {

    position: fixed;
    left: 50%;
    margin-left: -1.5em;
    bottom: 3em;
    padding: 0;
    display: none;
    z-index: 100000000000000000;
}

#quick-nav ul {
    list-style: none;
}

#quick-nav ul {
    display: inline !important;
    float: left !important;
}

#quick-nav img {
    width: 3em;
    opacity: 0.5;
    -webkit-transition: all 0.6s; /* Chrome, Safari, Opera */
    transition: all 0.6s;
}

#quick-nav img:hover {
    opacity: 0.9;
}

/*
/****
/********* Haupt-Navigation
/****
*/

.ha-header {
	width: 100%;
    height: 3.5em;
    background-color: rgba(255,255,255,0.95);
    border-bottom: 1px solid #000000;
	z-index: 1000000000;
    text-align: center;
    text-transform: uppercase;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

#ha-header img {
    width: auto;
    height: 2.2em;
    position: relative;
    top: -0.5em;
}

.ha-header .fg12 {
    padding: 1em 0;
}

.ha-header ul {
    display: block;
    list-style: none;
    font-size: 1.3em;
    font-weight: 300;
    margin-top: -0.05em;
}

.ha-header ul li {
    width: 100%;
    display: inline;
    margin-left: 0.6em;
}

.ha-header ul li:first-child {
    margin-left: -0.6em;
    padding: 0 !important;
}

.ha-header ul li:first-child a, 
.ha-header ul li:first-child a:visited,
.ha-header ul li:first-child a:hover {
    background: transparent;
}

.ha-header ul li a,
.ha-header ul li a:visited {
    padding: 0.7em;
    color: #000000;
    text-decoration: none;
    -webkit-transition: all 0.8s; /* Chrome, Safari, Opera */
    transition: all 0.8s;
}

.ha-header a:hover {
    color: #ffffff !important;
    background: #000000;
}

/*
/****
/********* Header-Effekte
/****
*/

.ha-header-blank ul li a {
	color: #000000;
    background: transparent;
}

.ha-header-bausoldaten #nav-bausoldaten {
	color: #ffffff;
    background: #000000;
}

.ha-header-verein #nav-verein {
	color: #ffffff;
    background: #000000;
}

.ha-header-anliegen #nav-anliegen {
	color: #ffffff;
    background: #000000;
}

.ha-header-zeitsplitter #nav-zeitsplitter {
	color: #ffffff;
    background: #000000;
}

.ha-header-spenden #nav-spenden {
	color: #ffffff;
    background: #000000;
}

.ha-header-kontakt #nav-kontakt {
	color: #ffffff;
    background: #000000;
}

/*
/****
/********* Mobile-Navigation
/****
*/

#mobile-toggle {
    position: fixed;
    top: 0.5em;
    left: 0.5em;
    width: 4em;
    height: 4em;
    z-index: 100000;
    background-image: url(../images/foerderverein_bausoldaten_prora_mnav_toggle.png);
    background-repeat: no-repeat;
    display: none;
}

#mobile-toggle.active {
    background-image: url(../images/foerderverein_bausoldaten_prora_mnav_toggle-active.png);
}

#mobile-toggle:hover {
    cursor: pointer;
}

#mobile-navigation {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #000000;
	z-index: 1000000000;
    text-align: center;
    text-transform: uppercase;
    position: fixed;
    display: none;
}

/*.ha-header .fg12 {
    padding: 1em 0;
}*/

#mobile-navigation ul {
    display: block;
    list-style: none;
    font-size: 1.3em;
    font-weight: 300;
    
}

#mobile-navigation img {
    width: 8em;
    height: auto;
}

#mobile-navigation ul li {
    width: 100%;
    padding: 1em 0;
    border-top: 1px solid #000000;
}

#mobile-navigation ul li:first-child {
    border-top: none;
}

#mobile-navigation ul li:first-child a, 
#mobile-navigation ul li:first-child a:visited,
#mobile-navigation ul li:first-child a:hover {
    background: transparent;
}

#mobile-navigation ul li a,
#mobile-navigation ul li a:visited {
    padding: 0.7em;
    color: #000000;
    text-decoration: none;
    -webkit-transition: all 0.8s; /* Chrome, Safari, Opera */
    transition: all 0.8s;
}

#mobile-navigation a:hover {
    color: #ffffff;
    background: rgba(0,0,0,1);
}

/*
/****
/********* Sections
/****
*/

#start { /* Globale Styles für alle Sections */
    min-height: 100% !important;
    
    /* IE Bugfix */
    height: auto !important;
    height: 100%;
}

#titel {
    padding-top: 10%;
}

.content {/* Styles für alle Inhalts Sections */
    font-weight: 400;
    padding: 5em 0;
}

.content p {
    font-size: 1.3em;
    margin-bottom: 0.5em;
    line-height: 1.5em;
}

.content img {
    margin: 0.5em 0 1em 0;
}

#kontakt {
    background-color: #000000;
    color: #ffffff;
}

#footer {
    width: 100%;
    position: relative;
    bottom: 4.3em;
    color: #ffffff;
    font-size: 0.9em;
    padding: 1.5em 0 1em 0;
    border-top: 1px solid #ffffff;
}

#impressum_wrapper {
    display: none;
}

#impressum_wrapper .content {
    font-size: 0.7em;
}

#impressum_wrapper .angaben{
 /*   display: none;*/
    font-size: 1em;
}

#background-impressum {
    margin-top: -3.8em;
    height: 24em;
}

/*
/****
/********* Parallax
/****
*/

[class*="bg__"] {
    
    padding: 5em 0 4em 0;
    
  /* fix background */
    background-attachment: fixed;

  /* center it */
    background-position: center center;

  /* Scale it nicely to the element */
    background-size: cover;
    background-repeat: repeat
}

.bg__start {
    background-image: url(../images/foerderverein_bausoldaten_prora_titel_large.jpg);
}

.bg__quote1 {
    background-image: url(../images/foerderverein_bausoldaten_prora_quote1_large.jpg);
}

.bg__quote2 {
    background-image: url(../images/foerderverein_bausoldaten_prora_quote2_large.jpg)
}

.bg__quote3 {
    background-image: url(../images/foerderverein_bausoldaten_prora_quote3_large.jpg);
}

.bg__quote4 {
    background-image: url(../images/foerderverein_bausoldaten_prora_quote4_large.jpg);
}

.bg__quote5 {
    background-image: url(../images/foerderverein_bausoldaten_prora_quote5_large.jpg);
}

#impressum_wrapper .bg__quote6 {
    height: 20em;
    background-image: url(../images/foerderverein_bausoldaten_prora_impressum_large.jpg);
}

/*
/****
/********* Textauszeichnungen
/****
*/

.headline {/* Relevant für fittext.js */
    width: 100%;
}

h1 {
    text-transform: uppercase;
    /*font-size: 4.5em;*/
    line-height: 1em;
    font-weight: 200;
    color: #ffffff;
    background: #000000;
    padding: 0.4em 0.4em;
    clear: both;
    margin-top: 0.03em;
    display: block;
}

h2 {
    text-transform: uppercase;
    /*font-size: 4.5em;*/
    line-height: 1em;
    font-weight: 200;
    color: #000000;
    background: #ffffff;
    padding: 0.4em 0.4em;
    clear: both;
    margin-top: 0.03em;
}

h3 {
    text-transform: uppercase;
    line-height: 1em;
    font-weight: 300;
    color: #ffffff;
    clear: both;
}

h4 {
    text-transform: uppercase;
    font-size: 4em;
    font-weight: 100;
    text-align: center;
}

.right {
    text-align:  right;
}

.left h1,
.left h2 {
    float: left;
}

.right h1,
.right h2 {
    float: right;
}

.clearfix {
    clear: both;
}

.angaben {
    font-size: 0.7em;
    line-height: 1.2em;
}

.quote .row {
    overflow: visible;
    text-align: center;
    color: #ffffff;
}

quote {
    display: block;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.4em;
    letter-spacing: 0.1em;
    padding: 0.5em 0;
}

.quote_author {
    text-align: right !important;
    text-transform: uppercase;
    font-weight: 700;
}

.quote_function {
    margin-top: 0.2em;
    text-align: right !important;
    text-transform: uppercase;
    font-weight: 300;
    line-height: 140%;
}

/*
/****
/********* Formulare
/****
*/

form {
    padding: 1em 0;
}

input,
textarea {
    width: 100%;
    padding: 1em;
    font-size: 1.2em;
    font-family: 'Lato', arial, sans-serif;
    font-weight: 300;
    border: 1px solid #ffffff;
    color: #ffffff;
    background: #000000;
    margin-top: 1.5em;
}

input[type=submit] {
    border: 1px solid #ff0000;
    -webkit-transition: all 2s; /* Chrome, Safari, Opera */
    transition: all 2s;
    text-transform: uppercase;
}

input[type=submit]:hover {
    cursor: pointer;
    background-color: #ff0000;
    border: 1px solid #ff0000;
}

/*
/****
/********* Fitgrid Überschreibungen
/****
*/

.row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
}

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

@media screen and (max-width: 760px) { /* Media Query Smartphones */
        
    .bg__start {
        background-image: url(../images/foerderverein_bausoldaten_prora_titel_small.jpg);
    }

    .bg__quote1 {
        background-image: url(../images/foerderverein_bausoldaten_prora_quote1_small.jpg);
    }

    .bg__quote2 {
        background-image: url(../images/foerderverein_bausoldaten_prora_quote2_small.jpg);
    }

    .bg__quote3 {
        background-image: url(../images/foerderverein_bausoldaten_prora_quote3_small.jpg);
    }

    .bg__quote4 {
        background-image: url(../images/foerderverein_bausoldaten_prora_quote4_small.jpg);
    }

    .bg__quote5 {
        background-image: url(../images/foerderverein_bausoldaten_prora_quote5_small.jpg);
    }

    .footer.bg__quote6 {
        height: 4.3em;
        background-image: url(../images/foerderverein_bausoldaten_prora_impressum_small.jpg);
    }

    #impressum_wrapper .bg__quote6 {
        height: 20em;
        background-image: url(../images/foerderverein_bausoldaten_prora_impressum_small.jpg);
    }
}

@media screen and (min-width: 760px) and (max-width: 950px) { /* Media Query Tablets */
    
    .bg__start {
        background-image: url(../images/foerderverein_bausoldaten_prora_titel_medium.jpg);
    }

    .bg__quote1 {
        background-image: url(../images/foerderverein_bausoldaten_prora_quote1_medium.jpg);
    }

    .bg__quote2 {
        background-image: url(../images/foerderverein_bausoldaten_prora_quote2_medium.jpg);
    }

    .bg__quote3 {
        background-image: url(../images/foerderverein_bausoldaten_prora_quote3_medium.jpg);
    }

    .bg__quote4 {
        background-image: url(../images/foerderverein_bausoldaten_prora_quote4_medium.jpg);
    }

    .bg__quote5 {
        background-image: url(../images/foerderverein_bausoldaten_prora_quote5_medium.jpg);
    }

    #impressum_wrapper .bg__quote6 {
        height: 20em;
        background-image: url(../images/foerderverein_bausoldaten_prora_impressum_medium.jpg);
    }

}

@media screen and (max-width: 82em) { /* Sichtbarkeiten der Navigationen */
    
    #mobile-toggle {
        display: block !important;
    }
    
    .ha-header,
    #down {
        display: none;
    }   
    
    .content {/* Styles für alle Inhalts Sections */
        padding: 2em 0;
    }
}

/* Titel Platzierung */


@media screen and (min-height: 320px) and (max-height: 768px) {
    
    #start .row {
        overflow: visible !important;
    }
    
    #titel {
        padding-top: 5% !important;
        margin-top: -2.5em;
    }
}





