/*
Theme Name: Quest Surveyors
Theme URI: http://underscores.me/
Author: Good Design Works
Author URI: http://gooddesignworks.co.uk
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:

This theme, like WordPress, is licensed under the GPL.

GDW template is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/



/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #000;
	font-family: 'Catamaran', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.site {
    background-color: #fff;
    max-width: 1300px;
    margin: 2em auto;
    padding: 0 2em 4em;
}

.home .site {
    margin: 2em auto 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: normal;
}

h1 {
    color:#42005c;
    font-size: 2.4em;
    margin: 0.67em 0;
	text-transform:uppercase;
	letter-spacing:0.1em;
}
h2 {
	font-size: 1.6em;
	margin: 0.67em 0;
	text-transform:uppercase;
	letter-spacing:0.1em;
}

h2.header {
	text-align: center;
	padding-top: 1em;
}

h3 {
    font-size: 2em;
    margin: 0 0 0.2em;
    font-weight: bold;
    text-align: left;
    color: #42005c;
}

h4 {
    font-size: 1.1em;
    margin: 0.67em 0 0.2em;
}

h5 {
	font-size: 1em;
	margin: 0.67em 0;
}

h6 {
	font-size: 1em;
	margin: 0.67em 0;
	text-transform:uppercase;
	letter-spacing: 0.1em;
}

.heading {
    font-size: 2em;
    line-height: 1.3;
    margin: 0.67em 0;
}

p {
	margin-bottom: 1.5em;
}

.site-title {
	text-transform:uppercase;
	letter-spacing:2px;
	margin: 10px 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color:#6b6d76;
	text-decoration:none;
}

a:visited {
	color:#6b6d76;
}

a:hover,
a:focus,
a:active {
	color: #6d2b87;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
	font-size: 1.1em;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	text-align: left;
}

td,
th {
	padding: 0.6em 0;
	vertical-align: bottom;
}

th {
    vertical-align: top;
    width: 175px;
}

.wpsl-location-address p {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background-color:#eee;
}

.site-header {
    padding: 1em 2em;
}

.site-content {
}

.home .content-area {
    padding: 2em 3em;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
    background-color: #ddd;
    border: 0 none;
    height: 2px;
    margin-bottom: 1.5em;
    opacity: 1;
}

ul, ol {
    margin: 0 0 1.5em;
    padding: 0 0 0 1em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

.site-footer {
    background-color: #42005c;
    color: #fff;
    padding: 3em 3em 0;
    margin: 0 auto 2em;
    max-width: 1300px;
    text-align: center;
}

.site-info {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.site-info a, .site-footer a {
	color:#fff;
	opacity: 1;
	transition: 0.5s ease-in-out;
}

.site-info a:hover, .site-footer a:hover {
	opacity: 0.5;
}
.address {
	font-size:0.9em;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button, input[type="button"], input[type="reset"], input[type="submit"] {
    background: #42005c none repeat scroll 0 0;
	border:none;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    line-height: 1;
    padding: 1.5em 2em;
    text-shadow: none;
	transition: 0.5s ease-in-out;
	margin: 1em 0;
}

button.light {
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #42005c;
    font-size: 1em;
    line-height: 1;
    padding: 0.7em 2em;
    text-shadow: none;
    transition: 0.5s ease-in-out;
    margin: 0;
    opacity: 1;
    border-radius: 1em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border:none;
	opacity:0.5;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    background: transparent none repeat scroll 0 0;
    border: 1px solid transparent;
    box-shadow: none;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea {
    background: #eee none repeat scroll 0 0;
    border: medium none;
    border-radius: 0;
    color: #000;
    margin: 0.5em 0;
    padding: 1em;
    width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {

}

form.wpcf7-form p {
	margin:0;
}

textarea {
	width: 100%;
}

.c-hamburger {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 60px;
  height: 60px;
  font-size: 0;
  text-indent: -9999px;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  float:right;
}

.c-hamburger:focus {
  outline: none;
}

.c-hamburger span {
  display: block;
  position: absolute;
  top: 28px;
  left: 12px;
  right: 12px;
  height: 6px;
  background:#6d2b87;
}

.c-hamburger span::before,
.c-hamburger span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 6px;
  background-color:#6d2b87;
  content: "";
}

.c-hamburger span::before {
  top: -15px;
}

.c-hamburger span::after {
  bottom: -15px;
}

.c-hamburger--htx {
  background-color: transparent;
}

.c-hamburger--htx span {
  transition: background 0s 0.3s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
  transition-property: top, transform;
}

.c-hamburger--htx span::after {
  transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.c-hamburger--htx.is-active {
  background-color: transparent;
}

.c-hamburger--htx.is-active span {
  background: none;
}

.c-hamburger--htx.is-active span::before {
  top: 0;
  transform: rotate(45deg);
    -ms-transform: rotate(45deg);
-webkit-transform:rotate(45deg);
}

.c-hamburger--htx.is-active span::after {
  bottom: 0;
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
-webkit-transform:rotate(-45deg);
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
  transition-delay: 0s, 0.3s;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.site-branding {
    float: left;
    margin: 0;
    max-width: 340px;
    padding: 0;
}

.main-navigation {
    clear: none;
    display: table;
    margin: 0 auto;
    padding: 1.5em 0;
    display: table;
    width: calc(100% - 350px);;
    float: right;
    text-align: right;
}

.main-navigation ul {
	display: block;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
    font-size: 1.1em;
    position: relative;
    font-weight: 500;
    display: inline-block;
    margin: 0 2%;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    color: #000;
    padding: 0 0 0.6em;
}

.main-navigation a:hover {
	color:#74328E;
}


.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
    border-bottom: 4px solid #74328E;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: none;
}


.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Archive Pages
--------------------------------------------------------------*/

ul.category-grid li img {
	opacity:1;
	transition:0.5s ease-in-out;	
}

ul.category-grid li img:hover {
	opacity:0.7;
}

ul.category-parent, ul.category-parent ul  {
	display:table;
	padding:0;
	margin:0;
	width:100%;
}

li.categories {
	display:block;
	padding:0;
	margin:0;
}

li.categories ul li {
	display:table;
	padding:0;
	margin:1%;
	width: 23%;
	float: left;
}

li.categories ul li a {
	display:table-cell;
	vertical-align: middle;
	text-align: center;
	background-color: #414141;
	height:230px;
	color:#fff !important;
	transition: 0.5s ease-in-out;
}

li.categories ul li a:hover {
	background-color:#6b6d76;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-
:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.widget-area {
display:none;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.modal-content {
	margin-top: 250px;
}

ul.grid {
	display:table;
	width:100%;
	padding:0;
	margin:0;
	text-align: center;
}

li.grid-2 {
    display: inline-block;
    width: 45%;
    margin: 1% 2% 0;
    vertical-align: top;
}

li.grid-2 img {
	height:125px;
	width:100%;
	object-fit: cover;
}


li.grid-3 {
    display: inline-block;
    width: 29.33%;
    vertical-align: top;
    margin: 1%;
	transition: 0.5s ease-in-out;
}

li.grid-3:hover {
	opacity: 0.6;
}

li.grid-3 p {
	font-size: 1.1em;
	font-weight: bold;
}

li.grid-4 {
    display: inline-block;
    width: 22.33%;
    vertical-align: top;
    margin: 1%;
}

li.grid-5 {
    display: inline-block;
    width: 17.33%;
    vertical-align: top;
    margin: 1%;
    transition: 0.5s ease-in-out;
}

li.grid-5:hover {
	opacity: 0.6;
}

li.grid-5 p {
	font-size: 1.1em;
	font-weight: bold;
}

li.grid-services {
    display: inline-block;
    width: 190px;
    vertical-align: top;
    margin: 1%;
    transition: 0.5s ease-in-out;
}

li.grid-services:hover {
	opacity: 0.6;
}

li.grid-services p {
	font-size: 1.1em;
	font-weight: bold;
}

li.grid-logo {
    display: inline-block;
    vertical-align: middle;
    margin: 2% 1%;
    transition: 0.5s ease-in-out;
    width: 7.7%;
}

li.grid-logo img {
    max-height: 80px;
}

.home-img {
    background-position: center center;
    background-size: cover;
    display: table;
    padding: 5em;
    width: 100%;
    height: 500px;
}

.page-img {
    background-position: center center;
    background-size: cover;
    display: table;
    padding: 5em;
    width: 100%;
    height: 300px;
	position: relative;
}

.landing-text {
    max-width: 650px;
    color: #fff;
    float: none;
    font-size: 1.2em;
    margin: 0 auto;
    text-align: center;
    background: rgba(41,3,56,0.7);
    padding: 1em 1em 2em;
}

.landing-text a {
	color:#fff;
	transition:0.5s ease-in-out;
}

.page-id-8 .landing-text a {
    color: #fff;
    transition: 0.5s ease-in-out;
    font-size: 0.9em;
    display: inline-block;
    padding: 0.3em 0;
}

.landing-text a:hover {
	opacity:0.5;
}
.landing-text h4 {
	display:inline;
}

.container-sml {
	text-align:center;
	max-width:700px;
	margin:0 auto;
}
.gap {
	display:inline-block;
	width:50px;
}

.contact {
    padding: 1em 0;
    text-align: center;
}

.contact-header {
    padding: 1em 0;
    text-align: right;
}


.contact .fa {
    padding: 1em;
    color: #42005c !important;
    display: block !important;
}

footer .fa {
    padding: 1em;
    display: block !important;
}


.fade {
	opacity: 0.4;
}

.grey-box {
    background: #dadada none repeat scroll 0 0;
    border-radius: 1em;
    display: table;
    margin: 2em 0;
    padding: 2em;
    width: 100%;
}

.page-top {
	display:table;
	width:100%;
}

.notice {
    background: #5c1a76 none repeat scroll 0 0;
    border-radius: 2em;
    color: #fff;
    font-size: 1.3em;
    margin-top: 1em;
    padding: 1.4em 2em;
    text-align: center;
}

.notice a {
	color:#fff;
	opacity:0.7;
	transition:0.5s ease-in-out;
}

.notice a:hover {
	color:#fff;
	opacity:1;
}

#wpcf7-f120-p73-o1 textarea {
    height: 120px;
}

img.file {
	margin:0 auto;
	display:block;
}

.container {
	max-width:1300px;
	margin:0 auto;
}

.pad-1 {
	padding:1em;
}

.pad-2 {
	padding:2em;
}

.pad-3 {
	padding:3em 2em;
}

.pad-4 {
	padding:4em 2em;
}

.pad-5 {
	padding:5em 2em;
}

.service-img {
    background-size: cover;
    background-position: center;
    height: 190px;
}

.service-box {
    padding: 0 2em;
}

.hvr-box-shadow-outset:hover, .hvr-box-shadow-outset:focus, .hvr-box-shadow-outset:active {
    box-shadow: none !important;
}

.thumbnail {
    border: 0 none !important;
}

.item-desc {
    background-color: rgba(255,255,255,0.7) !important;
	color: #000 !important;
	font-size: 1em !important;
}

.simplefilter li {
    border: 4px solid;
    font-weight: 400;
    margin: 1%;
    transition: 0.5s ease-in-out;
    vertical-align: top;
    max-width: 275px;
}

.simplefilter li, .sortandshuffle li {
    border:0 none !important;
    border-radius: 1em;
}

ul.simplefilter {
	margin-top:2em;
}
.modal {
	opacity:1 !important;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
ul.gallery {
	padding:0;
	margin:0;
	display:table;
	width:100%;
	text-align:center;
}

ul.gallery li {
    display: block;
    float: left;
    margin: 0.5% 1%;
    width: 23%;
}

.pop-image {
	background-size:cover;
	height:230px;
	background-position:center center;
}


ul.category-grid {
	padding:0;
	margin:0;
	display:table;
	width:100%;
	text-align:center;
}

ul.category-grid li {
    display: block;
    float: left;
    margin: 0.5% 1%;
    width: 23%;
}

/*  SECTIONS  */
.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 3%;
}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  GRID OF TWELVE  */
.span_12_of_12 {
	width: 100%;
}

.span_11_of_12 {
  	width: 91.41%;
}
.span_10_of_12 {
  	width: 82.83%;
}

.span_9_of_12 {
  	width: 74.25%;
}

.span_8_of_12 {
  	width: 65.66%;
}

.span_7_of_12 {
  	width: 57.08%;
}

.span_6_of_12 {
  	width: 48.5%;
}

.span_5_of_12 {
  	width: 39.91%;
}

.span_4_of_12 {
  	width: 31.33%;
}

.span_3_of_12 {
  	width: 22.75%;
}

.span_2_of_12 {
  	width: 14.16%;
}

.span_1_of_12 {
  	width: 5.583%;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 670px) {
	.col {  margin: 1% 0 1% 0%; }
    
    .span_1_of_12, .span_2_of_12, .span_3_of_12, .span_4_of_12, .span_5_of_12, .span_6_of_12, .span_7_of_12, .span_8_of_12, .span_9_of_12, .span_10_of_12, .span_11_of_12, .span_12_of_12 {
	width: 100%; 
	}
}




/*--------------------------------------------------------------
## Responsiveness
--------------------------------------------------------------*/

@media (max-width:1300px) {
	.home .site {
    margin: 0em auto;
}}

@media (max-width:1200px) {
.site-footer {
    margin: 0 auto;
}}

@media (max-width:910px) {
	.site-header {
    padding: 1em 0em;
}}

@media (max-width:850px) {
li.grid-logo {
    width: 13.7%;
}
.service-box {
    padding: 1em 0;
}}

@media (max-width:820px) {
.simple-locator-form form {
    padding: 1em 2em 2em 1em;
}
.simple-locator-form {
    padding: 1em 1em 3em 0;
}
.single .wpsl-map, #locationmap {
    float: none !important;
    height: 250px !important;
    margin: 0 0 1em !important;
    width: 100% !important;
}
.single .wpsl-location-info {
    float: none !important;
    width: 100% !important;
}
.garage-info {
    float: none;
    margin-left: 2%;
    width: 100%;
}}

@media (max-width:800px) {
.main-navigation {
	float: none;
	max-width: 100%;
}
.custom-header {
	text-align:center;
}
.site-branding {
    float: left;
    margin: 0;
    max-width: 300px;
}}

@media (max-width:760px) {
	.simple-locator-form form {
    display: table;
    float: none;
    margin: 0 auto !important;
    max-width: 500px;
    padding: 1em;
    position: relative;
    width: 100%;
}
.simple-locator-form {
    padding: 1em;
}
.wpsl-map, #locationmap {
    float: none;
    height: 350px !important;
    margin: 0;
    width: 100%;
}
.wpsl-results {
    background: #ddd none repeat scroll 0 0;
    border-radius: 2em;
    clear: none;
    float: left;
    height: auto;
    margin: 1em 0;
    overflow: scroll;
    padding: 1em 2em;
    position: relative;
    width: 100%;
}
.site-content {
    padding: 0;
}
.site {
    margin: 2em auto;
    padding: 0 1em 2em;
}
.heading {
    font-size: 1.6em;
}}

@media (max-width:705px) {
.contact-header {
    padding: 1em 0;
    text-align: right;
    display: none;
}
.site-branding {
    max-width: 270px;
}
.main-navigation {
    clear: none;
    display: block;
    float: none;
    margin: 0 auto;
    max-width: 100%;
    padding: 0;
	width: 100%;
}
.main-navigation li {
    border-bottom: 1px solid #eee;
    float: left;
	padding: 1em 0 0;
    position: relative;
    text-align: center;
    width: 100%;
}
.menu-toggle {
	display: block;
}
.main-navigation ul {
	display: none;
}
.main-navigation.toggled ul {
    display: block;
}
.main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, .main-navigation .current-menu-ancestor > a {
    border-bottom: 0 none;
}
.site-footer {
    padding: 3em 1em 0;
}}

@media (max-width:675px) {
.home-img {
    background-position: center center;
    background-size: cover;
    display: table;
    padding: 2em;
    width: 100%;
    height: 350px;
}}

@media (max-width:620px) {
.page-img {
    padding: 0;
    height: 165px;
}
.landing-text {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
}
.home .landing-text {
    position: relative;	
}}
	
@media (max-width:580px) {
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 0 !important;
    padding-left: 0 !important;
}
.filtr-item {
    padding: 0 !important;
}
.item-desc {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    bottom: 0 !important;
    color: white;
    display: block;
    font-weight: 300;
    left: 0 !important;
    padding: 8px;
    position: relative !important;
    right: 0 !important;
}
.thumbnail {
    margin-bottom: 0 !important;
}}

@media (max-width:540px) {
li.grid-2 {
    width: 100%;
    margin: 0;
}
h3 {
    font-size: 1.4em;
}}

@media (max-width:490px) {
.contact {
    padding: 1em;
    text-align: center;
}
.pad-2 {
    padding: 0em;
}}

@media (max-width:470px) {
.site-header {
    padding: 2em 1em;
}}

@media (max-width:445px) {
.gap {
    display: block;
}
.site-branding {
    float: none;
	margin: 0 auto;
}
.c-hamburger {
    float: none;
	margin: 0 auto;
}
.site-header {
    padding: 1em 1em 0.5em;
}
.heading {
    font-size: 1.5em;
}
li.grid-services {
    display: inline-block;
    width: 45%;
}
.service-img {
    height: 130px;
}}