.body-content {
    width: auto;
    padding: 0;
    min-height: 1300px; /* prevents blinking due to scrollbar appear a bit later after page starts to load */
}

section.odd {
    background-color: #f5f7f7;
}
section > .section-body {
    max-width: 980px;
    margin: auto;
    padding: 30px 10px;
}

section.main {
    background: #3c3c3c url(/img/landing/landing-bg-wide-03.jpg?v=2) no-repeat center center;
    background-size: cover;
}
/*
section.main {
    background: #3c3c3c url(/img/samples/landing-bg-wide-01.jpg) no-repeat center 0;
    / *background-size: cover;* /
    / * use fixed size (1.5x) and top position to prevent bg jump when rooms count or daily rent is shown * /
    background-size: 1400px 678px;
}
@media(min-width: 1400px) {
    section.main {
        / * scale to 1920px * /
        background-size: 1920px 920px;
    }
}
*/

section.pros {
    background-color: white;
}

section.main > .section-body {
    padding-top: 140px;
    padding-bottom: 80px;
    margin-bottom: 20px;
}

section.white-text,
section.white-text .section-title {
    color: white;
}

.you-have-ad-draft-msg {
    color: white;
    padding-top: 50px;
    margin-top: 0;
}

.page-title {
    margin: 0 0 40px;
    /*padding-top: 40px;*/
    color: white;
}
.page-title .logo {
    display: none;
    float: left;
    max-width: 45px;
    max-height: 60px;
    margin-top: 8px;
}
.page-title .title-content {
    /*margin-left: 65px;*/
    text-align: left;
}
.page-title h1,
.page-title h2 {
    font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    text-align: center;
    line-height: 1.15;
}
.page-title h1 {
    font-size: 55px;
    font-weight: 900;
}
.page-title h1 b {
    display: inline-block;
    text-transform: uppercase;
    /*font-size: 70px;*/
    border-bottom: 2px solid #009ee2;
}
.page-title h1 .location {
    white-space: nowrap;
    vertical-align: top;
    /*
        display:inline-block;
        border-bottom: 1px dotted white;
        cursor: pointer;
        line-height: 1.2;
    */
}
.page-title h1 .location .circle {
    display: none;
    /*
        margin: 3px 0 0 15px;
        padding-top: 5px;
    */
}
.page-title .L14-plus h1 .location {
    font-size: 52px;
}
.page-title .L20-plus h1 .location {
    font-size: 45px;
}

.page-title h2 {
    font-size: 28px;
    font-weight: 300;
    margin-top: 70px;
}
.page-title .L20-plus h2 {
    font-size: 28px;
}

.page-title .rayon-chain {
    text-align: center;
    font-size: 16px;
    color: #b5b4b4;
    font-style: italic;
    line-height: 1.1;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
}
.page-title .rayon-chain > *:not(:last-child):after {
    content: ',';
}

.btn-search {
    width: 220px;
    height: 50px;
    font-size: 15px;
    text-align: center;
    display: block;
}
.btn-search .fa {
    font-weight: bold;
    font-size: 19px;
    margin-left: 0 !important;
}

.scroll-down-arrow {
    display: none;
    /*color: #05BEEA;*/
    position: absolute;
    right: 20px;
    margin-top: -40px;
    font-size: 30px;
    color: white;
}
.floating {
    animation-name: floating;
    -webkit-animation-name: floating;

    animation-duration: 1.5s;
    -webkit-animation-duration: 1.5s;

    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}
@keyframes floating {
    0% {
        transform: translateY(0%);
    }
    50% {
        transform: translateY(10%);
    }
    100% {
        transform: translateY(0%);
    }
}

/* News section */
.news {
    margin: -10px auto 20px;
    padding: 20px 35px;
    color: white;
    background-color: rgba(0,0,0,0.5);
    position: relative;
    border: 1px solid #737373;
    border-radius: 1px;
    max-width: 776px; /* TODO: remove this when search form will be full width */
}
.news .title {
    font-weight: bold;
    font-size: 1.25em;
    /* text-transform: uppercase; */
    margin-bottom: 5px;
}
.news a {
    /* make it brighter */
    color: #99d0ff;
    text-decoration: underline !important;
}
.news .btn-close {
    display: none;
    color: white;
    top: 15px;
    right: 25px;
    position: absolute;
    opacity: 1;
    font-weight: normal;
}


.section-title {
    font-weight: bold;
    font-size: 24px;
    margin-top: 0;
}
/* this is from new design, not used */
.section-title.lite {
    font-size: 36px;
    color: black;
    font-weight: normal;
}

.section-sub-title {
    font-weight: bold;
    font-size: 18px;
    color: #555;
}

.bad-video-preview {
    font-style: italic;
    font-size: 0.9em;
    margin-top: 5px;
}
.bad-video-preview .fa {
    color: #00aeff;
    font-size: 16px;
}

h3 {
    font-weight: bold;
}

.img-caption {
    text-align: center;
    font-style: italic;
    font-size: 0.9em;
    margin: 5px 0 25px;
}

/************** Pros section *********************/
.pros {
    margin-top: 20px;
}
.pros .section-title {
    text-align: center;
    margin-bottom: 15px;
}
.pros .section-body {
    /* col-N negative margins cause horizontal scroll to appear, hide it */
    overflow-x: hidden;
    padding: 50px 10px;
}
.pros .col {
    padding: 20px;
    text-align: center;
    color: #464E50;
}
/* icons height is different, need to align them */
.pros .img-holder {
    /* size is max of images sizes */
    width: 105px;
    height: 93px;
    line-height: 93px;
    margin: 0 auto 20px;
    text-align: center;
}
.pros img {
    vertical-align: bottom;
    /*if image is broken*/
    color: #04BFE8;
    font-size: 15px;
    font-style: normal;
    font-weight: bold;
}
.pros .pro-1 img {
    max-height: 93px;
}
.pros .pro-2 img {
    max-height: 93px;
}
.pros .pro-3 img {
    max-height: 90px;
}
.pros .col .title {
    font-size: 16px;
    color: black;
    font-weight: bold;
    /*text-transform: uppercase;*/
    margin-bottom: 10px;
}
.pros .pro-percent .commissions {
    text-decoration: line-through red;
    /*text-decoration: underline wavy red;*/
    background-color: #ffe6e6;
}
.pros .not-ready {
    font-size: 0.9em;
    color: #b2b2b2;
    font-style: italic;
}

/************** 'How it works' section *********************/
.how-it-works {
    background: #373737 url(/img/landing/landing-bg-wide-02.jpg?v=1) no-repeat center center;
    background-size: cover;
    color: white;
}
.how-it-works .section-body {
    text-align: center;
    padding: 60px 10px 60px;
}
.how-it-works .frame {
    border: 1px solid #6B6A6B;
    border-radius: 5px;
    margin-top: 50px;
}
.how-it-works .numbers {
    position: relative;
    transform: translateY(-25px);
    -ms-transform: translateY(-25px);
    -webkit-transform: translateY(-25px);
}
.how-it-works .numbers.mobile {
    display: none;
    height: 0;
    text-align: center;
}
.how-it-works .numbers > * {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 42px;
    border-radius: 25px;
    background-color: #009EE2;
    border: 4px solid transparent;
    background-clip: content-box;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}
.how-it-works .numbers > *.active {
    border-color: #FCC400;
}
.how-it-works .numbers > *:not(.active) {
    cursor: pointer;
}
.how-it-works .numbers > *:not(.active):hover {
    background-color: #0085ca;
}
.how-it-works .numbers.desktop > *:nth-child(1) {
    left: 16.5%; /* 33%/2 */
}
.how-it-works .numbers.desktop > *:nth-child(2) {
    left: 50%;
}
.how-it-works .numbers.desktop > *:nth-child(3) {
    left: 83%; /* 66%+33%/2 */
}
.how-it-works .numbers.desktop > * {
    position: absolute;
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}
.how-it-works .numbers.mobile > * {
    position: static;
    margin: 0 5px;
}
.how-it-works .content {
    /*padding: 70px 0;*/
}
.how-it-works .how {
    display: inline-block;
    text-align: left;
    width: 33%;
    vertical-align: top;
    padding: 70px 5% 60px;
}
.how-it-works .btn-flat {
    position: relative;
    top: -20px;
}


/************** Map section *********************/
.circle-with-icon {
    width: 66px;
    height: 66px;
    border-radius: 33px;
    border: 3px solid #FDC401;
    display: inline-block;
}

section.map-functions {
    background: #035376 url(https://s3.eu-central-1.amazonaws.com/metr-public/www/landing/owners/daily-rent/bg/map-bg-odesa.png) no-repeat center center;
    background-size: cover;
}
section.map-functions .section-body {
    max-width: 650px;
    overflow: hidden;
    line-height: 1.6;
}
section.map-functions .map-hint {
    margin: 0 0 40px;
}
section.map-functions ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
section.map-functions ul li {
    position: relative;
    padding-left: 95px;
    min-height: 66px;
    line-height: 66px;
}
section.map-functions ul li + li {
    margin-top: 35px;
}
section.map-functions ul .circle-with-icon {
    position: absolute;
    left: 0;
    background: transparent no-repeat center center;
    background-size: 36px 36px;
}
section.map-functions ul li:nth-child(1) .circle-with-icon {
    background-image: url(/img/landing/owner-welcome/icons/10.svg);
}
section.map-functions ul li:nth-child(2) .circle-with-icon {
    background-image: url(/img/landing/owner-welcome/icons/11.svg);
}
section.map-functions ul li:nth-child(3) .circle-with-icon {
    background-image: url(/img/landing/owner-welcome/icons/12.svg);
}
section.map-functions ul span {
    line-height: 1.6;
    display: inline-block;
    vertical-align: middle;
}

/* overrides for start+city pages */
.start-or-city-page section.map-functions {
    border-top: 1px solid #525252;
}
.start-or-city-page section.map-functions .section-body {
    padding: 30px 15px 120px 15px;
    font-size: 16px;
}
.start-or-city-page section.map-functions .section-title {
    margin: 50px 0 50px;
    font-size: 27px;
}
@media (max-width: 600px) {
    .start-or-city-page section.map-functions .section-body {
        padding-bottom: 50px;
    }
    .start-or-city-page section.map-functions .section-title {
        margin: 30px 0 30px;
        font-size: 24px;
    }
}

/*********** Other ************/
.share-buttons {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}


/*********** media queries ************/

/* make sure search form is shown on iPad horiz. */
@media (max-width: 1024px) {
    section.main > .section-body {
        padding-top: 100px;
       /* padding-bottom: 140px;*/
    }
    .news {
        margin-top: -30px;
    }
}

/* height: 1366x768 optimization */
/* it should go after max-width: 1024px as it provides smaller sizes */
@media(max-height: 800px) {
    section.main > .section-body {
        padding-top: 75px;
        padding-bottom: 65px;
    }
    .page-title h2 {
        margin-top: 45px;
    }
    .news {
        margin-top: -30px;
        margin-bottom: 10px;
    }
}

/* break point when screen width is less than white bg width */
@media(max-width: 800px) {

    .scroll-down-arrow {
        display: inline;
    }
    /* hard to scroll on mobile/landscape, decrease map height */
    .map {
        height: 280px;
    }

    body {
        background: white;
    }
    .landing-body {
        padding: 40px 20px 30px;
    }
}


@media(max-width: 700px) {
    .page-title .L14-plus h1 .location {
        font-size: 40px;
    }
    .page-title .L14-plus h2 {
        font-size: 26px;
    }
    .page-title .L20-plus h1 .location {
        font-size: 32px;
    }
    .page-title .L20-plus h2 {
        font-size: 22px;
    }
    .page-title h2 {
        margin-top: 35px;
    }
}

/* equals to BS col-sm-4 breakpoint */
@media(max-width: 767px) {
    .pros .section-body {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .pros .section-title {
        margin-top: 15px;
    }
    .pros .col .title,
    .pros .col .content {
        text-align: left;
        margin-left: 90px;
    }
    .pros .img-holder {
        float: left;
        /* negative margin to compensate scaling */
        margin: 3px -20px -20px 0;
        -ms-transform: scale(0.7); /* IE 9 */
        -webkit-transform: scale(0.7); /* Safari */
        transform: scale(0.7);
        transform-origin: left top;
    }

    .how-it-works .numbers.desktop {
        display: none;
    }
    .how-it-works .numbers.mobile {
        display: block;
    }
    .how-it-works .how {
        display: none;
        width: 100%;
        padding: 50px;
        min-height: 160px;
    }
    .how-it-works .how.active {
        display: block;
    }
    .how-it-works .btn-flat {
        top: 0;
        margin-top: 40px;
    }
}

/* breakpoint for mobile/compact view */
@media(max-width: 500px) {
    section.main > .section-body {
        padding-top: 35px;
        padding-bottom: 45px;
    }

    .you-have-ad-draft-msg {
        padding-top: 35px;
    }

    .page-title {
        margin-bottom: 20px;
    }
    .page-title h1 {
        font-size: 36px !important;
    }
    .page-title h2 {
        font-size: 21px !important;
        margin-top: 20px;
    }
    .page-title .L14-plus h1 .location {
        font-size: 27px !important;
    }
    .page-title .L14-plus h2 {
        font-size: 18px !important;
    }
    .page-title .L20-plus h1 .location {
        font-size: 23px !important;
    }
    .page-title .L20-plus h2 {
        font-size: 18px !important;
    }
    .page-title h1 .location .circle {
        margin: -1px 0 0 8px;
        padding-top: 3px;
        width: 24px;
        height: 24px;
    }

    .page-title .rayon-chain {
        font-size: 13px;
    }

    .location-details {
        width: auto;
        display: block;
    }

    /* temporary enable news section on small/mobile devices
    .news {
        display: none;
    }
    */
    /* decrease vertical margin and increase horizontal margin for better view */
    .news {
        font-size: 0.9em;
        margin: -10px 5px 20px;
        padding: 10px 16px;
    }

    .map {
        display: none;
    }
    .location .map-static {
        display: inline;
        max-width: 100%;
        height: auto;
        border: 1px solid #E0E0E0;

        /*width: 95%;
        margin: 0 5px;*/
        /*height: 300px;*/
        margin-bottom: 25px;
    }

    .pros {
        margin-top: 0;
    }
    .pros .col:not(:last-child) {
        border-bottom: 1px solid #EBEBEB;
    }

    .landing-body {
        padding-top: 20px;
    }

}

/* iPhone 5 */
@media(max-width: 359px) {
    .page-title h1 {
        font-size: 33px !important;
    }
    /* no space for iPhone 5 (320px), hide low priority elements */
    .news {
        display: none;
    }
}

/* prevent height jumping */
@media(max-width: 600px) {
    .how-it-works .how {
        min-height: 180px;
    }
}
@media(max-width: 500px) {
    .how-it-works .how {
        min-height: 200px;
    }
}
@media(max-width: 400px) {
    .how-it-works .how {
        min-height: 220px;
    }
}
