

/* ------------------------------------------------ Page Builder --- */

/* .quota {
	padding-bottom: 30px;
} */
.pb-text-1-col, .pb-text-2-col, .pb-dates, .pb-video, .pb-img-left-text-right, .pb-text-left-img-right, .pb-teaser-text-3-col, .pb_news_article, #date-intro, .pb-gallery-3-col {
	padding-top: 30px;
	padding-bottom: 30px;
}
#row-1.pb-row h1  {
	padding-top: 70px;
	padding-bottom: 10px;
}
#row-1.pb-row.pb-quota .quota-topline {
	padding-bottom: 20px;
	padding-top: 0;
}
#row-1.pb-row.pb-quota .page-title {
	padding-top: 0;
	font-size: 1.7rem;
	letter-spacing: 0;
}
.pb-headline h1 {
	padding-top: 30px;
}
.pb-text-2-col header h1 {
	padding-top: 20px;
	padding-bottom: 30px;
}
.pb-teaser-text-3-col header h1 {
	padding-bottom: 15px;
}
.pb-img-left-text-right header h1, 
.pb-text-left-img-right header h1 {
	padding-bottom: 30px;
}
.pb-text-1-col, 
.pb-text-2-col, 
.pb-quota + .pb-text-2-col, 
.pb-dates + .pb-dates, 
.pb-headline + .pb-dates, 
.pb-headline + .pb-text-left-img-right, 
.pb-headline + .pb-img-left-text-right, 
.pb-teaser-text-3-col + .pb-teaser-text-3-col,
.pb-headline + .pb-text-1-col, 
.pb-headline + .pb-teaser-text-3-col {
	padding-top: 0;
}
.pb-1-image {
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top: 25px;
	margin-bottom: 25px;
}
.pb-news {
	padding-top: 25px;
	padding-bottom: 30px;
}
.pb-news + .pb-1-image {
	padding-top: 0;
	margin-top: -30px;
}
.pb-text-3-col {
	padding-top: 10px;
	padding-bottom: 22px;
}
.pb-text-left-price-right, .pb-text-3-col-repeater, .pb-racecars {
	padding-bottom: 30px;
}
/*.block-text:first-of-type h2 {
	padding-top: 0;
}*/
.block-text p + h2 {
	padding-top: 20px;
}
.block-text:nth-of-type(1) h2 {
	padding-top: 0;
}
.block-text:nth-of-type(2) h2 {
	padding-top: 20px;
}
.block-text h2:nth-of-type(2) {
	padding-top: 20px;
}

.pb-1-image + .pb-text-2-col {
	padding-top: 30px;
}
.pb-1-image + .pb-text-2-col header h1{
	padding-top: 0;
}
.block-img {
	padding-bottom: 30px;
}

.pb-text-left-img-right header h2 {
	padding-top: 0;
	padding-bottom: 30px;
}

.pb-text-left-img-right .block-img {
	order: 1;
}
.pb-text-left-img-right .block-text {
	order: 2;
}
.pb-text-left-price-right {
	padding-top: 30px;
}
.pb-text-left-img-right + .pb-text-2-col {
	margin-top: -30px;
}
@media (min-width: 768px) {
	.pb-text-left-img-right .block-img {
		order: 2;
	}
	.pb-text-left-img-right .block-text {
		order: 1;
	}
	.pb-text-left-img-right + .pb-text-2-col {
		margin-top: inherit;
	}
	.block-img {
		padding-bottom: 0;
	}
	.pb-text-2-col header h2 + .content .block-text h2 {
		padding-bottom: 0;
		margin-bottom: -10px;
	}
	.block-text:nth-of-type(2) h2 {
		padding-top: 0;
	}
}
/*---------------------------------------------------------- Titel Booked ---*/
.entry-header .booked {
	display: inline-block;
	background-color: #acaba9;
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08rem;
	margin-bottom: 20px;
	margin-right: 20px;
	padding: 6px 20px;
	border-radius: 15px 0 15px 0;
}

.entry-header .booked.book {
	background-color: #3db53d;
}
/*------------------------------------------------------------- Headlines ---*/
.pb-headline h1, #debleu-pb header h1, 
.pb-teaser-text-3-col h1, .headline-racetrack h1 {
	/*  flexible font size: min font-size px + (max font size - min font-size) * ((100vw - min screen-size px) / (max screen-size - min screen-size)))   */
	font-size: calc(30px + (36 - 30) * ((100vw - 400px) / (1370 - 400)));
}
@media (min-width: 1370px) {
	.pb-headline h1, #debleu-pb header h1, 
	.pb-teaser-text-3-col h1, .headline-racetrack h1 {
		font-size: 3.6rem;
	}
}
/* .single-news header h1 {
	padding-bottom: 40px;
} */
.pb-headline h2 {
	border-bottom: 1px solid var(--gold);
	padding-bottom: 10px;
	padding-top: 0;
	margin-bottom: 20px;
	font-size: 170%;
}
.block-text h2 + h3 {
	padding-top: 0;
}
.block-text ul + h2 {
	padding-top: 0;
}
/* .block-text ul + h3 {
	padding-top: 0;
} */
.pb-news-text-wrap h2, .pb-teaser-text-3-col h2 {
	padding-top: 20px;
	font-size: 2rem;
}

.pb-teaser-text-3-col header h2 {
	font-size: 2.6rem;
	padding: 0 0 20px 0;
	text-transform: uppercase;
	font-weight: 600;
}

.pb-headline h2.subline {
	margin-top: -5px;
	margin-bottom: 30px;
	text-transform: uppercase;
	letter-spacing: 0.06rem;
	font-weight: 400;
	border: 0;
	font-size: 2.1rem;
	line-height: 1.4;
}
/*-------------------------------------------------------------  Columns  ---*/
.pb-columns {
	column-gap: 40px;
	column-width: 400px;
}
@media (min-width: 1300px) {
	.pb-columns {
		column-width: 500px;
	}
}
.pb-columns img.size-thumbnail {
	padding-top: 30px;
	padding-bottom: 30px;
}
.pb-columns h2:first-of-type {
	padding-top: 0;
}
/*---------------------------------------------------------------  Quota  ---*/
.pb-quota .page-title {
	font-size: 2.2rem;
	color: #000000;
	padding: 0 0 10px 0;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-ms-transition: all 0.3s ease;
			transition: all 0.3s ease;
}
.pb-quota .page-title span {
	display: block;
}
.pb-quota .quota-topline {
	max-width: 790px;
	/*  flexible font size: min font-size px + (max font size - min font-size) * ((100vw - min screen-size px) / (max screen-size - min screen-size)))   */
	font-size: calc(34px + (50 - 34) * ((100vw - 400px) / (1360 - 400)));
	line-height: 1.2;
	text-transform: uppercase;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-ms-transition: all 0.3s ease;
			transition: all 0.3s ease;
}
@media (min-width: 930px) {
	.pb-quota .page-title span {
		display: inline-block;
	}
	.pb-quota .page-title span::after {
		content: " · ";
		display: inline-block;
		padding-inline: 5px;
	}
	.pb-quota .page-title span:last-of-type::after {
		content: none;
	}
}
@media (min-width: 1370px) {
	.pb-quota .quota-topline {
		font-size: 5rem;
		margin-left: -2px;
	}
}

.pb-row .block-img {
	box-shadow: 2px 2px 8px #c1c1c1;
	border-radius: 4px;
	overflow: hidden;
}

.pb-row .block-img figure {
	height: 100%;
}

.pb-row .block-img figure img {
	object-fit: cover;
	height: 100%;
}

.pb-row .block-text,
.pb-row .block-img {
	width: 100%;
}
.pb-1-image, .pb-teaser-img {
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;    
	display: -ms-flexbox;
	display: flex;
	
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
			flex-wrap: wrap;
	
	-webkit-box-pack: justify;
	-moz-box-pack: justify;
	-ms-flex-pack: justify;
	
	-webkit-justify-content: center;
			justify-content: center;

	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
			align-items: center;
}
.pb-1-image, 
.pb-teaser-img {
	position: relative;
	overflow: hidden!important;
}
.pb-1-image figure, 
.pb-teaser-img figure {
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
			align-items: center;

	position: relative;
	overflow: hidden;
}
.pb-teaser-img figure {
	height: 100%;
}

.pb-google-map {
	max-height: 480px;
}

.racecar-text h2 {
	padding-top: 0;
}

/* --------------------------------------------- pb-teaser */

.pb-teaser-wrapper {
	gap: 24px;
}

.pb-teaser {
	width: 100%;
	overflow: hidden;
	box-shadow: 2px 2px 8px #c1c1c1;
	padding: 16px;
	border-radius: 4px;
}

.pb-teaser-img {
	cursor: pointer;
	aspect-ratio: 3 /2;
	background-color: #f2f1f0;
}

.pb-teaser-img figure img {
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.pb-teaser a {
	text-decoration: none;
}
.pb-teaser figure img, .pb-news-block figure img {
	transition: all 0.5s 0s;
	-webkit-transform: scale(1, 1);
	-moz-transform: scale(1, 1);
			transform: scale(1, 1);
}

.pb-teaser:hover figure img, .pb-news-block:hover figure img {
	transition: all 0.5s 0s;
	-webkit-transform: 	scale(1.1, 1.1);
	-moz-transform: 	scale(1.1, 1.1);
			transform: 	scale(1.1, 1.1);
}


.pb-teaser.black-teaser .titel {
	position: absolute;
	padding: 0 20px;
	top: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
	margin: 0;
	width: 100%;
	height: 100%;
	text-align: center;
}
.pb-teaser.black-teaser .wrap {
	width: 100%;
	position: relative;
}
.pb-teaser.black-teaser:hover a .titel {
	opacity: 1;
}
.pb-teaser.black-teaser h2 {
	font-size: 2.2rem;
	color: #FFF;
}
.pb-teaser.black-teaser h2 span {
	position: relative;
	text-align: center;
	display: block;
	font-size: 6rem;
}
.pb-teaser.black-teaser h3 {
	font-size: 1.4rem;
	color: #FFF;
}
.pb-teaser.black-teaser .darken {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	background: #333331;
	opacity: 0;
	transition: opacity 0.5s ease-in;
}
.pb-teaser.black-teaser:hover .darken {
	opacity: 0.8;
	transition: opacity 1s ease;
}
.pb-teaser-text-wrap {
	padding: 0 20px 10px 0;
}
.pb-teaser-text-wrap-color {
	padding: 0 20px 20px 20px;
}
.pb-teaser-text-wrap a, .pb-teaser-text-wrap-color a {
	text-decoration: none;
}
.news-date {
	font-size: 90%;
}
/*  ------------------------------------------------- Dates --- */
#racetrack-infos header h1 {
	padding-bottom: 30px;
}
.booking-text-1 {
	margin-bottom: 20px;
}
/* .pb-dates .dates .trackday-format {
	color: hsl(41deg 53% 52%);
	display: block;
} */

.pb-dates .dates .trackday-format {
	color: #525252;
	display: block;
	font-weight: 400;
	font-size: 1.35rem;
}

.pb-dates .dates {
	font-size: 1.4rem;
}
.pb-dates .date-item {
	position: relative;
	width: 100%;
	/* min-height: 118px; */
	margin: 5px;
	background-color: hsl(47deg 15% 94%);
}
.pb-dates .date-item-wrap {
	padding: 10px 15px;
}
.pb-dates header h2 {
	padding-top: 0;
	border-bottom: 1px solid var(--gold);
	padding-bottom: 10px;
	margin-bottom: 10px;
	/* text-transform: uppercase; */
	font-size: 2.3rem;
}
.pb-dates header h3 {
	padding-top: 0;
	border-bottom: 1px solid var(--gold);
	padding-bottom: 10px;
	margin-bottom: 10px;
}
.pb-dates a {
	position: relative;
	display: block;
	text-decoration: none;
}

.pb-dates .event {
	font-size: 1.7rem;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.02rem;
}

.pb-dates .date-item p {
	padding: 0 0 3px 0;
	width: 100%;
}

.db-car-control-training .pb-dates .date-item p.dates {
	padding-bottom: 15px;
}

.pb-dates .date-item p.booked {
	font-weight: 400;
	font-size: 1.34rem;
	padding: 0;
}
.pb-dates .date-item p.booked span {
	display: block;
}
.pb-dates .booked {
	padding-bottom: 0;
}
.pb-dates h3 {
	padding: 0 0 5px 0;
}
.pb-dates .booking {
	position: absolute;
	right: -5px;
	top: 0;
	z-index: 1;
	display: block;
	color: #fff;
	padding: 0px 10px 0px 10px;
	background-color: #3db53d;
	font-size: 1.4rem;
	transform: rotateZ(-4deg) skewX(-4deg);
}
.booked-out-checkbox {
	position: relative;
	display: inline-block;
	padding-right: 30px;
}
.booked-out-checkbox .wpcf7-list-item-label {
	cursor: default; 
}
.booked-out-checkbox b {
	padding-left: 5px;
}
.booked-out-checkbox::before {
	display: block;
	position: absolute;
	content: '';
	height: 30px;
	width: 30px;
	top: 0;
	left: 0;
	background: #e7e7e7;
	border: 2px solid #ccc;
}
.pb-dates .booking.sold {
	background-color: #b7b5ad;
}
.pb-dates .booking.soon {
	background-color: #ddb55f;
}
.pb-dates a:hover .booking {
	background-color: #2d892d;
}
.pb-dates a:hover .booking.sold {
	background-color: #e54717;
}
.pb-dates .booking.cancelled {
	background-color: #3c3c3c;
}
.pb-dates .trackday-format.sold-out,
.pb-dates .date-item p.sold-out {
	color: #b5b5b0;
}
.pb-row .content ul li.price-box-wrap::before {
	display: none;
}
.pb-row .content ul li.price-box-wrap {
	padding: 0;
	text-indent: 0;
}
ul.price-box {
	padding: 10px 0;
}

.price-box-text-top.red.bold {
	padding: 8px 10px;
	background-color: #fdf1cf;
	text-align: center;
	/* font-size: 1.7rem; */
	margin-bottom: 10px;
	border-radius: 3px;
}

.price-box-text-top {
	padding-block: 5px;
}

.one-to-one-coaching .price-box-text-top {
	padding-bottom: 0;
}
.one-to-one-coaching h2.headline-prices {
	font-size: 2.2rem;
}
.one-to-one-coaching .price-box-text-top h3 {
	padding: 15px 0 0 0;
	color: #41b0fb;
}
.one-to-one-coaching .price-box-text-top.first h3 {
	padding-top: 0;
}

.price-box-wrap {
	/* padding-top: 5px; */
	border-bottom: 1px solid #d4b471;
}

p.price-box-headline {
	width: 100%;
	font-size: 1.5rem;
	padding-bottom: 0;
}
.price-box-head {
	margin-top: 10px;
	width: 100%;
	font-size: 1.8rem;
}
.price-box-head .blue {
	font-weight: 700;
	color: #17b4ff;
}

.price-box-text, .price-box-price {
	display: inline-table;
	margin-block: 8px;
	font-weight: 600;
	line-height: 1.2;
	padding: 0;
}

.price-box-text {
	width: calc(100% - 110px);
}

.price-box-price {
	margin-left: auto;
	width: 110px;
	text-align: right;
}

.price-box-descr.text-small {
	width: calc(100% - 110px);
	font-size: 1.2rem;
	margin-top: -3px;
	margin-bottom: 8px;
	padding: 0;
}

.price-box-free-places {
	padding-block: 8px;
    width: 100%;
}

.price-box-free-places.nst {
	padding-bottom: 0;
}

.price-box-free-places > span {
	font-weight: 600;
}

.price-box-wrap.hotel .price-box-text {
	font-weight: 400;
}

.price-box-wrap.coaching .price-box-text,
.price-box-wrap.coaching .price-box-price {
	border-bottom: 1px solid #e4e1df;
	padding-bottom: 5px;
	margin-bottom: 3px;
	margin-top: 3px;
}
.price-box-wrap.coaching .price-box-text.compact-coaching,
.price-box-wrap.coaching .price-box-price.compact-coaching {
	border: none;
}

.price-box-text-bottom {
	padding-top: 10px;
	font-size: 1.5rem;
}

.price-box-text-bottom.text-small {
	font-size: 1.2rem;
	padding-top: 5px;
	text-align: right;
}

.price-box-text-bottom.text-small.es {
	font-size: 1.5rem;
	padding-top: 10px;
	font-weight: 600;
}
.pb-news a {
	text-decoration: none;
}

.pb-news-text-wrap {
	padding: 0 20px 0 0px;
}
.pb-news-text-wrap .date {
	font-size: 1.5rem;
	font-weight: 400;
	display: inline-block;
	padding-bottom: 7px;
}
.pb-news-text-wrap h3 {
	font-size: 1.8rem;
	padding-top: 0;
}
.block-text-col3 h2 + h3 {
	padding: 0 0 10px 0;
}
#raceteam-intro {
	padding-bottom: 30px;
	padding-top: 20px;
}

/*.pb-pp-img-5-col {
	width: calc(100% / 2);
}*/
/* @media (min-width: 710px) {
	.pb-teaser, .pb-news .pb-news-block {
		width: calc(100% / 2);
	}
} */

@media (min-width: 768px) {
	
	.pb-row .block-text,
	.pb-row .block-img {
		width: calc((100% - 50px) / 2);
	}

	.pb-teaser {
		width: calc((100% - 24px) / 2);
	}

	.pb-dates .date-item {
		width: calc((100% - 20px) / 2);
	}
}

@media (min-width: 980px) {

	.pb-teaser {
		width: calc((100% - 48px) / 3);
	}

	.pb-row .block-text-col3 {
		width: calc((100% - 80px) / 3);
		margin-right: 40px;
	}

	.pb-row .block-text-col3:nth-child(3n+3) {
		margin-right: 0;
	}
}

@media (min-width: 1000px) {

	.pb-dates .date-item {
		width: calc((100% - 30px) / 3);
	}
}
/* --------------------------------------------------------------- Lists --- */
.pb-row .content li {
	list-style: none;
}
.pb-row .content li:before {
	content: "»";
	color: #000;
	display: inline-block;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	padding-right: 8px;
}
.db-drivers .pb-row .content li:before,
.db-drivers-2 .pb-row .content li:before {
	color: #db0c02;
}
.pb-row .content ul + p {
	padding-top: 10px;
}
.pb-row .content ul li {
	padding-bottom: 4px;
	padding-left: 30px;
	text-indent: -9px;
}
/*  -------------------------------------------------- Google Maps Color --- */
.google-map {
	width: 100%;
	-webkit-filter: grayscale(100%) brightness(100%) sepia(0%) hue-rotate(1deg) saturate(0%) contrast(1);
	filter: grayscale(100%) brightness(100%) sepia(0%) hue-rotate(1deg) saturate(0%) contrast(1);
}
/*	---------------------------------------------------  Infinity Scroll --- */
.post-listing {
	width: 300px;
	height: 60px;
	background: red;
	margin: 30px auto;
}
/*	------------------------------------------------------  News Archive --- */

.news-headline h2 {
	padding: 0 0 20px 5px;
	font-size: 2.6rem;
	text-transform: uppercase;
}

.archive-news .box {
	margin-bottom: 30px;
	width: 100%;
	border: 5px solid transparent;
}
.archive-news .box h2 {
	padding: 10px 0 20px 0;
}
.archive-news .box a.link {
	text-decoration: none;
}
.archive-news .box a.read-more {
	margin-top: 0;
}
@media (min-width: 830px) {
	.archive-news .box {
		width: calc(100% / 3);
	}
}
/*	---------------------------------------------------------  News Home --- */

a.news-archive-link {
	text-align: center;
	display: table;
	border: 1px solid hsl(224deg 15% 64%);
	margin: 30px auto 0 auto;
	padding: 10px 0;
	width: calc((100% - 60px) / 3);
	min-width: 250px;
	font-weight: 600;
}

a.news-archive-link:hover {
	background-color: #6dbe1f;
	color: #fff;
}

/*	-------------------------------------------------------  News Single --- */
.pb_news_article .col-2 {
	width: 100%;
}
@media (min-width: 830px) {
	.pb_news_article .col-2 {
		width: calc((100% - 30px) / 2);
	}
	.pb_news_article h2 {
		padding-top: 0;
	}
}
/*	------------------------------------------------------------ Contact --- */
.contact-first {
	padding-bottom: 40px;
}
.contact-first span {
	width: 65px;
	display: inline-block;
}

.contact-member {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.contact-item {
	flex-basis: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.contact-image {
	max-width: 240px;
	display: flex;
	margin: 0 auto 20px auto;
	justify-content: center;
}
.contact-image img {
	border-radius: 50%;
	border: 5px solid var(--gold);
}
.contact-data {
	width: 100%;
	padding-left: 0;
	text-align: center;
}
.contact-data h3 {
	padding-bottom: 0;
	padding-top: 0;
}

/* ---- Page Trackdays ---- */

.db-trackdays #row-1.pb-text-left-img-right .block-img {
	display: none;
}

@media (min-width: 600px) {

    .contact-data {
		text-align: left;
        padding-left: 30px;
	}
    
    .contact-item {
        flex-direction: row;
    }
}


@media (min-width: 992px) {

    .contact-item {
        flex-basis: 48%;
    }

	.contact-image {
		width: 35%;
		margin: 0 0 20px 0;
	}

	.contact-data {
		width: 65%;
	}

	/* ---- Page Trackdays ---- */

	.db-trackdays #row-1.pb-text-left-img-right .block-img {
		display: block;
	}

}

@media (min-width: 1300px) {

	.pb-text-left-img-right .content.block-text,
	.pb-img-left-text-right .content.block-text {
		padding-top: 40px;
	}

	/* ---- Page Trackdays ---- */

	.db-trackdays #row-1.pb-text-left-img-right .block-text {
		padding-top: 0;
	}

}

/*	------------------------------------------------------------ Images 3cols --- */

.pb-image-3-col-repeater .flex {
	gap: 30px;
	margin-top: 10px;
}

@media (min-width: 600px) {

	.pb-image-3-col-repeater a {
		display: block;
		max-width: calc((100% - 60px) / 3);
	}

}