/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/raleway-v28-latin-ext_latin/raleway-v28-latin-ext_latin-200.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/raleway-v28-latin-ext_latin/raleway-v28-latin-ext_latin-200.eot%3F') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/raleway-v28-latin-ext_latin/raleway-v28-latin-ext_latin-200.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/raleway-v28-latin-ext_latin/raleway-v28-latin-ext_latin-200.woff') format('woff'), /* Modern Browsers */
       url('../fonts/raleway-v28-latin-ext_latin/raleway-v28-latin-ext_latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/raleway-v28-latin-ext_latin/raleway-v28-latin-ext_latin-200.svg') format('svg'); /* Legacy iOS */
}

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    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;
    }
}

/* ==========================================================================
   Custom Css
   ========================================================================== */
   
html { font-size: 62.5%; } 
   
body {
    font-family: Arial, sans-serif; 
    color: #333;
    font-size: 1.4rem;
    overflow-y: scroll;
}

.wrap {
    width: 1030px;
    margin: 0 auto;
}

#header {
    background: url( 'img/bg-header.png' );
    background-repeat: repeat-x;
    background-position: top left;
    height: 100px;
}

.intro {
    width: 100%;
    overflow: hidden;
}

.detail .csc-header h2 {
    border-top: 1px solid #F2F1EF;
    margin: 0 40px;
    margin-top: 20px;
    padding: 10px 0;
}

.grid.one-third, 
.detail .csc-textpic-text {
    width: 300px;
    margin-left: 40px;
    float: left;
}

.grid.two-third, 
.detail .csc-textpic-imagewrap {
    width: 620px;
    margin-right: 40px;
    float: right;
    margin-left: 0;
}

.grid.two-third {
	position: relative;
}

#logo {
    margin-top: 20px;
}

.detail .csc-default {
    margin-bottom: 20px;
}

#main img {
    margin: 0;
}

#main .subnav {
    list-style: none;
    padding: 0;
}

#main .subnav li {
    margin: 0 0 0.2em 0;
}

#main .subnav a,
#main .subnav span  {
    display: block;
    line-height: 30px;
    padding: 0 10px;
}

#main .subnav a {
    background-color: #f2f1ef;
    color: #A59F8C;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#main .subnav a:hover {
    background-color: #e0dfdd;
    color: #86806d;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#main .subnav span  {
    background-color: #A59F8C;
    color: #FFF;
}

/* Main Nav */
#menu {
    list-style: none;
    font-size: 2.2rem;
    float: right;
    position: relative;
    z-index: 4;
    margin-top: 20px;
}

#menu > li {
    float: left;
    display: block;
    position: relative;
    top: -30px;
    height: 45px;
    padding-top: 45px;
}

#menu > li:hover {
    background-color: #f2f1ef;
}

#menu :hover a {
    color: #555;
}

#menu a:hover {
    color: #111;
}

#menu > li > a {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    margin: 0 13px;
}

#menu > li > ul {
    position: absolute;
    top: 85px;
    background-color: #f2f1ef;
    list-style: none;
    font-size: 1.4rem;
    margin: 0;
    padding: 0;
    display: none;
    min-width: 100%;
}

#menu > li:hover ul, #menu li.clicked ul {
    display: block;
}

#menu > li > ul > li {
    padding: 11px 25px;
    border-top: 2px solid #fff;
    font-weight: bold;
}

#menu li li {
    padding: 10px 30px;
    border-top: 2px solid #fff;
}

#menu li li ul {
    margin: 0;
    padding: 0;
}

#menu li li li {
    display: block;
    padding: 0;
    font-weight: normal;    
    border-top: none;
}

#menu a {
    color: #666;
    white-space: pre;
}

#menu > li > a {
    font-weight: 300;
    text-transform: uppercase;
}

a {
    text-decoration: none;
}

#park-navigation {
    background-image: url( 'img/startmotiv.jpg' );
    background-position: left top;
    background-repeat: no-repeat;
    height: 540px;
    width: 1030px;
    position: relative;
}

#park-navigation a,
#park-navigation span {
    background-image: url( 'img/sprite.png' );
    position: absolute;
    display: block;
    text-indent: -9999px;
    width: 40px;
    height: 40px;
}

span.house-1 {
    top: 361px;
    left: 739px;
    background-position: -4px -4px;
}

span.house-2 {
    top: 372px;
    left: 900px;
    background-position: -54px -4px;
}

a.house-3 {
    top: 122px;
    left: 517px;
    background-position: -104px -4px;
}

a.house-4 {
    top: 55px;
    left: 733px;
    background-position: -154px -4px;
}

a.house-5 {
    top: 130px;
    left: 205px;
    background-position: -204px -4px;
}

a.house-6 {
    top: 70px;
    left: 295px;
    background-position: -254px -4px;
}

a.house-7 {
    top: 320px;
    left: 280px;
    background-position: -304px -4px;
}

a.house-8 {
    top: 360px;
    left: 417px;
    background-position: -354px -4px;
}

a.house-9 {
    top: 354px;
    left: 568px;
    background-position: -404px -4px;
}

a.house-10 {
    top: 199px;
    left: 772px;
    background-position: -454px -4px;
}

h1, h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    font-size: 2.2rem;
}

h1 {
    text-transform: uppercase;
}

.deviant {
    color: #2e75b6;
}

h3 {
    color: #A59F8C;
    font-size: 1.6rem;
}

#footer {
    text-transform: uppercase;
}

#footer h3 {
    margin: 0;
    font-size: 1.3rem;
}

#footer a {
    margin-right: 20px;
    display: block;
}

.bodytext a {
    color: #C5A155;
    text-decoration: underline;
}

table.contenttable {
    height: auto;
}

table.contenttable td {
    height: 1.4em;
}

table.contenttable * {
    margin: 0;
    padding: 0;
    height: auto;
}

.buy {
    margin-right: 10px;
    margin-left: 40px;
    float: left;
}

.buy .segment {
    border-top: 1px solid #CCDBE8;
    border-bottom: 1px solid #CCDBE8;
    height: 2.8em;
}

.rent .segment {
    border-top: 1px solid #d8d5ce;
    border-bottom: 1px solid #d8d5ce;
    height: 2.8em;
}

.buy .segment, .rent .segment {
    height: 2.8em;
    margin-top: 0.3em;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    padding-right: 24px;
}

.rent {
    float: right;
    margin-right: 40px;
}

.buy .segment, .rent .segment {
    float: left;
}

.buy h3, .buy a, .buy span {
    color: #3370a3;
}

.buy span {
    display: block;
}

.rent h3 {
    color: #AC8C4A;
}

.rent a {
    color: #a59f83;
}

.bildunterschrift p {
    font-size: 0.95em;
    margin: 0;
    text-align: right;
}

.bildunterschrift {
    margin: 0 0 10px 0;
}

.multiline-overlay,
.verkauft-overlay {
    position: absolute;
	top: 90px;
	left: 0;
}

.verkauft-overlay {
    /*height: 41px;*/
	width: 220px;
	padding: 0 0 0 24px;
}

.multiline-overlay span {
    display: block;
	padding: 0 24px;
    margin: 0 0 6px 0;
    white-space: pre;
}

.verkauft-overlay,
.multiline-overlay span { 
	background-color: #880000;
	border-bottom: 3px solid #888481;
	color: #fff;
	font-size: 26px;
    font-weight: 700;
	line-height: 50px;
	text-transform: uppercase;
}