/*
Theme Name: DP Buzz
Theme URI: http://www.doppelpack.com
Author: Timon Scheibner | Doppelpack Werbeagentur
Author URI: http://www.doppelpack.com
Description: Fast and lightweight mobile first Wordpress theme.
Version: 1.0.0
Tested up to: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dp-buzz

DP Buzz is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
and DP Apollo Theme.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Bootstrap v5.2.1 (https://getbootstrap.com/)
Copyright 2011-2019 Twitter, Inc.
Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Base
# Site Content
# Archives
# Numeric Posts Navigation
# Media Queries - Small devices (landscape phones, 576px and up)
# Media Queries - Medium devices (tablets, 768px and up)
# Media Queries - Large devices (desktops, 992px and up)
# Media Queries - Extra large devices (large desktops, 1200px and up)
---------------------------------------------------------------- */

:root {
	--padding-triangle: 17.6326981%;
	--padding-triangle-num: 17.6326981;
}


/* ============================================================= */
/* Base
/* ============================================================= */

*, ::after, ::before {
	box-sizing: border-box;
}

html {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border: none;
	font-size: 16px;
}

body {
	width: 100%;
	height: 100%;
	word-wrap: break-word;
	word-break: break-word;
	overflow-x: hidden;
}

a {
	transition: color 0.15s linear;
}

th,
td {
	padding: 0.5em;
}

figure {
	margin: 0;
}

#page {
	overflow: hidden;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Alignment Styles */

.wp-site-blocks,
body>.is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"]>.wp-block-group,
.is-root-container .wp-block[data-align="full"]>.wp-block-cover {
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
}

.wp-site-blocks .alignfull,
.wp-site-blocks>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-cover,
.wp-site-blocks>.wp-block-template-part>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-template-part>.wp-block-cover,
body>.is-root-container>.wp-block-cover,
body>.is-root-container>.wp-block-template-part>.wp-block-group.has-background,
body>.is-root-container>.wp-block-template-part>.wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
	margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	width: unset;
}

.otgs-development-site-front-end {
	display: none!important;
}

/* Helper Classes */

.stm-col-bg-skew-10deg,
.stm-col-bg-skew-n10deg {
	position: relative;
}

.stm-col-bg-skew-10deg:before,
.stm-col-bg-skew-n10deg:before {
	z-index: -1;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 9999px;
	height: 100%;
	background-color: var(--wp--preset--color--content-alt, #2E7AA2);
	transform: skewY(10deg);
	transform-origin: left;
}

.stm-col-bg-skew-n10deg:before {
	left: initial;
	right: 0;
	transform: skewY(-10deg);
	transform-origin: right;
}


/* ============================================================= */
/* Site Content
/* ============================================================= */

.posted-on time:not(.updated) {
	display: none;
}

.entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.entry-content .alignwide {
	width: 100%;
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

/* Rank Math FAQ */

#rank-math-faq {
	margin: 40px 0;
}

.rank-math-question {
    cursor: pointer;
    position: relative;
    display: block;
	background-color: var(--wp--preset--color--bg-grey, #f8f8f8) !important;
	color: var(--wp--preset--color--content-alt, #2E7AA2) !important;
	font-size: inherit;
	font-weight: normal;
    padding: 0.6em 1em;
    margin: 0 0 5px;
}

.rank-math-answer {
	color: inherit;
	text-align: left;
    padding: 20px;
}

.rank-math-question:after {
    position: absolute;
	content: "";
    right: 1em;
    top: calc(50% - 8px);
	height: 16px;
    width: 16px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBmaWxsPSIjMkU3QUEyIiBkPSJNMTYgNS41bC0xLjUtMS41LTYuNSA2LjUtNi41LTYuNS0xLjUgMS41IDggOCA4LTh6Ij48L3BhdGg+PC9zdmc+");
	background-repeat: no-repeat;
    transform: rotate(0deg);
    transition: all 0.3s ease-in-out;
}

.rank-math-question.collapse:after {
    transform: rotate(180deg);
}


/* dp-icon-grid-colours */

.dp-icon-grid.items-bg-blue .item {
    background-color: #009BDF;
    color: rgb(255, 255, 255);
}

.dp-icon-grid.items-bg-blue .item .icon svg path {
	fill: rgb(255, 255, 255);
}


/* wpDataCharts */

#wpDataChart_3 svg > g:first-of-type text,
#wpDataChart_4 svg > g:first-of-type text {
	/* fill: #fff; */
}


/* Entry Footer */
.entry-footer {
	margin-bottom: calc(1vw * var(--padding-triangle-num, 17.6326981));
}

/* ============================================================= */
/* Archives
/* ============================================================= */

body.blog .wp-block-post-title {
	text-align: center;
}

.articles-grid {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	gap: 20px;
	margin-top: var(--wp--custom--spacing--medium, 40px);
	margin-bottom: var(--wp--custom--spacing--medium, 40px);
}

.articles-grid article {
	flex: 0 1 100%;
	display: flex;
	flex-flow: row nowrap;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
	border-radius: 0;
	background-color: #ffffff;
	overflow: hidden;
}

.articles-grid .article-content {
	flex: 1;
	padding: 2rem;
	margin: 0;
}

.articles-grid .entry-title {
	font-size: 1.3em;
	margin-top: 0;
}

.articles-grid .entry-title > a {
	text-decoration: none;
}

.articles-grid .entry-meta {
	font-size: 0.8em;
}

.articles-grid .entry-excerpt {
	font-size: 0.9em;
	margin-top: 0.5em;
	margin-bottom: 1em;
}

.articles-grid .article-thumbnail {
	position: relative;
	flex: 1;
	min-height: 200px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.articles-grid .article-thumbnail a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.articles-grid .article-thumbnail img {
	position: absolute;
	top: -1px;
	left: -1px;
	width: 1px;
	height: 1px;
}


/* ============================================================= */
/* Numeric Posts Navigation
/* ============================================================= */

.num-posts-navigation {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 var(--wp--custom--spacing--medium, 40px);
	margin: var(--wp--custom--spacing--small, 15px) 0;
}

.num-posts-navigation ul {
	position: relative;
	display: flex;
	gap: 5px;
	list-style: none;
	padding: 0;
}

.num-posts-navigation li {
	display: flex;
	justify-content: center;
	align-items: center;
}

.num-posts-navigation > ul > li:before,
.num-posts-navigation > ul > li:after {
	display: none;
}

.num-posts-navigation li a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
	color: var(--wp--preset--color--primary, #009BDF);
	line-height: 30px;
	border-radius: 50px;
	background-color: transparent;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.15s linear;
}

.num-posts-navigation li a:hover {
	color: #fff;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
	background-color: var(--wp--preset--color--primary, #009BDF);
}

.num-posts-navigation li.active a {
	color: #fff;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
	background-color: var(--wp--preset--color--primary, #009BDF);
}

/* Previous and Next */
.num-posts-navigation li.previous {
	position: absolute;
	right: 100%;
}

.num-posts-navigation li.next {
	position: absolute;
	left: 100%;
}

.num-posts-navigation li.previous svg path,
.num-posts-navigation li.next svg path {
	fill: currentColor;
}

.with_frm_style .frm_required {
	color: var(--wp--preset--color--primary, #009BDF);
}

.frm_dropzone.frm_single_upload {
	max-width: 100%;
}

/* ============================================================= */
/* CPT: Jobs
/* ============================================================= */

#job-header {
	min-height: 30vh;
	color: #ffffff;
	background-image: url("assets/images/stm-logo-wasserschneiden.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 150px 0 2em;
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--40);
}

#job-header h1 {
	color: inherit;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

	/* ============================================================= */
	/* Base
    /* ============================================================= */

	html {
		font-size: 18px;
	}


	/* ============================================================= */
	/* Archives
    /* ============================================================= */

	.articles-grid .article-content {
		flex: 2;
	}

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {



}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

	/* ============================================================= */
	/* Base
    /* ============================================================= */

	/* Helper Classes */

	.stm-col-bg-skew-10deg:before,
	.stm-col-bg-skew-n10deg:before {
		left: -2em;
	}

	.stm-col-bg-skew-n10deg:before {
		left: initial;
		right: -2em;
	}


	/* ============================================================= */
	/* Site Content
    /* ============================================================= */

	.entry-content .alignwide {
		width: calc(50% + 50vw);
		max-width: calc(50% + 50vw);
		margin-left: calc(25% - 25vw);
		margin-right: calc(25% - 25vw);
	}

}

/*Marker Tec */

.marker li {
	display:flex;
	justify-content: center;
}