@font-face {
    font-family: 'NCCFutura';
    src: url('http://dev.thegeneration.se/ncc-landing/fonts/nccfutura-medium-webfont.eot');
    src: url('http://dev.thegeneration.se/ncc-landing/fonts/nccfutura-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://dev.thegeneration.se/ncc-landing/fonts/nccfutura-medium-webfont.woff2') format('woff2'),
         url('http://dev.thegeneration.se/ncc-landing/fonts/nccfutura-medium-webfont.woff') format('woff'),
         url('http://dev.thegeneration.se/ncc-landing/fonts/nccfutura-medium-webfont.ttf') format('truetype'),
         url('http://dev.thegeneration.se/ncc-landing/fonts/nccfutura-medium-webfont.svg#ncc_futuramedium') format('svg');
    font-weight: 500;
    font-style: normal;
}

html,
body {
    height: 100%;
}

body {
    background-color: #ededed;
    margin: 0;
}

p,
h1 {
    margin: 0;
}

a {
    color: #2375bb;
}

.header {
    background-color: #ffffff;
    height: 80px;
}

.footer {
    background-color: #2375bb;
    color: #ffffff;
    height: 30px;
}

.footer p {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-left: 72px;
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.container {
    padding-top: 125px;
    position: relative;
    min-height: 100%;
    /* equal to footer height */
    margin-bottom: -30px;
    padding-left: 5%;
    padding-right: 5%;
}

.container:after {
    content: "";
    display: block;
    clear: both;
}

.footer,
.container:after {
    height: 30px;
}

.greeting {
    text-align: center;
    margin-bottom: 62px;
}

.greeting h1 {
    color: #2375bb;
    font-size: 60px;
    margin-bottom: 40px;
    font-family: 'NCCFutura', sans-serif;
    font-weight: 500;
}

.greeting p {
    color: #9a9a9a;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    line-height: 32px;
}

.sections {
    height: 360px;
    margin: 0 auto;
    left: 0;
    right: 0;
    position: relative;
}

.eng, .swe, .fin, .nor, .den, .rus {
    background-color: #ffffff;
    height: 390px;
    width: 32.333333%;
    float: left;
    margin-right: 1%;
    margin-bottom: 1%;
    text-align: center;
    line-height: 27px;
}

.header img {
    height: 90px;
    height: 35px;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-left: 72px;
}

.sections img {
    margin-top: 20px;
    border-bottom: 2px solid #55c400;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.sections li {
    text-align: left;
    list-style: none;
    padding-left: 20px;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.sections a:hover {
    text-decoration: none;
}

.sections ul {
    padding: 0;
    margin: 0;
}

@media only screen and (min-width: 1300px) {

    .sections li {
        font-size: 14px;
        line-height: 30px;
    }

}

@media only screen and (min-width: 1500px) {

    .sections li {
        font-size: 16px;
        line-height: 32px;
    }
    
}

@media only screen and (max-width: 980px) {

    .eng,
    .swe,
    .fin,
    .nor,
    .den,
    .rus {
        width: 32.3%;
    }

    .greeting p {
        font-size: 16px;
    }

    .sections li {
        font-size: 16px;
        line-height: 32px;
    }

}

@media only screen and (max-width: 767px) {

    .eng,
    .swe,
    .fin,
    .nor,
    .den,
    .rus {
        width: 49%;
    }

    .greeting p {
        font-size: 16px;
        padding: 0px 30px;
    }

    .container {
        padding-top: 62px;
    }

}

@media only screen and (max-width: 479px) {

    .header {
        text-align: center;
    }

    .header img {
        margin-left: 0;
    }

    .eng,
    .swe,
    .fin,
    .nor,
    .den,
    .rus {
        width: 99%;
        height: auto
    }

    .greeting h1 {
        font-size: 50px;
    }

    .sections li {
        font-size: 16px;
    }

    .sections ul {
        padding-bottom: 25px !important;
    }

    .footer {
        height: 50px;
    }

    .footer p {
        font-size: 22;
    }

    .container {
        margin-bottom: -50px;
    }

    .footer,
    .container:after {
        height: 50px;
    }

}