@font-face {
    font-family: 'Good-Times';
    src: url('../fonts/Good-Times.ttf.woff') format('woff'),
        url('../fonts/Good-Times.ttf.svg#Good-Times') format('svg'),
        url('../fonts/Good-Times.ttf.eot'),
        url('../fonts/Good-Times.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 18px;
}

/**
 * Typo & Standard UI-Elemente
 */

a {
    color: #77b82a;
}

a:hover,
a:focus {
    color: #89d130;
    text-decoration: none;
}

.lead {
    font-size: 24px;
    font-weight: 600;
}

h1,
h2 {
    color: #77b82a;
}

h3,
h4 {
    color: #9c9c9c;
}

.btn {
    padding: 6px 30px;
}

.btn-lg {
    padding: 12px 30px;
}

.btn-fluid {
    display: block;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    text-align: left;
    line-height: 32px;
}

@media(min-width: 768px) {
    .btn-fluid {
        margin-bottom: 0;
    }
}

.btn-fluid .fa {
    font-size: 32px;
    float: left;
    margin-right: 12px;
}

.btn-default {
    color: #fff;
    background-color: #77b82a;
    border-color: #80c42d;
}

.btn-default:focus,
.btn-default.focus {
    color: #fff;
    background-color: #89d130;
    border-color: #91de33;
}

.btn-default:hover {
    color: #fff;
    background-color: #89d130;
    border-color: #91de33;
}

.btn-default:active,
.btn-default.active {
    color: #fff;
    background-color: #89d130;
    border-color: #91de33;
}

.btn-silver {
    color: #77b82a;
    background: #fafafa;
    /* background-image: linear-gradient( #ffffff 0%, #f2f2f2 100% ); */
    border-color: #ccc;
    /* box-shadow: 2px 2px #e5e5e5; */
}

.btn-silver:hover,
.btn-silver:focus {
    color: #89d130;
    background: #f5f5f5;
    /* background-image: linear-gradient( #fff 0%, #ebebeb 100% ); */
}

/**
 * Layout
 */
.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.container-md {
    max-width: 970px;
}

/* .container-md .col-lg-3 {
  width: 50%;
} */
@media(min-width: 997px) {
    .container-md .hidden-lg {
        display: block !important;
    }
}

.container-xl {
    max-width: 1540px;
}

.container-padding {
    padding-top: 15px;
    padding-bottom: 15px;
}

@media(min-width: 768px) {
    .container-padding {
        padding-top: 48px;
        padding-bottom: 72px;
    }
}

main {
    padding-bottom: 80px;
}

body>footer {
    background-color: #77b82a;
    padding: 40px 0;
    color: #fff;
}

footer a {
    color: #fff;
}

footer a:hover,
a:focus {
    color: #ccc;
}


/**
 * Navigation
 */
.navbar {
    margin: 30px 0;
}

#logo {
    margin-left: 15px;
}

.nav>li>a {
    padding: 10px 30px;
}

nav .nav {
    margin-top: 28px;
}

nav .nav>li>a {
    font-size: 20px;
    color: #1d1d1b;
    padding: 10px 0;
    margin: 0 15px;
    border-bottom: 3px solid transparent;
}

nav .nav>li>a:hover,
nav .nav>li>a:focus {
    background-color: transparent;
    border-bottom-color: #77b82b;
}

.navbar-toggle {
    border-color: #ddd;
    margin-top: 18px;
    /* TODO: Korrekt an Grundlinie des "Helmes"-Schriftzugs ausrichten */
}

.navbar-toggle:hover,
.navbar-toggle:focus {
    background-color: #ddd;
}

.navbar-toggle .icon-bar {
    background-color: #888;
}


/**
 * -
 */
header h1 {
    display: block;
    background-color: #77b82a;
    width: 100%;
    margin: 0;
    padding: 32px 0 22px;
    font-family: 'Good-Times', Segoe UI, Helvetica, sans-serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 42px;
    line-height: 1.0;
    color: #fff;
}

figure figcaption {
    color: #1d1d1b;
    text-align: center;
}

a.thumbnail {
    text-decoration: none;
}

a.thumbnail:hover,
a.thumbnail:focus {
    background-color: #fafafa;
    border-color: #89d130;
}

blockquote {
    font-size: 18px;
    border: 0;
    font-style: italic;
}

/**
 * Panel
 */
.panel-grey {
    height: 100%;
    margin: 0;
    padding: 80px 20px 20px;
    background: #f2f2f2;
    border-radius: 0;
}

.panel-grey h2 {
    font-size: 30px;
    margin: 12px 0 32px;
}

.panel-grey summary {
    margin: 32px 0;
}

.panel-body {
    padding: 30px;
}


.tab-content {
    border: 1px solid #ddd;
    border-top-color: transparent;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.tab-content .tab-pane {
    padding: 30px;
}

.img-fluid {
    width: 100%;
    height: auto;
}

/**
 * Layout fixes
 */
#portraet .thumbnail {
    margin-top: 20px;
}

@media(min-width: 768px) {
    #portraet .thumbnail {
        margin-top: 42px;
    }
}

/**
 * Leistungen
 */
#leistungen .overlay {
    position: relative;
}

@media(min-width: 992px) {
    #leistungen .overlay {
        border: 0;
    }

    #leistungen .overlay>li {
        float: none;
        margin-bottom: 0;
        position: static;
    }
}

#leistungen .fa {
    font-size: 42px;
    color: #9d9d9c;
}

#leistungen .overlay .fa:hover {
    color: #77b82a;
}

@media(min-width: 992px) {
    #leistungen .overlay .fa {
        font-size: 28px;
    }

    #leistungen .active .fa {
        color: #77b82a;
    }

    #leistungen .overlay a {
        position: absolute;
        background: transparent;
        padding: 0;
        border: 0;
    }

    #leistungen .overlay a:nth-child(1) {
        top: 43%;
        left: 38%;
    }

    #leistungen .overlay a:nth-child(2) {
        top: 48%;
        left: 53%;
    }
}

@media(min-width: 1170px) {
    #leistungen .overlay .fa {
        font-size: 32px;
    }
}

/**
 * Anfahrt/Karte
 */
/* Google Maps scroll fix */
#map {
    /*margin-bottom: 72px;*/
}

.scrolloff {
    pointer-events: none;
}

@media(max-width: 767px) {

    /* Map height fix for mobile devices */
    #map .embed-responsive {
        padding-bottom: 100%;
    }
}

.embed-responsive-21by6 {
    padding-bottom: 28.571428571428571428571428571429%;
}

.embed-responsive-4by1 {
    padding-bottom: 25%;
}

.embed-responsive-5by1 {
    padding-bottom: 20%;
}

/**
 * Kontakt
 */
@media(min-width: 768px) {
    .contact-button-label {
        display: inline-block;
        width: 80px;
    }
}

#qrcode {
    width: 100%;
    height: auto;
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: pixelated;
}