/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/* ==========================================================================
   Base styles & Layout
   ========================================================================== */
/* BASE STYLES */
@font-face {
    font-family: "Grotesk Demi";
    src: url("../fonts/f_grotesk_demi.otf") format("opentype");
}

html {
    color: #000;
    font-size: 62.5%;
    line-height: 1.4;
    letter-spacing: 0.15rem;
    background-color: #fff;
}

body {
    color: inherit;
    font-family: "Grotesk Demi", "Open Sans", Arial, sans-serif;
    font-weight: 400;
    background: inherit;
    overflow-x: hidden;
    overflow-y: auto;
}

body::before {
    box-shadow: unset;
}

.entry-content h1 {
    font-size: 2rem;
}

a {
    color: inherit;
}

a:hover,
a:focus,
.current_page_item a {
    color: #0e02ff;
    background: inherit;
}

/* LAYOUT */
/* Sidebar & Main Nav */
.main-navigation ul,
.main-navigation li {
    border: none;
}

.main-navigation li a {
    padding-left: 0.8rem;
}

.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a {
    font-weight: inherit;
}

.site-title a/*,
.main-navigation a*/ {
    padding: 0.04em 0.4em;
    line-height: 1.5;
    display: block;
}

.site-title,
#secondary a {
    font-size: 1.8rem;
}

.sm-grid .grid-sm-boxes-in {
    padding-left: 0;
    padding-right: 0;
}

.smblog_masonry_numcol .sm-post-title a {
    font-size: 1.3rem;
    /*font-family: Arial, sans-serif;*/
}

/* Site Content */
.site-header {
    border: none;
    padding-bottom: 1.2rem;
}

.site-main {
    padding-top: 0;
}

article.type-page header,
article.type-page footer {
    display: none;
}

.entry-content {
    padding-left: 0;
    padding-right: 0;
}

/* Footer */
.site-footer {
    border-top: none;
}


/* LAYOUT - min-width: 38.75em */
@media screen and (min-width: 38.75em) {
    /* Sidebar & Main Nav */
    .secondary {
        box-shadow: none;
        margin-top: 0;
        padding: 0;
    }

    .site-branding {
        min-height: unset;
    }

    .site-title,
    #secondary a,
    .smblog_masonry_numcol .sm-post-title a {
        font-size: 1.8rem;
    }

    /* Site Content */
    .hentry {
        box-shadow: none;
    }

    .sm-grid .grid-sm-boxes-in {
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Footer */
    .site-footer {
        box-shadow: unset;
    }
}

/* LAYOUT - max-width: 59.6874em */
@media screen and (max-width: 59.6874em) {
    /* Sidebar & Main Nav */
    #secondary.toggled-on .nav-menu > li:nth-of-type(n+4):nth-of-type(-n+5) {
        width: 6em;
        display: inline-block;
    }
    #secondary.toggled-on .nav-menu > li:nth-of-type(n+4):nth-of-type(-n+5) a {
        font-size: 1.2rem;
    }
}


/* LAYOUT - min-width: 59.6875em */
@media screen and (min-width: 59.6875em) {
    /* Site */
    body {
        position: relative;
    }

    a:not(body.single [id^="foogallery-gallery-"] a):hover,
    a:focus,
    .current_page_item a {
        color: inherit;
        background: #fef656;
    }

    /* Sidebar & Main Nav */
    #sidebar {
        position: static;
        float: none;
        margin-right: 0;
        max-width: none;
        width: 0;
    }

    .site-branding {
        position: fixed;
        top: 0;
        left: 0;
    }

    .site-title,
    #secondary a {
        font-size: 1.8rem;
    }

    .site-title a,
    .main-navigation a {
        padding: 0.05em 0.4em;
        line-height: 1.5;
        display: block;
    }

    .nav-menu > li {
        position: fixed;
    }

    .nav-menu > li:nth-of-type(1) {
        bottom: 0;
        left: 0;
    }

    .nav-menu > li:nth-of-type(2) {
        top: 0;
        right: 0;
    }

    .nav-menu > li:nth-of-type(3) {
        bottom: 0;
        right: 0;
    }

    #secondary .nav-menu > li:nth-of-type(4),
    #secondary .nav-menu > li:nth-of-type(5) {
        display: none;
    }

    /* Site Content */
    .site-content {
        float: none;
        width: 72%;
        margin-left: 14%;
    }

    .hentry {
        padding-top: 0;
        margin: 0 auto;
        width: auto;
        box-shadow: unset;
    }

    .entry-content {
        padding: 0 3% 3%;
    }

    /* Footer */
    .site-footer {
        box-shadow: unset;
    }
}

/* LAYOUT - min-width: 68.75em */
@media screen and (min-width: 68.75em) {
}


/* LAYOUT - min-width: 77.5em */
@media screen and (min-width: 77.5em) {
    /* Sidebar & Main Nav */
    .site-title,
    #secondary a,
    .smblog_masonry_numcol .sm-post-title a {
        font-size: 2rem;
    }
}


/*
 * Content Wrapper - contains the main content
 */


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* PAGE: ALL */
/* Sidebar */
.site-title {
    font-family: inherit;
    font-weight: inherit;
}


/* Site Content */
.secondary-toggle,
.secondary-toggle:hover,
.secondary-toggle:focus {
    border: none;
}


/* Simple Masonry */
.smblog_masonry_numcol .sm-grid-boxes-caption {
    padding: 0 4px;
}

.sm-list-inline.sm-grid-boxes-news,
.sm-grid-boxes-quote {
    display: none;
}

.sm-grid .grid-sm-border {
    border: none;
}

.smblog_masonry_numcol .sm-post-title {
    line-height: 16px;
}


/*Cookie Consent */
.has-cookie-bar #catapult-cookie-bar {
    padding: 0 5px;
    background-color:rgba(0, 0, 0, 0.5);
    right: 10px;
}

button#catapultCookie {
    border-radius: 0 !important;
    padding-bottom: 5px !important;
}

button#catapultCookie:hover {
    color: #0e02ff;
}

/* PAGE: SINGLE POST */
/* Article */
.post-thumbnail {
    margin-bottom: 0;
}

/* FooGallery */
.fg-image-viewer {
    font-family: inherit;
}

.fg-image-viewer.fg-light .fiv-next, .fg-image-viewer.fg-light .fiv-prev {
    box-shadow: none;
}

.foogallery-owl-carousel .owl-item:not(.active) {
    width: 20px;
}

.foogallery-owl-carousel .foo-item {
    text-align: center;
}

.foogallery-owl-carousel .foo-item a {
    margin-left: 0;
    margin-right: 0;
    border-bottom: none;
}

.owl-carousel .owl-nav [class*="owl-"] {
    background: inherit;
    color: inherit;
    border-radius: 0;
}

.owl-carousel .owl-nav [class*="owl-"]:hover {
    background: #fff;
    color: #0e02ff;
}

.owl-carousel .owl-nav [class*="owl-"] .genericon {
    vertical-align: middle;
}

.owl-carousel .owl-nav .owl-prev .genericon {
    padding-right: 10px;
    padding-left: 1px;
}

.owl-carousel .owl-nav .owl-next .genericon {
    padding-left: 10px;
}

body.single .entry-content > div.gallery-title {
    font-size: 1.3rem;
    font-family: Arial, sans-serif;
}


/* PAGE: ABOUT, IMPRESSUM, DATENSCHUTZ */
body.page-id-233 #content,
body.page-id-258 #content,
body.page-id-256 #content {
    font-size: 1.3rem;
    font-family: Arial, sans-serif;
}

body.page-id-233 .entry-content,
body.page-id-258 .entry-content,
body.page-id-256 .entry-content {
    padding-left: 2%;
    padding-right: 2%;
}

body.page-id-233 #content .wpcf7 {
    max-width: 450px;

}

body.page-id-233 #content form {

}

body.page-id-233 #content form input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea {
    padding: 0.25em 0.25em;
    font-family: inherit;
    font-size: inherit;
    border: 2px solid #000 !important;
    background-color: #fff;
}

body.page-id-233 #content form p {
    margin-bottom: 1em;
}

body.page-id-233 .wpcf7-submit {
    color: #000;
    background-color: yellow;
    border: 2px solid #000;
}

body.page-id-233 .wpcf7-submit:hover {
    color: #fff;
    background-color: #0e02ff;
    border: 2px solid yellow;
}


/* PAGE: SHOP - MAIN BLOG */
body.page-template-page-blog-category .site-main {
    padding-top: 8%;
    text-align: center;
}

body.page-template-page-blog-category .hentry {
    width: 300px;
    display: inline-block;
    vertical-align: top;
    margin: 0 10px;
}

body.page-template-page-blog-category .hentry + .hentry {
    margin-top: 0;
    border-top: none;
}

body.page-template-page-blog-category .post-thumbnail {
    height: 400px;
    position: relative;
}

body.page-template-page-blog-category .post-thumbnail:hover,
body.page-template-page-blog-category .post-thumbnail:focus {
    background-color: #fff;
    outline: none;
}

body.page-template-page-blog-category .post-thumbnail img {
    position: absolute;
    bottom: 0;
}

body.page-template-page-blog-category .entry-title {
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin: 0.5em 0 3em;
}


/* PAGE: SHOP - ARTICLE PAGE */
body.shop #content {
    font-size: 1.3rem;
    font-family: Arial, sans-serif;
}

body.shop .site-main {
    padding-top: 8%;
    text-align: center;
}

body.shop #button button {
    margin: 1em 0 2em;
    color: #000;
    background-color: yellow;
    border: 2px solid #000;
    padding-left: 1.1em;
    padding-right: 1.1em;
}

body.shop #button button:hover {
    color: #fff;
    background-color: #0e02ff;
    border: 2px solid yellow;
}


@media screen and (min-width: 38.75em) {
    /* PAGE: ALL */
    /* Simple Masonry */
    .smblog_masonry_numcol .sm-grid-boxes-caption {
        padding-left: 0;
        padding-top: 4px;
        margin-bottom: 4px;
    }


    /* PAGE: SINGLE */
    /* Article */
    .single .post-thumbnail {
        margin-bottom: 0;
    }


    /* PAGE: SINGLE GALLERY */
    body.single .entry-content > div.gallery-title {
        display: none;
        position: absolute;
        top: 15%;
        left: 0;
        right: 0;
        width: 30em;
        margin: 0 auto;

    }

    body.single [id^="foogallery-gallery-"] {
        margin-top: 10vh;
    }

    @media screen and (max-height: 800px) {
        body.single [id^="foogallery-gallery-"] {
            margin-top: 2.5vh;
        }
    }

    body.single [id^="foogallery-gallery-"] .owl-nav > div {
        position: absolute;
        top: 45%;
    }

    body.single [id^="foogallery-gallery-"] .owl-prev {
        left: -10%;
    }

    body.single [id^="foogallery-gallery-"] .owl-next {
        right: -10%;
    }

    body.single [id^="foogallery-gallery-"] .genericon-leftarrow::before {
        content: url("../../../../uploads/2018/06/Pfeil_L.png");
    }

    body.single [id^="foogallery-gallery-"] .genericon-rightarrow::before {
        content: url("../../../../uploads/2018/06/Pfeil_R.png");
    }
}


@media screen and (min-width: 46.25em) {
    /* PAGE: SINGLE */
    /* Article */
    .single .post-thumbnail {
        margin-bottom: 0;
    }
}


@media screen and (min-width: 55em) {
    /* PAGE: SINGLE */
    /* Article */
    .single .post-thumbnail {
        margin-bottom: 0;
    }
}


@media screen and (min-width: 59.6875em) {
    /* PAGE: SINGLE */
    /* Article */
    .single .post-thumbnail {
        margin-bottom: 0;
    }

    /* Simple Masonry */
    .sm-grid .grid-sm-boxes-in {
        width: 50%;
        padding: 0 3rem 6rem;
    }

    .sm-grid .grid-sm-boxes-in:nth-of-type(2) {
        margin-top: 20rem;
    }

    .sm-grid .grid-sm-border:hover {
        background-color: #0e02ff;
    }

    .sm-grid .grid-sm-border:hover img {
        visibility: hidden;
    }

    .smblog_masonry_numcol .sm-grid-boxes-caption {
        padding-top: 0;
    }

    .smblog_masonry_numcol .sm-post-title a {
        position: absolute;
        left: 5rem;
        top: 1.5rem;
        color: #fff;
        display: none;
    }

    .grid-sm-border:hover .sm-post-title a {
        display: inline;
    }

    .grid-sm-boxes-in:hover .sm-post-title a:hover,
    .grid-sm-boxes-in:hover .sm-post-title a:focus  {
        background: inherit;
    }


    /* PAGE: SINGLE GALLERY */
    body.single [id^="foogallery-gallery-"] .owl-prev {
        left: -24.5%;
    }

    body.single [id^="foogallery-gallery-"] .owl-next {
        right: -24.5%;
    }


    /* PAGE: ABOUT, IMPRESSUM, DATENSCHUTZ */
    body.page-id-233 .site-content,
    body.page-id-258 .site-content,
    body.page-id-256 .site-content {
        float: none;
        width: 55.5em;
        margin-left: auto;
        margin-right: auto;
    }

    body.page-id-233 .site-content .hentry,
    body.page-id-258 .site-content .hentry,
    body.page-id-256 .site-content .hentry {
        margin-top: 15%;
    }
}


@media screen and (min-width: 68.75em) {
    /* PAGE: SINGLE */
    /* Article */
    .single .post-thumbnail {
        margin-bottom: 0;
    }
}


@media screen and (min-width: 77.5em) {
    /* PAGE: SINGLE */
    /* Article */
    .single .post-thumbnail {
        margin-bottom: 0;
    }
}


@media screen and (min-width: 90em) {
    /* PAGE: SINGLE GALLERY */
    body.single [id^="foogallery-gallery-"] .owl-prev {
        left: -27%;
    }

    body.single [id^="foogallery-gallery-"] .owl-next {
        right: -27%;
    }
}


@media screen and (min-width: 100em) {
    /* PAGE: SINGLE GALLERY */
    body.single [id^="foogallery-gallery-"] .owl-prev {
        left: -35%;
    }

    body.single [id^="foogallery-gallery-"] .owl-next {
        right: -35%;
    }
}


@media screen and (min-width: 110em) {
    /* PAGE: SINGLE GALLERY */
    body.single [id^="foogallery-gallery-"] .owl-prev {
        left: -44%;
    }

    body.single [id^="foogallery-gallery-"] .owl-next {
        right: -44%;
    }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
