/* Egerton Lodge offline layout.
   Colours read from _webedit/cached-images/14-0-0-2033-10000-4546-1344.jpg
   sky #678fc2, limestone #a48e70, window stone #a88f6c, shrubs #2f442a, slate #3a4c5a.
   White #ffffff from the phone icon and window frames. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #ffffff;
  color: #3a4c5a;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

a { color: #3a4c5a; }

img { max-width: 100%; height: auto; }

.wCentred { max-width: 1080px; margin-left: auto; margin-right: auto; }
.wPadding0-20, .wPadding0-30 { padding-left: 22px; padding-right: 22px; }
.wPadding20-0 { padding-top: 16px; padding-bottom: 16px; }
.wPadding30-0 { padding-top: 28px; padding-bottom: 28px; }
.wPadding40-0 { padding-top: 36px; padding-bottom: 36px; }

.wFlex { display: flex; align-items: center; gap: 12px; }
.wFlexGrow1 { flex: 1 1 0; }
.wFlexBasis340 { flex: 0 1 380px; }
.wFlexBasis32 { flex: 0 0 32px; }
.alignCentre { align-items: center; }

.wSplit { display: flex; flex-wrap: wrap; width: 100%; }
.wSplit > * { padding: 8px; }

.wSpan10 { width: 16.666%; }
.wSpan12 { width: 20%; }
.wSpan15 { width: 25%; }
.wSpan18 { width: 30%; }
.wSpan20 { width: 33.333%; }
.wSpan21 { width: 35%; }
.wSpan24 { width: 40%; }
.wSpan26 { width: 43.333%; }
.wSpan30 { width: 50%; }
.wSpan34 { width: 56.666%; }
.wSpan39 { width: 65%; }
.wSpan40 { width: 66.666%; }
.wSpan60 { width: 100%; }

.ac { text-align: center; }
.ar { text-align: right; }
.bon { font-weight: 700; }
.h125 { line-height: 1.25; }
.f10 { font-family: Georgia, "Palatino Linotype", Palatino, serif; }
.s12 { font-size: 12px; }
.s15 { font-size: 15px; }
.s18 { font-size: 18px; }
.s20 { font-size: 20px; }
.s24 { font-size: 24px; }
.s26 { font-size: 26px; }
.s32 { font-size: 34px; }

h1, h2, h3 {
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-weight: normal;
  color: #3a4c5a;
  margin: 0.2em 0 0.4em;
}

header {
  background: #ffffff;
  border-bottom: 4px solid #a48e70;
}

#logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  text-decoration: none;
  color: #3a4c5a;
  font-size: 0;
}

#logo a::before {
  content: "Egerton Lodge";
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-size: 32px;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

#logo a::after {
  content: "Residential Home";
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #678fc2;
  margin-top: 4px;
}

header a[href^="tel:"] {
  color: #3a4c5a;
  text-decoration: none;
  font-weight: 700;
}

#wMenuToggle {
  position: absolute;
  left: -9999px;
}

#wMenuIcon { display: none; }

nav { background: #678fc2; }

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul.wDropdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav li { position: relative; }

nav a,
nav .wMenuSelected > span {
  display: block;
  padding: 14px 16px;
  color: #ffffff;
  text-decoration: none;
}

nav .wMenuSelected > span {
  font-weight: 700;
  box-shadow: inset 0 -3px 0 #a48e70;
}

nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #3a4c5a;
  z-index: 8;
  flex-direction: column;
  box-shadow: 0 8px 18px rgba(58, 76, 90, 0.25);
}

nav li:hover > ul,
nav li:focus-within > ul { display: block; }

nav ul ul a { padding: 10px 16px; }

nav ul ul a:hover { background: #2f442a; }

#banner { background: #a48e70; }

#banner img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

#banner .wShowXs { display: none !important; }
#banner .wHideXs { display: block !important; }

.magicArrow { text-align: center; padding-bottom: 0; }

.magicArrow a {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-right: 3px solid #a48e70;
  border-bottom: 3px solid #a48e70;
  transform: rotate(45deg);
  text-decoration: none;
  font-size: 0;
  margin-bottom: 8px;
}

.purpleContent {
  background: #678fc2;
  color: #ffffff;
}

.purpleContent h1,
.purpleContent h2,
.purpleContent a { color: #ffffff; }

.greyContent { background: rgba(164, 142, 112, 0.14); }

.WhiteContent,
.imageContent,
.Image2Content { background: #ffffff; }

.wDividerDotted {
  width: 72px;
  border-bottom: 3px dotted #a48e70;
  margin: 6px 0 14px;
}

.wColourblock {
  background: #678fc2;
  color: #ffffff;
  border: 3px solid #a88f6c;
}

.wColourblock a { color: #ffffff; }

.wColourblockDarkText,
.wColourblockDarkText a { color: #3a4c5a; }

.wBackground6 {
  background: rgba(164, 142, 112, 0.16);
  border-color: #a48e70;
}

.shutterButton { margin: 14px 0; }

.shutterButton a,
a.wButton,
button.wButton {
  display: inline-block;
  background: #a48e70;
  color: #ffffff;
  text-decoration: none;
  border: 0;
  padding: 10px 18px;
  font: inherit;
  cursor: pointer;
}

.purpleContent .shutterButton a,
.purpleContent button.wButton,
.purpleContent a.wButton {
  background: #ffffff;
  color: #3a4c5a;
}

.contentIcon { margin: 0 auto 8px; }

.contentIcon a:has(img) {
  background: #678fc2;
  border-color: #678fc2;
}

.contentIcon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid #a48e70;
  background: #ffffff;
  text-decoration: none;
}

.contentIcon img { width: 36px; height: 36px; }

.iconRow { margin: 10px 0; }

nav img { width: 36px; height: 36px; }

nav a[href^="mailto:"] { font-size: 0; }

nav a[href^="mailto:"]::before {
  content: "Email";
  font-size: 16px;
}

.wFormField input,
.wFormField textarea,
form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #a48e70;
  background: #ffffff;
  color: #3a4c5a;
  font: inherit;
}

.wFormLayoutColumns { margin-bottom: 10px; }

.wFormLabel { margin-bottom: 4px; }

.webeditFormTrap { display: none !important; }

.wBlog article {
  padding: 6px 0 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(164, 142, 112, 0.45);
}

.wBlog h1 { font-size: 28px; }

.wBlog h1 a { color: #3a4c5a; text-decoration: none; }

.wBlogpostMetadata { color: #678fc2; font-size: 14px; }

.wBlogReadMore { margin-top: 8px; }

.fullWidthRow { display: none; }

footer {
  background: #2f442a;
  color: #ffffff;
}

footer a { color: #ffffff; }

footer .shutterButton a {
  background: #a48e70;
  color: #ffffff;
}

.itseezeFooter {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 12px;
  font-size: 12px;
}

.cqc-offline-note {
  margin: 0;
  font-size: 14px;
  color: #ffffff;
}

#w-cookies-notice {
  background: #2f442a;
  color: #ffffff;
  padding: 14px 20px 18px;
  text-align: center;
}

#w-cookies-notice span[role="button"] {
  display: inline-block;
  margin: 6px;
  padding: 6px 12px;
  background: #a48e70;
  color: #ffffff;
  cursor: pointer;
}

#editButton,
.pswp,
#w-modal { display: none !important; }

@media (max-width: 895px) {
  .wHideXs, .wHideS, .wHideM { display: none; }
  .wFlexRowsXs, .wFlexRowsS, .wFlexRowsM { flex-direction: column; align-items: stretch; }
  .wSpan60Xs, .wSpan60S, .wSpan60M { width: 100%; }
  .wSpan30Xs, .wSpan30S, .wSpan30M { width: 50%; }
  .wSpan20S, .wSpan20M { width: 50%; }
  .wSpan18M, .wSpan24M, .wSpan21M, .wSpan39M { width: 100%; }
  #navRow, #navRow .wFlex { flex-direction: column; align-items: stretch; }
  #wMenuIcon {
    display: block;
    width: 44px;
    height: 44px;
    margin: 6px 8px;
    position: relative;
    cursor: pointer;
  }
  #wMenuIcon span,
  #wMenuIcon span::before,
  #wMenuIcon span::after {
    display: block;
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    background: #ffffff;
  }
  #wMenuIcon span { top: 21px; }
  #wMenuIcon span::before { content: ""; top: -7px; }
  #wMenuIcon span::after { content: ""; top: 7px; }
  nav ul.wDropdown { display: none; flex-direction: column; align-items: stretch; }
  #wMenuToggle:checked ~ nav ul.wDropdown { display: flex; }
  nav ul ul { position: static; display: block; min-width: 0; box-shadow: none; background: rgba(47, 68, 42, 0.35); }
  .ar { text-align: center; }
  #logo a::before { font-size: 28px; }
}

@media (min-width: 896px) {
  .wHideL, .wHideXl { display: none; }
  .wFlexRowsL, .wFlexRowsXl { flex-direction: column; }
}

@media (max-width: 447px) {
  .wSpan30Xs { width: 100%; }
  .s32 { font-size: 28px; }
}
