/* dvtpilot.com without Wix's code (tools/make-static.py). Only what Wix's scripts used to do. */

/* Board Hub, Board Log In and the Membership Forum: Wix member features, off the site for now (Eric 2026-11-22). */
li:has(> a[href$="dvtpilot.com/members"]),
li:has(a[href$="dvtpilot.com/file-share"]),
li:has(> a[href$="dvtpilot.com/forum"]),
li:has(> div > span > a[href$="dvtpilot.com/members"]),
li:has(> div > span > a[href$="dvtpilot.com/forum"]),
.dvpa-hidden { display: none !important; }

/* Wix fades sections in with its own code: each one waits, paused and invisible, for Wix to start it (the
   Join/Renew steps and dues never showed). Without that code they simply show. */
[id^="comp-"] { animation: none !important; }

/* Wix's "More" overflow item only made sense with its own layout code. */
li[data-index="__more__"] { display: none !important; }

/* A page heading Wix kept just above the header's top edge; without Wix's layout code its bottom showed. */
#comp-kh74th1l { visibility: hidden; }

/* Desktop dropdown menus: the sub-menu lists are in each page, hidden; site.js opens them. */
li.dvpa-has-sub { position: relative; }
/* Fixed, placed by site.js under its menu item: the menu bar's own box clips anything positioned inside it. */
ul.dvpa-sub {
	display: block !important;
	position: fixed; transform: translateX(-50%);
	min-width: 210px; margin: 0; padding: 8px 0; list-style: none;
	background: #fff; border: 1px solid #ddd; box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
	z-index: 10000; text-align: left;
}
ul.dvpa-sub li { list-style: none; margin: 0; }
ul.dvpa-sub a {
	display: block; padding: 7px 18px; white-space: nowrap;
	font: 15px/1.3 "Times New Roman", Times, serif; color: #222; text-decoration: none;
}
ul.dvpa-sub a:hover, ul.dvpa-sub a:focus { background: #eef1f7; }

/* Phone menu: the full menu is in each page, hidden; the menu button opens it over the page. */
html.dvpa-menu-open #MENU_AS_CONTAINER {
	display: block !important; visibility: visible !important; opacity: 1 !important;
	position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
	width: 100% !important; height: 100% !important; margin: 0 !important;
	overflow-y: auto; background: #fff; z-index: 100000;
}
html.dvpa-menu-open #MENU_AS_CONTAINER * { visibility: visible !important; opacity: 1 !important; }
html.dvpa-menu-open #MENU_AS_CONTAINER ul { display: block !important; max-height: none !important; height: auto !important; }
/* Wix sized the menu's inner boxes with its own code; let them grow so the whole list scrolls as one. */
html.dvpa-menu-open #MENU_AS_CONTAINER [data-mesh-id],
html.dvpa-menu-open #MENU_AS_CONTAINER nav,
html.dvpa-menu-open #MENU_AS_CONTAINER > div {
	height: auto !important; max-height: none !important; overflow: visible !important; min-height: 0 !important;
}
html.dvpa-menu-open #MENU_AS_CONTAINER nav { padding-bottom: 40px; }
html.dvpa-menu-open, html.dvpa-menu-open body { overflow: hidden; }
.dvpa-close {
	position: fixed; top: 10px; right: 14px; z-index: 100001;
	font: 32px/1 Arial, sans-serif; background: none; border: 0; color: #222; cursor: pointer; padding: 6px 10px;
}

/* Join/Renew: years picker above PayPal's Buy Now button (site.js), paying DVPA's own PayPal account. */
/* Centered on the old button's slot (about 107px wide on the phone pages), even though the picker is wider than it. */
.dvpa-pay { display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: 90vw; margin-left: 50%; transform: translateX(-50%); }
.dvpa-pay select { font: 17px/1.3 "Times New Roman", Times, serif; color: #222; padding: 4px 8px; border: 1px solid #888; border-radius: 4px; background: #fff; }
.dvpa-pay a { display: inline-block; line-height: 0; }
