@charset "UTF-8";

/* Incom Real Estate "Neighbourhood Buzzer" landing page style */

body.nb .main_content {
    background-image: 
        url(../images/nb-whitehouse.png),
        url(../images/nb-houses.png),
        url(../images/nb-clouds.png),
        url(../images/nb-new-bg.jpg);
    background-repeat:
        no-repeat,
        repeat-x,
        no-repeat,
        no-repeat;
    background-size: 
        2.9% auto, 
        23% auto, 
        100% auto, 
        cover;
    background-position:
        left 22% bottom 0px,
        left 40px bottom 0px,
        left 40px bottom 120px,
        center center;
    color: #fff;
    overflow: hidden;
    
    image-rendering: auto,auto,auto,-moz-crisp-edges;
}
h1 {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 5px;
    color: inherit;
    text-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    font-size: 3.2em;
    
    transition: font-size 0.6s;
}

p {
    color: inherit;
}

.wrapper-logo {
    position: relative;
    height: 400px;
    width: 550px;
    max-width: 600px;
    border-radius: 0 0 50% 50%;
    margin: 0;
    margin-top: -200px;
    background-color: rgba(0,0,0,0.15);
    transition: height 0.6s;
}
.wrapper-logo a {
    display: block;
    position: absolute;
    top: 58%;
    right: 50%;
    height: 26%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}
.main_content,
.wrapper {
    height: 100%;
}
#edit-address {
    border-color: #eee;
}
.form-submit {
    background-color: #2ac04a;
    border-color: #eee;
    box-shadow: 2px 0 20px rgba(0,0,0,0.2);
}
.form-submit:hover {
    background-color: #40DB61;
}

#edit-address, .form-submit {
    transition: height 0.6s;
}
.disclaimerneighbor {
    font-size: 0.9em;
    margin: 0 auto;
    padding-top: 0.25em;
    text-align: left;
    width: calc(25% + 12em);
    min-width: calc(310px + 12em);
    max-width: calc(500px + 12em);
}
@media (max-width: 1500px) {
    .wrapper-logo {
        width: 430px;
        height: 300px;
        margin-top: -150px;
    }
}

@media (max-width: 900px) {
    .wrapper-logo {
        height: 250px;
        width: 330px;
        margin-top: -125px;
        background-size: auto 30%;
    }
    .description p {
        font-size: 0.9em;
    }
    #edit-address,
    .form-submit {
        /* height: 40px; */
        /* font-size: 0.85em; */
    }
}

@media (max-width: 768px) {
    body {
        background-size: 
            auto 170px,
            auto 40px,
            100% auto,
            cover;
    }
    h1 {
        font-size: 2.4em;
        margin-left: 5px;
        margin-right: 5px;
        line-height: 1.2em;
        margin-bottom: 12px;
    }
    .description p {
        font-size: 1em;
    }
    .wrapper_inner {
        -webkit-transform: translateY(44%);
        -ms-transform: translateY(44%);
        transform: translateY(44%);
    }
}
@media (max-width: 768px) and (max-height: 1024px) and (min-height: 700px) {
    /*  iPad Portrait */
    .wrapper_inner {
        -webkit-transform: translateY(150%);
        -ms-transform: translateY(150%);
        transform: translateY(150%);
    }
}

@media (max-width: 580px) {
    h1 {
        font-size: 1.5em;
    }
    .description p {
        font-size: 0.9em;
    }
}

@media (max-width: 500px) {
    .wrapper-logo {
        width: 300px;
        height: 200px;
        margin-top: -100px;
        background-position: center 80%;
    }
    .wrapper_inner {
        padding:1%;
        width:98%;
        margin: 0 auto;
        box-sizing:border-box;
        
        -webkit-transform: translateY(34%);
        -ms-transform: translateY(34%);
        transform: translateY(34%);
    }
    .description {
        margin: 0;
    }
    .description p {
        font-size: 0.9em;
    }
    h1 {
        font-size: 1.2em;
        max-width: 100%;
    }
    
    #neighbourhood_buzzer_form .form-item,
    #neighbourhood_buzzer_form .search_button {
        margin: 0 auto;
        box-sizing: border-box;
    }
    .disclaimerneighbor {
        width: 94%;
        min-width: 0;
        font-size: 0.75em;
    }
    #neighbourhood_buzzer_form .form-item {
        width: 57%;
        min-width: 0;
    }
    #edit-address {
        border-right: 0;
        border-radius: 4px 0 0 4px;
    }
    #neighbourhood_buzzer_form .search_button {
        width: 37%;
        margin-left: -5px;
    }
    .form-submit {
        border-radius: 0 4px 4px 0;
        padding: 0;
    }
}
@media (max-width: 470px) {
    body:not(.step-2) {
        font-size: 1em;
    }
    .wrapper-inner p,
    #edit-address,
    body:not(.step-2) .form-submit{
        font-size: 0.8em;
    }
}
@media (max-width: 768px){
	body.nb .main_content{
	  background-size: 
	    auto 175px, 
	    auto 42px, 
	    95% auto, 
	    cover;
	  background-position: 
	    left 23% bottom 0px, 
	    left 40px bottom 0px, 
	    left 40px bottom 100px, 
	    center center;
    }
    
	body.nb{
		background:none;
	}
}
@media (max-width: 320px) {
    /* iPhones */
   .description p {
       font-size: 0.65em;
   }
   #whats_my_home_worth_form .form-item,
   #neighbourhood_buzzer_form .form-item {
       min-width: 0;
   }
   body {
       background-position:
         left 25% bottom 58px,
         center bottom 58px,
         center bottom 400px,
         center top;
       /* background-size:
         auto 200px,
         auto 50px,
         200% auto,
         cover; */
   }
}

@media(min-width: 1500px) {
    .description p {
        font-size: 1.2em;
    }
    h1 {
        font-size: 3.3em;
    }
    .wrapper_inner {
        -webkit-transform: translateY(-145%);
        -ms-transform: translateY(-145%);
        transform: translateY(-145%);
        top: 50%;
    }
}

/* Height */
@media (max-height: 900px) {
    footer {
        /*font-size: 0.58em;*/
    }
}
@media (max-height: 900px) and (min-width: 1150px) {
    h1 {
        font-size: 2.5em;
    }
}
@media (max-height: 900px) and (min-width: 769px) {
    body.nb .main_content {
        background-size:
          auto 190px,
          auto 50px,
          100% auto,
          cover;
    }
    h1 {
        font-size: 2em;
    }
}
@media (max-height: 500px) and (min-width: 1100px) {
    body, html {
        height: 600px;
    }
    body {
        overflow: auto;
    }
    h1 {
        /* font-size: 2.4em; */
    }
    .description p {
        font-size: 1.5em;
    }
}
@media (max-height: 768px) and (min-width: 768px) {
    .wrapper-logo {
        height: 220px;
        margin-top: -110px;
        width: 340px;
    }
}
@media (max-height: 560px) {
    .wrapper_inner {
        top: 0;
        -webkit-transform: translateY(10%);
        -ms-transform: translateY(10%);
        transform: translateY(10%);
        transition:none;
    }
}
@media (max-height: 500px) and (max-width: 1099px) and (min-width: 569px) {
    html, body {
        height: 510px;
        overflow: auto;
    }
}

/* iPad Landscape */
@media (width: 1024px) and (height: 768px) {
    body, html {
        height: 768px;
        overflow: auto;
    }
    body {
        background-position:
          left 10% bottom 45px,
          center bottom 45px,
          center bottom 200px,
          center top;
    }
}


/* iPhone 6+ */
@media (max-width: 736px) and (max-height: 736px) {
    h1 {
        font-size: 1.3em;
        margin-bottom: 0;
    }
    .description p {
        font-size: 0.9em;
    }
}

/* iPhone 5 */
@media (max-height: 568px) and (max-width: 568px) {
    /*html, body {
        height: 568px;
        overflow: auto;
    }*/
    body {
        background-position:
          left 10% bottom 45px,
          center bottom 45px,
          center bottom 100px,
          center center;
        background-size:
          auto 120px,
          auto 35px,
          95% auto,
          cover;
    }
    /*footer {
        position: relative;
    }*/
}
@media screen and (max-height: 568px) and (max-width: 568px) and (orientation:landscape) {
    html, body {
        min-height: 450px;
    }
    body {
        overflow: auto;
    }
}

/* iPhone 4 */
/*@media (max-height: 568px),
(max-height: 460px) and (max-width: 736px) {
    body {
        background-size:
          auto 120px,
          auto 35px,
          95% auto,
          cover;
    }
}*/

@media (max-width: 480px) and (max-height: 480px) {
    html, body {
        height: 480px;
        overflow: auto;
    }
    h1 {
        font-size: 1.3em;
    }
    .wrapper-logo {
        width: 260px;
        height: 160px;
        margin-top: -80px;
    }
    .wrapper-inner{
    	top:55%;
    }
}

@media (min-width: 2200px) {
    .wrapper-logo {
        height: 500px;
        width: 700px;
        max-width: 900px;
        margin-top: -250px;
    }
    .wrapper-logo img {
        margin-left: -50%;
        width: 150%;
        max-width: 200%;

        -webkit-transform: translateX(20%);
        transform: translateX(20%);
    }
    .wrapper-inner {
        font-size: 2em;
    }
    h1 {
        font-size: 2.5em;
    }
    footer #incom-logo {
        height: 45px;
    }
    #edit-address, .form-submit {
        height: 100px;
    }
    #edit-address {
        border-radius: 10px 0 0 10px;
    }
    .form-submit {
        border-radius: 0 10px 10px 0;
        margin-left: -10px;
    }
    .pac-item-query, .pac-item-query + span {
        font-size: 3em;
    }
    .pac-item {
        height: 60px;
        line-height: 60px;
    }
    .pac-icon {
        height: 95%;
        width: 40px;
        background-size: 102px 840px;
        background-position: -4px -546px;
    }
    body.nb .main_content{
    	background-size: 3.5% auto, 27% auto, 100% auto, cover;
    }
}
