/* -------------------- BOX SIZING -------------------- */
*, *:after, *:before
{
	box-sizing: border-box;
}

/* -------------------- COLOURS -------------------- */
:root
{
	--white: #ffffff;
	--black: #000000;
	--blue: #023258;
	--green: #00543e;
	--grey: #4f545a;
	--highlight: #0099a5;
	--overlay: #023258cc;
	--shadow: #02325866;

	--page-width: 100vw;

	--yellow:#efb41e;
	--lightGrey: #e6e4e4;
	--darkGrey: #5a5a5d;
	--hover: #0f2045;
}

/* ------------------------------------------------ */
/* -------------------- COMMON -------------------- */
/* ------------------------------------------------ */
.hidden
{
	display: none !important;
}

.template
{
	display: none !important;
}

.border
{
	border: solid 1px black;
}

.float
{
	z-index: 100;
}

/* ---------------------------------------------- */
/* -------------------- MAIN -------------------- */
/* ---------------------------------------------- */
html
{
	height: 100%;
}
body
{
	height: 100%;
	background-color: var(--blue);
	overflow: hidden;
	display: flex;
	justify-content: center;
	font-family: heebo, sans-serif;
}

.container
{
	max-width: var(--page-width);
	margin: auto;
	width: 100vw;
	height: 100vh;
	background-color: var(--white);
}

.header
{
	position: relative;
	display: flex;
	align-items: center;
	width: 100vw;
	max-width: var(--page-width);
	height: 6vh;
	padding: 1vh;
	font-family: heebo, sans-serif;
	font-size: 4vh;
	font-weight: 200;
	color: var(--white);
	text-align: center;
	background-color: var(--blue);
	z-index: 5;
	user-select: none;
}
.header img
{
	height: 100%;
	width: auto;
}
.main
{
	position: relative;
	display: flex;
	flex-direction: row;
	width: 100vw;
	max-width: var(--page-width);
	height: 90vh;
	max-height: 90vh;
}

.bg-blue
{
	background-color: var(--blue);
}
.bg-green
{
	background-color: var(--green);
}
.bg-grey
{
	background-color: var(--grey);
}

/* ---------------------------------------------------- */
/* -------------------- NAVIGATION -------------------- */
/* ---------------------------------------------------- */
.navigation
{
	width: 20vw;
	background-color: var(--blue);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.project
{
	width: 100%;
	height: 12vh;
	padding: 2vh;
}
.project-logo
{
	width: 100%;
	height: 100%;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.button-container
{
	width: 100%;
	padding: 2vh;
}
.nav-button
{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 8vh;
	padding: 1.5vh 0;
	color: var(--blue);
	font-size: 1.5vh;
	text-align: center;
	border: solid 1px var(--blue);
	border-radius: 0.75vh;
	background-color: var(--white);
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
}
.nav-button .icon
{
	width: 2vw;
	height: 2vw;
	margin-bottom: 1vh;
	/* background-color: var(--blue); */
}
.nav-button .label
{
	font-size: 2vh;
	text-transform: uppercase;
	user-select: none;
}
.nav-button:hover .label
{
	color: var(--highlight);
}
/* .nav-button:hover .icon
{
	background-color: var(--highlight);
} */

.nav-button + .nav-button
{
	margin-top: 2vh;
}

/* ------------------------------------------------- */
/* -------------------- CONTENT -------------------- */
/* ------------------------------------------------- */
.content-container
{
	width: 100%;
	height: 100%;
	background-color: var(--lightGrey);
}

.content
{
	position: relative;
	display: flex;
	align-items: stretch;
	height: 100%;
}

/* -------------------------------------------------- */
/* -------------------- SITEPLAN -------------------- */
/* -------------------------------------------------- */
.siteplan-container
{
	display: flex;
	flex-wrap: wrap;
	width: auto;
	max-width: 100%;
	height: 100%;
	background-color: var(--white);
	padding: 2vh;
	overflow-x: hidden;
	overflow-y: auto;
}
.siteplan-image
{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 100%;
}
.siteplan-image img
{
	width: auto;
	max-width: 100%;
	height: 100%;
	/* max-height: 100%; */
	overflow: hidden;
	border-radius: 1vh;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
}
.lot-container
{
	position: absolute;
	bottom: 10%;
	left: 0;
	display: flex;
	flex-flow: row wrap;
	/* flex-direction: row;
	flex-wrap: wrap; */
	width: 100%;
	height: 10%;
}

.lot-button
{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3vh;
	height: 5vh;
	margin: 0.5vh;
	padding: 0 0.5vh;
	color: var(--white);
	font-size: 1.5vh;
	text-align: center;
	border: solid 1px var(--white);
	border-radius: 0.5vh;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
	transition: all 0.125s;
	user-select: none;
	cursor: pointer;
}
/* .lot-button:hover
{
	background-color: var(--highlight);
	fill: var(--highlight);
} */
.cursor-debug
{
	display: block;
	position: absolute;
	width: 2vh;
	height: 2vh;
	/* background-color: blue; */
	transition: all 0.25s;
	z-index: 1000;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
	pointer-events: none;
}
.lot-info
{
	display: block;
	position: absolute;
	/* top: 50vh;
	left: 50vh; */
	bottom: 0;
	padding: 2vh;
	margin-bottom: 2vh;
	font-size: 1.5vh;
	line-height: 2vh;
	color: var(--white);
	border: solid 0.25vh var(--white);
	border-radius: 0.5vh;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
	background-color: var(--blue);
	transform: scale(1);
	transition: all 0.25s;
	z-index: 1000;
	pointer-events: none;
}
.lot-info.zero
{
	transform: scale(0);
}

.lot-button:hover .lot-info
{
	display: block;
	transform: scale(1);
}

.svg-container
{
	position: absolute;
	width: 95%;
	height: auto;
}
.lot-number, .lot-side
{
	user-select: none;
	pointer-events: none;
}
.lot-button.detached
{
	fill: var(--blue);
	background-color: var(--blue);
}
.lot-button.bungalow
{
	fill: var(--green);
}
.lot-button.semi
{
	fill: var(--grey);
}
.lot-button.detached:hover,
.lot-button.bungalow:hover,
.lot-button.semi:hover
{
	background-color: var(--highlight);
	fill: var(--highlight);
}

/* --------------------------------------------------------------- */
/* -------------------- FEATURE IMAGE GALLERY -------------------- */
/* --------------------------------------------------------------- */
.feature-container
{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	height: 100%;
	background-color: var(--white);
	padding: 2vh 6vh;
	overflow-x: hidden;
	overflow-y: auto;
}
.feature-image
{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}
.feature-image img
{
	max-width: 100%;
	height: auto;
	max-height: 100%;
	overflow: hidden;
	border-radius: 1vh;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
}
.feature-image + .feature-image
{
	margin-top: 2vh;
}

.hotspot
{
	position: absolute;
	display: inline-block;
	min-width: 3vh;
	min-height: 3vh;
	left: 0;
	top: 0;
	transform: translate(-50%, -50%);
	color: var(--white);
	text-align: center;
	/* font-size: 1.5vh; */
	padding: 1vh;
	border-radius: 4vh;
	background-color: var(--blue);
	border: solid 0.25vh var(--white);
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
	user-select: none;
	cursor: pointer;
	transition: all 0.2s;
}
.hotspot:hover
{
	background-color: var(--highlight);
}
.hotspot .label
{
	color: var(--blue);
	transform: scale(0);
	font-size: 0vh;
	line-height: 0vh;
	transition: all 0.2s;
}
.hotspot:hover .label
{
	color: var(--white);
	font-size: 1.5vh;
	line-height: 2vh;
	transform: scale(1);
}

.feature-list-button
{
	position: absolute;
	left: 50%;
	bottom: 1vh;
	transform: translateX(-50%);
	color: var(--white);
	font-size: 2vh;
	text-transform: uppercase;
	text-decoration: none;
	padding: 2vh;
	background-color: var(--blue);
	border: none;
	border-radius: 1vh;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
	cursor: pointer;
	transition: all 0.125s;
}
.feature-list-button:hover
{
	background-color: var(--highlight);
}

/* ---------------------------------------------------- */
/* -------------------- MODEL LIST -------------------- */
/* ---------------------------------------------------- */
.model-container
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	height: 100%;
	background-color: var(--white);
	padding: 1vh;
	overflow-x: hidden;
	overflow-y: auto;
}

.model-card
{
	position: relative;
	width: 25vw;
	/* height: 14vw; */
	margin: 1vh;
	line-height: 2.5vh;
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 1vh;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
	cursor: pointer;
}
.model-card img
{
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	transform: scale(1.005);
	transition: all 0.5s;
}
.model-card:hover img
{
	display: block;
	transform: scale(1.1);
}
.model-card .details
{
	position: relative;
	margin-top: -0.25vh;
	width: 100%;
	padding: 1vh 1vh 1vh 2vh;
	color: var(--white);
	user-select: none;
}
.model-card .name
{
	position: absolute;
	top: 1.5vh;
	right: 1vw;
	font-size: 4vh;
	font-weight: 200;
	text-align: right;
}
.model-card .type
{
	text-transform: uppercase;
}

.model-overlay
{
	position: absolute;
	width: 100%;
	height: 100%;
	overflow-y: scroll;
	background-color: var(--overlay);
}
.model-overlay button
{
	position: sticky;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: 2vw;
	padding: 1.5vw;
	color: var(--white);
	font-size: 3vh;
	background-color: #00000000;
	border: none;
	cursor: pointer;
	transition: all 0.125s;
	z-index: 10;
}
.model-overlay button:hover
{
	color: var(--blue);
	background-color: var(--highlight);
}
.model-overlay .image-container
{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	/* height: 100%; */
	overflow-y: auto;
	padding: 2vh 6vh;
}

.exterior-image
{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	/* padding: 2vh; */
	overflow: hidden;
	margin-bottom: 2vh;
	background-color: var(--white);
	border-radius: 1vh;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
}
.exterior-image img
{
	width: auto;
	/* height: auto; */
	max-width: 100%;
	max-height: 100%;
}
.exterior-image .model-name
{
	position: absolute;
	bottom: 1vh;
	right: 2vh;
	color: var(--white);
	font-size: 6vh;
}

.model-image
{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 85vh;
	padding: 2vh;
	background-color: var(--white);
	border-radius: 1vh;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
}
.model-image img
{
	width: auto;
	height: 100%;
}
.model-image .floor-name
{
	position: absolute;
	bottom: 1vh;
	right: 2vh;
	color: var(--black);
	font-size: 3vh;
}
.model-image + .model-image
{
	margin-top: 2vh;
}

/* ------------------------------------------------- */
/* -------------------- GALLERY -------------------- */
/* ------------------------------------------------- */
.gallery-container
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	height: 100%;
	background-color: var(--white);
	padding: 1vh;
	overflow-x: hidden;
	overflow-y: auto;
}
.gallery-item
{
	position: relative;
	min-width: 18vw;
	min-height: 18vw;
	margin: 1vh;
	overflow: hidden;
	border-radius: 1vh;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
}
.gallery-image
{
	width: 100%;
	height: 100%;
	background-color: var(--white);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: all 0.5s;
	cursor: pointer;
}
.gallery-image:hover
{
	transform: scale(1.1);
}

.gallery-overlay
{
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: var(--overlay);
}

.gallery-overlay button
{
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: 2vw;
	padding: 1.5vw;
	color: var(--white);
	font-size: 3vh;
	background-color: #00000000;
	border: none;
	cursor: pointer;
	transition: all 0.125s;
	z-index: 10;
}
.gallery-overlay button:hover
{
	color: var(--blue);
	background-color: var(--highlight);
}

.gallery-overlay .image-container
{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 2vw 4vw;
}
.gallery-overlay .image-container img
{
	max-width: 100%;
	height: auto;
	max-height: 100%;
	overflow: hidden;
	border-radius: 1vh;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
}

.button-close
{
	height: 2vw;
	top: 0;
	right: 0;
}
.button-previous
{
	height: 8vh;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.button-next
{
	height: 8vh;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

/* ------------------------------------------------------ */
/* -------------------- VIDEO PLAYER -------------------- */
/* ------------------------------------------------------ */
.video-container
{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 2vh;
	background-color: var(--white);
}

video
{
	width: auto;
	height: 100%;
	overflow: hidden;
	border-radius: 1vh;
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
}
video:focus
{
	outline: none;
}

/* ------------------------------------------------ */
/* -------------------- FOOTER -------------------- */
/* ------------------------------------------------ */
.footer
{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100vw;
	max-width: var(--page-width);
	height: 4vh;
	padding: 0.75vh;
	color: var(--white);
	background-color: var(--blue);
	z-index: 5;
	user-select: none;
}
.copyright
{
	font-weight: 200;
}



.overlay-container
{
	position: absolute;
	max-width: var(--page-width);
	margin: auto;
	width: 100vw;
	height: 100vh;
}

/* --------------------------------------------------------- */
/* -------------------- COMMON ELEMENTS -------------------- */
/* --------------------------------------------------------- */
.headline
{
	width: 100%;
	font-family: heebo, sans-serif;
	font-size: 4vh;
	font-weight: 200;
	user-select: none;
	padding-bottom: 4vh;
	text-align: left;
}

.button
{
	display: block;
	background-color: var(--white);
	border-radius: 1vh;
	font-family: heebo, sans-serif;
	font-size: 2vh;
	font-weight: 400;
	color: var(--blue);
	text-transform: uppercase;
	text-align: center;
	padding: 1.5vh 2vh;
	user-select: none;
	cursor: pointer;
	border: solid 1px var(--blue);
	box-shadow: 0 1vh 1vh -1vh var(--shadow);
}
.button:hover
{
	color: var(--white);
	background-color: var(--darkGrey);
}

.overlay
{
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: var(--blue);
	opacity: 80%;
	top: 0;
	left: 0;
	z-index: -5;
	overflow: hidden;
}




















@media screen and (max-width: 1024px)
{
	.photo1	{	display: none !important;	}
	.photo2	{	display: none !important;	}
}