/*
	Theme Name:   Artgerecht Theme
	Theme URI:    https://www.artgerecht.de
	Description:  Artgerecht Theme (basierend auf GeneratePress)
	Author:       Olaf Parusel
	Template:     generatepress
	Version:      0.1
	Text Domain:  artgerecht
	Domain Path:  /languages
*/

.loadingOverlay {
    opacity: 0;
    transition: .25s;
}

.loadingOverlay:before {
    height: 100vh;
    width: 100vw;
    background: #fff;
    content: '';
    position: absolute;
    z-index: 1;
}

img {
    height: auto;
}

a:visited {
    color: inherit;
}

#page.loading .builder {
    min-height: 90vh;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}


/*Theme Anpassungen*/

.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
    position: absolute!important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus {
    clip: auto!important;
    height: auto;
    width: auto;
    display: block;
    font-size: 1em;
    font-weight: 700;
    padding: 15px 23px 14px;
    color: #333;
    background: #fff;
    z-index: 100000;
    text-decoration: none;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6)
}

.alignright {
    float: right;
    margin-left: 15px !important;
    margin-bottom: 10px !important;
}

@media ( max-width: 768px) {
    .alignright,
    .alignleft {
        display: block;
        float: none;
    }
}

.col-img-wrap .bgimg {
    /*@TODO refactor, this is crap*/
    margin-left: -22.5px;
}

.wp-caption-text {
    font-size: 85%;
    transform: translate( 0px, -10px);
}


/*Timeline*/

.timeline li {
    margin-left: 0px;
}

.timeline>li:before {
    content: ' ' !important;
}


/*ACFE-Forms*/

.acf-checkbox-list {
    padding-left: 20px !important;
}

.acf-checkbox-list li {
    margin-left: 0px !important;
}

.acf-checkbox-list li:before {
    content: unset !important;
}


/*CONTENT*/

.section-text h3,
.section-text h2,
.section-text h4,
.section-text h5 {
    margin-bottom: 20px;
    padding-top: 15px;
}


/*++++++++++++++++++++++++++++++++++*/


/*+++++++GUTENBERG ANPASSUNGEN++++++*/


/*++++++++++++++++++++++++++++++++++*/

.no-sidebar .entry-content .alignfull {
    margin-left: calc(-100vw/2 + 100%/2 - 7.5px);
    margin-right: calc(-100vw/2 + 100%/2);
    max-width: 100vw;
    width: auto;
}


/*Cover Block*/

.wp-block-cover .wp-block-cover__inner-container {
    margin-left: calc(50% - 70px);
    margin-right: calc(25% - 70px);
}

@media (max-width: 768px) {
    /* CSS in here for mobile only */
    .wp-block-cover__inner-container {
        margin-left: 0px;
        margin-right: 0px;
    }
}


/*Media Block*/

.wp-block-media-text img {
    margin-top: 0px;
    margin-bottom: 0px;
}


/*Button Block*/

.wp-block-button a {
    background: #fff;
    color: #577736 !important;
    border: 2px solid #577736;
    padding: 15px 25px;
    transition: all .2s;
    display: inline-block;
    letter-spacing: 1px;
    position: relative;
    font-weight: 300;
    width: 100%;
    text-align: center;
}

.wp-block-button a:hover {
    background: #577736;
    color: #fff !important;
    transition: all .15s;
    border: 2px solid #577736;
    text-decoration: none;
}


/*Galerie Block*/

.wp-block-gallery {
    padding-top: 20px;
}

.content ul li.blocks-gallery-item:before {
    display: inline-block;
    margin-right: 0;
    width: auto;
    height: auto;
    vertical-align: 0;
    left: 0;
    content: '';
    background-size: auto;
    background-repeat: no-repeat;
    background-image: none;
}

.gallerywrap {
    padding-top: 0px !important;
}


/*Aktuelles*/

.builder .post-912>.section:not(.section-hero, .section-postlist) {
    display: none;
}

.topline .languageswitcher a.exact-current {
    text-decoration: underline;
}