/*
 Theme Name: gp-oepf
 Theme URI:
 Description: generatepress Child - angepasst + zusätzliche Funktionen
 Author: Oekoplatt
 Author URI: https://www.oekologische-plattform.de
 Template: generatepress
 *
/* I. eigene Styles
/******************************/
.s1-1,
.pagetitle,
.entry-title,
.warn {
	clear: both;
}
.s1-2,
.s1-3,
.s1-4,
.event_location,
.event_excerpt,
/*.event_item,*/
.event_data event_category   {
	float: left;
	min-width: 11em !important;
	margin-right: 1em;
	-webkit-hyphens: auto !important;
	-ms-hyphens: auto !important;
	hyphens: auto !important;
}
.event_category { display: none; }
.s1-2,
.s1-2r {
	width: 45%;
}
.s1-3,
.s1-3r {
	max-width: 30%;
}
.s2-3,
.s2-3r {
	width: 60%;
}
.s1-4,
.s1-4r {
	max-width: 21%;
}
.s3-4,
.s3-4r {
	width: 75%;
}
.s1-1r,
.s1-2r,
.s1-3r,
.s1-4r,
.Shariff,
.event_thumbnail,
.attachment-thumbnail,
.wp-post-image,
.event_thumbnail_wrap {
	float: right !important;
	min-width: 140px !important;
	max-width: 45% !important;
	size: contain;
	margin-left: 1em;
	padding-left: 1em;
}
ol, ul,
.wp-block-latest-comments has-dates {
    margin-left: 0em;
}
.entry-content ul,
.comment-content ul,
.footnote_plugin_text ul li,
.wp-block-latest-comments has-dates,
.hlist ul   {
    list-style-type: none;
}
.entry-content ul li,
.comment-content ul li,
.footnote_plugin_text ul li,
.wp-block-latest-comments__comment-meta,
.recentcomments,
.widget_recent_entries ul li {
	list-style-position: outside;
	margin-left: 0em;
	padding-left: 1em;
	background-size: 1em 1em;
	background-position: left 0.5em !important;
	background: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%2210%22%20height%3D%228%22%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%202%202%27%3E%3Cpolygon%20fill%3D%27red%27%20points%3D%270%2C0%202%2C1%200%2C2%200%2C0%27%2F%3E%3C%2Fsvg%3E") no-repeat left;
	/* <svg width="10" height="8" xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 2'><polygon fill='#E00000' points='0,0 2,1 0,2 0,0'/></svg> */
}
.event-list ul li {
	background: none;
}
dt {
  float: left;
  font-weight: bold;
  margin-right: 0.5em;
}

dd {
    margin-left: 2.5em;
    margin-bottom: 0.5em;
}
dl::after {
    content: "";
    display: block;
    clear: both;
}
.mehrspaltig,
.wpra-item-list  {
  -webkit-columns: 4 17em !important;
  columns: 4 17em !important;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto !important;
  page-break-inside: avoid;
}
.wpra-item a {
	text-decoration: underline;
}
.wpra-item,
.feed-item {
    -webkit-hyphens: auto !important;
	-ms-hyphens: auto !important;
	hyphens: auto !important;
    page-break-inside: avoid;
    column-break-inside: avoid;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
}
.taste {
    width: 10em;
    float: left;
    text-decoration: none;
	font-size: 17px;
    text-align: center;
    background-color: #EEEEEE;
    color: black !important;
    padding: 0.5em;
    margin: 0.75em 1.5em;
	border: 1px solid black !important;
	border-radius: 0.75em;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	padding: 10px 20px;
	color: #FFF;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  grid-auto-flow: dense;
}
.gallery figure.landscape {
  grid-column-end: span 2;
}
.gallery figure.panorama {
  grid-column-end: span 3;
}
.zentriert {
    text-align: center;
}
.active_page {
    font-weight: 1000;
	font-size: 1.2em;
	text-decoration: underline;
	align-items: center;
    position: relative;
    vertical-align: baseline;
    top: -0.3em;
}
.alignleft {
    margin: 0 0.5em !important;
}
.alignleft:not(.nav-next).alignleft:not(.nav-previous).alignleft:not(.inside-site-info) {
font-weight: 1000;
text-decoration: underline;
}
.alignleft a {
font-weight: inherit;
text-decoration: inherit;
}
.block-zentriert {
    width: 100vw !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.fahne {
	background-image: url("https://www.oekologische-plattform.de/wp-content/uploads/2020/04/fahne.gif") !important;
	background-repeat: no-repeat;
//	background-size: cover;
}
.absenden {
	visibility: hidden;
}

/* II. Korrekturen
*/
.byline,
.copyright-bar,
.page-header-image-single,
.comment-metadata {
	display: none !important;
}
blockquote {
    padding: 0.5em !important;
    margin: 0 0 1em 0em !important;
    font-size: 1.0em;
	font-style: italic;
	box-shadow: none;
    border-left: 0.3em solid #f00;
	border-radius: 1em;
}
.navigation-search input[type="search"] {
    font-size: 1.2em;
    font-weight: 600;
	color: black !important;
	background-color: white !important;
	border-color: black;
	border: 0.7em solid #1E6416;
}
.inside-header {
	background-color: #1E6416 !important;
}
.generate-back-to-top,
.main-navigation,
.mobile-menu,
.main-nav ul li a,
.a11y-toolbar ul li button,
.warn,
.alert,
.s2_error {
	color: white !important;
	background-color: #E00000 !important;
	font-size: 110%;
	font-weight: 600;
}
.kasten {
	padding: 0 0.4em;
	background: #DDD;
	border: 1px solid black;
	border-radius: 0.5em;
}
.main-title a {
	color: white !important;
}
.textwidget,
.custom-html-widget {
	text-align: left;
}
.entry-meta a {
	color: black !important;
}
a:hover,
.wpra-item a:hover,
.nav-links a:hover {
	color: #E00000 !important;
	text-decoration: underline;
}
.cat-links::before,
.tags-links::before,
.comments-link::before,
.gp-icon.icon-categories,
.gp-icon.icon-tags,
.gp-icon.icon-comments,
.nav-previous::before,
.nav-next::before,
.prev::before,
.next::before,
.fa-print {
	color: #E00000 !important;
	font-weight: 900 !important;
}
.nav-previous::before {
  content: "⯇    " ;
}
.nav-next::before {
  content: "⯈    " ;
}
.gp-icon.icon-arrow-left,
.gp-icon.icon-arrow-right {
  display: none;
}
.shariff-button.facebook.shariff-nocustomcolor a:hover,
.gp-icon.icon-arrow {
	background-color: #E00000 !important;
	color: white !important;
	text-decoration: underline;
}
.event_single {
    margin-bottom: 1.5em !important;
}
.event_geolist.has-list {
    background-color: white !important;
}
.widget-title {
    font-weight: 700;
}
span.wpcf7-list-item {
/*	display: block !important;
	text-indent: -1.5em !important; */
	margin: 1 0 2 1.5em !important;
}
/*input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	border: 1px solid black !important;
	background: #FAFAFA;
	color: black !important;
} */
body input[type="button"],
button,
input[type="reset"],
input[type="submit"] {
	background: #CCC;
	border: 1px solid black;
	border-radius: 0.5em;
	color: black !important;
}
.no-comments {
    display: none !important;
}
h1, h2, h3 {
    margin-top: 1em;
}
h4 {
    font-weight: bold !important;
}
table,
th,
td {
	border: none;
}
/* .paging-navigation {
    display: none;
} */
.event-content-link {
	font-size: 1.1em;
}
.dtstart,
.dtend {
	display: inline-block;
	text-align: center !important;
	max-width: 3.5em !important;
	height: 4.5em !important;
	padding: 0.3em !important;
	border-radius: 5px !important;
	background-color: rgb(230,230,230) !important;
	text-decoration: none !important;
}
.event-label {
    display: none;
}
.event-time, .summary {float: left;}
.description,
.event-item {
    clear: both;
}
.wprss-ui-tooltip {
    max-width: 50% !important;
}
.backlink {
    color: red !important;
    font-size: 1.2em;
    font-weight: 900;
}
.comment-form-openpgp-encryption {
  display: none;
}

/* III. Medien */
@media (max-width: 450px) {
    .multi-day,
    .single-day {
	    margin: 0 !important;
    }
}
@media print {
    @page { margin: 1cm }
	form,
	button,
	input,
	select,
	textarea,
	hr,
	ins,
	.screen-reader-text,
	.main-navigation,
	.widget-area,
	.entry-meta,
	.entry iframe,
	.crp_related,
	.site-header,
	.site-footer,
	.shariff,
	.ShariffHeadline,
	.shariff-buttons,
	.footnote_plugin_tooltip_text,
	.generate-back-to-top,
	.comments-area {
		display: none !important;
	}
	html,
	body,
	a,
    .site-header,
    .site-main,
    .site-footer,
    .content-area,
    .footnote_container_prepare {
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        width: 100% !important;
        page-break-before: avoid !important;
        color: #000 !important;
        background-color: #fff !important;
        font-family: "times new roman", times, Georgia, serif !important;
    }
    h1, h2, h3, h4 {
        page-break-after:avoid !important;
        page-break-inside:avoid !important;
    }
    a, table, pre, li, dl, img, blockquote {
        page-break-inside:avoid  !important;
    }
    img,
    .size-full {
        max-width: 6cm !important;
    }
    blockquote {
    padding: 0.5em 0.5em !important;
    margin: 0 !important;
    }
    a:link, a:visited, a {
        text-decoration: underline !important;
    }
}

@media screen {
    a[href*="//"]:not([href*="https://www.oekologische-plattform.de/"]) {
	    padding-right: 1.7em;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolygon fill='%230b6600' points='2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10'/%3E%3Cpolygon fill='red' points='6.2,2 10,2 10,5.8 8.6,4.4 6.5,6.5 5.5,5.5 7.6,3.4'/%3E%3C/svg%3E ") no-repeat right;
    }
}

.event_post_day_over.li {
  background: none !important;
}

.wpcf7cf_group {
	height: auto; 
	display: block;
	background-color: #a7dd66;
}