@charset "utf-8";
@import url(https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;700&display=swap);

/* 

Donna Jelley Counselling

07555 320 799
#mobile
donnajelley.counselling@gmail.com
-----------------
Horsham and crawley counselling group Alphacom House, 8A Oakhill Road
Horsham
West Sussex
RH117EW
------------------
counselling
psychodynamic counsellor

#serviceone
#servicetwo
#servicethree
#servicefour
------------------
25/10/2021
www.donnajelleycounselling.co.uk
------------------

<img src="media/images/logo.jpg" alt="">
<img src="media/images/logo.png" alt="">

 */

.logo img{
	max-height: 180px;
	display: inline-block;
}
@media screen and (max-width: 64em){.logo img{max-height: 120px;}}
.logo{
	margin-top: var(--mediumpad);
	padding-top: var(--mediumpad);
	padding-bottom: var(--mediumpad);
}
.top-section{
	position: relative;
	z-index: 50;
}


header .row{position: relative;z-index: 20;}

body{
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	padding: 0px 0;
	font-family: var(--mainfont);
	overflow-x:hidden;

	--extradark: #050505;
	--dark: #69737c;
	--medium: #a0c2cb;
	--light: #d2bed3;
	--bigrad: 12px;
	--mediumrad: 6px;
	--smallrad: 3px;
	--bigpad: 40px;
	--mediumpad: 20px;
	--smallpad: 10px;
	--mainfont: 'Manrope', sans-serif;
	--titlefont: 'Abhaya Libre', serif;
}
a, a:active, a:visited, a:link{
	text-decoration: none;
	color: #777777;
}
p{
	font-size: 1rem;
	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%;
}


/******** BN Kit ********/
.social{display: inline-block;}
a.mobphone[href*="#"]{display: none!important;}
.social a[href^="#"]{display: none!important;}
.social a[href*="facebook"]{background-color: #4B69B0;}
.social a[href*="twitter"]{background-color: #37B1E1;}
.social a[href*="instagram"]{background: radial-gradient(
circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%,#D6249F 60%,#285AEB 90%);}
.social a[href*="youtube"]{background-color: #E83F3A;}
.social a[href*="wa.me"]{background-color: #2BA63A;}
.social a[href*="linkedin"]{background-color: #0270ad;}
.social a[href*="google"]{background-color: #3e81eb;}
.social a{
	display: inline-block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	margin-right: 5px;
	border-radius: var(--smallrad);
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	box-shadow: 0 5px 8px rgba(0,0,0,0.15);
}
.social a:hover{background-color: var(--medium)!important;}
.social span{color: white;margin: 0;}
::-moz-selection {background: var(--medium);color: var(--light);}
::selection {background: var(--medium); color: var(--light);}
.bigbg{
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
	min-height: 400px;
	border-radius: var(--mediumrad);
}
main hr{margin-top: 25px;margin-bottom: 25px;}
.hundred{height: 100%;overflow: auto;}
.rel{position: relative;}
.nopad{padding: 0;}

main{position: relative;z-index: 3;padding-top: var(--mediumpad);}
main .row{position: relative;z-index: 5;}
main::after{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1000px;
	z-index: 1;
	opacity: 0.0;
	content: " ";
	background-image:
	 -webkit-linear-gradient(top, var(--light), rgba(255,255,255,1));
	background-image:
	 -o-linear-gradient(top, var(--light), rgba(255,255,255,1));
	background-image:
	 linear-gradient(to bottom, var(--light), rgba(255,255,255,1));
}
main section{z-index: 3;}

/******** Background colours ********/
.extradarkbg{background-color: var(--extradark);}
.darkbg{background-color: var(--dark);}
.medbg{background-color: var(--medium);}
.lightbg{background-color: var(--light);}
.extralightbg{position: relative;}
.extralightbg::after{
	position: absolute;
	content: " ";
	background-color: var(--light);
	top: 0px;
	height: 100%;
	width: 100%;
	left: 0;
	z-index: 1;
	opacity: 0.1;
	pointer-events: none;
}
.gradientbg{	
	background-image:
	 -webkit-linear-gradient(top left, var(--dark), var(--medium));
	background-image:
	 -o-linear-gradient(top left, var(--dark), var(--medium));
	background-image:
	 linear-gradient(to right bottom, var(--dark), var(--medium));
}
.gradientbg2{	
	background-image:
	 -webkit-linear-gradient(top left, var(--medium), var(--light));
	background-image:
	 -o-linear-gradient(top left, var(--medium), var(--light));
	background-image:
	 linear-gradient(to right bottom, var(--medium), var(--light));
}
.gradientoverlay{position: relative;}
.gradientoverlay::after{
	position: absolute;
	content: " ";
	background-image:
	 -webkit-linear-gradient(top left, var(--dark), var(--medium));
	background-image:
	 -o-linear-gradient(top left, var(--dark), var(--medium));
	background-image:
	 linear-gradient(to right bottom, var(--dark), var(--medium));
	top: 0px;
	height: 100%;
	width: 100%;
	left: 0;
	z-index: 1;
	opacity: 0.1;
	pointer-events: none;
}
.gradientbg .row, .gradientbg .columns,
.gradientbg2 .row, .gradientbg2 .columns,
.overlay .row, .overlay .columns,
.gradientoverlay .row, .gradientoverlay .columns{
	position: relative;
	z-index: 5;
}
.overlay{overflow:hidden;}
.overlay .bigbg{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-size: cover;
	background-position: center;
	mix-blend-mode: multiply;
	filter: grayscale(100%);
}
/******** Text ********/
.sub-title{
	font-size: 0.75rem;
	line-height: 120%;
	font-weight: 500;
	color: var(--medium);
	display: block;
	text-transform: uppercase;
	position: relative;
	letter-spacing: 2px;
	margin: 0;
	margin-bottom: 20px;
}
.darkbg .sub-title{color: var(--medium);}
.lightbg .sub-title, .extralightbg .sub-title{color: var(--medium);}
.gradientbg .sub-title{color: var(--light);}

main h1{
	font-size: 2.25rem;
	line-height: 120%;
	font-weight: 700;
	color: var(--dark);	
}
main h2{
	font-size: 2rem;
	line-height: 120%;
	font-weight: 500;
	color: var(--dark);	
}
main h3{
	font-size: 1.75rem;
	line-height: 120%;
	font-weight: 400;
	color: var(--dark);	
}
main h4{
	font-size: 1.5rem;
	line-height: 120%;
	font-weight: 400;
	color: var(--dark);	
}
main h5{
	font-size: 1.25rem;
	line-height: 120%;
	font-weight: 700;
	color: var(--medium);	
}
main h6{
	font-size: 1rem;
	line-height: 120%;
	font-weight: 700;
	color: var(--medium);	
}
main strong{font-weight: 700;color: var(--medium);}
.medbg strong{font-weight: 700;color: var(--dark);}

.light-text{color: white;}
.light-text p{color: white;}
.light-text h1, .light-text h2, .light-text .sub-title{color: white;}
.light-text h3, .light-text h4, .light-text h5{color: var(--light);}

.extradarkbg{color: white;}
.extradarkbg p{color: white;}
.extradarkbg h1, .extradarkbg h2, .extradarkbg .sub-title{color: var(--medium);}
.extradarkbg h3, .extradarkbg h4, .extradarkbg h5{color: var(--light);}

.darkbg{color: white;}
.darkbg p{color: white;}
.darkbg h1, .darkbg h2, .darkbg .sub-title{color: white;}
.darkbg h3, .darkbg h4, .darkbg h5{color: white;}

.medbg{color: white;}
.medbg p{color: white;}
.medbg h1, .medbg h2, .medbg .sub-title{color: white;}
.medbg h3, .medbg h4, .medbg h5{color: var(--light);}

.lightbg{color: black;}
.lightbg p{color: black;}
.lightbg h1, .lightbg h2, .lightbg .sub-title{color: var(--medium);}
.lightbg h3, .lightbg h4, .lightbg h5{color: var(--dark);}

.caption{color: white;}
.caption p{color: white;}
.caption h1, .caption h2, .caption .sub-title{color: white;}
.caption h3, .caption h4, .caption h5{color: var(--light);}



/******** Button ********/
.button{
	line-height: 35px;
	font-size: 0.75rem;
	padding: 0 15px;
	display: inline-block;
	font-weight: 500;
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	background-color: var(--medium);
	color: white!important;
	border-radius: 3px;
	box-shadow: 0 0 30px rgba(0,0,0,0.2);
}
.button:hover{
	text-decoration: none;
	background-color: var(--dark);
	color: white;
}
.button span{margin-left: 10px;}
.button2{background-color: var(--dark);color: white!important;}
.button2:hover{background-color: var(--medium);}
.button2 span{color: var(--medium)!important;}
.button2:hover span{color: var(--dark)!important;}
.medbg .button2:hover{background-color: var(--light);
	color: var(--dark)!important;}
.darkbg .button:hover{
	background-color: var(--light);
	color: var(--dark)!important;
}


/******** List ********/
main ul li{
	position: relative;
	font-size: 1rem;
	line-height: 30px;
	margin-bottom: 15px;
	text-align: left;
	padding-left: 40px;
	display: inline-block;
	width: 100%;
	text-transform: capitalize;
}
main ul li::before{
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background-image: url(../images/shapes/check.svg);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	color: white;
	content: " ";
	background-color: var(--light);
}

main ol{
	counter-reset: my-awesome-counter;
	padding: 0;
	margin-top: var(--smallpad);
	margin-bottom: var(--mediumpad);	
}
main ol li{
	position: relative;
	font-size: 1.25rem;
	line-height: 2rem;
	margin-bottom: 10px;
	text-align: left;
	padding: var(--smallpad);
	display: inline-block;
	width: 100%;
	color: var(--dark);
	font-weight: 700;
	-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(--medium);
  font-weight: bold;
}
main ol li::after{
	position: absolute;
	left: 0;
	bottom: 0;
	content: " ";
	background-color: rgba(0,0,0,0.05);
	border-radius: var(--smallrad);
	width: 100%;
	height: 3px;
	-webkit-transition: ease 0.6s;
	-o-transition: ease 0.6s;
	transition: ease 0.6s;
}
main ol li:hover::after{background-color: var(--medium);}
main ol li:hover a{color: var(--dark)!important;}

/******** Section sizes ********/
section{
	padding-top: 160px;
	padding-bottom: 160px;
	position: relative;
}
.large-section{
	padding-top: 200px;
	padding-bottom: 200px;
	position: relative;
}
.medium-section{
	padding-top: 80px;
	padding-bottom: 80px;
	position: relative;
}
.small-section{
	padding-top: 40px;
	padding-bottom: 40px;
	position: relative;
}
.next-section{
	padding-top: 0px;
	padding-bottom: 160px;
	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-top: 80px;padding-bottom: 80px;}
}


/******** Columns ********/
.twocols{
	-webkit-columns: 2;
	-moz-columns: 2;
	-o-columns: 2;
	columns: 2;
	-webkit-column-gap: 30px;
	-moz-column-gap: 30px;
	-o-column-gap: 30px;
	column-gap: 30px;
}
.threecols{
	-webkit-columns: 3;
	-moz-columns: 3;
	-o-columns: 3;
	columns: 3;
	-webkit-column-gap: 30px;
	-moz-column-gap: 30px;
	-o-column-gap: 30px;
	column-gap: 30px;
}
.onecol{
	-webkit-columns: 1!important;
	-moz-columns: 1!important;
	-o-columns: 1!important;
	columns: 1!important;
}
@media screen and (max-width: 64em) {
	.twocols{
		-webkit-columns: 1;
		-moz-columns: 1;
		-o-columns: 1;
		columns: 1;
	}
	.threecols{
		-webkit-columns: 2;
		-moz-columns: 2;
		-o-columns: 2;
		columns: 2;
	}
}
@media screen and (max-width: 40em) {
	.threecols{
		-webkit-columns: 1;
		-moz-columns: 1;
		-o-columns: 1;
		columns: 1;
	}
}



/******** Text sections ********/
.left-text{padding: 30px;padding-left: 0;}
.right-text{padding: 30px;padding-right: 0;}
.text{padding: 30px;}
main .content:nth-child(even) .left-text{
	order: +1;
	padding-left: 50px;
	padding-right: 0;
}
@media screen and (max-width: 64em) {
	main .content:nth-child(even) .left-text{order: auto;padding: 30px 1.15rem;}
	.left-text{padding: 30px 1.5rem;}
	.right-text{padding: 30px 1.5rem;}
	.text{padding: 30px 1.15rem;}
}
.tar{text-align: right;}
.tal{text-align: left;}
.tac{text-align: center;}




/******** Navigations ********/
nav{text-align: center;}
nav ul{
	padding-top: var(--mediumpad);
	padding-bottom: var(--mediumpad);
}
nav ul li{display: inline-block;position: relative;}
nav ul li a{
	display: inline-block;
	line-height: 35px;
	padding: 0 20px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--dark)!important;
	position: relative;
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-family: var(--titlefont);
}
nav ul li a:hover{color: var(--light)!important;}
.sub-menu{
	position: absolute;
	top: calc(100% - 2px);
	text-align: left;
	clear: both;
	white-space: nowrap;
	padding: 20px;
	border-radius: 3px;	
	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(--light);
	box-shadow: 0 0 80px rgba(0,0,0,0.2);
}
.sub-menu li{display: block;}
.sub-menu li a{padding: 0;color: #fffffffff!important;}
.sub-menu li:last-of-type{
	background: none;
	float: none;
	box-shadow: 0 0 40px rgba(0,0,0,0.0);
	padding: 0 0px;
	margin: 0;
}
.sub-menu li:last-of-type:hover a{color: var(--light)!important;}
.sub-menu li:last-of-type a:hover{
	background-color: unset;
	color: var(--light)!important;
}
.sub-menu li a{line-height: 35px;}
nav ul li:hover .sub-menu{
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
}
nav ul li:hover .sub-menu{
	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: 0;
	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;}
.call-me{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: 100000;
		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(--light);
		pointer-events: none;

		background-image: url(../images/icon.png);
		background-size: 100%;
		background-position: top -100px right -100px;
		background-repeat: no-repeat;
	}
	nav::after{
		position: absolute;
		bottom: 0;
		left: 0;
		width: 400%;
		height: 400%;
		z-index: 2;
		opacity: 0.9;
		content: " ";
		background-image:
		 -webkit-linear-gradient(bottom left, white, var(--medium));
		background-image:
		 -o-linear-gradient(bottom left, white, var(--medium));
		background-image:
		 linear-gradient(to right top, white, var(--medium));
	}
	nav::before{
		position: absolute;
		z-index: 3;
		top: calc(1.15rem + 0px);
		left: calc(1.15rem + 10px);
		width: calc(100% - 120px);
		height: 65px;
		content: " ";
		background-size: contain;
		background-image: url(../images/logo.png);
		background-repeat: no-repeat;
	}
	.shownav{
		opacity: 1;
		pointer-events: auto;
		left: 0;
	}
	nav ul li{display: block;}
	nav ul{
		display: table-cell;
		vertical-align: middle;
		position: relative;
		z-index: 10;
	}
	nav ul li a{
		line-height: 200%;
		font-size: 1.25rem;
		font-weight: 700;
		display: block;
		cursor: pointer;
	}
	nav ul li::after{display: none;}
	.toggler{
		position: fixed;
		z-index: 1000000;
		display: block;
		width: 50px;
		top: 20px;
		right: 20px;
		color: white;
		background: var(--medium);
		text-align: center;
		border-radius: var(--mediumrad);
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	}
	.toggler a{color: white;}
	.toggler span{
		line-height: 50px;
		color: white;
	}
	.toggler{cursor: pointer;}
	.toggler .row{
		padding-left: 0;
		padding-right: 0;
	}
	.logo{
		padding-right: 2.25rem;
		padding-left: 2.25rem;
		margin-top: 0;
	}
	.top-section{padding-top: 0;}
	.top-right{padding: 0;text-align: left;}
	.navigation{position: relative;z-index: 40;}
	.navigation .social{
		margin-top: 30px;
		padding: 30px 10px;
	}
	.flip-icon{
		background-color: var(--light);
		transform:rotate(180deg); 
	}
	.flip-icon span{color: white;}
	.call-me{
		position: absolute;
		bottom: 20px;
		left: 20px;
		z-index: 30;
		border-radius: var(--mediumrad);
		display: block;
		animation: shakey 4s infinite;
	}
	@-webkit-keyframes shakey {
	    0% {transform:rotate(0deg);}
	    87.5% {transform:rotate(0deg);}
	    90% {transform:rotate(2deg);}
	    92.5% {transform:rotate(-2deg);}
	    95% {transform:rotate(2deg);}
	    97.5% {transform:rotate(-2deg);}
	    100% {transform:rotate(0deg);}
	}
	.call-me .row{padding: var(--smallpad);}
	.call-me span{
		display: inline-block;
		width: 3rem;
		height: 3rem;
		line-height: 3rem;
		text-align: center;
		border-radius: var(--mediumrad);
		-webkit-transition: ease 0.3s;
		-o-transition: ease 0.3s;
		transition: ease 0.3s;
		color: var(--dark);
	}
	.call-me p{margin: 0;color: var(--dark);}
	.call-me a{margin: 0;color: var(--dark);}
	.call-left{padding-left: 0px;padding-right: 0px;}
	.call-right{padding-left: 20px;padding-right: 20px;}
}
.call-me .bigphone{font-size: 1.25rem;}


/******** FORM ********/
.myform{
	overflow: auto;
	width: 100%;
	padding: 0;
	position: relative;
}
.myform label{
	float: left;
	display: block;
	font-size: 1rem;
	line-height: 120%;
	position: relative;   
	box-sizing: border-box;
	padding: 0px;
	color: var(--dark);
	font-weight: 700;
	width: 100%;
	margin-bottom: 10px;
}
select{border-radius: 0px;}
.myform input, .myform select, .myform textarea{
	width: 100%;
	color: var(--dark);
	padding: 10px 20px;
	border: 0px;
	border-left: 0px solid #111111;
	height: 50px;
	margin-bottom: 30px;
	background-color: rgba(0,0,0,0.1);
	font-size: 1rem;
	box-shadow: none;
	font-weight: 500;
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
	border-radius: 3px;
}
.myform textarea{min-height: 150px;}
option{
	background-color: var(--dark)!important;
	border: none;
	color: #ffffff;
}
input[type=submit]{
	background-color: var(--medium);
	color: white!important;
	font-size: 1rem;
	display: inline-block;
	line-height: 30px;
	-webkit-transition: ease 0.3s;
	-o-transition: ease 0.3s;
	transition: ease 0.3s;
}
.myform input:focus, .myform textarea:focus, .myform select:focus{
	border:0px;
	outline: none!important;
	background-color: rgba(0,0,0,0.15);
	padding-left: 20px;
	transition: ease 0.3s;
}
.form-checks input{
	display: inline-block;
	width: 40px;
	height: 40px;
	border: 2px solid white;
	margin-bottom: 0;
	border-radius: 3px 3px 3px 3px;
}
.form-checks p{
	display: inline;
	width: auto;
	line-height: 30px;
	color: #ffffff;
	float: left;
	margin: 0;
	padding-right: 30px;
}
.form-check{
	width: 100%;
	text-align: left;
	padding-top: 10px;
	padding-bottom: 20px;
	display: block;
	float: left;	
}
.checker p{margin: 0;}
.checker h4{margin: 0;}
.disabled{
	background-color: grey!important;
	pointer-events: none;
}
::-webkit-input-placeholder { color: var(--dark)!important;font-weight: 500;opacity: 0.75;}
::-moz-placeholder { color: var(--dark)!important;font-weight: 500;opacity: 0.75;}
:-ms-input-placeholder { color: var(--dark)!important;font-weight: 500;opacity: 0.75;}
:-moz-placeholder { color: var(--dark)!important;font-weight: 500;opacity: 0.75;}



/******** GALLERY ********/
.thumbs{
	float: left;
	width: calc(50% - 10px);
	margin: 5px;
	overflow: hidden;
	position: relative;
	z-index: 2;
	height: 400px;
	background-size: cover;
	background-position: center center;
	border-radius: 3px;
}
.thumbs-3{width: calc(33.33% - 10px);}
.thumbs-4{width: calc(25% - 10px);}
.home-gallery .thumbs{
	width: calc(33.33% - 10px);
	height: 250px;
}
.thumbs::before{	
	content: " ";
	width: calc(100% - 5px);
	height: calc(0% - 5px);
	top: 0px;
	left: 0px;
	z-index: 20;
	position: absolute;
	opacity: 1;
	pointer-events:none;
	background-color: rgba(255,255,255,0.1);
-webkit-transition: all 0.5s ease; 
   -moz-transition: all 0.5s ease; 
     -o-transition: all 0.5s ease; 
        transition: all 0.5s ease;
	border-radius: 2px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.thumbs::after{
	content: " ";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 20;
	position: absolute;
-webkit-transition: all 0.5s ease; 
   -moz-transition: all 0.5s ease; 
     -o-transition: all 0.5s ease; 
        transition: all 0.5s ease;
	opacity: 0;
	pointer-events:none;

	background-image: url(../images/shapes/zoom.svg);
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: 10%;
	background-size: 10%;
}
.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;
}
.thumbs:hover::after{
	-webkit-background-size: 20%;
	background-size: 20%;
	opacity: 0.75;
}
.thumbs:hover::before{height: calc(100% - 10px);}
@media screen and (max-width: 64em) {.thumbs{height: 200px;}}
@media screen and (max-width: 40em) {.thumbs{height: 100px;}}

.caption{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: var(--mediumpad);
	color: white;
}
.caption .row{
	position: relative;
	z-index: 5;
}
.caption::after{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 250%;
	background-image:
	 -webkit-linear-gradient(top, transparent, var(--dark));
	background-image:
	 -o-linear-gradient(top, transparent, var(--dark));
	background-image:
	 linear-gradient(to bottom, transparent, var(--dark));
	 content: " ";
	 z-index: 1;
	 opacity: 0.6;
}
header .caption p{
	font-size: 2rem;
	font-weight: 300;
	text-shadow: 0px 4px 3px rgba(0,0,0,0.3);
	font-family: var(--titlefont);
	text-transform: capitalize;
}


/******** BLOCKQUOTE ********/
blockquote{
	display: inline-block;
	width: 100%;
	margin: 0;
	margin-bottom: 20px;
	font-style: normal;
	position: relative;
	z-index: 10;
	border-radius: var(--mediumrad);
	padding: 40px;
	padding-top: 100px;
	min-height: 400px;
}
blockquote span{
	font-size: 0.75rem;
	line-height: 30px;
	font-weight: 700;
	color: var(--medium);
	display: block;
	margin-top: 20px;
	text-transform: uppercase;
	position: relative;
	letter-spacing: 1px;
}
blockquote::before{
	position: absolute;
	top: 40px;
	left: 40px;
	height: 40px;
	width: 40px;
	background-image: url(../images/shapes/quotez.svg);
	background-position: center;
	background-size: 100%;
	background-repeat: no-repeat;
	content: " "; 
}
.smallquote{font-size: 1rem;line-height: 150%;}
.midquote{font-size: 1.5rem;line-height: 150%;}
.bigquote{font-size: 2rem;line-height: 150%;}
@media screen and (max-width: 40em) {blockquote{min-height: unset;}}



footer{
	background-color: var(--extradark);
	padding-top: 100px;
	position: relative;
	color: white;
	overflow: hidden;
	z-index: 10;
}
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: 300;
	line-height: 2rem;
	font-size: 1rem;
	text-transform: capitalize;
}
footer a:hover, footer ul li a:hover{
	color: var(--medium)!important;
}
footer .bigphone{
	margin-bottom: 20px;
	margin-top: 30px;
	font-size: 2.5rem;
	color: var(--medium)!important;
}
.by{
	margin-top: 50px;
	border-top: 1px solid rgba(255,255,255,0.05);
	padding-top: 25px;
	padding-bottom: 25px;
}
footer ul{columns: 2;}
footer p{margin: 0;}
.by p{
	color: rgba(255,255,255,0.3);
	text-transform: capitalize;
	font-weight: 300;
	font-size: 0.65rem;
}
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(--medium);}
footer .social{
	margin-top: 20px;
}
.main-foot a{text-transform: lowercase!important;}
address p{margin: 0;}

/******** MISC ********/

.card{
	border-radius: var(--mediumrad);
	padding: 30px;
	-webkit-transition: ease 0.5s;
	-o-transition: ease 0.5s;
	transition: ease 0.5s;
	box-shadow: 0 2px 1px rgba(0,0,0,0.03), 
	  0 4px 2px rgba(0,0,0,0.03), 
	  0 8px 4px rgba(0,0,0,0.03), 
	  0 16px 8px rgba(0,0,0,0.03),
	  0 32px 16px rgba(0,0,0,0.03),
	  0 64px 32px rgba(0,0,0,0.03);
}
.card:hover{
	box-shadow: 0 1px 1px rgba(0,0,0,0.03), 
	  0 1px 1px rgba(0,0,0,0.03), 
	  0 2px 2px rgba(0,0,0,0.03), 
	  0 4px 4px rgba(0,0,0,0.03),
	  0 8px 8px rgba(0,0,0,0.03),
	  0 12px 16px rgba(0,0,0,0.03);
}
.card .bigbg{min-height: 200px; margin-bottom: 30px;}


.shadow{
	border-radius: var(--smallrad);
	-webkit-transition: ease 0.5s;
	-o-transition: ease 0.5s;
	transition: ease 0.5s;
	box-shadow: 0 2px 1px rgba(0,0,0,0.03), 
	  0 4px 2px rgba(0,0,0,0.03), 
	  0 8px 4px rgba(0,0,0,0.03), 
	  0 16px 8px rgba(0,0,0,0.03),
	  0 32px 16px rgba(0,0,0,0.03),
	  0 64px 32px rgba(0,0,0,0.03);
}
.shadow:hover{
	box-shadow: 0 1px 1px rgba(0,0,0,0.03), 
	  0 1px 1px rgba(0,0,0,0.03), 
	  0 2px 2px rgba(0,0,0,0.03), 
	  0 4px 4px rgba(0,0,0,0.03),
	  0 8px 8px rgba(0,0,0,0.03),
	  0 12px 16px rgba(0,0,0,0.03);
}




.banner{
	position: relative;
	z-index: 20;
	width: 100%;
	padding: 0;
	margin: 0;
}
.home-header .slide{height: 60vh;min-height: 550px;}
.slide{
	height: 45vh;
	min-height: 450px;
	overflow: hidden;
	background-position: center;
	margin: 0px;
	color: white;
	position: relative;
	width: 100%;
	overflow: hidden;
	opacity: 0;
	-webkit-transition: ease 1s;
	-o-transition: ease 1s;
	transition: ease 1s;
}
.slide .bigbg{
	width: 100%;
	height: 100%;
}
.slide.is-selected{	
  	animation: slowzoom 5s forwards;
  	opacity: 1;
}
.flickity-page-dots {
  bottom: -22px;
}
/* dots are lines */
.flickity-page-dots .dot {
  height: 4px;
  width: 40px;
  margin: 0;
  border-radius: 0;
}
@keyframes slowzoom {
	0%{
		-webkit-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
	}
	100% {-webkit-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	}
}
@media screen and (max-width: 40em) {
	.home-header .slide{height: 40vh;min-height: 200px;}
	.home-header .slide .bigbg{height: 40vh;min-height: 200px;}
	.slide{height: 40vh;min-height: 150px;
	}
}




.intro p:first-of-type{
	font-size: 2.5rem;
	font-family: var(--titlefont);
	font-weight: 700;
	color: var(--dark);
	margin-bottom: var(--bigpad);
}
.intro h1{
	font-size: 1.5rem;
}

.side-bar {
    position: relative;
    height: 100%;
    display: flex;
    z-index: 1;
    flex-direction: column;
}
.side-bar .bigbg {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 250px;
    max-height: 800px;
    width:100%;
    z-index: 5;
}
.side-bar .comment-box{
	z-index: 14;
	position: absolute;
	left: -20px;
	bottom: 20px;
	width: 100%;
	max-width: 400px;
	border-radius: var(--mediumrad);
}

.qualifications .button{margin-top: 20px;margin-left: 0!important;}


.griddy aside{
  display: grid; 
  grid-auto-rows: minmax(min-content, max-content);
  grid-template-columns: 50% 50%; 
  grid-template-rows: 50% 50%; 
  gap: 1rem 1rem; 
  grid-template-areas: 
    "right-block top-left-block"
    "right-block bottom-left-block";
}
.right-block { grid-area: right-block; }
.top-left-block { grid-area: top-left-block; }
.bottom-left-block {
  justify-self: stretch; 
  align-self: stretch; 
  grid-area: bottom-left-block; 
}
.griddy .bigbg{
	min-height: 200px;
}

.contact-section{
	background-image: url(../images/big.jpg);
	background-size: cover;
	background-position: center center;
}
.contact-section::before{	
	position: absolute;
	content: " ";
	background-color: var(--dark);
	top: 0px;
	height: 100%;
	width: 100%;
	left: 0;
	z-index: 1;
	opacity: 0.2;
	pointer-events: none;
}
.contact-section::after{	
	position: absolute;
	content: " ";
	background-color: var(--dark);
	background-image:
	 -webkit-linear-gradient(top left, var(--light), var(--medium));
	background-image:
	 -o-linear-gradient(top left, var(--light), var(--medium));
	background-image:
	 linear-gradient(to right bottom, var(--light), var(--medium));
	top: 0px;
	height: 100%;
	width: 100%;
	left: 0;
	z-index: 2;
	opacity: 0.85;
	pointer-events: none;
}
.button + .button{margin-left: 10px;}
.contact-section h3{
	font-size: 2.5rem;
	text-shadow: 0px 4px 3px rgba(0,0,0,0.3);
}

.comment-box{
	position: relative;
	border-radius: var(--mediumrad);
	padding: var(--mediumpad);
	margin-top: var(--mediumpad);
}
.comment-box::after{
	position: absolute;
	top: -12px;
	left: 10%;
	height: 30px;
	width: 30px;
	transform:rotate(45deg);
	content: " ";
	background-color: inherit; 
	border-radius: var(--mediumrad);
}
.content .comment-box::after{display: none;}
.comment-box .bigphone{
	font-size: 1.25rem;
	font-weight: 300;
	color: white;
}
.comment-box p{margin: 0;}
.map iframe{min-height: 400px;}
.process{
	position: relative;
	padding-bottom: 300px;
}
.process::before{
	background-image: url(../images/shapes/process.svg);
	background-position: bottom center;
	background-color: cover;
	background-repeat: no-repeat;
	position: absolute;
	bottom: 0px;
	left: 0%;
	width: 100%;
	height: 100%;
	z-index: 2;
}
.process .reveal-box:nth-child(1){margin-bottom: -20px;}
.process .reveal-box:nth-child(2){margin-bottom: -60px;}
.process .reveal-box:nth-child(3){margin-bottom: -30px;}
.process .comment-box{overflow: hidden;}
.process-number{
	position: absolute;
	right: -40px;
	bottom: -80px;
	font-size: 30rem;
	line-height:100%;
	pointer-events: none;
	opacity: 0.1;
	color: var(--dark)!important;
	font-weight: 700;
}
@media screen and (max-width: 64em) {
	.process .reveal-box:nth-child(1){margin-bottom: 0px;}
	.process .reveal-box:nth-child(2){margin-bottom: 0px;}
	.process .reveal-box:nth-child(3){margin-bottom: 0px;}
	.process{padding-bottom: var(--bigpad);}
}

.contact-boxes h4{color: var(--medium);}
.contact-boxes span{color: var(--medium);margin-bottom: 30px;}
.contact-boxes .bigphone{
	color: var(--dark);
	font-weight: 700;
	font-size: 1.5rem;
}
.contact-boxes .hundred{padding: var(--bigpad);}

video{
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 64em) {
html{font-size: 90%;}
.fancybox-container{height: calc(100vh - 50px);top: 49px;}
main .content:nth-child(even) .text{order: auto;padding: var(--bigpad) 1.15rem;}
footer{padding: var(--bigpad) 1.15rem 0;}
footer .columns{padding: var(--smallpad) 1.15rem;}
.side-bar .comment-box{
	position: relative;
	left: 0px;
	bottom:0px;
	width: 100%;
	margin-top: var(--mediumpad);
}
.intro .columns{text-align: left;}
.intro{padding-bottom: 0;}
.top-bit .comment-box{margin-top: 80px;}
}




@media screen and (max-width: 40em) {
html{font-size: 80%;}
.contact-section{text-align: left;}
main{padding-top: 0;}
footer ul{columns: 1;}
}