/* Small additions to the old site's stylesheets, for things WordPress adds or the old site loaded from elsewhere. */

/* Menu icon: the old site used Font Awesome 5's "fa-bars" (loaded from Font Awesome's CDN).
   Same glyph and size, drawn with a CSS mask. Icon: Font Awesome Free 5 by @fontawesome, CC BY 4.0. */
.fa.fa-bars {
	display: inline-block;
	width: 0.875em;
	height: 1em;
	vertical-align: -0.125em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z'/></svg>") center / contain no-repeat;
}

/* Accessibility helpers (not visible). */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100000; padding: 10px; background: #fff; }
.skip-link:focus { left: 10px; }

/* Logged-in editors: keep the fixed navigation below the WordPress toolbar. */
.admin-bar .navigation { top: var(--wp-admin--admin-bar--height, 32px); }

/* Photo tiles are links here (the old site used clickable divs); the inline photo stays on hover. */
a.background-image:hover,
a.image_container:hover { background-color: transparent; }
/* ...and their text looks as it did inside a div (not link weight/colour). */
a.background-image,
a.image_container { font-weight: inherit; color: inherit; }

/* The retailer map (the old site used Google's map script; this is Google's embeddable map). */
#google_map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Menu drop-down ("Our Kitchens"). On the old site the list opens inside the menu bar, so it widens its menu item and shoves
   every other link sideways (live does this too), and it is 90% see-through, so slider captions show through it.
   Here it floats below its link on solid white: nothing moves. Phones and tablets (800px and under) keep the old list. */
@media screen and (min-width: 801px) {
	.navigation ul > li:not(.burbidge_logo) { position: relative; }
	.navigation ul ul {
		position: absolute;
		top: 100%;
		left: 50%;
		transform: translateX(-50%);
		min-width: 100%;
		white-space: nowrap;
		background: rgb(255,255,255);
	}
}
