/*<meta conditions="products.XA" />*/

/* Optimised for Chrome and Firefox as of 13 Sep 2021 */
/* Home Page Styles */

/*h1
{
	font-size: 3em;
	padding-top: calc(12vh);
	text-align: center;
}

p.intro
{
	color: #404b5f;
	font-family: Montserrat, sans-serif;
	font-size: 1.1em;
	margin-top: 60px;
	margin-bottom: 20px;
	text-align: center;
	padding: 0 12vw;
}*/

/* for Intuitive Scripting home page */

/*div.is-home 
{
	width: calc(12vw);
}

h1.is-h1-home
{
	font-size: 3em;
	margin: 7vw 0;
	text-align: center;
}

p.is-home
{
	color: #404b5f;
	font-family: Montserrat, sans-serif;
	font-size: 1.1em;
	margin: 2vw 2vw;
	text-align: left;
	padding: 0 7vw 0 0;

}*/

/* end of Intuitive Scripting classes */

/*div.home-buttons
{
	mc-grid-row: true;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1%;
	margin-bottom: 1%;
}

div.home-buttons::before
{
	content: ' ';
	display: table;
}

div.home-buttons::after
{
	content: ' ';
	display: table;
	clear: both;
}

div.home-buttons button:nth-child(1)
{
	width: 20.667%;
	margin-left: 18%;
}

div.home-buttons button:nth-child(2)
{
	width: 20.667%;
	margin-left: 1%;
}

div.home-buttons button:nth-child(3)
{
	width: 20.667%;
	margin-left: 1%;
}

div.home-buttons.top
{
	margin-top: 70px;
}

div.home-buttons.bottom
{
	margin-bottom: 50px;
}

#wrapper
{
	min-height: 100vh;
}

button
{
  color:rgba(0,0,0,0.7);
  border:3px;
  border-style: solid;
  border-color: rgba(0,0,0,0.1);
  position:relative;
  font-size:1.2em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
  height: 100px;
}

button.Blue
{
  background:rgba(40, 71, 152,0.4);
}

button.LightBlue
{
  background:rgba(124, 206, 243, 0.4);
}

button.Green
{
  background:rgba(62, 150, 50, 0.4);
}

button.Purple
{
  background:rgba(137, 50, 138, 0.4);
}

button.Teal
{
  background:rgba(49, 183, 188, 0.4);
}

button.Other
{
  background:rgba(0, 142, 165, 0.4);
}

button:hover
{
  background:#fff;
}

button.Blue:hover
{
  color:#284798;
  border-color:#284798;
}

button.LightBlue:hover
{
  color:#7ccef3;
  border-color:#7ccef3;
}

button.Green:hover
{
  color:#3e9632;
  border-color:#3e9632;
}

button.Purple:hover
{
  color:#89328A;
  border-color:#89328A;
}

button.Teal:hover
{
  color:#31b7bc;
  border-color:#31b7bc;
}

button.Other:hover
{
  color:#008ea5;
  border-color:#008ea5;
}

@-moz-document url-prefix()
{
  #wrapper
  {
  	min-height: 100%;
  }
} 

@media only screen and (max-width: 1279px)
{
	div.home-buttons button:nth-child(1)
	{
		width: 32%;
		margin-left: 1%;
	}

	div.home-buttons button:nth-child(2)
	{
		width: 32%;
		margin-left: 1%;
	}

	div.home-buttons button:nth-child(3)
	{
		width: 32%;
		margin-left: 1%;
	}
	
	#primaryFooter .brandBlocks
	{
		background-image: none !important;
	}
}

@media only screen and (max-width: 767px)
{
	h1
	{
		font-size: 2.6em;
	}
	
	div.home-buttons button
	{
		margin-top: 2%;
	}

	div.home-buttons button:nth-child(1)
	{
		width: 90%;
		margin-left: 5%;
	}

	div.home-buttons button:nth-child(2)
	{
		width: 90%;
		margin-left: 5%;
	}

	div.home-buttons button:nth-child(3)
	{
		width: 90%;
		margin-left: 5%;
	}
}

*/

body#hp
{
	padding-bottom: 0 !important;
	/* Added as a test by Simone to strip spacing from body bottom */
}

body#hp #content
{
	margin-top: 0;
}

.masthead
{
	background: #30549f url('../images/homepage/masthead-bkg.jpg') center 0 no-repeat;
	background-size: cover;
	padding: 120px 0 0 0;
}

.mastheadInner
{
	margin: 0 20px;
}

.masthead h1,
.masthead p
{
	color: #fff;
	margin: 0;
	padding: 0;
	text-shadow: 1px 1px rgba(0,0,0,1);
}

.masthead h1
{
	font-weight: bold;
	font-size: 35px;
	margin: 0 0 20px 0;
}

.masthead p.lead
{
	margin-bottom: 40px;
	font-size: 18px;
}

a.g-button-white
{
	position: relative;
	display: inline-block;
	padding: 18px 18px 16px 60px;
	text-decoration: none;
	border: 3px solid #fff;
	color: #fff;
	font-weight: bold;
	transition: all .5s ease-out;
}

.g-button-white-icon
{
	position: absolute;
	top: 16px;
	left: 16px;
	width: 25px;
	height: 25px;
}

.g-button-white-icon path
{
	fill: #fff;
}

.g-button-white:hover
{
	background-color: #fff;
	color: #30549f;
}

.g-button-white:hover .g-button-white-icon path
{
	fill: #30549f;
}

.mh.textBlock,
.mh.imageBlock
{
	/*	border: 5px solid aqua;*/
}

.mh.textBlock
{
	padding-bottom: 60px;
}

.mh.imageBlock
{
	
}

.mh.imageBlock img
{
	box-shadow: 5px -10px 40px rgba(0, 0, 0, .4);
	max-width: 100%;
}

.hpBodyContent
{
	background-color: #fff;
}

.hpbc.textBlock,
.hpbc.buttonBlock
{
	/*	border: 5px solid aqua;*/
	padding-top: 40px;
	margin: 0 20px;
}

a.g-button-blue
{
	position: relative;
	display: inline-block;
	padding: 18px 18px 16px 60px;
	text-decoration: none;
	border: 3px solid #30549f;
	color: #30549f;
	font-weight: bold;
	transition: all .5s ease-out;
}

.g-button-blue-icon
{
	position: absolute;
	top: 16px;
	left: 16px;
	width: 25px;
	height: 25px;
}

.g-button-blue-icon path
{
	fill: #30549f;
}

.g-button-blue:hover
{
	background-color: #30549f;
	color: #fff;
}

.g-button-blue:hover .g-button-blue-icon path
{
	fill: #fff;
}

.btnList
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: unset;
	border-top: 1px solid #f1f2f7;
}

.btnList li
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	border-bottom: 1px solid #f1f2f7;
}

.hpCtaButton
{
	border: none;
	padding: 16px;
	/*display: flex;*/
	width: 100%;
	background: transparent;
	transition: all 0.2s ease;
}

span.btnIcon
{
	width: 70px;
	height: 70px;
	background-color: #395abb;
	border-radius: 50%;
	padding: 15px;
	box-sizing: border-box;
	display: block;
	float: left;
}

span.btnIcon svg
{
	max-width: 40px;
	max-height: 40px;
}

span.btnIcon path,
span.btnIcon rect
{
	fill: #fff;
}

.btnSupervisor span.btnIcon
{
	background-color: #9e5ea1;
}

.btnTechnical span.btnIcon
{
	background-color: #3A7F8D;
}

.btnVideos span.btnIcon
{
	background-color: #85c9cc;
}

.btnGlossary span.btnIcon
{
	background-color: #b6d4b1;
}

.btnResources span.btnIcon
{
	background-color: #4D789D;
}

.btnAgent:hover span.btnIcon path,
.btnAgent:hover span.btnIcon rect
{
	fill: #395abb;
}

.btnSupervisor:hover span.btnIcon path,
.btnSupervisor:hover span.btnIcon rect
{
	fill: #9e5ea1;
}

.btnTechnical:hover span.btnIcon path,
.btnTechnical:hover span.btnIcon rect
{
	fill: #3A7F8D;
}

.btnVideos:hover span.btnIcon path,
.btnVideos:hover span.btnIcon rect
{
	fill: #85c9cc;
}

.btnGlossary:hover span.btnIcon path,
.btnGlossary:hover span.btnIcon rect
{
	fill: #b6d4b1;
}

.btnResources:hover span.btnIcon path,
.btnResources:hover span.btnIcon rect
{
	fill: #4D789D;
}

span.btnTitle
{
	text-align: left;
	font-size: 22px;
	padding-left: 20px;
	margin-top: 10px;
	color: #395abb;
	display: inline-block;
	width: calc(100% - 90px);
	float: right;
}

.btnSupervisor span.btnTitle
{
	color: #9e5ea1;
}

.btnTechnical span.btnTitle
{
	color: #3A7F8D;
}

.btnVideos span.btnTitle
{
	color: #487E84;
}

.btnGlossary span.btnTitle
{
	color: #5B7F57;
}

.btnResources span.btnTitle
{
	color: #4D789D;
}

span.btnSubTitle
{
	clear: both;
	width: 100%;
	display: block;
	font-size: 16px;
	margin-top: 4px;
}

.hpCtaButton:hover
{
	cursor: pointer;
	background-color: #395abb;
}

.hpCtaButton.btnSupervisor:hover
{
	background-color: #9e5ea1;
}

.hpCtaButton.btnTechnical:hover
{
	background-color: #3A7F8D;
}

.hpCtaButton.btnVideos:hover
{
	background-color: #487E84;
}

.hpCtaButton.btnGlossary:hover
{
	background-color: #5B7F57;
}

.hpCtaButton.btnResources:hover
{
	background-color: #4D789D;
}

.hpCtaButton:hover span.btnTitle
{
	color: #fff;
}

.hpCtaButton:hover span.btnIcon
{
	background-color: #fff;
}

body#hp #primaryFooter
{
	margin-top: 0;
}

body#hp #footerMain .grid
{
	padding-top: 100px;
}

body#hp .footerBreak
{
	border-top: 1px solid #b1c3d4;
	padding: 10px 0;
	display: block;
	margin-left: 20px;
	margin-right: 20px;
}

@media (min-width: 600px)
{
	
}

@media (min-width: 768px)
{
	
}

@media (min-width: 960px)
{
	#primaryHeader.invertHeader
	{
		transition: background 0.5s ease;
		background: transparent;
	}

	#primaryHeader.invertHeader .logoHolder .sxa0,
	#primaryHeader.invertHeader .logoHolder .sxa1,
	#primaryHeader.invertHeader .logoHolder .sxa2,
	#primaryHeader.invertHeader .logoHolder .sxa3,
	#primaryHeader.invertHeader .logoHolder .sxa4,
	#primaryHeader.invertHeader .logoHolder .sxa5,
	#primaryHeader.invertHeader .logoHolder .sxa6,
	#primaryHeader.invertHeader .logoHolder path
	{
		fill: #fff !important;
	}

	#primaryHeader.invertHeader .megaMenuHolder ul li a
	{
		color: #fff;
	}

	.mastheadInner
	{
		display: flex;
	}

	/*.mh.textBlock,
	.mh.imageBlock, 
	.hpbc.textBlock,
	.hpbc.buttonBlock 	{
		border: 5px solid brown;
	}*/

	.mh.textBlock
	{
		padding-top: 30px;
		padding-right: 20px;
		width: 40%;
		box-sizing: border-box;
	}

	.mh.imageBlock
	{
		width: 60%;
		display: flex;
		flex-direction: column;
	}

	.mh.imageBlock img
	{
		align-self: flex-end;
		margin-top: auto;
	}

	.hpBodyContent .grid
	{
		display: flex;
	}

	.hpbc.textBlock
	{
		margin-right: 0;
	}

	.hpbc.buttonBlock
	{
		margin-left: 0;
	}

	.hpbc.textBlock
	{
		padding-right: 20px;
		width: 40%;
		box-sizing: border-box;
	}

	.hpbc.textBlock H2
	{
		font-size: 20px;
		font-weight: bold;
	}

	.hpbc.buttonBlock
	{
		width: 60%;
	}
}

@media (min-width: 1024px)
{
	/*	.hpbc.textBlock,
	.hpbc.buttonBlock  {
		border: 5px solid green;
	}*/

	.btnList
	{
		display: flex;
		flex-flow: row wrap;
	}

	.btnList li
	{
		width: 50%;
	}
}

@media (min-width: 1280px)
{
	/*	.mh.textBlock,
	.mh.imageBlock {
		border: 5px solid yellow;
	}*/

	.masthead h1
	{
		font-size: 45px;
	}

	/*	.mh.imageBlock {
		padding-top: 120px;
		border: 5px solid yellow;
	}*/
}

@media (min-width: 1440px)
{
	
}

