/*
Theme Name: Tenmat Product Finder
Author: GB / Wilson Cooke
Version: 1.0
*/

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, button {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}


body {
	font-family: "Poppins";
	color: #fff;
	background-color: #282828;
	font-size: 20px;
}

p {
	margin-bottom: 20px;
}

.row {
	width: 100%;
	position: relative;
}


.outerContainer {
	width: 90%;
	max-width: 1800px;
	min-width: 1440px;
	margin: 0 auto;
	position: relative;
	overflow-x: visible !important;
	box-sizing: border-box;
	padding: 0 10px;
}


.container {
	width: 85%;
	max-width: 1440px;
	margin: 0 auto;
	position: relative;
	overflow-x: visible !important;
	box-sizing: border-box;
	padding: 0 20px;
}

.fullWidth {
	width: calc(100% - 40px);
	margin: 0 20px;
}

.halfWidth {
	width: calc((100% / 2) - 40px);
	margin: 0 20px;
	float: left;
}

.quarterWidth {

	width: calc((100% / 4) - 40px);
	margin: 0 20px;
	float: left;
	
}

.oneThird {
	width: calc((100% / 3) - 40px);
	margin: 0 20px;
	float: left;
}

.twoThirds {
	width: calc(((100% / 3) * 2) - 40px);
	margin: 0 20px;
	float: left;
}


header {
	padding: 30px 0;
	box-shadow: 0px 3px 13px 0px rgba(0,0,0,0.2);
	margin-bottom: 10px;
}

header .logo img {
	max-height: 60px;
	width: auto;
	float: left;
}

.headerBar {
	float: right;
	margin-top: 10px;
}

.headerSocial {

	height: 30px;
	width: auto;
}



header .social {
	float: left;
}

.menuBar {
	float: left;
	padding: 8px 10px;
	border-radius: 4px;
	margin-top: -2px;
	margin-left: 20px;
	color: #fff;
    font-weight: 200;
    font-size: 1.6em;
    padding-top: 1px;
}

.headerMenu {
	height: 30px;
	width: auto;
	margin-bottom: -10px;
}


.homepageHeroSearch {
	border-radius: 4px;
	padding: 20px;
	box-sizing: border-box;
}



.resultsSearch {
	margin-top: 50px;
	margin-bottom: 50px;
}

.homepageHeroSearch {
	margin: 40px 0;
}


.searchBox {
	background-color: #fff;
	border-radius: 50px;
	width: 100%;
	border: 1px grey solid;
	margin-top: 20px;
	padding: 10px;
	box-sizing: border-box;
	overflow: hidden;
}

.searchBarInput {
	border: 0;
    padding: 5px;
    font-size: 20px;
    font-weight: 600;
    margin-top: 5px;
    margin-left: 20px;
    border-right: 1px solid #cacaca;
    width: calc(100% - 20px);
    box-sizing: border-box;
}

.searchBarInput.selected {
	background-color: #0d79cb;
	color: #fff;
	border-radius: 4px;
}

.searchBarInput.selected:focus {
	background-color: #fff;
	color: inherit;
}

.searchBarInput.selected::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fff;
  opacity: 1; /* Firefox */
}


.searchBox .inputBox {
	position: relative;
	float: left;
	width: calc(20% - 35px);
	margin-bottom: 0;
}

.searchBarResultsBox {
	position: fixed;
	background-color: #fff;
	padding: 20px;
	max-width: 300px;
	margin-top: 10px;
	border-radius: 10px;
	box-shadow: 0px 0px 2px rgba(0,0,0,0.6);
	display: none;
}



button, .button {
	padding: 10px 30px;
	border-radius: 4px;
	font-weight: 400;
	display: inline-block;
    margin-top: 20px;
}


.btnSmall {
	font-size: 0.8em;
	padding: 8px 20px;
}

.button {
	text-decoration: none;
	border-radius: 0;
}

.noMargin {
	margin:0;
}


.buttonBlack {
		color: #fff;
		border: 1px solid #fff;
		padding: 10px 30px;
		border-radius: 0;
}

.buttonWhite {
		color: #282828;
		background-color: #fff;
		padding: 10px 30px;
		border-radius: 0;
}


.buttonBlack a, .buttonWhite a {
	color: #fff;
	text-decoration: none;
	border-radius: 0;
}



.bgBlue {
	background-color: #0078ff;
	color: #fff;
}

.bgWhite {
	background-color: #fff;
	color: #3b3b3b;
}

button.bgWhite, .button.bgWhite {
	color: #0d79cb;
}

.bgGreen {
	background-color: #00a651;
	color: #fff;
}

.bgGrey {
	background-color: #c3c3c3;
	color: #fff;
}






h1 {
	font-size: 2.4em;
}

h2 {
	font-size: 1.8em;

	margin-bottom: 20px;
	color: #0078ff;
}

h3 {
	font-size: 1.4em;
	margin-bottom: 20px;
	color: #0078ff;
}




.offsetProjectsBlock {
	padding: 60px 0;
}

.ctaBlock {
	padding: 20px;
	border-radius: 30px;
	margin-bottom: 40px;
	box-sizing: border-box;
}

.ctaBlock span {
	font-size: 1.2em;
	font-weight: 600;
	margin-top: 10px;
}

.ctaBlock span.price {
	font-size: 1.4em;
	font-weight: 900;
}


.offsetProject {
	border-radius: 4px;
	background-color: #fff;
	overflow: hidden;
}

.offsetProject.oneThird {
	box-sizing: border-box;
	margin-bottom: 40px;
}


.offsetProjectContent {
	padding: 20px;
	box-sizing: border-box;
}

.offsetProject p {
	color: #282828;
}

.bottomMargin {
	margin-bottom: 40px;
}

.bottomDoubleMargin {
	margin-bottom: 80px;
}

.topMargin {
	margin-top: 40px;
}

.topDoubleMargin {
	margin-top: 80px;
}

.footerContent {
	
	background-color: #3b3b3b;
	color: #fff;
	text-align: center;
	padding: 40px 0;

}

.mainMenu {
	background-color: #0078ff;
	position: fixed;
	height: 100%;
	width: 95%;
	max-width: 400px;
	top: 0;
	right: -420px;
	padding: 30px;
	box-sizing: border-box;
	color: #fff;
	box-shadow: 0px -6px 4px 4px rgba(0,0,0,0.3);
}

.mainMenu ul {
	margin-top: 40px;
}

.mainMenu ul li a {
	color: #fff;
	text-decoration: none;
}

.mainMenu ul li a:hover {
	border-bottom: 1px dashed #fff;
}


.mainMenu ul li {

	font-size: 1.2em;
	font-weight: 400;
	list-style: none;
	margin-bottom: 10px;
}



.closeMainMenu {
	height: 40px;
	width: auto;
}

.slick-dots {
	text-align: center;
	margin-top: 20px;
}

.slick-dots li {
	list-style: none;
	display: inline-block;
}

.slick-dots button {
	height: 20px;
	width: 20px;
	background-color: #fff;
	border: 4px solid #fff;
	font-size: 0;
	line-height: 0;
	list-style: none;
	padding: 0;
	margin: 0;
	border-radius: 10px;
	margin-right: 10px;
}

.slick-dots .slick-active button  {
	background-color: #0d79cb;
}

.slick-slide {
	box-sizing: border-box;
	padding-right: 40px;
}


.toolTipIcon {
	height: 30px;
    margin-bottom: -5px;
    cursor: pointer;
    position: relative;
    background-image: url('/wp-content/themes/pigsmight/assets/images/tooltip.png');
    display: inline-block;
    width: 30px;
    background-size: cover;
}

.toolTip {
	display: none;
	background-color: #f1f1e3;
	border: 2px solid #525252;
	color: #000;
	padding: 20px;
	border-radius: 10px;
	font-weight: 400;
	font-size: 16px;
	z-index: 9999;
	width: 200px;
	left: 40px;
    top: -50%;
    

}

.toolTipIcon:hover .toolTip {
	display: inline-block;
	position: absolute;
	left: 40px;
}

.offsetProjectResult {
	border-radius: 20px;
	background-color: #fff;
	overflow: hidden;
}


.offsetProjectResult .oneThird {
	margin: 0;
}

.offsetCarouselResults .slick-dots {
	position: absolute;
	bottom: 20px;
	right: 40px;
}

.offsetCarouselResults .slick-dots .slick-active button  {
	background-color: #fff;
}

.offsetCarouselResults .slick-dots button {
	background-color: #0d79cb;
	border-color: #0d79cb;
}

.safTab {
margin-top: -5px;
    display: inline-block;
    padding: 10px;
    margin-left: 60px;
    border-radius: 0 0 20px 20px;
    font-size: 1.2em;
    font-weight: 600;
}

.safBox {

	display: none;
    padding: 20px;
    margin: 0 40px;
    margin-top: -5px;
    border-radius: 0 0 20px 20px;
    z-index: 30;
}

.slidecontainer {
    width: 70%;
    margin: 40px auto;
    display: inline-block;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 10px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0d79cb;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0d79cb;
  cursor: pointer;
}

.offsetSlider {
	text-align: center;
}

.offsetSlider span {
display: inline-block;
font-weight: 600;
font-size: 1.2em;
margin: 0 20px;
}




label {
	font-size: 0.8em;
	margin-top: 20px;
	display: block;
	
}

.formInput {
	border: 1px solid #cacaca;
	background-color: #fff;
    padding: 10px;
    font-size: 18px;
    font-weight: 400;
    width: calc(100% - 20px);
    box-sizing: border-box;
    color: #525252;
    width: 100%;
	-moz-appearance: none; 
	-webkit-appearance: none; 
	appearance: none;
}

select {
	background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 95% 50%;
}

.inputBox {
	margin-bottom: 20px;
}

.fieldCluster {
	border: 1px solid #cacaca;
	padding: 20px;
	border-radius: 10px;
	overflow: hidden;
	margin: 20px 0;
}

.inputBox.dob {
	margin-left: 0;
	margin-right: 5px;
	width: calc((100% / 3) - 5px);
}

.inputCheckbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	border: 0;
	border-radius: 2px;
	height:20px;
	width: 20px;
	background-color: #d0d0d0;
	float: left;
	margin-right: 5px;
}

.inputCheckbox:checked {
	border: 4px solid #d0d0d0;
	height: 20px;
	width: 20px;
	background-color: #078768;
}


.inputRadio {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	border: 0;
	border-radius: 40px;
	height:20px;
	width: 20px;
	background-color: #d0d0d0;
	float: left;
	margin-right: 5px;
}

.inputRadio:checked {
	border: 4px solid #d0d0d0;
	height: 20px;
	width: 20px;
	background-color: #078768;
}




label[ref="checkboxlabel"] {
	margin-top: 4px;
}

label[ref="checkboxlabel"] {
	margin-top: 4px;
}


.orderSummaryItem {
	margin-bottom: 10px;
	display: block;
	border-bottom: 1px dashed grey;
}




.bgWhite p a {
	color: #525252;
	text-decoration: none;
	border-bottom: 1px dashed #525252;
}

.bgWhite p a:hover {
	color: #000;
}

.productFinderQuestion {
	border-radius: 4px;
	overflow: hidden;
}

.productFinderQuestion .question {
	margin-bottom: 10px;
	color: #282828;

}


input.slotCheckbox {
	display: none;
}

input.slotCheckbox + label {
display: inline-block; width: 100%; margin: 10px 0 10px 0; border-radius: 5px; padding: 10px; box-sizing: border-box; position: relative; background-color: darkgrey;
}

.slotLabelButton.confirmed {
	background-color: #0078ff;
}

input.slotCheckbox + label:active, input.slotCheckbox:checked + label {
	background-color: #0078ff;
	color: #fff;
}


.matchCounter {

	text-align: center;
	border-radius: 7px;
	padding: 20px;
	box-sizing: border-box;
	position: fixed;
	width: 250px; 
	background-color: #0078ff;
}


.matchCounter .prodCount {
	font-size: 5em;
	font-weight: bold;
}






/* MEDIA QUERIES */

@media screen and (max-width:1500px) {

	.outerContainer { min-width: 200px;}

}


@media screen and (max-width:1200px) {
	.threeFifths { width: calc(100% - 20px);}
	.oneFifth { width: calc(100% - 20px);}
	.outerContainer { min-width: 100%; max-width: 100%;}

}



@media screen and (max-width:990px) {
	.container {width: 95%;}
	.fullWidth {width: calc(100% - 20px);}
	.oneThird {width: calc((100% / 3) - 40px);}
	.twoThirds {width: calc(((100% / 3) * 2) - 40px);}
	.heroSearchInput {width: 80%;}

}

@media screen and (max-width:950px) {
	.flightDetails { width: 100%;}
	.basketFlightDetails { width: 100%;}
	.date,.carrier,.from,.route,.to {width: calc((100% / 5) - 40px); margin: 0 20px; height: 60px;}
	.priceSelect {width: 100%; border-top: 1px solid #e9e9e9; padding: 10px;}
	.priceSelect .button {margin-top: 0; margin-left: 20px;}
	.priceSelect .price {display: inline-block;}
	.flightResult {padding-bottom: 10px;}
}



@media screen and (max-width:850px) {
	.container {width: 95%;}
	.fullWidth {width: calc(100% - 40px);}
	.halfWidth {width: calc(100% - 40px);}	
	.oneThird {width: calc(100% - 40px);}
	.twoThirds {width: calc(100% - 40px);}
	.fourFifths { width: calc(100% - 40px);}
	.callToAction .oneThird:not(:last-child) { border: 0;}
	.oneThird .ctaBlock {width: calc(50% - 40px);margin: 20px;float: left;}
	.offsetProjectResult .oneThird { width: 100%;}
	.safTab {margin-left: 60px; margin-right: 60px;}
	.date,.carrier {width: calc(50% - 40px); text-align: left !important;}
	.from,.to,.route {width: calc((100% / 3) - 40px);}
	.matchCounter {position: relative; width: calc(100% - 40px); margin: 0 auto;}
	.offsetProject img {width: 100%;}
	
}


@media screen and (max-width:790px) {
	
	.innerContainer {padding: 0;}
	.offsetProject.halfWidth {width: 100%;}
	.logo img { max-width: 150px;}
	.homepageSearch { margin-top: 100px; margin-bottom: 50px;}
	.searchBox .inputBox {width: calc(100% - 20px);}
	.searchBarInput {border-right: 0;}
	.searchButton{ float: none; margin-top: 40px;}
	.searchBox {text-align: center;}

}

@media screen and (max-width:600px) {

	.oneFifth {text-align: center;}

	.inputBox.formList { margin-left: 0; margin-top:20px;}
	.formField label { width: 100%;}
	.showMobile {display: block;}

}




