@font-face {
  font-family: 'CeraProMedium';
  src: url('/assets/webfonts/cerapromedium.woff') format('woff')
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-family: 'Koulen', 'Quicksand', sans-serif;
}

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

/* colour scheme */

:root {
  /*--neda-blue: #2f3e4f;*/
  --neda-blue: #3a4554;
  /*--steel-blue: #96adb5;*/
  --steel-blue: #9aacb6;
  --cool-grey: #dadada;
  --neutral: #f9f2ea;
}

html {
	background: var(--cool-grey);
}

body {
	background: #fff;
	font-family: 'Quicksand', sans-serif;
	font-size: 18px;
}

body.solo {
	background-color: var(--neda-blue);
	color: #fff;
	margin: 1rem;
}

/* navbar */

.nav-burger {
	display: none;
}

.navbar {
	display: block;
	width: 100%;
}

.navbar-nav {
	display: block;
	float: right;
}

.navbar-nav li {
	float: left;
}

.navbar-nav li a {
	color: var(--steel-blue);
	font-size: 1rem;
	font-weight: 500;
	margin-left: 2rem;
	text-transform: uppercase;
}

.navbar-nav li a:hover {
	color: var(--cool-grey);
	text-decoration: none;
}

.navbar-nav li.active a {
	color: var(--neda-blue);
}

	.navbar {
		background-color: #fff;
		height: 50px;
		left: 0;
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 25;
	}
	.navbar-nav {
		background-color: #fff;
		left: 0;
		padding: 1em 2em;
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 50;

		-webkit-transform: translateY(-100%);
		-moz-transform: translateY(-100%);
		-ms-transform: translateY(-100%);
		-o-transform: translateY(-100%);
		transform: translateY(-100%);
		
		-webkit-transition: all 1s ease-in-out;
		-moz-transition: all 1s ease-in-out;
		-ms-transition: all 1s ease-in-out;
		-o-transition: all 1s ease-in-out;
		transition: all 1s ease-in-out;
	}
	.navbar-nav.active {
		-webkit-transform: translateY(0%);
		-moz-transform: translateY(0%);
		-ms-transform: translateY(0%);
		-o-transform: translateY(0%);
		transform: translateY(0%);
	}
	.navbar-nav li {
		width: 80%;
	}
	.navbar-nav li a {
		display: block;
		float: left;
		font-size: 2rem;
		margin-left: 0;
		padding: .25em .5em;
	}
	.nav-burger {
		background-color: #fff;
		border: none;
		display: block;
		height: 40px;
		padding: 0;
		position: fixed;
		right: 15px;
		top: 5px;
		width: 40px;
		z-index: 100;
	}
	.nav-burger:before , .nav-burger:after {
		background-color: var(--neda-blue);
		content: '';
		height: 2px;
		left: 20px;
		position: absolute;
		width: 40px;
		
		-webkit-transform: translate(-50%, -50%);
		-moz-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		-o-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);

		-webkit-transition: all 0.5s ease-in-out;
		-moz-transition: all 0.5s ease-in-out;
		-ms-transition: all 0.5s ease-in-out;
		-o-transition: all 0.5s ease-in-out;
		transition: all 0.5s ease-in-out;
	}
	.nav-burger:before {
		top: 10px;
	}
	.nav-burger:after {
		top: 30px;
	}
	.nav-burger:focus {
		outline: none;
	}
	.nav-burger span {
		background-color: var(--neda-blue);
		display: block;
		height: 2px;
		margin: 19px 0;
		width: 40px;
		
		-webkit-transition: all 0.5s ease-in-out;
		-moz-transition: all 0.5s ease-in-out;
		-ms-transition: all 0.5s ease-in-out;
		-o-transition: all 0.5s ease-in-out;
		transition: all 0.5s ease-in-out;
	}
	.nav-burger.active span {
		opacity: 0;
	}
	.nav-burger.active:before {
		left: 0px;
		top: 20px;
		transform: rotate(-45deg);
	}
	.nav-burger.active:after {
		left: 0px;
		top: 20px;
		transform: rotate(45deg);
	}
	.call-icon {
		color: var(--neda-blue);
		display: block;
		height: 40px;
		font-size: 1.5rem;
		line-height: 40px;
		position: fixed;
		right: 80px;
		text-align: center;
		top: 5px;
		width: 40px;
		z-index: 100;
	}


/* header */

header {
	display: block;
	padding: 3rem;
	width: 100%;
}

header .logo {
	display: block;
	height: auto;
	margin: auto;
	width: 120px;
}

/* content grids */

.cont-grid {
	display: grid;
	width: 100%;
	
	grid-template-columns: 1fr [caption-start] 1fr 30% 1fr [caption-end] 1fr;
	grid-template-rows: auto auto auto;
	grid-gap: 2rem;
}

.grid-img {
	display: flex;
	grid-area: 1 / 3 / 4 / 6;
	
	justify-self: stretch;
}

.grid-img .img-box {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.blog .grid-img .img-box {
	min-height: 50em;
}

.grid-img img {
	bottom: 0;
	position: absolute;
	object-fit: cover;
	right: 0;
	width: 100%;
	height: 100%;
	/*z-index: -1;*/
}

.grid-img .img-box .caption {
	background-color: var(--cool-grey);
	bottom: 0;
	font-size: 1.15rem;
	line-height: 1.2;
	padding: 1rem;
	position: absolute;
	right: 0;
	z-index: 1;
}

.grid-img .img-box .caption span {
	display: block;
	font-family: 'Quicksand', sans-serif;
	font-size: .9rem;
	padding-top: .25rem;
}

.op-rb {
	object-position: right bottom;
}

.op-lb {
	object-position: left bottom;
}

.op-cb {
	object-position: center bottom;
}

.grid-capt {
	background: var(--steel-blue);
	display: block;
	padding: 2rem;
	grid-area: 1 / 2 / 2 / 5;
	justify-self: stretch;
	z-index: 2;
}

.grid-capt h1 , .grid-capt h2 {
	font-size: 6rem;
	line-height: 5.5rem;
	text-transform: uppercase;
	margin: 0;
	position: relative;
	z-index: 2;
}

.grid-capt h1 span , .grid-capt h2 span {
	display: block;
	font-family: 'Quicksand', sans-serif;
	font-size: 1.2rem;
	line-height: 1rem;
}

.grid-capt h1:after , .grid-capt h2:after {
	color: var(--cool-grey);
	font-size: 20rem;
	position: absolute;
	content: '\201C';
	font-family: 'Quicksand', sans-serif;
	display: block;
	z-index: -1;
	top: 3rem;
	left: -2.5rem;
}

.blog .grid-capt h1 {
	font-size: 3rem;
	line-height: .9;
}

.blog .grid-capt h1:after, .blog .grid-capt h2:after {
	display: none;
}

.grid-txt {
	display: flex;
	flex-direction: column;
	grid-area: 2 / 1 / 3 / 3;
	
	justify-self: stretch;
}

.grid-txt .txt-block {
	background-color: var(--cool-grey);
	background-image: url(/assets/img/txt-box-top.png), url(/assets/img/txt-box-bot.png);
	background-position: left top, left bottom;
	background-repeat: no-repeat, no-repeat;
	background-size: contain, contain;
	margin: 2rem 4rem;
	padding: 4rem 2rem 2.5rem;
	position: relative;
	font-size: .9rem;
}

.grid-txt .txt-block h1 {
	font-size: 1.75rem;
	line-height: 1;
	margin-bottom: 1rem;
}

.grid-txt .txt-block table td{
	padding-right: 1rem;
}

.grid-txt .txt-block a {
	color: var(--neda-blue);
}

.grid-txt .txt-block a:hover {
	color: var(--steel-blue);
	text-decoration: none;
}

.grid-txt .txt-block .form-control {
	border-radius: 0;
}

.grid-txt .txt-block .form-control:focus {
	background-color: var(--neutral);
	outline: 0;
}

.grid-txt .txt-block .btn-submit {
	background-color: var(--steel-blue);
	color: #fff;
	text-transform: uppercase;
}

.grid-txt .txt-block .btn-submit:hover {
	background-color: var(--neda-blue);
}

.grid-txt .txt-block h2 {
	line-height: 1.85rem;
}

@media screen and (max-width: 1279px) {
	.grid-capt {
		grid-area: 1 / 1 / 2 / 6;
	}
	.grid-capt h1 {
		font-size: 4rem;
		line-height: 3.5rem;
	}
}

@media screen and (max-width: 1200px) {
	.grid-txt {
		grid-area: 2 / 1 / 3 / 6;
	}
	.grid-img {
		grid-area: 3 / 1 / 4 / 6;
		min-height: 750px;
	}
	.grid-capt h1 {
		font-size: 4rem;
		line-height: 3.5rem;
	}
}

@media screen and (max-width: 767px) {
	.grid-txt .txt-block {
		margin: 1rem;
	}
	.grid-capt h1 {
		font-size: 3rem;
		line-height: 2.5rem;
	}
	.grid-capt h1 span {
		font-size: 1rem;
	}
	.grid-img {
		min-height: 500px;
	}
	.grid-img .img-box .caption {
		bottom: auto;
		font-size: 1.25rem;
		left: 0;
		padding: .75rem;
		right: auto;
		top: 0;
	}
	.grid-img .img-box .caption span {
		font-size: .75rem;
	}
}

.btn-download {
	position: relative;
	font-size: 1.5rem;
	font-weight: 500;
	padding-left: 0;
	padding-right: 2rem;
}

.btn-download:after {
	font-family: FontAwesome;
	content: '\f063';
	position: absolute;
	right: 0;
	top: 4px;
		-webkit-transition: all 0.5s ease-in-out;
		-moz-transition: all 0.5s ease-in-out;
		-ms-transition: all 0.5s ease-in-out;
		-o-transition: all 0.5s ease-in-out;
		transition: all 0.5s ease-in-out;
}

.btn-download:hover:after {
	top: 12px;
}

/* image rows */

.img-top {
	display: block;
	overflow: hidden;
	padding-top: 30%;
	position: relative;
	width: 100%;
}

.logo-type {
	height: auto;
	left: 50%;
	position: absolute;
	top: 40%;
	width: 160px;
	z-index: 5;
}

.img-centre {
	height: 100%;
	left: 50%;
	object-fit: cover;
	position: absolute;
	top: 50%;
	width: 100%;
	z-index: 1;
}

.t50 {
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.img-txt a {
	color: var(--steel-blue);
	font-weight: bold;
}

.row-dblue {
	background: var(--neda-blue);
	color: var(--steel-blue);
}

.row-sblue {
	background: var(--steel-blue);
	color: #fff;
}

.row-sblue a {
	color: var(--cool-grey);
	font-weight: 500;
}

.row-sblue a:hover {
	color: var(--neda-blue);
	text-decoration: none;
}

.img-txt {
	align-items: center;
	display: flex;
	flex-direction: row;
	font-weight: 300;
	justify-content: space-between;
	width: 100%;
}

.img-txt.row-centre {
	justify-content: center;
}

@media screen and (min-width: 769px) {
	.img-txt.txt-sm {
		font-size: .8em;
	}
}

.img-txt .box-logo {
	padding: 4em 0 4em 6em;
}

.img-txt .box-logo .logo-square {
	height: 10em;
	width: 10em;
}

.img-txt .box-txt {
	flex-grow: 1;
	padding: 1em 6em;
}

.img-txt .box-txt p:first-child {
	font-weight: 500;
}

.img-txt .row-img {
	max-height: 30em;
}

.img-txt .box-txt video {
	display: block;
	height: auto;
	margin: 2em auto;
	max-width: 800px;
	width: 100%;
}

.img-txt h1 {
	margin-bottom: 1rem;
	margin-top: 1rem;
}

.img-txt h2 {
	margin-bottom: 1rem;
	margin-top: 2rem;
	font-weight: 300;
}

.img-txt .box-txt .b-a {
	display: block;
	margin: .5rem auto;
	max-height: 150px;
	width: auto;
}

.img-txt .box-txt .lasers {
	display: block;
	margin: .5rem auto;
	max-height: 250px;
	width: auto;
}

/* LOTF home */

a.earn {
	background-color: var(--steel-blue);
	color: var(--neda-blue);
	display: block;
	margin-top: 3rem;
	padding: 1rem;
	text-align: center;
	width: 100%;
}

a.earn:hover {
	background-color: var(--neda-blue);
	color: #fff;
	text-decoration: none;
}

a.earn h2 {
	font-weight: 500;
	margin: 0;
	text-transform: uppercase;
}

a.earn span {
	font-size: 1.5rem;
	font-weight: 400;
}

a.earn:hover span {
	color: var(--steel-blue);
}

.vision , .costs{
	align-items:  flex-start;
	display: flex;
	flex-wrap: wrap;
	padding: 6rem;
	padding-bottom: 2rem;
}

.vision h2 , .costs h2 {
	color: #5f6f76;
	flex-basis: 33%;
	margin-top: 0;
	margin-bottom: 4rem;
}

.costs h2 {
	padding-right: 3rem;
}

.costs h2 span {
	display: block;
	font-family: 'Quicksand', sans-serif;
	font-size: 1rem;
	font-weight: 500;
}

.vision p , .costs .cost-content {
	flex-basis: 67%;
	margin-bottom: 4rem;
}

@media screen and (max-width: 767px) {
	.vision , .costs {
		padding: 3rem;
	}
}

/* booking page */

.booking-row {
	padding: 2em 0;
}

.booking-row .form-control , .img-txt .form-control , .solo .form-control {
	background-color: transparent;
	border: 1px solid var(--cool-grey);
	border-radius: 0;
	color: var(--neda-blue);
	font-weight: 500;
	
	-webkit-transition: border .5s ease-in-out;
	-moz-transition: border .5s ease-in-out;
	-ms-transition: border .5s ease-in-out;
	-o-transition: border .5s ease-in-out;
	transition: border .5s ease-in-out;
}

.booking-row.row-dblue .form-control , .img-txt.row-dblue .form-control , .solo .form-control {
	color: var(--neutral);
}

.booking-row .form-control:focus , .img-txt .form-control:focus {
	border: 1px solid var(--steel-blue);
	box-shadow: none;
}

.booking-row p {
	font-size: 1.2rem;
	font-weight: 300;
	margin: 0;
}

.booking-row.terms p {
	margin-bottom: 1rem;
}

.regular-checkbox , .checkboxes input[type=checkbox] {
	-webkit-appearance: none;
	background-color: transparent;
	border: 1px solid var(--cool-grey);
	box-shadow: none;
	padding: 9px;
	display: inline-block;
	position: relative;
	width: 38px;
	height: 38px;
	float: left;
	margin-right: 10px;
}

.regular-checkbox:active, .regular-checkbox:checked:active , .checkboxes input[type=checkbox]:active , .checkboxes input[type=checkbox]:checked:active {
	box-shadow: none;
}

.regular-checkbox:checked , .checkboxes input[type=checkbox]:checked {
	background-color: var(--steel-blue);
	border: none;
	color: #99a1a7;
}

.row-sblue .regular-checkbox:checked , .row-sblue .checkboxes input[type=checkbox]:checked {
	background-color: var(--neda-blue);
}

.regular-checkbox:checked:after , .checkboxes input[type=checkbox]:checked:after {
	background-color: transparent;
	border: 3px solid #fff;
	border-right-color: transparent;
	border-top-color: transparent;
	content: '';
	display: block;
	height: 12px;
	left: 8px;
	position: absolute;
	top: 9px;
	transform: rotate(-45deg);
	width: 22px;
}

.checkboxes {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
}

.checkboxes li {
	flex-basis: 25%;
	float: left;
	margin-bottom: 1rem;
	margin-right: 2rem;
}

.checkboxes li label , .radio-replace {
	font-size: 1.2rem;
	line-height: 38px;
	margin: 0;
}

.form-prefilled {
	display: block;
	width: 100%;
	height: calc(1.5em + .75rem + 2px);
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	background-clip: padding-box;
	border: 1px solid var(--neutral);
}

.btn-submit {
	background-color: transparent;
	border: 1px solid var(--steel-blue);
	border-radius: 0;
	color: var(--neda-blue);
	font-family: 'CeraProMedium', 'Quicksand', sans-serif;
	height: 38px;
	text-transform: capitalize;
	width: 100%;
}

.row-dblue .btn-submit , .solo .btn-submit {
	color: var(--neutral);
}

.radios {
	display: flex;
	flex-wrap: wrap;
}
.radio-replace {
	display: block;
	flex-basis: 25%;
	float: left;
	margin-bottom: 1rem;
    margin-right: 2rem;
}

.radio-replace input[type=radio] {
	-webkit-appearance: none;
	background-color: transparent;
	border: 1px solid var(--cool-grey);
	border-radius: 50%;
	box-shadow: none;
	padding: 9px;
	display: inline-block;
	position: relative;
	width: 38px;
	height: 38px;
	float: left;
	margin-right: 10px;
}

.radio-replace input[type=radio]:active , .radio-replace input[type=radio]:checked:active {
	border: none;
	box-shadow: none;
}

.radio-replace input[type=radio]:checked {
	background-color: var(--steel-blue);
	border: none;
	border-radius: 50%;
	color: #99a1a7;
}

.radio-replace input[type=radio]:checked:after {
	content: '';
	display: block;
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: #fff;
	border-radius: 50%;
	height: 18px;
	width: 18px;
}

.row-sblue .radio-replace input[type=radio]:checked {
    background-color: var(--neda-blue);
}

.checkboxes li {
    flex-basis: 25%;
    float: left;
    margin-bottom: 1rem;
    margin-right: 2rem;
}

/* price list */

.pricelist {
	width: 100%;
}

table.pricelist {
  border: none;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  table-layout: fixed;
  width: 100%;
}

table.pricelist tr {
  background-color: #fff;
  border: none;
  color: var(--neda-blue);
  padding: .35em;
}

table.pricelist th,
table.pricelist td {
  padding: .5em;
  text-align: center;
  border: 5px solid #fff;
}

@media screen and (min-width: 601px) {
	table.pricelist td[data-label="Area"] , table.pricelist th:first-child {
		text-align: left;
		width: 60%;
	}
}

table.pricelist th {
	background-color: var(--cool-grey);
	font-family: 'CeraProMedium', 'Quicksand', sans-serif;
}

table.pricelist td.full-body {
	background-color: var(--cool-grey);
	text-align: left;
}

table.pricelist td.full-body p {
	margin: 0;
}

table.pricelist td.full-body p:first-child {
	font-family: 'CeraProMedium', 'Quicksand', sans-serif;
}

@media screen and (max-width: 600px) {
  table.pricelist thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table.pricelist tr {
    border-bottom: 3px solid var(--cool-grey);
    display: block;
    padding: 0;
  }
  
  table.pricelist td {
  	border: none;
    border-bottom: 1px solid var(--cool-grey);
    display: block;
    padding: .25em 0;
    text-align: right;
  }
  
  table.pricelist td.full-body {
  	padding: .25em .5em;
  }
  
  table.pricelist td::before {
    content: attr(data-label);
    float: left;
    font-weight: 500;
  }
}

/* how much will it cost? */

.cost table {
	border: none;
}

.cost table td {
	border: none;
	border-right: 5px solid #fff;
	padding: 5px;
	padding-right: 1rem;
}

.cost table thead td {
	background-color: var(--cool-grey);
    font-family: 'CeraProMedium', 'Quicksand', sans-serif;
}

@media screen and (max-width: 480px) {
	table {
		font-size: .7rem;
	}
	.cost table td {
		padding-right: .5rem;
	}
}

.cost ul {
	list-style: none;
	padding-left: 0;
}

.cost ul li {
	padding-left: 25px;
	position: relative;
}

.cost ul li:before {
	color: var(--steel-blue);
	content: '\f04b';
	font-family: FontAwesome;
	font-size: .8rem;
	left: 5px;
	position: absolute;
	top: 5px;
}

/*brochure page */

.brochure-img {
	display: block;
	height: auto;
	margin: 2rem auto;
	width: 100%;
}

/* vision & mission */

.row-dblue.vision h2 {
	color: #fff;
}

/* contact form */

p.form-row {
	position: relative;
}

p.form-row .error {
	border: 1px solid var(--neda-blue);
	display: block;
	background: var(--steel-blue);
	position: absolute;
	top: -5px;
	right: -5px;
	font-size: 14px;
	font-weight: bold;
	padding: 0 .5rem;
	text-transform: uppercase;
}

/* area pages */

.btn-regular {
    background-color: transparent;
    border: 1px solid var(--steel-blue);
    border-radius: 0;
    color: var(--neda-blue);
    font-family: 'CeraProMedium', 'Quicksand', sans-serif;
    height: 38px;
    line-height: 38px;
    padding: 0 2rem;
    text-transform: capitalize;
}

.row-sblue .btn-regular {
	border-color: var(--neda-blue);
}

.row-sblue .btn-regular:hover {
	border-color: #fff;
}

.row-dblue .btn-regular {
	color: #fff;
}

.row-dblue .btn-regular:hover {
	border-color: #fff;
	color: var(--steel-blue);
}

/* footer */

.footer {
	
}

.footer .footer-logo-box {
	padding: 2em 4em;
	width: 100%;
}

.footer .footer-logo-box .footer-logo {
	display: block;
	height: auto;
	margin: auto;
	max-width: 600px;
	width: 100%;
}

.footer .footer-block {
	background: var(--cool-grey);
	padding: 2em;
}

.footer .footer-block p {
	color: #fff;
	font-size: .75em;
	margin: .5rem 0;
	text-align: center;
}

.footer .footer-block p span {
	display: inline-block;
	padding: .3rem .75rem;
}

.footer .footer-block .locations {
	color: #fff;
	font-size: .6em;
	font-weight: 300;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	width: 100%;
}

.footer .footer-block .locations li {
	display: inline-block;
	padding: 0 .25rem;
}

.footer .footer-block .locations a , .footer .footer-block p a {
	color: var(--steel-blue);
	font-weight: 500;
}

.footer .footer-block .locations a:hover , .footer .footer-block p a:hover {
	color: var(--neda-blue);
	text-decoration: none;
}

.footer-logo {
	display: block;
	height: auto;
	margin: 1rem auto;
	max-width: 250px;
	width: 100%;
}

/* booking button */

.booking-link {
	background: var(--cool-grey);
	color: #212529;
	display: block;
	font-family: 'Koulen', 'Quicksand', sans-serif;
	font-size: 1.75rem;
	line-height: 1;
	margin: 0 4rem;
	padding: .5rem;
	padding-top: .751rem;
	text-align: center;
}

.booking-link:hover {
	background: var(--neda-blue);
	color: var(--steel-blue);
	text-decoration: none;
}

/* blog */

#posts {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 2rem 4rem;
	width: 100%;
}

#posts li {
	flex-basis: calc(25% - 1.5rem);
	flex-grow: 0;
	flex-shrink: 0;
}

#posts li a {
	align-content: stretch;
	aspect-ratio: 4/3;
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
}

#posts li a:hover {
	text-decoration: none;
}

#posts li a h3 , #posts li a p {
	/*left: 0;*/
	flex-grow: 0;
	margin: 0;
	padding: .5rem;
	/*position: absolute;*/
	width: 100%;
	
	-webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

#posts li a h3 {
	background: var(--steel-blue);
	background-image: url(/assets/img/blog-box-top.png);
	background-position: left top;
	background-repeat: no-repeat;
	background-size: contain;
	color: #000;
	font-size: 1.25rem;
	line-height: .9;
	padding-top: 1.25rem;
	position: relative;
	top: 0;
	z-index: 2;
}

#posts li a:hover h3 {
	background: var(--neda-blue);
	background-image: url(/assets/img/blog-box-top.png);
	background-position: left top;
	background-repeat: no-repeat;
	background-size: contain;
	color: var(--steel-blue);
}

#posts li a p {
	background-color: var(--cool-grey);
	background-image: url(/assets/img/blog-box-bot.png);
	background-position: left bottom;
	background-repeat: no-repeat;
	background-size: contain;
	bottom: 0;
	color: #000;
	font-size: .75rem;
	line-height: 1.1;
	padding-bottom: 1.1rem;
	z-index: 1;
}

#posts li a .post-img {
	flex-grow: 1;
	overflow: hidden;
	position: relative;
}

#posts li a .post-img img {
	display: block;
	height: 100%;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.blog-txt {
	display: block;
	margin: 4rem 8rem;
}

.blog-txt a {
	color: var(--steel-blue);
	font-weight: 500;
}

.blog-txt a:hover {
	color: var(--neda-blue);
	text-decoration: none;
}

.blog-txt .blog-back {
	background: var(--cool-grey);
	color: #000;
	display: inline-block;
	font-family: 'Koulen', 'Quicksand', sans-serif;
	font-size: 1.5rem;
	margin-top: 2rem;
	padding: .15rem 1rem 0;
}

.blog-txt .blog-back:hover {
	background: var(--neda-blue);
	color: var(--steel-blue);
	text-decoration: none;
}

/* responsive */

.call-icon {
	display: none;
}

@media screen and (max-width: 1500px) {
	#posts li a {
		aspect-ratio: 1/1;
	}
}

@media screen and (max-width: 1280px) {
	body {
		font-size: 16px;
	}
	.img-txt .box-txt {
		padding: 1em 4em;
	}
	#posts {
		padding: 2rem;
		padding-top: 0;
	}
	#posts li a {
		aspect-ratio: 1/1.5;
	}
	.blog .grid-img .img-box {
		aspect-ratio: 4/3;
		min-height: auto;
	}
	.blog .grid-img {
		min-height: auto;
	}
}

@media screen and (max-width: 1199px) {
	.checkboxes li label, .radio-replace {
		font-size: 1rem;
	}
	.logo-type {
		width: 140px;
	}
}

@media screen and (max-width: 991px) {
	#posts li {
		flex-basis: calc(50% - 1rem);
	}
	#posts li a {
		aspect-ratio: 4/3;
	}
}

@media screen and (max-width: 768px) {
	body {
		margin-top: 50px;
	}
	.h1, h1 {
		font-size: 1.5rem;
	}
	.h2, h2 {
		font-size: 1.25rem;
	}
	.img-txt {
		flex-direction: column;
	}
	.img-txt.mob-flip {
		flex-direction: column-reverse;
	}
	.img-txt .box-txt {
		padding: 1em 3em;
	}
	.hide-mob {
		display: none;
	}
	.checkboxes li , .radio-replace {
		flex-basis: 40%;
	}
	.img-top {
		padding-top: 50%;
	}
	.logo-type {
		width: 120px;
	}
	.navbar-nav li a {
		font-size: 1.5rem;
	}
	.grid-capt h1, .grid-capt h2 {
		font-size: 3rem;
		line-height: 2.5rem;
	}
	.blog .grid-capt h1 {
		font-size: 2rem;
		line-height: 1.75rem;
	}
	#posts li a {
		aspect-ratio: 1/1;
	}
	.blog-txt {
		margin: 4rem;
	}
}

@media screen and (max-width: 600px) {
	.img-txt .row-img {
		height: auto;
		max-height: none;
		width: 100%;
	}
	#posts li {
		flex-basis: 100%;
	}
	.blog-txt {
		font-size: .9rem;
		margin: 2rem;
	}
}

/* video styling */

video {
	display: block;
	height: auto;
	margin: auto;
	max-height: 450px;
	max-width: 800px;
	width: 100%;
}

/* testimonials */

.testimonials {
	background-color: #f4f0e5;
	margin: 6rem;
	margin-bottom: 0;
}

#carousel {
	position: relative;
	width: 60%;
	margin: 0 auto;
	padding-bottom: 2rem;
}

#slides {
overflow: hidden;
position: relative;
width: 100%;
height: 200px;
}

#slides ul {
list-style: none;
width:100%;
height:200px;
margin: 0;
padding: 0;
position: relative;
}

 #slides li {
width:100%;
height:200px;
float:left;
text-align: center;
position: relative;
}
/* Styling for prev and next buttons */
.btn-bar{
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}

 #buttons {
	padding: 0 0 5px 0;
}

#buttons a {
	text-align: center;
	display: block;
	font-size: 50px;
	float: left;
	outline: 0;
	margin: 0 60px;
	color: var(--steel-blue);
	text-decoration: none;
	display: block;
	padding: 9px;
}

a#prev:hover, a#next:hover {
	color: var(--cool-grey);
}

.quote-phrase, .quote-author {
	color: #93acb8;
	font-weight: 400;
	display: block;
	vertical-align: middle;
	padding: 5px 20px;
}

.quote-phrase {
	font-size: 24px;
	line-height: 28px;
	margin: 0;
}

.quote-marks {
	font-size: 24px;
	position: inherit;
}

.quote-marks img {
	display: inline-block;
	height: 20px;
	margin: 0 5px;
	width: auto;
	vertical-align: baseline;
}

.quote-author {
	font-style: normal;
	font-size: 24px;
	color: #5f6f76;
	font-weight: 400;
	height: 30px;
	font-family: 'Koulen', 'Quicksand', sans-serif;
	margin: 0;
}

.quoteContainer, .authorContainer {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: space-between;
	width: 100%;
}

.quoteContainer .stars {
	display: block;
	height: 25px;
	width: auto;
}

@media screen and (max-width: 1199px) {
	#carousel {
		width: 100%;
	}
}

@media screen and (max-width: 768px) {
	.quote-phrase , .quote-author {
		font-size: 18px;
		line-height: 20px;
	}
	.quote-marks img {
		height: 14px;
	}
	#slides , #slides li {
		height: 150px;
	}
	.quoteContainer .stars {
		height: 20px;
	}
	.quote-marks {
		font-size: 18px;
	}
	#buttons a {
		font-size: 30px;
	}
	.testimonials {
		margin: 0;
	}
}

/* horizontal rule */

/* instagram section */

.instagram {
	border-top: 2px dotted var(--cool-grey);
	padding: 4rem;
}

@media screen and (max-width: 768px) {
	.instagram {
		padding: 1rem;
	}
}

/* register your interest */

#registerinterest .modal-content {
	background-color: var(--neda-blue);
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: contain;
	color: #fff;
	text-transform: uppercase;
}

#registerinterest p {
    text-transform: none;
    font-size: .75rem;
    line-height: 1rem;
    margin-bottom: 0;
}

#registerinterest .btn-close {
	background: transparent;
	border: none;
	clear: both;
	color: #fff;
	float: right;
	margin-bottom: 0.5rem;
	margin-right: -0.5rem;
	margin-top: -0.5rem;
}

#registerinterest .form-control {
	background-color: rgba(0,0,0,.8);
	border-radius: 0;
	color: #fff;
	height: auto;
	padding: 0.2rem 0.5rem;
}

#registerinterest .btn-submit {
	background-color: var(--steel-blue);
	border: none;
	color: var(--neda-blue);
	font-family: 'CeraProMedium', 'Quicksand', sans-serif;
	text-transform: uppercase;
}

#registerinterest form .label {
	align-items: center;
	display: flex;
}

#registerinterest .btn-submit:hover {
	background-color: var(--cool-grey);
	color: var(--neda-blue);
}

#registerinterest input[type=checkbox] {
	height: 1.5rem;
	width: 1.5rem;
}

#registerinterest .error {
	font-size: .75rem;
}

#registerinterest h2 {
	clear: both;
	font-size: 1.45rem;
	line-height: 1.5rem;
	text-align: center;
}

#registerinterest .asterisk {
	font-size: .6rem;
	font-weight: 400;
	line-height: .8rem;
	margin: 0.5rem 0 0;
	text-transform: none;
}

/* homepage features section */

.features {
	list-style: none;
	padding: 0;
}

.features li {
	display: flex;
}

.features li h2 {
	flex-grow: 0;
	flex-shrink: 0;
}

.features .feat-cont {
	font-weight: 400;
}

.features li p {
	margin-bottom: 1.5rem;
}

.features li ul {
	list-style-type: circle;
}

@media screen and (max-width: 768px) {
	.features li {
		flex-direction: column;
	}
	.features li h2 {
		margin-top: 3rem;
		margin-bottom: 1rem;
	}
}

/* YouTube embed responsive fix */

.youtube-video {
	aspect-ratio: 16 / 9;
	display: block;
	margin: auto;
	max-width: 800px;
	width: 100%;
}

/* NDA form styling */

.nda .form-control {
	border-radius: 0;
}

.nda button {
	background: var(--neda-blue);
	border: none;
	color: var(--steel-blue);
	padding: .5rem 1rem;
	text-transform: uppercase;
	transition: .5s;
	width: 100%;
}

.nda button:hover {
	background: var(--cool-grey);
	color: var(--neda-blue);
}

.nda input[type="file"]::file-selector-button {
	background: var(--neda-blue);
	border: none;
	color: var(--steel-blue);
	margin-right: 1rem;
	padding: .5rem 1rem;
	text-transform: uppercase;
	transition: .5s;
}

.nda input[type="file"]::file-selector-button:hover {
	background: var(--cool-grey);
	color: var(--neda-blue);
}