/*
 * Own CSS of mayergrill.com, loaded last by layout.php: styles for site.js and fixes for phones and tablets.
 * The theme (Bootstrap 3 + UberMenu) is responsive already; phone/tablet rules only inside @media (max-width: …):
 * the desktop view stays as it was.
 */

/* ------------------------------------------------------------------ all widths */

/* contact form: icons of the theme that never existed (404 in WordPress too) – no requests for them */
.cd-form .user, .cd-form .company, .cd-form .email, .cd-form .budget, .cd-form .message, .cd-form [required],
.cd-form [required].user, .cd-form [required].company, .cd-form [required].email, .cd-form [required].message { background-image: none; }

/* UberMenu: menu button is a link without href – show it as clickable; focus outline only for keyboard users */
.ubermenu-responsive-toggle { cursor: pointer; }
html:not(.micro-keyboard) .ubermenu-responsive-toggle:focus, html:not(.micro-keyboard) .ubermenu a:focus { outline: none; }

/* ------------------------------------------------------------------ phones and tablets (UberMenu breakpoint 959px) */

@media (max-width: 959px) {
  /* long links (privacy page) wrap instead of widening the page */
  main { overflow-wrap: break-word; }
  /* menu button and sub-menu "Service": tap targets of at least 44px */
  .ubermenu-responsive-toggle { min-height: 44px; }
  .ubermenu-responsive .ubermenu-item-level-0 > .ubermenu-target { min-height: 44px; }
}
