/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    font-family: 'Varela Round', sans-serif;
    background: #e1ddd2;
        line-height: 1.5; 
}

html, body{
    height:100%;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

a, a:visited { 
    cursor: pointer; 
    color: black; 
    text-decoration: none; 
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;        
}

body, nav a, nav a:visited { 
    color: #57585a;  
}

.red .color, .red a:hover, .red .pagecolor {
    color: #f84e5d;
}

.red header figure {
    background: url("../img/header-red.jpg") no-repeat;
}

.praxis header figure {
    background: url("../img/header-red2.jpg") no-repeat;
}

.blue .color, .blue a:hover, .blue .pagecolor {
    color: #009add;
}

.blue header figure {
    background: url("../img/header-blue.jpg") no-repeat;
}

.kontakt header figure {
    background: url("../img/header-blue2.jpg") no-repeat;
}

.orange .color, .orange a:hover, .orange .pagecolor {
    color: #ff5000;
}

.orange header figure {
    background: url("../img/header-orange.jpg") no-repeat;
}

.green .color, .green a:hover, .green .pagecolor {
    color: #6cc049;
}

.green header figure {
    background: url("../img/header-green.jpg") no-repeat;
}




/* ==========================================================================
   Content custom styles
   ========================================================================== */

.wrapper {
    position:relative;
    margin: 0 auto;
    width: 1020px;
    background: white;
    overflow: auto;
    min-height: 100%;
}

.content {
    padding: 0 50px;
}

header figure {
    width: 1020px;
    height: 357px;
}

html body .logo {
    margin: 20px 0 40px 0;
    float: left;
}

h1 {
    display: none;
}

h2 {
    font-weight: normal;
    font-size: 1.7em;
    padding-right: 160px;
}

table, th, td {
    vertical-align: top;
    font-size: 1.1em;
}
.text {
    font-weight: normal;
    font-size: 1.2em;
}

.text-portrait {
    font-weight: normal;
    font-size: 0.8em;
    vertical-align: top;
}

nav {
    float: right;
    width: 610px;
    margin-top: 23px;
}

nav ul {
    margin: 0;
    padding: 0;
    float: right;
}

nav ul li {
    float: left;
    margin-left: 37px;
    font-size: 1.3em;
}

section {
    float: left;
}

footer {
    padding: 30px 0;
}



















/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
    clear: both;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}