/**
 * Global stylesheet
 *
 * package: 	J & J Motors
 * version: 	1.8
 */


/* 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 {
	margin: 0; 
	padding: 0; 
	border: 0; 
	font-size: 100%; 
	font: inherit; 
	vertical-align: baseline; 
}

img {
	vertical-align: middle;
	width: auto;
}

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

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; 
}


/* clear */

.clearfix { 
	display: block; 
}

.clearfix:after { 
	content: "."; 
	display: block; 
	clear: both; 
	visibility: hidden; 
	line-height: 0; 
	height: 0; 
	margin: 0; 
	padding: 0; 
}

.clearflow {
	overflow: hidden;
}


/* structure */

body {
	padding: 0px;
	margin: 0px;
	background: #e4e4e4;
	color: #3f3f3f;
	line-height: 2.5rem;
	font-size: 16px;
	position: relative;
}

.container {
	width: 90%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 80px 5%;
}

.inner-container {
	padding: 40px;
}

.row [class*='col']:first-child { 
	margin: 0; 
}

.col { 
	width: 47.5%;
	margin-left: 5%; 
	float: left;
}

@media screen and (max-width: 980px) {
	.container {
		padding: 80px 5%;
	}
	
	.col,
	.col:first-child {
		width: 100%;
		margin: 40px 0 0 0;
		text-align: center;
	}

	.col:first-child {
		margin-top: 0;
	}
}


/* animations */

#site-header,
#site-header .item,
#gallery .gallery-container figure img,
.back-to-top {
	-webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

@keyframes wobble  {
	0%  { 
		transform:  rotate(-8deg);
	}
	50%  { 
		transform:  rotate(8deg);
	}
	100%  { 
		transform:  rotate(-8deg);
	}
}

@keyframes glowing  {
	0%  { 
		text-shadow: 0px 0px 50px rgba(255, 255, 255, 0.25);
	}
	50%  { 
		text-shadow: 0px 0px 50px rgba(255, 255, 255, 1);
	}
	100%  { 
		text-shadow: 0px 0px 50px rgba(255, 255, 255, 0.25);
	}
}


/* fonts */

body,
h1,
h2, 
h3, 
h4, 
h5, 
h6,
input,
textarea {
	font-family: 'Open Sans', sans-serif;
}

.title {
	font-family: 'Kanit', sans-serif;
}

.trigger:before,
.back-to-top:before,
.flex-direction-nav a:before,
#booking .section-content .excerpt li:before,
.button span:after {
	font-family: "Font Awesome 5 Pro";
}


/* typography */

h1,
h2, 
h3, 
h4, 
h5, 
h6 {
	font-weight: 400;
	color: #3f3f3f;
}

h1 {
	font-size: 58px;
	line-height: 48px;
}

h2 {
	font-size: 32px;
	line-height: 2.75rem;
}

h3 {
	font-size: 26px;
}

h4 {
	font-size: 22px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-size: 14px;
}

a,
a:hover {
	color: #3f3f3f;
	text-decoration: none;
}


/* content */

.item {
	position: relative;
	overflow: hidden;
}

.content {
	position: absolute;
	top: 50%;
	left: auto;
	right: auto;
	z-index: 50;
	box-sizing: border-box;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.content-wrapper {
	position: relative;
	display: block;
	padding: 80px;
}

.content-wrapper-content {
	position: relative;
	z-index: 50;
}

.pretitle {
	font-weight: 200;
	font-size: 22px;
}

.title {
	font-size: 26px;
	line-height: 38px;
	font-weight: 400;
}

.sub-title {
    font-size: 18px;
    line-height: 26px;
	font-weight: 700;
	margin-top: 40px;
}

.pre-title {
    font-size: 14px;
    line-height: 28px;
	text-transform: uppercase;
	font-weight: 700;
}

.excerpt {
    margin-top: 20px;
    font-size: 16px;
    line-height: 28px;
}

.excerpt p,
.excerpt ul {
	margin-top: 40px;
}

.excerpt p:first-child {
	margin-top: 0;
}

@media screen and (max-width: 980px) {
	.title {
		font-size: 36px;
		line-height: 48px;
	}
}

@media screen and (max-width: 768px) {
	.title {
		font-size: 32px;
		line-height: 44px;
	}

	.excerpt {
		font-size: 14px;
		line-height: 28px;
	}
}

@media screen and (max-width: 480px) {
	.title {
		font-size: 22px;
		line-height: 28px;
	}
}


/* elements */

.toggler {
    display: none;
}

.toggler-trigger {
    cursor: pointer;
}

.toggler-trigger span {
	background: #dfdfdf;
	padding: 10px;
}

.toggler-trigger span i {
	margin-left: 10px;
}

.toggler-trigger:hover span {
	background: #cfcfcf;
}

.small {
	font-size: 10px;
	line-height: 16px;
	text-transform: uppercase;
}

.shaped {
	position: relative;
}

.shaped span {
	position: relative;
	background:  #eee;
	z-index: 15;
	padding: 15px;
	-webkit-clip-path: polygon(0% 0%, 90% 10%, 100% 99%, 0% 85%);
	clip-path: polygon(0% 0%, 90% 10%, 100% 99%, 0% 85%);
}

.shaped:after {
	position: absolute;
	content: '';
	left: 0;
	background: #e4e4e4;
	width: 50%;
	height: 100%;
	display: inline-block;
	margin: -35px 0 0 -30px;
	padding: 20px;
	z-index: 10;
	-webkit-clip-path: polygon(0% 0%, 90% 5%, 80% 75%, 5% 80%);
	clip-path: polygon(0% 0%, 90% 5%, 80% 75%, 5% 80%);
}

.shapes {
	position: relative;
	min-height: 400px;
}

.shaded {
	position: absolute;
	background: #e4e4e4;
	width: 600px;
	height: 500px;
	-webkit-clip-path: polygon(0% 0%, 90% 5%, 80% 75%, 3% 68%);
	clip-path: polygon(0% 0%, 90% 5%, 80% 75%, 3% 68%);
}

.hidden {
	display: none;
}

.image img {
	width: 100%;
}

.colored .title,
.colored .sub-title,
.colored .pre-title,
.colored .excerpt p,
.colored .icon i,
.colored li,
.colored a {
	color: #fff;
}

.button {
	display: inline-block;
	text-align: center;
	background: #FCD458;
	cursor: pointer;
	margin: 40px auto 0;
}

.button span {
	display: block;
	padding: 12px 30px;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 700;
	color: #fff;
}

.button:hover span {
	color: #fff;
}

.button:hover span:after {
	margin-left: 10px;
	margin-right: 5px;
	visibility: visible;
}

.badge {
	position: absolute;
	top: -50px;
	left: -50px;
	background: #fff;
	width: 100px;
	height: 100px;
	padding: 10px;
	line-height: 14px;
	text-align: center;
	border: 5px solid #134E5E;
	border-radius: 50%;
	-webkit-transform: rotate(-20deg);
	transform: rotate(-20deg);
	box-sizing: border-box;
}

.badge span {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.badge span:first-of-type {
	font-size: 32px;
	margin: 10px 0;
	color: #fff;
	-webkit-text-stroke: 2px #71B280;
}

.standout {
	font-weight: 800;
}

.highlight {
	color: #fff;
}

.slanted {
	font-style: italic;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(2,27,121, 0.8);
	background: -webkit-linear-gradient(to right, rgba(5,117,230,0.8), rgba(2,27,121, 0.8));
	background: linear-gradient(to right, rgba(5,117,230,0.8), rgba(2,27,121, 0.8));
	z-index: 25;
}

@media screen and (max-width: 980px) {
	.badge {
		left: 50%;
		margin-left: -50px;
	}
}

@media screen and (max-width: 580px) {
	.shapes {
		min-height: unset;
	}
}


/* site header */

#site-header {
	position: fixed;
	background: none;
	top: 0;
	left: 0;
	right: 0;
	bottom: auto;
	padding: 20px 40px;
	z-index: 75;
}

#site-header .col {
	width: 80%;
	margin-left: 0;
}

#site-header .col:first-child {
	width: 20%;
}

#site-header figure {
	position: relative;
	line-height: 70px;
	z-index: 50;
}

#site-header .image img {
	width: auto;
}

#site-header .shaded {
	position: absolute;
	background: rgba(255, 255, 255, 0.2);
	top: 16px;
    left: 15px;
    z-index: 20;
    width: 339px;
    height: 104px;
    margin-left: -6px;
	-webkit-clip-path: polygon(2% 9%, 90% 1%, 80% 72%, 7% 83%);
    clip-path: polygon(2% 9%, 90% 1%, 80% 72%, 7% 83%);
}

@media screen and (max-width: 1720px) {
	#site-header .col {
		width: 20%;
	}

	#site-header .col:first-child {
		width: 80%;
	}
}

@media screen and (max-width: 980px) {
	#site-header .col,
	#site-header .col:first-child {
		text-align: left;
	}
}

@media screen and (max-width: 768px) {
	#site-header {
		background: rgba(3,22,47, 1);
	}

	#site-header .shaded {
		height: 95px;
	}
}

@media screen and (max-width: 480px) {
	#site-header figure {
		max-width: 140px;
	}

	#site-header .image img {
		width: 100%;
	}

	#site-header .shaded {
		width: 229px;
	}
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
	#site-header .shaded {
		height: 80px;
	}
}

@supports (-ms-ime-align:auto) {
	#site-header .shaded {
		height: 80px;
	}
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	#site-header .item {
		background-attachment: scroll;
	}
}

@media all and (-ms-high-contrast:none) {
	#site-header .item {
		background-attachment: scroll;
	}
}


/* site header - active */

#site-header.active {
	background: rgba(3,22,47, 0.9);
}


/* main menu */

#main-nav .section-content.container {
	padding-top: 0;
	padding-bottom: 0;
}

#main-nav .col {
	width: 100%;
	margin: 0;
}

#main-nav ul {
	text-align: right;
}

#main-nav li {
	font-size: 14px;
	font-weight: 700;
	display: inline-block;
}

#main-nav li a {
	display: block;
	color: #fff;
	padding: 0 25px;
}

#main-nav li a span {
	display: inline-block;
	padding: 0;
}

#main-nav li:hover a {
	color: #FCD458;
}

#main-nav li.menu-telephone {
	background: #FCD458;
	padding: 20px;
	font-size: 18px;
	display: inline-block;
	-webkit-clip-path: polygon(11% 18%, 90% 9%, 98% 84%, 5% 100%);
	clip-path: polygon(11% 18%, 90% 9%, 98% 84%, 5% 100%);
}

#main-nav li.menu-telephone:hover span {
	color: #fff;
}

@media screen and (max-width: 1720px) {
	#main-nav ul {
		text-align: center;
		margin: 20px 0;
	}

	#main-nav li {
		display: block;
		line-height: 32px;
	}

	#main-nav li:hover a {
		color: #fff;
	}

	#main-nav li.menu-telephone {
		display: none;
	}
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
	#main-nav li.menu-telephone {
		padding: 15px;
	}
}

@supports (-ms-ime-align:auto) {
	#main-nav li.menu-telephone {
		padding: 15px;
	}
}


/* trigger */

.trigger {
	float: right;
	cursor: pointer;
	display: none;
	padding: 9px 17px 4px 17px;
	position:  absolute;
	box-sizing: border-box;
	z-index: 100;
	line-height: 50px;
	text-align: center;
	right: 5%;
}

.trigger:before {
	content: '\f0c9';
	font-size: 32px;
	color: #fff;
}

.slideout {
	display: none;
}

@media screen and (min-width: 1721px) {
    .slideout {
        display: block !important;
    }
}

@media screen and (max-width: 1720px) {
	.trigger {
		display: block;
	}

	.slideout {
		background: #FCD458;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: auto;
	}
}

@media screen and (max-width: 768px) {
	.slideout {
		top: 110px;
	}
}


/* sections */

section {
	overflow: hidden;
	background: #fff;
}



main section:first-of-type {
	margin-top: 0;
}

#main-content.active section:first-of-type {
	margin-top: 0;
}

.section-header .col,
.section-footer .col {
	width: 100%;
	text-align: center;
}

.section-header.container {
	padding-bottom: 0;
}

.section-header .title {
    font-size: 32px;
    line-height: 38px;
	text-transform: uppercase;
	font-weight: 700;
    background: #3E84DC;
	color: #fff;
    padding: 45px;
    display: inline-block;
	-webkit-clip-path: polygon(8% 16%, 90% 9%, 98% 84%, 5% 79%);
    clip-path: polygon(8% 16%, 90% 9%, 98% 84%, 5% 79%);
}


.section-footer.container {
	padding-top: 0;
}

@media screen and (max-width: 768px) {
	main section:first-of-type {
		margin-top: 110px;
	}
}

@media screen and (max-width: 580px) {
	.section-header .title {
		font-size: 26px;
		line-height: 32px;
	}
}

@media screen and (max-width: 480px) {
	.section-header .title {
		font-size: 18px;
		line-height: 24px;
	}
}


/* section: introduction */

#introduction .container {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 50;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

#introduction .button {
	position: absolute;
	right: -68px;
    bottom: -59px;
	-webkit-clip-path: polygon(0% 11%, 90% 0%, 100% 90%, 7% 86%);
    clip-path: polygon(0% 11%, 90% 0%, 100% 90%, 7% 86%);
}

#introduction .shaded {
	position: absolute;
	background: rgba(255, 255, 255, 0.2);
	top: 0;
	left: 0;
	z-index: 20;
	width: 900px;
	height: 480px;
	margin-top: -120px;
	margin-right: -45px;
	-webkit-clip-path: polygon(2% 9%, 90% 1%, 81% 82%, 7% 83%);
	clip-path: polygon(2% 9%, 90% 1%, 81% 82%, 7% 83%);
}

#introduction li:nth-child(even) .shaded {
	right: 0;
	left: auto;
	-webkit-clip-path: polygon(17% 6%, 97% 0%, 100% 84%, 22% 79%);
	clip-path: polygon(17% 6%, 97% 0%, 100% 84%, 22% 79%);
}

#introduction li:nth-child(even) .button {
	bottom: -112px;
	right: auto;
	-webkit-clip-path: polygon(0% 11%, 90% 0%, 100% 90%, 7% 86%);
    clip-path: polygon(0% 11%, 90% 0%, 100% 90%, 7% 86%);
    left: -94px;
}

#introduction .col {
	width: 100%;
}

#introduction .slides li:nth-child(even) .content {
	right: 0;
}

#introduction .content {
	text-align: left;
	width: 600px;
}

#introduction .title {
	font-size: 48px;
	line-height: 52px;
	font-weight: 700;
	margin-top: 10px;
}

#introduction .pre-title {
	color: #FCD458;
	font-weight: 900;
}

@media screen and (max-width: 1180px) {
	#introduction .content {
		text-align: center;
		position: relative;
		top: auto;
		width: 100%;
		background: rgba(255, 255, 255, 0.2);
		-webkit-clip-path: polygon(4% 14%, 95% 0%, 100% 100%, 0% 92%);
		clip-path: polygon(4% 14%, 95% 0%, 100% 100%, 0% 92%);
		padding: 40px;
		-webkit-transform: translate(0%, 0%);
		transform: translate(0%, 0%);
	}

	#introduction .container {
		position: relative;
		top: auto;
		left: auto;
		-webkit-transform: translate(0%, 0%);
		transform: translate(0%, 0%);
	}

	#introduction .shaded,
	#introduction .button {
		display: none;
	}

	#introduction figure {
		max-height: unset;
	}

	#introduction .title {
		font-size: 32px;
		line-height: 38px;
	}
}

@media screen and (max-width: 768px) {
	#introduction .content {
		padding: 80px 40px;
	}
}

@media screen and (max-width: 580px) {
	#introduction .title {
		font-size: 26px;
		line-height: 32px;
	}

	#introduciton .pre-title {
		line-height: 22px;
	}
}

@media screen and (max-width: 480px) {
	#introduction .title {
		font-size: 18px;
		line-height: 24px;
	}
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
	#introduction li:nth-child(even) .button {
		position: absolute;
		right: -68px;
		bottom: -59px;
	}

	#introduction li:nth-child(even) .shaded {
		position: absolute;
		background: rgba(255, 255, 255, 0.2);
		top: 0;
		left: 0;
		z-index: 20;
		width: 900px;
		height: 480px;
		margin-top: -120px;
		margin-right: -45px;
	}

	#introduction .slides li:nth-child(even) .content {
		right: auto;
	}
	
	#introduction .excerpt {
		margin-bottom: 30px;
	}

	#introduction .button,
	#introduction li:nth-child(2n) .button {
		right: auto;
		left: 0;
	}
}

@supports (-ms-ime-align:auto) {
	#introduction li:nth-child(even) .button {
		position: absolute;
		right: -68px;
		bottom: -59px;
	}

	#introduction li:nth-child(even) .shaded {
		position: absolute;
		background: rgba(255, 255, 255, 0.2);
		top: 0;
		left: 0;
		z-index: 20;
		width: 900px;
		height: 480px;
		margin-top: -120px;
		margin-right: -45px;
	}

	#introduction .slides li:nth-child(even) .content {
		right: auto;
	}
	
	#introduction .excerpt {
		margin-bottom: 30px;
	}

	#introduction .button,
	#introduction li:nth-child(2n) .button {
		right: auto;
		left: 0;
	}
}



/* section: about us */

#aboutus .col {
	text-align: center;
}

#aboutus .excerpt {
	margin-top: 40px;
}

#aboutus .excerpt li {
	display: block;
	padding: 10px 20px;
}

#aboutus .excerpt li:nth-child(odd) {
	background: #e4e4e4;
}

#aboutus .excerpt li:nth-child(even) {
	font-weight: 700;
}

#aboutus figure {
	position: absolute;
	-webkit-clip-path: polygon(10% 10%, 90% 0%, 100% 100%, 0% 90%);
	clip-path: polygon(10% 10%, 90% 0%, 100% 100%, 0% 90%);
}

#aboutus .col:last-child .excerpt {
	background: #3E84DC;
	padding: 40px;
	text-align: center;
	-webkit-clip-path: polygon(2% 18%, 93% 0%, 99% 98%, 8% 87%);
	clip-path: polygon(2% 18%, 93% 0%, 99% 98%, 8% 87%);
}

#aboutus .col:last-child .excerpt {
	font-weight: 700;
}

@media screen and (max-width: 1180px) {
	#aboutus .col,
	#aboutus .col:first-child {
		width: 100%;
		margin: 40px 0 0 0;
	}

	#aboutus .col:first-child {
		margin-top: 0;
	}

	#aboutus figure {
		position: relative;
	}

	#aboutus .shaded {
		width: 100%;
		height: 100%;
		-webkit-clip-path: polygon(4% 2%, 94% 5%, 91% 95%, 6% 99%);
		clip-path: polygon(4% 2%, 94% 5%, 91% 95%, 6% 99%);
	}
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
	#aboutus .shaded {
		display: none;
	}
}

@supports (-ms-ime-align:auto) {
	#aboutus .shaded {
		display: none;
	}
}


/* section: mot test */

#mot {
	background: #3E84DC;
}

#mot .col {
	text-align: center;
	position: relative;
}

#mot .shaded {
	width: 125%;
	height: 125%;
	z-index: 5;
	-webkit-clip-path: polygon(0% 11%, 89% 10%, 69% 80%, 11% 72%);
	clip-path: polygon(0% 11%, 89% 10%, 69% 80%, 11% 72%);
}

#mot .section-header {
	text-align: center;
}

#mot .section-header .title {
	background: #fff;
	color: #3E84DC;
}

#mot .excerpt {
	position: relative;
	margin-top: 60px;
	padding: 80px;
	z-index: 50;
	background: #659de3;
	-webkit-clip-path: polygon(2% 9%, 100% 1%, 90% 97%, 7% 92%);
	clip-path: polygon(2% 9%, 100% 1%, 90% 97%, 7% 92%);
}

#mot .excerpt p {
	margin-top: 20px;
}

#mot .col:last-child .excerpt {
	padding: 40px;
}

#mot .excerpt p:first-child {
	margin-top: 0;
}

#mot figure {
	max-width: 300px;
	margin: 20px auto 0;
	animation: wobble 5s infinite;
}

#mot .button {
	-webkit-clip-path: polygon(7% 11%, 90% 0%, 100% 98%, 0% 88%);
	clip-path: polygon(7% 11%, 90% 0%, 100% 98%, 0% 88%);
}

@media screen and (max-width: 980px) {
	#mot .shaded {
		width: 100%;
		height: 100%;
		-webkit-clip-path: polygon(0% 3%, 92% 7%, 96% 100%, 6% 89%);
		clip-path: polygon(0% 3%, 92% 7%, 96% 100%, 6% 89%);
	}

	#mot .col:first-child .excerpt {
		margin-top: 0;
	}
}

@media screen and (max-width: 580px) {
	#mot .excerpt {
		padding: 80px 40px;
	}
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
	#mot .shaded {
		display: none;
	}
}

@supports (-ms-ime-align:auto) {
	#mot .shaded {
		display: none;
	}
}


/* section: air conditioning */

#aircon .col {
	text-align: center;
}

#aircon .shapes figure {
	position: absolute;
	-webkit-clip-path: polygon(6% 10%, 100% 0%, 90% 100%, 2% 90%);
	clip-path: polygon(6% 10%, 100% 0%, 90% 100%, 2% 90%);
}

#aircon .shaded {
	-webkit-clip-path: polygon(0% 0%, 82% 2%, 86% 75%, 7% 66%);
	clip-path: polygon(0% 0%, 82% 2%, 86% 75%, 7% 66%);
}

#aircon .excerpt {
	margin-top: 0;
	background: #3E84DC;
	padding: 120px 80px;
	text-align: center;
	-webkit-clip-path: polygon(4% 12%, 93% 0%, 99% 98%, 8% 87%);
	clip-path: polygon(4% 12%, 93% 0%, 99% 98%, 8% 87%);
}

#aircon figure.cgon {
	margin: 0 auto;
}

#aircon figure.cgon img {
	width: auto;
}

@media screen and (max-width: 1180px) {
	#aircon .col,
	#aircon .col:first-child {
		width: 100%;
		margin: 40px 0 0 0;
	}

	#aircon .col:first-child {
		margin-top: 0;
	}

	#aircon .shapes {
		min-height: 400px;
	}

	#aircon figure {
		position: relative;
	}

	#aircon .shapes figure {
		right: 0;
		left: 0;
		top: 0;
		bottom: 0;
	}

	#aircon .shaded {
		width: 100%;
		height: 100%;
		-webkit-clip-path: polygon(4% 2%, 94% 5%, 91% 95%, 6% 99%);
		clip-path: polygon(4% 2%, 94% 5%, 91% 95%, 6% 99%);
	}
}

@media screen and (max-width: 580px) {
	#aircon .shapes {
		min-height: 300px;
	}
}


/* section: opening hours */

#openinghours {
	background: #e4e4e4;
}

#openinghours .section-content .col {
	width: 100%;
	float: none;
	max-width: 700px;
	margin: 0 auto;
}

#openinghours li {
	display: block;
	overflow: hidden;
	clear: both;
	padding: 10px 20px;
}

#openinghours li:nth-child(odd) {
	background: #fff;
}

#openinghours li.today {
	background: #3E84DC;
	color: #fff;
	font-weight: 700;
	padding: 30px;
	font-size: 22px;
	margin: 20px 0;
	-webkit-clip-path: polygon(0% 14%, 100% 0%, 98% 85%, 2% 100%);
	clip-path: polygon(0% 14%, 100% 0%, 98% 85%, 2% 100%);
}

#openinghours li span {
	float: right;
}

#openinghours li span:first-child {
	float: left;
}

@media screen and (max-width: 480px) {
	#openinghours li span,
	#openinghours li span:first-child {
		display: block;
		float: none;
		line-height: 32px;
	}

	#openinghours li.today {
		font-size: 18px;
	}
}


/* section: promotion */

#promotion {
	background: url(assets/images/jjmotors_bolton_car_repair_mot_accident_brakes_clutches_suspension_accident_repair_mot_diagnostics_promotion.jpg) center center no-repeat;
	background-attachment: fixed;
	background-size: cover;
	position: relative;
}

#promotion .col {
	width: 50%;
	margin: 0;
	min-height: 500px;
}

#promotion .col:first-child {
	position: relative;
	z-index: 50;
	background: rgba(62,132,220, 1);
}

#promotion .content {
	padding: 50px;
	left: 50%;
	width: 70%;
	text-align: center;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

#promotion h3.title {
	background: #fff;
	padding: 60px;
	color: #3E84DC;
	-webkit-clip-path: polygon(5% 23%, 90% 0%, 100% 82%, 0% 90%);
	clip-path: polygon(5% 23%, 90% 0%, 100% 82%, 0% 90%);
}

#promotion h4.title {
	margin-top: 40px;
	font-size: 72px;
	line-height: 72px;
	-webkit-text-stroke: 1px #fff;
	animation: glowing 3s infinite;
}

#promotion .title a {
	color: rgba(255, 255, 255, 0);
}

#promotion .image {
	border: 5px solid #fff;
	border-radius: 10px;
	padding: 40px;
}

@media screen and (max-width: 980px) {
	#promotion {
		background-attachment: scroll;
	}
	#promotion h4.title {
		font-size: 48px;
		line-height: 52px;
	}
}

@media screen and (max-width: 768px) {
	#promotion .content {
		width: 95%;
	}
}

@media screen and (max-width: 580px) {
	#promotion h4.title {
		font-size: 34px;
		line-height: 38px;
	}
}

@media screen and (max-width: 480px) {
	#promotion h3.title {
		padding: 40px;
	}
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
	#promotion h4.title a {
		color: #fff;
	}
}




/* section: get in touch */

#getintouch .col {
	text-align: center;
}

#getintouch li {
	padding: 10px 20px;
	display: block;
}

#getintouch li:nth-child(odd) {
	background: #e4e4e4;
}

#getintouch li i {
	margin-right: 10px;
}

#getintouch .shapes {
	min-height: 578px;
}

#getintouch .shaded {
	background: #e4e4e4;
	height: 737px;
	width: 100%;
	-webkit-clip-path: polygon(0% 2%, 80% 0%, 79% 76%, 0% 75%);
	clip-path: polygon(0% 2%, 80% 0%, 79% 76%, 0% 75%);
}

@media screen and (max-width: 980px) {
	#getintouch .shaded {
		-webkit-clip-path: polygon(0% 4%, 100% 0%, 88% 82%, 0% 77%);
		clip-path: polygon(0% 4%, 100% 0%, 88% 82%, 0% 77%);
	}
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
	#getintouch .shaded {
		display: none;
	}
}

@supports (-ms-ime-align:auto) {
	#getintouch .shaded {
		display: none;
	}
}


/* contact form */

.contact-form {
	position: absolute;
	padding: 60px;
	z-index: 50;
	background: #3E84DC;
    height: 753px;
	-webkit-clip-path: polygon(0% 0%, 89% 3%, 84% 60%, 5% 67%);
	clip-path: polygon(0% 0%, 89% 3%, 84% 60%, 5% 67%);
}

.contact-form p {
	margin-top: 10px;
}

.contact-form p {
	float: left;
	width: 86%;
	margin-top: 0;
	margin-bottom: 10px;
}

.contact-form p:last-child {
	font-weight: 700;
	color: #fff;
	text-align: left;
	line-height: 24px;
}

.contact-form p:first-of-type {
	margin-top: 0;
}

.contact-form label {
	font-size: 10px;
    line-height: 18px;
	text-transform: uppercase;
	padding: 0 20px;
	background: #fff;
	display: block;
	font-weight: 700;
	overflow: hidden;
}

.contact-form label .required {
	float: left;
	width: 5%;
	font-size: 12px;
	font-weight: 400;
	margin-right: 20px;
	line-height: 48px;
}

.contact-form input {
	float: left;
	width: 69%;
	line-height: 48px;
}

.contact-form input,
.contact-form textarea {
	padding: 0;
	border: 0;
	background: none;
	margin-left: 40px;
}

.contact-form textarea {
	overflow: hidden;
	width: 70%;
	padding: 4% 0;
	float: left;
	height: 163px;
}

.contact-form input,
.contact-form textarea {
	font-size: 16px;
}

.contact-form .button {
	-webkit-appearance: none;
	appearance: none;
	margin-top: 20px;
	border: 0;
	-webkit-clip-path: polygon(8% 0%, 91% 11%, 100% 100%, 0% 100%);
	clip-path: polygon(8% 0%, 91% 11%, 100% 100%, 0% 100%);
}

.contact-form .message {
	margin-top: 30px;
	overflow: hidden;
}

.contact-form .button span {
	color: #fff;
	float: left;
}

.contact-form .button span:after {
	display: none;
}

.contact-form .button.primary.complete {
	padding: 15px;
	color: #fff;
}

.contact-form .button.primary.complete:hover {
	background: #FCD458;
	border-color: #fff;
}

.contact-form .button:hover {
	border-color: #fff;
}

.contact-form .button:hover span {
	color: none;
}

.contact-form .hey-honey {
	position: absolute;
	left: -9999px;
}

.contact-form .button.secondary {
	display: none;
}

.contact-form .button span {
	padding: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
}

.contact-form .message {
	margin-top: 10px;
	width: 50%;
}

.contact-form .message p {
	font-size: 10px;
	line-height: 14px;
}

@media screen and (max-width: 1080px) {
	.contact-form input,
	.contact-form textarea {
		width: 60%;
	}
}

@media screen and (max-width: 980px) {
	.contact-form {
		-webkit-clip-path: polygon(0% 0%, 97% 3%, 93% 63%, 4% 67%);
		clip-path: polygon(0% 0%, 97% 3%, 93% 63%, 4% 67%);
	}

	.contact-form p {
		width: 96%;
	}

	.contact-form input,
	.contact-form textarea {
		width: 77%;
	}

	.contact-form input,
	.contact-form textarea {
		margin-left: 45px;
	}

	.contact-form textarea {
		padding: 2% 0;
	}

	.contact-form .message {
		text-align: center;
		width: 100%;
		margin: 20px auto 0;
	}
}

@media screen and (max-width: 620px) {
	.contact-form input,
	.contact-form textarea {
		width: 66%;
	}
}

@media screen and (max-width: 480px) {
	.contact-form {
		padding: 40px;
	}

	.contact-form input,
	.contact-form textarea {
		width: 50%;
	}
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
	.contact-form {
		height: auto;
	}
	
	.contact-form p {
		width: 100%;
	}
}

@supports (-ms-ime-align:auto) {
	.contact-form {
		height: auto;
	}
	
	.contact-form p {
		width: 100%;
	}
}


/* googlemap */

#map .col {
	width: 100%;
	margin: 0;
}

#map .gmap {
	position: relative;
	padding-bottom: 30%;
	height: 0;
	overflow: hidden;
}

#map .gmap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

#map .gmap .map-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

@media screen and (max-width: 980px) {
	#map .gmap {
		padding-bottom: 50%;
	}
}

@media screen and (max-width: 580px) {
	#map .gmap {
		padding-bottom: 75%;
	}
}

@media screen and (max-width: 480px) {
	#map .gmap {
		padding-bottom: 120%;
	}
}


/* footer */

#site-footer {
    background: #03162F;
}

#site-footer .container {
	padding-top: 80px;
	padding-bottom: 80px;
}

#site-footer .col {
	width: 100%;
	text-align: center;
	position: relative;
}

#site-footer figure.footer-logo {
	background: #3E84DC;
    padding: 40px;
    display: inline-block;
	z-index: 50;
	position: relative;
	-webkit-clip-path: polygon(12% 18%, 96% 11%, 92% 90%, 6% 84%);
    clip-path: polygon(12% 18%, 96% 11%, 92% 90%, 6% 84%);
}

#site-footer .col:first-child .shaded {
	width: 300px;
    left: 50%;
    top: 0;
    height: 125px;
	-webkit-clip-path: polygon(3% 5%, 94% 7%, 100% 95%, 5% 79%);
    clip-path: polygon(3% 5%, 94% 7%, 100% 95%, 5% 79%);
    -webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

#site-footer figure img {
	width: auto;
}

#site-footer .privacy-area {
	margin-top: 0;
	font-size: 10px;
	line-height: 12px;
}

#site-footer .privacy-area a {
	color: #9c9c9c;
}

#site-footer .copyright {
	font-weight: 700;
	margin-top: 20px;
}

#site-footer .copyright span,
#site-footer #currentyear {
	color: #fff;
	display: inline-block;
}

@media screen and (max-width: 980px) {
	#site-footer .copyright {
		margin-top: 40px;
	}
}

@media screen and (max-width: 768px) {
	#site-footer .copyright {
		line-height: 24px;
	}

	#site-footer .privacy-area {
		margin-top: 20px;
	}
}

@media screen and (max-width: 480px) {
	#site-footer .col:first-child .shaded {
		-webkit-clip-path: polygon(9% 21%, 91% 3%, 95% 82%, 9% 73%);
    	clip-path: polygon(9% 21%, 91% 3%, 95% 82%, 9% 73%);
	}

	#site-footer figure.footer-logo {
		padding: 30px;
	}
}

@media screen and (max-width: 480px) {
	#site-footer figure.footer-logo {
		max-width: 150px;
	}

	#site-footer figure.footer-logo img {
		width: 100%;
	}

	#site-footer .col:first-child .shaded {
		width: 212px;
	}
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
	#site-footer :first-child.col .shaded {
		display: none;
	}

	#site-footer figure.footer-logo {
		padding: 20px;
	}
}

@supports (-ms-ime-align:auto) {
		#site-footer :first-child.col .shaded {
		display: none;
	}

	#site-footer figure.footer-logo {
		padding: 20px;
	}
}


/* footer nav */

#footer-nav {
	margin-top: 40px;
}

#footer-nav ul { 
	list-style-type: none; 
}

#footer-nav li {	
	display: inline-block;
	margin: 0 20px;
	padding: 0;
	position: relative;
}

#footer-nav li a { 
	display: block;
    font-size: 14px;
	color: #fff;
	font-weight: 700;
}

#footer-nav li:hover a {
	color: #FCD458;
}

#footer-nav li.menu-telephone {
	display: none;
}

@media screen and (max-width: 980px) {
	#footer-nav li {
		display: block;
	}
}


/* back to top */

.back-to-top { 
	position: fixed; 
	left: auto;
	right: 40px;
	bottom: -100px; 
	text-align: center;
	z-index: 9999; 
}

.back-to-top.active {
	bottom: 40px;
}

.back-to-top:before {
	content: '\f106'; 
	background: #FCD458;
	color: #fff;
	padding: 16px 21px 17px 22px;
    color: #fff;
    font-size: 32px;
	-webkit-clip-path: polygon(0% 0%, 92% 13%, 100% 100%, 0% 93%);
    clip-path: polygon(0% 0%, 92% 13%, 100% 100%, 0% 93%);
}

@media screen and (max-width: 768px) {
	.back-to-top {
		display: none;
	}
}


/* inventis */

.inventis {
	margin-top: 20px;
}

.inventis img {
	width: auto;
}


/* no cookie */

.nocookie {
    margin: 0 auto;
    padding: 40px 80px 40px 40px;
    background: #3e84dc;
	text-align: center;
}

.nocookie .excerpt {
	margin-top: 0;
}

.nocookie .excerpt p {
	float: none;
	color: #fff;
	width: 100%;
}

.nocookie .privacy-policy a {
    font-size: 18px;
    color: #fff;
	display: block;
	margin-top: 20px;
	font-weight: 700;
}

.nocookie .sub-title.privacy-policy a {
	font-size: 22px;
	font-weight: 700;
	margin-top: 20px;
}



/* privacy overlay */

.privacyoverlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(14, 14, 14, 0.85);
	z-index: 1000;
	display: none;
}

.privacyoverlay.visible {
	display: block;
}


/* privacy select */

#privacyselect {
	position: absolute;
	top: 50%;
	left: 50%;
	display: none;
	background: #fff;
	color: #2d2c2a;
	width: 100%;
	padding: 0;
	max-width: 720px;
	max-height: 500px;
	overflow: hidden;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index: 9999;
	box-shadow: 0 0 30px 10px rgba(14, 14, 14, 0.8);
}

#privacyselect.visible {
	display: block;
}

#privacyselect .privacy-select-wrapper {
	position: relative;
	overflow-y: scroll;
	padding: 80px;
    text-align: center;
}

#privacyselect .privacy-select-wrapper .excerpt {
	margin-top: 40px;
}

#privacyselect .privacy-select-popup {
	display: block;
	margin-top: 20px;
	color: #03162F;
	font-size: 14px;
}

#privacyselect .privacy-select-popup:hover {
	cursor: pointer;
	text-decoration: underline;
}

#privacyselect .privacy-select-wrapper .title.main-title {
	font-size: 32px;
	line-height: 38px;
	font-weight: 400;
}

#privacyselect .privacy-select-wrapper .excerpt {
    font-size: 14px;
    line-height: 1.75rem;
}

#privacyselect .privacy-select-wrapper .button {
	background: #00d2ff;
	margin: 30px auto 10px;
    border: 0;
	padding: 0;
	display: inline-block;
	float: none;
}

#privacyselect .privacy-select-wrapper .button:hover {
	background: #37adff;
}

#privacyselect .privacy-select-wrapper .button span {
    padding: 5px 15px;
	color: #fff;
	display: block;
}

#privacyselect .privacy-select-wrapper .button span:after {
	visibility: hidden;
	margin: 0;
	display: none;
}

#privacyselect .privacy-select-wrapper .button:hover a span {
    color: #fff;
}

@media screen and (max-width: 768px) {
	#privacyselect {
		width: 90%;
	}
}

@media screen and (max-width: 580px) {
	#privacyselect {
		top: 0;
		left: 0;
		max-height: unset;
		overflow-y: scroll;
		height: 100vh;
		width: 100%;
		-webkit-transform: translate(0%, 0%);
		transform: translate(0%, 0%);
	}
	
	#privacyselect .privacy-select-wrapper {
		padding: 40px;
	}
}


/* privacy policy */

.privacy-policy.sub-title {
	text-align: center;
}

.privacy-policy a {
    cursor: pointer;
    color: #9c9c9c;
	float: none;
	text-align: center;
}

#privacypolicy {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    background: #fff;
    width: 100%;
    padding: 0;
    max-width: 720px;
    max-height: 500px;
    overflow: hidden;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 9999;
    box-shadow: 0 10px 10px 10px rgba(0,0,0,0.25);
}

#privacypolicy.visible {
    display: block;
}

#privacypolicy .privacy-wrapper {
    position: relative;
    overflow-y: scroll;
    height: 420px;
	padding: 40px 80px 40px;
}

#privacypolicy .privacy-wrapper p,
#privacypolicy .privacy-wrapper li {
	color: #2d2c2a;
}

#privacypolicy .title.main-title {
    font-size: 24px;
}

#privacypolicy .title {
    margin-top: 30px;
	font-size: 16px;
	line-height: 22px;
    font-weight: 700;
}

#privacypolicy p,
#privacypolicy li {
    margin-top: 20px;
	line-height: 28px;
	font-size: 14px;
}

#privacypolicy ul {
    margin-top: 20px;
    margin-left: 20px;
    list-style-type: disc;
}

#privacypolicy li {
    margin-top: 0;
    line-height: 28px;
}

#privacypolicy .policyoptions {
	text-align: center;
}

#privacypolicy .policyoptions .button {
	background: #00d2ff;
	margin: 50px auto 0;
    border: 0;
	padding: 0;
	display: inline-block;
	float: none;
}

#privacypolicy .policyoptions .button:hover {
	background: #37adff;
}

#privacypolicy .policyoptions .button span {
    padding: 5px 15px;
	color: #fff;
	display: block;
}

#privacypolicy .policyoptions .button span:after {
	visibility: hidden;
	margin: 0;
	display: none;
}

#privacypolicy .policyoptions .button:hover span {
    color: #fff;
}

.privacypopup {
	cursor: pointer;
    display: block;
    color: #03162F;
    margin-top: 10px;
    font-size: 16px;
	font-weight: 400;
}

.sub-title.privacy-policy a,
.privacypopup-accepted,
.privacy-area .privacypopup {
    margin-top: 0;
    font-size: 11px;
	font-weight: 400;
}

.sub-title.privacy-policy a:hover {
	color: #fff;
}

.privacypopup:hover {
	text-decoration: underline;
    color: #03162F;
}

#privacypolicy .privacy-close {
	display: block;
	margin-top: 20px;
	color: #03162F;
	font-size: 14px;
}

#privacypolicy .privacy-close:hover {
	cursor: pointer;
	text-decoration: underline;
}

.privacy-wrapper .closeaccepted {
	background: #c00;
	padding: 1px 15px;
	position: absolute;
	top: 40px;
	right: 35px;
}

.privacy-wrapper .closeaccepted {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}

.privacy-wrapper .closeaccepted:hover {
	cursor: pointer;
}

@media screen and (max-width: 520px) {
	#privacypolicy {
		top: 0;
		left: 0;
		max-height: unset;
		overflow-y: scroll;
		height: 100vh;
		-webkit-transform: translate(0%, 0%);
		transform: translate(0%, 0%);
	}
	
	#privacypolicy .privacy-wrapper {
		padding: 40px;
	}
}


/* privacy policy popover */

html,
body {
    overflow: auto;
    height: auto;
}

html.disabled,
body.disabled {
    overflow: hidden;
    height: 100%;
}


/* flexslider */

.flexslider {
	margin: 0;
	padding: 0;
}

.flexslider .slides > li {
	display: none;
	max-height: 100vh;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.flexslider .slides img {
	width: 100%;
	display: block;
}

.flexslider .slides:after {
	content: '';
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

html[xmlns] .flexslider .slides {
	display: block;
}

* html .flexslider .slides {
	height: 1%;
}

.no-js .flexslider .slides > li:first-child {
	display: block;
}

.flexslider {
	position: relative;
	zoom: 1;
}

.flexslider .slides {
	zoom: 1;
}

.flexslider .slides img {
	height: 100%;

	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.flex-viewport {
	max-height: 2000px;
}

.loading .flex-viewport {
	max-height: 255px;
}

@media screen and (max-width: 1380px) {
	.flexslider .slides > li {
		max-height: unset;
	}
}


/* flexslider paging nav */

.flex-control-paging {
	display: none;
}