/* Akron Tree Farms - faithful restore of original 2014-2015 site styles
   Combined from original css/style.css, css/p7exp.css (Project Seven menu),
   and tablepress-combined.min.css. Palette: maroon #7b1501 / gold #b0953a. */

html { overflow-y: scroll; }
body {
	background-color: #7b1501;
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 12px;
	color: #000;
}

img { border: 0; }

/* ---- Fixed-width centered layout (original was 827px) ---- */
.atf-page { width: 827px; margin: 0 auto; }

@media (max-width: 860px) {
	.atf-page { width: 100%; }
}

/* ---- Banner + menu ---- */
.atf-banner {
	position: relative;
	width: 100%;
	max-width: 827px;
	margin: 0 auto;
}
.atf-banner img.banner-bg { display: block; width: 100%; height: auto; }

#menuwrapper {
	position: absolute;
	left: 35px;
	bottom: 8px;
	width: 770px;
}
#p7menubar, #p7menubar ul {
	padding: 0; margin: 0; list-style: none;
}
#p7menubar { display: inline-block; }
#p7menubar li { float: left; }
#p7menubar a {
	display: block;
	text-decoration: none;
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 12px;
	font-weight: normal;
	line-height: 14px;
	color: #fff;
	text-align: center;
	padding: 0 12px;
}
#p7menubar a:hover, #p7menubar a.selected {
	color: #b0953a;
}
.menu-divider { color: #fff; padding: 0 6px; }

/* ---- Body area ---- */
.atf-body {
	background: #fff url('/wp-content/uploads/2014/08/atf_body_bg.jpg') repeat-x top left;
	background-color: #fff;
}
.atf-content {
	width: 90%;
	margin: 0 auto;
	padding: 24px 0 30px;
	min-height: 300px;
}

/* ---- Homepage hero ---- */
.atf-hero {
	position: relative;
	width: 100%;
	max-width: 827px;
	margin: 0 auto;
}
.atf-hero img.hero-bg { display: block; width: 100%; height: auto; }
.atf-hero .hero-address {
	position: absolute;
	left: 0; right: 0;
	bottom: 24px;
	text-align: center;
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 13px;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

/* ---- Typography inside content ---- */
.entry-title, .atf-content h1 {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 24px;
	color: #7b1501;
	margin: 0 0 14px 0;
}
.atf-content h2 {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 18px;
	color: #b0953a;
	font-weight: bold;
	margin: 0 0 12px 0;
}
.atf-content p {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 13px;
	line-height: 1.55;
	color: #222;
	margin: 0 0 12px 0;
}
.atf-content a { color: #7b1501; }
.atf-content a:hover { color: #b0953a; }
.atf-content img { max-width: 100%; height: auto; }

/* ---- Footer ---- */
.atf-footer {
	position: relative;
	width: 100%;
	max-width: 827px;
	margin: 0 auto;
}
.atf-footer img.footer-bg { display: block; width: 100%; height: auto; }
#footertext {
	position: absolute;
	left: 0; right: 0;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 11px;
	color: #fff;
}
.footerbullet { font-size: 11px; vertical-align: middle; }

/* ---- Contact form (original .frm* styles) ---- */
.wpcf7 p { font-size: 13px; }
.wpcf7-form-control {
	border: solid 1px #b0953a;
	background-color: #fff;
	font-size: 13px;
	padding: 4px;
}
input.wpcf7-text, input[type=text], input[type=email], input[type=tel] { width: 260px; }
textarea.wpcf7-textarea { width: 320px; height: 120px; }
.wpcf7-submit {
	border: solid 2px #b0953a;
	background-color: #7b1501;
	color: #b0953a;
	font-size: 13px;
	font-weight: bold;
	cursor: pointer;
	padding: 6px 18px;
}

/* ---- TablePress (products inventory) ---- */
.tablepress {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	margin-bottom: 1em;
	font-size: 12px;
}
.tablepress td, .tablepress th {
	padding: 7px 8px;
	text-align: left;
	vertical-align: top;
}
.tablepress tbody td, .tablepress thead th { border-top: 1px solid #ddd; }
.tablepress thead th {
	background-color: #7b1501;
	color: #fff;
	font-weight: 700;
	vertical-align: middle;
	border-bottom: 1px solid #7b1501;
}
.tablepress .odd td { background-color: #f9f6f0; }
.tablepress .even td { background-color: #fff; }
.tablepress .row-hover tr:hover td { background-color: #f3ead8; }
.tablepress .column-1 { font-style: italic; }

/* small screens */
@media (max-width: 640px) {
	#menuwrapper { position: static; width: auto; padding: 8px; background: #5c1001; }
	#p7menubar a { padding: 6px 8px; }
	.atf-hero .hero-address { position: static; color: #7b1501; text-shadow: none; padding: 10px; }
	#footertext { position: static; transform: none; color: #7b1501; padding: 10px; }
	.atf-content img { float: none !important; display: block; margin: 0 auto 12px; }
}

/* Products table: keep within content column on small screens (faithful fix, no redesign) */
@media (max-width: 640px) {
	.atf-content { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.tablepress { table-layout: fixed; width: 100%; font-size: 11px; }
	.tablepress td, .tablepress th { padding: 5px 5px; word-wrap: break-word; overflow-wrap: break-word; }
	.tablepress .column-1, .tablepress .column-2 { width: 26%; }
	.tablepress .column-3 { width: 13%; }
	.tablepress .column-4 { width: 35%; }
}
