﻿.splash {
    height: 100vh;
    background-color: #000;
    color: #FFF;
    width: 100%;
    position: fixed;
    top: 0px;
}
.splash .table {
    }
 .splash .table .row .cell {
            width: 50%;
        }
.lefthblock {
    width: 400px;
    margin: auto;
}
.scroll {
    display: block;
    margin: 50px auto;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 50px solid #FFF;
}


.tophoto {
    height: calc(60vh - 20px);
    margin-bottom: 20px; overflow:auto;
}

.botphoto {
    height: 40vh;
    overflow: hidden;
}
    .botphoto .halfone {
        margin-right: 10px
    }
.halfone {
    float: left;
    width: calc(50% - 10px);
    height: 40vh;
    margin-right: 10px;
}

.halftwo {
    float: left;
    width: calc(50% - 10px);
    height: 40vh;
    margin-left: 10px;
}

.tophoto img {
    max-height: 60vh;
}

.botphoto img {
    max-height: 40vh;
}



.tophoto, .halfone, .halftwo {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*.tophoto {
    background-image: url(https://lenishomes.com/assets/live/1/newhome2.jpg);
}

.halfone {
    background-image: url(https://lenishomes.com/assets/live/1/bathroom.jpg);
}

.halftwo {
    background-image: url(https://lenishomes.com/assets/live/1/3.jpg);
}*/

.main-block {
    margin-top: 100vh;
    position: relative;
    background-color: #000;
}

.heroimage a {
    display: block;
    width: 200px;
    border: 2px solid #FFF;
    position: absolute;
    bottom: 10px;
    left: calc(50vw - 128px);
    background-color: #000;
    color: #FFF;
    text-align: center;
    padding: 20px 20px 20px 20px;
    text-decoration: none;
    font-size: 24px;
    text-transform: uppercase;
}



.midblock {
    max-width: 1000px;
    margin: auto;
    background-color: #000;
}

.centertext {
    text-align: center;
}

.heroimage {
    /*background-image: url(https://lenishomes.com/assets/live/2/6.jpg);*/
    height: calc(100vh - 100px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
    margin-top: 100vh;
}
.main-block-top {
    margin-top: 100px;
}
.topline {
    display: none;
}
.navon {
    display: block;
}

    @media screen and (max-width: 780px) {
        .heroimage {
            height: calc(60vh - 100px);
        }

            .heroimage a {
                padding: 10px 20px 10px 20px;
            }

        .lefthblock {
            width: 250px;
            margin: 10px auto 0 auto;
            height: 185px;
        }

        .tophoto {
            height: calc((100vh - 250px)/2);
            margin-bottom: 10px;
        }

        .botphoto {
            height: calc((100vh - 260px)/2);
            overflow: hidden;
        }

        .halfone {
            float: left;
            width: calc(50% - 12px);
            height: calc((100vh - 260px)/2);
            margin-right: 5px;
        }

        .halftwo {
            float: left;
            width: calc(50% - 5px);
            height: calc((100vh - 260px)/2);
            margin-left: 5px;
        }
        .main-block-top {
            margin-top: 66px;
        }
        .table, .table .row, .table .row .cell, .splash .table .row .cell {
            display: block;
            width: 100%;
        }
    }