@charset "utf-8";
/*    Website designed and created by Adam Nicholls    */
@import url(https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;700;800&display=swap);

/* 
Milton Keynes All Trades Ltd
01908 667 110
07917 896 196
shaunmckever@aol.com
-----------------
22 Palace Square
Leadenhall
Milton Keynes
MK6 5JZ
------------------
electrical
electricians
House extensions
Property maintenance and refurbishments
Electrical inspections and testing
24 Hour emergency electrician
Home improvements
------------------
11/01/2023
www.miltonkeynesalltradesltd.com
------------------
<img src="media/images/logo.png" alt="">
 */

:root{
	--dark: #1e1b1a;
	--accent: #ad9b51;
	--accent50: #ad9b5166;

	--light: #b3b3b3;
	--extralight: #e6e6e6;

	--xl-radius: 30px;
	--radius: 8px;
	--small-radius: 4px;

	--bigpad: 60px;
	--mediumpad: 40px;
	--smallpad: 20px;

	--mainfont: 'Plus Jakarta Sans', sans-serif;
	--titlefont: 'Plus Jakarta Sans', sans-serif;	
	--curlyfont: 'Plus Jakarta Sans', sans-serif;	

	--logoheight: 120px;
	--logoheightmob: 80px;
}
@media screen and (max-width: 40em) {
	:root{
		--bigpad: 60px;
		--mediumpad: 30px;
		--smallpad: 15px;
	}
}
.extralight{background-color: var(--extralight);}
.logo img{
	max-height: var(--logoheight);
	display: inline-block;
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	max-width: 400px;
}
@media screen and (max-width: 64em) {
	.logo{
		text-align: center;
		width: 100%;
		padding-left: 80px;
		padding-right: 80px;
	}
	.logo img{
		max-height: var(--logoheightmob);
		text-align: center;
		margin-top: 1rem;
		max-width: 100%;
	}
}
.logo p{
	font-size: 1.5rem;
	color: var(--dark);
	margin: 0;
	font-weight: 700;
	letter-spacing: -1px;
}
.top-section{
	padding-top: var(--smallpad);
	padding-bottom: var(--smallpad);
	position: relative;
	z-index: 25;
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
.top-section .row{
	max-width: 95%;
}
header{
	position: relative;
	z-index: 5;
	background-color: var(--dark);
}
main{
	position: relative;
	z-index: 1;
}

/******** Essentials ********/
body{
	margin: 0;
	padding: 0;
	background-color: white;
	padding: 0px 0;
	font-family: var(--mainfont);
	overflow-x:hidden;
	scroll-behavior: smooth;
}
a, a:active, a:visited, a:link{
	text-decoration: none;
	color: #777;
}
p{
	font-size: 0.875rem;
	line-height: 1.75rem;
	font-weight: 500;
	opacity: 0.92;
	font-family: var(--mainfont);
}
ul{
	list-style: none;
	padding: 0;
	margin: 0;
}
h1,h2,h3,h4,h5,h6{
	margin: 0;
	margin-bottom: 10px;
	font-weight: 400;
	font-family: var(--titlefont);
	display: block;
	width: 100%;
	letter-spacing: -1px;
}
/******** BN Kit ********/
.social a{
	display: inline-block;
	width: 3rem;
	height: 3rem;
	line-height: 2.75rem;
	border-radius: 3rem;
	text-align: center;
	margin-right: 8px;
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	color: var(--dark)!important;
	background-color: white;
}
.social a:hover{background-color: var(--accent)!important;}
.social span{color: white;margin: 0;}
.bigbg{
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
	min-height: 400px;
	max-height: 800px;
	border-radius: var(--radius);
}
@media screen and (max-width: 64em) {
	.tabletbg{
		min-height: 500px!important;
	}
}
@media screen and (max-width: 40em) {
	.tabletbg{
		min-height: 400px!important;
	}
}
/******** Typegraphy ********/
.sub-title{
	font-size: 0.75rem;
	line-height: 1.1;
	font-weight: 500;
	display: block;
	position: relative;
	letter-spacing: 2px;
	margin: 0;
	margin-bottom: 1rem;
	font-family: var(--curlyfont);
	color: var(--accent);
	text-transform: uppercase;
	padding-left: 20px;
	display: inline-block;
}
.sub-title::before{
	width: 16px;
	height: 2px;
	background-color: var(--accent);
	position: absolute;
	content: " ";
	bottom: 2px;
	left: 0;
}
main h1{
	font-size: 2.5rem;
	line-height: 1.2;
	font-weight: 700;
	color: var(--dark);	
}
main h2{
	font-size: 2rem;
	line-height: 1.2;
	font-weight: 700;
	color: var(--dark);	
}
main h3{
	font-size: 2rem;
	line-height: 1.2;
	font-weight: 700;
	color: var(--dark);	
}
main h4{
	font-size: 1.5rem;
	line-height: 1.2;
	font-weight: 700;
	color: var(--dark);	
}
main h5{
	font-size: 1.25rem;
	line-height: 1.2;
	font-weight: 500;
	color: var(--dark);	
}
main h6{
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 700;
	color: var(--dark);	
}
main strong{font-weight: 700;color: var(--light);}
.medbg strong{font-weight: 700;color: var(--accent);}
/******** Colour codes ********/
.light-text :is(p, h1, h2){color: white;}
.light-text :is(h3, h4, h5){color: var(--accent);}
.extradarkbg :is(p, h1, h2){color: var(--light);}
.extradarkbg :is(h3, h4, h5){color: var(--accent);}
.darkbg :is(p, h1, h2, li){color: white;}
.darkbg :is(h3, h4, h5){color: var(--accent);}
.medbg :is(p, h1, h2, li){color: white;}
.medbg :is(h3, h4, h5){color: var(--accent);}
.lightbg :is(p, h1, h2){color: var(--dark);}
.lightbg :is(h3, h4, h5){color: white;}
.accentbg :is(h1, h2, h3, h4, h5){color: white;}
.caption :is(p, h1, h2){color: white;}
.caption :is(h3, h4, h5){color: var(--accent);}
/******** Buttons ********/
.button{
	line-height: 1.5rem;
	font-size: 0.825rem;
	padding: 0.75rem 40px;
	display: inline-block;
	font-weight: 500;
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	background-color: var(--accent);
	color: white!important;
	border-radius: var(--small-radius);
	position: relative;
	z-index: 1;
	text-decoration: none!important;
	overflow: hidden;
}
.button span{margin-right: 10px;}
.button::after{
	position: absolute;
	bottom: 0px;
	left: -160px;
	content: " ";
	background-color: var(--light);
	width: 600px;
	height: 600px;
	z-index: 1;
	z-index: -1;
	-webkit-transition: ease-out 0.3s;
	-o-transition: ease-out 0.3s;
	transition: ease-out 0.3s;
	transform-origin: bottom left;
	transform:rotate(-30deg);
}
.button:hover::after{transform:rotate(0deg);}
.button2{background-color: var(--light);}
.button2::after{background-color: var(--accent);}
.button + .button{margin-left: 1rem;}
.cta{
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	margin: 0;
	display: inline-block;
	color: var(--light)!important;
	text-decoration: underline!important;
	-webkit-transition: ease-out 0.2s;
	-o-transition: ease-out 0.2s;
	transition: ease-out 0.2s;
}
.cta:hover{color: var(--accent)!important;}
.caption-blur .cta{
	color: white!important;
	display: block;
	margin-top: 1rem;
}
.darkbg .cta{color: white!important;}
.darkbg .cta:hover{color: var(--accent)!important;}
@media screen and (max-width: 40em) {
	.button{
		display: block;
		width: 100%;
		text-align: center;
	}
	.button + .button{
		margin: 0;
		margin-top: 0.5rem;
	}
}
/******** List ********/
main ul{
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;	
}
main ul li{
	position: relative;
	font-size: 0.75rem;
	line-height: 1.5rem;
	margin-bottom: 1rem;
	text-align: left;
	padding-left: 1.25rem;
	display: inline-block;
	width: 100%;
	color: var(--dark);
	text-transform: capitalize;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 1px;
}
main ul li::before{
	position: absolute;
	left: 0;
	top: 0.5rem;
	width: 0.5rem;
	height: 0.5rem;
	line-height: 2rem;
	text-align: center;
	border-radius: 50%;
	content: " ";
	background-color: var(--accent);

	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
}
main ul li:hover::before{transform:scale(1.3);}
main ol{
	counter-reset: my-awesome-counter;
	padding: 0;
	margin-top: var(--smallpad);
	margin-bottom: var(--mediumpad);	
}
main ol li{
	position: relative;
	font-size: 1rem;
	line-height: 2rem;
	margin-bottom: 10px;
	text-align: left;
	padding: 0.25rem 0;
	display: inline-block;
	width: 100%;
	font-weight: 500;
	-webkit-transition: ease 0.6s;
	-o-transition: ease 0.6s;
	transition: ease 0.6s;
  counter-increment: my-awesome-counter;
}
main ol li a{
	-webkit-transition: ease 0.6s;
	-o-transition: ease 0.6s;
	transition: ease 0.6s;
}
ol li::before {
  content: counter(my-awesome-counter) ". ";
  color: var(--accent);
  font-weight: bold;
}
/******** Section sizes ********/
section{
	padding-top: 120px;
	padding-bottom: 120px;
	position: relative;
}
.next-section{
	padding-bottom: 120px;
	padding-top: 0;
	position: relative;
}
.next-inner-section{
	padding-bottom: 0;
	padding-top: 120px;
	position: relative;
}
.large-section{
	padding-top: 180px;
	padding-bottom: 180px;
	position: relative;
}
.medium-section{
	padding-top: 60px;
	padding-bottom: 60px;
	position: relative;
}
.small-section{
	padding-top: 30px;
	padding-bottom: 30px;
	position: relative;
}
@media screen and (max-width: 64em) {
	section{padding-top: 50px;padding-bottom: 50px;}
	.medium-section{padding-top: 25px;padding-bottom: 25px;}
	.small-section{padding-top: 15px;padding-bottom: 15px;}
	.next-section{padding-bottom: 50px;}
	.large-section{padding-bottom: 100px;padding-top: 100px;}
}
.card{
	border-radius: var(--radius);
	padding: var(--mediumpad);
}
.card .bigbg{min-height: 200px; margin-bottom: 30px;}
/******** Text sections ********/
.left-text{padding: var(--bigpad);padding-left: 1.15rem;}
.right-text{padding: var(--bigpad);padding-right: 1.15rem;}
.text{padding: var(--bigpad);}
main .content:nth-child(even) .left-text{
	order: +1;
	padding-left: var(--bigpad);
	padding-right: 1.15rem;
}
@media screen and (max-width: 64em) {
	main .content:nth-child(even) .left-text{
		order: auto;padding: var(--mediumpad) 1.15rem;}
	.left-text{padding: var(--mediumpad) 1.15rem;}
	.right-text{padding: var(--mediumpad) 1.15rem;}
	.text{padding: var(--mediumpad) 1.15rem;}
}
/******** Navigations ********/
nav ul li{display: inline-block;position: relative;}
nav ul li a{
	display: inline-block;
	line-height: 3rem;
	padding: 0 12px;
	font-size: 0.875rem;
	font-weight: 500;
	color: white!important;
	position: relative;
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	text-transform: capitalize;
}
nav ul li a:hover{color: var(--light)!important;}
nav ul li a:hover{color: var(--accent)!important;}
nav ul li > ul{
	position: absolute;
	top: calc(100% - 2px);
	text-align: left;
	clear: both;
	white-space: nowrap;
	padding: var(--mediumpad);
	border-radius: var(--small-radius);	
	background-color: var(--dark);
	opacity: 0;
	z-index: 10;
	width: auto;
	transform: scale(0.5);
	pointer-events: none;
	transform-origin: top left;
	-webkit-transition: ease 0.1s;
	-o-transition: ease 0.1s;
	transition: ease 0.1s;
	border-top: 3px solid var(--accent);
	column-gap: 3rem;
	box-shadow: 
	0 -1px 2px rgba(0,0,0,0.05), 
    0 2px 4px rgba(0,0,0,0.05), 
    0 4px 8px rgba(0,0,0,0.05), 
    0 8px 16px rgba(0,0,0,0.02),
    0 16px 32px rgba(0,0,0,0.1);
}
nav ul li > ul li{display: block;}
nav ul li > ul li a{
	padding: 0;
	color: var(--accent)!important;
	line-height: 3rem;
	font-size: 90%;
	padding-left: 1rem;
}
nav ul li > ul li a:hover{color: white!important;}
nav ul li > ul li::before{
	position: absolute;
	left: 0;
	top: 1.25rem;
	width: 0.5rem;
	height: 0.5rem;
	text-align: center;
	border-radius: 50%;
	content: " ";
	background-color: var(--accent);
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	transform:scale(1);
}
nav ul li > ul li:hover::before{transform:scale(1.15);}
nav ul li:hover > ul{
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
}
nav ul li:hover > ul{
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
}
nav ul li > a{margin-right: 10px;}
nav ul li > a:only-child{margin-right: 0px;}
nav ul li > a::after {
	background-image: url(../images/shapes/navdown.svg);
	position: absolute;
	right: -10px;
	top: 6px;
	width: 20px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	content: " ";
}
nav ul li > a:only-child::after { display: none;}
.toggler{display: none;}
.mob-call{display: none;}
@media screen and (max-width: 64em) {
	nav{
		position: fixed;
		top: 0px;
		left: -100%;
		display: table;
		height: 100vh; /*Fallback for dogshit browsers*/
		height: calc(var(--vh, 1vh) * 100);
		width: 100%;
		opacity: 0;
		z-index: 30;
		text-align: left;
		padding: 0 1.15rem;
		text-align: left;
		overflow: hidden;

		-webkit-transition:ease 1s;
		-o-transition:ease 1s;
		transition:ease 1s;
		background-color: var(--dark);
		pointer-events: none;
		background-image: url(../images/content.jpg);
		background-position: center center;
	}
	nav::after{
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 2;
		opacity: 0.9;
		content: " ";
		background-color: var(--dark);
	}
	.shownav{
		opacity: 1;
		pointer-events: auto;
		left: 0;
	}
	nav ul li{display: block;}
	nav ul{
		display: table-cell;
		vertical-align: middle;
		z-index: 10;
		position: relative;
		padding-top: 90px;
		padding-bottom: 90px;
	}
	nav ul li a{
		line-height: 2.5;
		font-size: 1.25rem;
		display: block;
		cursor: pointer;
		color: white!important;
	}
	nav ul li::after{display: none;}
	nav ul li > ul{
		position: relative;
		display: block;
		top: 0;
		text-align: inherit;
		padding: 10px;
		background-color: unset;
		opacity: 1;
		width: 100%;
		transform: scale(1);
		pointer-events: auto;
		border-top: 0px;
		box-shadow: 0 0 80px rgba(0,0,0,0.0);
		display: none;
	}
	nav ul li > ul li a{
		color: white!important;
		line-height: 2.5;
		font-size: 85%;
	}
	nav ul li > ul li::before{
		left: 0;
		top: 0.75rem;
		width: 0.5rem;
		height: 0.5rem;
	}
	.navigation{position: relative;z-index: 40;}
	.navigation .social{
		margin-top: 16px;
		padding: 16px 8px;
	}
	.nav-toggler{
		position: absolute;
		top: 1rem;
		left: 2rem;
		display: block;
		z-index: 1000;
		cursor: pointer;
		width: 50px;
		height: 50px;
		text-align: right;
	}
	.toggler-one{
		width: 30px;
		height: 3px;
		background-color: white;
		border-radius: 3px;
		position: absolute;
		left: 0;
		top: 20px;
		-webkit-transition: top ease 0.3s, 
		transform 0.3s ease 0.3s,
		width ease 0.3s;
		-moz-transition: top ease 0.3s, 
		transform 0.3s ease 0.3s,
		width ease 0.3s;
		transition: top ease 0.3s, 
		transform 0.3s ease 0.3s,
		width ease 0.3s;
		transform-origin: center center;
	}
	.toggler-two{
		width: 20px;
		height: 3px;
		left: 0;
		background-color: white;
		border-radius: 3px;
		position: absolute;
		top: 28px;
		-webkit-transition: top ease 0.3s, 
		transform 0.3s ease 0.3s,
		width ease 0.3s;
		-moz-transition: top ease 0.3s, 
		transform 0.3s ease 0.3s,
		width ease 0.3s;
		transition: top ease 0.3s, 
		transform 0.3s ease 0.3s,
		width ease 0.3s;
		transform-origin: center center;
	}
	.nav-toggler:hover .toggler-two{
		width: 30px;
	}
	.t1{
		width: 30px;
		top: 24px;
		background-color: var(--accent);
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		transform: rotate(45deg);
		-webkit-transition: top ease 0.3s, transform 0.3s ease 0.3s;
		-moz-transition: top ease 0.3s, transform 0.3s ease 0.3s;
		transition: top ease 0.3s, transform 0.3s ease 0.3s;
	}
	.t2{
		width: 30px;
		top: 24px;
		background-color: var(--accent);
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		transform: rotate(-45deg);
		-webkit-transition: top ease 0.3s, transform 0.3s ease 0.3s;
		-moz-transition: top ease 0.3s, transform 0.3s ease 0.3s;
		transition: top ease 0.3s, transform 0.3s ease 0.3s;
	}
	.mob-call{
		position: absolute;
		z-index: 10;
		display: block;
		width: 50px;
		top: 1rem;
		right: 1rem;
		color: white;
		background: var(--accent);
		text-align: center;
		border-radius: var(--radius);
		-webkit-transition: ease 0.3s;
		-o-transition: ease 0.3s;
		transition: ease 0.3s;
	}
	.mob-call a{color: white;}
	.mob-call span{
		line-height: 50px;
		color: white;
	}
	.mob-call{cursor: pointer;}
}
.top-fix{position: fixed;}
/******** GALLERY ********/
.gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
}
.reviews{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 3rem;
}
.thumbs{
	overflow: hidden;
	position: relative;
	z-index: 2;
	height: 400px;
	background-size: cover;
	background-position: center center;
	border-radius: var(--small-radius);
	transform:scale(1);
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
}
.thumbs:hover{
	transform:scale(1.02);
}
.thumbs img{
	width: 100%;
	margin: 0!important;
	border-radius: 3px;
}
.thumbs a{
	margin: 0!important;
	height: 100%;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
}
@media screen and (max-width: 64em) {
	.thumbs{height: 240px;}
}
@media screen and (max-width: 40em) {
	.thumbs{height: 200px;}
	.gallery{
	    grid-template-columns: repeat(2, 1fr);
	    grid-gap: 0.5rem;
	}
	.reviews{
	    grid-template-columns: repeat(1, 1fr);
	    grid-gap: 1rem;
	}
}
/******** BLOCKQUOTE ********/
blockquote{
	display: inline-block;
	width: 100%;
	margin: 0;
	font-style: normal;
	position: relative;
	z-index: 10;
	border-radius: var(--radius);
	background-color: var(--light1a);
	padding: var(--bigpad);
	padding-top: calc(var(--bigpad) + 3rem);
	min-height: 360px;
}
blockquote span{
	font-size: 0.75rem;
	line-height: 2rem;
	font-weight: 300;
	color: var(--accent);
	display: block;
	margin-top: 20px;
	text-transform: uppercase;
	position: relative;
	letter-spacing: 1px;
}
blockquote::after{
	position: absolute;
	top: var(--bigpad);
	left: var(--bigpad);
	z-index: 2;
	height: 1.25rem;
	width: 1.25rem;
	background-image: url(../images/shapes/quote.svg);
	background-position: center;
	background-size: 100%;
	background-repeat: no-repeat;
	content: " "; 
}
blockquote p{
	opacity: 1;
}
.smallquote{font-size: 1rem;line-height: 1.5;}
.midquote{font-size: 1rem;line-height: 1.5;}
.bigquote{font-size: 1.25rem;line-height: 1.5;}
@media screen and (max-width: 64em) {
	blockquote{
		min-height: unset;
		padding: var(--mediumpad);
		padding-top: calc(var(--mediumpad) + 3rem);
	}
	blockquote::after{
		top: var(--mediumpad);
		left: var(--mediumpad);
	}
}

/******* Footer *******/
footer{
	background-color: var(--dark);
	padding-top: 120px;
	position: relative;
	color: white;
	overflow: hidden;
	z-index: 2;
}
footer .row{position: relative;z-index: 5;}
footer h6{
	font-size: 1rem;
	line-height: 150%;
	font-weight: 300;
	color: rgba(255,255,255,0.3);
	text-transform: capitalize;
}
footer a{color: white!important;}
footer a, footer ul li a{
	display: block;
	font-weight: 500;
	line-height: 2rem;
	font-size: 0.875rem;
	text-transform: capitalize;
}
footer a:hover, footer ul li a:hover{
	color: var(--accent)!important;
}
.bigphone{
	font-size: 1.5rem;
	margin-bottom: 1rem;
	margin-top: 1rem;
	color: var(--accent)!important;
}
footer .bigphone{
	margin-bottom: 1rem;
	margin-top: 1rem;
	font-size: 1.5rem;
	color: var(--accent)!important;
}
.by{
	margin-top: 60px;
	border-top: 1px solid rgba(255,255,255,0.05);
	padding-top: 30px;
	padding-bottom: 30px;
}
footer p{margin: 0;}
.by p{
	color: rgba(255,255,255,0.6);
	text-transform: capitalize;
	font-weight: 300;
	font-size: 0.825rem;
}
footer .sub-menu{display: none;}
.footerlinks{display: block;}
.footerlinks a{
	opacity: 0.9;
	font-weight: 300;
	margin: 0;
	margin-top: 10px;
	margin-right: 10px;
	display: inline-block;
	color: rgba(255,255,255,0.3)!important;
}
.footerlinks a::after{
	content: "/";
	margin-left: 10px;
}
.footerlinks a:last-of-type::after{display: none;}
.footerlinks a:hover{color: var(--light);}
footer .social{margin-top: 1rem;}
footer ul li > ul{display: none!important;}
footer a:not([href]){display: none;}
footer .social{margin-top: 2rem;}
footer ul li > ul{display: none!important;}
footer a:not([href]){display: none;}
footer img{
	max-height: 80px;
	margin-bottom: 2rem;
}
.main-foot p{font-size: 2rem;font-weight: 700;}
footer h5{
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 2rem;
	max-width: 450px;
	color: white;
}
.main-foot img {
    max-width: 180px;
/*    filter: brightness(0) invert(1);
    opacity: 0.9;*/
}
/******* Extras *******/
.members img{
	max-height: 150px;
	margin: 1rem;
}
.map{padding: 0;}
.map iframe{
	width: 100%;
	height: 500px;
}
.contact-boxes span{
	margin-bottom: 1rem;
	color: var(--light);
}
.contact-boxes a{
	color: var(--light);
	display: block;
	word-break: break-word;
}
address p{
	margin: 0;
	color: var(--light);
}
address p:last-of-type{text-transform: uppercase;}
.today{color: var(--accent);}
/******* Site start *******/
.top-right .cta{
	margin-left: 2rem;
	float: right;
	line-height: 3.5rem;
}
.top-right .social{display: inline-block;}
.top-right .cta{color: white!important;}
.top-right .cta span{margin-right: 0.5rem;}


.home-banner{position: relative;}
.home-banner::after, .other-banner::after{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	opacity: 0.3;
	content: " ";
	background-image:
	 -webkit-linear-gradient(top left, var(--dark), var(--light));
	background-image:
	 -o-linear-gradient(top left, var(--dark), var(--light));
	background-image:
	 linear-gradient(to right bottom, var(--dark), var(--light));	
  animation: banner-reveal 1.5s forwards;
  animation-delay: 0.5s;
}
@-webkit-keyframes banner-reveal {
    from {opacity: 0.3;}
    to {opacity: 0.65;}
}
.home-banner::before, .other-banner::before{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50%;
	z-index: 3;
	opacity: 0;
	content: " ";
	background-image:
	 -webkit-linear-gradient(bottom, var(--dark), transparent);
	background-image:
	 -o-linear-gradient(bottom, var(--dark), transparent);
	background-image:
	 linear-gradient(to top, var(--dark), transparent);	

  animation: banner-reveal2 1.5s forwards;
  animation-delay: 0.5s;
}
@-webkit-keyframes banner-reveal2 {
    from {opacity: 0;}
    to {opacity: 0.8;}
}
.home-banner .banner{
	position: relative;
	z-index: 20;
	width: 100%;
	padding: 0;
	margin: 0;
	height: 100vh;
}
.other-banner .banner{
	position: relative;
	z-index: 20;
	width: 100%;
	padding: 0;
	margin: 0;
	height: auto;
	min-height: 600px;
}
.other-banner h1{color: white;}
@media screen and (max-width: 40em) {
	.home-banner .banner{
		height: 70vh;
		min-height: 560px;
		max-height: 680px;
	}	
	.other-banner .banner{
		height: 50vh;
		min-height: 360px;
	}
}
.wide-banner{
	max-width: 100%;
	position: relative;
	z-index: 2;
}
.other-banner{position: relative;}
.slide{
	height: 100%;
	min-height: 300px;
	overflow: hidden;
	background-position: center;
	color: white;
	position: absolute;
	width: 100%;
	overflow: hidden;
	pointer-events: none;
	margin: 0;
	z-index: 2;
}
.slide .bigbg{
	width: 100%;
	height: 100%;
	max-height: unset;
	position: absolute;
	top: 0;
	border-radius: 0;
	right: 0;
	transition: opacity 0.5s ease, transform 0.5s ease;
}
/******* Next section *******/
.banner-text{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	height: 100%;
}
.banner-text .row{
	position: relative;
	z-index: 40;
	height: 100%;
	padding-top: var(--bigpad);
}
.inner-text{
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 50;
	padding: var(--bigpad) 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.home-banner .banner-text p{
	color: white;
	font-size: 1rem;
	line-height: 1.3;
	margin: 0;
}
.home-banner h1{
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1;
	color: white;
	letter-spacing: -1px;
	max-width: 960px;
}
.banner-text p{
	font-size: 1.25rem;
	color: var(--accent);
	font-weight: 300;
	max-width: 960px;
}
.inner-text hr, .slide-text hr, main hr{
	width: 50px;
	display: inline-block;
	-webkit-transition: 0.3s ease 0.1s;
	-o-transition: 0.3s ease 0.1s;
	transition: 0.3s ease 0.1s;
}
.banner-text .animated-text{
	font-weight: 200;
	line-height: 1.1;
	color: white;
	letter-spacing: -1px;
	font-family: var(--titlefont);
}
.animated-text .letter {
  display: inline-block;
}
.banner-text .animated-text{font-size: 3rem;}
.home-header .banner-text .animated-text{font-size: 4rem;}
.banner-text .animated-text::first-letter{text-transform: uppercase;}
@media screen and (max-width: 64em) {
	.home-header .banner-text .animated-text{font-size: 3rem;}
	.banner-text .animated-text{font-size: 2.5rem;}
	.home-banner h1{font-size: 2.75rem;}
	.top-right{display: none;}
}
@media screen and (max-width: 40em) {
	.home-header .banner-text .animated-text{font-size: 2.5rem;}
	.home-banner h1{font-size: 2.5rem;}
	.home-banner p{font-size: 1rem;}
}
/******* Next section *******/
.home-service-slider, .home-service-slider .row{
	max-width: 100%;
	padding: 0;
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	width: 100%;
	display: block;
}
.service-slide{
	min-height: 700px;
	overflow: hidden;
	background-position: center;
	color: white;
	overflow: hidden;
	margin: 0;
	z-index: 2;
	display: inline-block;
	width: 28%;
	border-radius: 0;
	position: relative;
}
@media screen and (max-width: 64em) {
	.service-slide{
		min-height: 500px;
		width: 44%;
	}
}
@media screen and (max-width: 40em) {
	.service-slide{
		min-height: 500px;
		width: 70%;
	}
}
.slide-text{
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 2rem;
	width: 100%;
	z-index: 4;
}
.slide-text h2{
	color: white;
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	margin: 0;
	font-size: 2rem;
	max-width: 400px;
}
.service-slide::after{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: " ";
	background-image:
	 -webkit-linear-gradient(bottom, var(--dark), transparent);
	background-image:
	 -o-linear-gradient(bottom, var(--dark), transparent);
	background-image:
	 linear-gradient(to top, var(--dark), transparent);
	opacity: 0.99;
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	pointer-events: none;
}
.service-slide:hover::after{
	opacity: 0.8;
}
.service-slide:hover h2{
	margin-left: 30px;
}
.service-slide hr, .darkbg hr{
	background-color: var(--accent);	
}
.service-slide:hover hr{
	margin-left: 30px;
}



.border-box{
	border: 2px solid var(--accent50);
	border-radius: var(--xl-radius);
	position: relative;
}
.border-box::after{
	position: absolute;
	top: -2rem;
	left: -2rem;
	width: calc(100% + 4rem);
	height: calc(100% + 4rem);
	content: " ";
	border: 2px solid var(--accent50);
	border-radius: var(--xl-radius);
	opacity: 0.25;
}
.border-box img{max-height: 180px;}


.preview-banner{
	min-height: 900px;
	position: relative;
}
.preview-section{
	position: relative;
	z-index: 5;
}
@media screen and (max-width: 40em) {
	.preview-banner{min-height: 400px;}

}
#preview-image{
	display: none;
	text-align: center;
}
#preview-image img{
	max-height: 80%;
	max-width: 80%;
}
#preview-image video{
	aspect-ratio: 16 / 9;
	max-height: 80%;
	max-width: 80%;
	min-height: 50%;
	min-width: 50%;
}
.fancybox-content{
	background: none!important;
	padding: 0;
}
.play-div{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-button{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    position: relative;
    background-color: var(--accent);
    z-index: 3;
}
.play-button span{
	color: white!important
}
.play-button::after{
	width: 160px;
	height: 160px;
	position: absolute;
	content: " ";
	left: 0;
	right: 0;
    border-radius: 50%;
    background-color: var(--accent);
	transform:scale(1); 
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	z-index: -1;
	opacity: 0.6;
}
.play-button:hover::after{
	transform:scale(1.2); 
}
@media screen and (max-width: 64em) {
	#preview-image img{
		max-height: 95%;
		max-width: 95%;
	}
	#preview-image video{
		aspect-ratio: 16 / 9;
		max-height: 95%;
		max-width: 95%;
		min-height: 70%;
		min-width: 70%;
	}
	.play-button{
	    width: 120px;
	    height: 120px;
	}
	.play-button::after{
		width: 120px;
		height: 120px;
	}
}

.big-icon{
	overflow: hidden;
	z-index: 1;
	position: relative;
	background-image: url(../images/icon.svg);
	background-size: auto 100%;
	background-position: bottom 0px right 32px;
	background-repeat: no-repeat;
}
.big-icon::before{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: " ";
	z-index: 2;
	background-color: var(--dark);
	opacity: 0.95;
}
.big-icon .row{
	position: relative;
	z-index: 2;
}

.vertical-text{
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform:rotate(180deg);
}
.vertical-text h3{font-size: 3rem;}
.vertical-text p{
	line-height: 1.2;
	margin-top: 1rem;
}

.main-text-contact p{margin: 0;}


.banner-text .inner-text img{max-height: 200px;}
@media screen and (max-width: 40em) {
.banner-text .inner-text img{max-height: 120px;}	
}






.review-slider{
	position: absolute;
	width: 100%;
	top: 0;
	border-radius: var(--radius);
	min-height: 400px;
	padding-bottom: 100px;
}
.review-slider p{
	font-size: 1.5rem;
	line-height: 1.4;
	font-weight: 700;
}
.review-slider .sub-title{
	color: var(--light);
	font-size: 0.75rem;
}

.flickity-prev-next-button.next {left: 8rem;}
.flickity-prev-next-button.previous {left: unset;}
.flickity-prev-next-button {top: calc(100% - 44px - 2rem);}
.flickity-button {
    position: absolute;
    background: transparent;
    border: none;
    color: var(--accent);
}
.home-previews h3{
	color: var(--accent);
}
.review-slider-bigbg{min-height: 600px;}




a.cred img{
	margin-bottom: 0;
	width: 64px;
	height: 64px;
	position: relative;
	top: 0;
}
a.cred p{
	color: white;
	font-size: 1.1em;
	margin: 0;
	font-weight: bold;
	line-height: 120%;
	padding: 0 10px;
	text-shadow: 0 3px 5px rgba(0,0,0,0.4);
}
a.cred{
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	overflow: hidden;
	padding: 6px 12px;
	border-radius: var(--radius);
	align-items: center;
	display: flex;
	background-size: 10000px;
	height: 100%;
}
.members .column{margin-top: 1rem;}

.dark-text{color: black!important;}
.dark-text :is(p, h1, h2){
	color: black!important;
	text-shadow: none!important;
}

.rounded{
	border-radius: var(--radius);
	overflow: hidden;
}
.shadow{
	-webkit-transition: ease 0.5s;
	-o-transition: ease 0.5s;
	transition: ease 0.5s;	
	box-shadow: 
	0 -1px 2px rgba(0,0,0,0.05), 
    0 2px 4px rgba(0,0,0,0.05), 
    0 4px 8px rgba(0,0,0,0.05), 
    0 8px 16px rgba(0,0,0,0.02),
    0 16px 32px rgba(0,0,0,0.1);
}
.shadow:hover{
	box-shadow: 
	0 2px 4px rgba(0,0,0,0.05), 
    0 4px 8px rgba(0,0,0,0.05), 
    0 8px 16px rgba(0,0,0,0.05), 
    0 16px 32px rgba(0,0,0,0.05),
    0 32px 64px rgba(0,0,0,0.15);
}
.cards span{
	color: white;
	margin-bottom: 2rem;
}
.ctWidget {
	margin: 0 auto;
	max-width: 360px;
	padding: 1.5em 1.3em;
	background-color: #F0F0F3;
	border-radius: 0.4em;
	overflow: hidden;
	box-shadow: 5px 7px 10px rgba(0,0,0,0.1);
}
.ctWidget .inner{
	display: block;
	overflow: hidden;
}
.ctWidget .inner img{
	position: relative;
	margin-bottom: -22%;
	margin-top: -36%;
	width: 100%;
	mix-blend-mode: darken;
}
.ctWidget a:hover{
	background-color: #0569ff;
}
.ctWidget a{
	transition: background-color 0.44s linear;
	border-radius: 0.2em;
	display: block;
	margin: 1.6em 0.6em 0 0.6em;
	padding: 1em 1.2em;
	background-color: red;
	color: white;
	font-size: 0.8em;
	font-weight: bold;
	text-align: center;
}
.gas{background-color: black;color: yellow;}
.gas h4{color: yellow;font-size: 2.5rem;}
@media screen and (max-width: 64em) {
	.gas h4{color: yellow;font-size: 1.5rem;}
}
.contact-boxes .lightbg a{
	color: var(--dark)!important;
}
.contact-boxes a{color: var(--accent)}
.contact-boxes .columns{margin-bottom: 2rem;}
.faq .column{margin-bottom: 2rem;}
.contact-boxes .map{
	border-radius: var(--radius);
	overflow: hidden;
}
.contact-boxes a{text-decoration: underline!important;}

.biglogo{
	text-align: center;
	border-radius: var(--bigrad);
    min-height: 400px;
}
.biglogo img{
    position: absolute;
    z-index: 5;
    max-width: 80%;
    max-height: 80%;
}
.biglogo-container{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media screen and (max-width: 64em) {
	html{font-size: 95%;}
	.fancybox-container{height: calc(100vh - 50px);top: 49px;}
	footer{padding-left: 1.15rem;padding-right: 1.15rem;
		padding-top: 3rem;}
	footer .columns{padding: var(--smallpad) 1.15rem;}
	footer .by .columns{padding: var(--smallpad) 0;}
	.top-right{display: none;}
	.review-slider-bigbg{min-height: 400px;}
	.after-section{order: +1;}
}




@media screen and (max-width: 40em) {
	.vertical-text{
		writing-mode: horizontal-tb;
		transform:rotate(0deg);
	}
	.main-text-contact .button{margin-top: 2rem;}
	.review-slider{
		position: relative;
		min-height: 400px;
	}
	.review-slider-bigbg{min-height: 300px;}
	.home-previews h3{font-size: 1.5rem;}
}