html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

.header { z-index:2; }
.nav { position:relative; z-index:2; }
.maincontent { position:relative; background:#fefefe; padding: 15px 0; z-index:1;}

ul.check li { 
    list-style-image:url("../images/check.svg");
    padding:5px 0 0;
    margin:0;
}
@media (max-width: 34em) {
    .intro.home { background:#333 url('../images/home-s.jpg') center center; }
    .intro.ueberuns { background:#333 url('../images/ueberuns-s.jpg') center center; }
    .intro.leistungen { background:#333 url('../images/leistungen-s.jpg') center center; }
    .intro.kontakt { background:#333 url('../images/kontakt-s.jpg') center center; }
    .intro.e404 { background:#333 url('../images/404-s.jpg') center center; }
}
@media (min-width: 34em) {
    .intro.home { background:#333 url('../images/home-m.jpg') center center; }
    .intro.ueberuns { background:#333 url('../images/ueberuns-m.jpg') center center; }
    .intro.leistungen { background:#333 url('../images/leistungen-m.jpg') center center; }
    .intro.kontakt { background:#333 url('../images/kontakt-m.jpg') center center; }
    .intro.e404 { background:#333 url('../images/404-m.jpg') center center; }
    .intro h1 { font-size:4em !important; }
    .intro h2 { font-size:3em !important; }
}
@media (min-width: 62em) {
    .intro.home { background:#333 url('../images/home.jpg') center center; }
    .intro.ueberuns { background:#333 url('../images/ueberuns.jpg') center center; }
    .intro.leistungen { background:#333 url('../images/leistungen.jpg') center center; }
    .intro.kontakt { background:#333 url('../images/kontakt.jpg') center center; }
    .intro.e404 { background:#333 url('../images/404.jpg') center center; }
    .intro h1 { font-size:4em !important; }
    .intro h2 { font-size:3em !important; }
}


.intro {
    background-size: cover !important;
    position:relative;
    z-index: 0;
}

.intro .container > div {
    color:#fff8e3;
    min-height:500px;
    width: 100%;
    text-shadow:
        2px 2px 4px #000,
        -2px 2px 4px #000,
        2px -2px 4px #000,
        -2px -2px 4px #000,
        0 0 30px #000;
}

.intro .container > div .btn {
    text-shadow: none;
}

.btn-primary {
    color: #fff;
    background-color: #0054a6;
    border-color: #0054a6;
}

.btn-primary:hover,
.btn-primary:active {
    color: #fff;
    background-color: #583d0f !important;
    border-color: #583d0f !important;
}

.intro .container > div h1 {
    font-size: 2rem;
}
.intro .container > div h2 {
    font-size: 1.75rem;
}
.intro .container > div h3 {
    font-size: 1.5rem;
}
.intro .container > div p {
    font-size: 1.25rem;
}

.bg-primary {
    background-color: #005e9a!important;
}
.bg-primary h4 {
    color:#fff;
}
a {
    color: #0054a6;
}

a:hover {
    color: #604210;
}

.footer {
    background: #CCC;
    border-top: 1px solid #222;
    color:#222;
    padding: 15px 0;
}

.footer .float-left a,
.footer a.footerlink {
        line-height:32px;
}

.footer a {
    color:#222;
    text-decoration: none;
}

.footer h4 {
    color:#0054a6;
    text-decoration: none;
}

.nav a.active {
    background:#005e9a;
    color:#fff;
}

@media (max-width: 48em) {
    .nav .d-flex { display:block !important; }
    .nav a {
        display:block;
        margin-top:0;
        border-radius:0;
    }
}

.bs {
    display: none;
}

hr {
    border-top: 1px solid #888;
}

body,
.btn {
    font-size: 1rem;
}

body {
    background: #fefefe;
    background-size: cover;
    color: #444;
    font-family: 'IBM Plex Sans', 'Arial', 'Helvetica', sans-serif;
    margin: 84px 0 0;
    transition: background 0.5s linear;
}


.raised {
    box-shadow: 0 2px 3px -1px #000a;
}

.btn.raised:hover {
    box-shadow: none !important;
}

.form-submit {
    text-align: right;
}

nav {
    background: #ffffff;
    color:#005f9b;
}

.form-control {
    color: #444;
    background:#eee;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #003456;
}

h3, h4, h5, h6 {
    margin-top:1.5rem;
}
h1 {
    font-size:2rem;
    line-height: 1.5;
}
h2 {
    font-size:1.75rem;
    line-height: 1.5;
}
h3 {
    font-size:1.5rem;
    line-height: 1.5;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #440;
    -webkit-box-shadow: 0 0 0px 1000px #fbd75b14 inset;
    transition: background-color 5000s ease-in-out 0s;
    border: 0;
    border-bottom: 1px solid #f39200;
}

.form-control:focus {
    background: #eee8;
    color: #000000;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #f39200;
    box-shadow: none !important;
}

.navbar {
    padding: 0.2rem 1rem;
    border-bottom: 1px solid #aaa;
    background:#fff;
}

.dropdown-item {
    padding: 0.5rem 5rem 0.5rem 1rem;
    color: #0054a6;
    white-space: nowrap;
    min-width:200px;
}

.dropdown-divider {
    border-color: #444;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background: transparent;
    color: inherit;
}

a.dropdown-item:focus,
a.dropdown-item:hover {
    background: transparent;
    color: #a00;
}

.card {
    background-color: #fff;
    margin-bottom:30px;
}

.card h3 {
    margin-top:0;
}
.navbar-dark .navbar-toggler {
    border: 0;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 84, 166, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.btn {
    min-width: 1.2rem;
    text-transform: none;
}

.btn-group-xs>.btn,
.btn-xs {
    padding: .5rem .5rem;
    font-size: .675rem;
    line-height: .5;
    border-radius: .2rem;
}

.fixed-bottom .btn {
    border-radius: 0 !important;
    border-left: 1px solid #fff2 !important;
    border-right: 1px solid #000a !important;
    text-transform: none;
    background: #20303e;
    margin-left: 0 !important;
}

.fixed-bottom .btn:first-child {
    border-left: 0 !important;
}

.fixed-bottom .btn:last-child {
    border-right: 0 !important;
}

.fixed-bottom .btn i {
    margin-bottom: 5px;
}

.btn-bordered {
    border: 1px solid #ccc;
}

.alert ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.hidden {
    display: none !important;
}

.btn-group {
    margin: 0;
}

.btn-group .btn {
    margin: 0;
}

.fixed-top .navbar-brand,
.fixed-bottom .btn {
    color: #005f9b !important;
}

.subproject:last-child {
    margin-bottom: 0 !important;
}

input::placeholder {
    /* Chrome/Opera/Safari */
    color: #888 !important;
}

input::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #888 !important;
}

input::-moz-placeholder {
    /* Firefox 19+ */
    color: #888 !important;
}

input::-ms-input-placeholder {
    /* IE 10+ */
    color: #888 !important;
}

input::-moz-placeholder {
    /* Firefox 18- */
    color: #888 !important;
}

@media (max-width: 34em) {
    .hidden-xs {
        display: none;
    }
    .btn,
    .form-control {
        font-size: 0.8rem;
    }
    nav .container {
        padding: 0;
    }
}

@media (min-width: 34em) {
    .visible-xs {
        display: none;
    }
}

@media (max-width: 75em) {
    .container {
        width: 100%;
        max-width: 100%;
    }
}