/* =============================================================================
  Bootstrap variables & mixins
============================================================================= */

.clearfix {
  *zoom: 1;
}

.clearfix:before,
.clearfix:after {
  display: table;
  line-height: 0;
  content: "";
}

.clearfix:after {
  clear: both;
}

.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* =============================================================================
  Custom variables
============================================================================= */

/* =============================================================================
  Layout styles
============================================================================= */

body section {
  background: url('../../img/background.gif') no-repeat top center;
}
body#startseite section {
  background: url('/assets/images/startseite.png') no-repeat top center;
}
body#architektur section {
  background: url('/assets/images/architektur.png') no-repeat top center;
}
body#quartier-oerlikon section {
  background: url('/assets/images/oerlikon.png') no-repeat top center;
}
body#wohnangebot section {
  background: url('/assets/images/wohang.png') no-repeat top center;
}
body#standort section {
  background: url('/assets/images/5th_Image.png') no-repeat top center;
}
body > .container > .row {
  margin-bottom: 50px;
}

@media (max-width: 980px) and (-webkit-min-device-pixel-ratio : 1.25), (max-width: 980px) and (min-resolution : 120dpi) {
  body section {
    background: none;
  }
  body#startseite section {
    background: none;
  }
  body#architektur section {
    background: none;
  }
  body#wohnungen section {
    background: none;
  }
  body#lage section {
    background: none;
  }
  body#kontakt section {
    background: none;
  }
  body > .container > .row {
    margin-bottom: 50px;
  }
}

body > header > .container > .row {
  margin-top: 60px;
  margin-bottom: 50px;
}

body > header > .container > .row .span1 {
  text-align: right;
}

body > section > .container > .row .span3 {
  position: relative;
}

body > section > .container > .row .span3 > .slide-element {
  position: relative;
}

body > section > .container > .row .span3 .box-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 70px;
  width: 240px;
  padding: 20px;
  color: #fff;
  background: rgba(180, 180, 180, 0.5);
  filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#7FB4B4B4', EndColorStr='#7FB4B4B4');
}

body > section > .container > .row .span3 .box-overlay div {
  position: absolute;
  bottom: 0;
}

body > section > .container > .row .span3 .box-overlay div p {
  font-size: 22px;
  font-weight: bold;
  line-height: 28px;
  color: #fff;
}

dl {
  margin: 0;
  *zoom: 1;
}

dl:before,
dl:after {
  display: table;
  line-height: 0;
  content: "";
}

dl:after {
  clear: both;
}

dl dt {
  float: left;
  width: 240px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #231f20;
}

dl dd {
  margin-bottom: 30px;
  margin-left: 250px;
  color: #231f20;
}

/* =============================================================================
  Navigation styles
============================================================================= */

nav {
  height: 360px;
  padding-top: 40px;
  background: none;
}

nav ul {
  margin: 0;
}

nav ul li {
  list-style-type: none;
}

nav ul li a {
  color: #939598;
}

nav ul li a:hover {
  color: #231f20;
  text-decoration: none;
}

nav ul li.active a {
  color: #231f20;
  text-decoration: none;
}

nav ul.main {
  margin: 0 0 30px;
}

nav ul.main li {
  list-style-type: none;
}

nav ul.main li a {
  font-size: 18px;
  font-weight: bold;
  color: #939598;
  text-transform: uppercase;
  white-space: nowrap;
}

nav ul.main li a:hover {
  color: #231f20;
  text-decoration: none;
}

nav ul.main li.active a {
  color: #231f20;
  text-decoration: none;
}

/* =============================================================================
  Typography styles incl. @font-face
============================================================================= */

h1 {
  font-size: 28px;
}

p {
  font-size: 15px;
  color: #231f20;
}

footer {
  margin-top: 120px;
}

footer .container {
  padding-top: 30px;
  background: none;
}

footer .container img {
  float: left;
  margin-top: 3px;
  margin-right: 20px;
}

footer .container p {
  color: #d2d3d5;
}

a {
  color: #939598;
}

a:hover {
  color: #393a3b;
}

/* =============================================================================
  Forms styles
============================================================================= */

/* =============================================================================
  Print styles
  Inlined to avoid required HTTP connection: h5bp.com/r
============================================================================= */

@media print {
  {
    /* Black prints faster: h5bp.com/s */

    /* Don't show links for images, or javascript/internal links */

    /* h5bp.com/t */

  }
  * {
    color: black !important;
    text-shadow: none !important;
    background: transparent !important;
    -ms-filter: none !important;
        filter: none !important;
    box-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]: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;
  }
  @page  {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}