/*
Theme Name: FRISCH-Licht
Description: Für FRISCH-Licht
Author: Andreas Greif
Author URI: https://www.greif-design.de
Template: enfold
Version: 1.2
Tags:
*/

.catalog-contact {
    max-width: 1480px;
    margin: 0 auto;
}

/* Remove image overlay with circle and arrow */
.image-overlay {
    display: none !important;
    opacity: 0 !important;
}

.av-main-nav > li > a {
    font-weight: normal !important;
}

.av_promobox {
    margin: -16px 0 !important;
}

#top #header .inner-container {
    max-width: 1480px;
    margin: 0 auto;
}

body {
    border-right: none;
    border-left: none;
}

@media (min-width: 540px) {
    body {
        border-right: 20px solid #37464c;
        border-left: 20px solid #37464c;
    }
}

/* Header Suche */
.flok-header-search-wrapper {
    position: relative;
}

.flok-header-search-link {
    cursor: pointer;
    position: relative;
    z-index: 500;
    background-color: #fff;
    color: #2d7dc0 !important;
    transition: all .25s ease-out;
}

.flok-header-search-link:hover,
.flok-header-search-link:active {
    color: #004c8b !important;
}

.flok-header-search-form-container {
    display: block;
    position: absolute;
    top: calc(50% - 20px);
    right: 100%;
    overflow: hidden;
    width: 0;
    height: 40px;
    background-color: #fff;
    transition: all .25s ease-out;
    z-index: 490;
}

.flok-header-search-form-container.is-active {
    width: calc(85vw - 76px);
    max-width: 468px;
}

.flok-header-search-form {
    width: 100%;
    display: flex;
}

#top .flok-header-search-form input[type="text"] {
    width: calc(100% - 36px);
    height: 40px;
    font-size: 14px;
    line-height: 1;
}

#top .flok-header-search-form input[type="submit"] {
    width: 36px;
    height: 40px;
    padding: 0 8px;
    font-size: 14px;
    line-height: 1;
}

@media (min-width: 480px) {
    .flok-header-search-form-container.is-active {
        width: calc(85vw - 240px);
    }
}

@media (min-width: 540px) {
    .flok-header-search-form-container.is-active {
        width: calc(85vw - 240px);
    }
}

@media (min-width: 768px) {
    .flok-header-search-form-container.is-active {
        width: calc(100vw - 100px - 240px);
    }

    #top .flok-header-search-form input[type="submit"] {
        width: 72px;
    }
}

@media (min-width: 1128px) {
    #top .flok-header-search-link {
        display: none;
    }

    .flok-header-search-form-container,
    .flok-header-search-form-container.is-active {
        top: 23px;
        width: 600px;
        max-width: none;
    }
}

/* Markierungsfarbe ändern */
::-moz-selection {
    background-color: #282D31;
    color: #fff;
}

::selection {
    background-color: #282D31;
    color: #fff;
}

/**
 * Der Shariff-Wrapper fügt sich an das Ende von Beiträgen und Seiten ein. Allerdings positioniert sich der Container
 * dermaßen ungünstig in einen Floating-Bereich ein, dass Google-Performance-Tools wie Lighthouse oder Search-Console
 * einen sehr großen CLS (> 0,7) verursacht. Das Lösen der Floats scheint das Problem zu beheben.
 */
.shariff {
    clear: left;
}
