/*
 * Gestaltung der Website Schreinerei Mühlbauer
 * (aufbauend auf Bootstrap 3.3.6, siehe bootstrap.css)
 *
 * Aufbau: 1. Schriften  2. Grundlayout  3. Kopfbereich & Navigation
 *         4. Inhalt     5. Fußbereich   6. Slider  7. Instagram & Einbettungen
 *         8. Anpassungen für Tablet und Smartphone
 */

/* ---------- 1. Schriften (lokal) ---------- */
@font-face {
    font-family: 'texgyreadventor';
    src: url('../fonts/texgyreadventor-regular.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'texgyreadventor';
    src: url('../fonts/texgyreadventor-bold.woff') format('woff');
    font-weight: bold;
    font-display: swap;
}
@font-face {
    font-family: 'texgyreadventor';
    src: url('../fonts/texgyreadventor-bolditalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'texgyreadventor';
    src: url('../fonts/texgyreadventor-italic.woff') format('woff');
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/open-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/open-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 2. Grundlayout ---------- */
body {
    font-family: 'Open Sans', Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: texgyreadventor, 'Open Sans', Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #7c2327;
}
.container {
    width: 100%;
    max-width: 1200px;
    color: #44484c;
}
.body-bg {
    background: #FFF;
}
/* Startseite: Hintergrundbild füllt das Fenster (früher per JavaScript "backstretch") */
.body-bg.page2 {
    background: url(../img/common/hintergrund.jpg) no-repeat center center fixed;
    background-size: cover;
}
.ms-10 {
    margin-left: 10px;
}

/* ---------- 3. Kopfbereich & Navigation ---------- */
.navbar .frame {
    margin: 0;
    padding: 0;
}
.navbar-default {
    background: #ffffff url(../img/common/hg-header.jpg) repeat-x;
}
.navbar.navbar-default {
    border: 0 !important;
}
.navbar-default > .container {
    position: relative;
}
.navbar-brand img {
    max-width: 100%;
    height: auto;
}
.adresse {
    position: absolute;
    width: 400px;
    height: 140px;
    padding-top: 30px;
    top: 0;
    right: 100px;
    z-index: 10;
    background-image: url(../img/common/content-bg2.png);
    background-position: 100px 10px;
    background-repeat: no-repeat;
    overflow: hidden;
}
.navbar-main > li > a {
    font-family: texgyreadventor, 'Open Sans', Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-transform: none;
    color: #44484c;
}
.navbar-default .navbar-nav > li > a {
    color: #44484c;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #444;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: #7c2327;
}

/* ---------- 4. Inhalt ---------- */
.main-section {
    background: url(../img/common/hintergrund.jpg) no-repeat bottom center;
}
.body-bg.page2 .main-section {
    background: none;
}
.main-section > section > .container {
    padding: 50px 100px;
}
.main-section > section > .container a {
    font-weight: 700;
}
.main-section .nomargin .frame {
    margin: 0;
}
.main-section .list-unstyled {
    margin: 0;
    padding: 0 0 0 50px;
    list-style-type: none;
}
.main-section .list-unstyled li {
    line-height: 25px;
    background: url(../img/common/li.png) no-repeat left top;
    height: auto;
    padding-left: 40px;
    min-height: 25px;
    max-height: 50px;
}
.themen .item {
    margin-bottom: 25px;
    position: relative;
}
.themen .item:hover img {
    filter: brightness(75%);
}
.mfp-figure img,
.thumbnail img,
.magnificpopup img,
.image > img,
.image a > img {
    display: block;
    padding: 4px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
}
.mfp-bottom-bar {
    padding: 0 10px;
}
.mfp-counter {
    position: absolute;
    top: 0;
    right: 10px;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}
.thumbnail {
    display: block;
    padding: 0;
    margin-bottom: 24px;
    line-height: 1.55;
    background: none;
    border: 0;
    border-radius: 0;
}

/* ---------- 5. Fußbereich ---------- */
.footer-section,
.meta-section {
    background-color: #d3d3d3;
    border: 0;
    padding: 15px 0;
    margin: 0;
}
.footer-section a,
.meta-section a {
    color: #44484c;
}
.footer-section ul {
    padding-left: 20px;
}
/* Button "Cookie-Einstellungen" sieht aus wie die übrigen Fußzeilen-Links */
.cookie-settings-link {
    padding: 0;
    border: 0;
    background: none;
    color: #44484c;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
}
.cookie-settings-link:hover,
.cookie-settings-link:focus {
    color: #7c2327;
}

/* ---------- 6. Slider (jssor) ---------- */
.slider-section .container {
    padding: 0;
    margin: 0 auto;
}
.jssor-slider {
    position: relative;
    margin: 0 auto;
    top: 0;
    left: 0;
    width: 1200px;
    height: 660px;
    overflow: hidden;
    visibility: hidden;
}
.jssor-slides {
    position: relative;
    top: 0;
    left: 0;
    width: 1200px;
    height: 600px;
    overflow: hidden;
    cursor: default;
}
.jssor-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/common/loading.gif) no-repeat center center;
}
.jssor-thumbs-veil {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.3;
}
.jssort03 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1200px;
    height: 60px;
}
.jssort03 [data-u="slides"] {
    cursor: default;
}
.jssort03 .p {
    position: absolute;
    top: 0;
    left: 0;
    width: 102px;
    height: 52px;
}
.jssort03 .t {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.jssort03 .w,
.jssort03 .pav:hover .w {
    position: absolute;
    width: 100px;
    height: 50px;
    border: white 1px dashed;
    box-sizing: content-box;
}
.jssort03 .pdn .w,
.jssort03 .pav .w {
    border-style: solid;
}
.jssort03 .c {
    position: absolute;
    top: 0;
    left: 0;
    width: 102px;
    height: 52px;
    background-color: #000;
    opacity: .45;
    transition: opacity .6s;
}
.jssort03 .p:hover .c,
.jssort03 .pav .c {
    opacity: 0;
}
.jssort03 .p:hover .c {
    transition: none;
}
.jssora02l,
.jssora02r {
    display: block;
    position: absolute;
    top: 0;
    width: 55px;
    height: 55px;
    cursor: pointer;
    background: url(../img/common/a02.png) no-repeat;
    overflow: hidden;
}
.jssora02l {
    left: 8px;
    background-position: -3px -33px;
}
.jssora02r {
    right: 8px;
    background-position: -63px -33px;
}
.jssora02l:hover {
    background-position: -123px -33px;
}
.jssora02r:hover {
    background-position: -183px -33px;
}
.jssora02l.jssora02ldn {
    background-position: -3px -33px;
}
.jssora02r.jssora02rdn {
    background-position: -63px -33px;
}

/* ---------- 7. Instagram & Einbettungen ---------- */
#instagram-feed1 {
    display: table;
    width: 100%;
}
.instagram-follow {
    color: #333333;
}
.likes {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #ffffff;
    font-size: 12px;
}
.instagram_gallery a {
    position: relative;
    display: table;
    margin-bottom: 15px;
    margin-top: 15px;
}
.instagram_username {
    text-align: center;
    font-size: 14px;
}
/* Platzhalter, bis externe Medien erlaubt werden (siehe embeds.js) */
.consent-embed .consent-placeholder {
    padding: 30px 20px;
    margin-bottom: 20px;
    text-align: center;
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    color: #44484c;
}
.consent-embed .consent-placeholder p {
    margin: 0 0 10px;
}
.consent-embed.is-loaded .consent-placeholder {
    display: none;
}
.consent-map .consent-placeholder {
    min-height: 300px;
}
.consent-map iframe {
    display: block;
    width: 100%;
    height: 600px;
    border: 0;
}

/* ---------- 8. Tablet und Smartphone ---------- */
@media (min-width: 992px) {
    .navi {
        width: 100%;
        max-width: 100%;
        background: #d78795;
        border-bottom: 2px solid #7c2327;
    }
    .navbar-main {
        float: left;
    }
    .navbar-main > li > a {
        line-height: 40px;
        padding: 0 15px;
    }
    .navbar-main li.dropdown:hover ul.dropdown-menu {
        display: block;
    }
}
@media (min-width: 992px) and (max-width: 1149px) {
    .navbar-main > li > a {
        padding: 0 10px;
    }
}
@media (max-width: 991px) {
    .adresse {
        width: 300px;
        height: auto;
        padding-top: 5px;
        right: 50px;
        font-size: 12px;
        background-position: right top;
    }
    .navbar-default .navbar-toggle {
        border-color: transparent;
    }
    .navbar-main > li > a {
        font-size: 18px;
        padding: 10px 20px;
        line-height: 25px;
    }
    .navbar-main > li {
        width: 100%;
        position: relative;
        float: left;
    }
    .navbar-main > li.dropdown > a {
        padding-right: 0;
        margin-right: 40px;
        float: left;
        width: 100%;
        display: block;
    }
    .navbar-main > li.dropdown > a.dropdown-toggle {
        width: 40px;
        height: 45px;
        position: absolute;
        top: 0;
        right: 0;
        margin-right: 0;
        background: #fff;
        color: #333;
        border-left: 2px solid #666;
    }
}
@media (max-width: 750px) {
    h1, .h1 { font-size: 34px; }
    h2, .h2 { font-size: 30px; }
    h3, .h3 { font-size: 27px; }
    h4, .h4 { font-size: 24px; }
    h5, .h5 { font-size: 22px; }
    .main-section > section > .container {
        padding: 30px 50px;
    }
}
@media (max-width: 500px) {
    .navbar .adresse {
        display: none;
    }
    .main-section > section > .container {
        padding: 30px 30px;
    }
}
@media (max-width: 400px) {
    .main-section .list-unstyled {
        padding: 0;
    }
    .main-section > section > .container a {
        font-weight: normal;
    }
    .main-section .list-unstyled li {
        max-height: none;
    }
}
