/* mod-agripedia.css */
:root {
	--agripedia-primary: #e72200;
	--agripedia-secondary: #D6D6D6;
	--agripedia-body-background: #f7f7f7;
	--agripedia-content-max-width: 110rem;
}

body {
	background-color: var(--agripedia-body-background);
}

.agripedia-no-margin-top {
	margin-top: 0px !important;
}

.agripedia-lead {
	font-size: 2.2rem !important;
}

.agripedia-teaser h2 {
	color: #fff;
	display: inline-block;
	font-size: 3rem;
	background-color: rgb(231, 34, 0);
	padding: 0.5rem 1.5rem;
	position: relative;
	top: 65%;
}

.agripedia-teaser a {
	color: #fff;
	text-decoration: none;
}

.agripedia-teaser {
	padding: 0;
	border: 1px solid;
	min-height: 300px;
}

.agripedia-teaser-block p a {
	color: white;
	text-decoration: none;
}

.agripedia-teaser-block p {
	color: white !important;
	display: inline-block;
	font-weight: 700;
	font-size: 25px;
	text-align: left;
	background-color: var(--agripedia-primary);
	padding: 0.5em;
	position: absolute;
	left: 0;
	bottom: 20%;
	width: unset !important;
}

.agripedia-teaser-block {
	box-shadow: 0 0 0.6em lightgray;
	margin: 0 !important;
	transition: all .25s linear !important;
	overflow: clip;
}

.agripedia-teaser-block:hover {
	box-shadow: -1px 10px 29px lightgray;
}

.agripedia-in-bearbeitung::before {
	background-color: #ffcf00;
	color: #333;
	content: "In Vorbereitung";
	font-size: 90%;
	font-weight: 500;
	height: 35px;
	left: -45px;
	padding: .2em;
	position: absolute;
	text-align: center;
	text-decoration: none;
	top: 40px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	width: 200px;
	z-index: 999;
}

.agripedia-traduction-en-cours::before {
	background-color: #ffcf00;
	color: #333;
	content: "Traduction en cours";
	font-size: 90%;
	font-weight: 500;
	height: 35px;
	left: -55px;
	padding: .2em;
	position: absolute;
	text-align: center;
	text-decoration: none;
	top: 50px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	width: 250px;
	z-index: 999;
}

/* CAPTION */

.agripedia-caption {
	font-size: 1.6rem;
	margin-top: 1.5rem;
	font-weight: 500;
	color: #686868;
}

/* MODAL */

.agripedia-portrait-modal .bod-block-popup-wrap,
.agripedia-portrait-modal .bod-block-popup {
	padding: 1.5rem;
	max-height: 90%;
}

.agripedia-portrait-modal .bod-block-popup-wrap h2,
.agripedia-portrait-modal .bod-block-popup h2 {
	font-size: 3rem;
}

.agripedia-portrait-modal .bod-block-popup-wrap figure,
.agripedia-portrait-modal .bod-block-popup figure {
	margin: 1rem 0 !important;
}

.agripedia-portrait-teaser-block p {
	align-items: center;
	background-color: var(--agripedia-primary);
	bottom: 0%;
	color: white !important;
	display: flex;
	font-size: 20px !important;
	font-weight: 700;
	height: 80px;
	text-align: unset !important;
	left: 0;
	padding: 0.5em;
	position: absolute;
}


/* TABLE */

.agripedia-table-freezed-1st-col table th:nth-child(1),
.agripedia-table-freezed-1st-col table td:nth-child(1) {
	position: sticky;
	left: 0;
	z-index: 999;
	background: #f7f7f7;
	box-shadow: 1px 1px 1px lightgray;
	background-clip: padding-box;
	text-align: center;
}

/* --------------------------
/* mod-getwid.css
/* --------------------------*/

.wp-block-getwid-toggle__header a,
.wp-block-getwid-toggle__icon {
	  color: black !important;
    font-size: 5rem !important;
	  font-weight: bold !important;
}

/* TOGGLES */

/* no padding left & right */ 
.wp-block-getwid-toggle .wp-block-getwid-toggle__header {
	padding: .5em 0;
}

/* no borders */
.wp-block-getwid-toggle__row:first-child .wp-block-getwid-toggle__header-wrapper,
.wp-block-getwid-toggle .wp-block-getwid-toggle__header-wrapper,
.wp-block-getwid-toggle__content {
	border: none;
}

/* h2 font & icon size */
h2.wp-block-getwid-toggle__header .wp-block-getwid-toggle__header-title {
	font-size: 4.8rem;
}
h2.wp-block-getwid-toggle__header .wp-block-getwid-toggle__icon i {
	font-size: 3.8rem;
}

/* h3 font & icon size */
h3.wp-block-getwid-toggle__header .wp-block-getwid-toggle__header-title {
	font-size: 4rem;
}
h3.wp-block-getwid-toggle__header .wp-block-getwid-toggle__icon i {
	font-size: 3.5rem;
}

/* Content Slider */
.wp-block-getwid-content-slider.has-arrows-outside {
	background-color: #fff;
	padding: 0 20px;
	box-shadow: 0 0 0.6em lightgray;
}

.wp-block-getwid-content-slider h1,
.wp-block-getwid-content-slider h2,
.wp-block-getwid-content-slider h3,
.wp-block-getwid-content-slider h4,
.wp-block-getwid-content-slider h5,
.wp-block-getwid-content-slider h6 {
	margin-top: 15px
}

.wp-block-getwid-content-slider .slick-next::before,
.wp-block-getwid-content-slider .slick-prev::before {
	font-size: 30px;
}

.slick-prev {
	left: -35px;
}

.wp-block-getwid-content-slider.has-dots-inside .slick-dots li button {
	text-shadow: none;
}
.wp-block-getwid-content-slider.has-dots-inside .slick-dots li button::before {
  color: #000;
}

.slick-dots li button::before {
	font-size: 12px;
}


/* ----------------------
/* mod-twentytwenty.css
/* ---------------------- */

/* HEADER */

.header-inner.section-inner {
	max-width: 168rem;
}

.header-titles-wrapper {
	height: 50px;
}

.header-inner .toggle {
	height: 40px;
}

@media (max-width: 999px) {
	.header-inner {
		padding: 0;
	}
}

/* INNER */

.post-inner {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.section-inner,
.entry-header-inner,
.entry-header-inner.section-inner.medium {
	max-width: var(--agripedia-content-max-width);
	width: calc(100% - 4rem);
}

/* FOOTER */

footer .section-inner {
	max-width: 168rem;
}