/* All Air Products — rebuilt from the "Black Skyline" WordPress theme look, made responsive. */
:root {
  --page-bg: #535353;
  --panel: #fff;
  --text: #4c4c4c;
  --nav: #000;
  --nav-hover: #342e2b;
  --brand-red: #e00;
  --brand-navy: #000080;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font: 15px/1.5 Verdana, Geneva, sans-serif;
  color: var(--text);
  background: url(/wp-content/themes/black-skyline/design/baggrund.png) repeat-x 0 0 var(--page-bg);
}
img { max-width: 100%; height: auto; }
a { color: #121212; }
a:hover { color: #333; text-decoration: none; }
.center { text-align: center; }
.small { font-size: .85em; }

/* Header banner */
.site-header { max-width: 990px; margin: 0 auto; padding-top: 20px; }
.banner {
  display: block;
  aspect-ratio: 957 / 160;
  background: url(/wp-content/themes/black-skyline/design/balloons_bg4.png) no-repeat left top / contain;
}

/* Main navigation */
.site-nav {
  max-width: 990px; margin: 0 auto;
  background: var(--nav);
  font-size: 14px; position: relative; z-index: 10;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; color: #fff; text-decoration: none; padding: 8px 10px; }
.site-nav li:hover > a { background: url(/wp-content/themes/black-skyline/design/menu.png) repeat-x var(--nav-hover); }
.site-nav li.active > a { background: var(--nav-hover); }
.nav-toggle { display: none; }

@media (min-width: 769px) {
  .main-menu > li { display: inline-block; position: relative; }
  .main-menu ul { display: none; position: absolute; left: 0; top: 100%; width: 200px; background: var(--nav); }
  .main-menu ul ul { left: 100%; top: 0; }
  .main-menu li:hover > ul, .main-menu li:focus-within > ul { display: block; }
  .main-menu ul li { position: relative; }
  .main-menu ul a { padding: 5px 8px; line-height: 1.2; }
  .main-menu li:has(> ul) > a::after { content: " ▾"; font-size: .8em; }
  .main-menu ul li:has(> ul) > a::after { content: " ▸"; }
}
@media (max-width: 768px) {
  .nav-toggle {
    display: block; width: 100%; padding: 10px 16px; text-align: left;
    background: none; border: 0; color: #fff; font: inherit; font-weight: bold; cursor: pointer;
  }
  .main-menu { display: none; }
  .site-nav.open .main-menu { display: block; }
  .main-menu ul a { padding-left: 28px; }
  .main-menu ul ul a { padding-left: 46px; }
}

/* Page body */
.page-wrap {
  max-width: 990px; margin: 0 auto; background: var(--panel);
  display: grid; grid-template-columns: 1fr 230px; gap: 0 30px;
  padding: 30px 25px;
}
.content { min-width: 0; border-right: 1px solid #eee; padding-right: 30px; }
@media (max-width: 768px) {
  .page-wrap { grid-template-columns: 1fr; padding: 20px 16px; }
  .content { border-right: 0; padding-right: 0; }
}

h1, h2, h3, h4, h5, h6 { font-family: Georgia, serif; font-weight: normal; margin: .4em 0; }

/* Sidebar */
.widget h3 {
  color: #fff; font: bold 14px Verdana, sans-serif; margin: 0 0 8px; padding: 6px 8px;
  background: url(/wp-content/themes/black-skyline/design/menu-hover.png) repeat-x #222;
}
.widget { margin-bottom: 24px; font-size: 13px; }
.side-menu, .side-menu ul { list-style: none; margin: 0; padding: 0; }
.side-menu > li > a { font-weight: bold; }
.side-menu ul { padding-left: 12px; }
.side-menu a { color: #535353; text-decoration: none; display: block; padding: 1px 0; }
.side-menu a:hover { color: #000; text-decoration: underline; }
.side-menu li.active > a { color: #000; }

/* Product grids (from the original theme) */
.gridContainer { text-align: center; }
.gridContainer h1 { color: red; font-family: Impact, Arial, sans-serif; text-align: left; font-size: 2.4em; }
.gridContainer h5 { color: red; font-family: "Arial Black", Arial, sans-serif; font-size: 1.3em; margin: 0; }
.gridContainer h6 { color: #000; font-family: Arial, sans-serif; font-weight: bold; font-size: 1.1em; margin: 0; }
.gItem { display: inline-block; vertical-align: top; width: 85%; padding: 10px; }
@media (min-width: 481px) { .gItem { width: 45%; } }
@media (min-width: 900px) { .gItem { width: 30%; } }
.frameIt { border: 1px solid #000; border-radius: 15px; }

/* Spec tables: scroll sideways on phones instead of breaking the layout */
.content div:has(> table.airtable), .content div:has(> table.airtable2) {
  margin: 0 !important; position: static !important; overflow-x: auto;
}
table.airtable, table.airtable2 { border: 1px solid #000; border-collapse: collapse; margin: 5px auto; width: 100%; }
table.airtable th, table.airtable2 th {
  background: url(/wp-content/themes/black-skyline/design/menu-hoverxx.png) repeat-x #fcc;
  color: #000; font: bold 10px/1.4 Verdana, sans-serif; vertical-align: bottom; padding: 4px;
}
table.airtable td, table.airtable2 td {
  border: 1px solid #000; padding: 4px 2px; text-align: center; vertical-align: bottom; font-size: 12px;
}
table.airtable2 td { font-size: 9px; font-weight: bold; vertical-align: middle; }
table .alternate { background: #e6e3e1; }

/* Home page scroller */
.scroller { overflow: hidden; margin-bottom: 20px; }
.scroller-track { display: flex; gap: 24px; width: max-content; animation: scroll 40s linear infinite; }
.scroller img { height: 140px; width: auto; }
.scroller:hover .scroller-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .scroller-track { animation: none; flex-wrap: wrap; width: auto; } }

/* Footer */
.site-footer { max-width: 990px; margin: 0 auto; padding: 16px 25px 40px; color: #ccc; text-align: right; font-size: 13px; }
.site-footer .phone { text-align: center; font: bold 26px Verdana, sans-serif; margin: 0 0 8px; }
.site-footer a { color: #fff; text-decoration: none; }
