/*<meta conditions="General.ImportOnly" />*/

@import url('TopicStyles.css');

@font-face 
{
	font-family: Roboto;
	src: url(../Fonts/Roboto/Roboto-Regular.ttf);
	font-family: 'Overpass';
	src: url(../Fonts/Overpass/Overpass-VariableFont_wght.ttf);
}

:root	/* This lets us use variables to style easily across the project. It takes the format of var(--example) to replace anything we use a lot eg "var(--grellow)" can be used instead of #D7DF23) */
{
	/* Colours */
	--grellow: #D7DF23;
	--housePurple: #582D87;
	--contrastPurple: #C7B7D5;
	--houseBlue: #09A9E0;
	--linkBlue: #076685;
	--bgGrey: #f6f6f6;
}

html
{
	font-size: 18px;
}

body
{
	font-family: Roboto, 'Overpass', Calibri, sans-serif;
	font-size: 18px;
	color: #404040;
}

#mc-main-content	/* Keeps the footer in roughly the right place */
{
	min-height: calc(70vh - 100px);
	margin-left: 0px;
	margin-right: 0px;
	width: 100%;
	max-width: 100%;
}

.body-container > div:nth-child(1)
{
	/* removes inherited padding */
	padding-right: 0px;
}

.body-container
{
	background-color: #efefef;
}

.sidenav-wrapper,
.title-bar-container
{
	display: none;
}

.sidenav-wrapper
{
	height: calc(100% - 80px);
}

/* // BASIC FONT STYLING // */

h1
{
	font-weight: bold;
	font-size: 2rem;
	margin: 15px auto;
	border-bottom: none;
}

h2
{
	font-weight: bold;
	font-size: 1.8rem;
}

h3
{
	font-weight: normal;
	font-size: 32px;
}

h4
{
	font-weight: bold;
	font-size: 1.2rem;
}

/* // END OF BASIC FONT STYLING // */
/*// HOME CONTENT STYLING //*/

.overpass
{
	font-family: Overpass;
}

#products
{
	height: 30px;
	padding-top: 5px;
	margin-top: 28px;
	text-align: center;
	background: linear-gradient(90.41deg, rgba(68, 63, 74, 0) 5.17%, rgba(140, 93, 196, 0.882113) 38.31%, #9561D5 59.65%, rgba(68, 63, 74, 0) 92.33%);
	background-blend-mode: multiply;
	opacity: 90%;
}

#products > p
{
	text-transform: uppercase;
	color: #F2E7FF;
	font-kerning: none;
	font-size: 16px;
	margin: 0px auto;
	opacity: 100%;
}

p a figcaption
{
	font-size: 1rem;
	font-family: Roboto, sans-serif;
	line-height: 1.5;
}

.underline
{
	width: 70px;
	height: 4px;
	background: #D7DF23;
	margin-left: 5px;
}

#homeBody
{
	text-align: center;
	margin: auto;
	max-width: 1200px;
}

.homeTiles
{
	margin: 10px auto 80px;
	box-sizing: border-box;
	/*text-align: center;
	position: relative;
	float: left;
	display: inline-flex;*/
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
}

.homeTiles > a
{
	margin: 0 5px;
	flex: 0 1 0px;
}

/*.homeTiles > a:nth-of-type(even) > .tile
{
	float: right;
}*/

.tile
{
	/*width: 45%;
	max-width: 550px;
	min-width: 215px;
	height: 80px;
	display: inline-block;
	float: left;*/
	border-radius: 10px;
	margin: 10px 10px;
	cursor: pointer;
	box-sizing: border-box;
	text-align: center;
	vertical-align: middle;
	padding: 0px 10px;
	background-color: #ffffff;
	box-shadow: 0px 1px 4px 0px #cccccc;
	min-width: 350px;
	height: 90px;
}

.tile:hover
{
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	transition: all 0.8s cubic-bezier(.25,.8,.25,1);
}

.tile:active
{
	box-shadow: none;
	transition: all 0.3s cubic-bezier(.25,.8,.25,1);
	color: lightgrey;
}

.tileIcon
{
	height: 60px;
	width: auto;
	max-width: 100%;
	/*float: left;
	position: relative;
	top: 10px;*/
	margin: 15px 0;
}

.tile:nth-child(even)
{
	float: right;
}

.tile > figure
{
	margin: 0;
}

.tile > figure > img
{
	padding: 0;
}

.tile > figure > figcaption
{
	text-align: left;
	font-size: 1.15rem;
	font-weight: bold;
	font-style: normal;
}

#divPadding
{
	visibility: hidden;
}

figure
{
	width: unset;
	padding: auto;
	justify-content: center;
	align-items: center;
	text-align: center;
	vertical-align: middle;
	align-content: center;
}

.center
{
	align-items: center;
	text-align: center;
}

.bList
{
	list-style: none;
}

ul.bList > li::before
{
	content: "•";
	/* Insert content that looks like bullets */
	padding-right: 8px;
	color: #076685;
}

.home-head
{
	height: 220px;
	width: 100%;
	background: url("../Images/Home/Home_Banner.jpg");
	/* Replace Image in project with whichever one is needed. */
	background-position: center;
	background-size: cover;
	padding: 0px;
}

#logo
{
	padding-top: 20px;
	height: 60px;
	width: 100%;
	background: url("../Images/Logos/1SpatialDocsLogoLarge.png");
	background-position: left;
	background-size: contain;
	background-repeat: no-repeat;
	text-align: right;
}

#learnMore
{
	border: none;
}

/*#learnMore:hover
{
	cursor: pointer;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	transition: all 0.8s cubic-bezier(.25,.8,.25,1);
}*/

#learnMore > p
{
	margin: 5px;
}

#learnMore > p > a
{
	letter-spacing: 4px;
	text-transform: uppercase;
	color: white;
	font-size: 14px;
	line-height: 30px;
	text-decoration: none;
}

#learnMore > p::before
{
	content: url(../Images/Home/Learn_More_14.png);
	padding-right: 10px;
	vertical-align: middle;
}

#spatialLink
{
	font-size: 16px;
	font-style: bold;
	letter-spacing: 8px;
}

#learnMore > p > a:hover
{
	color: white;
}

.head-bar
{
	width: 70%;
	max-width: 70%;
	margin: auto;
	padding-top: 20px;
}

.head-bar > h3
{
	text-align: center;
	padding: 30px 5px 10px 5px;
	color: #ffffff;
	margin: 0px;
	text-align: left;
}

.search-bar
{
	right: -16px;
}

/*// END OF HOME CONTENT STYLING //*/
/*// FOOTER STYLING //*/

footer	/* Removes styling that doesn't work on the Home Page */
{
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0px;
	background-color: #582D87;
	height: 80px;
	padding-top: 0px;
	text-align: center;
	max-width: 1200px;
	width: 70%;
	margin: auto;
	border: 0;
}

.footPadding
{
	height: 80px;
	width: 100%;
	background-color: #582D87;
	position: fixed;
	bottom: 0px;
}

.landingLeft
{
	margin: auto auto auto 0px;
}

.landingSocial
{
	
}

.landingSocial > a
{
	margin: 0px 16px;
}

.landingSocial img
{
	width: 19px;
}

.landingRight
{
	margin: auto 0px auto auto;
}

.landingLinks > p
{
	margin: 0px auto;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 2px;
}

.landingLinks > p > a
{
	color: white;
	text-decoration: none;
	margin-top: 4px;
	text-wrap: nowrap;
}

.footerPadding	/* This keeps the footer from overlapping/being overlapped by other elements in the body/proxies */
{
	height: 270px;
}

/*// END OF FOOTER STYLING //*/

@media screen and (min-width: 1280px)
{
	figure
	{
		text-align: center;
		padding: 0 0 0 0;
	}
}

@media screen and (min-width: 770px) and (max-width: 1200px)
{
	.homeTiles > a
	{
		flex-grow: 1;
	}

	#unevenLast	/* Attach this to what would be a singlular tile at the end ie .homeTiles > a:last-of-type. This allows the last one to be on it's own in a row when necessary */
	{
		flex: 0.495 0 0px;
	}

	#divPadding
	{
		visibility: hidden;
		height: 0px;
	}
}

@media screen and (max-width: 769px)
{
	#divPadding
	{
		visibility: hidden;
		height: 0px;
	}

	.homeTiles > a
	{
		flex-grow: 1;
	}

	.homeTiles > a:last-of-type
	{
		flex: unset;
		flex-grow: 1;
	}
}

@media screen and (max-width: 800px)
{
	.homeTiles > a:nth-of-type(even) > .tile
	{
		float: unset;
	}
}

@media screen and (max-width: 799px)
{
	.head-bar
	{
		width: unset;
		max-width: 95%;
	}

	#logo > p
	{
		margin-top: 0px;
	}

	.tile
	{
		/*width: 95%;
		max-width: unset;
		min-width: unset;*/
		float: none;
		margin: 10px 0px;
	}

	.landingSocial
	{
		margin-top: 10px;
	}

	.landingLinks > p
	{
		margin: 0px;
	}

	footer
	{
		flex-direction: column;
	}

	.landingLeft
	{
		margin: 15px auto 0px;
	}

	.landingRight
	{
		margin: 5px 0px auto auto;
	}

	footer
	{
		flex-direction: column;
	}
}

@media only screen and (max-width: 1279px)
{
	.faqs > div	/* Makes the FAQs fit on smaller devices */
	{
		min-width: 100%;
	}
}

