/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Common Styles */
.tickerdatum {
  width: 9em;
  font-size: 14px;
}

@media (max-width: 768px) {
  .tickerdatum {
    margin: auto;
  }
}

.ticker.gb-grid-wrapper {
  position: relative;
  width: 100%;
  height: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker .gb-grid-column {
  position: absolute;
  width: 100%;
  display: flex;
  height: 20px;
  line-height: 20px;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(100%);
}

.ticker .gb-grid-column.active {
  opacity: 1;
  transform: translateY(0);
}

.ticker .gb-grid-column.exit {
  transform: translateY(-100%);
  opacity: 0;
}

.ticker .gb-grid-column.enter {
  transform: translateY(100%);
  opacity: 1;
}

/* Header */
#site-navigation {
  border-top: 4px solid var(--accent);
}

#masthead .inside-header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 5px;
}

.main-title {
	color: var(--accent);
}

.title-sport-highlight {
	color: var(--my-green);
}

#header-ad img {
	width: auto;
	max-height: 120px;
	padding: 0;
}

.deuspo-adlabel {
    opacity: 0.3;
    text-align: right;
}

/* Menu */

.menu-bar-items {
	order: 5;
	margin: 0!important;
}
.menu-bar-items svg {
	fill: white;
}

.navigation-branding {
	order: 6!important;
	margin-right: 1em!important;
}

.gb-container-c0d78a75 {
	order: 1;
	margin: 0!important;
}

.main-nav {
	order: 4
}

.inside-navigation {
  flex-direction: row-reverse;
}

/* Search Bar */

#custom-search-form {
  display: none;
  /* max-width: 1200px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
  margin: 0.5em auto;
  padding: 0 0.5em; */
}

@media (max-width: 600px) {
  #custom-search-form > * {
    width: 48% !important;
  }
}

@media (max-width: 999px) and (min-width: 601px) {
  #custom-search-form > * {
    width: 32% !important;
  }
}

@media (min-width: 1000px) {
  #custom-search-form > * {
    width: 16% !important;
  }
}

#custom-search-form input[type="submit"],
#custom-vereine-filter input[type="submit"],
#custom-spostae-filter input[type="submit"],
#custom-person-filter input[type="submit"] {
  background: var(--accent);
  padding: 0.2em 0.5em;
  border-radius: 5px;
}

#custom-vereine-filter,
#custom-spostae-filter,
#custom-person-filter {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
  margin: 0.5em auto;
  padding: 0 0.5em;
}

@media (max-width: 600px) {
  #custom-vereine-filter > *,
  #custom-spostae-filter > *,
  #custom-person-filter > * {
    width: 48% !important;
  }
}

@media (max-width: 999px) and (min-width: 601px) {
  #custom-vereine-filter > *,
  #custom-spostae-filter > *,
  #custom-person-filter > * {
    width: 32% !important;
  }
}

@media (min-width: 1000px) {
  #custom-vereine-filter > *,
  #custom-spostae-filter > *,
  #custom-person-filter > * {
    width: 24% !important;
  }
}

/* Content */
.post-term-highlight > span {
  background: var(--accent);
  padding: 4px 8px;
}

#content {
  margin: 0 0.5em;
}

/* Sidebar */
.widget-title {
  display: inline-block;
  background: var(--accent);
  padding: 5px 10px;
}

.tribe-events-widget .tribe-events-widget-events-list__event-row {
  margin-bottom: 0.2em !important;
}

.tribe-common .tribe-common-h2 {
  font-size: 15px !important;
}

.tribe-events-widget .tribe-events-widget-events-list__event-datetime-wrapper {
  margin-bottom: 0em !important;
}

/* Content */
.filter_title {
  border-bottom: 2px solid var(--accent);
}

.filter_title h1 {
  display: inline-block;
  background: var(--accent);
  padding: 0.2em;
  margin: 0 auto;
  color: var(--base-3);
}

/* Footer */
.inside-site-info { 
  flex-flow: column-reverse; 
}

.footer-bar-align-right .copyright-bar {
  margin: 0;
}