/*
 * Own CSS of schoenberger-group.com, loaded last by layout.php: styles for site.js and the layer for phones.
 * GeneratePress is responsive already: phone rules only fix what was too small or unusable, inside
 * @media (max-width: …); the desktop view stays as it was.
 */

/* ------------------------------------------------------------------ site.js (all widths) */

/* sticky menu (GP Premium "auto hide"): fixed at the top, hidden while scrolling down */
.main-navigation.micro-stuck { position: fixed !important; top: 0; left: 0; right: 0; z-index: 1000; transition: transform .3s ease; }
.main-navigation.micro-stuck.micro-hidden { transform: translateY(-100%); }
.main-navigation.micro-stuck.toggled { transform: none; }

/* ------------------------------------------------------------------ phones */

@media (max-width: 768px) {
  /* opened menu: the page text showed through the 80% transparent background */
  #mobile-header.toggled .main-nav > ul { background-color: rgb(59, 68, 77); }
}

@media (max-width: 599px) {
  /* towns below the slogan of the home page: 7.5px in WordPress, readable now */
  .start_slogan_txt .orte { font-size: 12px; line-height: 1.5; }
}
