/*
 * Neutralises Elementor's wrappers so the archived markup renders with the archived CSS
 * only (loaded after this file). Everything the original design sets wins over these rules.
 */

/* Elementor sets border-box on every descendant; the original pages used the browser default. */
.elementor *,
.elementor :after,
.elementor :before {
	box-sizing: revert;
}

/* Restore the browser's link underline and image defaults that Elementor removes. */
.elementor a {
	text-decoration: revert;
	box-shadow: revert;
}
.elementor img {
	border: revert;
	border-radius: revert;
	box-shadow: revert;
	/* max-width:100% collapses images inside the original shrink-to-fit table cells. */
	max-width: none;
}

/* Containers and widgets that only carry the archived markup take no space of their own. */
.adrc-wrap.e-con,
.adrc-wrap .e-con {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--container-max-width: none;
	--content-width: 100%;
	--margin-top: 0px;
	--margin-bottom: 0px;
	--border-radius: 0;
	padding: 0;
	margin: 0;
	gap: 0;
	min-height: 0;
	--min-height: 0;
}
/* Static like the original page blocks, so the header's leaf (position:absolute) overlaps the
   content below it exactly as it did. */
.adrc-wrap.e-con,
.adrc-wrap .e-con,
.adrc-wrap .elementor-element {
	position: static;
	--position: static;
}

/* Visually hidden "Skip to content" link (the theme's own stylesheet is not loaded). */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #333;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.adrc-wrap .elementor-widget,
.adrc-wrap.elementor-widget,
.adrc-wrap .elementor-widget-container,
.adrc-wrap .elementor-widget:not(:last-child) {
	margin: 0;
	padding: 0;
	--kit-widget-spacing: 0px;
	margin-block-end: 0;
}
.adrc-wrap .e-con-inner {
	padding: 0;
	gap: 0;
	max-width: none;
	width: 100%;
}
.elementor-location-header,
.elementor-location-footer,
.elementor-location-single {
	display: block;
}

/* Page body copy is shown exactly as archived; Elementor's global text colour/font are not used. */
.adrc-wrap .elementor-widget-text-editor,
.adrc-wrap .elementor-widget-html,
.adrc-wrap .elementor-widget-theme-post-content {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

/* Inner pages: the archived #slider table (190px menu cell + content cell) as a flex row. */
#slider.e-con {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	--flex-direction: row;
	--flex-wrap: nowrap;
	--align-items: stretch;
}
/* Table auto-layout: the 190px menu column gives way (down to its minimum) only when the
   content cannot fit; the content column is never narrower than its own minimum. */
#slider > .adrc-menu-cell,
#slider > .e-con-inner > .adrc-menu-cell {
	flex: 0 1 190px;
	width: auto;
	min-width: auto;
}
#slider > .adrc-content-cell,
#slider > .e-con-inner > .adrc-content-cell {
	flex: 1 1 0px;
	width: auto;
	min-width: auto;
	padding: 30px 30px 25px 30px;
	font-size: 110%;
	line-height: 140%;
}

/* 2014 CMS pages: navigation cell (200px) + content cell, as in the archived .main_table. */
.adrc-cms-row.e-con {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	--flex-direction: row;
	--flex-wrap: nowrap;
	--align-items: stretch;
	background: #FFFFFF;
}
.adrc-cms-row > .adrc-cms-nav {
	flex: 0 1 200px;
	width: auto;
	min-width: auto;
}
.adrc-cms-row > .adrc-cms-content {
	flex: 1 1 0px;
	width: auto;
	min-width: auto;
}

/* The home page has no WordPress page title. */
.adrc-layout-home .page-header,
.adrc-layout-home h1.entry-title {
	display: none;
}

/* Home: the "Home" link in the first menu cell is only on inner pages, as in the original. */
.adrc-layout-home #hnav2 td.adrc-home-cell a {
	display: none;
}
