/*
====================================================================================================
Theme Name:     John Guest 2014
Theme URI:		http://www.johnguest.com
Description: 	New build and refresh for the 2014 version of the multilingual John Guest website,
				incorporating the Speedfit micro-site into WordPress multisite.
Author:         Rooster Creative Marketing
Author URI:     http://www.roostercreativemarketing.com
====================================================================================================
*/

/*
======
Fonts
======
*/

@import url("//hello.myfonts.net/count/2b4b57");

/* Eurostile condensed */
@font-face {
	font-family: 'EurostileLTStd-Cn';
		src: url('../fonts/2B4B57_1_0.eot');
		src: url('../fonts/2B4B57_1_0.eot?#iefix') format('embedded-opentype'),
			 url('../fonts/2B4B57_1_0.woff') format('woff'),
			 url('../fonts/2B4B57_1_0.ttf') format('truetype');
}

/* Eurostile bold */
@font-face {
	font-family: 'EurostileLTStd-Bold';
		src: url('../fonts/2B4B57_0_0.eot');
		src: url('../fonts/2B4B57_0_0.eot?#iefix') format('embedded-opentype'),
			 url('../fonts/2B4B57_0_0.woff') format('woff'),
			 url('../fonts/2B4B57_0_0.ttf') format('truetype');
}

/* Open sans semi-bold */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:600);

/*
==============
Simple resets
==============
*/

/* Remove all browser-default styles (margin, padding etc.) */
* {
	font: 400 1em/1 'EurostileLTStd-Cn', Arial, 'Helvetica Neue', Helvetica, sans-serif;
	list-style: none inside;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	     -o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		    box-sizing: border-box; /* Ensures elements don't expand their specified width with padding, borders etc. */
}

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

/* Maintain aspect ratio of images in responsive layouts */
img {
	max-width: 100%;
	height: auto;
}

/* Change colour of text/background in highlighted text */
::-moz-selection {
    color: #fff;
    text-shadow: none;
    background-color: #00aeef;
}

::selection {
    color: #fff;
    text-shadow: none;
    background-color: #00aeef;
}

/*
================
Global elements
================
*/

body {
	background-color: #fff;
}

h1 {
	font: bold 2.2em/1 'EurostileLTStd-Cn';
	color: #000;
	text-align: center;
}

h2 {
	font-size: 1.65em;
	color: #00aeef;
	margin: 34px 0 10px;
}

a {
	-webkit-transition: all 0.3s ease-in-out 0s;
	   -moz-transition: all 0.3s ease-in-out 0s;
	     -o-transition: all 0.3s ease-in-out 0s;
	    -ms-transition: all 0.3s ease-in-out 0s;
	        transition: all 0.3s ease-in-out 0s;
}

a:hover {
	-webkit-transition: all 0.3s ease-in-out 0s;
	   -moz-transition: all 0.3s ease-in-out 0s;
	     -o-transition: all 0.3s ease-in-out 0s;
	    -ms-transition: all 0.3s ease-in-out 0s;
	        transition: all 0.3s ease-in-out 0s;
}

.back-to-top {
	position: fixed;
	left: 0;
	top: 50%;
	width: 66px;
	height: 59px;
	font-size: 1.2em;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	display: block;
	padding-top: 26px;
	background: #00aeef url(../images/top-arrow.png) no-repeat center 12px;
}

.back-to-top:hover {
	background-color: #089ad1;
}

.mask {
	position: absolute;
	left: 0;
	top: 0;
	display: none;
	z-index: 9997;
	background-color: #000;
}

.pop-up {
	position: fixed;
	width: 899px;
	height: 530px;
	display: none;
	z-index: 9998;
	border: 2px solid #00aeef;
	background-color: #fff;
}

.pop-up iframe {
	display: block;
	margin: 25px auto;
}

.pop-up .close-button {
	position: absolute;
	top: -17px;
	right: -17px;
	z-index: 9999;
	cursor: pointer;
}

/*
===================
Layout & structure
===================
*/
/*
============
Header area
============
*/

header {
	width: 100%;
	/*height: 565px;*/
	height: 650px;
	background-color: #fff;
}

.home header {
	height: 715px;
	background-color: transparent !important;
}

.single-post header,
.archive.date header,
.archive.category header,
.search-results header {
	height: 535px;
}

.page-template-templatescompetition-page-php header {
	height: 560px;
}

.inner-header {
	width: 1010px;
	height: 100%;
	margin: 0 auto;
	padding-top: 34px;
}

/* Small logos */
.inner-header .small-logo {
	float: left;
	margin: 14px 17px 0 0;
}

.inner-header .small-logo a {
	display: block;
}

/* Main menu */
.inner-header .mobile-nav-button {
	width: 37px;
	height: 26px;
	cursor: pointer;
	display: none;
	float: left;
	margin: 0 0 12px 18px;
	background: url(../images/mobile-nav-bg.png) no-repeat left top;
}

.inner-header nav {
	width: auto;
	height: 44px;
	float: left;
	background: transparent url(../images/nav-bg.png) repeat-x;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	     -o-border-radius: 4px;
	    -ms-border-radius: 4px;
	        border-radius: 4px;
}

.mac.chrome .inner-header nav.main-nav {
	width: 795px;
}

.inner-header nav ul li {
	font-size: 0.9em;
	text-align: center;
	display: inline;
	float: left;
	border-right: 1px solid #bdbcbc;
}

.inner-header nav ul li:last-child {
	border: 0;
}

.inner-header nav ul li.menu-item-has-children {
	position: relative;
}

.inner-header nav ul li.menu-item-164,
.inner-header nav ul li.menu-item-133 {
	width: 198px;
	border-right: 1px solid #c6c6c6;
}

.inner-header nav ul li a {
	color: #000;
	text-decoration: none;
	display: block;
	padding: 13px 30px 14px;
}

.inner-header nav ul li a:hover,
.inner-header nav ul li.current-menu-item a,
.inner-header nav ul li.current-menu-parent a,
.inner-header nav ul li.current-page-ancestor a {
	color: #fff;
	background-color: #464646;
	padding-bottom: 17px;
}

/* Main menu drop-downs */
.inner-header nav ul li ul {
	position: absolute;
	top: 44px;
	width: 215px;
	display: none;
	z-index: 9998;
	padding: 14px 17px;
	/*border: 3px solid #464646;*/
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	     -o-border-radius: 4px;
	    -ms-border-radius: 4px;
	        border-radius: 4px;
	background-color: rgba(255, 255, 255, 0.8);
}

.inner-header nav ul li.menu-item-44 ul {
	width: 361px;
}

.inner-header nav ul li ul li {
	font-size: 1em;
	text-align: left;
	display: block;
	float: none;
	border: 0;
}

.inner-header nav ul li ul li.right,
.inner-header nav ul li ul li.right + li {
	width: 130px;
	float: right;
	padding-left: 17px;
	border-left: 1px solid #c6c6c6;
}

.inner-header nav ul li ul li.right + li {
	clear: right;
}

.inner-header nav ul li ul li a {
	padding: 0 0 8px;
}

.inner-header nav ul li.current-menu-item ul li a,
.inner-header ul li.current-menu-parent ul li a,
.inner-header nav ul li.current-page-ancestor ul li a {
	color: #000;
	padding: 0 0 8px;
	background: none;
}

.inner-header nav ul li ul li a:hover,
.inner-header nav ul li ul li.current-menu-item a,
.inner-header nav ul li ul li.current-page-ancestor a {
	color: #00aeef;
	padding: 0 0 8px;
	background: none;
}

/* Mobile menu */
.inner-header nav.mobile-nav {
	width: 100%;
	height: auto;
	display: none;
	border-radius: 0px;
	background: none;
}
	
.inner-header nav.mobile-nav ul li {
	position: relative;
	width: 100%;
	font-family: 'Open Sans';
	font-size: 0.95em;
	text-align: left;
	text-transform: uppercase;
	display: block;
	float: none;
	border-bottom: 2px solid #fff;
	background-color: #00aeef;
}

.inner-header nav.mobile-nav ul li:nth-child(2) ul li:nth-child(1),
.inner-header nav.mobile-nav ul li:nth-child(2) ul li:nth-child(3) {
	display: none;
}

.inner-header nav.mobile-nav ul li ul li.right + li {
	width: 100%;
	float: none;
	clear: none;
	padding-left: 16px;
	border-left: 0;
}


/*.inner-header nav.mobile-nav ul li.menu-item-has-children:after*/
.inner-header nav.mobile-nav ul li span.mobile-expand {
	position: absolute;
	top: 0;
	right: 0;
	width: 42px;
	height: 100%;
	font-size: 2.7em;
	font-weight: bold;
	color: #fff;
	text-align: center;
	cursor: pointer;
	display: block;
	z-index: 2;
	background-color: #0291c6;
}
	
.inner-header nav.mobile-nav ul li a {
	font-family: 'Open Sans', sans-serif;
	color: #fff;
	padding: 17px 19px;
}
	
.inner-header nav.mobile-nav ul li a:hover {
	padding: 17px 19px;
	background-color: transparent;
}
	
.inner-header nav.mobile-nav ul li.current-menu-item a:hover {
	background-color: #464646;
}

.inner-header nav.mobile-nav ul li ul {
	position: static;
	width: 100%;
	padding: 0;
	border-radius: 0px;
	background-color: #00aeef;
}

.inner-header nav.mobile-nav ul li ul li {
	font-size: 0.8em;
	padding-left: 16px;
	background-color: #0291c6;
}

.inner-header nav.mobile-nav ul li ul li:last-child {
	border: 0;
}

.inner-header nav.mobile-nav ul li ul li a:hover {
	color: #fff;
	background-color: #0291c6 !important;
}

.inner-header nav.mobile-nav ul li.current-menu-item ul li a,
.inner-header nav.mobile-nav ul li.current-menu-parent ul li a,
.inner-header nav.mobile-nav ul li.current-page-ancestor ul li a {
	color: #fff;
	padding: 17px 19px;
}

.inner-header nav.mobile-nav ul li.current-menu-item a:hover,
.inner-header nav.mobile-nav ul li.current-menu-parent a:hover,
.inner-header nav.mobile-nav ul li.current-page-ancestor a:hover {
	background-color: #464646;
}

.inner-header nav.mobile-nav ul li.current-menu-item ul li a:hover,
.inner-header nav.mobile-nav ul li ul li.current-menu-item a:hover {
	background-color: #0291c6;
}

/* Language picker */
.language {
	width: 52px;
	height: 34px;
	cursor: pointer;
	float: left;
	margin: 5px 0 0 20px;
}

.language .arrow {
	cursor: pointer;
	margin-left: 6px;
}

.language .flag.active {
	cursor: pointer;
}

.language .drop-down {
	width: 148px;
	display: none;
	padding: 0 17px 14px;
	/*border: 3px solid #464646;*/
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	     -o-border-radius: 4px;
	    -ms-border-radius: 4px;
	        border-radius: 4px;
	background-color: rgba(255, 255, 255, 0.8);
}

.language .drop-down ul li {
	margin-top: 20px;
	clear: both;
}

.language .drop-down ul li a {
	height: 34px;
	color: #353535;
	text-decoration: none;
	display: block;
}

.language .drop-down ul li img {
	float: left;
	margin-right: 10px;
}

.language .drop-down ul li p {
	font-size: 0.9em;
	padding-top: 9px;
}

/*
.language .lang_sel_click ul {
	width: 148px;
	padding: 14px 17px;
	border: 3px solid #464646;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	     -o-border-radius: 4px;
	    -ms-border-radius: 4px;
	        border-radius: 4px;
	background-color: #fff;
}

.language .lang_sel_click ul li {
	width: 100% !important;
	margin-bottom: 20px;
	float: none !important;
	clear: both;
}

.language .lang_sel_click ul li a {
	height: 34px !important;
	color: #353535;
	text-indent: -9999px;
	text-decoration: none;
	display: block;
	padding: 0 !important;
	border: 0 !important;
	background: 0 !important;
}

.language .lang_sel_click ul li ul {
	top: 52px !important;
	border: 0 !important;
}

.language .lang_sel_click ul li ul li a {
	text-indent: 0px;
}

.language .lang_sel_click ul li ul li a span {
	display: inline-block;
	margin-top: 12px;
}

.language .lang_sel_click ul li img {
	width: auto !important;
	height: auto !important;
	float: left;
	margin-right: 10px;
}

.language .lang_sel_click ul li p {
	padding-top: 9px;
}
*/

/* Main logo */
a.main-logo {
	width: 468px;
	display: block;
	margin: 40px auto 0;
}

/* Search form */
.search-form {
	width: 300px;
	/*margin: 25px auto 215px;*/
	margin: 25px auto 300px;
}

.search-form input {
	width: 260px;
	height: 30px;
	float: left;
	padding-left: 15px;
	border: 1px solid #808384;
	border-right: 0;
	-webkit-border-radius: 25px 0 0 25px;
	   -moz-border-radius: 25px 0 0 25px;
	     -o-border-radius: 25px 0 0 25px;
	    -ms-border-radius: 25px 0 0 25px;
	        border-radius: 25px 0 0 25px;
	-webkit-transition: all 0.3s ease-in-out 0s;
	   -moz-transition: all 0.3s ease-in-out 0s;
	     -o-transition: all 0.3s ease-in-out 0s;
	    -ms-transition: all 0.3s ease-in-out 0s;
	        transition: all 0.3s ease-in-out 0s;
	opacity: 0.5;
}

.search-form input.search-submit {
	width: 35px;
	cursor: pointer;
	padding: 0;
	border-left: 0;
	border-right: 1px solid #808384;
	-webkit-border-radius: 0px 25px 25px 0;
	   -moz-border-radius: 0px 25px 25px 0;
	     -o-border-radius: 0px 25px 25px 0;
	    -ms-border-radius: 0px 25px 25px 0;
	        border-radius: 0px 25px 25px 0;
	background: #616161 url(../images/search-icon.png) no-repeat center;
	/*background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzYxNjE2MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyZTJlMmUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);*/
	background: url(../images/search-icon.png) no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#616161), color-stop(100%,#2e2e2e)); /* Chrome,Safari4+ */
	background: url(../images/search-icon.png) no-repeat center, -webkit-linear-gradient(top,  #616161 0%,#2e2e2e 100%); /* Chrome10+,Safari5.1+ */
	background: url(../images/search-icon.png) no-repeat center, -moz-linear-gradient(top,  #616161 0%, #2e2e2e 100%); /* FF3.6+ */
	background: url(../images/search-icon.png) no-repeat center, -o-linear-gradient(top,  #616161 0%,#2e2e2e 100%); /* Opera 11.10+ */
	background: url(../images/search-icon.png) no-repeat center, -ms-linear-gradient(top,  #616161 0%,#2e2e2e 100%); /* IE10+ */
	background: url(../images/search-icon.png) no-repeat center, linear-gradient(to bottom,  #616161 0%,#2e2e2e 100%); /* W3C */
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#616161', endColorstr='#2e2e2e',GradientType=0 );*/ /* IE6-8 */
}

.search-form form:hover input {
	-webkit-transition: all 0.3s ease-in-out 0s;
	   -moz-transition: all 0.3s ease-in-out 0s;
	     -o-transition: all 0.3s ease-in-out 0s;
	    -ms-transition: all 0.3s ease-in-out 0s;
	        transition: all 0.3s ease-in-out 0s;
	opacity: 1;
}

/* Main sub-menus */
.inner-header nav.sub-nav {
	width: auto;
	height: auto;
	display: table;
	float: none;
	margin: 36px auto 0;
	background: none;
}

.inner-header nav.sub-nav ul li {
	font-size: 1.2em;
	text-align: left;
	margin-right: 25px;
	border: 0;
}

.inner-header nav.sub-nav ul li:first-child {
	width: auto;
	text-indent: 0px;
	background: none;
}

.inner-header nav.sub-nav ul li a {
	color: #353535;
	display: inline;
	padding: 0;
}

.inner-header nav.sub-nav ul li a:hover,
.inner-header nav.sub-nav ul li.current-menu-item a,
.inner-header nav.sub-nav ul li.current-page-ancestor a {
	color: #00aeef;
	background-color: transparent;
	padding: 0;
}

p.mobile-current-page {
	font-size: 1.1em;
	color: #00aeef;
	display: none;
	cursor: default;
	margin-bottom: 30px;
}

/*
=============
Main content
=============
*/

/* Main wrapper styles */
.main-wrapper {
	width: 1010px;
	margin: 0 auto;
	background-color: #fff;
}

.home .main-wrapper {
	background-color: transparent;
}

.page-id-14 .main-wrapper .main-wrapper {
	margin-top: 30px;
}

.main-wrapper.full {
	width: 100%;
	margin: 0;
}

.main-wrapper.competition {
	width: 960px;
}

.main-wrapper p {
	font-size: 0.95em;
	line-height: 20px;
	color: #353535;
	margin-bottom: 20px;
}

.main-wrapper p a {
	color: #00aeef;
	text-decoration: none;
}

.main-wrapper p a.active,
.main-wrapper p a:hover {
	text-decoration: underline;
}

.main-wrapper ul {
	margin-top: 5px;
	display: block;
}

.main-wrapper ul li {
	font-size: 0.95em;
	line-height: 20px;
	color: #353535;
	list-style: none outside;
	margin-bottom: 10px;
	padding-left: 13px;
	background: url(../images/list-marker.png) no-repeat left 7px;
}

.main-wrapper img.loading {
	display: block;
	margin: 30px auto;
}

/*
==================
Home page banners
==================
*/

.home-banners {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 670px;
	z-index: -1;
}

.home-banners a {
	width: 100%;
	height: 100%;
	display: block;
}

/*
======================
Home page thumb boxes
======================
*/

.home-thumb-box {
	width: 250px;
	text-align: center;
	float: left;
	margin: 50px 3px 0 0;
}

.home-thumb-box:nth-of-type(4) {
	margin-right: 0;
}

.home-thumb-box p {
	font-size: 1.1em;
	margin-bottom: 10px;
}

/*
===========================================
Product/category listings - Product boxes
===========================================
*/

.product-box {
	position: relative;
	width: 200px;
	height: 177px;
	text-align: center;
	float: left;
	margin: 23px 68px 23px 0;
}

.product-box:nth-of-type(4n+4) {
	margin-right: 0;
}

.product-box .rollover {
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	min-width: 100%;
	height: 100%;
	min-height: 100%;
	color: #fff;
	z-index: 2;
	overflow: scroll;
	opacity: 0;
	background-color: #00aeef;
	-webkit-transition: all 0.4s ease-in-out 0s;
	   -moz-transition: all 0.4s ease-in-out 0s;
	     -o-transition: all 0.4s ease-in-out 0s;
	    -ms-transition: all 0.4s ease-in-out 0s;
	        transition: all 0.4s ease-in-out 0s;
}

.product-box:hover .rollover {
	-webkit-transition: all 0.4s ease-in-out 0s;
	   -moz-transition: all 0.4s ease-in-out 0s;
	     -o-transition: all 0.4s ease-in-out 0s;
	    -ms-transition: all 0.4s ease-in-out 0s;
	        transition: all 0.4s ease-in-out 0s;
	opacity: 1;
}

.product-box .rollover p {
	font-size: 0.95em;
	color: #fff;
	text-align: center;
	margin: 12px 0 12px 12px;
}

.product-box .rollover table {
	font-size: 0.9em;
	color: #fff;
	text-align: left;
	margin-top: 12px;
}

.product-box .rollover table th {
	font-weight: bold;
	padding: 0 6px 6px;
}

.product-box .rollover table td {
	padding: 0 6px 4px;
}

.product-box a {
	width: 100%;
	height: 100%;
	text-decoration: none;
	display: block;
}

.product-box p {
	font-size: 1.05em;
	margin-top: 10px;
}

/*
========================
Individual Product page
========================
*/

.product-main {
	padding-top: 22px;
}

.product-main h1 {
	text-align: left;
	color: #353535;
}

.product-main table {
	font-size: 0.95em;
	color: #353535;
	margin: 26px 0;
}

.product-main table th {
	color: #00aeef;
	text-align: left;
	padding-bottom: 8px;
}

.product-main table td {
	padding: 0 80px 6px 0;
}

/* Further info (technical spec., accreditations etc.) */
.further-info {
	margin-top: 70px;
}

.further-info img.open-close {
	float: left;
	cursor: pointer;
	margin-top: 5px;
}

.further-info span.open-close {
	font-size: 2.5em;
	color: #00aeef;
	cursor: pointer;
}

.further-info h2 {
	cursor: pointer;
	display: inline-block;
	margin-top: 0;
	margin-bottom: 20px;
	padding-left: 18px;
}

.further-info .full-text {
	display: none;
}

.further-info .full-text div {
	width: 46%;
	float: left;
	margin: 20px 40px 15px 0;
}

.further-info .full-text div:nth-of-type(2n+2) {
	margin-right: 0;
}

.further-info .full-text div img {
	float: left;
	margin: 20px 20px 30px 0;
}

.further-info .full-text div.clear {
	width: auto;
	float: none;
	clear: both;
	margin: 0;
}

.further-info table {
	width: 640px !important;
	margin: 8px 0 24px;
	border-spacing: 0px;
	border-collapse: collapse;
}

.further-info table tr {
	border-bottom: 1px solid #00aeef;
}

.further-info table tr:last-child {
	border: 0;
}

.further-info table th {
	color: #fff;
	text-align: left;
	padding: 6px 18px;
	background-color: #00aeef;
}

.further-info table td {
	color: #00aeef;
	padding: 10px 18px;
}

/* Sidebar (image/videos etc.) */
aside.product-sidebar {
	width: 505px;
	height: 600px;
	float: right;
	padding-top: 22px;
}

aside.product-sidebar .product-video {
	text-align: center;
	float: left;
	margin-top: 38px;
}

aside.product-sidebar .product-video:first-of-type {
	margin-right: 10px;
}

/*
==============
Sub-page rows
==============
*/

.sub-page-row {
	width: 100%;
	height: 297px;
	margin-bottom: 6px;
	opacity: 0.65;
	-webkit-transition: all 0.3s ease-in-out 0s;
	   -moz-transition: all 0.3s ease-in-out 0s;
	     -o-transition: all 0.3s ease-in-out 0s;
	    -ms-transition: all 0.3s ease-in-out 0s;
	        transition: all 0.3s ease-in-out 0s;
}

.sub-page-row:hover {
	opacity: 1;
	-webkit-transition: all 0.3s ease-in-out 0s;
	   -moz-transition: all 0.3s ease-in-out 0s;
	     -o-transition: all 0.3s ease-in-out 0s;
	    -ms-transition: all 0.3s ease-in-out 0s;
	        transition: all 0.3s ease-in-out 0s;
}

.summary {
	width: 264px;
	height: 100%;
	margin-left: 11.1%;
	padding: 40px 8px 0 22px;
	background: url(../images/summary-bg.png) repeat;
}

.summary h2 {
	font-size: 1.9em;
	color: #353535;
	margin: 0 0 10px;
}

.summary h2 a {
	color: #00aeef;
	text-decoration: none;
}

.summary h2 a:hover {
	text-decoration: underline;
}

.summary p {
	font-size: 1em;
	line-height: 22px;
	margin-bottom: 10px;
	padding-right: 22px;
}

.summary img {
	margin-top: 10px;
}

/* Sliding banners */
.sub-page-row-inner {
	width: 1010px;
	height: 100%;
	margin: 0 auto;
}

.sliders {
	position: relative;
	width: 629px;
	height: 100%;
	float: right;
}

.sliders ul {
	margin: 0;
}

.sliders ul li,
.text-slides ul li {
	font-size: 1em;
	margin: 0;
	padding: 0;
	background: none;
}

.sliders ul.custom-arrows {
	position: absolute;
	top: 132px;
	width: 100%;
	z-index: 9996;
}

.sliders ul.custom-arrows li {
	position: static;
	width: 35px;
	height: 34px;
	text-indent: -9999px;
	cursor: pointer;
	margin: 0;
}

.sliders ul.custom-arrows li.slider-prev {
	float: left;
	margin-left: 12px;
	background: url(../images/slider-left.png) no-repeat;
}

.sliders ul.custom-arrows li.slider-next {
	float: right;
	margin-right: 12px;
	background: url(../images/slider-right.png) no-repeat;
}

.flex-direction-nav {
	display: none !important;
}

/*
=====================
Innovation & quality
=====================
*/

.award {
	position: relative;
	width: 191px;
	height: 147px;
	text-align: center;
	cursor: pointer;
	float: left;
	margin: 26px 60px 50px 0;
}

.award:nth-of-type(4n+4) {
	margin-right: 0;
}

.award .rollover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	z-index: 2;
	padding: 0 20px;
	opacity: 0;
	background-color: #00aeef;
	-webkit-transition: all 0.4s ease-in-out 0s;
	   -moz-transition: all 0.4s ease-in-out 0s;
	     -o-transition: all 0.4s ease-in-out 0s;
	    -ms-transition: all 0.4s ease-in-out 0s;
	        transition: all 0.4s ease-in-out 0s;
}

.award:hover .rollover {
	opacity: 1;
	-webkit-transition: all 0.4s ease-in-out 0s;
	   -moz-transition: all 0.4s ease-in-out 0s;
	     -o-transition: all 0.4s ease-in-out 0s;
	    -ms-transition: all 0.4s ease-in-out 0s;
	        transition: all 0.4s ease-in-out 0s;
}

.award .rollover p {
	color: #fff;
}

/*
===============================
Speedfit technology animations
===============================
*/

.page-template-templatesspeedfit-tech-page-php iframe {
	/*width: 1010px;
	height: 450px;*/
	display: block;
	overflow: hidden;
	margin: 10px auto 80px;
}

/*
====================
Technical downloads
====================
*/

.right-block {
	width: 755px;
	float: right;
}

.download {
	width: 245px;
	height: 245px;
	float: left;
	margin: 0 10px 10px 0;
}

.download:nth-of-type(3n+3) {
	margin-right: 0;
}

.download a {
	position: relative;
	width: 100%;
	height: 100%;
	color: #fff;
	text-decoration: none;
	display: block;
}

.download a:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 115px;
	text-align: center;
	padding-top: 42px;
	opacity: 0;
	background-color: #000;
	-webkit-transition: all 0.4s ease-in-out 0s;
	   -moz-transition: all 0.4s ease-in-out 0s;
	     -o-transition: all 0.4s ease-in-out 0s;
	    -ms-transition: all 0.4s ease-in-out 0s;
	        transition: all 0.4s ease-in-out 0s;
}

.download a:hover:after {
	content: url(../images/download-icon.png);
	opacity: 0.5;
	-webkit-transition: all 0.4s ease-in-out 0s;
	   -moz-transition: all 0.4s ease-in-out 0s;
	     -o-transition: all 0.4s ease-in-out 0s;
	    -ms-transition: all 0.4s ease-in-out 0s;
	        transition: all 0.4s ease-in-out 0s;
}

.download .download-info {
	height: 91px;
	padding: 5px 15px;
	background-color: #00aeef;
}

.download .download-info p {
	font-size: 1.05em;
	line-height: 21px;
	color: #fff;
}

/* Videos */
.tech-video {
	width: 245px;
	height: 195px;
	float: left;
	margin-right: 10px;
}

.tech-video:nth-of-type(3n+2) {
	margin: 0;
}

/*.tech-video:nth-child(3n+3) {
	margin: 0;
}*/

.tech-video p {
	text-align: center;
	margin-top: 10px;
}

/* Downloads sidebar */
aside.left-sidebar {
	width: 255px;
	/*height: 650px;*/
	float: left;
}

.parent-pageid-14 aside.left-sidebar,
.parent-pageid-109 aside.left-sidebar {
	height: auto;
	margin: 0 24px 20px 0;
}

.parent-pageid-14 aside.left-sidebar img,
.parent-pageid-109 aside.left-sidebar img {
	margin-bottom: 10px;
}

/*
.page-id-16 aside.left-sidebar {
	height: 1000px;
}
*/

aside.left-sidebar h2 {
	margin-top: 0;
}

aside.left-sidebar ul li {
	padding: 0;
	background: none;
}

aside.left-sidebar ul li a {
	color: #353535;
	text-decoration: none;
}

aside.left-sidebar ul li.active a,
aside.left-sidebar ul li a:hover {
	color: #00aeef;
}

.left-sidebar select {
	width: 213px;
	height: 26px;
	color: #353535;
	margin-top: 7px;
	padding-left: 4px;
	border: 1px solid #999;
}

.left-sidebar .address {
	width: 213px;
	margin: 22px 0;
}

.left-sidebar .address img.contact-flag {
	margin-bottom: 11px;
}

.left-sidebar .address strong {
	font-weight: bold;
}

/*
=============
Contact form
=============
*/



.contact-us {
	height: 580px;
}

.wpcf7-form {
	margin: 30px 0;
}

.wpcf7-form p {
	display: inline;
}

.wpcf7-form label {
	width: 11%;
	font-size: 1.1em;
	color: #00aeef;
	display: inline-block;
	margin-bottom: 32px;
}

.wpcf7-form input {
	width: 249px;
	height: 26px;
	color: #353535;
	margin-right: 12px;
	padding-left: 4px;
	border: 1px solid #999;
}

.wpcf7-form textarea {
	width: 625px;
	height: 100px;
	padding: 3px 4px;
	border: 1px solid #999;
}

.wpcf7-form input.wpcf7-submit,
.wpcf7-form input.reset {
	width: 119px;
	height: 27px;
	color: #fff;
	cursor: pointer;
	float: right;
	padding: 0;
	margin-right: 19px;
	border: 0;
	background-color: #00aeef;
}

.wpcf7-form input.reset {
	background-color: #464646;
}

.wpcf7-form span.wpcf7-not-valid-tip,
.wpcf7-form.contact-form-uk span.wpcf7-not-valid-tip, 
.wpcf7-form.contact-form span.wpcf7-not-valid-tip {
	display:none!important;
}

textarea.wpcf7-not-valid,
.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form.contact-form-uk.invalid .wpcf7-not-valid {
    border: 1px solid red;
}

div.wpcf7:after {
	content: "";
    height: 0;
    display: block;
    visibility: hidden;
    clear: both;	
}

.page-template-templates .contact-us {
    height: auto!important;
}

/*
========================
Postcode Finder
========================
*/

#postcode_lookup #opc_input {
    display: inline;
    width: 60%;
    margin-right: 2%;
    color: #999999 !important;
    font-size: 0.95em;
    margin-left: -4px; 
}

#postcode_lookup button#opc_button {
    border: none;
    background-color: #ed1b2e;
    font-size: 0.95em;
    padding: 4px 25px;
    color: #ffffff;
}

#postcode_lookup select#opc_dropdown {
    border: 1px solid #999999;
    width: 100%;
    margin-bottom: 1em;
}

.wpcf7-form.contact-form-uk #postcode_lookup select#opc_dropdown {
    max-width: 598px;
    margin-bottom: 1.5em;
    display: block;
    width: 100%;
}

.wpcf7-form.contact-form-uk #postcode_lookup #opc_input {
    width: 235px;
}

.wpcf7-form.contact-form-uk #postcode_lookup button#opc_button {
    padding: 7px 25px;
}

.wpcf7-form.contact-form-uk #postcode_lookup{
	display:inline;
}

.wpcf7-form.contact-form-uk.invalid .wpcf7-not-valid{
	border:1px solid red;
}

.wpcf7-form.contact-form-uk input{
	width:235px;
}

.wpcf7-form.contact-form-uk #postcode_lookup select#opc_dropdown {
    max-width: 598px;
    margin-bottom: 1.5em;
    display: block;
    width: 100%;
}

.wpcf7-form.contact-form-uk #postcode_lookup #opc_input {
    width: 235px;
}

.wpcf7-form.contact-form-uk #postcode_lookup button#opc_button {
    padding: 7px 25px;
}

.wpcf7-form.contact-form-uk select {
    width: 235px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    color: #00aeef;
    margin-right: 0;
    padding-left: 0;
    margin-right: 12px;
    padding-left: 4px;
    border: 1px solid #999;
    height: 30px;
    background-color: transparent;
} 

/* Google Map */
.page-template-templatescontact-page-php .main-wrapper.full {
	position: relative;
}

.map {
	width: 100%;
	height: 400px;
}

.map img {
	max-width: none !important;
}

.map-address {
	position: absolute;
	width: 264px;
	height: 100%;
	z-index: 9997;
	margin-left: 11.1%;
	padding: 22px 22px 0;
	background: url(../images/map-overlay-bg.png) repeat;
}

.map-address img.contact-flag {
	display: none !important;
}

#wpcf7-f4-p18-o1{
	display:none;
}

/*
====================
Competition page(s)
====================
*/

.competition-images {
	width: 411px;
	/*height: 500px;*/
}

.competition-images .top-text {
	width: 100%;
	height: 406px;
	display: table;
	border: 1px solid #d1d1d1;
}

.competition-images .top-text div {
	display: table-cell;
	vertical-align: middle;
}

.competition-images .top-text h1 {
	font: bold 5.3em/1 'EurostileLTStd-Bold';
	margin: 0;
}

.competition-images .top-text h2 {
	font: bold 2.1em/1 'EurostileLTStd-Bold';
	margin: 4px 0 24px 0;
}

.competition-images .top-text h1 span,
.competition-images .top-text h2 span {
	font-weight: bolder;
}

.competition-images .top-text p {
	font-size: 1.65em;
	line-height: 33px;
	color: #000;
}

.competition-images .top-text strong {
	font-weight: bold;
}

.competition-images .comp-videos .product-video {
	height: 147px;
	float: left;
	margin: 11px 15px 0 0;
	border: 1px solid #d1d1d1;
}

.competition-images .comp-videos .product-video:nth-of-type(2n+2) {
	margin-right: 0;
}

.competition-images .comp-videos .product-video a {
	position: relative;
	width: 100%;
	height: 100%;
	color: #fff;
	text-decoration: none;
	display: block;
}

.competition-images .comp-videos .product-video a:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	opacity: 0;
	background-color: #000;
	-webkit-transition: all 0.4s ease-in-out 0s;
	   -moz-transition: all 0.4s ease-in-out 0s;
	     -o-transition: all 0.4s ease-in-out 0s;
	    -ms-transition: all 0.4s ease-in-out 0s;
	        transition: all 0.4s ease-in-out 0s;
}

.competition-images .comp-videos .product-video a:hover:after {
	content: url(../images/play-icon.png);
	opacity: 0.5;
	-webkit-transition: all 0.4s ease-in-out 0s;
	   -moz-transition: all 0.4s ease-in-out 0s;
	     -o-transition: all 0.4s ease-in-out 0s;
	    -ms-transition: all 0.4s ease-in-out 0s;
	        transition: all 0.4s ease-in-out 0s;
}

/* Form */
.competition-form {
	width: 502px;
	float: right;
}

.competition-form .wpcf7-form p {
	display: block;
	margin-bottom: 0;
}

.competition-form .wpcf7-form label {
	width: 24%;
	margin-bottom: 29px;
}

.competition-form .wpcf7-form input,
.competition-form .wpcf7-form textarea {
	width: 368px;
}

.competition-form .wpcf7-form input.reset,
.competition-form .wpcf7-form input.wpcf7-submit {
	width: 119px;
}

.competition-form span.wpcf7-not-valid-tip {
	margin: -18px 0 18px 120px;
}

/*
===============
Search results
===============
*/

.search-results article {
	width: 1010px;
	height: 297px;
	margin: 0 auto 6px;
	background-color: #ddd;
}

.search-results article img.pic {
	max-height: 100%;
	float: right;
}

.search-results .next {
	float: left;
	margin-top: 30px;
}

.search-results .previous {
	float: right;
	margin-top: 30px;
}

.search-results .next a,
.search-results .previous a {
	color: #00aeef;
	text-decoration: none;
}

.search-results .next a:hover,
.search-results .previous a:hover {
	text-decoration: underline;
}

/*
============
Footer area
============
*/

footer {
	width: 1010px;
	font-size: 0.9em;
	text-align: center;
	margin: 57px auto 28px;
	padding-top: 24px;
	border-top: 1px solid #ccc;
}

footer p {
	color: #888;
	line-height: 21px;
}

footer a {
	color: #888;
	text-decoration: none;
	display: inline-block;
}

footer a:hover {
	text-decoration: underline;
}

footer a img {
	display: inline-block;
	margin-right: 12px;
}

footer .textwidget {
	margin-bottom: 9px;
}

/*
========================
HTML Sitemap
========================
*/

.kwayy-html-sitemap-wrapper ul li {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    color: #00aeef;
    list-style-position: inside;
    list-style-type: disc;
}

.kwayy-html-sitemap-wrapper ul li a {
    color: #00aeef;
    text-decoration: none;
}

.kwayy-html-sitemap-wrapper h2 {
    color: #000000;
    margin-bottom: 1em;
}

/*
========================
Breadcrumbs
========================
*/

.breadcrumb {
    margin-bottom: 2em;
}

.breadcrumb a {
    color: #00aeef;
    text-decoration: none;
}

.breadcrumb span {
    line-height: 1.6em;
}

/*
========================
Homepage Pagination Fix
========================
*/

.page-template-templateshome-page-php .home-banners {
	z-index: 1; /* Changed by Matt */
}

.page-template-templateshome-page-php .inner-header {
	height: auto; /* Removed by Matt */
	position: relative; /* Added by Matt */
	z-index: 9999; /* Added by Matt */
}

/*
===================================
TECHNICAL SUPPORT TABS 23-8-16
===================================
*/

.page-template-technical-page header {
	height: auto;	
}

.page-template-technical-page .inner-header nav.sub-nav {
	margin-bottom: 20px;
	width: 100%;
    max-width: 755px;
    float: right;	
}

.page-template-technical-page .inner-header nav.sub-nav ul li {
	border: 1px solid #00aeef;
	border-bottom: 0;
	margin-right: 20px;	
}

.page-template-technical-page .inner-header nav.sub-nav ul li:last-child {
	margin-right: 0;	
}

.page-template-technical-page .inner-header nav.sub-nav ul li a {
	padding: 10px 20px;
	display: block;
}

.page-template-technical-page .inner-header nav.sub-nav ul li a:hover,
.page-template-technical-page .inner-header nav.sub-nav ul li a.active-tab {
	color: #00aeef;
}
