/**
* Theme Name: sunflower Landtagswahl Niedersachsen
* Theme URI: https://sunflower-theme.de
* Template: sunflower
* Author: verdigado eG
* Author URI: https://verdigado.com
* Description: Theme for German Green party for the state election in lower saxony
* Tags: Bündnis 90/Die Grünen, Niedersachsen, Landtagswahl
* Version: 1.2.0
* Updated: 2024-05-13 09:30:00
*/

/**
* Color Definitions.
*/

/* green: rgb(1, 99, 74); #01634a */
/* yellow: rgb(254, 230, 0); #fee600 */
/* orange: rgb(247, 172, 45); #f7ac2d */


:root {
  --bs-primary-rgb: 22, 84, 61;
  --bs-body-line-height: 1.4;
  --bs-body-color: rgb(1, 99, 74);
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/**
* Font Definitions.
*/

@font-face {
  font-family: 'BereitBold-Oblique';
  font-style: normal;
  font-weight: 400;
  src: local(''),
  url('assets/fonts/BereitBold-Oblique.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  url('assets/fonts/BereitBold-Oblique.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

.arvogruen {
  font-family: 'BereitBold-Oblique' !important;
}

.bloginfo-description {
  font-family: 'BereitBold-Oblique' !important;
  font-size: 20px;
  text-transform: none;
  font-weight: normal;
}

@media (min-width: 768px) {
  .bloginfo-description {
    font-size: 22px;
  }
}

.wp-block-group.has-background .wp-block-group__inner-container {
  max-width: 1155px;
}

.no-padding {
  padding-bottom: 0px !important;
}

h1, .h1, .has-huge-font-size,
h2, .h2, .has-large-font-size,
h3, .h3, .has-medium-font-size,
.bloginfo-name,
.wp-block-quote p {
  font-family: 'BereitBold-Oblique';
}

@media (min-width: 768px) {
  h2, .h2, .has-large-font-size {
    font-size: 46px;
    line-height: 1.3em;
    color: rgb(254, 230, 0);
  }
}

/**
* Nav/Header
*/

.topmenu {
  background: rgb(247, 172, 45);
}
.topmenu button.show-search {
  color: rgb(1, 99, 74);
}
.bloginfo {
  background: rgb(1, 99, 74);
}
.bloginfo img {
  width: 55px;
  margin-right: 7px;
  background: transparent;
}
.bloginfo-name {
  font-size: 40px;
  text-transform: none;
  letter-spacing: 0;
}

.nav-item a {
  color: rgb(1, 99, 74);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgb(1, 99, 74);
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
    color: rgb(255, 255, 255);
}

.site-footer .navbar-nav .nav-link {
    padding-left: 0;
    color: rgb(255, 255, 255);
}

.dropdown-menu ul li a:hover {
  color: rgb(247, 172, 45);
}
.dropdown-menu ul li a:visited {
  color: rgb(1, 99, 74);
}
.dropdown-menu ul li a:visited:hover {
  color: rgb(247, 172, 45);
}

.navbar-light .navbar-nav .nav-link {
  color: rgb(1, 99, 74);
  font-size: 22px;
  font-weight: normal;
  margin-left: 1rem;
  margin-right: 1rem;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: rgb(247, 172, 45);
}
.navbar-light .navbar-nav li:first-child .nav-link {
  margin-left: 0;
}
.navbar-light .navbar-nav .current-menu-parent a.nav-link {
  color: rgb(1, 99, 74);
}
@media (min-width: 992px) {
  .navbar-light .navbar-nav .current-menu-parent {
    border-color: rgb(1, 99, 74);
  }
}

#mainmenu > li.menu-item-has-children .submenu-opener {
  color: rgb(1, 99, 74);
  font-size: 22px;
}

/**
* Content/Blocks
*/

h1, .h1, .has-huge-font-size {
  font-size: 51px;
  line-height: 1.2em;
}

h2, .h2, .has-large-font-size {
  font-size: 42px;
  line-height: 1.2em;
}

h3, .h3, .has-medium-font-size {
  font-size: 32px;
  color: var(--bs-body-color);
}

h4, .h4 {
  font-size: 26px;
}

@media (min-width: 768px) {
  h1, .h1, .has-huge-font-size {
    font-size: 60px;
    line-height: 1.3em;
  }

  h2, .h2, .has-large-font-size {
    font-size: 46px;
    line-height: 1.3em;
  }

  h3, .h3, .has-medium-font-size {
    font-size: 36px;
  }

  h4, .h4 {
    font-size: 30px;
  }
}

a, a:visited {
  color: rgb(247, 172, 45);
  font-weight: bold;
}
a:hover {
  color: rgb(1, 99, 74);
}
a:focus, a:active {
  color: #000;
}

.styled-layout .wp-block-group {
  padding: 40px 10px;
}


.wp-block-quote {
  position: relative;
  padding: 12px 76px 0px 68px;
}
.wp-block-quote.main-quote {
  padding-left: 2em;
}
.wp-block-quote p {
  font-size: 28.5px;
  font-style: normal !important;
  line-height: 1.6;
}
.wp-block-quote::before {
  content: '\201E';
  content: open-quote;
  display: inline-block;
  font-family: 'BereitBold-Oblique';
  font-size: 6em;
  line-height: 0;
  color: rgb(247, 172, 45);
  position: absolute;
  left: -0.75rem;
  top: -0.5rem;
  z-index: 0;
  opacity: .75;
}

.wp-block-quote cite{
  font-size: 21px;
  text-align: right;
}

@media (min-width: 992px) {
  .styled-layout .wp-block-group.intro-content-group {
    padding: 80px 10px;
  }

  .wp-block-quote.main-quote {
    padding-right: 4em;
  }
}

@media (max-width: 767px) {
  .wp-block-columns.intro-content .wp-block-column:not(.only-child) {
    flex-basis: 100% !important;
  }
  .wp-block-columns.intro-content .wp-block-column:nth-child(2n){
    margin-left: 0;
    margin-bottom: 0;
  }
}


.wp-block-image:not(.is-style-rounded) img {
  border-radius: 0;
}

.wp-block-buttons {
  column-gap: 2em;
}

.wp-block-button__link {
  font-size: var(--bs-body-font-size);
  font-weight: bold;
  padding: 0.3em 1.5em;
  color: rgb(1, 99, 74);
  background-color: rgb(247, 172, 45);
  text-transform: none;
}

.wp-block-button__link:active,
.wp-block-button__link:focus,
.wp-block-button__link:visited {
  color: rgb(1, 99, 74);
}

.wp-block-button__link:hover {
  color: rgb(1, 99, 74);
  background-color: rgb(254, 230, 0) !important;
}

.main-keyvisual {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
  justify-content: center;
  background-color: rgb(1, 99, 74);
}

.archive-loop .entry-content a {
    color: #201D1B;
    font-weight: normal;
}

.latest-posts .entry-content a {
    color: #201D1B;
    text-decoration: none;
    font-weight: normal;
}

.entry-content {
    margin: 0;
    word-wrap: break-word;
    font-weight: normal;
}

.has-reduced-width {
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

.has-custom-green-color {
  color: rgb(1, 99, 74) !important;
}

.has-yellow-color {
  color: rgb(254, 230, 0) !important;
}

.has-orange-color {
  color: rgb(247, 172, 45) !important;
}

.has-custom-green-background-color {
  background-color: rgb(1, 99, 74) !important;
}

.has-yellow-background-color {
  background-color: rgb(254, 230, 0) !important;
}

.has-orange-background-color {
  background-color: rgb(247, 172, 45) !important;
}

.has-custom-green-background-color a {
  color: rgb(247, 172, 45);
}

.has-orange-background-color a {
  color: rgb(1, 99, 74);
}

.styled-layout .wp-block-group .wp-block-group__inner-container > h2,
.styled-layout .wp-block-group .wp-block-group__inner-container > .h2 {
  margin-bottom: 50px;
}

.intro-content-group {
  padding: 80px 10px;
}

/**
* Footer/Widgets
*/

#secondary h2 {
  color: rgb(254, 230, 0);
}

.site-footer,
.bg-darkgreen {
  background-color: rgb(1, 99, 74);
}

.site-footer {
  padding: 0;
}

.site-footer a,
.bg-darkgreen .widget a  {
  font-weight: normal;
}

.site-footer a,
.bg-darkgreen a {
  color: rgb(247, 172, 45);
}

.site-bottom {
  color: rgb(1, 99, 74);
  background-color: rgb(247, 172, 45);
}
.site-bottom p {
  margin: 0;
}

.site-footer a, .bg-darkgreen a .col-12 a {
  color: rgb(1, 99, 74);
}

.widget_block h2  {
  color: rgb(254, 230, 0);
}

/* Blog/Category Overrides */
article.post .entry-header:hover h2 a,
article.post .entry-header:hover .h2 a {
  color: rgb(1, 99, 74);
}

a.continue-reading,
.continue-reading {
  color: rgb(1, 99, 74);
  font-style: normal;
}

a.continue-reading:hover,
.continue-reading:hover {
  color: rgb(247, 172, 45);
}

.sunflower-post-navigation div a {
  color: rgb(1, 99, 74);
}
.sunflower-post-navigation div a:hover {
  color: rgb(254, 230, 0);
  background-color: rgb(1, 99, 74);
}
