﻿
.dos {
    font-size: 14px;
    font-weight: bold;
    height: 20px;
    line-height: 1;
}

header div div img {
    height: 50px;
}

header > div {
    float: left;
    width: 40%;
}

header > a > img {
    margin-top: 20px;
}

header {
    padding-bottom: 0;
    height: 100px;
    overflow: hidden;
}

header .oelf img {
    margin-top: 22px;
    height: 34px;
}

header, #main, footer, .top {
    width: 100%;
    margin: 0;
    max-width: 100%;
    background-color: #fff;
}

#main {
    display: flex;
    height: calc(100vh - 181px);
    min-height: 220px;
    overflow: hidden;
}

.left, .right {
    flex: 0 0 50%;
    background-size: cover;
    position: relative;
}

#main div {
    text-align: center;
}

#main .block {
    position: relative;
    margin-bottom: 0;
}


#main .block > div {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

#main .block > div > a:first-child {
    max-width: 90%;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    background: #97551A;
    border-radius: 50px;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: bold;
}

#main .block a.language {
    display: inline-block;
    float: none;
    color: #fff;
    font-weight: bold;
}

#main .flags div {
    margin-top: 5px;
}
#main .flags div a {
    font-size: 14px;
    text-shadow: 2px 2px 2px #000;
}
#main .flags div a:first-child {
    margin-right: 20px;
}

footer, .top {
    margin-top: -110px;
    height: 150px;
    background: transparent;
    position: relative;
    z-index: 1;
}
.top {
    height: auto;
    margin-top: 40px;
}

footer > div, .top > div {
    z-index: 3;
    position: absolute;
    width: 100vw;
    bottom: 0px;
    right: 0px;
    padding: 10px 130px 10px 0;
    text-align: right;
    background: #97551A;
}
.top > div {
    text-align: left;
    padding-left: 130px;
    padding-right: 10px;
}

footer div a, .top a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

footer > a, .top > a {
    z-index: 4;
    position: absolute;
    right: 0px;
    bottom: 0px;
    padding: 12px 20px 6px 20px;
    background: #97551A;
    border-radius: 150px 150px 0px 150px;
}
.top > a {
    right: auto;
    bottom: auto;
    top: -40px;
    border-radius: 0px 150px 150px;
}


footer > a img, .top > a img {
    opacity: 0.5;
    width: 10vw;
    max-width: 100px;
    min-width: 70px;
}

@media screen and (max-width: 767px) {
    footer div.two a:first-child {
        display: none;
    }

    header {
        padding: 5px 10px 0;
        height: 85px;
    }

    header > div {
        width: 100%;
    }

    #main {
        display: block;
        min-height: 440px;
        height: calc(100vh - 166px);
    }

    .left, .right {
        flex: none;
        width: 100%;
        height: calc(50vh - 83px);
        min-height: 220px;
    }
}
