@charset "UTF-8";
/* Responsive layer, loaded after layout.css.

   Tiers:
   - Desktop / laptop (mouse, 1024px and wider): original design, untouched.
   - Compact (below 1024px, or touch-only devices up to 1366px, i.e. tablets
     and landscape phones): fluid two-column layout + hamburger menu.
   - Single column (below 768px): stacked layout for phones.
*/

/* ---------- Back to top (all screen sizes) ---------- */
.back-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: #00acee;
	box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,.35);
	cursor: pointer;
	z-index: 20;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover, .back-top:focus-visible { background: #0092cc; }
.back-top:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
.back-top svg { display: block; margin: auto; width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .back-top { transition: none; } }

/* Hamburger: hidden on desktop / laptop */
.nav-toggle { display: none; }

img { max-width: 100%; }
.footer-in-left img { height: auto; }

/* =====================================================
   COMPACT: tablets, landscape phones, narrow windows
   ===================================================== */
@media (max-width: 1023px), (hover: none) and (pointer: coarse) and (max-width: 1366px) {
	html { -webkit-text-size-adjust: 100%; }
	body { font-size: 13px; line-height: 1.6; }
	p { font-size: 13px; line-height: 1.7; }
	a, .footer-nav ul li a { font-size: 13px; }

	/* Fluid two columns */
	#wrap {
		width: 100%;
		max-width: 1000px;
		box-sizing: border-box;
		padding: 0 24px;
	}
	#w-left  { width: 27%; float: left;  margin-top: 14px; }
	#w-right { width: 69%; float: right; margin-top: 14px; }

	a.logo {
		float: none;
		display: block;
		margin: 0;
		width: 100%;
		max-width: 213px;
		height: auto;
		aspect-ratio: 213 / 238;
		background-size: contain !important;
		background-position: left top !important;
	}

	/* Hamburger, pinned while scrolling */
	.nav-toggle {
		display: block;
		position: fixed;
		top: 14px;
		right: max(24px, calc((100vw - 1000px) / 2 + 24px));
		width: 46px;
		height: 46px;
		padding: 0;
		border: 0;
		border-radius: 4px;
		background: #00acee;
		box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,.35);
		cursor: pointer;
		z-index: 20;
	}
	.nav-toggle span {
		position: absolute;
		left: 11px;
		width: 24px;
		height: 3px;
		border-radius: 2px;
		background: #fff;
		transition: transform .25s ease, opacity .2s ease, top .25s ease;
	}
	.nav-toggle span:nth-child(1) { top: 14px; }
	.nav-toggle span:nth-child(2) { top: 22px; }
	.nav-toggle span:nth-child(3) { top: 30px; }
	.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
	.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
	.nav-toggle:focus-visible { outline: 3px solid #000; outline-offset: 2px; }

	/* Menu: text list in a dropdown panel */
	.menu {
		float: none;
		width: 100%;
		min-height: 46px;
		margin: 0 0 20px 0;
	}
	.menu ul {
		display: none;
		float: none;
		width: 100%;
		margin: 0;
		padding: 0;
		background: #00acee;
		border-radius: 4px;
		overflow: hidden;
	}
	.menu.open ul {
		display: block;
		position: fixed;
		top: 68px;
		right: max(24px, calc((100vw - 1000px) / 2 + 24px));
		left: auto;
		width: 300px;
		max-width: calc(100vw - 48px);
		max-height: calc(100vh - 84px);
		overflow-y: auto;
		z-index: 19;
		box-shadow: 0 6px 18px rgba(0,0,0,.35);
	}
	.menu ul li { float: none; width: 100%; }
	.menu ul li a,
	.menu ul li a:hover,
	.menu ul li a:visited {
		float: none;
		display: block;
		width: auto;
		height: auto;
		padding: 14px 18px;
		border: 0;
		border-bottom: 1px solid rgba(255,255,255,.35);
		background: none;
		color: #fff;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 16px;
		line-height: 1.2;
		text-indent: 0;
		text-decoration: none;
	}
	.menu ul li:last-child a { border-bottom: 0; }
	.menu ul li a:hover,
	.menu ul li a:focus { background: #0092cc; }

	/* Content */
	#w-right img, #w-left img { height: auto; max-width: 100%; }
	#w-right > img { width: 100%; max-width: 613px; }
	h1 { float: none; width: 100%; margin: 24px 0 16px 0; font-size: 20px; }
	h2 { float: none; width: 100%; margin: 40px 0 0 0; font-size: 20px; }
	.quote {
		float: none;
		width: 100%;
		margin: 16px 0;
		font-size: 14px;
		line-height: 1.6;
	}
	.quote > br { display: none; }
	.emty { height: 10px; }

	/* Practice areas list */
	ul.practice-list { float: none; width: 100%; margin: 0; }
	ul.practice-list ul { padding: 0 0 0 18px; margin: 0; overflow: hidden; }
	ul.practice-list li {
		float: left;
		width: 33.333%;
		box-sizing: border-box;
		padding-right: 12px;
		margin: 0 0 16px 0;
		list-style: disc;
	}

	/* Lawyers */
	.lawyers-main { margin: 0 0 32px 0; }
	.lawyers-photo { float: left; margin: 0 16px 8px 0; }
	.lawyers-content { float: none; width: auto; overflow: hidden; }
	.lawyers-content p { float: none; }
	.lawyers-name, .lawyers-name span { float: none; }

	/* Contact */
	.ads-main { overflow: hidden; }
	.ads1 { float: left; width: 48%; margin: 0; }
	.ads2 { float: left; width: 48%; margin: 0 0 0 4%; }
	hr { float: none !important; clear: both; }
	#frm {
		float: none !important;
		width: 100% !important;
		max-width: 430px;
		box-sizing: border-box;
	}
	#frm table { width: 100%; }
	#frm td { font-size: 14px; }
	#frm input.txtContactBox,
	#frm textarea.txtContactBox {
		width: 100% !important;
		box-sizing: border-box;
		height: auto !important;
		min-height: 36px;
		padding: 6px 8px;
		font-size: 16px;
	}
	#frm textarea.txtContactBox { min-height: 110px; }
	#frm .g-recaptcha { max-width: 100%; overflow: hidden; }

	/* Footer: logo and links share a row when there is room, else wrap */
	.footer { margin-top: 32px; }
	.footer-in {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 0 24px;
		width: 100%;
		max-width: 1000px;
		box-sizing: border-box;
		padding: 0 24px;
	}
	.footer-in-left, .footer-in-right { float: none; width: auto; margin: 12px 0; }
	.footer-nav, .footer-nav ul { float: none; }
	.footer-nav ul { display: flex; flex-wrap: wrap; }
	.footer-nav ul li { height: auto; line-height: 1.4; padding: 4px 10px; }
	.footer-nav ul li:first-child { padding-left: 0; }
	.copy { float: none; margin-top: 8px; font-size: 12px; text-align: right; }
}

/* =====================================================
   SINGLE COLUMN: phones and small windows
   ===================================================== */
@media (max-width: 767px) {
	body { font-size: 14px; }
	p, a, .footer-nav ul li a { font-size: 14px; }

	/* Dissolve the two columns so items can be reordered */
	#wrap {
		display: flex;
		flex-direction: column;
		position: relative;
		max-width: 700px;
		padding: 0 16px;
	}
	#w-left, #w-right { display: contents; width: auto; float: none; margin: 0; }

	#w-right > *     { order: 10; }
	#w-left > h2     { order: 19; }
	#w-left > *      { order: 20; }
	#w-left > .logo  { order: 1; }
	#w-right > .menu { order: 2; }
	.emty            { order: 30; }

	a.logo {
		margin: 16px 0 12px 0;
		width: 140px;
		align-self: flex-start;
	}

	.nav-toggle { right: max(16px, calc((100vw - 700px) / 2 + 16px)); }
	.menu { min-height: 0; }
	.menu.open ul {
		left: 16px;
		right: 16px;
		width: auto;
		max-width: 668px;
		margin: 0 auto;
	}

	#w-right > img { align-self: flex-start; }
	#w-left > img { width: auto; align-self: flex-start; margin-top: 16px; }
	h2 { margin: 32px 0 0 0; }
	.quote { font-size: 15px; }

	ul.practice-list li { width: 50%; }

	.footer-in {
		flex-direction: column;
		align-items: flex-start;
		max-width: 700px;
		padding: 0 16px;
	}
	.footer-in-right { width: 100%; }
	.copy { text-align: left; }
}

/* ---------- Phones ---------- */
@media (max-width: 600px) {
	#wrap, .footer-in { padding-left: 14px; padding-right: 14px; }
	.nav-toggle { right: 14px; top: 12px; }
	.menu.open ul { top: 66px; left: 14px; right: 14px; max-height: calc(100vh - 80px); }
	.back-top { right: 14px; bottom: 14px; }
	a.logo { width: 110px; margin-top: 12px; }
	ul.practice-list li { width: 100%; padding-right: 0; }
	.lawyers-photo { float: none; margin: 0 0 12px 0; }
	.lawyers-content { overflow: visible; }
	.ads1, .ads2 { float: none; width: 100%; margin: 0 0 20px 0; }
	.site-map { float: none; width: 100%; }
	.site-map li { margin-bottom: 12px; }
	.footer-nav ul li { padding: 4px 8px; }
	.Button_links { padding: 10px 18px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 360px) {
	body, p, a, .footer-nav ul li a { font-size: 13px; }
	h1, h2 { font-size: 18px; }
	a.logo { width: 96px; }
	.nav-toggle { width: 42px; height: 42px; }
	.nav-toggle span { left: 9px; }
	.menu.open ul { top: 62px; }
	.footer-nav ul li { padding: 3px 6px; }
}

@media print {
	.nav-toggle, .back-top { display: none; }
}
