/* ==========================================================================
   Schwartz Electric theme (Concrete CMS 9)
   Fixed-width 960px layout.
   ========================================================================== */

:root {
	--brand-red:    #7E1113;
	--link:         #006699;
	--link-hover:   #B20000;
	--menu-hover:   #FC0;
	--text:         #3A3A3A;
	--text-muted:   #444;
	--rule:         #CCC;
	--rule-dark:    #999;
	--font-body:    Arial, Helvetica, sans-serif;
	--font-heading: "museo-slab", Rockwell, Georgia, serif;
	--page-width:   960px;
	--main-width:   625px;
	--sidebar-width: 318px;
}

/* --- Base ---------------------------------------------------------------- */

html {
	height: 100%;
	overflow-y: scroll; /* always reserve the scrollbar so pages don't shift */
}

body {
	margin: 0;
	height: 100%;
	background: #FFF;
	color: var(--text);
	font: 16px var(--font-body);
}

a {
	color: var(--link);
	text-decoration: underline;
}
a:hover,
a:focus-visible {
	color: var(--link-hover);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	font-family: var(--font-heading);
}
h1 {
	font-size: 32px;
	font-weight: 700;
	color: var(--brand-red);
}

.brclear { clear: both; }

/* --- Page frame ---------------------------------------------------------- */

#page {
	position: relative;
	width: 100%;
	min-width: var(--page-width);
	background: #FFF url(../images/bkg_menubar.png) repeat-x 0 23px;
}

#container {
	position: relative;
	width: var(--page-width);
	margin: 0 auto;
}

/* --- Header -------------------------------------------------------------- */

#logoMast {
	position: absolute;
	top: 0;
	left: 7px;
	z-index: 3;
	width: 305px;
	height: 172px;
}

#subMenu,
#menuBar {
	position: absolute;
	right: 0;
	width: var(--main-width);
	font-family: var(--font-heading);
	font-weight: 500;
	text-transform: uppercase;
}
#subMenu { top: 4px;  font-size: 12px; }
#menuBar { top: 33px; font-size: 14px; }

/* Shared inline-list menus (header + footer) */
#subMenu ul, #menuBar ul, #footerMenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#subMenu li, #menuBar li, #footerMenu li {
	display: inline;
	margin: 0;
	padding: 0;
}

#subMenu a {
	padding: 0 12px;
	border-left: 1px solid var(--rule);
	color: var(--text-muted);
	text-decoration: none;
}
#subMenu a:hover, #subMenu a:focus-visible { color: var(--brand-red); }

#menuBar a {
	padding: 0 12px;
	color: #FFF;
	text-decoration: none;
}
#menuBar a:hover, #menuBar a:focus-visible { color: var(--menu-hover); }

#subMenu a.first,
#menuBar a.first,
#footerMenu a.first {
	padding-left: 0;
	border-left: none;
}

/* --- Main content -------------------------------------------------------- */

#main {
	position: relative;
	float: right;
	width: var(--main-width);
	margin-top: 70px;
}
#main p  { font-size: 16px; line-height: 1.45; }
#main li { line-height: 1.45; }

/* Breadcrumbs: v9 Auto-Nav "Breadcrumb" template outputs
   <nav><ol class="breadcrumb"><li>..</li><li class="active">..</li></ol></nav>.
   Shown as one line of links separated by ">" */
#breadcrumbs {
	width: var(--main-width);
	margin: 0 0 12px;
	font-size: 12px;
}
#breadcrumbs ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
#breadcrumbs li {
	display: inline;
	line-height: normal;
}
#breadcrumbs li + li::before {
	content: ">";
	padding: 0 5px;
	color: var(--text);
}
#breadcrumbs li:first-child { font-weight: bold; }
#breadcrumbs li.active      { color: var(--text); }

/* Team page: 3 columns per row */
#theTeam { width: var(--main-width); }
#theTeam .teamMembers {
	float: left;
	width: 185px;
	margin-right: 35px;
	text-align: center;
}
#theTeam .teamMembers.last { margin-right: 0; }
#theTeam .teamMembers p    { font-size: 12px; }
#theTeam .teamMembers a    { font-size: 16px; }

/* --- Sidebar ------------------------------------------------------------- */

#sidebar {
	position: relative;
	z-index: 0;
	float: left;
	width: var(--sidebar-width);
	min-height: 400px;
	background: url(../images/bkg_logogradient.png) repeat-x top;
}
#menuLayer {
	position: absolute;
	top: 23px;
	z-index: 1;
	width: var(--sidebar-width);
	height: 36px;
	background: url(../images/bkg_menubar.png) repeat-x;
}
#social {
	margin-top: 200px;
	text-align: center;
}
#quoteRequest {
	width: 260px;
	margin: 20px auto 0;
	padding-bottom: 20px; /* breathing room above the footer */
	text-align: center;
}
/* Cognito resizes this iframe to fit the form, so let the box grow with it */
#quoteRequest iframe {
	display: block;
	border: 0;
}
#quoteRequest h2 {
	color: var(--brand-red);
	font-weight: 700;
	text-transform: uppercase;
}
#quoteRequest p { font-size: 12px; }

/* --- Footer -------------------------------------------------------------- */

#footer {
	position: relative;
	width: 100%;
	height: 120px;
	padding-top: 20px;
	border-top: 1px solid var(--rule-dark);
	font-size: 12px;
}
#footerMenu,
#address,
#copyright {
	float: left;
	width: 800px;
	padding-bottom: 8px;
}
#footerMenu a {
	padding: 0 4px 0 8px;
	border-left: 1px solid var(--rule);
	color: var(--text-muted);
	text-decoration: none;
}
#footerMenu a:hover, #footerMenu a:focus-visible { color: var(--brand-red); }
#footerLogo {
	float: right;
	width: 125px;
	height: 60px;
}

/* --- Content helpers (used inside page content) ---------------------------- */

.spacer12 { height: 12px; }

.vanList {
	min-height: 177px;
	margin-bottom: 12px;
	background: url(../images/schwartz-electric-van-small.jpg) no-repeat right;
	font-size: 18px;
}
.vanList ul,
.vanList li {
	margin: 0;
	padding: 0;
	list-style: none;
}
