/**
 * ----------------------------------------------
 * Theme overwrites
 * ----------------------------------------------
 */
:root {
    --globalactive-brand-color: #dc111c;
}

body {
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: auto;
    -webkit-font-smoothing: auto;
	background-color: #000;
}

.site-info {
    background-color: inherit;
}

.page-title h1 {
    font-size: 4.0625rem;
}

.dark input[type="text"],
.dark input[type="email"],
.dark textarea {
    background: #353535 !important;
}

.blog .standard-view.blog-single .entry-content {
    border-bottom: none;
}

/**
 * ----------------------------------------------
 * The default header image
 * The plugin unique headers overwrites the css
 * without using important :-(
 * ----------------------------------------------
 */
.page-title-section {
	background-image: url('../img/globalactive-default-header.jpg');
    background-attachment: scroll !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
	max-width: 1920px;
	margin: auto;
}

/**
 * ----------------------------------------------
 * Background für den Headerbereich
 * Geht einfacher, wenn man für den body 
 * eine Farbe setzt
 * ----------------------------------------------
 */
/* .page-title-section::before {
	--title-section-max-width: 1220px;
	--title-section-bg-color: #141414;
	--remaining-space: calc((100vw - var(--title-section-max-width)) / 2);
	content: '';
	background: linear-gradient(to right, 
		var(--title-section-bg-color) var(--remaining-space),
		transparent var(--remaining-space),
		transparent calc(100vw - var(--remaining-space)),
		var(--title-section-bg-color) calc(100vw - var(--remaining-space))
	);
	width: 100vw;
	position: absolute;
	top: 0;
	left: calc(-1 * var(--remaining-space));
	height: 100%;
} */

body.dark .page-title-section .overlay {
    background-color: rgba(0, 0, 0, 0.45);
}

.site-footer .widget.widget_text a {
    text-decoration: none !important;
}

/**
 * ----------------------------------------------
 * Media Element
 * ----------------------------------------------
 */
.media-element {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3.125rem;
    margin-bottom: 5.3125rem;
}

.media-element:last-child {
    margin-bottom: 0;
}

.media-element__info h3 {
    border-bottom: 2px solid var(--globalactive-brand-color);
    padding-bottom: .5em;
}

.media-element__img {
    margin-top: 2rem;
    text-align: center;
}

@media screen and (min-width: 760px) {
    .media-element {
        grid-template-columns: auto 1fr;
    }
}

/**
 * ----------------------------------------------
 * Post Thumbnails
 * ----------------------------------------------
 */
.gactive-post-thumbnail {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

a.gactive-post-thumbnail img {
    transition: all 0.3s ease-in-out;
}

a.gactive-post-thumbnail:hover img {
    transform: scale(1.05);
}

a.gactive-post-thumbnail::before {
    content: "\2192";
    color: #fff;
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    font-size: 1.75rem;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

a.gactive-post-thumbnail:hover::before {
    opacity: 1;
}

.gactive-post-thumbnail__description {
    background-color: var(--globalactive-brand-color);
    width: 100%;
    height: 95px;
    position: absolute;
    left: 0;
    text-align-last: left;
    z-index: 1;
}

.gactive-post-thumbnail__description--top {
    padding: 40px 10px 10px;
    top: -32px;
    transform: skewY(-5deg);
}

.gactive-post-thumbnail__description--top>* {
    transform: skewY(5deg);
}

.gactive-post-thumbnail__description--bottom {
    padding: 8px 10px 40px;
    bottom: -32px;
    transform: skewY(5deg);
}

.gactive-post-thumbnail__description--bottom>* {
    transform: skewY(-5deg);
}

.gactive-post-thumbnail__description h5 {
    font-weight: 300;
    text-transform: uppercase;
    margin: 0 0 2px;
}

.gactive-post-thumbnail__description h4 {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin: 0;
}

@media screen and (min-width: 769px) {
    .gactive-post-thumbnail__description h5 {
        font-size: 0.8571rem;
    }
}

@media screen and (min-width: 992px) {
    .gactive-post-thumbnail__description h5 {
        font-size: 0.75rem;
    }
}

/**
 * ----------------------------------------------
 * Footer Links
 * ----------------------------------------------
 */
.site-footer .widget_nav_menu li {
    padding-left: 0 !important;
    padding-bottom: 2px;
}

.site-footer .widget_nav_menu li:before {
    content: '';
}

/**
 * ----------------------------------------------
 * Cookie Consent
 * ----------------------------------------------
 */
.cn-button.btn-cookie-consent {
    background: #212121;
}

/**
 * ----------------------------------------------
 * Contactform 7
 * ----------------------------------------------
 */
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    border-radius: .4375em;
    border: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: #48c78e;
    color: #fff;
}

.wpcf7 form.invalid .wpcf7-response-output {
    background: #ffe08a;
    color: #79644e;
}

/**
 * ----------------------------------------------
 * Visual Portfolio - Fotogalerie
 * ----------------------------------------------
 */

.wp-block-visual-portfolio {
    --vp-color-brand: var(--globalactive-brand-color);
}

.post .entry-content .wp-block-visual-portfolio a {
    text-decoration: none !important;
}

.post .entry-content .wp-block-visual-portfolio a:hover {
    color: inherit !important;
}

.post .entry-content .vp-filter__item-active a:hover,
.post .entry-content .vp-filter__item-active a:focus {
    color: #fff !important;
}

.dark.portfolio-template-default .navbar .nav .nav-item-gallery .nav-link {
    color: var(--globalactive-brand-color);
}

.gactive-gallery-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    grid-gap: 30px;
}

.gactive-gallery-list>li {
    text-align: center;
}

.gactive-gallery-nav {
    background-color: #212121;
    border-radius: var(--vp-border-radius);
    padding: 0.625em;
    text-align: center;
    margin-bottom: 30px;
}