/* TODO: move geo location into separate file */
section.main {
    background: #3c3c3c url(/img/landing/landing-bg-wide-05.jpg?v=1) no-repeat center center;
    background-size: cover;
}
@media (max-width: 520px) {
    section.main {
        background: #3c3c3c url(/img/landing/landing-bg-wide-05-xs.jpg?v=1) no-repeat center center;
        background-size: cover;
    }
}
section.main > .section-body {
    padding-top: 110px;
    padding-bottom: 90px;
    margin-bottom: 20px;
    position: relative;
}

.flash-message-popup p {
    padding-left: 26px;
    position: relative;
}
.flash-message-popup .fa {
    color: #00ad00;
    font-size: 24px!important;
    position: absolute;
    left: 0;
    top: 0;
}

.title-indicator {
    background: transparent url(/img/logo/yellow-rect.png) no-repeat center top;
    width: 296px;
    height: 92px;
    text-align: center;
    margin: 0 auto 15px;
    /*if image is broken*/
    color: white;
    font-size: 34px;
}
.title-indicator img {
    margin-top: 12px;
    max-width: 260px;
}

.page-title {
    margin-bottom: 90px;
    position: relative;
}
.page-title h1 {
    font-size: 84px;
    text-transform: uppercase;
    text-shadow: 0 0 2px black;
}
.page-title h2 {
    font-size: 45px;
    text-transform: uppercase;
    margin-top: 3px;
    color: #cbd3d6;
}
.with-realtors .page-title h2 {
    text-transform: none;
}
.news {
    margin-top: 90px;
}

.location-search-panel {
    background-color: white;
    border-radius: 5px;
    padding: 15px 15px 13px;
    box-shadow: 0 4px 14px 0 rgba(0,0,0,0.2);
}
.location-search-panel > * {
    float: left;
}
.location-search-panel .location-selector {
    width: 70%;
    width: calc(100% - 230px);
}
.location-search-panel .location-input {
    height: 50px;
    padding-left: 42px;
    padding-right: 14px;
    font-weight: bold;
    background: white url(/img/geo/pin-x2.png) no-repeat 14px center;
    background-size: 15px 22px;
}
.location-search-panel .btn-search {
    width: 220px;
    height: 50px;
    margin: 0 0 0 10px;
}
.location-search-panel .btn-search .fa {
    display: none;
}

.location-selector.busy::before {
    background: url(/img/loader.gif) 98% 43% no-repeat;
    background-size: 30px;
}

.recent-locations {
    margin-top: 6px;
    font-size: 0.9em;
}


/* feature test */
/*
.smart-label {
    float: none;
    clear: both;
    margin: 80px 0 10px 0;
    font-weight: bold;
    text-align: left;
    color: #555;
    padding-left: 32%;
}
.smart-or {
    color: white;
    text-align: center;
    margin: 25px 0;
    font-size: 15px;
    font-weight: bold;
}
.smart-or span {
    background-color: yellow;
    color: black;
    padding: 0 5px;
}
.smart-label2 {
    float: none;
    clear: both;
    margin: -5px 0 4px 0;
    font-weight: bold;
    text-align: left;
    color: #333;
}
.smart-panel .location-input {
    background: none;
    padding-left: 12px;
}
@media(max-width: 1000px) {
    .smart-wrapper {
        display: none;
    }
}
*/

section.main .dotted-arrow {
    position: absolute;
    max-width: 19px;
    left: 50%;
    transform: translateX(-9px);
    bottom: 20px;
}

.pros {
    background-color: transparent !important;
    margin-bottom: 20px;
}
.pros .section-title {
    display: none; /* we need title on landing page only, to separate from other city-related content */
}

/* Other */

/* temporary solution, until we find a place for button: just shift button over bottom of map-functions section */
.start-page section.map-functions .section-body {
    padding-bottom: 140px;
}
.btn-to-top {
    margin: -80px auto 40px;
}

#footer {
    margin-top: 0;
    background-color: #000000;
}

@media all and (max-width: 800px), (max-height: 800px) {
    section.main > .section-body {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    .page-title {
        margin-bottom: 45px;
    }
    .page-title h1 {
        font-size: 50px !important;
    }
    .page-title h2 {
        font-size: 30px !important; /* revert to 18 after text change */
    }
    section.main .dotted-arrow {
        display: none; /* smaller version needed */
    }
}

@media (max-width: 700px) {
    .location-search-panel .btn-search {
        width: 55px;
    }
    .location-search-panel .btn-search span {
        display: none;
    }
    .location-search-panel .btn-search .fa {
        display: inline-block;
        font-size: 26px;
        margin-top: 0;
    }
    .location-search-panel .location-selector {
        width: 90%;
        width: calc(100% - 65px);
    }
}

/* breakpoint for mobile/compact view */
@media (max-width: 500px) {
    section.main > .section-body {
        padding-top: 70px;
        padding-bottom: 60px;
        margin-bottom: 0;
    }
    .title-indicator {
        margin-bottom: 0;
        -ms-transform: scale(0.5, 0.5); /* IE 9 */
        -webkit-transform: scale(0.5, 0.5); /* Safari */
        transform: scale(0.5, 0.5);
    }
    .landing-page .page-title {
        margin-bottom: 50px;
    }
    .page-title h1 {
        font-size: 33px !important;
    }
    .page-title h2 {
        font-size: 19px !important; /* revert to 18 after text change */
    }

    .location-search-panel {
        padding: 0;
        background-color: transparent;
        box-shadow: none;
    }
    .location-search-panel .btn-search {
        display: none;
    }
    .location-search-panel .location-selector {
        width: 100%;
        box-shadow: 0 4px 14px 0 rgba(0,0,0,0.2);
    }
    .location-search-panel .location-input {
        border: 0; /* border looks bad on dark bg */
    }

    .recent-locations {
        margin-top: 12px;
        color: #b8b8b8;
        font-size: 1em; /*was too small for mobile*/
    }
    .recent-locations .title {
        display: none;
    }
    .recent-locations a {
        font-weight: normal;
        color: #dcf5ff;
    }

    section.main .dotted-arrow {
        display: none;
    }

    .pros {
        margin-top: 0;
        margin-bottom: 0;
    }

}