/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 100%;
    line-height: 1.4;
    height: 100%;
    width: 100%;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font-size: 100%;
    font-family: "futura-pt", Helvetica, Helvetica Neue, Arial;
    color: rgba(159, 145, 129, 1.0);
    font-weight: 400;
    background: no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body.haeuser {
    background-image: url('../Medien/Bilder/BG-Images/innenvisu.jpg');
}

body.lage {
    background-image: url('../Medien/Bilder/BG-Images/steg.jpg');
}

body.kontakt {
    background-image: url('../Medien/Bilder/BG-Images/kinder.jpg');
}


#allwrap {
    position: relative;
    z-index: 999;
  }

nav, div, table, ul, li, p, a {
    transition: all ease 0.4s;
}

/* ==========================================================================
   Images
   ========================================================================== */

img {
  width: 100%;
  height: auto;
  }
  

.logo {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 320px;
  z-index:99;
  }
  
  
/* ===== Onepage Styles ==================================================
   Sections
   ========================================================================== */

section {
    position: relative;
    font-size: 1.25rem;
    background-color: rgba(253, 246, 233, 1.0);
    width: 100%;
    min-height: calc(100vh - 300px); /* minus footer hight */
}

.lage section {
    color: rgba(253, 246, 233, 1.0);
    background-color: rgba(163, 176, 166, 1.0);
}

section .section-content{
    padding: 70px 200px;
    margin: 0 auto;
    position: relative;
}


nav + section {
    min-height: 95vh;
    background-color: transparent;    
}

.lage nav + section {
    background-color: transparent;    
}


nav + section .section-content {
    padding: 0 50px;
    position: absolute;
    bottom: 40px;
}


a {
   color: rgba(163, 176, 166, 1.0);
}

.lage a, .footer a {
   color: rgba(253, 246, 233, 1.0);
}


/* ===== Typo styles ==================================================
   Headers, Paragraphs
   ========================================================================== */

h2 {
   font-weight: 700;
   text-transform: uppercase;
   font-size: 4.5rem;
   color: rgba(163, 176, 166, 1.0);
   margin: 0;
   line-height: 1em;
   /* -ms-hyphens: auto;
   -webkit-hyphens: auto;
   hyphens: auto; */
}


.lage h2 {
   color: rgba(253, 246, 233, 1.0);
}

h3 {
   font-weight: 400;
   text-transform: uppercase;
   font-size: 1.5rem;
}

h4 {
   font-weight: 700;
   text-transform: uppercase;
   color: rgba(163, 176, 166, 1.0);
   font-size: 2rem;
   margin: 40px 0 0 0;
}

nav + section .section-content h2 {
   font-size: 4.75rem;
   line-height: 1.2em;
   color: rgba(250, 250, 250, 0.95);
}

p {
   padding: 15px 0 0 120px;
   margin: 0;
}

.lage p, .haeuser p {
   padding: 15px 0;
}

.eventbutton, .kontakt img.eventbutton {
  width: 160px;
  height: auto;
  position: absolute;
  top: 180px; 
  right: 80px;
}

/* ===== One page menu styles ==================================================
   menu
   ========================================================================== */

.tx-bwrk-onepage-menu {
    position: fixed;
    bottom: 5px;  
    width: 100%;
    text-align: center;
    background-color: transparent;
    z-index: 98;
}

.tx-bwrk-onepage-menu ul {
    padding: 0 0 10px 0;
    margin: 0px;
}


.tx-bwrk-onepage-menu li {
    display: inline;
    padding: 0px;
    margin: 0px;
}


.tx-bwrk-onepage-menu li:first-child {
   display: none;
}


.scrolled .tx-bwrk-onepage-menu li:first-child {
   display: inline;
}


.scrolled .tx-bwrk-onepage-menu li:nth-child(2) {
   display: none;
}


.tx-bwrk-onepage-menu a {
   color: white;
   font-weight: 600;
   text-decoration: none;
   text-transform: uppercase;
   letter-spacing: 2px;
}

.tx-bwrk-onepage-menu li:nth-child(2) a {
   color: rgba(163, 176, 166, 1.0);
}


/* ===== Nav Styles ==================================================
   Main Navigation
   ========================================================================== */


.mainmenu, .menutrigger {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 99;
}


.mainmenu li, .menutrigger {
   background-color: rgba(163, 176, 166, 1.0);  
   display: inline-block;
   padding: 12px 25px;
   margin: 0 10px;
}


.mainmenu a, .menutrigger {
   color: white;
   font-weight: 600;
   text-decoration: none;
   text-transform: uppercase;
   letter-spacing: 2px;
}


.mainmenu li.active, .mainmenu li.current, .mainmenu li:hover, .menutrigger:hover {
   background-color: white;  
}


.mainmenu li:hover a, .menutrigger:hover, .mainmenu li.active a, .mainmenu li.current a {
   color: rgba(163, 176, 166, 1.0);
   cursor: pointer;
}


.menutrigger {
    display: none;
}


.scrolled .menutrigger {
    display: inline-block;
}


.scrolled .mainmenu {
    display: none;
}


.openmenu .mainmenu {
        display: block;
        color: rgba(163, 176, 166, 1.0);
        top:0;
        right:0;
        min-height: 100vh;
    }

.openmenu .mainmenu li {
        display: block;
    }

.openmenu .menutrigger {
    display: none;
}


/* ===== Footer Styles ==================================================
   Footer
   ========================================================================== */

.footer-container {
   background-color: rgba(163, 176, 166, 1.0);
   width: 100%;
   height: 200px;
   color: white;
   margin: 0 auto;
}

.footer {
   padding: 20px 50px;
   font-size: 1.25rem;
}

.lage .footer-container {
   background-color: rgba(253, 246, 233, 1.0);
   color: rgba(163, 176, 166, 1.0);
}

.footerblock {
  width: auto;
  float: left;
}

.footerblock p {
  padding: 5px 40px 5px 0;
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.footerblock a {
  color: #fff;
}

.lage .footer-container .footerblock a {
  color: rgba(163, 176, 166, 1.0);
}


/* ===== Wohnungsspiegel Styles ==================================================
   Wohnungsspiegel
   ========================================================================== */

#whgspiegel-wrap {
  position: relative;
}

table.whgtable {
  cursor: pointer;
  width: 40%;
}

table.whgtable:hover {
  background-color: rgba(163, 176, 166, 0.25);
}


table.whgtable tr {
  border-bottom: solid 1px rgba(163, 176, 166, 1.0);
}

table.whgtable td {
  padding: 5px 20px 5px 0;
}


#whgspiegel {
  width: 40%;
  max-width: 500px;
  position: absolute;
  left: 45%;
  padding: 10px 0;
  top: 10px;
}


/* ==========================================================================
   Backstretch 
   ========================================================================== */

#dotsbox {
    position: fixed;
    top: 45%;
    width: 100%;
}

span.dot {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('img/slideshow-dots.png');
    background-repeat: no-repeat;
    background-position: 8px 5px;
}

#controlPrev, #controlNext {
    display: inline-block;
    width: 80px;
    height: 60px;
    background-image: url('img/arrow-left.svg');
    background-repeat: no-repeat;
    background-position: center center;
    opacity:0.3;
    cursor: pointer;
    display: none;
}

#controlNext {
    background-image: url('img/arrow-right.svg');
    position: absolute;
    right: 0;
    display: none;
}

#controlPrev:hover, #controlNext:hover {
    opacity:0.8;
    cursor: pointer;
}


.kontakt img {
    width: 250px;
    padding-left: 110px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 1024px) {
    
}


@media only screen and (max-width: 1300px) {

    .logo {
        width: 240px;
    }
 

    .menutrigger {
        display: inline-block;
    }


    .mainmenu {
        display: none;
    }
    

    .openmenu .mainmenu {
        display: block;
        color: rgba(163, 176, 166, 1.0);
        top:0;
        right:0;
        min-height: 100vh;
    }

    .openmenu .mainmenu li {
        display: block;
    }


    section .section-content{
        padding: 70px 50px;
    }


    nav + section .section-content {
         bottom: 40px;
    }


    nav + section .section-content h2 {
       font-size: 3.75rem;
    }
    

    p {
        padding: 20px 0;
    }

    .kontakt img {
        padding-left: 0px;
    }


    #whgspiegel {
      width: 45%;
      left: 45%;
    }

}



@media only screen and (max-width: 640px) {

    body {
       background: no-repeat top center;
    }

    nav + section .section-content h2 {
       display: none !important;
    }

    h2 {
       font-size: 2.25rem;
    }

    h2.whgspiegel {
       font-size: 1.75rem;
    }

    p {
      padding: 10px 0;
    }

    section .section-content {
       padding: 30px 20px;
       margin: 0 auto;
    }

    .footer-container {
       height: auto;
    }

    .footer {
        padding: 20px;
    }

    .footerblock {
        float: none;
    }

   .footerblock p {
      padding: 5px;
      font-size: 1.2rem;
      line-height: 1.4rem;
      margin: 0;
    }


   .mainmenu, .menutrigger {
        top: 10px;
        right: 0px;
    }

   .tx-bwrk-onepage-menu {
        display:none;
    }
    
    nav + section {
    min-height: 70vh;
    }


    
    table.whgtable {
       width:100%;
    }


    #whgspiegel {
       width: 100%;
       position: relative;
       left: 0;
       top: 0px !important;
    }

    body.haeuser, body.lage, body.kontakt {
       background-image: none;
    }

    nav + section {
      background: no-repeat center center;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }

    .kontakt nav + section {
       background-image: url('../Medien/Bilder/BG-Images/kinder-S.jpg');  
    }

    .lage nav + section { 
       background-image: url('../Medien/Bilder/BG-Images/steg-S.jpg');  
    }

    .haeuser nav + section {
       background-image: url('../Medien/Bilder/BG-Images/innenvisu-S.jpg');  
    }

    .eventbutton {
        width: 100px;
        top: 180px; 
        right: 30px;
    }



}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
