/*
Theme Name: Neurowave Diagnostics
Theme URI: https://neurowave-diagnostics.com/
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com/
Description: Single-page React theme for Neurowave Diagnostics — mobile EEG, neurology telemedicine, and EEG education across Louisiana.
Version: 1.1.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tmt
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, theme-options

Neurowave Diagnostics WordPress theme.
*/

/* Offset fixed header/mobile nav when the WP admin bar is visible (do not pad the body). */
body.admin-bar {
  --tmt-admin-bar-offset: 46px;
}

@media screen and (min-width: 783px) {
  body.admin-bar {
    --tmt-admin-bar-offset: 32px;
  }
}

body.admin-bar .tmt-site-header {
  top: var(--tmt-admin-bar-offset, 0);
}

body.admin-bar .tmt-mobile-nav-overlay {
  top: calc(5.25rem + var(--tmt-admin-bar-offset, 0));
}

@media screen and (min-width: 768px) {
  body.admin-bar .tmt-mobile-nav-overlay {
    top: calc(6.5rem + var(--tmt-admin-bar-offset, 0));
  }

  body.admin-bar .tmt-mobile-nav-panel {
    top: calc(6.5rem + var(--tmt-admin-bar-offset, 0));
    max-height: calc(100dvh - 6.5rem - var(--tmt-admin-bar-offset, 0));
  }
}

body.admin-bar .tmt-mobile-nav-panel {
  top: calc(5.25rem + var(--tmt-admin-bar-offset, 0));
  max-height: calc(100dvh - 5.25rem - var(--tmt-admin-bar-offset, 0));
}
