@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

/* Jurisdiction map popup. Its iframe content is assigned only after a map link is selected. */
.jurisdiction-dialog{position:fixed;inset:0;margin:auto;width:min(1240px,calc(100vw - 28px));height:min(920px,calc(100vh - 28px));max-width:none;max-height:none;padding:0;border:1px solid #1B3055;border-radius:8px;background:#fff;box-shadow:0 24px 70px rgba(12,27,52,.35);overflow:hidden}
.jurisdiction-dialog::backdrop{background:rgba(10,25,45,.72);backdrop-filter:blur(2px)}
.jurisdiction-dialog__bar{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:#1B3055;color:#fff;font-family:'Poppins',sans-serif;font-size:1.8rem}
.jurisdiction-dialog__close{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#fff;font:300 3rem/1 'Poppins',sans-serif;cursor:pointer}
.jurisdiction-dialog__close:hover,.jurisdiction-dialog__close:focus{background:rgba(255,255,255,.14);outline:2px solid #fff;outline-offset:1px}
.jurisdiction-dialog iframe{display:block;width:100%;height:calc(100% - 52px);border:0;background:#f7f7f5}
body:has(.jurisdiction-dialog[open]){overflow:hidden}
@media(max-width:700px){.jurisdiction-dialog{width:100vw;height:100dvh;border:0;border-radius:0}.jurisdiction-dialog__bar{height:48px}.jurisdiction-dialog iframe{height:calc(100% - 48px)}}
/* ######################### */
/* PAGE SETTINGS */
/* ######################### */
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-family: 'Poppins', sans-serif;
	font-size: 62.5%;
	scroll-behavior: smooth;
	
	-webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ################################## */
/* WRAPPER DIV FOR WEBSITE            */
/* ################################## */
.wrapper{
	padding: 30px 0;
}

/* ################################## */
/* BASIC DIV FOR THE CONTENT SECTIONS */
/* ################################## */
.content{
  max-width: 1250px;
  margin: auto;
  padding: 0 30px;
  border: 0px solid black;
  /* width: 90%; */
  /* background-color: thistle; */
  /* margin-top: 5px; */
}


.attyin {
  display: inline-block;
  width:250px;
  vertical-align: top; 
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12pt;
    align-items: flex-start;
}

.navy-box-full {
    flex: 1 1 1250px;        /* Prefer 300pt, but shrink if necessary */
    max-width: 1250px;
    min-width: 220px;       /* Prevents boxes from getting too narrow */
    box-sizing: border-box;

    background: white;
    border: 3px solid #1B3055;
    border-radius: 8px;
    padding: 10px;
    color: inherit;
}

        #countyLinks {
            margin-top: 0rem;
        }



.link-description {
    margin-left: 0.25rem;
    font-size: 1.3rem;
    color: #555;
}

#countyLinks {
    margin-left: 20px;
	margin-top: 10px;
    padding: 0px;
    background-color: #f0f8ff;
    border-radius: 8px;
}

.county-description {
    font-style: italic;
    color: #555;
    font-size: 1.5rem;
    padding: 3px 0 12px 0;
}

/* ######################### */
/* BODY STYLE */
/* ######################### */
body {
	font-size: 1.8rem;
}

/* ######################### */
/* LINKS - SEE IF THIS IS GLOBAL*/
/* ######################### */
a:link {
	color: #1B3055;
	text-decoration: none;
  transition: all 0.3s ease;}
a:visited {
	color: #1B3055;
	text-decoration:none;}
a:hover {
	color: #ff0000;
	text-decoration:none;
	}
a:active {
	color: #ff0000;
	text-decoration:none;}

a:focus {
	color: #ff0000;
	text-decoration:none;}

/* Keep links identifiable without relying on color alone. */
.wrapper .content a:not(.anchor):not(.button),
.site-footer a {
	text-decoration: underline;
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

	
/* ######################### */
/* HEADING STYLES */
/* ######################### */
h1 {
	margin: 20px 0px 5px 0px;
	font-size: 3.4rem;
}
h2 {
	margin: 0px 0px 0px 0px;
	font-size: 2.4rem;
}
h3 {
	margin: 0px 0px 0px 0px;
	font-size: 2.0rem;
}
h4 {
	margin: 0px 0px 0px 0px;
	font-size: 1.8rem;
	text-decoration: underline;
}

/* ######################### */
/* PARAGRAPH */
/* ######################### */
p{
	padding: 5px 0px 15px 0px;
	text-align: left;
}

.dateex {
	margin-left:30px;
	font-size:1.5rem;
	color:dimgrey;
}

.dateskip {
	margin-left:40px;
	font-size:1.5rem;
	color:dimgrey;
}


em {

color:red;
font-weight: normal;
font-style: normal;
}

/* ######################### */
/* BULLET POINT LIST */
/* ######################### */
ul.a {
  list-style-type: disc;
  margin-left:30px;
}

/* ################################## */
/* BUTTON                             */
/* ################################## */
.button {
  background-color: #1B3055;
  border: none;
  color: white;
  padding: 10px 28px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.8rem;
  border-radius: 8px;
  cursor:pointer;
}
.button:hover {
  background-color: #008CBA;
  color: white;
}

.smallbutton {
  background-color: #1B3055;
  border: none;
  color: white;
  padding: 3px 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.8rem;
  border-radius: 8px;
  cursor:pointer;
}


/* ################################## */
/*              MENU                  */
/* ################################## */
.navbar{
  position: fixed;
  width: 100%;
  z-index: 600;
  padding: 25px 0;
  transition: all 0.3s ease;
}
.navbar.sticky{
  /* background: WhiteSmoke; */
  background: GhostWhite;
  padding: 10px 0;
  box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.1);
}
.navbar .content{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .menu-list{
  display: inline-flex;
}
.menu-list li{
  list-style: none;
  color: #000;
  font-size: 1.8rem;
  font-weight: 500;
  margin-left: 25px;
}

/* ############################ */
/* STYLE FOR THE COLLAPSED MENU */
/* ############################ */
.icon{
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.menu-list .cancel-btn{
  position: absolute;
  right: 30px;
  top: 20px;
}

/* ######################## */
/*       STYLE FOR LOGO     */
/* ######################## */
.logo {
	width:380px;
}

/* ######################## */
/* INITIAL WIDTH OF TOP OF WEBSITE WITH LOGO AND MENU */
/* ######################## */
.banner{
  height: 2vh;
}

select {
		font-size: 1.7rem;
		font-family: 'Poppins', sans-serif;
		background-color: #EBF5FB;
}

input {
		font-size: 1.7rem;
		font-family: 'Poppins', sans-serif;
		background-color: #EBF5FB;		
}

/* ######################## */
/* SETTINGS FOR DIFFERENT SCREEN SIZES */
/* ######################## */
/* MOBILE AND TABLET NAVIGATION */
@media only screen and (max-width: 1050px) {
  .content {
    padding: 0 10px;
  }

  .logo {
    width: 300px;
  }

  body.disabled {
    overflow: hidden;
  }

  .icon {
    display: block;
  }

  .icon.hide {
    display: none;
  }

  .navbar .menu-list {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 250px;
    left: -100%;
    top: 0;
    display: block;
    padding: 40px 0;
    text-align: center;
    background: DimGray;
    transition: all 0.3s ease;
  }

  .navbar.show .menu-list {
    left: 0;
  }

  .navbar .menu-list li a {
    color: white;
    font-size: 2.2rem;
    margin-left: -100%;
    transition: all 0.3s ease;
  }

  .navbar.show .menu-list li a {
    margin-left: 0;
  }

  .navbar .menu-list li a:hover {
    color: red;
  }
}

@media only screen and (max-width: 1050px) and (max-height: 700px) {
  .navbar .menu-list li {
    margin-top: 10px;
  }
}

@media only screen and (max-width: 1050px) and (min-height: 700.01px) {
  .navbar .menu-list li {
    margin-top: 45px;
  }
}

@media (max-width:700px){
    .street,
    .city{
        display:block;
    }
}

/* ######################## */
/* BOOKMARK ANCHORS SO THE LINK PUTS IS A LITTLE LOWER TO ACCOUNT FOR TOP BANNER */
/* ######################## */
a.anchor {
    display: block;
    position: relative;
    top: -200px;
    visibility: hidden;
}

.fixed-header {
    width: auto;
    max-width: 90%;

    background: rgba(255, 255, 255, 0.70);
    padding: 10px 20px;
    border-radius: 4px;

    text-align: center;
    z-index: 10;
}

.fixed-header p {
    margin: 0;
    padding: 0;
    text-align: center;

    font-size: 3rem;
    line-height: 1.3;
    color: black;
    font-weight: bold;
    font-style: italic;
}


/* ########################### */
/* BACKGROUND SEPARATOR IMAGES */
/* ########################### */
.bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5, .bgimg-6 {
	position: relative;
	opacity: 1.0;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
/* TOP IMAGE */
.bgimg-1 {
    background-image: url("img/bg1.webp");
    width: 100%;
    min-height: 450px;
    margin-top: 0;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}
/* ATTORNEYS */
.bgimg-2 {
	background-image: url("img/bg2.webp");
	min-height: 250px;
	margin-top: 100px;
}
/* PRACTICE */
.bgimg-3 {
	background-image: url("img/bg3.webp");
	min-height: 250px;
	margin-top: 100px;
}
/* RESOURCES */
.bgimg-4 {
	background-image: url("img/bg4.webp");
	min-height: 250px;
	margin-top: 100px;
}
/* CONTACT */
.bgimg-5 {
	background-image: url("img/bg5.webp");
	min-height: 250px;
	margin-top: 100px;
}

/* DIVIDER BELOW LOGO AND MENU */
.bgimg-6 {
	background: #ffffff;
	min-height: 40px;
	margin-top: 50px;
	height: auto;
}

.attorney-photo {
    width: auto;
    height: 260px;

    border-radius: 12px;

    border: 1px solid #c7c7c7;

    box-shadow: 0 3px 10px rgba(0,0,0,.15);
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {
  .fixedPos,
  .banner,
  .bgimg-1,
  .bgimg-2,
  .bgimg-3,
  .bgimg-4,
  .bgimg-5,
  .bgimg-6 {
    background-attachment: scroll;
  }
}

/* Slogan sizing on phones */
@media only screen and (max-width: 700px) {
  .fixed-header {
    width: 88%;
    max-width: none;
    padding: 10px 14px;
  }

  .fixed-header p {
    font-size: 2.2rem;
    line-height: 1.25;
  }
}

.top-address{
    margin-bottom:6px;
    line-height:1.18;
}

.top-phone{
    line-height:normal;
}

.street,
.city{
    display:inline;
}

/* ####################### */
/* EXPAND/COLLAPSE RESOURCE CHECKBOX AND DIVS */
/* ####################### */
.rsc-chk {
  margin-left:0px;
  cursor: pointer;
  /* display: none; */
}

/* THIS IS THE LABEL FOR THE CHCEKBOX */
.rsc-chk + label {
	cursor: pointer;
	display: inline;
	user-select: none;
	/* line-height: 1.8em; */
	/* margin-bottom: 0.1rem; */
}

/* THIS IS THE TEXT OF DIV WHICH FOLLOWS THE CHECKBOX HIDE UNTIL CHECKED */
.rsc-chk + label + div {
  display: none;
  margin-bottom: 0.1rem;
  margin-left: 1.5rem;
}
/* ADD ... FOR COLLAPSED LEVEL */
.rsc-chk + label:after {
	content: " . . .";
}
.rsc-chk:checked + label:after {
	content: "  ";
}
/* DISPLAY THE SUB DIV WHEN CHECKED */
.rsc-chk:checked + label + div {
  display: block;
}

/* ######################### */
/* RESOURCE LIST DUMMY BULLETS */
/* ######################### */
.create {
		margin: 0px 0px 0px 0px;
	padding: 0px;
}
.create::before {
content: url(img/bx.png);

}


/*the fixed snippet, triggered by js - is this in use? */
.fixedPos{
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 600;
    top: 0;
} 

/* ##################################### */
/* TOOLTIP CONTAINER */
/* ##################################### */
/* Tooltip container */
.tooltip {
  position: relative;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: max-content;
  max-width: 300px;
  font-size: 1.4rem;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1000;


  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.4s;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip .tooltiptext.top {
  bottom: 115%;
  left: 50%;
  margin-left: -50%;
}
.tooltip .tooltiptext.left {
  top: 0%;
  right: 130%;
}
.tooltip .tooltiptext.right {
  margin-top: -2px;
  /* left: 110%; */
  	/* Distance from text */
  margin-left: 10px;
}

/* Tooltip arrows */
/* Arrow for Top Box v */
.tooltip .tooltiptext.top::after {
  content: " ";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 10px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}
/* Arrow for Right Box < */
.tooltip .tooltiptext.right::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%; /* To the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}
/* Arrow for Left Box > */
.tooltip .tooltiptext.left::after {
  content: " ";
  position: absolute;
  top: 50%;
  left: 100%; /* To the right of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent black;
}

svg {
	display: inline-block;
	border: 0px solid black;
	background-color: white;
	padding:0px;
	
}


#tooltip {
  background: white;
  border: 1px solid black;
  border-radius: 5px;
  padding: 2px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: white;
}

/* ==========================================================
   2026 RESPONSIVE REDESIGN
   ========================================================== */
:root {
  --navy: #1b3055;
  --navy-dark: #10213e;
  --blue: #2d6fa3;
  --blue-soft: #eef5fa;
  --ink: #202936;
  --muted: #5f6b78;
  --line: #dbe3ea;
  --surface: #ffffff;
  --page: #f7f9fb;
  --shadow: 0 12px 32px rgba(16, 33, 62, .09);
}

html { scroll-padding-top: 104px; }
body {
  color: var(--ink);
  background: var(--surface);
  line-height: 1.68;
  overflow-x: hidden;
}
.wrapper { padding: 0 0 64px; }
.content { width: min(100% - 40px, 1180px); padding: 0; }
p { padding: 6px 0 18px; }
h1 {
  margin: 0 0 24px;
  padding-top: 76px;
  font-size: clamp(3rem, 3.5vw, 4.4rem);
  line-height: 1.15;
  color: var(--navy-dark);
  letter-spacing: -.035em;
}
h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 14px;
  border-radius: 99px;
  background: var(--blue);
}
h2 { color: var(--navy); line-height: 1.3; }
h3 { margin-top: 16px; color: var(--navy); }
a { text-underline-offset: .18em; }
.court-link-part { white-space: nowrap; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #72b5e8;
  outline-offset: 3px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
a.anchor { position: static; display: block; visibility: hidden; scroll-margin-top: 104px; }

.navbar {
  min-height: 94px;
  padding: 18px 0;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(27,48,85,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.navbar.sticky { padding: 10px 0; background: rgba(255,255,255,.97); box-shadow: 0 8px 26px rgba(16,33,62,.09); }
.navbar .content { width: min(100% - 40px, 1240px); }
.logo { display: block; width: clamp(250px, 27vw, 350px); height: auto; }
.navbar .menu-list { align-items: center; gap: clamp(14px, 1.7vw, 26px); }
.menu-list li { margin-left: 0; }
.menu-list li a { display: block; padding: 10px 0; font-size: 1.55rem; letter-spacing: .01em; }
.menu-list li a:hover, .menu-list li a:focus { color: var(--blue); }
.menu-list li .nav-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 9px;
  border-radius: 6px;
}
.nav-icon-link::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 10;
  padding: 6px 9px;
  color: #fff;
  background: var(--navy-dark);
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.nav-icon-link:hover::after,
.nav-icon-link:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-icon, .heading-icon { display: block; width: 25px; height: 25px; }
.heading-icon { display: inline-block; vertical-align: -.18em; }
.menu-close-item { display: none; }
.menu-backdrop { display: none; }
.banner { height: 118px; }
.bgimg-6 { display: none; }
.bgimg-6 + .content { margin-top: 18px; }

/* Temporary firm-name transition announcement. */
.firm-announcement {
  color: #fff;
  background: var(--navy-dark);
  border-top: 3px solid #b99a5e;
  border-bottom: 3px solid #b99a5e;
}
.firm-announcement__content {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 15px 0;
  text-align: center;
}
.firm-announcement p {
  margin: 0;
  padding: 0;
  font-size: 1.55rem;
  line-height: 1.55;
}
.firm-announcement strong {
  color: #fff;
  font-weight: 600;
}

.top-address, .top-phone { display: inline-flex; margin: 20px 22px 18px 0; font-size: 1.5rem; }
.top-phone { margin-right: 0; }
.top-contact-bar {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 10px 0 34px;
  color: var(--navy);
  background: #fff;
}
.top-contact-bar > br { display: none; }
.top-contact-bar .top-address,
.top-contact-bar .top-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  min-width: 0;
  line-height: 1.3;
}
.top-contact-bar .top-address:nth-of-type(2) { justify-content: center; }
.top-contact-bar .top-address { white-space: nowrap; }
.top-contact-bar .top-phone { justify-content: flex-end; white-space: nowrap; }
.contact-icon { flex: 0 0 auto; color: var(--blue); font-size: 1.4rem; }
.bgimg-1 {
  min-height: clamp(400px, 46vw, 500px);
  isolation: isolate;
  background-position: center 43%;
  background-attachment: scroll;
}
.bgimg-1::before {
  display: none;
}
.fixed-header {
  max-width: 760px;
  margin: 0 24px;
  padding: 24px 34px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.fixed-header p { font-size: clamp(2.5rem, 4vw, 4.5rem); line-height: 1.2; color: var(--navy-dark); letter-spacing: -.03em; }

.bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5 {
  min-height: clamp(160px, 22vw, 260px);
  margin-top: 88px;
  background-attachment: scroll;
}

/* Restore parallax on desktop-class devices only. */
@media (min-width: 1051px) and (hover: hover) and (pointer: fine) {
  .bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5 {
    background-attachment: fixed;
  }
}
.card-container { gap: 22px; }
.card-container > .div2 {
  flex: 1 1 1250px;
  width: 100%;
  max-width: 1250px;
}
.card-container > .div2 > .navy-box-full {
  width: 100%;
  max-width: 1250px;
}
.navy-box-full {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.navy-box-full:hover { border-color: #c7d5e0; }

.attorney-profile {
  display: grid;
  grid-template-columns: 190px 300px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.attorney-photo-wrap { width: 100%; }
.attorney-photo { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.attyin { display: block; width: auto; min-width: 0; overflow-wrap: anywhere; }
.attorney-title {
  display: inline-block;
  margin-top: 5px;
  color: var(--blue);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bio { min-width: 0; padding-left: 26px; border-left: 1px solid var(--line); }
.bio ul { padding-bottom: 8px; }

#practice + h1 + p + .card-container, #practice ~ .card-container { align-items: stretch; }
#practice ~ .card-container .navy-box-full { flex: 1 1 calc(50% - 12px); max-width: none; }
#resources ~ .card-container .navy-box-full { background: var(--surface); }
#countyLinks { margin: 14px 0 0; padding: 0px 18px 0px; }

.button { min-height: 44px; padding: 11px 22px; border-radius: 8px; transition: transform .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-1px); background: var(--blue); }
input:not([type="checkbox"]), select { max-width: 100%; min-height: 42px; padding: 5px 8px; border: 1px solid #b9c8d4; border-radius: 6px; }
.rsc-chk {
  width: 24px;
  height: 24px;
  min-height: 0;
  margin: 0 6px 0 0;
  padding: 0;
  vertical-align: -6px;
}
.rsc-chk + label { display: inline-block; min-height: 44px; padding: 8px 4px; vertical-align: middle; }
#datecalc, #auth { overflow-wrap: anywhere; }
#datecalc table { width: 100%; }
#datecalc td { padding: 5px 4px; }
#datecalc .datecalc-label,
#datecalc table:first-of-type tr:first-child > td:first-child {
  width: 124px !important;
  min-width: 124px;
  white-space: nowrap;
}
#datecalc .datecalc-explanation-row:not(:has(.datecalc:not(:empty), #adjDaysService:not(:empty))) { display: none; }
#datecalc tr:has(#firstdays:empty),
#datecalc tr:has(#firstskip:empty),
#datecalc tr:has(#firstadjcal:empty),
#datecalc tr:has(#firstadjcalskip:empty),
#datecalc tr:has(#firstadjfed:empty),
#datecalc tr:has(#firstadjfedskip:empty),
#datecalc tr:has(#servicedays:empty),
#datecalc tr:has(#serviceskip:empty),
#datecalc tr:has(#serviceadjcal:empty),
#datecalc tr:has(#serviceadjcalskip:empty),
#datecalc tr:has(#serviceadjfed:empty),
#datecalc tr:has(#serviceadjfedskip:empty),
#datecalc tr:has(#adjDaysService:empty) {
  display: none;
}
#datecalc .button.smallbutton {
  min-height: 32px;
  padding: 5px 10px;
  color: #fff;
  background: #607596;
  border-radius: 6px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
  vertical-align: middle;
}
#datecalc .button.smallbutton:hover,
#datecalc .button.smallbutton:focus {
  background: #49617f;
}
#myDIV { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; }

@media (max-width: 1050px) {
  .navbar { min-height: 80px; padding: 12px 0; }
  .navbar .content { width: min(100% - 28px, 1240px); }
  .logo { width: min(290px, 70vw); }
  .banner { height: 80px; }
  .top-contact-bar { padding: 14px 0; }
  .bgimg-6 + .content { margin-top: 14px; }
  .icon { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; color: var(--navy); }
  .menu-btn { flex: 0 0 46px; }
  .navbar .menu-list {
    left: auto;
    right: -310px;
    width: min(310px, 86vw);
    max-width: none;
    padding: 78px 26px 30px;
    text-align: left;
    background: var(--navy-dark);
    box-shadow: -16px 0 34px rgba(0,0,0,.2);
    transition: right .3s ease;
    overflow-y: auto;
  }
  .navbar.show .menu-list { left: auto; right: 0; }
  .navbar .menu-list li { margin-top: 0 !important; }
  .navbar .menu-list li a, .navbar.show .menu-list li a { margin-left: 0; padding: 12px 4px; color: white; font-size: 1.9rem; }
  .navbar .menu-list .nav-icon { filter: brightness(0) invert(1); }
  .navbar .nav-icon-link::after {
    top: 50%;
    left: calc(100% + 8px);
    color: var(--navy-dark);
    background: #fff;
    transform: translate(-3px, -50%);
  }
  .navbar .nav-icon-link:hover::after,
  .navbar .nav-icon-link:focus-visible::after { transform: translate(0, -50%); }
  .menu-close-item { display: block; }
  .menu-list .cancel-btn { position: absolute; top: 18px; right: 18px; color: white; }
  .navbar.show + .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 590; background: rgba(8,17,31,.48); }
  .attorney-profile { grid-template-columns: 170px minmax(280px, .9fr) 1.6fr; gap: 22px; }
  .bio { padding-left: 22px; }
}

/* Stack the biography before the contact column becomes cramped. */
@media (max-width: 920px) {
  .top-contact-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    column-gap: 24px;
  }
  .top-contact-bar > br { display: none; }
  .top-address {
    margin-right: 0;
    line-height: 1.25;
  }
  .top-contact-bar .top-address { white-space: normal; }
  .top-contact-bar .top-address:nth-of-type(2) { justify-content: flex-start; }
  .top-address .street,
  .top-address .city { display: block; }
  .top-phone {
    grid-column: 1 / -1;
    margin-top: 0;
  }
  .top-contact-bar .top-phone { justify-content: flex-start; }
  .attorney-profile {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .attorney-profile .bio {
    grid-column: 1 / -1;
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .content { width: min(100% - 28px, 1180px); }
  body { font-size: 1.65rem; line-height: 1.62; }
  .firm-announcement__content { width: min(100% - 28px, 1180px); padding: 13px 0; }
  .firm-announcement p { font-size: 1.45rem; line-height: 1.5; }
  h1 { padding-top: 58px; margin-bottom: 20px; }
  .top-address, .top-phone { display: flex; margin: 12px 0 0; }
  .top-phone { margin-bottom: 14px; }
  .bgimg-1 { min-height: 390px; background-position: center; }
  .fixed-header { width: auto; max-width: calc(100% - 28px); margin: 0 14px; padding: 19px 20px; }
  .fixed-header p { font-size: clamp(2.4rem, 8vw, 3.3rem); }
  .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5 { min-height: 145px; margin-top: 64px; }
  .navy-box-full { padding: 22px 18px; border-radius: 12px; }
  .attorney-profile { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; }
  .attorney-profile .bio { grid-column: 1 / -1; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .attorney-photo { aspect-ratio: 3 / 4; }
  #practice ~ .card-container .navy-box-full { flex-basis: 100%; }
  #datecalc { overflow-x: auto; }
  #datecalc table, #datecalc tbody, #datecalc tr, #datecalc td { display: block; width: 100% !important; }
  #datecalc td { text-align: left !important; }
  #datecalc td:empty { display: none; }
  #datecalc .datecalc-label,
  #datecalc table:first-of-type tr:first-child > td:first-child {
    width: 100% !important;
    min-width: 0;
    white-space: normal;
  }
  .dateex, .dateskip { margin-left: 12px; }
  .tooltip .tooltiptext { display: none; }
}

@media (max-width: 430px) {
  .logo { width: min(245px, 68vw); }
  .attorney-profile { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }
  .attyin { font-size: 1.45rem; overflow-wrap: anywhere; }
  .attyin h2 { font-size: 2rem; }
  .button { width: 100%; }
  #datecalc .button.smallbutton { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* RESOURCES DISCLAIMER */
.resource-disclaimer {
  margin: 26px 4px 15px;
  padding: 16px 18px 2px;
  color: #5f6973;
  background: #f7f9fb;
  border-top: 1px solid var(--line);
  font-size: 1.3rem;
  line-height: 1.6;
}
.resource-disclaimer p { padding: 0 0 12px; }
.resource-disclaimer strong { color: #46515c; }

/* SITE FOOTER */
.site-footer {
  padding: 46px 0 42px;
  color: rgba(255,255,255,.88);
  background: var(--navy-dark);
  border-top: 5px solid var(--blue);
}
.site-footer .content { width: min(100% - 40px, 1180px); }
.site-footer p { padding: 0; text-align: center; }
.footer-copyright { color: #fff; font-size: 1.6rem; font-weight: 600; }
.footer-contact { margin-top: 8px; font-size: 1.45rem; }
.footer-links { margin-top: 9px; font-size: 1.4rem; }
.site-footer a:link,
.site-footer a:visited { color: #fff; text-decoration: underline; }
.site-footer a:hover,
.site-footer a:focus { color: #b9ddf5; text-decoration: underline; }
.footer-disclaimer {
  max-width: 940px;
  margin: 27px auto 0;
  padding-top: 23px !important;
  color: rgba(255,255,255,.68);
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: 1.3rem;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .top-contact-bar { grid-template-columns: 1fr; gap: 12px; padding: 14px 16px; }
  .top-contact-bar .top-phone { grid-column: auto; }
  .site-footer { padding: 38px 0 34px; }
  .site-footer .content { width: min(100% - 28px, 1180px); }
  .footer-contact a { display: block; }
  .footer-contact .footer-separator { display: none; }
  .footer-contact a + a { margin-top: 5px; }
  .footer-disclaimer { margin-top: 23px; padding-top: 20px !important; text-align: left !important; }
}

/* Contact links use icons and context instead of permanent underlines. */
a.contact-action {
  text-decoration: none !important;
  font-weight: 500;
}
a.contact-action:hover,
a.contact-action:focus,
a.contact-action:focus-visible {
  text-decoration: underline !important;
}
.map-action {
  display: inline-block;
  margin-top: 3px;
  font-size: .92em;
}
.contact-action-icon,
.contact-action i {
  width: 1.25em;
  color: var(--blue);
  text-align: center;
}
.top-contact-bar .map-action {
  display: block;
  margin-top: 5px;
}
.attorney-contact {
  line-height: 1.55;
}
.attorney-contact a[href^="mailto:"] {
  white-space: nowrap;
}
.site-footer .contact-action-icon,
.site-footer .contact-action i {
  color: #b9ddf5;
}
.footer-contact .map-action {
  margin-left: .8rem;
}
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  white-space: nowrap;
}

/* Compact contact section: three equal blocks that stack on small screens. */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.contact-block {
  min-width: 0;
  padding: 20px 22px 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(16, 33, 62, .07);
}
.contact-block h2 {
  margin-bottom: 7px;
  font-size: 2rem;
}
.contact-block p {
  padding-bottom: 14px;
  line-height: 1.55;
}
.contact-block a.contact-action,
.footer-contact a.contact-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
}
.contact-details a[href^="https://"] {
  white-space: nowrap;
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-block {
    padding: 17px 18px 2px;
  }
}

@media (max-width: 430px) {
  .attorney-contact a[href^="mailto:"] {
    font-size: .92em;
  }
}

@media (max-width: 600px) {
  .footer-contact .map-action {
    margin-top: 7px;
    margin-left: 0;
  }
}

/* Keep wrapped authority labels aligned beside their touch-size checkboxes. */
#auth .rsc-chk {
  float: left;
  margin-top: 10px;
}
#auth .rsc-chk + label {
  display: block;
  margin-left: 36px;
}
#auth .rsc-chk + label + div {
  clear: both;
}
