/* JR Waste Services - main stylesheet */

* { box-sizing: border-box; }

body {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: #555;
	background: #e9ecef;
}

a { color: #2f8acb; text-decoration: none; }
a:hover { color: #1b4478; text-decoration: underline; }

h1, h2, h3, h4 {
	font-family: 'Oswald', Arial, sans-serif;
	font-weight: 400;
	color: #1b4478;
	text-transform: uppercase;
	margin: 0 0 12px 0;
	line-height: 1.25;
}
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }

p { margin: 0 0 14px 0; }

.wrapper {
	width: 1000px;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

.container { padding: 0 25px; }

.clear { clear: both; }

/* top bar */
#topbar {
	background: #1b4478;
	color: #c9d7ea;
	font-size: 12px;
	padding: 6px 25px;
	overflow: hidden;
}
#topbar a { color: #fff; }
#topbar .left { float: left; }
#topbar .right { float: right; }

/* header */
#header {
	padding: 15px 25px 12px 25px;
	overflow: hidden;
	border-bottom: 1px solid #e3e3e3;
}
#logo { float: left; }
#logo img { height: 110px; width: auto; display: block; }
#header .header-info {
	float: right;
	text-align: right;
	margin-top: 22px;
}
#header .header-info .small {
	font-size: 12px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 1px;
}
#header .header-info .big {
	font-family: 'Oswald', Arial, sans-serif;
	font-size: 22px;
	color: #1b4478;
}
#header .header-info .big a { color: #1b4478; }
#header .lic-badge {
	display: inline-block;
	margin-top: 6px;
	background: #5aa832;
	color: #fff;
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 2px;
}

/* nav */
#nav {
	background: #2f8acb;
	border-bottom: 4px solid #1b4478;
}
#nav ul {
	list-style: none;
	margin: 0;
	padding: 0 15px;
	overflow: hidden;
}
#nav li { float: left; }
#nav li a {
	display: block;
	padding: 13px 18px;
	color: #fff;
	font-family: 'Oswald', Arial, sans-serif;
	font-size: 15px;
	text-transform: uppercase;
	text-decoration: none;
}
#nav li a:hover, #nav li.active a { background: #1b4478; }
#nav li.quote { float: right; }
#nav li.quote a { background: #5aa832; }
#nav li.quote a:hover { background: #4a8f28; }

/* banner */
#banner {
	position: relative;
	height: 340px;
	overflow: hidden;
	background: #333;
}
#banner img {
	width: 100%;
	display: block;
	position: relative;
	top: -90px;
}
#banner .caption {
	position: absolute;
	left: 30px;
	bottom: 30px;
	width: 470px;
	background: rgba(27,68,120,0.88);
	color: #fff;
	padding: 18px 22px;
	border-left: 5px solid #5aa832;
}
#banner .caption h1 { color: #fff; font-size: 28px; margin-bottom: 6px; }
#banner .caption p { margin: 0 0 10px 0; font-size: 14px; }

.btn {
	display: inline-block;
	background: #5aa832;
	color: #fff !important;
	padding: 7px 16px;
	font-size: 13px;
	text-transform: uppercase;
	border-radius: 3px;
	text-decoration: none !important;
	border: 0;
	cursor: pointer;
	font-family: 'Open Sans', Arial, sans-serif;
}
.btn:hover { background: #4a8f28; }
.btn.blue { background: #2f8acb; }
.btn.blue:hover { background: #1b4478; }

/* page title strip (inner pages) */
#pagetitle {
	background: #f4f6f8 url(../images/stripe.png);
	border-bottom: 1px solid #e1e4e8;
	padding: 22px 25px;
}
#pagetitle h1 { margin: 0; font-size: 26px; }
#pagetitle .crumbs { font-size: 12px; color: #999; }

/* welcome strip */
.welcome {
	text-align: center;
	padding: 30px 60px 20px 60px;
}
.welcome h2 { font-size: 26px; }
.welcome p { font-size: 15px; }

/* three boxes */
.boxes {
	overflow: hidden;
	padding: 10px 25px 25px 25px;
}
.box {
	float: left;
	width: 300px;
	margin-right: 25px;
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	border-top: 3px solid #2f8acb;
	padding: 18px 18px 14px 18px;
	min-height: 245px;
}
.box.last { margin-right: 0; }
.box h3 { border-bottom: 1px dotted #ccc; padding-bottom: 8px; }
.box ul { margin: 0 0 12px 0; padding-left: 18px; }

/* main content + sidebar */
#content { overflow: hidden; padding: 25px 25px 30px 25px; }
#main { float: left; width: 640px; }
#sidebar { float: right; width: 270px; }

#main ul.ticks { list-style: none; padding: 0; margin: 0 0 15px 0; }
#main ul.ticks li {
	padding: 3px 0 3px 22px;
	background: url(../images/tick.png) no-repeat 0 7px;
}

.photo {
	border: 1px solid #ddd;
	padding: 4px;
	background: #fff;
	margin-bottom: 15px;
}
.photo img { width: 100%; display: block; }
.photo.right { float: right; width: 280px; margin: 4px 0 12px 20px; }

.widget {
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	margin-bottom: 20px;
}
.widget h3 {
	background: #1b4478;
	color: #fff;
	font-size: 15px;
	padding: 9px 14px;
	margin: 0;
}
.widget .inner { padding: 14px; font-size: 13px; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget ul li { border-bottom: 1px solid #e2e2e2; padding: 6px 0; }
.widget ul li:last-child { border: 0; }
.widget.green h3 { background: #5aa832; }

.licbox {
	border: 2px solid #5aa832;
	background: #f3f9ef;
	padding: 15px 18px;
	margin: 10px 0 20px 0;
}
.licbox table { border-collapse: collapse; width: 100%; }
.licbox td { padding: 5px 8px; border-bottom: 1px solid #dfe9d8; vertical-align: top; }
.licbox td.l { width: 190px; font-weight: bold; color: #333; }

/* service list on services page */
.service {
	overflow: hidden;
	border-bottom: 1px dotted #ccc;
	padding: 0 0 12px 0;
	margin-bottom: 16px;
}
.service h3 { color: #2f8acb; }

/* call to action strip */
#cta {
	background: #5aa832;
	color: #fff;
	padding: 20px 25px;
	overflow: hidden;
}
#cta .txt { float: left; font-size: 20px; font-family: 'Oswald', Arial, sans-serif; text-transform: uppercase; padding-top: 3px; }
#cta .txt span { display: block; font-family: 'Open Sans', Arial, sans-serif; font-size: 13px; text-transform: none; }
#cta .btn { float: right; background: #1b4478; padding: 11px 22px; font-size: 14px; margin-top: 4px; }
#cta .btn:hover { background: #12325a; }

/* forms */
form .row { margin-bottom: 12px; }
form label { display: block; font-weight: bold; color: #333; font-size: 13px; margin-bottom: 3px; }
form input[type=text], form input[type=email], form input[type=tel], form select, form textarea {
	width: 100%;
	padding: 7px;
	border: 1px solid #ccc;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 13px;
	background: #fcfcfc;
}
form textarea { height: 130px; }
form .half { float: left; width: 48%; }
form .half.r { float: right; }
.req { color: #c00; }

/* footer */
#footer {
	background: #1f2a36;
	color: #a9b3be;
	font-size: 13px;
	padding: 25px 25px 10px 25px;
	overflow: hidden;
}
#footer .col { float: left; width: 215px; margin-right: 20px; }
#footer .col.last { margin-right: 0; }
#footer h4 { color: #fff; font-size: 15px; border-bottom: 1px solid #34414f; padding-bottom: 6px; }
#footer a { color: #cfd8e2; }
#footer ul { list-style: none; margin: 0; padding: 0; }
#footer ul li { padding: 2px 0; }
#copyright {
	background: #18212b;
	color: #7d8894;
	font-size: 11px;
	padding: 10px 25px;
	overflow: hidden;
}
#copyright .left { float: left; }
#copyright .right { float: right; }
#copyright a { color: #7d8894; }

/* ---- phones & small tablets ---- */
@media (max-width: 760px) {
	body { background: #fff; }
	.wrapper { width: auto; box-shadow: none; }
	#topbar { padding: 6px 12px; text-align: center; }
	#topbar .left, #topbar .right { float: none; }
	#topbar .right { font-size: 11px; }
	#header { padding: 12px; text-align: center; }
	#logo, #header .header-info { float: none; }
	#logo img { height: 90px; margin: 0 auto; }
	#header .header-info { text-align: center; margin-top: 8px; }
	#header .header-info .big { font-size: 18px; }
	#nav ul { padding: 0; }
	#nav li, #nav li.quote { float: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
	#nav li a { padding: 11px 16px; }
	#banner { height: auto; }
	#banner img { top: 0; }
	#banner .caption { position: static; width: auto; border-left: 0; border-top: 5px solid #5aa832; padding: 16px; }
	#banner .caption h1 { font-size: 22px; }
	.welcome { padding: 20px 16px 10px 16px; }
	.welcome h2, #pagetitle h1 { font-size: 22px; }
	.welcome p { font-size: 14px; }
	.boxes { padding: 0 16px 10px 16px; }
	.box, .box.last { float: none; width: auto; margin: 0 0 15px 0; min-height: 0; }
	#content { padding: 18px 16px; }
	#main, #sidebar { float: none; width: auto; }
	#sidebar { margin-top: 20px; }
	.photo.right { float: none; width: auto; margin: 0 0 15px 0; }
	#pagetitle { padding: 16px; }
	.licbox { padding: 10px; }
	.licbox td { display: block; border: 0; padding: 2px 4px; }
	.licbox td.l { width: auto; padding-top: 8px; }
	#cta { padding: 18px 16px; text-align: center; }
	#cta .txt, #cta .btn { float: none; }
	#cta .btn { display: inline-block; margin-top: 12px; }
	form .half, form .half.r { float: none; width: 100%; margin-bottom: 12px; }
	form input[type=text], form input[type=email], form input[type=tel], form select, form textarea { font-size: 16px; }
	#footer { padding: 20px 16px 5px 16px; }
	#footer .col, #footer .col.last { float: none; width: auto; margin: 0 0 15px 0; }
	#copyright { padding: 10px 16px; text-align: center; }
	#copyright .left, #copyright .right { float: none; }
}
