body {
    font-family: 'Lato', sans-serif;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    clear: both;
}

#logo .container {
    height: 40px;
}

#logo {
    border-bottom: 1.5px solid #cd042e;
    margin-top: 10px;
    margin-bottom: 10px;
}

#logo img {
    height: 100%;
    position: absolute;
    right: 1em;
    top: 20%;
}

footer {
    border-top: 1px dotted #ccc;
    font-size: 0.8em;
    color: #999;
}

footer p {
    padding: 10px 20px;
}

.box,
.pad {
    box-sizing: border-box;
    padding: 20px 20px;
}

.box {
    margin: 0;
}

.pad h1,
.box h1 {
    margin-top: 0;
}

.lang-switch ul,
.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.menu li,
.lang-switch li {
    display: inline-block;
    position: relative;
}

a:visited,
a {
    color: #cd042e;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.menu li a,
.lang-switch li a {
    color: #cd042e;
    font-weight: 100;
    font-size: 17px;
    text-decoration: none;
    border-radius: 7px;
}

#root .active a {
    border: 1px solid #eee;
    color: #000;
}

.lang-switch a {
    padding: 10px 10px;
}

.menu li a {
    padding: 0.4em 0.6em;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.menu li a[href]:hover,
.lang-switch a[href]:hover {
    background-color: #eee;
}

li,
p {
    line-height: 1.5em;
}

#yield>iframe,
#yield>img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
}

.menu li {
    margin-bottom: 0.2em;
}

@media (max-width:1023px) {
    .menu li {
        text-align: center;
        width: 47%;
        margin: 0.1em 1% 0.1em 1%;
    }
    .lang-switch {
        text-align: center;
        margin-top: 20px;
    }
    .box.leftrow {
        padding: 10px;
    }
}

@media (min-width:550px) {
    .menu li a,
    .lang-switch li a {
        font-size: 20px;
    }
    h1,
    h2,
    h3 {
        font-weight: 100;
    }
    h1 {
        font-size: 3.2em;
    }
    h2 {
        font-size: 1.9em;
        padding-bottom: 0.3em;
        border-bottom: 1px solid #cd042e;
    }
    h3 {
        font-size: 1.4em;
    }
}

h2 {
    font-weight: 100;
    font-size: 1.9em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #cd042e;
}

@media (min-width:1024px) {
    .leftrow {
        width: 25%;
    }
    .rightrow {
        width: 74%;
    }
    .box {
        display: inline-block;
        vertical-align: top;
    }
    #logo .container {
        height: 55px;
    }
    .menu li a {
        font-size: 24px;
        padding: 0.4em 1em;
    }
    .menu li {
        width: 100%;
    }
    .lang-switch {
        margin-top: 40px;
        margin-left: 20px;
    }
}

h1 {
    text-align: center;
    margin-bottom: 0.8em;
}

h1.sub {
    font-weight: 600;
    font-size: 1.5em;
    text-transform: uppercase;
    margin-top: -0.8em;
    margin-bottom: 1.2em;
}

li {
    margin-bottom: 0.2em;
}

#yield {
    min-height: 200px;
}