/*
 Theme Name:   GRÜNE Oldenburg 2024
 Theme URI:    https://www.gruene-oldenburg.de/
 Description:  Sunflower child-theme
 Author:       Thorsten Duhn
 Author URI:   https://www.editorial.de/
 Template:     sunflower
 Version:      0.0.6
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  sunflower
*/

/*
 * _Farben_
 * Tanne:       #005437
 * Klee:        #008939
 * Grashalm:    #8abd24
 * Sand:        #f5f1e9
 * Himmel:      #0ba1dd
 * Sonne:       #fff17a
 */

/**
 * RESET SUNFLOWER
 */

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  clear: none;
}
hr.wp-block-separator {
  clear: both;
}
.styled-layout .wp-block-group {
  padding: 0 10px 50px 10px;
}
.styled-layout .wp-block-group:first-of-type {
  padding-top: 50px;
}
a.event-card article .date {
  font-size: 20px;
}
.wp-block-table table td, .wp-block-table table th {
  padding: .5em;
}
.lightbox-image-container .wp-block-image figure {
  margin: 0;
}

.latest-posts article .entry-content a,
.archive-loop article .entry-content a {
  font-weight: 400;
}

dd {
  margin-left: 1.5em;
}

.footer-widget-area .widget h2 {
  color: #8abd24;
}

.uagb-tabs__wrap .uagb-tabs__body-container {
  display: none;
}

.owg-home-slider.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100%;
}

div.wpforms-container-full .wpforms-form .wpforms-form-hide-form .wpforms-field-description h3,
div.wpforms-container-full .wpforms-form .wpforms-form-hide-form .wpforms-field-description .h3 {
  color: #008939;
  font-size: 27px;
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
}
div.wpforms-container-full .wpforms-form .wpforms-form-hide-form .wpforms-field-description hr {
  clear: both;
  margin: 3rem 0;
  border: 1px solid rgb(32, 29, 27);
  opacity: 0.25;
  background-color: #ccc;
  height: 1px;
  box-sizing: content-box;
}
div.wpforms-container-full .wpforms-form .wpforms-form-hide-form .wpforms-field-description p {
  font-size: 1.1875rem;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}


/**
 * Theme shortcodes
 */
.grnol_tooltip {
  border-bottom: 1px dashed rgb(1, 99, 74);
}
.tooltip-inner {
  max-width: 500px;
  text-align: left;
}

/* WP External Link */
.topmenu li a i.wpel-icon,
.topmenu .social-media-profiles a i.wpel-icon,
article header.entry-header > h2 > a.wpel-icon-right > i.wpel-icon,
article .entry-content > a.wpel-icon-right > i.wpel-icon,
article .wp-block-button__link > i.wpel-icon,
.sunflower-post-navigation div a > i.wpel-icon,
footer a.social-media-profile > i.wpel-icon,
footer .copyright a > i.wpel-icon {
  display: none;
}
#leaflet i.wpel-icon {
  font-size: inherit;
}
.sunflower-post-navigation div a.wpel-icon-right > .announce:after {
  content: "\f242";
  display: inline-block;
  font-family: dashicons;
  font-style: normal;
  font-weight: 400;
  padding-left: 4px;
  speak: never;
  text-decoration: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-transform: none;
  vertical-align: top;
}

/* Event Organiser */
a.eventlist,
a.eventlist:visited {
  color: #000;
}
a.eventlist:hover {
  color: #008939;
  border-bottom-color: #008939;
}
a.event-card {
  font-weight: 400;
}
@media (min-width: 768px) {
  article.type-event.display-single > .entry-header {
    padding-bottom: 0;
  }
}
@media (min-width: 992px) {
  article.type-event.display-single .post-thumbnail {
    top: -35px;
    margin-bottom: 0;
  }
}
.eo-events-shortcode-meta {
  display: block;
  font-size: 80%;
}
.eo-events-box {
  background-color: #005437;
  padding: 1.5rem ! important;
  text-align: left;
}
.eo-events-box h2 {
  font-size: 30px;
  margin: 0 0 20px 0 ! important;
}
.eo-events-box,
.eo-events-box h2,
.eo-events-box a,
.eo-events-box a:visited,
.metabox a:visited {
  color: white;
}
.eo-events-box a:hover,
.metabox a:hover {
  color: #fff17a;
}

/* Podlove */
article.type-podcast {
  border-top: 2px solid #cccccc;
  padding: 32px 0 16px 0;
}
article.type-podcast a.readmore {
  float: right;
  font-weight: bold;
  font-style: italic;
  text-decoration: none;
  text-transform: uppercase;
}
a.continue-reading:hover,
.continue-reading:hover,
article.type-podcast a.readmore {
  text-decoration: underline;
}
article.type-podcast p.byline {
  font-size: 0.9em;
  color: #008939;
  margin: 0.5em 0 0.2em 0;
}

/* WPForms Lite */
.wpforms-confirmation-container-full {
  position: relative;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #2a5a1a;
  background-color: #daead5;
  border: 1px solid #c8e0bf;
}
div.wpforms-container-full .wpforms-form .wpforms-form-hide-form .wpforms-field-description {
  font-size: inherit;
  line-height: inherit;
}
div.wpforms-container-full .wpforms-form .wpforms-form-hide-form input {
  display: none;
}
