html {
    min-height: 100vh;
}

body.is_front.unlogged {
    background: none;
    min-width: 320px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0 !important;
    min-height: 100vh;
}

.banner {
    background: none;
    min-height: 640px;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -moz-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

#layout-3 {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;

}

#layout-3-inner {
    width: 120%;
    min-width: 640px;
    opacity: 0;
}

.layout-3-item {
    float: left;
    width: 175px;
    height: 175px;
    position: relative;
    cursor: pointer;
}

.layout-3-item img {

    width: 100%;
    height: 100%;
    -webkit-transition: all .2s; /* Safari */
    transition: all .2s;
}

.layout-3-item .button-link {
    bottom: 0;
    /*opacity: 0;*/
    width: 100%;
    height: 100%;
    background: rgba(00, 00, 00, 0);
}

.layout-3-item .button-link-cont {
    width: 100%;
    position: absolute;
    bottom: 0;
}

.layout-3-item:hover .button-link {
    opacity: 1;
    background: rgba(00, 00, 00, .51);
}

.layout-3-item-big img {
    position: absolute;
    width: 200%;
    height: 200%;
    z-index: 99;
}

.bottom-row img {
    bottom: 0;
}

.unlogged .footer {
    height: auto !important;
    position: static !important;
}

@media only screen and (max-width: 1169px) {
    .layout-3-item {
        width: 160px;
        height: 160px;
    }



    .unlogged .footer {
        height: auto !important;
    }
}

@media only screen and (max-width: 767px) {
    .footer {
        position: relative;
    }

    body.unlogged.is_front {
        margin-bottom: 0;
    }

    .unlogged .footer {
        height: auto !important;
    }
}
