/*
Theme Name: FGR Basic Theme
Theme URI: http://fgr.design/
Description: Das FGR Basic-Theme wurde eigens für FGR Kunden entwickelt. Es bedarf keinerlei zusätzliche Lizenz, jedoch darf die Gestaltung die durch die FGR vorgegeben wurde nicht verändert werden - es erlischt umgehend das Nutzungsrecht. Inhaltliche Änderungen dürfen selbstverständlich getätigt werden. Im Zweifelsfall steht die <a href="http://fgrepublik.com/">Freie Gestalterische Republik</a> jederzeit bereit, um Fragen zu beantworten.
Author: der Freien Gestalterischen Republik
Author URI: http://fgr.design/
Version: 1.3.4
License: Keine Nutzung ohne vorherige Absprache erlaubt.
License URI: license.txt
Tags: FGR, basic, Widgetfähig, Menü, Responsive
*/

/* #####################################################

1.1 Viewport
1.2 Variablen
1.3 Hauptdeklarationen
1.4 Typografie & Globale Elemente
1.5 Globale Klassen

2.1 Header
2.2 Hauptnavigation - Wrap & Burgericon
2.3 Menü

3.1 Flexible Content

4.1 CPTs

5.1 Footer
5.2 Footermenü

5.1 Plugins

##################################################### */

/* 1.1 Viewport
##################################################### */

@-webkit-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

/* 1.2 Variablen
##################################################### */

body {
    /*colors*/
    --primaryColor: #000;
    --lightColor: #fff;
    --darkColor: #000;
    --lighterGray: #F2f2f2;
    --darkGray: #6C757D;

    /*Font-Sizes*/
    --primaryHead: 5rem;
    --secondaryHead: 2.375rem;
    --tertiaryHead: 1.75rem;
    --quaternaryHead: 1.375rem;

    --paragraphs: 1.125rem;
   
    --smallerFS: 0.625rem;
    --smallFS: 0.875rem;
    --headermenuFS: 3.75rem;

    --footermenuFS: 1rem;
}

@media screen and (max-width: 991px) {
   
}

/* 1.3 Hauptdeklarationen
##################################################### */
html {
    -webkit-font-smoothing: antialiased;
}

html, body {
    height: 100%;
}

body {
    line-height: 1;
    overflow: overlay;
}

@media screen and (max-width:991px) {
    body.no-scroll {
        overflow: hidden;
    }
}

#overallwrap {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0px;
    width: 100%;
    overflow: hidden;
    min-height: 100%;
    margin: 0 auto;
}

body:not(.home, .single-kritik, .single-leseprobe, .page-datenschutzerklaerung) #overallwrap {
    flex-direction: column;
}

header {
    flex: 0 0 100%;
    transition: 0.5s all;
    z-index: 12;
}

#contentwrap {
    flex: 0 0 100%;
    width: 100%;
}

/* 1.4 Typografie & Globale Elemente
##################################################### */

html, body, h1, h2, h3, h4, h5, p, ul {
    margin: 0px;
    padding: 0px;
}

h1, .h1{
    font: normal 400 var(--primaryHead) 'Noto Sans', sans-serif;
    color: var(--darkColor);
    line-height: 1.125;
    margin-bottom: 35px;
}

h2, .h2 {
    font: normal 400 var(--secondaryHead) 'Noto Sans', sans-serif;
    color: var(--darkColor);
    line-height: 1.1575;
    margin-bottom: 35px;
}

h3, .h3 {
    font: normal 500 var(--tertiaryHead) 'Noto Sans', sans-serif;
    color: var(--darkColor);
}

h4, .h4 {
    font: normal 500 var(--quaternaryHead) 'Noto Sans', sans-serif;
    margin-bottom: 10px;
}

p, #contentwrap ul li {
    font: 400 normal var(--paragraphs) 'Noto Sans', serif;
}

#contentwrap ul {
    list-style-type: none;
}

p strong {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: 0.35s all;
    cursor: pointer;
    pointer-events: auto;
    cursor: hand;
    position: relative;
    z-index: 2;
    outline: none;
}

a:hover {
    cursor: pointer;
    text-decoration: underline;
}

#contentwrap section,
#contentwrap article {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-datenschutzerklaerung table {
    border-spacing: 5px;
    margin-bottom: 40px;
}

.page-datenschutzerklaerung table .top {
    transform: rotate(-90deg);
    margin-left: 50px !important;
}

.page-datenschutzerklaerung td {
    padding: 12px !important;
    background-color: var(--lighterGray);
}

.page-datenschutzerklaerung #contentwrap ul {
    margin-bottom: 40px;
}

.page-datenschutzerklaerung #contentwrap li {
    list-style: disc;
    margin-left: 20px;
}

p.wp-caption-text {
    padding-bottom: 30px;
}

@media screen and (max-width:1199px) {
    .page-datenschutzerklaerung table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
    }

    .page-datenschutzerklaerung table .top {
        transform: rotate(-0deg);
        margin-left: 0px !important;
        text-transform: uppercase;
    }

    .page-datenschutzerklaerung td {
        background-color: var(--lighterGray) !important;
    }
}

@media screen and (max-width:767px) {

    #contentwrap section,
    #contentwrap article {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    h1, .h1,
    h2, .h2 {
        margin-bottom: 15px;
    }
}

/* 1.5 Globale Custom Klassen (Paddings, Colors, Display Elemente)
##################################################### */

/*Paddings*/
.p-0 {
    padding: 0px !important;
}

.p-h-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.p-v-0 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.p-t-0 {
    padding-top: 0px !important;
}

.p-b-0 {
    padding-bottom: 0px !important;
}

.p-t-small {
    padding-top: 30px !important;
}

.p-t-large {
    padding-top: 75px !important;
}

.p-b-small {
    padding-bottom: 30px !important;
}

.p-b-large {
    padding-bottom: 75px !important;
}

@media screen and (max-width:767px) {
    .p-t-small {
        padding-top: 15px !important;
    }

    .p-t-large {
        padding-top: 45px !important;
    }

    .p-b-small {
        padding-bottom: 15px !important;
    }

    .p-b-large {
        padding-bottom: 45px !important;
    }
}

/*Margins*/
.m-0 {
    margin: 0px !important;
}

.m-h-0 {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.m-v-0 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.m-t-0 {
    margin-top: 0px !important;
}

.m-b-0 {
    margin-bottom: 0px !important;
}

.m-t-small {
    margin-top: 30px !important;
}

.m-t-large {
    margin-top: 75px !important;
}

.m-b-small {
    margin-bottom: 30px !important;
}

.m-b-large {
    margin-bottom: 75px !important;
}

@media screen and (max-width:767px) {
    .m-t-small {
        margin-top: 15px !important;
    }

    .m-t-large {
        margin-top: 45px !important;
    }

    .m-b-small {
        margin-bottom: 15px !important;
    }

    .m-b-large {
        margin-bottom: 45px !important;
    }
}

/*Positions*/
.p-r {
    position: relative !important;
}

.p-a {
    position: absolute !important;
}

/*Colors*/
.TextprimaryColor {
    color: var(--primaryColor) !important;
}

.TextlinkColor {
    color: var(--linkColor) !important;
}

.TextlightColor {
    color: var(--lightColor) !important;
}

.TextdarkColor {
    color: var(--darkColor) !important;
}

.BGlightColor {
    background-color: var(--lightColor);
}

.BGlighterGray {
    background-color: var(--lighterGray);
}

.BGprimaryColor {
    background-color: var(--primaryColor);
    color: var(--lightColor);
}

.BGprimaryColor h1, .BGprimaryColor h2, .BGprimaryColor h3, .BGprimaryColor h4 {
    color: var(--lightColor);
}

.BGdarkColor {
    background-color: var(--darkColor);
    color: var(--lightColor);
}

/*Display Elemente */
body .d-none {
    display: none;
}

@media screen and (max-width:991px) {
    .md-off {
        display: none !important;
    }

    .md-block {
        display: block !important;
    }
}

@media screen and (max-width:767px) {
    .sm-off {
        display: none !important;
    }

    .sm-block {
        display: block !important;
    }
}

@media screen and (max-width:624px) {
    .xs-off {
        display: none !important;
    }
}

/*Images*/
.full-width-img {
    width: 100%;
    height: auto;
    line-height: 1;
}

.img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.img-wrap.wrap-normal {
    padding-bottom: 75%;
}

.img-wrap.wrap-ws {
    padding-bottom: 56.25%;
}

.img-wrap.wrap-lws {
    padding-bottom: 46.66%;
}

.img-wrap.wrap-pm {
    padding-bottom: 130%;
}

.img-wrap.wrap-square {
    padding-bottom: 100%;
}

.img-wrap img,
.img-wrap svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.img-wrap iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: contain;
}

/*Two Columns*/
.two-col {
    columns: 2;
    column-gap: 30px;
}

@media screen and (max-width:767px) {
    .two-col {
        columns: 1;
    }
}

/*Textausrichtung*/
.center {
    text-align: center;
}

/*Buttons*/
.btn-wrap {
    display: flex;
    justify-content: center;
}

.btn {
    padding: 14px 18.5px 17px 18.5px;
    line-height: 1;
    font: normal 700 var(--btnFS) 'Noto Sans', serif;
    margin-top: 30px;
    display: inline-block;
    transition: 0.35s all;
    appearance: none;
    -webkit-appearance: none;
    border: none;
}

.btn-primary {
    color: var(--lightColor);
    background-color: var(--primaryColor);
}

.btn-secondary {
    color: var(--lightColor);
    background-color: var(--secondaryColor);
}

.btn-tertiary {
    color: var(--primaryColor);
    background-color: var(--lightColor);
}

.btn:hover {
    text-decoration: none;
    cursor: pointer;
    -webkit-filter: brightness(0.9);
    filter: brightness(0.9);
}

@media screen and (max-width:767px) {
    .btn {
        margin-top: 22.5px;
    }
}

/*smaller Paragraphs*/
.smallerParagraphs,
.smallerParagraphs p {
    font: 400 normal var(--smallerParagraphs) 'Noto Sans', serif;
}

.smallerParagraphs p strong {
    font: 700 normal var(--smallerParagraphs) 'Noto Sans', serif;
}

/*bigger Paragraphs*/
.biggerParagraphs,
.biggerParagraphs p {
    font: 400 normal var(--biggerParagraphs) 'Noto Sans', serif;
}

.biggerParagraphs p strong {
    font: 700 normal var(--biggerParagraphs) 'Noto Sans', serif;
}

/* 3.1 Gutenberg
##################################################### */


.text-bild-row > div{
    gap: 0;
}

.text-bild-row > div .has-background{
    padding: 30px;
}

.text-bild-row > div figure{
    margin: 0;
}

.text-bild-row > div figure img{
    width: 100%;
}
/* 4. Custom Post Types (CPT)
##################################################### */

.share-sm-wrap {
    background-color: var(--primaryColor);
    color: var(--lightColor);
    flex: 0 0 calc(120px);
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    padding-top: 47.5px;
    padding-right: 30px;
}

@media screen and (min-width:768px) {
    .share-sm-wrap {
        position: relative;
    }
}

.single article h4,
.single article h3,
.single article h2,
.single:not(.single-blog) article h1 {
    font-size: var(--DisplayHeadSub);
    font-weight: 400;
    color: var(--darkColor);
    margin-bottom: 15px;
    line-height: 1;
}

.single article p {
    margin-bottom: 30px;
}

.single article p:empty {
    display: none !important;
}

.single article p a {
    color: var(--linkColor) !important;
}

.single article p a:hover {
    color: var(--linkColor) !important;
    text-decoration: underline;
}

.single article p:last-of-type {
    margin-bottom: 0px;
}

.copy-article {
    margin-bottom: 20px;
}

.copy-article p {
    color: var(--darkGray);
}

.single .container-slider-info>div>div {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

p .term-separator:last-of-type,
div .term-separator:last-of-type,
h3 .term-separator:last-of-type,
h4 .term-separator:last-of-type span .term-separator:last-of-type {
    display: none !important;
}

.single article .wp-caption {
    width: 100% !important;
}

.single article img {
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.single article img.size-medium {
    max-width: 300px;
    display: block !important;
}

.single article .wp-caption p {
    text-align: center;
}

.single article .gallery {
    margin: -5px -15px 15px -15px !important;
}

.single article .gallery-icon {
    width: 100%;
    padding-bottom: 75%;
    position: relative;
    overflow: hidden;
}

.single article .gallery .gallery-item {
    margin: 12.5px 0px 15px 0px !important;
    padding: 0 15px;
}

.single article .gallery-item a,
.single article .gallery-item img {
    border: none !important;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: 0.5s all;
    max-width: 100% !important;
}

.single article .gallery-item a:hover img {
    transform: scale(1.05);
}

.single article .gallery-item .wp-caption-text {
    display: none !important;
}


@media screen and (min-width:992px) {
    .single .container-slider-info>div>div {
        max-width: 66.66667%;
    }
}

.single .slider-item-info {
    position: relative;
}

@media screen and (max-width:767px) {
    .share-sm-wrap {
        flex: 0 0 100%;
        background-image: none;
        background-color: var(--primaryColor);
        padding-top: 0px;
        padding-bottom: 30px;
        padding-left: 20px;
        justify-content: flex-start;
    }

    .single .hero-slider-for {
        flex: 0 0 calc(100% - 0px);
    }

    .single .slider-kritiken .slider-item-info {
        padding: 30px 30px 15px 30px;
    }

    .single .teaser-kritiken .row .cpt-item:nth-of-type(3) {
        display: block;
    }

    .single .teaser-kritiken .btn.btn-primary {
        margin-bottom: 15px;
    }

    .single footer {
        margin-top: 30px;
    }
}

/* 4.1 Single Post*/
.single-blog article .img-wrap {
    margin-bottom: 30px;
}

.single-blog h1 {
    margin-bottom: 12.5px;
}

@media screen and (min-width:768px) {
    .single-blog article .row [class*='col-']:first-of-type {
        margin-left: -15px;
        margin-right: -15px;
        flex: 0 0 calc(100% + 30px);
        max-width: calc(100% + 30px);
    }
}


/* 4.6 Pagination*/
.pagination-row .page-numbers {
    font: normal 400 var(--btnFS) 'Noto Sans', serif;
    border: 1px solid #e0e0e0;
    width: 50px;
    color: var(--darkColor);
    padding-bottom: 5px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 0;
    margin: 0 -0.5px;
}

.pagination-row a.page-numbers:hover {
    box-shadow: 0 0px 7.5px rgba(0, 0, 0, .15);
    text-decoration: none;
}

.pagination-row .page-numbers.current {
    border: 1px solid var(--primaryColor);
    background-color: var(--primaryColor);
    color: var(--lightColor);
}

.pagination-row .page-numbers.next,
.pagination-row .page-numbers.prev {
    font: normal 400 var(--paragraphs) 'Noto Sans', serif;
    padding-bottom: 0.5px;
}

.pagination-row>div {
    margin: 0 auto;
}

.pagination-row .nav-links {
    display: flex;
}

.pagination-row .pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 0px;
}

.main-search-no-results {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 45px;
}

.main-search-no-results h3 {
    color: var(--primaryColor);
}

@media screen and (max-width:767px) {
    .pagination-row .pagination {
        padding-top: 30px;
        padding-bottom: 0px;
    }
}

/* 5. Footer
##################################################### */

footer {
    margin-top: auto;
    flex: 0 0 100%;
    background-color: var(--darkColor);
}

footer #footer-logo{
    width: 100%;
    max-width: 281px;
    height: auto;
}

#footer-bottom {
    background-color: var(--darkColor);
    color: var(--lightColor);
    padding-top: 80px;
    padding-bottom: 120px;
}

#footer-nav {
    display: flex;
    justify-content: space-between;
}

footer #menu li {
    display: block;
    margin-bottom: 5px;
    list-style-type: none;
}

footer #menu a {
    color: var(--lightColor);
    font: 500 normal var(--footermenuFS) 'Noto Sans', sans-serif;
}

#sm-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#sm-wrap a {
    display: inline-block;
    margin-left: 7.5px;
}

#sm-wrap a svg{
    width: 31.5px;
    height: 31.5px;
    object-fit: contain;
}

/* 6. Plugins
##################################################### */