/* =Reset CSS (v2.0) http://meyerweb.com/eric/tools/css/reset/
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, main {
	margin:0;
	padding:0;
	border:0;
	font-size:100%;
	font:inherit;
	vertical-align:baseline;
}

/*HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
	display:block;
}

body {
	line-height:1;
}

ol, ul {
	list-style:none;
}

blockquote, q {
	quotes:none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content:'';
	content:none;
}

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

button, input, select, textarea {
	width:auto;
	overflow:visible;
	margin:0;
	font-size:100%;
	vertical-align:baseline;
}

textarea {
	overflow:auto;
	vertical-align:text-top;
}

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

/* =GENERAL
-------------------------------------------------------------- */
body {
	background-color: #fff;
	color: #484c4a;
	font-family: 'source_sans_proregular', Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	line-height: 1.5em;
}
body.post-type-archive-product,
body.tax-product-category,
body.single-product {
	background-color: #7CC6C0;
	color: #fff;
}

h1 {
	font-size: 3.3em;
}

h2 {
	font-size: 2.2em;
}

h3, h4, h5, h6 {
	font-size: 1.8em;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 1.5em;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}
h1:after,
h2:after,
h3:after,
h4:after,
h5:after,
h6:after {
	content: " ";
	display: block;
	width: 100px;
	height: 0;
	margin-top: 10px;
	border-bottom: 3px solid #484c4a;
}
body.post-type-archive-product h1:after,
body.post-type-archive-product h2:after,
body.post-type-archive-product h3:after,
body.post-type-archive-product h4:after,
body.post-type-archive-product h5:after,
body.post-type-archive-product h6:after,
body.tax-product-category h1:after,
body.tax-product-category h2:after,
body.tax-product-category h3:after,
body.tax-product-category h4:after,
body.tax-product-category h5:after,
body.tax-product-category h6:after,
body.single-product h1:after,
body.single-product h2:after,
body.single-product h3:after,
body.single-product h4:after,
body.single-product h5:after,
body.single-product h6:after {
	border-bottom: 3px solid #fff;
}

hr {
	clear: both;
	display: block;
	position: relative;
	height: 0;
	border: none;
	padding: 20px 0;
	margin: 0;
}
hr:after {
	content: " ";
	display: block;
	height: 0;
	width: 100px;
	position: absolute;
	bottom: 18px;
	left: 0;
	border-bottom: 3px solid #484c4a;
}

a {
	text-decoration: none;
}

.read-more {
	font-size: 1.4em;
	line-height: 1.8em;
	text-transform: uppercase;
}
.read-more a {
	display: inline-block;
	padding: 0 30px 0 5px;
	background: #484c4a url('../images/icon-plus-white.png') no-repeat 93% 50%;
	background-size: auto 70%;
	color: #fff;
	text-decoration: none;
}
.read-more a:hover {
	background-color: #7cc6c0;
}

/* =HEADER
-------------------------------------------------------------- */
#wrapper-inner-header {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
	clear: both;
}

header {
	background-color: #fff;
	border-bottom: 20px solid #484c4a;
}
header a#logo-link {
	display: block;
	float: left;
	max-width: 347px;
}

header a#logo-link img {
	display: block;
	width: 100%;
	height: auto;
}

#header-toggles {
	float: right;
	margin-left: 30px;
	border-left: 1px solid #3b413e;
}
#header-toggle-search,
#header-toggle-menu {
	display: inline-block;
	min-width: 50px;
	padding-bottom: 40px;
	margin-bottom: 10px;
	margin-left: 30px;
	background: url('../images/icon-search.png') no-repeat 50% 100%;
	color: #3b413e;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
	font-size: 1.7em;
	line-height: 2em;
	text-transform: uppercase;
	text-align: center;
}
#header-toggle-menu {
	background: url('../images/icon-menu.png') no-repeat 50% 82%;
}
#header-toggle-search:hover {
	background-image: url('../images/icon-search-inv.png');
	cursor: pointer;
}
#header-toggle-menu:hover {
	background-image: url('../images/icon-menu-inv.png');
	cursor: pointer;
}

#header-contact {
	float: right;
	margin-bottom: 10px;
	text-align: center;
}
#header-contact-tel,
#header-contact-email {
	display: inline-block;
	padding-left: 40px;
	background: url('../images/icon-tel.png') no-repeat 0 50%;
	color: #3b413e;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
	font-size: 2em;
	line-height: 2em;
}
#header-contact-email {
	margin-left: 30px;
	background: url('../images/icon-email.png') no-repeat 0 50%;
}
#header-contact-email a {
	color: #3b413e;
}
#header-contact-email a:hover {
	color: #7CC6C0;
}
#header-strapline {
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
	font-size: 2.8em;
	line-height: 2em;
	text-transform: uppercase;
	color: #7CC6C0;
}


#wrapper-header-search {
	clear: both;
	display: none;
	padding: 10px 0;
	background: #548581;
	color: #fff;
}
#wrapper-header-search form {
	max-width: 1200px;
	margin: 0 auto;
	background: url('../images/icon-mag-glass.png') no-repeat 0 50%;
	background-size: auto 100%;
	padding-left: 60px;
}
#wrapper-header-search label {
	display: none;
}
#wrapper-header-search input[type="text"] {
	padding: 0 10px;
	border: none;
	width: 100%;
	background: #548581;
	color: #fff;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
	font-size: 3em;
	line-height: 50px;
	height: 50px;
	text-transform: uppercase;
}
#wrapper-header-search input[type="text"]:focus {
	outline: none;
}
#wrapper-header-search input[type="submit"] {
	padding: 0 10px;
	border: none;
	background: #484c4a;
	color: #fff;
	font-size: 2em;
	line-height: 1.5em;
	display: none;
}

nav.main-nav {
	display: none;
	clear: both;
	padding: 0 20px;
	background: #484c4a;
	border-top: 20px solid #484c4a;
}
nav.main-nav > .widget {
	width: 25%;
	float: left;
}
nav.main-nav h2 {
	margin-bottom: 10px;
	margin-left: 3px;
	color: #fff;
	font-size: 1.9em;
}
nav.main-nav h2:after {
	border-color: #fff;
}

nav.main-nav li {
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
	font-size: 1.7em;
	line-height: 1.2em;
}
nav.main-nav li ul {
	padding-left: 15px;
}
nav.main-nav li li {
	font-size: 1em;
}
nav.main-nav li a {
	display: inline-block;
	padding: 4px 3px;
	color: #fff;
	white-space: nowrap;
}

nav.main-nav li.active > a,
body.single nav li.current_page_parent > a,
nav.main-nav li a:hover {
	background: #fff;
	color: #7CC6C0;
}

/* Sub-navigation bars - partners, galleries and industries */
#menu-partners-list,
#menu-galleries-list,
#menu-industries-list {
	clear: both;
	padding-top: 20px;
	margin-bottom: 40px;
}

#menu-partners-list li {
	width: 20%;
	float: left;
}
#menu-partners-list li a {
	position: relative;
	display: block;
	padding: 20px 20px 0;
	color: #484c4a;
}
#menu-galleries-list li {
	float: left;
	margin-right: 10px;
}
#menu-galleries-list li a {
	position: relative;
	display: block;
	padding: 10px 20px;
	color: #484c4a;
}
#menu-industries-list li {
	width: 16.66%;
	float: left;
	position: relative;
}
#menu-industries-list li:before {
	content: " ";
	position: absolute;
	top: 10px;
	left: 0;
	width: 1px;
	height: 80px;
	background: #aaa;
}
#menu-industries-list li:first-child:before {
	display: none;
}
#menu-industries-list li a {
	position: relative;
	display: block;
	padding: 0 20px 10px;
	color: #484c4a;
}

#menu-partners-list li a:hover,
#menu-partners-list li.active a,
#menu-galleries-list li a:hover,
#menu-galleries-list li.active a {
	background: #484c4a;
	color: #fff;
}
#menu-partners-list li a:hover:after,
#menu-partners-list li.active a:after,
#menu-galleries-list li a:hover:after,
#menu-galleries-list li.active a:after {
	position: absolute;
	bottom: -50px;
	left: 50%;
	margin-left: -25px;
	content: " ";
	width: 0;
	height: 0;
	border: 25px solid transparent;
	border-top: 25px solid #484c4a;
}

#menu-partners-list li .wrapper-partner-logo {
	background: #fff;
	max-width: 100%;
	height: 100px;
	line-height: 100px;
	margin: 0 auto;
	text-align: center;
}
#menu-industries-list li .wrapper-industry-icon {
	width: 100px;
	height: 100px;
	margin: 0 auto 15px;
	background: #484c4a;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	text-align: center;
	line-height: 100px;
}
#menu-industries-list li a:hover .wrapper-industry-icon,
#menu-industries-list li.active .wrapper-industry-icon {
	background: #7cc6c0;
}

#menu-partners-list li img {
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
	vertical-align: middle;
}
#menu-industries-list li img {
	vertical-align: middle;
	max-width: 50%;
	max-height: 50%;
}

#menu-partners-list li span,
#menu-galleries-list li span,
#menu-industries-list li span {
	display: block;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
	font-size: 1.8em;
	line-height: 1.8em;
	text-align: center;
	text-transform: uppercase;
}
#menu-industries-list li span {
	word-spacing: 160px;
	line-height: 1.4em;
}

/* Side menu bar - Industries */
#sidebar #industry-menu ol {
	list-style: none;
	padding: 0;
}
#sidebar #industry-menu li {
	float: none;
	width: auto;
	margin-bottom: 1px;
	padding: 0;
}
#sidebar #industry-menu li:before {
	display: none;
}
#sidebar #industry-menu li a {
	padding: 10px;
	background: #87a5af url('../images/icon-arrow-white.png') no-repeat 96% 50%;
	color: #fff;
	text-decoration: none;
}
#sidebar #industry-menu li a:hover {
	background-color: #3b413e;
}
#sidebar #industry-menu li .wrapper-industry-icon {
	float: left;
	width: 40px;
	height: 40px;
	line-height: 40px;
	margin-bottom: 0;
	margin-right: 30px;
	background: #fff;
}
#sidebar #industry-menu li .wrapper-industry-icon .active {
	display: none;
}
#sidebar #industry-menu li a:hover .wrapper-industry-icon .active {
	display: inline;
}
#sidebar #industry-menu li a:hover .wrapper-industry-icon .default {
	display: none;
}
#sidebar #industry-menu li span {
	font-size: 1.2em;
	line-height: 40px;
	word-spacing: normal;
	text-align: left;
}

/* =SLIDER
-------------------------------------------------------------- */
/* general */
#slider {
	width: 100%;
	position: relative;
}
#slider img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* featured image (boxed) */
#slider.featured-image {
	max-width: 1200px;
	margin: 0 auto;
}
#slider.featured-image h1 {
	margin: 15px 0 20px;
}

/* header image (full width) */
#slider.header-image h1 {
	position: absolute;
	bottom: 20px;
	left: 50%;
	margin-left: -600px;
	color: #fff;
	z-index: 10;
}
#slider.header-image h1:after {
	border-color: #fff;
}
#slider.header-image #slider-inner {
	width: 100%;
	padding-bottom: 28.5%;
	background: no-repeat center center;
	-webkit-background-size: cover; /*for webKit*/
	-moz-background-size: cover; /*Mozilla*/
	-o-background-size: cover; /*opera*/
	background-size: cover; /*generic*/
	/* <IE9 support is handled with jquery.backgroundSize.min.js */
}
#slider.header-image #slider-inner:before {
	content: " ";
	display: block;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -600px;
	width: 1200px;
	height: 100%;
	background: url('../images/icon-slider-logo.png') no-repeat 100% 50%;
	background-size: auto 90%;
}
#slider.header-image #slider-inner:after {
	content: " ";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(69,85,97,0.3);
}

#page-home h1 {
	font-size: 36px !important;
	letter-spacing: 0px !important;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif !important;
    text-transform: uppercase !important;
    margin: 0px 0px 10px !important;
}

.tp-caption {
    width: 100px;
    border-bottom: 3px solid #fff !important;
}

/* intro section */
#slider-intro {
	padding: 20px 20px 0;
	background-color: #ebe9ea;
}
#wrapper-inner-slider-intro {
	max-width: 1200px;
	margin: 0 auto;
	padding-bottom: 10px;
	position: relative;
}
#slider-intro.has-image #wrapper-inner-slider-intro {
	padding-right: 530px;
}
#slider-intro p {
	margin-bottom: 1em;
	font-size: 1.8em;
	line-height: 1.6em;
}
#slider-intro img {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 20;
	max-width: 450px;
}



/* =SLIDER – Josh Additions
-------------------------------------------------------------- */

.clearfix{
  margin-bottom: 0px;
}
.redback{
  background: #7CC6C0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.blueback{
  background: #455561;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.vantage-sliders {
  position: relative;
}

.vantage-slider {
  position: absolute;
  top: 0;
}
.vanmenu{
  cursor: pointer;
}

#slider-1 {
  z-index: 20;
  opacity: 1:;
  -webkit-transition: all .5s ease-in-out;
     -moz-transition: all .5s ease-in-out;
      -ms-transition: all .5s ease-in-out;
       -o-transition: all .5s ease-in-out;
          transition: all .5s ease-in-out;
}

#slider-2 {
  z-index: 10;
  opacity: 0:;
    -webkit-transition: all .5s ease-in-out;
     -moz-transition: all .5s ease-in-out;
      -ms-transition: all .5s ease-in-out;
       -o-transition: all .5s ease-in-out;
          transition: all .5s ease-in-out;
}

.vantage-slider-tabs ul {
  list-style: none;
  padding: 0;
}

.vantage-slider-tabs ul li {
  display: inline-block;
}



/* CSS EFFECTS Pulse Shrink */
@-webkit-keyframes hvr-pulse-shrink {
  to {
    -webkit-transform: scale(.5);
    transform: scale(.5);
  }
}

@keyframes hvr-pulse-shrink {
  to {
    -webkit-transform: scale(.6);
    transform: scale(.6);
  }
}

.hvr-pulse-shrink {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
}
.hvr-pulse-shrink, .hvr-pulse-shrink, .hvr-pulse-shrink {
  -webkit-animation-name: hvr-pulse-shrink;
  animation-name: hvr-pulse-shrink;
  -webkit-animation-duration: 0.7s;
  animation-duration: 0.7s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

.vanbutton{
  background:url('../images/button.png');
  background-size: 100% !important;
  border-width: 0px !important;
  height: 42px !important;
  width: 42px !important;
}
.vanbutton:focus{
  outline:0 !important;
}
.popover {
  background-color : #3B413E !important;
  color : #FFF !important;
}

.popover.right>.arrow.arrow:after {
  border-right-color : #3B413E !important;
}
.popover.left>.arrow.arrow:after {
  border-left-color : #3B413E !important;
}
.popover.top>.arrow.arrow:after {
  border-top-color : #3B413E !important;
}
.popover.bottom>.arrow.arrow:after {
  border-bottom-color : #3B413E !important;
}


.popover-title {
  background-color : #3B413E !important;
  border-bottom : 1px solid #3B413E !important;
  font-weight: bold !important;
  font-size: 1.2em !important;
}

.popover-content {
  color : #FFF !important;
  padding-top: 0px !important;
  padding-left: 40px !important;
}
.popover-content a{
  color: #fff !important;
}
.popover-content:before{
  content:url('../images/MoreIcon.png');
  position:absolute !important;
  left:13px !important;
  padding-right: 10px !important;
}



/* =CONTENT
-------------------------------------------------------------- */
main#content {
	max-width: 1200px;
	margin: 0 auto;
	clear: both;
}

article.page,
article.post {
	padding: 20px 0;
}
article.has-sidebar {
	float: left;
	width: 60%;
}
article h1, article h2, article h3,
#sidebar h1, #sidebar h2, #sidebar h3 {
	margin-bottom: 1em;
}

article p, article li, article dt, article dd,
#sidebar p, #sidebar li, #sidebar dt, #sidebar dd {
	font-size: 1.6em;
	line-height: 1.5em;
}

article li li, article li p, article dt dt, article dd dd,
#sidebar li li, #sidebar li p, #sidebar dt dt, #sidebar dd dd {
	font-size: inherit;
	line-height: inherit;
}

article p,
#sidebar p {
	margin: 0 0 1.5em;
}

article ul,
#sidebar ul {
	padding-left: 20px;
	margin: 0 0 1.5em;
	list-style: disc;
}

article ol,
#sidebar ol {
	padding-left: 20px;
	margin: 0 0 1.5em;
	list-style: decimal;
}

article dl,
#sidebar dl {
	margin: 0 0 1.5em;
}

article a,
#sidebar a {
	color: #455561;
	text-decoration: underline;
}
article a:hover,
#sidebar a:hover {
	text-decoration: none;
}

article strong,
#sidebar strong {
	font-weight: bold;
}

article em,
#sidebar em {
	font-style: italic;
}

article img,
#sidebar img {
	max-width: 100%;
	height: auto;
}

article .alignleft,
#sidebar .alignleft {
	float: left;
	margin: 0 20px 20px 0;
}

article .alignright,
#sidebar .alignright {
	float: right;
	margin: 0 0 20px 20px;
}

article .aligncenter,
#sidebar .aligncenter {
	display: block;
	margin: 0 auto 20px;
}

/* Sidebar */
#sidebar {
	float: right;
	width: 35%;
	padding: 20px 0;
}
#sidebar.product-index {
	float: left;
	width: 25%;
}
#sidebar.product {
	width: 49%;
}
#sidebar section {
	margin-bottom: 40px;
}

/* Post index page - boxes (news, case studies, team members) */
#wrapper-post-index {
	padding: 20px 0;
}
.post-index {
	position: relative;
	float: left;
	width: 32%;
	margin-right: 2%;
	margin-bottom: 20px;
	padding-bottom: 24%;
	background-color: #455561;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	overflow: hidden;
}
.post-index.last {
	margin-right: 0;
}
.post-index a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 26% 5% 0;
	background-color: rgba(69,85,97,0.5);
	color: #fff;
	text-decoration: none;
}
.post-index a:hover {
	background-color: rgba(69,85,97,1);
}
.post-index a h1 {
	text-align: center;
	font-size: 2.2em;
}
.post-index a h1:before {
	display: block;
	content: " ";
	margin: 0 auto 5px;
	width: 22px;
	height: 22px;
	background: url('../images/icon-plus-white.png') no-repeat;
}
.post-index a h1:after {
	display: none;
}
.post-index a:hover h1 {
	display: none;
}
.post-index a h1 span {
	display: block;
	font-size: 0.8em;
}

.post-index .text-wrap {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 20px;
}
.post-index a:hover .text-wrap {
	display: block;
}
.post-index a .read-more {
	margin-bottom: 0;
	text-transform: uppercase;
	font-size: 1.6em;
	font-weight: bold;
}

.wp-pagenavi {
	text-align: center;
}
.wp-pagenavi a,
.wp-pagenavi span {
	display: inline-block;
	padding: 0 8px!important;
	background: #455561;
	border: none!important;
	color: #fff;
	font-size: 1.6em;
	line-height: 1.5em;
}
.wp-pagenavi a:hover,
.wp-pagenavi .current {
	background: #707c84;
	font-weight: normal!important;
}

/* Post index page - brands */
article.post-index.brand {
	background-size: initial;
}

/* Post index page - partners */
article.partner-index {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #6c716e;
}
article.partner-index div.thumb-wrap {
	float: left;
	width: 25%;
	margin-right: 5%;
}
article.partner-index.even div.thumb-wrap {
	float: right;
	margin-right: 0;
	margin-left: 5%;
}
article.partner-index div.thumb-wrap a,
article.partner-index div.thumb-wrap img {
	display: block;
}
article.partner-index div.text-wrap.has-thumb {
	float: left;
	width: 70%;
}
article.partner-index .partner-logo {
	float: right;
}
article.partner-index a {
	text-decoration: none;
}
article.partner-index a:hover h1  {
	color: #7cc6c0;
}
article.partner-index p {
	clear: both;
}

/* Case Study Single */
#sidebar.case-study ul {
	padding: 0;
	list-style: none;
}
#sidebar.case-study li {
	margin-bottom: 0.6em;
	padding-left: 50px;
	background: url('../images/icon-bullet-vantage.png') no-repeat 0 0;
	list-style: none;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
}
#sidebar.case-study li a {
	color: #7cc6c0;
	text-decoration: none;
}
#sidebar.case-study li a:hover {
	color: #484c4a;
}

/* Team Member Single */
#sidebar p.tel {
	padding-left: 60px;
    background: url('../images/icon-tel.png') no-repeat 0 50%;
	font-size: 2em;
	line-height: 1.5em;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
}
#sidebar p.email {
	padding-left: 60px;
    background: url('../images/icon-email.png') no-repeat 0 50%;
	font-size: 2em;
	line-height: 1.5em;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
}
#sidebar p.email a {
	text-decoration: none;
}
#sidebar p.email a:hover {
	color: #7CC6C0;
}

/* Industries Index */
#sidebar-contact ul {
	padding: 20px;
	background: #808080;
	list-style: none;
}
#sidebar-contact ul li {
	margin-bottom: 10px;
	font-size: 1em;
}
#sidebar-contact .wpcf7 input[type="text"],
#sidebar-contact .wpcf7 input[type="email"],
#sidebar-contact .wpcf7 textarea {
	background: #fff;
	color: #808080;
	text-transform: uppercase;
}
#sidebar-contact .wpcf7 textarea {
	height: 150px;
	resize: none;
}
#sidebar-contact .wpcf7 li.contact-cta-submit {
	margin-bottom: 0;
	text-align: right;
}
#sidebar-contact .wpcf7 li.contact-cta-submit .ajax-loader {
	float: left;
}
#sidebar-contact .wpcf7 input[type="submit"] {
	background: transparent url('../images/icon-arrow-white.png') no-repeat 93% 50%;
	font-size: 1.6em;
	line-height: 2em;
}
#sidebar-contact .wpcf7 input[type="submit"]:hover {
	background-color: #455561;
}
#sidebar-contact .wpcf7-not-valid-tip {
	padding: 0 20px;
	margin-top: 2px;
	background-color: #fff;
}
#sidebar-contact div.wpcf7-response-output {
	padding: 0 20px!important;
}

/* Industries Single */
#industry-case-study a {
	position: relative;
	display: block;
	padding: 20px 20px 20px 110px;
	background: #87a5af url('../images/icon-case-study-pencil.png') no-repeat 20px 20px;
	color: #fff;
	text-decoration: none;
}
#industry-case-study a:hover {
	background-color: #707c84;
}
#industry-case-study dt {
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
}
#industry-case-study p {
	margin-bottom: 0;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}
#industry-quote a {
	position: relative;
	display: block;
	padding: 20px 20px 20px 110px;
	background: #808080 url('../images/icon-free.png') no-repeat 20px 20px;
	color: #fff;
	text-decoration: none;
}
#industry-quote a:hover {
	background-color: #707c84;
}
#industry-case-study a:after,
#industry-quote a:after {
	content: " ";
	height: 29px;
	width: 29px;
	position: absolute;
	bottom: 15px;
	right: 15px;
	background: url('../images/icon-arrow-go.png') no-repeat 0 0;
}

/* Product Index */
#product-index-menu > p {
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}

#sidebar nav.product-listing-nav ul {
	list-style: none;
	padding: 0;
	margin-bottom: 0;
}
#sidebar nav.product-listing-nav li ul {
	margin-left: 20px;
}
#sidebar nav.product-listing-nav li a {
	display: block;
	padding: 0;
	color: #fff;
	font-size: 1em;
	line-height: 1.4em;
	text-decoration: none;
	text-transform: uppercase;
}
#sidebar nav.product-listing-nav li.active > a,
#sidebar nav.product-listing-nav li a:hover {
	color: #484c4a;
}

#product-breadcrumb {
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
	text-align: right;
}

article.product-index {
	float: right;
	width: 70%;
}
#product-list {
	list-style: none;
	padding: 0;
}
#product-list li {
	float: left;
	width: 30.6%;
	margin-right: 4%;
	margin-bottom: 30px;
}
#product-list li.last {
	margin-right: 0;
}
#product-list li.last:after {
	content: " ";
	height: 0;
	clear: both;
}
#product-list li a {
	display: block;
	background: #fff;
	color: #7CC6C0;
	text-decoration: none;
}
#product-list li .thumb-wrap {
	display: block;
	position: relative;
	background: #fff;
	padding-bottom: 75%;
	overflow: hidden;
}
#product-list li img {
	display: block;
	position: absolute;
	width: 100%;
	top: 0;
	left: 0
}
#product-list li .text-wrap {
	padding: 10px 45px 10px 10px;
	min-height: 70px;
	background: #fff url('../images/icon-plus-green.png') no-repeat 95% 50%;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
}
#product-list li .text-wrap p {
	margin-bottom: 0;
}

/* Product Single */
article.has-sidebar.product {
	width: 49%;
}

nav.product-page-nav {
	margin-bottom: 30px;
}
nav.product-page-nav ul {
	list-style: none;
	padding: 0;
}
nav.product-page-nav > ul > li {
	float: left;
	position: relative;
	margin-right: 10px;
}
nav.product-page-nav > ul > li > a {
	padding: 0 30px 0 5px;
	background: #484c4a url('../images/icon-plus-white.png') no-repeat 97% 50%;
	background-size: auto 70%;
}
nav.product-page-nav > ul > li > a:hover {
	background: #707c84 url('../images/icon-plus-white.png') no-repeat 97% 50%;
	background-size: auto 70%;
}

nav.product-page-nav li ul {
	position: absolute;
	display: none;
	top: 100%;
	left: -999em;
	z-index: 200;
	background: #484c4a;
}
nav.product-page-nav li:hover ul {
	display: block;
	left: 0;
}
nav.product-page-nav li ul li {
	margin-top: 3px;
}
nav.product-page-nav li a {
	display: block;
	padding: 0 10px;
	color: #fff;
	white-space: nowrap;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
	font-size: 1em;
	line-height: 1.4em;
	text-decoration: none;
	text-transform: uppercase;
}
nav.product-page-nav li.active > a,
nav.product-page-nav li a:hover {
	background: #707c84;
}


#sidebar.product #product-image-main {
	display: block;
	margin-bottom: 18px;
	border: 10px solid #fff;
}
#sidebar.product #product-image-thumb-list {
	list-style: none;
	padding: 0;
}
#sidebar.product #product-image-thumb-list li {
	float: left;
	width: 17.6%;
	margin-right: 3%;
	margin-bottom: 18px;
}
#sidebar.product #product-image-thumb-list li.last {
	margin-right: 0;
}
#sidebar.product #product-image-thumb-list li img {
	display: block;
}
#sidebar.product #product-image-thumb-list li  img:hover {
	cursor: pointer;
}

#sidebar #menu-brands-list {
	list-style: none;
	padding: 0;
}
#sidebar #menu-brands-list li {
	float: left;
	width: 33.33%;
	margin-bottom: 5px;
}
#sidebar #menu-brands-list li a {
	display: block;
	padding: 0 16%;
	text-align: center;
	height: 160px;
	line-height: 160px;
}
#sidebar #menu-brands-list li a img {
	vertical-align: middle;
}

/* About us template */
#about-vantage,
#about-dogtran {
	clear: both;
	padding: 20px 0;
	margin-bottom: 20px;
	border-bottom: 3px solid #484c4a;
}
#about-vantage-content,
#about-dogtran-content {
	float: left;
	width: 60%;
	padding-top: 10px;
	background: url('../images/icon-logo-vantage.png') no-repeat 100% 0;
}
#about-dogtran-content {
	background: url('../images/icon-logo-dogtran.png') no-repeat 100% 0;
}
#about-vantage-how,
#about-dogtran-how {
	float: right;
	width: 35%;
}
#about-vantage-how ul,
#about-dogtran-how ul {
	padding: 0;
	list-style: none;
}
#about-vantage-how li,
#about-dogtran-how li {
	margin-bottom: 0.6em;
	padding-left: 50px;
	background: url('../images/icon-bullet-vantage.png') no-repeat 0 0;
	list-style: none;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
}
#about-dogtran-how li {
	background: url('../images/icon-bullet-dogtran.png') no-repeat 0 0;
}
#about-vantage-how li a {
	color: #7cc6c0;
	text-decoration: none;
}
#about-dogtran-how li a {
	color: #7cc6c0;
	text-decoration: none;
}
#about-vantage-how li a:hover,
#about-dogtran-how li a:hover {
	color: #484c4a;
}

#about-dogtran .read-more a:hover {
	background-color: #7cc6c0;
}

/* Contact us template */
#contact-content-form,
#contact-dogtran {
	clear: both;
	padding: 20px 0;
	margin-bottom: 20px;
	border-bottom: 3px solid #484c4a;
}

#contact-content {
	float: right;
	width: 35%;
	margin-bottom: 25px;
}
#contact-content p {
	font-size: 2em;
	line-height: 1.5em;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
}
#contact-content p.tel {
	padding-left: 60px;
    background: url('../images/icon-tel.png') no-repeat 0 50%;
}
#contact-content p.email {
	padding-left: 60px;
    background: url('../images/icon-email.png') no-repeat 0 50%;
}
#contact-content p.email a {
	text-decoration: none;
}
#contact-content p.email a:hover {
	color: #7CC6C0;
}
#contact-content p.address {
	padding-left: 60px;
    background: url('../images/icon-map-pin.png') no-repeat 0 4px;
}

#form-content .wpcf7 ul {
	list-style: none;
	padding: 0;
}
#form-content .wpcf7 li {
	margin-bottom: 20px;
	font-size: 1em;
}
#form-content .wpcf7 li.contact-fname,
#form-content .wpcf7 li.contact-email {
	float: left;
	width: 49%;
}
#form-content .wpcf7 li.contact-lname,
#form-content .wpcf7 li.contact-tel {
	float: right;
	width: 49%;
}
#form-content .wpcf7 li.contact-company {
	clear: both;
}
#form-content .wpcf7 li.contact-submit {
	margin-bottom: 0;
	text-align: right;
}
#form-content .wpcf7 li.contact-submit .ajax-loader {
	float: left;
}
.wpcf7 li span {
	display: block;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	width: 100%;
	padding: 0 20px;
	border: none;
	background: #bdccd4;
	color: #484c4a;
	font-family: 'source_sans_proregular', Arial, Helvetica, sans-serif;
	font-size: 1.6em;
	line-height: 2.5em;
}
.wpcf7 textarea {
	padding-top: 10px;
	padding-bottom: 10px;
	resize: none;
}
.wpcf7 input[type="submit"] {
	padding: 0 30px 0 5px;
	background: #484c4a url('../images/icon-plus-white.png') no-repeat 93% 50%;
	background-size: auto 70%;
	border: none;
	color: #fff;
	font-size: 1.4em;
	line-height: 1.8em;
	text-transform: uppercase;
}
.wpcf7 input[type="submit"]:hover {
	background: #707c84 url('../images/icon-plus-white.png') no-repeat 93% 50%;
	background-size: auto 70%;
	cursor: pointer;
}
.wpcf7-not-valid-tip {
	font-size: 1.6em!important;
	line-height: 1.5em;
}
div.wpcf7-response-output {
	margin: 0!important;
	padding: 0!important;
	font-size: 1.6em!important;
	line-height: 1.5em;
}

#contact-map {
	height: 400px;
}

#form-content {
	float: left;
	width: 60%;
}

#contact-dogtran-image {
	float: right;
	width: 35%;
	border: 10px solid #707c84;
}
#contact-dogtran-content {
	float: left;
	width: 60%;
}
#contact-dogtran-logo {
	width: 600px;
}
#contact-dogtran-content .read-more a:hover {
	background-color: #7cc6c0;
}

/* Home template */
#page-home #content {
	max-width: none;
}
#page-home h1 {
	margin-bottom: 0.5em;
	font-family: 'source_sans_proregular', Arial, Helvetica, sans-serif;
}
#page-home h1:after {
	display: none;
}
#page-home h1 strong {
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
}
#page-home .read-more {
	float: right;
	margin-top: 13px;
}

#home-industry {
	position: relative;
}
#home-industry:before {
	content: " ";
	position: absolute;
	width: 100%;
	height: 0;
	padding-bottom: 15.5%;
	background: #455561;
	z-index: -1;
}
#wrapper-home-industry {
	max-width: 1200px;
	margin: 0 auto;
}
#wrapper-home-industry #home-industries-vans {
	float: left;
	max-width: 47%;
	margin-top: 29px;
}
#wrapper-home-industry #home-industries-van {
	float: right;
	max-width: 40%;
}
#wrapper-home-industry h1 {
	float: left;
	color: #fff;
	padding-top: 20px;
	margin-bottom: 0px;
}
article.home {
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 0;
}
article.home p {
	margin-bottom: 0.8em;
	font-size: 2em;
}
article.home p.read-more {
	font-size: 1.4em;
}
.home-content-nav ul {
	padding: 0;
	list-style: none;
}
.home-content-nav ul li {
	float: left;
	width: 32%;
	margin-right: 2%;
	margin-bottom: 20px;
	display: table;
}
.home-content-nav ul li.external,
.home-content-nav ul li.internal {
	width: 38%;
}
.home-content-nav ul li.workshop,
.home-content-nav ul li.service,
.home-content-nav ul li.fittings,
.home-content-nav ul li.conversions {
	width: 49%;
}
.home-content-nav ul li.all-products {
	width: 20%;
}
.home-content-nav ul li.fittings,
.home-content-nav ul li.workshop {
	margin-right: 0;
}
.home-content-nav ul li a {
	display: table-cell;
	position: relative;
	height: 160px;
	padding: 20px;
	background-color: #455561;
	color: #fff;
	text-decoration: none;
	vertical-align: bottom;
	text-transform: uppercase;
	font-size: 1.5em;
	font-family: 'source_sans_probold', Arial, Helvetica, sans-serif;
}
.home-content-nav ul li.fittings a {
	background: #707c84 url('../images/icon-home-content-fittings.png') no-repeat 20px 20px;
}
.home-content-nav ul li.conversions a {
	background: #707c84 url('../images/icon-home-content-conversions.png') no-repeat 20px 20px;
}
.home-content-nav ul li.service a {
	padding-right: 120px;
	background: #707c84 url('../images/icon-home-content-service.png') no-repeat 20px 20px;
}
.home-content-nav ul li.workshop a {
	padding-right: 120px;
	background: #707c84 url('../images/icon-home-content-workshop.png') no-repeat 20px 20px;
}

.home-content-nav ul li a:hover {
	background-color: #7cc6c0;
}
.home-content-nav ul li a:after {
	content: " ";
	height: 29px;
	width: 29px;
	position: absolute;
	bottom: 15px;
	right: 15px;
	background: url('../images/icon-arrow-go.png') no-repeat 0 0;
}

#home-brands,
#home-case-studies,
#home-news {
	clear: both;
	max-width: 1200px;
	margin: 0 auto 50px;
}

#home-brands .bx-wrapper {
	position: relative;
}
#carousel-brands-list {
	height: 160px;
	overflow: hidden;
}
#carousel-brands-list a {
	display: block;
	line-height: 160px;
	padding: 0 10px;
	text-align: center;
}
#carousel-brands-list img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.bx-controls-direction a {
	display: block;
	position: absolute;
	top: 50%;
	left: -60px;
	margin-top: -28px;
	width: 54px;
	height: 56px;
	background: url('../images/icon-prev.png') no-repeat center center;
	color: transparent;
	font: 0/0 a;
}
.bx-controls-direction a.bx-next {
	left: auto;
	right: -60px;
	background: url('../images/icon-next.png') no-repeat center center;
}

.bx-controls-auto {
	display: none;
}

#home-case-studies-list {
	margin-top: 30px;
}
#home-case-studies-list li {
	margin-bottom: 0;
}
#home-case-studies-list .excerpt {
	margin: 0 0 1.5em;
	font-size: 1.6em;
    line-height: 1.5em;
}
#home-case-studies-list .read-more {
	float: none;
	margin-top: 0;
}

#carousel-news-list a {
	display: block;
	background-color: #707c84;
	text-decoration: none;
	color: #fff;
}
#carousel-news-list a:hover {
	background: #455561;
}
#carousel-news-list .thumb-wrap {
	float: right;
	width: 50%;
}
#carousel-news-list .thumb-wrap img {
	display: block;
}
#carousel-news-list .text-wrap {
	float: left;
	width: 50%;
	padding: 15px 20px;
	background: url('../images/icon-arrow-go.png') no-repeat 98% 95%;
}
#carousel-news-list .text-wrap h1 {
	margin-bottom: 0.4em;
	font-size: 3em;
	line-height: 1.1em;
}
#carousel-news-list .text-wrap p {
	margin-bottom: 0.4em;
	font-size: 1.8em;
	line-height: 1.5em;
}

#home-news {
	position: relative;
	margin-bottom: 60px;
}
#home-news .bx-pager {
	position: absolute;
	right: 115px;
	top: 15px;
	height: 20px;
}
#home-news .bx-pager-item {
	display: inline-block;
	margin-left: 10px;
	vertical-align: top;
}
#home-news .bx-pager-item a {
	display: block;
	height: 20px;
	width: 20px;
	background: #3b413e;
	color: transparent;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	font: 0/0 a;
}
#home-news .bx-pager-item a:hover,
#home-news .bx-pager-item a.active {
	background: #7cc6c0;
}

/* Search results page */
h1.search-title {
	margin: 30px 0;
}
h1.search-title:after {
	width: 100%;
}
article.search {
	border-bottom: 1px solid #ccc;
	margin-bottom: 30px;
}
article.search .thumb-wrap {
	float: left;
	width: 20%;
	margin: 0 5% 30px 0;
}
article.search img {
	display: block;
}
article.search .text-wrap {
	float: left;
	width: 75%;
}
article.search h2 a {
	text-decoration: none;
}
article.search h2 a:hover {
	color: #7cc6c0;
}

/* =CTAS
-------------------------------------------------------------- */
/* In other news */
#cta-other-news h2 {
	margin-bottom: 1.5em;
}
#cta-other-news p {
	margin: 0 0 1.5em;
	font-size: 1.6em;
	line-height: 1.5em;
}

/* =FOOTER
-------------------------------------------------------------- */
footer {
	clear: both;
}

#footer-upper {
	background-color: #455561;
}
#wrapper-inner-footer-upper {
	clear: both;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0 10px;
	background: url('../images/icon-footer-logo.png') no-repeat 100% 50%;
	background-size: auto 90%;
}
#footer-upper aside {
	float: left;
	width: 23%;
	margin-right: 2%;
}
#footer-upper aside .widget {
	margin-bottom: 20px;
}
#footer-upper aside h2 {
	color: #fff;
}
#footer-upper aside h2:after {
	content: "";
	display: none;
}
#footer-upper aside li {
	font-size: 1.6em;
	line-height: 1.5em;
}
#footer-upper aside a {
	color: #fff;
}
#footer-upper aside a:hover {
	color: #7CC6C0;
}

#footer-lower {
	background-color: #d8d9da;
	color: #455561;
}
#wrapper-inner-footer-lower {
	clear: both;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}

#footer-sister-site {
	float: left;
	max-width: 50%;
}
#footer-sister-site img {
	float: left;
	margin-right: 10px;
}
#footer-sister-site p {
	max-width: 255px;
	padding-left: 75px;
	margin-top: 10px;
	float: left;
	background: url('../images/footer-arrow-sister.png') no-repeat 0 50%;
	font-family: 'desyrelregular';
	font-size: 2.3em;
	font-weight: bold;
	line-height: 1em;
	letter-spacing: -1px;
}

#footer-credit {
	float: right;
	margin-left: 50px;
	font-family: 'desyrelregular';
	font-size: 2.3em;
	font-weight: bold;
	line-height: 1.2em;
	letter-spacing: -1px;
	text-align: center;
}
#footer-credit a {
	display: block;
	color: #455561;
	font-family: 'source_sans_proregular', Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-align: center;
}
#footer-credit a:hover {
	color: #7cc6c0;
}
#footer-social {
	float: right;
}
#footer-social p {
	float: left;
	width: 225px;
	padding-right: 75px;
	background: url('../images/footer-arrow-follow.png') no-repeat 100% 50%;
	font-family: 'desyrelregular';
	font-size: 2.3em;
	font-weight: bold;
	line-height: 1.2em;
	letter-spacing: -1px;
}
#footer-social a {		/* general styles added ready for future social icons */
	display: block;
	float: left;
	width: 54px;
	height: 54px;
	margin-left: 20px;
	color: transparent;
	font: 0/0 a;
}
#footer-social a.instagram {
	background: url('../images/icon-social-instagram.png') no-repeat;
}
#footer-social a.instagram:hover {
	background: url('../images/icon-social-instagram-inv.png') no-repeat;
}

/* =FONTS
-------------------------------------------------------------- */
@font-face {
    font-family: 'source_sans_probold';
    src: url('fonts/sourcesanspro-bold-webfont.eot');
    src: url('fonts/sourcesanspro-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/sourcesanspro-bold-webfont.woff2') format('woff2'),
         url('fonts/sourcesanspro-bold-webfont.woff') format('woff'),
         url('fonts/sourcesanspro-bold-webfont.ttf') format('truetype'),
         url('fonts/sourcesanspro-bold-webfont.svg#source_sans_probold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'source_sans_proregular';
    src: url('fonts/sourcesanspro-regular-webfont.eot');
    src: url('fonts/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/sourcesanspro-regular-webfont.woff2') format('woff2'),
         url('fonts/sourcesanspro-regular-webfont.woff') format('woff'),
         url('fonts/sourcesanspro-regular-webfont.ttf') format('truetype'),
         url('fonts/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'source_sans_prosemibold';
    src: url('fonts/sourcesanspro-semibold-webfont.eot');
    src: url('fonts/sourcesanspro-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/sourcesanspro-semibold-webfont.woff2') format('woff2'),
         url('fonts/sourcesanspro-semibold-webfont.woff') format('woff'),
         url('fonts/sourcesanspro-semibold-webfont.ttf') format('truetype'),
         url('fonts/sourcesanspro-semibold-webfont.svg#source_sans_prosemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'desyrelregular';
    src: url('fonts/desyrel-webfont.eot');
    src: url('fonts/desyrel-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/desyrel-webfont.woff') format('woff'),
         url('fonts/desyrel-webfont.ttf') format('truetype'),
         url('fonts/desyrel-webfont.svg#desyrelregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* =USEFUL
-------------------------------------------------------------- */
.clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	clear: both;
	overflow: hidden;
	visibility: hidden;
	max-height:0;
}

.clearfix {
	zoom: 1; /* For IE7 and below */
}

div.wpcf7-response-output {
	border: 0!important;
}

/* requires 'comment validation' plugin */
#commentform div.error,
#commentform label.error {
	color: red;
	font-size: 15px;
}

#commentform input.error,
#commentform textarea.error {
	background-color: red;
	color: #fff!important;
}

/* placeholder colours, defined separately otherwise they're ignored by all browsers  */
::-webkit-input-placeholder { /* WebKit browsers */
	color: inherit;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: inherit;
	opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: inherit;
	opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	color: inherit;
}

/* prevent automatic styling of telephone numbers */
a[href^=tel]{
    color:inherit;
    text-decoration:none;
}

/* prevent rounded corners on form inputs */
textarea,
input[type=text],
input[type=email],
input[type=image],
input[type=submit] {
	-webkit-appearance: none;
	-webkit-border-radius:0px;
}

/* work around mobile device auto-fitting where text is made too narrow on non responsive sites */
@media only screen and (max-device-width: 800px) {
   h1,h2,h3,h4,h5,h5,p,li,dt,dd {
       background-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==); 
       background-repeat:repeat;
    }
}

/* =IE FIXES
-------------------------------------------------------------- */
html.ie7 article li li,
html.ie7 article li p,
html.ie7 article dt dt,
html.ie7 article dd dd {
	font-size: 13px;
}

/* =RESPONSIVE
/* rough breakpoints, but the design would dictate how the 
/* page adapts. Also see viewport sizes on:
/* http://i-skool.co.uk/mobile-development/web-design-for-mobiles-and-tablets-viewport-sizes/
-------------------------------------------------------------- */

/* large screens */
@media (max-width: 1200px) {
	#wrapper-inner-header {
		padding-right: 2%;
		padding-left: 2%;
	}
	header a#logo-link {
		max-width: 250px;
	}
	#header-toggle-search,
	#header-toggle-menu {
		min-width: 0;
		margin-bottom: 0;
		margin-left: 20px;
		padding-bottom: 42px;
		background-size: 70%;
		font-size: 1.5em;
		line-height: 1em;
	}
	#header-toggle-menu {
		background-size: 90%;
	}
	#header-contact {
		float: none;
	}
	#header-contact-tel,
	#header-contact-email {
		padding-left: 34px;
		background-size: auto 55%;
		font-size: 1.7em;
	}
	#header-strapline {
		font-size: 2.4em;
	}	

	#slider.featured-image {
		padding-right: 2%;
		padding-left: 2%;
	}
	#slider.header-image #slider-inner:before {
		left: auto;
		margin-left: 0;
		right: 2%;
	}
	#slider.header-image h1 {
		left: 2%;
		margin-left: 0;
	}
	
	#slider-intro.has-image #wrapper-inner-slider-intro {
		padding-right: 35%;
	}
	#slider-intro img {
		max-width: 30%;
	}
	
	#content {
		padding-right: 2%;
		padding-left: 2%;
	}
	article .alignleft,
	#sidebar .alignleft,
	article .alignright,
	#sidebar .alignright,
	article .aligncenter,
	#sidebar .aligncenter {
		max-width: 50%;
	}
	
	/* homepage */
	#page-home #content {
		padding-right: 0;
		padding-left: 0;
	}
	#wrapper-home-industry,
	article.home,
	#home-brands,
	#home-case-studies,
	#home-news {
		padding-right: 2%;
		padding-left: 2%;
	}
	
	#home-industry:before {
		padding-bottom: 19.5%;
	}
	
	.home-content-nav ul li.fitting a {
		padding-right: 100px;
	}
	
	#home-brands .bx-wrapper {
		padding-right: 60px!important;
		padding-left: 60px!important;
	}
	.bx-controls-direction a.bx-prev {
		left: 0;
	}
	.bx-controls-direction a.bx-next {
		right: 0;
	}
	
	#home-news .bx-pager {
		right: 130px;
	}
	
	/* galleries */
	.royalSlider {
		max-width: 100%;
	}
	.royalSlider .rsThumb {
		width: 100px!important;
		height: 100px!important;
	}
	.royalSlider .rsMainSlideImage {
		margin-left: 0!important;
		width: 100%!important;
		height: auto!important;
	}
		
	#footer-upper,
	#footer-lower {
		padding-right: 2%;
		padding-left: 2%;
	}
	#footer-sister-site img,
	#footer-sister-site p {
		max-width: 45%;
		margin-top: 0;
	}
	#footer-sister-site p {
		font-size: 2em;
	}
	#footer-social p {
		width: 200px;
		font-size: 2em;
	}
	#footer-credit {
		font-size: 2em;
	}
}

/* over 1020 is desktop and ipad landscape */
@media (max-width: 1020px) {
	/* tablets, inc ipad portrait from 768 - 1020 */
	
	header a#logo-link {
		margin-bottom: 10px;
	}
	#header-contact {
		text-align: right;
		margin-bottom: 0;
	}
	#header-contact-tel,
	#header-contact-email {
		min-width: 220px;
		line-height: 1.7em;
		text-align: left;
	}
	
	#header-strapline {
		clear: both;
		font-size: 2em;
		line-height: 1.5em;
		text-align: center;
	}
	
	nav.main-nav > .widget {
		width: 50%;
		margin-bottom: 30px;
	}
	nav.main-nav > .widget.widget-3 {
		clear: left;
	}
	
	/* sub-menus */
	#menu-partners-list,
	#menu-galleries-list,
	#menu-industries-list {
		margin-bottom: 20px;
	}
	#menu-partners-list li span,
	#menu-galleries-list li span,
	#menu-industries-list li span {
		font-size: 1.4em;
	}
	#menu-partners-list li a {
		padding: 10px 10px 0;
	}
	#menu-galleries-list li a {
		padding: 5px 10px;
	}
	#menu-industries-list li a {
		padding: 0 10px;
	}
	
	#menu-partners-list li a:hover:after,
	#menu-partners-list li.active a:after,
	#menu-galleries-list li a:hover:after,
	#menu-galleries-list li.active a:after {
		margin-left: -15px;
		border-width: 15px;
		bottom: -30px;
	}
	
	/* homepage */
	#wrapper-home-industry h1 {
		float: none;
		margin-bottom: 0;
	}
	#home-industry:before {
		padding-bottom: 23.5%;
	}
	
	.home-content-nav ul li a {
		padding: 10px;
		font-size: 1.1em;
	}
	.home-content-nav ul li.service a,
	.home-content-nav ul li.fitting a,
	.home-content-nav ul li.workshop a {
		padding-right: 20%;
	}
	.home-content-nav ul li a:after {
		bottom: 10px;
		right: 10px;
	}
	#page-home .read-more {
		margin-top: 7px;
		margin-left: 10px;
	}
	#home-news .bx-pager {
		top: 10px;
	}
	
	#home-case-studies-list .read-more {
		margin-top: 30%;
	}
	
	#carousel-news-list .text-wrap h1 {
		font-size: 2.5em;
	}
	#carousel-news-list .text-wrap p {
		font-size: 1.6em;
	}
	
	/* about template */
	#about-vantage-content h2,
	#about-dogtran-content h2 {
		padding-right: 80px;
	}
	
	/* contact template */
	#contact-content p {
		padding-left: 50px!important;
		font-size: 1.6em;
	}
	
	/* post-index (boxes) */
	.post-index p {
		display: none;
	}
	.post-index p.read-more {
		display: block;
		text-align: center;
		margin-top: 30%;
	}
	.post-index.team-member a {
		padding-top: 22%;
	}
	
	/* industries */
	#sidebar #industry-menu li a {
		background-image: none;
	}
	#sidebar #industry-menu li .wrapper-industry-icon {
		margin-right: 10px;
	}
	#sidebar #industry-menu li span {
		font-size: 0.8em;
	}
	
	#industry-case-study a {
		padding-left: 85px;
		background-position: 14px 20px;
	}
	
	/* products */
	nav.product-page-nav {
		margin-bottom: 10px;
	}
	nav.product-page-nav > ul > li {
		margin-bottom: 10px;
	}
	#sidebar #menu-brands-list li a {
		height: 100px;
		line-height: 100px;
	}
	
	/* footer */
	#wrapper-inner-footer-upper {
		background-size: auto 77%;
	}
	#footer-upper aside .widget {
	    margin-bottom: 40px;
	}
	#footer-upper aside h2 {
		margin-bottom: 1em;
		font-size: 2em;
	}
	#footer-upper aside li {
		margin-bottom: 0.5em;
		font-size: 1.4em;
	}
	#footer-sister-site img {
		max-width: 40%;
	}
	#footer-sister-site p {
		padding-left: 60px;
		max-width: 55%;
		font-size: 1.7em;
	}
	#footer-social p {
		font-size: 1.7em;
	}
	#footer-credit {
		margin-left: 20px;
		font-size: 1.7em;
	}
	#footer-social a {
		width: 40px;
		height: 40px;
		background-size: contain!important;
	}
}

@media (max-width: 767px) {
	/* modern smartphones, smaller tablets are below this res. */
	h1 {
		font-size: 2.8em;
	}
	h2 {
		font-size: 1.9em;
	}
	h3, h4, h5, h6 {
		font-size: 1.7em;
	}
	
	header a#logo-link {
		margin: 0 auto 20px;
		max-width: 280px;
		float: none;
	}
	#header-toggles {
		margin-left: 10px;
	}
	#header-toggle-search,
	#header-toggle-menu {
		padding-bottom: 42px;
		margin-left: 10px;
		background-size: 72%;
		font-size: 1.3em;
	}
	#header-toggle-menu {
		background-size: 100%;
	}
	#header-contact {
		text-align: left;
	}
	#header-contact-tel,
	#header-contact-email {
		min-width: 0;
		float: left;
		clear: left;
		margin-left: 0;
		font-size: 1.3em;
		line-height: 2.2em;
	}
	#header-strapline {
		padding-top: 15px;
		font-size: 1.7em;
	}
	
	nav.main-nav > .widget {
		width: auto;
		float: none;
	}
	#wrapper-header-search {
		padding-right: 2%;
		padding-left: 2%;
	}
	#wrapper-header-search input[type="text"] {
		max-width: 190px;
	}
	
	/* sub-menus */
	#menu-partners-list li,
	#menu-galleries-list li,
	#menu-industries-list li {	
		float: none;
		width: auto;
	}
	#menu-partners-list li a:hover:after,
	#menu-partners-list li.active a:after {
		display: none;
	}
	#menu-galleries-list li a:hover:after,
	#menu-galleries-list li.active a:after {
		bottom: 50%;
		margin-bottom: -15px;
		margin-left: 0;
		left: 5px;
		border-top: 15px solid transparent;
		border-left: 15px solid #fff;
	}
	#menu-galleries-list li a {
		padding: 5px 25px;
	}
	
	#menu-industries-list li .wrapper-industry-icon {
		float: left;
		height: 50px;
		width: 50px;
		line-height: 50px;
		margin: 10px 20px 10px 0;
	}
	#menu-industries-list li:before {
		top: 0;
		left: 0;
		height: 1px;
		width: 100%;
	}
	#menu-industries-list li span {
		padding-top: 16px;
		text-align: left;
		word-spacing: initial;
	}
	
	/* sliders */
	#slider.header-image #slider-inner {
		padding-bottom: 50%;
	}
	
	#slider-intro.has-image #wrapper-inner-slider-intro {
		padding-right: 0;
		padding-bottom: 150px;
	}
	#slider-intro img {
		max-width: none;
		max-height: 140px;
	}
	
	/* homepage */
	#page-home h1 {
		font-size: 2.2em;
	}
	#home-industry:before {
		padding-bottom: 29.5%;
	}
	#wrapper-home-industry #home-industries-vans {
		margin-top: 21px;
	}
	
	.home-content-nav ul li {
		width: 100%!important;
		float: none;
		margin-right: 0;
	}
	.home-content-nav ul li a {
		height: 105px;
		padding-right: 45px!important;
	}
	
	#home-brands .bx-wrapper {
		max-width: 300px!important;
		width: 300px!important;
	}
	#home-brands #carousel-brands-list li {
		width: 180px!important;
	}
	
	#home-case-studies-list li {
		margin-bottom: 20px;
	}
	
	#home-news h1 {
		margin-bottom: 45px;
	}
	#home-news .bx-pager {
		right: 2%;
		top: 45px;
	}
	#carousel-news-list .thumb-wrap,
	#carousel-news-list .text-wrap {
		float: none;
		width: auto;
	}
	
	/* about template */
	#about-vantage-content,
	#about-dogtran-content,
	#about-vantage-how,
	#about-dogtran-how {
		float: none;
		width: 100%;
		padding-top: 0;
	}
	
	/* contact template */
	#form-content,
	#contact-content {
		float: none;
		width: auto;
	}
	#form-content .wpcf7 li {
		margin-bottom: 0.5em;
	}
	#form-content .wpcf7 textarea {
		height: 200px;
	}
	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"],
	.wpcf7 textarea {
		padding-right: 10px;
		padding-left: 10px;
	}
	.wpcf7 textarea {
		padding-top: 0;
		padding-bottom: 0;
	}
	#contact-dogtran-image,
	#contact-dogtran-content {
		float: none;
		width: auto;
	}
	#contact-dogtran-image {
		margin-bottom: 30px;
	}
	
	/* galleries */
	.rsSlide {
		overflow: visible!important;
	}
	.royalSlider .rsOverflow {
		height: auto!important;
		padding-bottom: 75%;
	}
	
	/* post-index (boxes) */
	.post-index {
		width: 100%;
		margin-right: 0!important;
		padding-bottom: 75%;
	}
	
	/* post-index (partners) */
	article.partner-index div.thumb-wrap,
	article.partner-index div.text-wrap.has-thumb {
		width: 100%;
		float: none!important;
		margin-right: 0!important;
		margin-left: 0!important;
	}
	article.partner-index .partner-logo {
		max-height: 40px;
		max-width: 150px;
		margin-top: 5px;
	}
	
	/* post-index (products) */
	#product-list li {
		float: none;
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}
	
	/* sidebars */
	article.has-sidebar {
		float: none!important;
		width: auto!important;
	}
	#sidebar {
		float: none!important;
		width: auto!important;
		padding-top: 0;
	}
	#sidebar p.tel,
	#sidebar p.email {
		padding-left: 40px;
		background-size: 20px auto;
		font-size: 1.6em;
	}
	
	/* footer */
	#wrapper-inner-footer-upper {
		background-size: 30% auto;
		background-position: 90% 20px;
	}
	#footer-upper aside {
		float: none;
		width: auto;
		margin-right: 0;
	}
	#footer-upper aside h2 {
		margin-bottom: 0.5em;
		font-size: 2em;
	}
	#footer-upper aside li {
		margin-bottom: 0.5em;
		font-size: 1.6em;
	}
	
	#footer-sister-site {
		float: none;
		max-width: none;
		min-height: 70px;
	}
	#footer-social {
		float: left;
	}
	#footer-social p {
		width: 175px;
	}
}

@media (max-width: 450px) {
	/* interim breakpoint */
	article .alignleft,
	#sidebar .alignleft,
	article .alignright,
	#sidebar .alignright,
	article .aligncenter,
	#sidebar .aligncenter {
		max-width: none;
		width: 100%;
	}
}

@media (max-width: 319px) {
	/* good interim breakpoint if needed for earlier iphones
	/* iphone 320 width, 480 landscape */
	/* galaxy nexus viewport is 360 x 519 */
}

@media (max-width: 240px) {
	/* even smaller phones if needed */
}