﻿body {
    background: #eef3f9;
    font-family: 'Fira Sans','Open Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #444;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
}

h2 {
    color: #2d5677;
    font-size: 1.5em;
}

ul li,
ol li {
    margin-bottom: 8px;
}


@media (max-width: 767px) {
    
}


/* HEADER */

header {
    position: relative;
    background: #77A49F;
    height: 155px;
    box-shadow: 0px -3px 10px #000;
    z-index: 10;
}


.logo img {
    margin-left: -15px;
}


#menubutton {
    display: none;
}

.menu-mobile {
    display: none;
}

.menu {
    height: 114px;
    line-height: 114px;
    text-align: right;
    color: #fff;

}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;

}

.menu ul li {
    display: inline-block;
    margin: 0 5px;
    color: #fff;

}

.menu ul li a {
    padding: 12px 15px 9px 15px;
    font-size: 1.2em;
    color: #fff;


}

.menu ul li a:hover {

    text-decoration: none;
    color: #fff;

}

.menu ul li.active a {
    color: #456963;

    text-decoration: none;
}

@media (max-width: 1199px) {
    
    .menu ul li {
        display: inline-block;
        margin: 0 2px;
        color: #fff;

    }
    
    .menu ul li a {
        padding: 12px 12px 9px 12px;
        font-size: 1.1em;
        color: #fff;
    }
    
}

@media (max-width: 991px) {
    
    header {
        height: 94px;
    }
    
    .menu {
        height: 94px;
        line-height: 94px;
        text-align: right;
        color: #fff;

    }
    
    .menu ul li {
        display: inline-block;
        margin: 0;
        color: #fff;

    }
    
    .menu ul li a {
        padding: 12px 12px 9px 12px;
        font-size: 0.9em;
        color: #fff;
    }
    
}

@media (max-width: 767px) {
    
    header {
        height: auto;
    }
    
    .logo {
        width: 318px;
    }
    
    #menubutton {
        float: right;
        height: 45px;
        width: 45px;
        margin-top: 10px;
        color: #fff;
        background: #D3E2E1;
        border: none;
        border-radius: 5px;
    }
    
    .menu-desktop {
        display: none;
    }
    
    .menu-mobile {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        height: auto;
        line-height: 50px;
        text-align: left;
        background: rgba(0,0,0,0.0);
        z-index: 100;
        overflow: hidden;
        transition: background 500ms;
        visibility: hidden;
    }
    .menu-mobile.open {
        display: block;
        background: rgba(0,0,0,0.5);
        transition: background 500ms;
        visibility: visible;
    }
    
    .menu ul {
        position: absolute;
        top: 0;
        right: -210px;
        width: 200px;
        bottom: 0;
        background: #fff;
        box-shadow: -3px 0 8px rgba(0,0,0,0.4);
        transition: right 500ms;
    }
    .menu.open ul {
        width: 200px;
        right: 0;
        transition: right 500ms;
    }
    
    .menu ul li {
        display: block;
        margin: 0 5px;
        color: #fff;

    }
    
    .menu ul li a {
        padding: 12px 12px 9px 12px;
        font-size: 1.1em;
        color: #fff;
    }
    
}



/* TOPIMAGE */

.topimage {
    height: auto;
}

.topimage img {
    width: 100%;
    height: auto;
}

.headline {
    position: absolute;
    margin-top: -120px;
    margin-left: -15px;
}

.headline:before {
    content: '';
    display: block;
    position: relative;
    top: 20px;
    width: 15px;
    height: 15px;
    background: url(../img/bg-wedge--h1.png) left bottom / 15px no-repeat;
}

.headline h1 {
    display: inline-block;
    padding: 20px 20px;
    background: #77A49F;
    color: #fff;
    font-size: 1.7em;
}


@media (max-width: 767px) {
    
    .headline {
        position: static;
        margin-top: 0;
    }
    
    .headline:before {
        display: none;
    }
    
    .headline h1 {
        width: 100%;
        font-size: 1.4em;
        padding-left: 30px;
        margin-top: 0;
    }
    
}



/* CONTENT */

.content {
    background: #eef3f9;
}

.content .container {
    background: #fff;
    padding-bottom: 20px;
}

.content p {
    font-weight: 400;
}


main {
    padding-bottom: 15px;
}



/* BREADCRUMB */

.bread-crumb {
    margin-bottom: 20px;
    margin-top: 20px;
}

.bread-crumb ol {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #999;
    font-size: 0.9em;
}

.bread-crumb ol li {
    display: inline-block;
}

.bread-crumb ol li:after {
    content: '\00a0\203A\00a0';
}

.bread-crumb ol li:last-child:after {
    content: '';
}

.bread-crumb ol li a {
    display: inline-block;
    color: #5e95c4;
}

.bread-crumb ol li {
    display: inline-block;
}



/* ASIDE */

.sidebar-heading {
    position: relative;
    right: 0;
}

.sidebar-heading:before {
    content: '';
    display: block;
    position: relative;
    top: 20px;
    width: 100%;
    width: calc(100% + 30px);
    height: 15px;
    background: url(../img/bg-wedge--aside.png) right bottom / 15px no-repeat;
}

.sidebar-heading h3 {
    display: block;
    width: calc(100% + 30px);
    padding: 15px 15px 12px 15px;
    background: #D3E2E1;
    color: #0f385a;
    font-size: 1.2em;
}

.sidebar-content {
    padding-left: 15px;
}


.sidebar-content .phone {
    display: inline-block;
    margin: 2px 0 0 10px;
    padding-left: 30px;
    font-size: 1.2em;
    color: #337ab7;
    background: url(../img/icon-phone.svg) left center no-repeat;
}

.sidebar-content .mail {
    display: inline-block;
    margin: 2px 0 0 10px;
    padding-left: 30px;
    font-size: 1.2em;
    text-decoration: underline;
    background: url(../img/icon-mail.svg) left center no-repeat;
}

.sidebar-content .map {
    display: inline-block;
    margin: 2px 0 0 10px;
    padding-left: 20px;
    font-size: 1.0em;
    color: #337ab7;
    background: url(../img/icon-map.svg) left 2px no-repeat;
    background-size: 15px;
}


@media (max-width: 767px) {
    
    .sidebar-heading:before {
        display: none;
    }
    
    .sidebar-heading h3 {
        width: auto;
        margin: 0 -15px;
    }
    
    .sidebar-content {
        padding: 15px 0;
    }
    
}



/* FOOTER */

footer {
    position: relative;
    height: 50px;
    padding: 10px 0;
    line-height: 30px;
    /*box-shadow: 0px 3px 10px #000;
    z-index: 10;
    color: #d9e6f1;
    background: #0f385a;*/
    font-weight: 300;
    font-size: 0.9em;
}

footer nav {
    text-align: right;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline-block;
    color: #ccc;
}

footer ul li a {
    color: #333;
    padding: 0 5px;
}

footer ul li a:hover {
    color: #000;
}


@media (max-width: 767px) {
    
    footer {
        text-align: center;
    }
    
    footer nav {
        text-align: center;
    }
    
}


/* JavaScript Width Probe*/

/* Bootstrap XS */
@media (max-width: 767px) { .js-width-probe {display: none; width: 767px;} }

/* Bootstrap SM */
@media (min-width: 768px) and (max-width: 991px) { .js-width-probe {display: none; width: 991px;} }

/* Bootstrap MD */
@media (min-width: 992px) and (max-width: 1199px) { .js-width-probe {display: none; width: 1199px;} }

/* Bootstrap LG */
@media (min-width: 1200px) { .js-width-probe {display: none; width: 1200px;} }