/*
Theme Name: Hello Barton
Description: Child theme of Hello Elementor for Barton Law. Holds the global site styles; header, footer and page content are built in Elementor.
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-barton
*/

/* ---------- Base ---------- */
body {
	background: #848484 url('/wp-content/uploads/2015/04/background.png') repeat top center;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 14px;
	line-height: 26px;
	color: #3a4145;
	margin: 0;
}
p { margin: 0 0 20px; }
h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans Condensed', 'Open Sans', Arial, sans-serif;
	font-weight: 700;
	color: #3a4145;
	margin: 10px 0;
}
h1 { font-size: 36px; line-height: 50px; }
h2 { font-size: 30px; line-height: 42px; }
h3 { font-size: 24px; line-height: 34px; }
h4 { font-size: 18px; line-height: 26px; }
a { color: #85c6dd; text-decoration: none; transition: color .2s; }
a:hover { color: #231f20; }
img { max-width: 100%; height: auto; }
ul { margin: 0 0 20px; }

/* Boxed layout */
#st-wrapper {
	max-width: 1200px;
	margin: 30px auto 40px;
	background: #fff;
	box-shadow: 0 0 6px rgba(0, 0, 0, .25);
}
.bl-container {
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}
.bl-content::after { content: ""; display: table; clear: both; }
#st-wrapper .site-main,
#st-wrapper .page-content { margin: 0; padding: 0; max-width: none; }
.elementor-widget-html, .elementor-widget-shortcode { width: 100%; }

/* ---------- Header ---------- */
.bl-topbar {
	background: #0f2c49;
	color: #e0e0e0;
	font-size: 13px;
	line-height: 40px;
}
.bl-topbar .bl-container { display: flex; justify-content: space-between; align-items: center; }
.bl-topbar a { color: #e0e0e0; }
.bl-topbar a:hover { color: #fff; }
.bl-topbar .fa { font-size: 14px; width: 30px; text-align: center; }

.bl-header { background: #fff; position: relative; z-index: 50; }
.bl-header .bl-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 110px;
}
.bl-logo img { display: block; width: 250px; height: auto; }

.bl-nav { display: flex; align-items: center; }
.bl-menu, .bl-menu ul { list-style: none; margin: 0; padding: 0; }
.bl-menu > li { position: relative; display: inline-block; }
.bl-menu > li > a {
	display: block;
	padding: 0 15px;
	line-height: 110px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #3a4145;
}
.bl-menu > li > a:hover,
.bl-menu > li.current > a { color: #85c6dd; }
.bl-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 240px;
	padding: 10px 0;
	background: #262626;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all .2s;
	z-index: 100;
}
.bl-menu li:hover > .sub-menu,
.bl-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bl-menu .sub-menu a {
	display: block;
	padding: 5px 15px;
	font-size: 10.8px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #888;
}
.bl-menu .sub-menu a:hover { color: #fff; }

.bl-search { position: relative; margin-left: 10px; }
.bl-search-toggle {
	background: none; border: 0; padding: 0 5px; cursor: pointer;
	color: #3a4145; font-size: 16px; line-height: 110px;
}
.bl-search-toggle:hover, .bl-search-toggle:focus { background: none; color: #85c6dd; }
.bl-search form {
	display: none;
	position: absolute; right: 0; top: 80px;
	background: #fff; padding: 10px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.bl-search.open form { display: block; }
.bl-search input[type=search] { width: 220px; padding: 6px 10px; border: 1px solid #ccc; font-size: 14px; }

.bl-menu-toggle {
	display: none;
	background: none; border: 0; padding: 10px; cursor: pointer; color: #3a4145; font-size: 22px;
}
.bl-menu-toggle:hover, .bl-menu-toggle:focus { background: none; color: #85c6dd; }

/* ---------- Page title band ---------- */
.bl-title-band { background: #c0c0c0; }
.bl-title-band h1 {
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 20px;
	line-height: 20px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
	padding: 10px 0;
}

/* ---------- Home ---------- */
.bl-hero { padding-top: 0; }
.bl-hero img { display: block; width: 100%; }
.bl-intro { padding: 30px 60px 10px; }
.bl-section-heading {
	text-align: center;
	font-size: 24px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 60px 0 0;
	margin: 0 0 30px;
}
.bl-iconboxes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-flow: column;
	grid-template-rows: repeat(3, auto);
	gap: 0 30px;
	padding-bottom: 30px;
}
.bl-iconbox { display: flex; gap: 20px; margin-bottom: 30px; }
.bl-iconbox .fa { font-size: 33px; color: #231f20; width: 40px; text-align: center; flex: none; }
.bl-iconbox h4 {
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 15px;
	line-height: 21px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 10px;
}
.bl-iconbox p { margin: 0; }
.bl-more { font-weight: 700; }

/* Case evaluation band (home + contact) */
.bl-form-band { background: #e2e2e2; padding: 40px 0; }
.bl-form-band .elementor-widget-html,
.bl-form-band .elementor-widget-shortcode { max-width: 1170px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.bl-form-band h3, .bl-form-band > p, .bl-form-intro { text-align: center; color: #000; }

/* ---------- Contact Form 7 ---------- */
.wpcf7 .row { display: flex; gap: 30px; }
.wpcf7 .row > div { flex: 1; }
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	border: 1px solid #3a4145;
	border-radius: 0;
	background: rgba(255, 255, 255, .4);
	font: 14px/26px 'Open Sans', Arial, sans-serif;
	color: #3a4145;
}
.wpcf7 textarea { height: 112px; }
.wpcf7 input[type=submit] {
	padding: 5px 18px;
	line-height: 36px;
	border: 1px solid #3a4145;
	border-radius: 3px;
	background: #000;
	color: #fff;
	font: 700 13px 'Open Sans', Arial, sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
}
.wpcf7 input[type=submit]:hover { background: #231f20; }

/* ---------- Inner pages ---------- */
.bl-page { padding: 50px 0 60px; }
.bl-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.bl-grey-box { background: #e8e8e8; padding: 20px; margin-top: 25px; align-self: start; }

.bl-with-sidebar { display: grid; grid-template-columns: 1fr 3fr; gap: 30px; }
.bl-sidebar h3 {
	font-size: 16px;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin: 0 0 20px;
}
.bl-sidebar ul { list-style: none; padding: 0; margin: 0; }
.bl-sidebar li { padding: 4px 0; line-height: 22px; }
.bl-sidebar li a::before { content: "\203A"; color: #bbb; margin-right: 8px; }
.bl-sidebar li a:hover, .bl-sidebar li.current a { color: #231f20; }
.bl-content { padding-top: 35px; }
.alignright { float: right; margin: 0 0 15px 20px; }
.alignleft { float: left; margin: 0 20px 15px 0; }

.bl-contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; text-align: center; padding: 60px 0 25px; }
.bl-map iframe { display: block; width: 100%; height: 450px; border: 0; }

/* ---------- Footer ---------- */
.bl-footer { background: #0f2c49; color: #888; }
.bl-footer-main { padding: 60px 0 30px; text-align: center; }
.bl-footer-main p { margin: 0 0 20px; }
.bl-footer-main strong { color: #888; }
.bl-footer a { color: #888; }
.bl-footer a:hover { color: #fff; }
.bl-copyright {
	background: rgba(0, 0, 0, .2);
	padding: 20px 0;
	font: 12px/26px Arial, Helvetica, sans-serif;
}
.bl-copyright .bl-container { display: flex; justify-content: space-between; gap: 30px; }
.bl-footer-menu { list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.bl-footer-menu li { display: inline-block; margin-left: 15px; }
.bl-footer-menu a { color: #eee; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	#st-wrapper { margin: 0 auto; }
}
@media (max-width: 991px) {
	.bl-menu-toggle { display: block; }
	.bl-header .bl-container { flex-wrap: wrap; min-height: 90px; }
	.bl-logo { padding: 22px 0; }
	.bl-nav { order: 3; width: 100%; display: none; }
	.bl-header.menu-open .bl-nav { display: block; }
	.bl-menu > li { display: block; border-top: 1px solid #eee; }
	.bl-menu > li > a { line-height: 44px; }
	.bl-menu .sub-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; background: none; padding: 0 0 10px 15px; }
	.bl-search { display: none; }
	.bl-iconboxes { grid-template-columns: 1fr 1fr; grid-auto-flow: row; grid-template-rows: none; }
	.bl-intro { padding: 30px 15px 10px; }
}
@media (max-width: 767px) {
	.bl-iconboxes,
	.bl-two-col,
	.bl-with-sidebar,
	.bl-contact-cols { grid-template-columns: 1fr; }
	.bl-with-sidebar .bl-sidebar { order: 2; }
	.bl-content { padding-top: 0; }
	.alignright, .alignleft { float: none; display: block; margin: 0 0 20px; }
	.wpcf7 .row { display: block; }
	.bl-copyright .bl-container { flex-direction: column; }
	.bl-footer-menu { white-space: normal; }
	.bl-footer-menu li { margin: 0 15px 0 0; }
	.bl-contact-cols { padding-top: 30px; }
	h1 { font-size: 28px; line-height: 36px; }
	h2 { font-size: 24px; line-height: 32px; }
	.bl-title-band h1 { font-size: 18px; line-height: 24px; }
}
