/*
  Allens Printers
  Static version of the original WordPress theme ("Allen Printers" by Tricycle Media).
  Desktop rules are carried over unchanged; the small-screen block at the bottom is new.
*/

/* ---------- Reset ---------- */

html, body, div, span, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, var,
b, u, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: top;
	background: transparent;
}
body {
	line-height: 1;
	font-family: Calibri, Arial, sans-serif;
	font-size: 14px;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
em {
	font-style: italic;
}
strong {
	font-weight: bold;
}
a {
	text-decoration: none;
}
:focus {
	outline: 0;
}
/* Keyboard users still get a visible focus ring; mouse clicks look as before. */
:focus-visible {
	outline: 2px solid #606060;
	outline-offset: 2px;
}

/* ---------- Page content ---------- */

h1, h2, h3 {
	padding-bottom: 15px;
	font-weight: normal;
}
#main-inner h1 {
	font-size: 24px;
}
#main-inner h2 {
	font-size: 20px;
}
#main-inner h3 {
	font-size: 16px;
}
#main-inner table {
	vertical-align: top;
	margin-bottom: 30px;
}
#main-inner table td {
	padding: 5px;
}
#main-inner ol {
	list-style: decimal;
	margin-left: 20px;
}
#main-inner ul li {
	list-style: disc;
	margin-left: 15px;
}
#main-inner ul ul, #main-inner ol ol {
	margin-left: 15px;
}
#main-inner p, #main-inner ul, #main-inner ol {
	padding-bottom: 15px;
}

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

#header-inner {
	width: 980px;
	margin: 0 auto;
	display: flow-root; /* contains the floated logo and menu */
}
#header-inner #logo {
	float: left;
	width: 131px;
}
#navigation {
	float: right;
	padding-top: 45px;
}
#navigation ul li {
	float: left;
}
#navigation ul li a {
	display: block;
	padding: 25px 20px;
	font-size: 24px;
	color: #606060;
	border-left: 1px solid #cccccc;
}
#navigation ul li:last-child a {
	border-right: 1px solid #cccccc;
}
#navigation ul li.current a, #navigation ul li a:hover {
	background: #40b86b;
	color: #fff;
}

/* Green phone number bar */
#contact {
	background: #40b86b;
}
#contact-inner {
	width: 980px;
	margin: 0 auto;
}
#contact p {
	text-align: right;
	font-size: 36px;
	color: #fff;
	padding: 5px 0;
}

/* ---------- Feature image ---------- */

#feature {
	padding: 6px 0;
}
#feature-image {
	width: 980px;
	margin: 0 auto;
}
#feature-image img {
	width: 980px;
	height: 324px;
}

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

#main {
	background: #eaeaea;
}
#main-inner {
	width: 980px;
	margin: 0 auto;
	padding: 10px 0;
}
#page-content {
	border-left: 8px solid #41b76b;
	margin-left: 90px;
	padding-left: 10px;
}

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

#footer {
	background: #e3e3e3;
}
#footer-inner {
	width: 980px;
	margin: 0 auto;
}
#footer-inner p {
	padding: 30px 0 10px;
	color: #a9a9a9;
	font-size: 12px;
}
#footer-inner a {
	color: #a9a9a9;
}

/* ---------- Small screens ----------
   Not part of the original theme, which was a fixed 980px layout.
   Delete this block (and the viewport meta tag in each page) to get
   the old zoomed-out desktop page on phones instead. */

@media (max-width: 999px) {
	#header-inner, #contact-inner, #feature-image, #main-inner, #footer-inner {
		width: auto;
	}
	#header-inner, #contact-inner, #main-inner, #footer-inner {
		padding-left: 15px;
		padding-right: 15px;
	}
	#header-inner #logo {
		float: none;
		margin: 10px auto 0;
	}
	#navigation {
		float: none;
		padding: 10px 0;
	}
	#navigation ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	#navigation ul li {
		float: none;
	}
	#navigation ul li a, #navigation ul li:last-child a {
		padding: 12px 14px;
		font-size: 20px;
		border: 0;
	}
	#contact p {
		text-align: center;
		font-size: 28px;
	}
	#feature-image img {
		width: 100%;
		height: auto;
	}
	#main-inner {
		line-height: 1.3;
	}
	#page-content {
		margin-left: 0;
	}
	#page-content a {
		overflow-wrap: anywhere;
	}
	/* A table too wide for the screen scrolls on its own rather than the whole page. */
	#main-inner table {
		display: block;
		overflow-x: auto;
	}
}
