/* --- HTML + Body --- */

:root {
	--custom-border-radius: 25px;
	--brand-color: #4458b0; /*#1a35ab*/
}


/* --- HTML + Body --- */

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	background-color: #e9e8e6;
}


/* --- Index --- */

body.index #header {
	position: absolute;
	background: rgba(255, 255, 255, 0.5);
	width: 100%;
	z-index: 1000;
}

body.index .about.section {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0;
	margin: 0;
}


/* --- Header --- */

header .logo img {
	width: 220px;
	height: auto;
	max-height: none !important;
}

.header .logo h1 {
	font-family: "Barlow Condensed", sans-serif;
	font-size: 2rem !important;
	color: var(--brand-color);
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	margin-bottom: 0.35rem;
}

.header .logo h1 span {
	font-size: 2.5rem;
}

.sup {
	display: inline-block;
	font-size: 1.6rem !important;
	margin-left: 0.15rem;
	vertical-align: 0.5rem;
}

@media (min-width: 576px) {
	header.header > .container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	header.header > .container {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	header.header > .container {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
	header.header > .container {
		max-width: 1140px;
	}
}

@media (min-width: 1400px) {
	header.header > .container {
		max-width: 1320px;
	}
}

@media (min-width: 992px) {
		.d-xl-none {
				display: none !important;
		}
}

/*
.logo-wrapper {
	background: rgba(255, 255, 255, 0.7);
	padding: 1.5rem;
	margin-top: -12rem;
	border-radius: var(--custom-border-radius);
	display: inline-block;
}
*/

.logo-wrapper img {
	width: 250px;
	opacity: 1;
}

.header .logo {
	order: 1;
}

.header .navmenu {
	order: 2;
}

.navmenu a:hover:before,
.navmenu li:hover>a:before,
.navmenu .active:before {
	width: 100%;
}


/* --- Mobile Nav --- */

@media (max-width: 991.98px) {
	.navmenu a:hover,
	.navmenu .active,
	.navmenu .active:focus {
		color: var(--accent-color);
		text-decoration: underline;
	}
}

@media (max-width: 991.98px) {
	.mobile-nav-toggle {
		margin-right: 0;
	}
}


/* --- Main + Index --- */

main.index {
	position: relative;
	height: 100vh;
	background: url("/assets/img/photos/safety-1st-grab-bars.webp") no-repeat center center;
	background-size: cover;
	overflow: hidden;
}

@media (max-aspect-ratio: 1000/1456) {
	main.index {
		background-position: 80% center;
	}
}

@media (max-aspect-ratio: 830/1456) {
	main.index {
		background-position: 85% center;
	}
}

main.index::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: #fff;
	z-index: 5;
	animation: fadeOutWhite 1.5s ease-out forwards;
}

@keyframes fadeOutWhite {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

main.index,
main.index section {
	background-color: transparent !important;
}

.hero {
	position: relative;
	overflow: hidden;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.hero .container {
	position: relative;
	z-index: 2;
}

.hero div.col-lg-8 > div {
	font-family: "Barlow Condensed", sans-serif;
	font-size: 3.04rem;
	line-height: 1;
	font-weight: 500;
	font-style: italic;
	text-transform: uppercase;
	color: #e9e8e6;
}

.hero div.col-lg-8 > div span {
	font-size: 3.8rem;
}

.hero div.col-lg-8 div:nth-child(3) {
	margin-top: 1rem;
}


/* --- Section --- */

section.section {
	padding-bottom: 8rem;
}

section .container.section-title {
	text-align: right;
}

.section-title {
	padding-bottom: 2.5rem;
}

.section-title h2 {
	padding-top: 0.5rem;
	padding-bottom: 0.75rem;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 3.2rem;
	font-weight: 500;
	font-style: italic;
	text-transform: uppercase;
	color: var(--brand-color);
}

.section-title h2 span {
	font-size: 4rem;
}

.section-title h2::after {
	margin-right: 0;
	height: 2px;
	color: rgba(26, 53, 171, 0.8);
}

.section-title h2.about::after {
	width: 155px;
}

.section-title h2.install::after {
	width: 280px;
}

.section-title h2.gallery::after {
	width: 190px;
}

.section-title h2.reviews::after {
	width: 195px;
}

.section-title h2.contact::after,
.section-title h2.message::after {
	width: 200px;
}

.section-title h2.accessibility::after {
	width: 300px;
}


/* --- Container --- */

.container.index {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	text-align: center;
	padding: 1rem;
	background: transparent;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 3.5rem;
	color: #222;
	position: relative;
	z-index: 100;
}

.container.index img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}


/* --- Lower Headers --- */

h3,
h4 {
	font-family: "Barlow Condensed", sans-serif;
	font-size: 2.4rem;
	font-weight: 700 !important;
	font-style: italic;
	text-transform: uppercase;
	color: var(--brand-color);
}

h3 span,
h4 span {
	font-size: 3rem;
}


/* --- Installation ---*/

.services .service-item.position-relative {
	padding: 4rem 5rem 4.5rem 5rem;
}

.icon-heading {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.services .service-item .icon-heading i {
	flex-shrink: 0;
	position: relative;
	font-size: 2rem;
	margin: 0 1rem 0 0;
}

.services .service-item .icon-heading i.bi-house-fill {
	font-size: 2.3rem;
	top: -0.45rem;
	color: #73aa92;
}

.services .service-item .icon-heading i.bi-stack {
	font-size: 1.9rem;
	top: -0.1rem;
	color: #ef8a23;
	transform: rotate(90deg);
}

.services .service-item .icon-heading i.bi-exclamation-triangle-fill {
	top: -0.1rem;
	color: #ebb115;
}

.services .service-item .icon-heading i.bi-x-octagon-fill {
	top: -0.1rem;
	color: #d55464;
}

.services .service-item .icon-heading h3 {
	text-align: left;
	margin-top: 0;
	font-size: 2.1rem;
}

.service-item.position-relative div:nth-child(3) {
	padding-bottom: 6rem;
}

.services .service-item p,
.services .service-item ul li {
	font-size: 1rem;
	text-align: left;
}

.services .service-item ul {
	margin: 1rem auto;
}

img.install-img {
	position: absolute;
	display: block;
	bottom: 2.75rem;
	width: 68%;
	left: 50%;
	transform: translateX(-50%);
}

img.install-img-2 {
	width: 100%;
	object-fit: cover;
	max-height: 650px;
}

.install-txt {
	margin-top: 0.5rem;
}

.extra {
	margin-top: 1rem;
}


/* --- Reviews --- */

.row.about.reviews {
	margin-bottom: 10rem;
}

.rating-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

.rating-grid > div:nth-child(n+5):nth-child(-n+8),
.rating-grid > div:nth-child(n+13):nth-child(-n+16) {
	background-color: #f9f9f9;
}

.rating-grid > div:nth-child(n+9):nth-child(-n+12) {
	background-color: #fff;
}

.rating-header,
.rating-source,
.rating-count,
.rating-link {
	display: grid;
	place-items: center;
	text-align: center;
}

.rating-source,
.rating-count,
.rating-value,
.rating-link {
	padding: 0.75rem 0.5rem;
}

.rating-header {
	background-color: #e9e8e6;
	padding: 0.5rem 0 0 0;
	border-bottom: 5px solid #fff;
}

.rating-header h3 {
	font-size: 1.5rem;
	font-weight: 600 !important;
}

.rating-value {
	text-align: center;
	white-space: nowrap;
}

.rating-value i.bi-star-fill {
	color: #ff6201;
	font-size: 1rem;
	margin-right: 0.1rem;
	margin-left: 0.1rem;
}


/* --- Contact + Message ---*/

.info-wrap .info-item div h3 {
	font-size: 1.2rem
}

.info-wrap .info-item div p {
	font-size: 0.95rem;
}

div.message {
	padding: 3rem 0 14rem 0;
	text-align: center;
}


/* --- Footer --- */

.footer {
	padding-top: 2.5rem;
}

footer img {
	width: 250px;
	background-color: #fff;
	padding: 1rem 1.5rem;
	border-radius: 10px;
	margin-bottom: 1.7rem;
}

.copyright p:nth-child(3) {
	margin-top: 1.5rem;
}


.copyright p:nth-child(4) {
	margin-top: 0.2rem;
}

.copyright p:nth-child(5) {
	margin-top: 1.5rem;
}


/* --- Images --- */

.about img {
	display: block;
	height: auto;
	max-width: 100%;
}

img.contact {
	width: 100%;
	height: auto;
	margin-top: 1.5rem;
	display: block;
	max-width: 100%;
}

.custom-pad-l {
	padding-right: 1.8rem;
}

.custom-pad-r {
	padding-left: 1.8rem;
}


/* --- Buttons --- */

.hero#hero .btn-get-started,
.contact .php-email-form button[type=submit] {
	font-family: "Barlow Condensed", sans-serif;
	font-size: 1.12rem;
	font-weight: 500;
	font-style: italic;
	text-transform: uppercase;
	color: #e9e8e6;
	padding: 0.6rem 2.2rem 0.75rem 2.2rem;
	border: solid 2px #e9e8e6 !important;
	border-radius: var(--custom-border-radius);
}

.hero#hero .btn-get-started {
	padding: 0.6rem 2.2rem 0.75rem 2.2rem;
	border: solid 2px #e9e8e6;
}

.contact .php-email-form button[type=submit] {
	padding: 0.25rem 2.2rem 0.41rem 2.2rem;
}

.hero#hero .btn-get-started span,
.contact .php-email-form button[type=submit] span {
	font-size: 1.4rem;
}


/* --- Misc --- */

ul.exp li {
	margin-bottom: 1rem;
}

#scroll-top {
	display: none !important;
}

a.basic:hover {
	text-decoration: underline;
}

.nowrap {
	white-space: nowrap;
}

.fake-bold {
  text-shadow: 0 0 1px currentColor;
}


/* --- Accessibility --- */

a.skip-main {
	left: -9999px;
	position: absolute;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: -9999;
}

a.skip-main:focus,
a.skip-main:active {
	left: 0;
	top: 0;
	width: auto;
	height: auto;
	overflow: auto;
	margin: 10px;
	padding :5px;
	font-size: 1.4em;
	z-index: 9999;
}
