/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

















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

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

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

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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 the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    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;
    }
}
body {
    background-color: #ededed;
    background-image: url(../images/bg.png);
    font-family: Open Sans;
    font-weight: normal
    }

.container {
    max-width: 960px
    }

#header {
    display: block;
    margin-bottom: 15px;
    overflow: hidden
    }

.white-bg {
    background-color: #fffffc;
    -moz-box-shadow: 0 0 1px 0 #c5c5c5;
    -webkit-box-shadow: 0 0 1px 0 #c5c5c5;
    box-shadow: 0 0 1px 0 #c5c5c5;
    margin-bottom: 15px
    }

.header h1 {
    color: #333;
    font-size: 48px;
    font-weight: normal;
    line-height: 1.4em;
    margin-bottom: 0;
    margin-top: 15px;
    overflow: hidden;
    display: block
    }

.header > h3 {
    color: #808080;
    display: block;
    font-size: 22px;
    line-height: 1.4em;
    margin-bottom: 30px;
    margin-top: 5px;
    overflow: hidden
    }

.mail-inner {
    background-color: #fff;
    border: 2px solid #bac3d9;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 20px 10px 20px 70px
    }

.mail-thumb {
    background-color: #324d5b;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -moz-box-shadow: 0 0 0 1px #eee;
    -webkit-box-shadow: 0 0 0 1px #eee;
    box-shadow: 0 0 0 1px #eee;
    display: block;
    height: 270px;
    left: 24px;
    overflow: hidden;
    padding: 50px 35px;
    position: absolute;
    top: -26px;
    width: 290px;
    z-index: 10
    }

.mail-thumb img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%
    }

#subscribe {
    display: block;
    margin: 70px 0 80px;
    position: relative
    }

.mail-inner > h2, .subscribe-mail > h2 {
    color: #333;
    display: block;
    font-size: 28px;
    line-height: 1.39em;
    margin-top: 0;
    overflow: hidden
    }

.mail-inner h4, .subscribe-mail h4 {
    color: #808080;
    display: block;
    font-size: 16px;
    line-height: 1.4em;
    margin-bottom: 20px;
    margin-top: 10px
    }

.mail-inner form {
    display: block;
    overflow: hidden;
    padding: 7px 0
    }

.content-heading {
    display: block;
    overflow: hidden;
    padding: 50px 0
    }

.content-heading > h2 {
    color: #333;
    display: block;
    font-size: 30px;
    line-height: 1.4em;
    margin-bottom: 10px;
    margin-top: 0;
    overflow: hidden
    }

.content-heading > p {
    color: #787878;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.39em
    }

.content-list {
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative
    }

.list-item.clearfix {
    display: block;
    margin-bottom: 20px;
    padding-left: 60px;
    position: relative
    }

.list-count {
    background-color: #d9534f;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    color: #fff;
    font-size: 20px;
    height: 35px;
    left: 0;
    line-height: 20px;
    padding: 7px 12px;
    position: absolute;
    text-align: center;
    width: 35px
    }

.list-item h3 {
    color: #333;
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4em;
    margin-bottom: 5px;
    margin-top: 0
    }

.list-item p {
    color: #808080;
    display: block;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4em;
    margin-bottom: 5px;
    margin-top: 0
    }

.list-border {
    background: none repeat scroll 0 0 #ddd;
    height: 90%;
    left: 17px;
    position: absolute;
    width: 2px
    }

.subscribe-mail h4 {
    color: #333
    }

.subscribe-mail {
    background-color: #ededed;
    border: 2px solid #d4d4d4;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    display: block;
    margin-bottom: 85px;
    margin-top: 35px;
    overflow: hidden;
    padding: 35px;
    position: relative
    }
.subscribe-mail img{
    max-width: 100%;
    }

.mail-inner input, .subscribe-mail input {
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px
    }

.mail-inner .form-control {
    background-color: #f2f2f2;
    border-color: #9f9f9f;
    color: #000
    }


.footer > p {
    color: #707070;
    display: block;
    font-size: 14px;
    overflow: hidden;
    padding: 10px 0
    }



.voffset  { margin-bottom: 2px; }
.voffset1 { margin-bottom: 5px; }
.voffset2 { margin-bottom: 10px; }
.voffset3 { margin-bottom: 15px; }
.voffset4 { margin-bottom: 30px; }
.voffset5 { margin-bottom: 40px; }
.voffset6 { margin-bottom: 60px; }
.voffset7 { margin-bottom: 80px; }
.voffset8 { margin-bottom: 100px; }
.voffset9 { margin-bottom: 150px; }


.not-selected-houses img{
    margin: 0 15px 15px 0;
    vertical-align: top;
    }

/* Extra error */
.error{
    padding: 15px 5px 5px 5px;
    margin: 0 0 20px 0;
    }


/* Form Labels Style */
.checkbox-label{
    display: inline;
    padding: 0 0 15px 0;
    }
.checkbox-form{
    margin: 0 10px 5px 0 !important;
    float: left;
    position: relative;
    top: 4px;
    }   