/*<meta conditions="rtmp-conditions.QScript only" />*/

/* STYLESS FOR THE HOMEPAGE OF QSCRIPT WEBHELP */

:root
{
	--QScriptFonts: 'Trebuchet MS', sans-serif;
	--QScriptGrey: #333333;
	--QScriptBlue: #115CA2;
	--QScriptRed: #8C0404;
	--QScriptDarkBlue: #1D3553;
}

.q-home-intro > h1
{
	font-size: 2.5em;
}

h2.tiles
{
	font-size: 1.75em;
	margin-top: 0;
}

.q-all-tiles
{
	margin-right: 2%;
	margin-left: 3%;
}

.q-home-intro
{
	line-height: 1.5em;
	margin-left: 3.5%;
}

.q-single-tile	/*TEMP STYLE - PRACT/REGO PORTAL*/
{
	border: solid 1px #d3d3d3;
	padding: 2em;
	margin: 3em 2% 0em 3.5%;
}

.q-all-tiles a
{
	color: var(--QScriptGrey);
}

.q-all-tiles a:hover
{
	font-weight: bold;
}

/*==Responsive Header Styles==*/

.off-canvas-content .main-section > .outer-row
{
	max-width: 100%;
	padding: 0;
}

#contentBody > .responsive-header
{
	background-color: transparent;
}

#contentBody
{
	min-height: calc(100vh - 200px);
	padding-bottom: 200px;
	margin-bottom: 2%;
}

/***************LAYOUT**********************/

.qscript-home div
{
	margin: 1%;
	border: 1px solid #d3d3d3;
}

@media only screen and (min-width: 768px)
{
	.flex-container
	{
		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
	}

	.flex-item
	{
		flex: 1 0 450px;
		padding: 2em;
	}
}

@media only screen and (max-width: 767px)
{
	.flex-container
	{
		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
	}

	.flex-item
	{
		flex: 1 0 90%;
		padding: 1em;
	}
}

/*@media only screen and (min-width: 768px)
{
	.flex-container
	{
		display: flex;
		flex-flow: row wrap;
	}

	.flex-item
	{
		flex: 1;
		padding: 2em;
		border: 1px solid #d3d3d3;		
	}


}

@media only screen and (max-width: 767px)
{




	.flex-container
	{
		display: flex;
		flex-flow: row wrap;
	}

	.flex-item
	{
		flex: 1 50%;
		padding: 1em;
		border: 1px solid #d3d3d3;
	}
	

}
/***************FOOTER************************/

#qld-copyright,
#qld-legal,
#qld-gov
{
	font-size: 0.8em;
	padding: 0;
	margin: 0;
}

#qld-updated
{
	font-size: 0.7em;
	padding: 0;
	margin: 0;
	/*	
	text-align: left; */
}

#qld-published
{
	font-size: 0.7em;
	padding: 0;
	margin: 0;
	/*
	text-align: right; */
}

.footer-home
{
	background-color: var(--QScriptDarkBlue);
	color: #ffffff;
	text-align: center;
	width: 100%;
	position: absolute;
	bottom: 0;
	height: 250px;
}

.qscript-footer a,
.qscript-footer a:active,
.qscript-footer a:focus,
.qscript-footer a:hover,
.qscript-footer a:link,
.qscript-footer a:visited
{
	color: #ffffff;
	text-decoration: none;
}

div.qscript-footer
{
	mc-grid-row: true;
	margin-left: auto;
	margin-right: auto;
	width: 95%;
}

div.qscript-footer::before
{
	content: ' ';
	display: table;
}

div.qscript-footer::after
{
	content: ' ';
	display: table;
	clear: both;
}

div.qscript-footer > div
{
	float: left;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

div.qscript-footer > div:nth-child(1)
{
	width: 20%;
}

div.qscript-footer > div:nth-child(2)
{
	width: 20%;
}

div.qscript-footer > div:nth-child(3)
{
	width: 20%;
}

div.qscript-footer > div:nth-child(4)
{
	width: 20%;
}

div.qscript-footer > div:nth-child(5)
{
	width: 20%;
}

div.qscript-footer > div:nth-child(6)
{
	width: 100%;
}

div.qscript-footer > div:nth-child(7)
{
	width: 100%;
}

div.qscript-footer > div:nth-child(8)
{
	width: 100%;
}

div.qscript-footer > div:nth-child(9)
{
	width: 100%;
}

/* Editing this for HP Mobile */

@media only screen and (max-width: 1024px)
{
	div.qscript-footer p
	{
		margin: 0.5em auto;
	}

	div.qscript-footer > div:nth-child(1)
	{
		width: 50%;
	}

	div.qscript-footer > div:nth-child(2)
	{
		width: 50%;
	}

	div.qscript-footer > div:nth-child(3)
	{
		width: 50%;
	}

	div.qscript-footer > div:nth-child(4)
	{
		width: 50%;
	}

	div.qscript-footer > div:nth-child(5)
	{
		width: 100%;
	}

	div.qscript-footer > div:nth-child(6)
	{
		width: 100%;
	}

	div.qscript-footer > div:nth-child(7)
	{
		width: 100%;
	}

	div.qscript-footer > div:nth-child(8)
	{
		width: 100%;
	}

	/*	



@media only screen and (min-width: 768px) and (max-width: 1024px)


{
	div.qscript-footer p
	{
	margin:0.5em auto;
	}



	div.qscript-footer > div:nth-child(1)
	{
		width: 25%;
	

	}

	div.qscript-footer > div:nth-child(2)
	{
			width: 25%;

	}

	div.qscript-footer > div:nth-child(3)
	{
			width: 25%;

	}

	div.qscript-footer > div:nth-child(4)
	{
		width: 25%;
	
	}

	div.qscript-footer > div:nth-child(5)
	{
				width: 100%;

	}

	div.qscript-footer > div:nth-child(6)
	{
			width: 100%;

	}
	
	div.qscript-footer > div:nth-child(7)
	{
		width: 100%;
	}

	div.qscript-footer > div:nth-child(8)
	{
		width: 100%;
	}


*/
}

