/*
 * B J Kenny Group
 * Single stylesheet (merged and tidied from the original SilverStripe "Black Candy" theme)
 */

:root {
	--green: #347c3c;
	--green-light: #3b8344;
	--green-dark: #0f5a19;
	--text: #333;
	--text-soft: #6c6c6c;
	--border: #b2b2b2;
	--font: "Coda", sans-serif;
}

/* Base
----------------------------------------- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

*:before,
*:after {
	box-sizing: border-box;
}

html {
	background: #fff url(../images/bg-top.jpg) no-repeat top center;
}

body {
	color: var(--text);
	font-size: 62.5%;
	font-family: var(--font);
}

img {
	max-width: 100%;
	height: auto;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear {
	clear: both;
}

/* Layout
----------------------------------------- */
#BgContainer {
	background: #eee url(../images/bg-top.jpg) no-repeat top center;
	border-bottom: 6px solid var(--green);
}

#Container {
	width: 960px;
	margin: 0 auto;
	padding-bottom: 15px;
}

#Layout {
	clear: both;
	overflow: hidden;
	margin: 15px auto;
	padding: 20px 10px;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: url(../images/bg-top.jpg) no-repeat top center;
	background-size: contain;
}

#Content {
	width: 615px;
	float: right;
	text-align: left;
}

/* Header
----------------------------------------- */
#Header {
	position: relative;
	height: 145px;
}

#logo {
	position: absolute;
	top: -5px;
	left: 0;
}

#tel {
	position: absolute;
	top: 0;
	right: 15px;
	padding: 5px 10px 7px;
	background: var(--green);
}

#tel h3 {
	margin: 0;
	font-size: 16px;
	color: #fff;
}

#email {
	position: absolute;
	top: 10px;
	right: 220px;
	font-size: 12px;
	color: #555;
}

#email a {
	margin: 0 5px;
	font-size: 12px;
	color: #555;
	text-decoration: none;
}

#email a:hover {
	text-decoration: underline;
}

/* Main navigation
----------------------------------------- */
#Navigation {
	position: absolute;
	bottom: 5px;
	left: 0;
}

#Navigation ul {
	float: left;
}

#Navigation ul li {
	display: block;
	float: left;
	height: 40px;
	line-height: 40px;
	list-style: none;
}

#Navigation ul li a {
	display: block;
	float: left;
	height: 40px;
	padding: 0 10px;
	font-size: 16px;
	color: #555;
	text-decoration: none;
}

#Navigation ul li a:hover {
	color: #000;
	cursor: pointer;
}

#Navigation ul li a.current,
#Navigation ul li a.section,
#Navigation ul li a.current:hover,
#Navigation ul li a.section:hover {
	color: var(--green);
	font-weight: 600;
}

#trigger {
	display: none;
}

/* Slider
----------------------------------------- */
#slider-container {
	margin: 0 auto;
	overflow: hidden;
	background: var(--green);
	border-bottom: 10px solid var(--green);
}

#slider-container a {
	display: block;
}

#slider-container img {
	vertical-align: top;
}

#truckmix {
	float: left;
	width: 475px;
}

#liquidscreeding {
	float: right;
	width: 475px;
}

/* Home page columns
----------------------------------------- */
#home-columns {
	height: 160px;
	margin: 15px auto;
	padding: 0 15px;
}

#home-columns h3 {
	font-size: 23px;
	color: #040404;
}

#home-columns p {
	line-height: 26px !important;
}

#left {
	float: left;
	width: 440px;
	padding-right: 15px;
	border-right: 1px solid var(--border);
}

#right {
	float: right;
	width: 445px;
}

/* Typography
----------------------------------------- */
.typography,
.typography * {
	font-family: var(--font);
}

.typography p {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 22px;
	color: var(--text-soft);
}

.typography a {
	color: var(--green);
	text-decoration: none;
}

.typography a:hover {
	text-decoration: underline;
}

.typography ul,
.typography ol {
	margin: 0 0 18px 24px;
	color: var(--text-soft);
}

.typography li {
	margin: 5px 10px;
	font-size: 14px;
}

.typography h2 {
	margin: 0 0 12px;
	padding-bottom: 6px;
	font-size: 30px;
	font-weight: 300;
	color: var(--green);
	border-bottom: 1px solid #e3e3e3;
}

.typography h3 {
	clear: both;
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 300;
	color: #222;
}

.typography table {
	margin: 0 0 18px;
	font-size: 11px;
	color: #666;
}

.typography td {
	padding: 5px;
	border: 1px solid #999;
}

.typography img {
	border: none;
}

.typography img.right {
	float: right;
	margin-left: 20px;
}

.typography img.center {
	display: block;
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.typography .product {
	font-size: 12px;
	line-height: 20px;
	color: var(--text-soft);
}

/* Tables (screeding pages)
----------------------------------------- */
.typography table.spec {
	width: 80%;
}

tr.table-top {
	color: #fff;
	background: linear-gradient(to bottom, var(--green-light), var(--green-dark));
}

tr.table-next {
	background: linear-gradient(to bottom, #eee, #d3d3d3);
}

/* References
----------------------------------------- */
.typography table.reference {
	width: 100%;
	background-color: #fffee1;
}

.typography table.reference td {
	font-family: Verdana, Arial, sans-serif;
	font-size: 8pt;
	border: 0;
}

.typography table.reference td:first-child {
	width: 150px;
}

.typography hr.reference-divider {
	margin: 18px 0;
	background-color: #fffee1;
}

/* Breadcrumbs and screeding sidebar
----------------------------------------- */
#Breadcrumbs {
	margin: 0 5px 10px 0;
	font-size: 0.9em;
	text-align: left;
	color: #b7c0c5;
}

#Breadcrumbs p {
	margin: 0;
}

#Sidebar {
	float: left;
	width: 290px;
	margin: 5px 0 0;
}

#Sidebar .sidebarBox {
	margin: 0 0 5px;
	border: 2px solid var(--border);
	background: linear-gradient(to bottom, #eee, #d3d3d3);
}

#Sidebar ul {
	margin: 2px 0 5px 3px;
}

#Sidebar .sidebarBottom {
	display: block;
	height: 35px;
	padding-left: 14px;
	font-size: 16px;
	font-weight: bold;
	line-height: 2.4em;
	color: #fff;
	background: linear-gradient(to bottom, var(--green-light), var(--green-dark));
}

ul#Menu2 li {
	margin: 7px 0 7px 4px;
	font-size: 13px;
	list-style: none;
}

ul#Menu2 li a {
	display: block;
	width: 100%;
	height: 1.8em;
	padding-left: 8px;
	font-size: 13px;
	line-height: 1.8em;
	color: #898989;
}

ul#Menu2 li a:hover,
ul#Menu2 li a.current {
	color: #666;
	text-decoration: none;
}

ul#Menu2 li a.current {
	font-weight: 700;
}

/* Gallery
----------------------------------------- */
ul.gallery-layout {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.gallery-layout li {
	float: left;
	margin: 0 9px 9px 0;
	list-style: none;
	border: 2px solid #fff;
}

.gallery-layout li:hover {
	border-color: #e3e3e3;
}

.gallery-layout li img {
	margin: 4px;
}

#pagination-imagegallery {
	margin: 22px 0 0;
	padding: 0;
	overflow: hidden;
}

#pagination-imagegallery li {
	display: inline;
	margin: 0 2px 0 0;
	padding: 0;
	font-size: 11px;
	list-style: none;
}

#pagination-imagegallery .previous-off,
#pagination-imagegallery .next-off {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 3px 4px;
	color: #666;
}

#pagination-imagegallery .next a,
#pagination-imagegallery .previous a {
	font-weight: bold;
}

#pagination-imagegallery .active {
	display: block;
	float: left;
	padding: 4px 6px;
	font-weight: bold;
	color: var(--green);
}

/* Contact
----------------------------------------- */
#contact-left {
	float: left;
	width: 350px;
}

#contact-right {
	float: right;
	width: 560px;
	margin-top: 25px;
}

#address {
	float: left;
	width: 220px;
}

#telcon {
	float: left;
	width: 220px;
	padding-left: 40px;
}

/* Forms
----------------------------------------- */
fieldset {
	border: 0;
}

.typography label {
	display: block;
	margin: 10px 0 -10px;
	font-size: 12px;
	color: #3c3c3c;
}

.middleColumn {
	display: block;
	width: 306px;
	margin: 15px 10px 10px 0;
	padding: 4px;
	background: #e9e9e9;
}

input.text,
textarea,
select {
	width: 294px;
	padding: 5px;
	border: 1px solid #fff;
	background: #fff;
	box-shadow: 0 0 1px #ccc;
}

select {
	width: 100%;
}

textarea {
	font-family: Verdana, Tahoma, sans-serif;
	font-size: 12px;
}

.Actions {
	margin-top: 20px;
}

.Actions input {
	width: 90px;
	height: 35px;
	margin: 0 0 15px 3px;
	font-weight: bold;
	color: #333;
	background: #e9e9e9;
	border: 1px solid #fff;
	box-shadow: 0 0 1px #ccc;
}

.Actions input:hover,
.Actions input:focus {
	cursor: pointer;
	background: #e2e2e2;
}

.hp-field {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.message {
	margin: 15px 0;
	padding: 8px;
	font-size: 13px;
	color: #979908;
	border: 4px solid #f7f8b4;
	background: #ffffea;
}

.message.error {
	color: #dc1313;
	border-color: #ff7373;
	background: #fed0d0;
}

.message.error ul {
	margin: 5px 0 0 20px;
}

/* Footer
----------------------------------------- */
#Footer {
	width: 960px;
	height: 114px;
	margin: 25px auto;
}

#footer-container {
	float: left;
	width: 780px;
}

#Footer p {
	font-size: 14px;
	font-weight: bold;
	color: var(--green);
}

#Footer a {
	color: var(--green);
	text-decoration: none;
}

#Footer a:hover {
	text-decoration: underline;
}

#footer-logo {
	float: left;
	width: 120px;
}

#footer-details {
	float: right;
	width: 230px;
	margin-right: 20px;
	padding-left: 20px;
	line-height: 24px;
	background: url(../images/footer-sep.jpg) no-repeat left center;
}

#footer-address {
	width: 340px;
	margin-left: 140px;
	padding-left: 20px;
	line-height: 24px;
	background: url(../images/footer-sep.jpg) no-repeat left center;
}

/* Tablet
----------------------------------------- */
@media (min-width: 768px) and (max-width: 991px) {
	#Container { width: 750px; }
	#Header { height: 125px; }
	#logo img { width: 250px; }
	#tel { right: 0; }
	#email { right: 195px; }
	#Sidebar { width: 33%; }
	#Content { width: 65%; }
	#truckmix, #liquidscreeding { width: 370px; }
	#left, #right { width: 350px; }
	#Footer { width: 740px; }
	#footer-container { width: 100%; }
	#Navigation ul li a { padding: 0 8px; font-size: 15px; }
	.gallery-layout li { width: 19%; margin: 0 1% 9px 0; }
	.gallery-layout li img { margin: 0; padding: 4px; }
	#contact-left, #contact-right { width: 50%; }
	#address, #telcon { width: 50%; }
	#telcon { padding-left: 20px; }
	iframe { width: 100%; }
}

/* Mobile
----------------------------------------- */
@media (max-width: 767px) {
	#Container {
		width: 100%;
		margin: 0 auto;
		padding-right: 15px;
		padding-left: 15px;
	}

	#Header { height: 150px; }

	#logo {
		position: static;
		width: 100%;
		padding-top: 15px;
		text-align: center;
	}

	#logo img { width: 250px; }

	#tel {
		left: 50%;
		width: 170px;
		margin-left: -85px;
		text-align: center;
	}

	#tel a { color: #fff; }
	#tel h3 { font-size: 12px; }
	#email { display: none; }

	#Navigation ul { display: none; }

	#trigger {
		display: inline-block;
		padding: 5px 15px;
		font-size: 16px;
		font-weight: bold;
		color: #fff;
		background: var(--green);
		cursor: pointer;
	}

	#truckmix, #liquidscreeding { width: 50%; }

	#home-columns {
		height: auto;
		padding: 0;
	}

	#left, #right {
		width: 100%;
		padding: 0;
	}

	#left {
		margin-bottom: 15px;
		border-right: none;
		border-bottom: 1px solid var(--border);
	}

	#Layout { padding: 15px 0; }

	#Sidebar,
	#Content {
		float: none;
		width: 100%;
	}

	ul#Menu2 li { margin: 5px 0 5px 4px; }

	.typography h2 { font-size: 24px; }

	#contact-left, #contact-right {
		float: none;
		width: 100%;
	}

	#address, #telcon {
		width: 100%;
		padding: 0;
	}

	iframe { width: 100%; }

	#Footer {
		width: 100%;
		height: auto;
	}

	#footer-container {
		float: left;
		width: 100%;
	}

	#footer-logo { display: none; }

	#footer-details,
	#footer-address {
		float: none;
		width: 100%;
		padding: 0 15px;
		background: none;
	}

	#footer-details { margin: 0 0 15px; }
	#footer-address { margin: 0; }
}
