/*
Theme Name: Master Scents
Theme URI: http://www.masterscents.co.uk/
Description: Bespoke Theme built using Bootstrap 3 for Craig Morrow
Author: Elms Creative
Author URI: http://www.elmscreative.com/
Version: 1.2
*/

@font-face {
	font-family: "Avenir Next";
	src: url("fonts/AvenirNext-Medium.eot");
	src: url("fonts/AvenirNext-Medium.eot?#iefix") format("embedded-opentype"),
		url("fonts/AvenirNext-Medium.woff") format("woff"),
		url("fonts/AvenirNext-Medium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: "Avenir Next";
	src: url("fonts/AvenirNext-Bold.eot");
	src: url("fonts/AvenirNext-Bold.eot?#iefix") format("embedded-opentype"),
		url("fonts/AvenirNext-Bold.woff") format("woff"),
		url("fonts/AvenirNext-Bold.ttf") format("truetype");
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: "Avenir Next";
	src: url("fonts/AvenirNext-BoldItalic.eot");
	src: url("fonts/AvenirNext-BoldItalic.eot?#iefix")
			format("embedded-opentype"),
		url("fonts/AvenirNext-BoldItalic.woff") format("woff"),
		url("fonts/AvenirNext-BoldItalic.ttf") format("truetype");
	font-weight: bold;
	font-style: italic;
}
@font-face {
	font-family: "Avenir Next";
	src: url("fonts/AvenirNext-Regular.eot");
	src: url("fonts/AvenirNext-Regular.eot?#iefix") format("embedded-opentype"),
		url("fonts/AvenirNext-Regular.woff") format("woff"),
		url("fonts/AvenirNext-Regular.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Avenir Next";
	src: url("fonts/AvenirNext-Italic.eot");
	src: url("fonts/AvenirNext-Italic.eot?#iefix") format("embedded-opentype"),
		url("fonts/AvenirNext-Italic.woff") format("woff"),
		url("fonts/AvenirNext-Italic.ttf") format("truetype");
	font-weight: normal;
	font-style: italic;
}

@import url("https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,500,500i,700,700i,900,900i");

/* ==========================================================================
   Elements
   ========================================================================== */

html,
body {
	height: 100%;
}
html {
	overflow-x: hidden;
	overflow-y: auto;
	background: #fff;
}
body {
	padding: 0px;
	font-family: "Avenir Next", "Lato", Arial, Helvetica, sans-serif;
	color: #7f8083;
	-webkit-font-smoothing: antialiased;
	background: none;
}

h1,
h2,
h3,
h4,
h5 {
	margin: 0 0 1em;
	padding: 0;
	color: #fff;
	font-family: "Avenir Next", "Lato", Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-transform: capitalize;
}
h4,
h5 {
	margin: 0 0 10px;
	padding: 0;
	color: #fff;
	font-family: "Avenir Next", "Lato", Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-transform: capitalize;
}
h1 {
	font-size: 32px;
}
h2 {
	font-size: 26px;
}
h3 {
	font-size: 22px;
}
h4 {
	font-size: 16px;
}
h5 {
	font-size: 10px;
}

hr {
	width: 100%;
	height: 1px;
	padding: 0;
	margin: 0px;
	border-top: #7f8083 1px solid;
	border-bottom: none;
	border-left: none;
	border-right: none;
}

p {
	margin: 0 0 1.6em;
	font-size: 1.2em;
	line-height: 1.4;
	font-weight: normal;
}
span {
	color: #04111d;
}
span.required,
.error {
	color: #e5090d;
}
small {
	font-size: 0.9em;
}
address {
	font-size: 1em;
}
blockquote p {
	font-size: inherit;
	font-style: italic;
	line-height: 1.8;
}
i {
	color: inherit;
}
.fab,
.fas {
	font-size: inherit;
}

form {
	width: 100%;
	height: auto;
	position: relative;
	margin: 0;
	padding: 10px;
	display: block;
	overflow: hidden;
}
label {
	margin: 0.5em auto;
	padding: 0;
	font-size: 1em;
	display: block;
	text-align: left;
	clear: both;
}
input[type="text"],
input[type="url"],
input[type="date"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="tel"],
textarea {
	width: 100%;
	padding: 6px;
	margin: 0px auto 12px;
	color: #ccc;
	font-size: 1em;
	background: #fff;
	border: #f8f8f8 1px solid;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-family: "Avenir Next", "Lato", Arial, Helvetica, sans-serif !important;
}
input[type="checkbox"] {
	margin: 0;
}
input[type="file"] {
	margin: 0;
	width: 100%;
	padding: 4px 4px 6px;
	font-size: 1em;
	color: #2a2a2a;
}
select {
	width: 100%;
	padding: 4px 12px;
	margin: 0px auto 12px;
	color: #ccc;
	font-size: 1em;
	height: 32px;
	font-family: "Avenir Next", "Lato", Arial, Helvetica, sans-serif !important;
	-webkit-appearance: none;
	appearance: none;
	background: #fff;
	border: #f8f8f8 1px solid;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}
textarea {
	width: 100%;
	min-height: 120px;
	max-height: 120px;
	padding: 6px;
	margin: 0px auto 10px;
	font-size: 1em;
	background: #fff;
	border: #f8f8f8 1px solid;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	font-family: "Avenir Next", "Lato", Arial, Helvetica, sans-serif !important;
}

label > span {
	font-size: inherit;
	color: #ccc;
}
.form-control {
	padding: 6px;
}

input[type="submit"],
button {
	width: 100%;
	font-size: 1.1em;
	font-weight: 500;
	padding: 14px 12px;
	text-decoration: none;
	display: block;
	color: #fff !important;
	text-align: center;
	background-color: rgb(76, 174, 50);
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	border: #fff 0px solid;
}
input[type="submit"]:hover,
button:hover {
	color: #ccc !important;
	text-decoration: none;
	background: #555;
}
.btn {
	width: 100%;
	font-size: 1.1em;
	font-weight: 500;
	padding: 14px 12px;
	text-decoration: none;
	display: block;
	color: #fff !important;
	text-align: center;
	background-color: rgb(76, 174, 50);
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	border: #fff 0px solid;
}
.btn:hover {
	color: #ccc !important;
	text-decoration: none;
	background: #555;
}

.nostyle {
	font-size: inherit !important;
	padding: 20px !important;
	color: inherit !important;
	background: none !important;
	border: none !important;
}
.nostyle:hover {
	box-sizing: border-box !important;
	background-color: rgb(255, 255, 255) !important;
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15) !important;
}

.alignleft {
	float: left;
	margin: 0 20px 20px 0;
	border: none;
}
.alignright {
	float: right;
	margin: 0 20px 0 20px;
	border: none;
}
.aligncenter {
	float: none;
	margin: 20px auto;
	display: block;
	border: none;
}

.padded {
	padding: 6px 12px;
}
.no-padding {
	padding: 0px !important;
}
.no-padding-right {
	padding: 0px 0px 0px 15px;
}
.no-margin {
	margin: 0px;
}
.no-bullets {
	list-style: none;
}

.gap-ext2 {
	display: block;
	position: relative;
	margin: 60px 0;
	clear: both;
	overflow: hidden;
}
.gap-ext {
	display: block;
	position: relative;
	margin: 30px 0;
	clear: both;
	overflow: hidden;
}
.gap {
	display: block;
	position: relative;
	margin: 15px 0;
	clear: both;
	overflow: hidden;
}
.gap-mini {
	display: block;
	position: relative;
	margin: 8px 0;
	clear: both;
	overflow: hidden;
}
.gap-very-mini {
	display: block;
	position: relative;
	margin: 4px 0;
	clear: both;
	overflow: hidden;
}

/* ==========================================================================
   Structure
   ========================================================================== */

#wrap {
	min-height: 100%;
	height: auto;
	margin: 0 auto -337px;
	padding: 0 0 337px;
	overflow: hidden;
}

header {
	position: relative;
	z-index: 25;
	background: url("img/header-nav-bg.png") top left repeat;
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
}
header .logo {
	max-width: 320px;
	margin: 10px 0px;
}

body.home section#hero {
	background: #000;
}
section#hero {
	background-size: cover;
}
section#hero .padded {
	padding: 140px 0px 120px;
}
section#hero .padded.other h1 {
	font-weight: normal;
}
section#hero .padded h1 {
	text-shadow: 1px 1px 2px rgba(150, 150, 150, 1);
}
section#pre-footer {
	padding: 30px 0px;
	background: #4cae32;
	background: -moz-linear-gradient(top, #29940c 0%, #4cae32 100%);
	background: -webkit-linear-gradient(top, #29940c 0%, #4cae32 100%);
	background: linear-gradient(to bottom, #29940c 0%, #4cae32 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#29940c', endColorstr='#4cae32',GradientType=0 );
}
section#heros .padded {
	width: 100%;
	padding: 260px 0px;
	position: absolute;
	z-index: 10;
}

footer {
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 12px 0px;
	position: relative;
	background: #fff;
}
footer p {
	margin: 0px auto;
	font-size: 0.9em;
	color: #7f8083;
	text-transform: capitalize;
}
footer a:active,
footer a:visited,
footer a:link {
	font-weight: bold;
	color: #7f8083;
	text-decoration: none;
}
footer a:hover {
	color: #555;
}

ul.sub-menu {
	padding: 0.25em 0.5em;
	list-style: none;
}
ul.sub-menu > li,
ul.sub-menu > li > a {
	color: #fff;
}

/* ==========================================================================
   Links and Navigation
   ========================================================================== */

header.affix {
	width: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 50;
}
header.affix .logo {
	max-width: 160px;
}
header.affix #primary {
	margin: 17px auto;
}
header.affix #primary > li > a {
	font-size: 0.8em;
}
header.affix #primary > li:not(:last-child):after {
	top: 3px;
}
header.affix + .affixSpacer {
	min-height: 122px;
}

a {
	font-weight: bold;
	text-decoration: none;
	-moz-transition: color 0.1s linear 0.1s;
	-webkit-transition: color 0.1s linear 0.1s;
	-o-transition: color 0.1s linear 0.1s;
	transition: color 0.1s linear 0.1s;
}
a:hover {
	text-decoration: underline;
}
a:active,
a:visited,
a:link {
	color: #7f8083;
}
a:hover {
	color: #555;
}
a[href^="tel"] {
	color: #7f8083;
	text-decoration: none;
}
a[href^="tel"]:hover {
	color: #7f8083;
	text-decoration: underline;
}

a.no-style:hover {
	text-decoration: none;
}

.navbar-collapse {
	padding: 0 !important;
}
.navbar-toggle {
	float: right;
	width: 42px !important;
	position: relative;
	padding: 5px 10px 10px;
	margin: 20px 0px !important;
	background: rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
	-moz-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
	text-shadow: none;
	border: 0px solid #9c9c9c;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background: none;
}
.navbar-toggle:hover {
	border: 0px solid #fff !important;
	background: none;
}
.navbar-toggle span {
	color: #fff !important;
}
.navbar-toggle span.icon-bar {
	width: 100%;
	background: #fff !important;
}
.navbar-toggle:hover span {
	color: #fff !important;
}
.navbar-toggle:hover span.icon-bar {
	background: #fff !important;
}
.navbar-toggle .icon-bar {
	height: 1px;
	margin-top: 4px;
}

#primary {
	float: none;
	width: 100%;
	height: auto;
	margin: 43px auto;
	padding: 0px;
	position: relative;
	list-style: none;
	text-align: right;
}
#primary > li {
	float: none;
	width: auto;
	height: auto;
	margin: 0px auto;
	padding: 0px;
	display: inline-block;
	position: relative;
	top: 1px;
	vertical-align: text-top;
}
#primary > li:last-child {
	margin: 0px 0px 0px 20px;
	border-style: solid;
	border-width: 1px;
	border-color: rgb(73, 184, 72);
	border-radius: 3px;
	background-color: rgb(76, 174, 50);
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
#primary > li:last-child > a {
	color: #fff;
}
#primary > li:last-child:hover {
	border-color: #202020;
	background-color: #555;
}
#primary > li.social > a {
	padding: 0px;
}
#primary > li > a {
	margin: 0px;
	padding: 4px 16px;
	color: #c8c8c8;
	font-size: 0.9em;
	font-weight: bold;
	line-height: 2;
	text-align: left;
	text-transform: uppercase;
	text-decoration: none;
}
#primary > li > a:hover {
	color: #fff;
	background: none;
}
#primary > li.active > a {
	color: #fff;
}
#primary > li:not(:last-child):after {
	content: "\00BB";
	position: absolute;
	top: 6px;
	margin-left: -3px;
	color: #fff;
}

.dropdown-menu {
	margin: 0px auto 0 !important;
	padding: 0 !important;
}
.dropdown-menu > li {
	width: 100% !important;
	font-size: 0.9em !important;
	background: #262626 !important;
	border: none !important;
}
.dropdown-menu > li:hover {
	background: #262626 !important;
}
.dropdown-menu > li > a {
	padding: 6px 14px !important;
	margin: 0;
	line-height: 2 !important;
	text-align: left !important;
	color: #ccc !important;
	font-size: inherit !important;
	font-weight: bold !important;
	border-bottom: #181818 1px solid !important;
	border-top: #2d2d2d 1px solid !important;
}
.dropdown-menu > li.active > a {
	color: #fff !important;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
	color: #fff !important;
	background: #262626 !important;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
	background: none !important;
}

.nav > li > a:focus,
.nav > li > a:hover {
	background-color: transparent;
}
.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
	background-color: transparent;
}

/* ==========================================================================
   Misc
   ========================================================================== */

.section {
	padding: 50px 0px;
}
.section-mini {
	padding: 50px 0px;
}

section#content ul,
section#content ol {
	width: 96%;
	height: auto;
	margin: 0 auto 20px;
	padding: 0px 0px 0px 20px;
}
section#content ol {
	padding: 0;
	list-style: none;
}
section#content ul li,
section#content ol li {
	margin-bottom: 4px;
	font-size: 1.1em;
}
section#content ul li ol,
section#content ol li ol {
	list-style: none;
}
section#content ul li ol li,
section#content ol li ol li {
	margin-bottom: 6px;
	font-size: inherit;
}
.no-style {
	padding: 0px;
	list-style: none;
}

span.wpcf7-list-item label span {
	color: #202020;
}

.sidebar {
	border-left: #fff 1px solid;
	padding-left: 22px;
}
.social {
	margin: 0px auto;
	text-align: left;
}
.social > li > a > .fab,
.social > li > a > .fas {
	color: #fff;
	font-size: 1.2em;
}
.social > li:hover,
.social > li:hover > a > .fa:hover {
	color: #ccc;
}

ul.sitemap {
	width: 100% !important;
	padding: 0px !important;
	margin: 0px auto !important;
	list-style: none;
}
ul.sitemap > li > a {
	font-size: 0.9em;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
}
ul.sitemap > li > a:hover {
	color: #ccc;
}

.details {
	margin: 0px auto;
	border: none;
}
.details > tbody > tr > td,
.details > tbody > tr > th,
.details > tfoot > tr > td,
.details > tfoot > tr > th,
.details > thead > tr > td,
.details > thead > tr > th {
	color: #fff;
	border: none;
}
.details a {
	text-decoration: none;
	color: #fff;
	font-weight: normal;
}
.details a:hover {
	color: #ccc;
}

section#content h1,
section#content h2,
section#content h3,
section#content h4,
section#content h5 {
	color: #4cae32;
	font-weight: 500;
}

.border {
	border: #49b848 1px solid;
}
.shadow {
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}
#mapCanvas {
	min-height: 320px;
}

.news-img {
	max-width: 180px;
}

section#cta {
	padding: 90px 0px;
}
section#cta h3 {
	margin: 0px auto;
	color: #202020;
}
section#cta h4 {
	margin: 0px auto;
	color: #202020;
	font-size: 16.5px;
}
.image-window {
	background: url("img/cta-area-bg.jpg");
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.box {
	margin: 10px;
	overflow: hidden;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.5);
}
.box .title {
	padding: 100px 0px;
	text-align: center;
}
.box .title h3 {
	margin: 0px;
	color: #fff !important;
	text-shadow: 1px 1px 2px rgba(150, 150, 150, 1);
}
.box .inner {
	min-height: 100px;
	padding: 28px 22px;
	box-sizing: content-box;
	background: #efefef;
}
.box .inner p {
	margin: 0px auto;
	text-align: center;
	font-size: 1.2em;
	color: #000000;
}
.box .btn-full {
	padding: 12px 8px;
	text-align: center;
	color: #fff;
	font-size: 1.1em;
	background: #43a42c;
}
.box:hover {
	opacity: 0.9;
}

.recco-box {
	margin: 10px;
	overflow: hidden;
}
.recco-box .title {
	padding: 0px;
	text-align: center;
}
.recco-box .title h3 {
	margin: 0px;
	color: #fff !important;
}
.recco-box .inner {
	min-height: 100px;
	padding: 28px 22px;
	box-sizing: content-box;
	background: #efefef;
}
.recco-box .inner p {
	margin: 0px auto;
	text-align: center;
	font-size: 1em;
	color: #000000;
}
.recco-box .btn-full {
	padding: 12px 8px;
	text-align: center;
	color: #fff;
	font-size: 1.1em;
	background: #43a42c;
}
.recco-box:hover {
	opacity: 0.9;
}

.no-style {
	text-decoration: none;
	font-weight: normal;
}
.prefooter-logo {
	max-width: 180px;
}

.empty-box {
	padding: 18px;
	box-sizing: content-box;
}
.empty-box:hover {
	background: #f8f8f8;
}

.multi-cols {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 40px;
	-moz-column-gap: 40px;
	column-gap: 40px;
}
article.fact .fab,
article.fact .fas {
	font-size: 42px;
	color: #202020;
}
article.fact:hover .fab,
article.fact:hover .fas {
	opacity: 0.8;
}

.grey-bg {
	background: #efefef;
}
.grey-box-side {
	padding: 50px;
	box-sizing: content-box;
	background: #efefef;
}
.grey-box-side ul:last-child {
	margin: 0px auto !important;
}

/* ==========================================================================
   Contact Form 7
   ========================================================================== */

div.wpcf7 {
	margin: 0;
	padding: 0;
}
div.wpcf7-response-output {
	margin: 0px auto 10px;
	padding: 0.2em 1em;
	font-size: 1em;
	color: #04111d;
	background: #fff;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font-family: "Avenir Next", "Lato", Arial, Helvetica, sans-serif !important;
}
div.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}
div.wpcf7-mail-sent-ok {
	border: 1px solid #398f14;
}
div.wpcf7-mail-sent-ng {
	border: 1px solid #ff0000;
}
div.wpcf7-spam-blocked {
	border: 1px solid #ffa500;
}
div.wpcf7-validation-errors {
	border: 1px solid #f7e700;
}
div.wpcf7 img.ajax-loader {
	border: none;
	vertical-align: middle;
	margin-left: 4px;
}
div.wpcf7 div.ajax-error {
	display: none;
}
div.wpcf7 .placeheld {
	color: #888;
}

span.wpcf7-form-control-wrap {
	position: relative;
}
span.wpcf7-not-valid-tip {
	margin: 0 0 8px;
	color: #f00;
	font-size: 0.9em;
	font-style: italic;
	display: block;
}
span.wpcf7-list-item {
	margin-left: 0.5em;
	font-size: inherit;
	margin-right: 2em;
}
span.wpcf7-list-item input {
	margin-right: 1em;
}

.use-floating-validation-tip span.wpcf7-not-valid-tip {
	position: absolute;
	top: 20%;
	left: 20%;
	z-index: 100;
	border: 1px solid #ff0000;
	background: #fff;
	padding: 0.2em 0.8em;
}
.wpcf7-display-none {
	display: none;
}
#wpcf7-f131-p2-o1 div.wpcf7-response-output {
	color: #04111d;
}

div.wpcf7 input[type="submit"] {
	padding: 6px 12px !important;
}

/* ==========================================================================
   WP Page Navi
   ========================================================================== */

.wp-pagenavi {
	width: 100%;
	height: auto;
	margin: 20px auto;
	text-align: center;
	clear: both;
}
.wp-pagenavi a,
.wp-pagenavi span {
	font-size: 1em;
	text-decoration: none;
	border: 1px solid #fff;
	padding: 3px 5px;
	margin: 2px;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	border-color: #fff;
}
.wp-pagenavi span.current {
	color: #2a2a2a;
	font-weight: bold;
}

/* ==========================================================================
   Media Queries: iPhone
   ========================================================================== */

/* iPhone 2G-4S in landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) {
}

/* iPhone 2G-4S in portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) {
}

/* iPhone 5 in landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: landscape) {
}

/* iPhone 5 in portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: portrait) {
}

/* ==========================================================================
   Media Queries: iPad
   ========================================================================== */

/* iPad [landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
	header .logo {
		max-width: 200px !important;
	}
	#primary {
		margin: 24px auto !important;
	}
	#primary > li > a {
		padding: 4px 12px !important;
		font-size: 0.8em !important;
	}
	header.affix .logo {
		max-width: 120px !important;
	}
	header.affix #primary {
		margin: 17px auto !important;
	}
	header.affix #primary > li > a {
		font-size: 0.8em !important;
	}
}

/* iPad [portrait] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
	header .logo {
		max-width: 260px !important;
		position: relative !important;
	}
	#primary {
		width: 100% !important;
		display: inline-block !important;
	}
	#primary > li {
		width: auto !important;
		display: inline-block !important;
	}
	#primary > li > a {
		padding: 4px 12px !important;
		font-size: 0.8em !important;
	}
	header.affix .logo {
		max-width: 120px !important;
	}
	header.affix #primary {
		margin: 17px auto !important;
	}
	header.affix #primary > li > a {
		font-size: 0.8em !important;
	}

	section#heros {
		background: none !important;
	}
	section#heros .padded {
		padding: 80px 0px !important;
		position: absolute !important;
	}
	.box .inner {
		min-height: 190px !important;
	}
	.box .btn-full {
		display: none !important;
	}
	.icon {
		max-width: 140px !important;
	}
}

/* iPad 3/4 [landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
	header .logo {
		max-width: 200px !important;
	}
	#primary {
		margin: 24px auto !important;
	}
	#primary > li > a {
		padding: 4px 12px !important;
		font-size: 0.8em !important;
	}
	header.affix .logo {
		max-width: 120px !important;
	}
	header.affix #primary {
		margin: 17px auto !important;
	}
	header.affix #primary > li > a {
		font-size: 0.8em !important;
	}
}

/* iPad 3/4 [portrait] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
	header .logo {
		max-width: 260px !important;
		position: relative !important;
	}
	#primary {
		width: 100% !important;
		display: inline-block !important;
	}
	#primary > li {
		width: auto !important;
		display: inline-block !important;
	}
	#primary > li > a {
		padding: 4px 12px !important;
		font-size: 0.8em !important;
	}
	header.affix .logo {
		max-width: 120px !important;
	}
	header.affix #primary {
		margin: 17px auto !important;
	}
	header.affix #primary > li > a {
		font-size: 0.8em !important;
	}

	section#heros {
		background: none !important;
	}
	section#heros .padded {
		padding: 80px 0px !important;
		position: absolute !important;
	}
	.box .inner {
		min-height: 190px !important;
	}
	.box .btn-full {
		display: none !important;
	}
	.icon {
		max-width: 140px !important;
	}
}

/* ==========================================================================
   Bootstrap Queries
   ========================================================================== */

@media (min-width: 320px) and (max-width: 768px) {
	header .logo {
		width: 180px;
		position: absolute;
	}
	#primary {
		margin: 20px auto;
	}
	#primary,
	#primary li {
		width: 100%;
		display: block;
	}
	#primary > li:not(:last-child):after {
		content: " ";
	}
	#primary > li > a {
		padding: 4px 0px;
	}
	#primary > li:last-child > a {
		padding: 4px 12px;
	}
	#primary > li:last-child {
		margin: 0px;
	}
	section#hero .padded {
		padding: 120px 0px;
	}
	footer p.copy,
	footer p.credit {
		text-align: center;
		font-size: 0.8em;
	}
	.sidebar {
		border: none;
	}
	.multi-cols {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
		-webkit-column-gap: 0px;
		-moz-column-gap: 0px;
		column-gap: 0px;
	}

	section#heros {
		background: url("img/hero.jpg") top center no-repeat;
		background-size: cover;
	}
	section#heros .padded {
		width: 100%;
		padding: 80px 0px;
		position: relative;
		z-index: 10;
	}
	.sidebar {
		padding: 0px 15px;
		border: none;
	}
	.icon {
		max-width: 80px;
	}
}

@media (min-width: 769px) and (max-width: 992px) {
	header .logo {
		max-width: 220px;
	}
	#primary {
		margin: 12px auto;
	}
	#primary > li > a {
		padding: 4px 20px;
		font-size: 0.8em;
	}
	header.affix #primary > li > a {
		font-size: 0.7em;
		padding: 4px 12px;
	}
	header.affix #primary > li:last-child {
		display: none;
	}
	footer p.copy {
		text-align: left;
	}
	footer p.credit {
		text-align: right;
	}
	section#heros .padded {
		padding: 100px 0px;
	}
	.box .inner {
		min-height: 160px;
	}
	section#hero .padded {
		padding: 100px 0px 60px;
	}
}

@media (min-width: 993px) and (max-width: 1200px) {
	#primary {
		margin: 38px auto;
	}
	#primary > li > a {
		padding: 4px 10px;
		font-size: 0.8em;
	}
	#primary > li:not(:last-child):after {
		top: 3px;
	}
	footer p.copy {
		text-align: left;
	}
	footer p.credit {
		text-align: right;
	}
	.box .inner p {
		font-size: 1em;
	}
	section#heros .padded {
		padding: 124px 0px;
	}
	section#hero .padded {
		padding: 100px 0px 60px;
	}
}

@media (min-width: 1201px) {
	footer p.copy {
		text-align: left;
	}
	footer p.credit {
		text-align: right;
	}
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	a,
	a:visited {
		text-decoration: underline;
	}
	a[href]:after {
		content: " (" attr(href) ")";
	}
	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
     * Don't show links for images, or javascript/internal links
     */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}
	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	thead {
		display: table-header-group;
	}
	tr,
	img {
		page-break-inside: avoid;
	}
	img {
		max-width: 100% !important;
	}
	@page {
		margin: 0.5cm;
	}
	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}
	h2,
	h3 {
		page-break-after: avoid;
	}
}
