﻿body,
body *,
html,
html * {
    box-sizing: border-box;
}

body {
    padding: 0px 0px 2em 0px;
    margin: 0px;
    background: #f0f0f0;
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6, p {
    padding: 0px 0px 1em 0px;
    margin: 0px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.4em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1.1em;
}

hr {
    border: none;
    padding: 0px;
    margin: 1em 0px;
    height: 1px;
    background: #d2d2d2;
}

a {
    text-decoration: underline;
    color: #cb1e24;
}

.clear {
    clear: both;
}

.noFloat {
    float: none !important;
}

.leftFloat {
    float: left !important;
}

.topMargin {
    margin-top: 2em !important;
}

div.errorMessage {
    padding-bottom: 1em;
    color: #cb1e24;
}

div.successMessage {
    padding-bottom: 1em;
    color: #1ecb24;
}

div#header {
    width: 100%;
    height: 256px;
    background: #cb1e24;
}

div#headerContent {
    width: 100%;
    max-width: 980px;
    position: relative;
    margin: 0px auto;
}

a#headerLogo {
    display: block;
    position: absolute;
    cursor: pointer;
    background: url(../images/main/header_logo.png) no-repeat center center;
    width: 100%;
    height: 94px;
    top: 50px;
}

div#headerText {
    color: #ffffff;
    text-decoration: none;
    position: absolute;
    width: 100%;
    height: 100px;
    top: 158px;
    font-size: 2.5em;
    text-align: center;
    line-height: 100%;
}

div#headerText a {
    color: #ffffff;
    text-decoration: none;
}

div#content {
    position: relative;
    z-index: 1;
    width: 96%;
    max-width: 980px;
    padding: 10px 10px 2em 10px;    
    color: #333333;
    font-size: 1em;
    background: #ffffff;
    border-radius: 6px;
    margin: -30px auto 0px auto;
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

a#navigationTrigger {
    display: block;
    cursor: pointer;
    width: 127px;
    height: 30px;
    background: url(../images/main/menu.png) no-repeat;
    position: absolute;
    z-index: 2;
    left: 10px;
    top: 10px;
}

div#loginInformation {
    position: absolute;
    font-size: 0.8em;
    color: #ffffff;
    top: 10px;
    right: 10px;
}

ul#navigation {
    display: none;
    z-index: 2;
    position: absolute;
    left: 10px;
    top: 50px;
    list-style: none;
    background: #ffffff;
    border-radius: 6px;
    width: 320px;
    max-width: 100%;
    padding: 0px 10px;
    margin: 0px;
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

ul#navigation li {
    border-top: 1px solid #333333;
    padding: 0px;
    margin: 0px;
}

ul#navigation li:first-child {
    border: none;
}

ul#navigation li a {
    display: block;
    width: 100%;
    padding: 20px 10px; 
    color: #333333;    
    text-decoration: none;
}

ul#navigation li.active a {
    font-weight: bold;
}

.column {
    float: left;
    width: 50%;
    padding-right: 1em;
}

.column + .column {
    padding-right: 0px;
    padding-left: 1em;
}

.filter .column {
    font-size: 0.9em;
    float: left;
    width: 25%;
    padding: 0px 1em 0px 0px;
}

@media (min-width: 801px)
{
    .filter .column:nth-child(4n) {
        padding-right: 0px;
    }
}

@media (min-width: 641px) and (max-width: 800px) {
    .filter .column {
        width: 33.33333%;
    }

    .filter .column:nth-child(3n) {
        padding-right: 0px;
    }
}

@media (min-width: 481px) and (max-width: 640px) {
    div #headerText {
        font-size: 2em;
    }

    ul#navigation {
        width: calc(100% - 20px);
    }

    .column,
    .column + .column {
        padding: 0px;
        float: none;
        width: 100%;
    }

    .filter .column {
        width: 50%;
        float: left;
        padding-right: 1em;
    }

    .filter .column:nth-child(2n) {
        padding-right: 0px;
    }
}

a.button {
    color: #ffffff;
    background: #cb1e24;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    display: block;
    text-decoration: none;
    padding: 0.4em 0.8em;
    margin: 0px 0px 2em 0px;
    font-size: 0.8em;
    padding: 1em 0px;
    width: 40%;
    display: block;
    cursor: pointer;
}

@media (max-width: 640px) {
    a.button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .filter .column {
        float: none;
        width: 100%;
        padding: 0px;
    }
}