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

.header { z-index:99; }
.nav { position:relative; z-index:2; }
.maincontent { position:relative; background:#fff; z-index:1;}

ul.check li { 
    list-style-image:url("../images/check.svg");
    padding:5px 0 0;
    margin:0;
}
@media (max-width: 576px) {
    .intro.verfahren { background:#333 url('../images/verfahren-s.jpg') center center; }
    .intro.ueberuns { background:#333 url('../images/ueberuns/ueberuns.jpg') center center; }
    .intro.kontakt { background:#333 url('../images/vorher-nachher-s.jpg') center center; }
    .intro.partner { background:#333 url('../images/partner.jpg') center center; }
    .intro.standorte { background:#333 url('../images/standorte-s.jpg') center center; }
    .intro.e404 { background:#333 url('../images/404-s.jpg') center center; }
}
@media (min-width: 576px) {
    .intro.verfahren { background:#333 url('../images/verfahren.jpg') center center; }
    .intro.ueberuns { background:#333 url('../images/ueberuns/ueberuns.jpg') center center; }
    .intro.kontakt { background:#333 url('../images/vorher-nachher.jpg') center center; }
    .intro.partner { background:#333 url('../images/partner.jpg') center center; }
    .intro.standorte { background:#333 url('../images/standorte.jpg') center center; }
    .intro.e404 { background:#333 url('../images/404.jpg') center center; }
}

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

.intro .container > div {
    color:#fff;
    min-height:500px;
    width: 100%;
}

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

.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: #005089;
}

a:hover {
    color: #00b0e0;
}

.footer {
    /* Set the fixed height of the footer here */
    /* Vertically center the text there */
    background: #003b61;
    color:#fff;
    padding: 15px 0;
}

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

.footer a, a.intro {
    color:#ffeeb2;
    text-decoration: none;
}

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

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

.btn-secondary {
    background: transparent;
    border-width: 2px;
    color: #ffeec7;
}

.bs {
    display: none;
}

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

.footer hr {
    border-top: 1px solid #fff;
    margin: 2rem 0;
}
body,
.btn {
    font-size: 1rem;
}

body {
    background: #fff;
    background-size: cover;
    color: #333;
    font-family: 'Verdana', 'Arial', 'Helvetica', sans-serif;
    transition: background 0.5s linear;
}

.fullwidth {
    width: 100%;
    padding: 0 15px;
}

.card-header {
    background: #0003;
}

.card-header h2,
.card-header h3,
.card-header h4 {
    margin-bottom: 0;
}

.text-secondary {
    color: #fcf7d788!important;
    font-size: 0.9rem;
}


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

.raised2 {
    box-shadow: 0 3px 6px -2px #000b;
}

.raised3 {
    box-shadow: 0 4px 11px -3px #000d;
}

.raised4 {
    border: 5px solid #000;
    box-shadow: 0 7px 30px 2px #000d;
}


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

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

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

.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;
}

#search-top {
    min-width: 50%;
}

#search-top .form-control {
    width: 100%;
    height: 40px;
}

#search-top .material-icons {
    margin-left: -28px;
}

.bb {
    border-bottom:3px solid #fff;
}
.bt {
    border-top:3px solid #fff;
}
.navbar {
    padding: 0;
    border-bottom:3px solid #fff;
    z-index:999;
}

.avatar {
    width: 48px;
    border-radius: 50%;
}

.avatar.large {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    float: left;
    margin-right: 10px;
}

.dropdown-item {
    padding: 0.5rem 5rem 0.5rem 1rem;
    color: #005f9b;
}

.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: #00b0e0;
}

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

#schimmel {
    width: 100%;
    height: calc(100vw/3);
    min-height:400px;
    background:url("../images/schimmel.avif");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bluebox {
    background:#005f9b;
    color:#fff;
}
.text-blue {
    color:#005f9b;
}

.greybox {
    background:#333;
    color:#fff;
}


.card h3 {
    margin-top:0;
}
.navbar-toggler {
    border: 3px solid #005f9b !important;
    border-radius: 10px;
    position: absolute;
    right:calc(100vw/10 - 16px);
    top:calc(100vw/10 - 15px);
    background: #fff;
    outline: none !important;
}

.navbar-toggler-icon {
    width:24px;
    height:24px;
}

.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, 95, 155, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link {
    padding: 10px 30px !important;
    color: #fff !important;
    font-size: 1.2em;
}

.btn {
    min-width: 1.2rem;
    text-transform: none;
    border-radius:50px;
}

.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;
}

.flashalert {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
}

.flashalert .alert {
    padding-top: 70px;
    border-radius: 0;
}


/** MODAL LEFT / RIGHT **/

.modal.left .modal-dialog {
    position: fixed;
    margin: auto;
    width: 320px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left.fade .modal-dialog {
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.show .modal-dialog {
    left: 0;
}

.popover {
    box-shadow: 2px 2px 12px 1px rgba(0, 0, 0, 0.7)
}

.popover-header {
    color: #000b;
    background: #f4f4d0;
}

.popover-body {
    color: #000b;
    background: #f8f8ed;
}

.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    right: 0;
    width: 500px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.right.fade .modal-dialog {
    right: -320px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
    right: 0;
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
    margin-top: 0;
    border-radius: 0;
    border: 0;
}

.modal.left .modal-header,
.modal.right .modal-header {
    background: #20303322;
    box-shadow: 0 0 2px 1px #0008;
    border-radius: 0;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
}

.tracker-card {
    border: 0;
}

.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;
}

.carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0px;
    left: 0;
    z-index: 10;
    padding-top: 10px;
    padding-bottom: 40px;
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,0.7);
}

.carousel-indicators {
    bottom:0;
    margin-bottom:0.3rem;
}

.carousel-indicators li {
    width: 8px;
    height: 8px;
    margin-right: 5px;
    margin-left: 5px;
    border-radius: 50%;
}

/** ENDE MODAL LEFT / RIGHT **/

@media (max-width: 576px) {
    h1 {
        font-size:1.5rem;
    }
    h2 {
        font-size:1.35rem;
    }
    h3 {
        font-size:1.2rem;
    }
    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    .modal.right .modal-dialog {
        width: 100% !important;
    }
    
    .btn,
    .form-control {
        font-size: 0.8rem;
    }
    nav .container {
        padding: 0;
    }
    img.xs-full {
        width: 100% !important;
        margin: 15px 0 !important;
    }
}

@media (min-width: 576px) {
    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (max-width: 767px) {
    header {
        width:100vw;
        position:fixed; top:0;
        z-index: 9999;
        box-shadow:0 0 2px 2px #000;
        box-shadow: 0px 3px 7px -3px #000;
    }
    body {
        margin-top: calc(100vw * 0.21484375);
    }
    .navbar-nav {
        border-top:3px solid #fff;
    }
}

@media (min-width: 768px) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
    .navbar-nav {
        background: #005f9b;
        border-radius: 50px;
        padding: 0;
        border: 3px solid #fff;
        margin-top: 0px;
        box-shadow: 0 0 8px -2px #000;
        position: absolute;
        overflow:hidden;
    }

    .navbar-nav a:hover,
    .navbar-nav .active {
        background:rgba(0,0,0,0.3);
    }

    .navbar-nav li {
        border-left:3px solid #fff;
    }

    .navbar-nav li:first-child {
        border-left:none;
    }
}

@media (min-width: 992px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
    .w-md-50 {
        width:50%;
    }
    .large { font-size: 1.2em; }
}

@media (min-width: 1200px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 100%;
        max-width: 100%;
    }
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
    display:none;
}
.hidden-xs,
.hidden-sm,
.hidden-md,
.hidden-lg {
    display:block;
}
@media (max-width: 576px) {
    .visible-xs { display:block !important; }
    .hidden-xs { display:none !important; }
    .w-xs-50 { width: 50% !important; }
    .w-xs-75 { width: 75% !important; }
}
@media (min-width: 576px) and (max-width: 768px) {
    .visible-sm { display:block !important; }
    .hidden-sm { display:none !important; }
    .w-sm-50 { width: 50% !important; }
    .w-sm-75 { width: 75% !important; }
}

.btn-primary {
    color: #fff;
    background-color: #005f9b;
    border-color: #005f9b;
}