/* global */
html { /* hide scrollbar for desinsectisation so that menu bar doesn't move between pages */
	scrollbar-width: none;
}
@media (min-width: 768px) {
	body.home { /* full screen home page for desktop */
		overflow: hidden;
	}
}

p {
	margin: 0;
}


/* brand */
div#brand {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	pointer-events: none;
}
div#brand img {
	width: 25rem;
	max-width: 60%;
	filter: drop-shadow (-1px 1px 1px #FFFFFF);
}
@media (min-width: 768px) {
	div#brand img {
		max-width: 100%;
	}
}


/* top menu */
body:not(.home) .navbar { /* navbar size elementor fake fix */
  letter-spacing: 0.55px;
}

nav.navbar {
	display: inline;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	border-radius: 0 0 0 1.5rem;
}
.navbar, .dropdown-menu {
	padding: 1rem;
}
.navbar, .dropdown-menu ,
.dropdown-item.active,
.dropdown-item:active {
	background-color: #312783 !important;
}

.dropdown-menu {
	border-radius: 0 0 1.5rem 1.5rem;
	left: auto;
	right: -1rem;
}
.nav-link, .dropdown-item {
    color: rgba(255,255,255,.5);
	font-size: 1.2rem;
	font-weight: bold;
	padding: 0.3rem;
}

div.header {
	position: relative;
	height: 10rem;
	background-color:#F5F5F5;
}
.header .phone {
	position: absolute;
	bottom: 0;
	right: 0.5rem;
	font-size: 2rem;
}


/* background image stack with clip path */
.stack {
	position: relative;
}
@media (min-width: 768px) {
	.stacked {
		position: absolute;
		top : 0px;
		left: 0px;
	}
}

.bigimg {
	width: 100vw;
	opacity: 0.8;
}
@media (min-width: 768px) {
	.bigimg {
		height: 100vh;
    	object-fit: cover;
	}
}
@media (min-width: 768px) {
	img#img1 {
		clip-path: url(#svgPath1);
	}
	img#img2 {
		clip-path: url(#svgPath2);
	}
	img#img3 {
		clip-path: url(#svgPath3);
	}
}

.fakeimg {
	opacity: 0;
	display: none;
}
@media (min-width: 768px) {
	.fakeimg {
		display: inline;
	}
}

.hoverable {
	opacity: 0.8;
	transition: opacity 400ms;
}
.hoverable.disabled {
	opacity: 0.5;
}
.hoverable.disabled.active {
	opacity: 1;
	transform: scale(1.05);
	z-index: 1;
}

div#svg {
	position: absolute;
	z-index: -1;
	width: 0px;
	height: 0px;
	border: none;
}
svg {
	width: 0px;
	height: 0px;
	border: none;
}


/* central link layer */
div.links-layer {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
div.links-row {
	width: 100%;
}
@media (min-width: 768px) {
	div.links-row {
		height: 10rem;
		background-color: rgba(255, 255, 255, 0.5);
		border-top: 3px solid #d95b14;
		border-bottom: 3px solid #d95b14;
	}
}
.link {
	font-size: 2.5rem;
	font-weight: bold;
	color: #312783;
}
@media (min-width: 768px) { /* tablet only */
	.link {
		font-size: 1.8rem;
	}
}
@media (min-width: 992px) {
	.link {
		font-size: 2.5rem;
	}
}

/* footer */
.orange-text {
	color: #d95b14;
	font-size: 1.8rem;
	font-weight: bold;
	filter: drop-shadow(0px 1px 1px #FFFFFF);
}
div#footer {
	text-align: center;
	background-color:#F5F5F5;
}
@media (min-width: 768px) {
	div#footer {
		width: 100%;
		position: absolute;
		bottom: 0;
		z-index: 2;
		pointer-events: none;
		background-color: inherit;
	}
	div#footer .phone {
		font-size: 3.5rem;
	}
	div#footer .address {
		font-size: 2rem;
	}
}
