/* Lost Pet Cards: Cassiopeia child. Palette and type carried over from rt_zenith. */

@font-face { font-family: "Nunito"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/nunito-light-webfont.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/nunito-regular-webfont.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/nunito-italic-webfont.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/nunito-semibold-webfont.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/nunito-bold-webfont.woff2") format("woff2"); }

:root {
  --lpc-brown: #61453a;
  --lpc-blue: #3d5474;
  --lpc-tint: #eef2ff;
  --lpc-ink: #030303;
  --lpc-sidebar: 20%;
  --cassiopeia-font-family-body: "Nunito", Helvetica, Tahoma, Geneva, Arial, sans-serif;
  --cassiopeia-font-family-headings: "Nunito", Helvetica, Tahoma, Geneva, Arial, sans-serif;
  --cassiopeia-color-primary: var(--lpc-blue);
  --cassiopeia-color-link: var(--lpc-blue);
  --link-color: var(--lpc-blue);
  --cassiopeia-color-hover: var(--lpc-brown);
}

body {
  color: var(--lpc-ink);
  background: #fff;
  font-family: var(--cassiopeia-font-family-body);
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, h4, h5 { font-family: var(--cassiopeia-font-family-headings); font-weight: 700; }

.page-header h1,
body:has(#userForm) h1 {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
}

body:has(#userForm) h1 { margin: 1.5rem 0 .75rem; }

blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 5px solid var(--lpc-blue);
}

blockquote p { margin-bottom: 0; font-weight: 300; }
blockquote p + p { margin-top: 1rem; }

/* Sidebar */
.container-header {
  background: var(--lpc-brown);
  background-image: none;
  color: #fff;
  box-shadow: none;
  text-align: center;
}

.container-header > .grid-child { display: block; max-width: none; padding: 0; }
.container-header .navbar-brand { display: block; margin: 0; padding: 2.75rem 2.5rem .75rem; }
.container-header .brand-logo { display: block; }
.container-header .brand-logo img { display: block; width: 100%; max-width: 210px; height: auto; margin: 0 auto; }
.container-header .container-nav { padding: 0; }

.container-header .navbar { display: block; padding: 0; }
.container-header .navbar-toggler {
  margin: 0 auto 1rem;
  border: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
}

.container-header .navbar-collapse::before {
  content: "MENU";
  display: block;
  padding: .7rem 0;
  font-size: .585rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.container-header .mod-menu { display: block; width: 100%; margin: 0; padding: 0; list-style: none; }
.container-header .mod-menu > li { display: block; margin: 0; padding: 0; }
.container-header .mod-menu > li > a,
.container-header .metismenu.mod-menu > li > a {
  display: inline-block;
  margin: .8rem 0;
  padding: 0 0 1px;
  border-bottom: 2px solid transparent;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus-visible { color: #fff; opacity: .6; }
.container-header .mod-menu > li.current > a,
.container-header .mod-menu > li.active > a { border-bottom-color: #fff; }

/* Page bands stack in source order; Cassiopeia's grid is not used. */
.site-grid { display: block; grid-gap: 0; padding: 0; }
.site-grid > .grid-child,
.site-grid > .full-width { width: auto; max-width: none; margin: 0; padding: 0; }

.site-grid .card { margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.site-grid .card-body { padding: 0; }

.container-component { padding: 3.5rem 12.9% 2.5rem !important; }
.container-component main { padding: 0; }
.container-component .main-bottom { padding-top: 2.5rem; text-align: center; }
.com-content-category-blog .page-header,
.blog-featured .page-header { margin-bottom: .75rem; }

/* Hero */
.lpc-hero { position: relative; background: var(--lpc-blue); color: #fff; }
.lpc-slide { display: none; min-height: 37.5rem; }
.lpc-slide.is-active { display: flex; }
.lpc-slide:first-child:not([aria-hidden]) { display: flex; }
.lpc-slide__text { display: flex; flex: 0 0 50%; flex-direction: column; justify-content: center; padding: 0 4.5rem; }
.lpc-slide__text h2 { margin: 0 0 .75rem; color: #fff; font-size: 2.3rem; line-height: 1.5; }
.lpc-slide__text p { margin: 0 0 1rem; }
.lpc-slide__link { align-self: flex-start; padding-bottom: 2px; border-bottom: 1px solid #fff; color: #fff; }
.lpc-slide__link:hover, .lpc-slide__link:focus-visible { color: #fff; opacity: .7; }
.lpc-slide__image { flex: 0 0 50%; min-width: 0; }
.lpc-slide__image img { display: block; width: 100%; height: 100%; object-fit: cover; }

.lpc-hero__nav { display: flex; gap: .625rem; justify-content: flex-end; margin-top: .75rem; }
.lpc-hero__btn {
  position: relative;
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.lpc-hero__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .5rem;
  height: .5rem;
  border-top: 3px solid var(--lpc-blue);
  border-right: 3px solid var(--lpc-blue);
  transform: translate(-65%, -50%) rotate(45deg);
}

.lpc-hero__btn--prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.lpc-hero__btn:hover { background: var(--lpc-brown); }
.lpc-hero__btn:hover::before { border-color: #fff; }

/* Steps */
.container-top-a { padding: 3.625rem 2.125rem !important; }
.lpc-steps__title { margin: 0 0 2.5rem; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.lpc-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.lpc-steps::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: #d9d9d9; }
.lpc-step { position: relative; display: flex; align-items: flex-start; }
.lpc-step:nth-child(odd) { grid-row: 1; padding-bottom: 7.5rem; }
.lpc-step:nth-child(even) { grid-row: 1; padding-top: 7.5rem; }
.lpc-step__card { display: block; width: 100%; max-width: 12rem; padding: 1.25rem; background: #dbd4d1; color: var(--lpc-ink); font-weight: 700; text-decoration: none; }
.lpc-step:nth-child(even) .lpc-step__card { background: #d8dde4; }
a.lpc-step__card:hover { color: var(--lpc-ink); opacity: .75; }
.lpc-step__card small { display: block; font-size: .875rem; font-weight: 400; line-height: 1.3; }

/* Bands */
.container-top-b { padding: 3.625rem 2.125rem !important; background: var(--lpc-blue); color: #fff; }
.container-top-b blockquote { border-left: 0; padding-left: 1.1rem; }
.container-top-b p { font-size: 1.1rem; }
.container-bottom-a { padding: 2.5rem 8.75rem !important; background: var(--lpc-tint); }
.container-bottom-b { padding: 3.625rem 2.125rem !important; text-align: center; }

.button {
  display: inline-block;
  padding: .4rem 1.5rem .45rem;
  border: 2px solid var(--lpc-blue);
  border-radius: 1.5rem;
  background: transparent;
  color: var(--lpc-blue);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.button:hover, .button:focus-visible { background: var(--lpc-blue); color: #fff; }

/* Footer */
.container-footer { background: var(--lpc-blue); background-image: none; color: #fff; }
.container-footer > .grid-child { display: block; max-width: none; padding: 2.125rem; }
.container-footer p { margin: 0; font-weight: 700; }
.container-footer a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* Carried from rt_zenith custom.scss */
.testimonialsPage h2 { display: none; }
#mod-custom119 { margin-top: 4rem; margin-left: 1rem; }

.formResponsive select,
.formResponsive input[type="text"],
.formResponsive input[type="number"],
.formResponsive input[type="email"],
.formResponsive input[type="tel"] { height: 40px; }

.rsform-type-radiogroup .formBody label { display: block; }
#userForm .rsform-reset-button { background-color: var(--lpc-brown); }
#userForm .rsform-submit-button { background: var(--lpc-blue); }

/* Grid classes in article HTML, formerly from Gantry */
.g-grid { display: flex; flex-wrap: wrap; }
.g-block { flex: 1 1 0; min-width: 0; }

@media (min-width: 51rem) {
  .container-header {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: var(--lpc-sidebar);
    overflow-y: auto;
  }

  .site-grid,
  .container-footer { margin-left: var(--lpc-sidebar); }
}

@media (max-width: 50.99rem) {
  .lpc-slide.is-active,
  .lpc-slide:first-child:not([aria-hidden]) { flex-direction: column; }
  .lpc-slide__text { flex: none; padding: 4.5rem 2.25rem 2rem; }
  .lpc-slide__text h2 { font-size: 1.5rem; }
  .lpc-slide__image { flex: none; }
  .lpc-steps { grid-template-columns: 1fr; }
  .lpc-steps::before { top: 0; bottom: 0; left: 1.5rem; right: auto; width: 1px; height: auto; }
  .lpc-step:nth-child(n) { grid-row: auto; padding: 0 0 0 3rem; }
  .container-component { padding: 3.25rem 2.125rem 2rem !important; }
  .container-bottom-a { padding: 2.5rem 2.125rem !important; }
  .g-grid { display: block; }
}

/* Refinements after the first side-by-side against production */
.container-component main p,
.container-component main ul,
.container-component main ol { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.container-component main blockquote p { margin-bottom: 0; }

.container-header .navbar-brand { width: 100%; max-width: none; }
.container-header .metismenu.mod-menu { display: block; width: 100%; }
.container-header .metismenu.mod-menu > li { display: block; text-align: center; }

.container-top-b .card,
.container-top-b blockquote,
.container-top-b p { color: #fff; }
.container-top-b p { font-weight: 300; line-height: 1.5; }
.container-top-b blockquote p { margin: 0; }

.container-bottom-a { padding: 2.5rem 3.5rem 2.5rem 2.5rem !important; }

@media (min-width: 51rem) {
  .lpc-slide { height: 37.5rem; min-height: 0; }
  .lpc-slide__image { height: 100%; }

  .container-header .navbar-toggler { display: none; }
  .container-header .navbar-collapse {
    display: block !important;
    height: auto !important;
    visibility: visible;
  }
}

@media (max-width: 50.99rem) {
  .lpc-slide { min-height: 0; }
  .lpc-slide__image img { height: 17rem; }
  .container-header .navbar-collapse::before { display: none; }
  .container-bottom-a { padding: 2.5rem 2.125rem !important; }
}

/* Second pass: sidebar rhythm, logo size, form field width */
.container-header .navbar-brand .brand-logo img { width: 210px; max-width: 100%; max-height: none; }
.container-header .metismenu.mod-menu > li { margin: 0; padding: .75rem 0; }
.container-header .metismenu.mod-menu > li > a { margin: 0; padding: 0 0 1px; }

.formResponsive input[type="text"],
.formResponsive input[type="number"],
.formResponsive input[type="email"],
.formResponsive input[type="tel"] { width: 100%; max-width: none; }

/* Third pass: exact logo and menu spacing */
.container-header .navbar-brand { padding-right: 0; padding-left: 0; }
.container-header .navbar-brand .brand-logo { width: 210px; max-width: 80%; margin: 0 auto; }
.container-header .navbar-brand .brand-logo img { width: 100%; }
.container-header .metismenu.mod-menu > li { padding: .5rem 0; }
.container-header .navbar-brand .brand-logo { max-width: 100%; }

/* Page flip. Stacks over the bands below only while a page is turning. */
.lpc-hero { z-index: 5; overflow-x: clip; }
.lpc-slide.is-measuring { display: flex; position: absolute; width: 100%; visibility: hidden; }

.lpc-flip { position: absolute; inset: 0; perspective: 1300px; }
.lpc-flip__half { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; }
.lpc-flip__half--second { left: 50%; }
.lpc-flip--horizontal .lpc-flip__half { width: 100%; height: 50%; }
.lpc-flip--horizontal .lpc-flip__half--second { top: 50%; left: 0; }

.lpc-flip .lpc-slide { position: absolute; top: 0; left: 0; display: flex; width: 200%; height: 100%; min-height: 0; background: var(--lpc-blue); }
.lpc-flip .lpc-flip__half--second .lpc-slide { left: -100%; }
.lpc-flip--horizontal .lpc-slide { width: 100%; height: 200%; }
.lpc-flip--horizontal .lpc-flip__half--second .lpc-slide { top: -100%; left: 0; }

.lpc-flip__leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; }
.lpc-flip--horizontal .lpc-flip__leaf { top: 50%; left: 0; width: 100%; height: 50%; transform-origin: center top; }

/* The leaf positions its own faces; both fill it. */
.lpc-flip__leaf .lpc-flip__face { top: 0; left: 0; width: 100%; height: 100%; backface-visibility: hidden; }

.lpc-flip__overlay { position: absolute; inset: 0; z-index: 2; background: #000; opacity: 0; pointer-events: none; }

@media (max-width: 50.99rem) {
  .lpc-slide { min-height: var(--lpc-hero-h, 0); }
  .lpc-slide__image { margin-top: auto; }
}

@media (max-width: 50.99rem) {
  .lpc-flip .lpc-slide { flex-direction: column; }
}

@media (max-width: 50.99rem) {
  .lpc-slide.is-measuring { flex-direction: column; }
}

/* Parity pass against the live template */
a, .button { transition: all .2s; }
.container-header .mod-menu > li > a,
.container-header .metismenu.mod-menu > li > a { transition: color .1s; }
.lpc-slide__link { padding-bottom: 0; border-bottom: 0; box-shadow: 0 2px 0 #fff; transition: all .25s; }
.lpc-slide__link:hover,
.lpc-slide__link:focus-visible { color: #afc1ff; box-shadow: 0 2px 0 #afc1ff; opacity: 1; }

.lpc-steps::before { height: 2px; background: #e5e5e5; }
.lpc-step { justify-content: center; }
.lpc-step::after { content: ""; position: absolute; top: 50%; left: 50%; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: #e5e5e5; transform: translate(-50%, -50%); }

.lpc-404 { padding: 0; }
.lpc-404__title { font-size: 2.3rem; }

.lpc-menu-close { display: none; }

@media (max-width: 50.99rem) {
  .lpc-hero__btn { transform: rotate(-90deg); }

  .lpc-steps::before { width: 2px; }
  .lpc-step { justify-content: flex-start; }
  .lpc-step::after { left: 1.5rem; }

  /* Slide-out menu */
  .container-header .navbar-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block !important;
    width: 100%;
    height: 100% !important;
    overflow-y: auto;
    background: #000;
    text-align: left;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform .3s, visibility 0s linear .3s;
  }

  .container-header .navbar-collapse.is-open { visibility: visible; transform: none; transition: transform .3s, visibility 0s; }

  .container-header .navbar-collapse::before {
    display: block;
    padding: 1.45rem 0 1.2rem;
    text-align: center;
    font-size: .7rem;
    letter-spacing: .1em;
  }

  .container-header .metismenu.mod-menu > li { padding: 0 2rem; text-align: left; }
  .container-header .metismenu.mod-menu > li > a { margin: .8rem 0; font-size: 1rem; }

  .lpc-menu-close {
    position: absolute;
    top: 1.15rem;
    right: .9rem;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    color: #565761;
    font: 700 1rem/1.5 var(--cassiopeia-font-family-body);
    cursor: pointer;
  }
}

/* Cassiopeia forces this header to position:relative !important below 992px. */
@media (min-width: 51rem) {
  .container-header { position: fixed !important; }
}

@media (max-width: 50.99rem) {
  .lpc-slide__image img { height: 18.75rem; }
  .container-header { width: 100%; }
  .site-grid, .container-footer { margin-left: 0; }
}

/* Findings from the try-to-break pass */
@media (min-width: 51rem) and (max-width: 62rem) {
  .lpc-slide__text { padding: 0 2.25rem; }
  .lpc-slide__text h2 { font-size: 1.75rem; line-height: 1.3; }
}

.lpc-flip__leaf { -webkit-transform-style: preserve-3d; }
.lpc-flip__leaf .lpc-flip__face { -webkit-backface-visibility: hidden; }
.lpc-menu-open { overflow: hidden; }

@media (max-width: 50.99rem) {
  .lpc-menu-close { top: .4rem; right: .25rem; width: 2.75rem; height: 2.75rem; color: #a0a1ab; }
}
