/*! HTML5 Boilerplate v4.3.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,
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: both;
}



/* ==========================================================================
   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 Stuff
 */

#site {
    font-size: 13px;
}

header {
    text-align: right;
    padding: 10px 0 30px 5px;
    position: relative;
}
    
a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

#content {
    margin: 15px 10px 30px 10px;
}

label {
    width: 150px;
    display: block;
    float: left;
    font-size: 13px;
    height: 22px;
    text-align: right;
    padding-right: 10px;
    line-height: normal;
    margin: 7px 0 3px;
    white-space: nowrap;
}

form input,
form select,
form textarea {
    margin: 5px 0;
}

form select {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    width: 215px;
    float: left;
    margin-right: -3px;
}

textarea {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    min-width: 215px;
}

textarea {
    min-height: 36px;
}

.section h3 {
    margin: 0 0 20px;
    color: #45464a;
    clear: both;
    border-bottom: solid 2px #45464a;
    padding-bottom: 5px;
    position: relative;
}

.section h3.error:before {
    content: '\e107';
    color: #c9150f;
    font-family: 'Glyphicons Halflings'; 
    font-size: 17px;
    line-height: 28px;
    position: absolute;
    left: -30px;
    top: 0;
    width: 20px;
    height: 20px;
}

span.search:after {
    font-family: 'Glyphicons Halflings'; 
    content:'\e003';
    position: relative;
    left: -20px;
    top: 2px;
    color: #999;
}

label.radio {
    font-weight: normal;
    display: inline;
    margin: 0;
    float: none;
    width: 22px;
    padding: 0 30px 0 5px;
    position: relative;
    top: 1px;
}

label.radio, 
input[type="radio"] {
    position: relative;
    top: 5px;
}

input {
    width: 215px;
    box-sizing: border-box;
}

input[type="submit"],
input[type="radio"],
input[type="checkbox"] {
    width: auto;
}

input.required,
select.required {
    background: #FAF0E6;
    border: solid 1px #999;
}

select {
    font-size: 13px;
    border-color: #999;
}


textarea {
    border-color: #999;
    max-width: 600px;
}

input[type="file"] {
    font-size: 13px;
}

input.short:first-child {
    margin-right: 10px;
}

input.short {
    width: 142px;
}

input.short:first-child {
    width: 60px;
}

.errorholder {
    color: #c9150f;
    display: block;
    position: relative;
    top: -8px;
}

#buttonWrapper {
margin-top: 10px;
}

form .btn-danger {
    background-color: #c9150f;
    border: solid 0;
}

#buttonWrapper .btn-danger:hover {
    background-color: #d2322d;
}

a.btn {
    text-decoration: none;
}

.ui-autocomplete-category {
    font-weight: bold;
    font-size: 13px;
    padding: 5px 0 0 5px;
}

.ui-autocomplete.ui-menu .ui-menu-item a {
    padding-left: 5px;
    font-size: 12px;
    line-height: normal;
}

input[readonly="readonly"] {
    background: #eee;
    color: #999;
}

.readonly {
    color: #999;
    font-weight: normal;
}

input.error,
select.error{
    border: solid 1px #c9150f;
}

form table {
    width: 100%;
}

form table td:first-child {
    width: 160px;
}

form input {
    border: solid 1px #999;
    float: left;
}

form input[type="file"] {
    border: none;
}

.errorholder label {
    width: 100%;
    text-align: left;
}

h2 {
    margin-bottom: 30px;
}

.row-element {
    clear: both;
}

.section {
    margin-bottom: 15px;
}

.multi-label {
    width: 150px;
    float: left;
    text-align: right;
    padding-right: 10px;
}

.multi-label label {
    width: auto;
    float: right;
    padding-right: 5px;
}

.multi-label label:first-child {
    padding-right: 0;
}

label.checkbox-label {
    width: 90%;
    float: left;
    text-align: left;
    margin-top: 3px;
    height: auto;
}

form textarea {
    margin-left: 150px;
    float: left;
}


input[type="checkbox"] {
    float: left;
    margin-right: 5px;
    width: 15px;
    border: none;
}

@media (min-width: 750px) {

    .section {
        margin: 0 150px 50px 150px;
    }
    
    
}

.radio + .radio{
    margin-top:0;
}

#immoform .radio label,
#site .radio label{
    width:auto;
    margin-left: 0;
}
input[type="radio"]{
    top:0;
    margin-top:0;
}
#immoform div.radio,
#site  div.radio{
    margin:0;
    float:left;
}
#immoform .radio-selection .radio-line label{
    width:180px;
    text-align: left;
}
#immoform .radio-selection .radio-line.full-row label.long{
    width:350px;
    margin-top:7px;
}
.radio-selection .errorholder{
    margin-left:10px;
}
.radio-line.error label{
    color: #c9150f;
}


/* Info Icons stuff */

.info-icon:after {
    font-family: 'Glyphicons Halflings';
    color: #45464a;
    content: '\e085';
    z-index: 3px;
}

.info-icon {
    position: relative;
    padding: 5px;
    top: 4px;
    font-size: 16px;
    z-index: 3;
}

span.wrapper {
    position: relative;
    display: block;
    right: 0;
    width: 25px;
    height: 25px;
    float: left;
    margin-left: 5px;
}

span.info-layer {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    padding: 14px;
    cursor: pointer;
    z-index: 5;
    background: url('../../_common/css/images/bg-trans.png');
}
.popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1010;
    display: none;
    min-width: 276px;
    padding: 1px;
    text-align: left;
    white-space: normal;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}
.popover.bottom {
    margin-top: 6px;
}

.popover.left {
    margin-left: -10px;
    right: 25px !important;
}
.popover-title:empty {
    display: none;
}

.popover-content {
    padding: 9px 14px;
}

.popover .arrow,
.popover .arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.popover .arrow {
    border-width: 11px;
}

.popover .arrow:after {
    border-width: 10px;
    content: "";
}
.popover.bottom .arrow {
    top: -11px;
    left: 50%;
    margin-left: -11px;
    border-bottom-color: #999;
    border-bottom-color: rgba(0, 0, 0, 0.25);
    border-top-width: 0;
}
.popover.bottom .arrow:after {
    top: 1px;
    margin-left: -10px;
    border-bottom-color: #ffffff;
    border-top-width: 0;
}
.popover.left .arrow {
    top: 50%;
    right: -11px;
    margin-top: -11px;
    border-left-color: #999;
    border-left-color: rgba(0, 0, 0, 0.25);
    border-right-width: 0;
}
.popover.left .arrow:after {
    right: 1px;
    bottom: -10px;
    border-left-color: #ffffff;
    border-right-width: 0;
}

.radio-line {
    position: relative;
}

.radio-line .wrapper {
    position: absolute;
    left: 365px;
    top: 3px;
}

label.long {
    margin-top: -3px;
}

/**
 *
 * Immoform stuff
 *
 **/

#immoform .row-element h4 .wrapper {
    right: 40px;
    position: absolute;
    top: 50%;
    margin-top: -12px;
}

.long-short input.short:first-child {
    width: 142px;
}

.long-short input.short {
    width: 60px;
}

#immoform .row-element h4 {
    font-size: 16px;
    margin: 25px 30px 10px 30px;
    border-bottom: solid 2px;
    padding-bottom: 8px;
    line-height: 20px;
}

#immoform label,
#immoform .multi-label {
    width: 375px;
    margin-left: 20px;
}

#immoform .comment label{
    width: auto;
    margin-left: 30px;
}


#immoform .multi-label label {
    width: auto;
}

#immoform label.radio,
#immoform .multi-label label {
    margin-left: 0;
}

#immoform label {
    height: auto;
    white-space: normal;
}

#immoform label.checkbox-label {
    width: auto;
    float: none;
    margin-left: 50px;
}

#immoform .radio-line .wrapper {
    left: 215px;
    top: 0;
}

input.short:first-child {
    margin-right: 13px;
}

#immoform .row-element {
    position: relative;
    margin-bottom: 5px
}

#immoform .row-element .line-element:first-child {
    position: static;
}

#immoform .row-element .line-element {
    position: absolute;
    left: 395px;
    bottom: -5px;
}

form#immoform textarea {
    margin-left: 295px;
}


#immoform .row-element .radio-line {
    top: 0;
    width: 215px;
}

#immoform select {
    margin-right: 0;
}

#immoform .row-element .full-row.line-element:first-child {
    width: 100%;
    float: none;
}

#immoform .row-element .full-row.line-element:first-child label {
    width: 100%;
    text-align: left;
    padding: 0 90px 0 30px;
    margin: 0 0 10px;
}

#immoform .row-element .full-row.radio-line {
    position: relative;
    width: 100%;
    padding: 0 30px;
    left: 0;
    min-height: 30px;
    margin-bottom: 15px;
}


#immoform .full-row.radio-line .wrapper {
    left: 90%;
    top: 40px;
}

#immoform .row-element .full-row.radio-line .wrapper {
    top: 0;
}

#immoform .full-row label.radio {
    float: left;
    display: block;
    text-align: left;
    width: 180px;
}

#immoform .radio-line.full-row label.long {
    margin-top: 0;
    width: 350px;
}

#immoform .row-element .line-element.full-row {
    position: static;
}

#immoform .row-element .line-element.full-row input[type="text"],
#immoform .row-element .line-element.full-row input[type="number"] {
    margin-left: 30px;
}

#immoform input[type="checkbox"] {
    margin-left: 30px;
    margin-right: -10px;
}
#immoform .line-element.no-margin {
    bottom:2px;
}
 #immoform .no-margin input[type="checkbox"] {
    margin: 0;
}
 .alternate-address{
     display: none;
 }

#immoform .row-element .line-element.textarea {
    position: static;
    float: left;
}

#immoform .row-element .line-element.textarea textarea {
    margin-left: 0;
}

#immoform label.radio {
    font-weight: normal;
    width: auto;
}


#immoform input#zip,
#site input#zip{
    width: 60px;
    margin-right: 13px;
}

.info-text {
    position: absolute;
    left: 235px;
    top: 6px;
}

@media (max-width: 965px) {
    #immoform .section {
        margin: 0 0 50px 0;
    }
}

@media (max-width: 675px) {

    #immoform .row-element .line-element {
        left: 270px;
    }

    #immoform label, 
    #immoform .multi-label {
        width: 250px;
    }

    #immoform .full-row label.radio {
        clear: both;
        position: relative;
    }

}

@media (min-width: 560px) {
    #immoform .row-element .full-row select {
        margin-left: 30px;
    }
}

@media (max-width: 560px) {

    #immoform .row-element .line-element {
        position: static;
        clear: both;
    }

    #immoform input[type="text"],
    #immoform input[type="email"],
    #immoform input[type="number"] {
        width: 100%;
    }

    #immoform label, 
    #immoform .multi-label {
        width: 100%;
        text-align: left;
        margin: 0;
    }

    #immoform .row-element h4 {
        margin: 30px 0 15px 0;
    }

    #immoform .row-element .full-row.radio-line,
    #immoform .row-element .full-row.line-element:first-child label {
        padding: 0 50px 0 0;
    }

    #immoform .row-element .line-element.full-row input[type="text"] {
        margin: 0;
    }

    #immoform select {
        width: 100%;
    }

    #immoform span.wrapper {
        position: absolute;
        right: 8%;
        top: -8px;
    }

    #immoform .info-icon {
        right: -40px;
        cursor: pointer;
    }

    #immoform span.info-layer {
        cursor: auto;
    }

    #immoform .info-text {
        position: static;
    }


    #immoform .radio-line .wrapper {
        left: auto!important;
        right: 12px!important;
    }

    #immoform .long-short input.short:first-child {
        width: 65%;
        margin-right: 3%;
    }

    #immoform .long-short input.short {
        width: 32%;
    }

    #immoform input.short:first-child,
    #immoform input#zip {
        width: 32%;
        margin-right: 3%;
    }

    #immoform input.short {
        width: 65%;
        margin-right: 0;
    }

    #immoform .row-element .radio-line {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 10px;
        height: auto;
        width: 100%;
    }

    #immoform label.radio {
        top: 5px;
    }

    #immoform .row-element .radio-line .wrapper {
        top: -13px;
    }

    #immoform label {
        padding-right: 40px;
    }

    #immoform .full-row label.radio {
        width: 80%;
    }

    #immoform label.checkbox-label {
        margin-left: 30px;
    }

    #immoform input[type="checkbox"] {
        margin-left: 5px;
    }

    #immoform .row-element .line-element.textarea textarea {
        width: 100%;
        max-width: 100%;
    }

    #immoform .row-element .full-row.line-element:first-child label {
        margin-bottom: 5px;
    }

    #content {
        overflow: hidden;
    }

    #immoform .multi-label {
        width: auto;
    }

    #immoform .multi-label label {
        left: 0;
        padding-right: 5px;
    }

    #immoform .row-element h4 .wrapper {
        right: 12px;
    }
    
    #immoform .radio-selection .radio-line.full-row label.long {
        margin-top: 0;
    }
    
    #immoform div.radio, #site div.radio {
        margin-left: 3px;
    }
    
    #immoform span.wrapper {
        right: 10%;
    }
}

input[type='number']::-webkit-inner-spin-button, 
input[type='number']::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
}

.section p {
    max-width: 600px;
}

.section p span {
    display: block;
}

.section p span:first-child {
    margin-top: 15px;
}

#immoform .wrapper input[type="checkbox"]{
    margin:0;
    margin-top:10px;
    float:none;
}

form input[type="text"]:disabled{
    border:1px solid #ccc;
}

input[readonly="readonly"]#countryImmo {
    border: none;
    background: none;
    color: #000;
}

label.error,
.error .checkbox-label,
input[type="checkbox"].error + label{
    color:#c9150f;
}

@media (max-width: 560px) {
    
    #vcheck input[type="text"],
    #vcheck input[type="number"],
    #vcheck input[type="email"],
    #vcheck select {
        width: 100%;
    }
    
    #vcheck textarea {
        width: 90%;
    }
    
    #vcheck #street {
        width: 63%;
        margin-right: 5%;
    }

    #vcheck #streetnumber {
        width: 32%;
    }
    
    #site #vcheck #zip {
        width: 32%;
        margin-right: 5%;
    }

    #vcheck #location {
        width: 63%;
    }
    
    span.wrapper {
        position: absolute;
        right: 0;
        top: 0;
    }

    .row-element {
        position: relative;
    }

    #vcheck .multi-label {
        width: auto;
    }
    
    #vcheck .multi-label label {
        left: 0;
    }
    
   label {
       text-align: left;
       height: auto;
       margin-bottom: 0;
       white-space: normal;
    } 
    
    .line-element {
        clear: both;
        white-space: nowrap;
    }
    
    label.radio, 
        input[type="radio"] {
        top: 0;
    }
    
    .multi-label label {
        padding-right: 5px;
        position: relative;
        left: -95px;
    }
    
    label.checkbox-label {
        margin: -15px 0 15px 25px;
    }
    
    form textarea {
        margin-left: 0;
    }
    
    .line-element.radio-line {
        height: 32px;
    }
    
    form .btn-danger {
        width: 100%;
    }
    
    .radio-line .wrapper {
        position: absolute;
        left: 215px;
        top: -5px;
    }
    
    label.long {
        margin-top: 0;
    }    
}
.print-select  {
    display: none;
}
#print{
    position: absolute;
    right:0;
    cursor: pointer;
}

@media print {
    /*section	{ display: block; page-break-before: always; }*/
    .print-select   {
        display: block;padding:0 10px 10px 250px; }
    select{display: none;}
    #immoform .row-element .line-element{
        left:0;
        bottom:0;
        position: relative;
    }

    div.row-element.hidden{
        display: block !important;
        visibility: visible;
    }
    span.wrapper{
        display: none !important;
        visibility: hidden;
    }
    input,
    form input[type="text"]:disabled{
        border:1px solid #999;
        background:#fff;
    }
}

img#loader{
    display: none;
    padding-top:12px;
    padding-left:10px;
}



::-webkit-input-placeholder { /* WebKit browsers */
    color: transparent;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: transparent;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: transparent;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: transparent;
}

.input-hint{
    line-height:30px;
    margin-left:10px;
    font-size:11px;

}

.input-hint-alt{
    font-size:11px;
    color:#666;

}

#immoform input[type=checkbox].no-margin{
    margin:0;
}
#isRealEstateOwner,#isMultipleRealEstateOwner,#isMultipleRealEstateOwnerThirdPartyUsage{
    margin-left:10px;
    margin-bottom:20px;
}
