/* BEGIN INDEX CSS ----------------------------------------------> */

main 
{
	padding-bottom: 0;
}

#content,
#mainContent
{
	width: 100% !important;
	float: none !important;
	max-width: none;
	margin: 0px auto;
}

#homeAnimation
{
	position: relative;
	opacity: 0;
	top: -110px;
	/*min-height: 400px;*/
	/*min-height: calc(100vh - 2000px);*/
	height: 100vh;
	/*transition: all 850ms ease 0ms;*/
}

/*#homeAnimation.startAnimation
{
	opacity: 1;
}*/

body.mobileActive #homeAnimation
{
	/*solving an issue with the animation stacking higher during transition*/
	z-index: -100;
}

/*#header
{
	position: absolute;
	left: 0;
	padding-left: 16px;
}*/

#homeAnimation ul,
#homeAnimation li,
#homeAnimation div.results
{
	margin: 0;
	height: 100%;
	list-style: none;
}

#homeAnimation .image
{
	position: absolute;
	top: 0;
	left: calc(50% - 50vw);
	display: block;
	width: 100vw;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

#homeAnimation .image img 
{
	display: block;
	width: 100vw;
	height: 100%;
	object-fit: cover;
}

#homeAnimation .image::after 
{
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000000;
	opacity: .35;
}

#homeAnimation li
{
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 165px 0 75px;
	box-sizing: border-box;
}

#homeAnimation li:not(:first-child)
{
	display: none;
}

#homeAnimation .info 
{
	position: relative;
	z-index: 10;
	color: #ffffff;
}

#homeAnimation .info a 
{
	color: inherit;
}

#homeAnimation .smalltitle 
{
	--min-font-size: 16;
	--max-font-size: 18;
	--max-margin-bottom: 7;
	text-transform: uppercase;
	letter-spacing: 2px;
}

#homeAnimation .title
{
	position: relative;
	padding-bottom: 25px;
	--max-margin-top: 7;
	margin-bottom: 27px;
	--max-font-size: 52;
	font-weight: 800;
	line-height: 1.2;

}

#homeAnimation .title::after 
{
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	display: block;
	width: 138px;
	height: 4px;
	background: #AFD3F6;
}

#homeAnimation .abstract 
{
	--min-font-size: 18;
	--max-font-size: 22;
}

#homeAnimation .abstract p 
{
	font-size: inherit;
}

#homeAnimation #pager
{
	position: absolute;
	bottom: 30px;
	right: 0;
	z-index: 990;
	display: flex;
}

#homeAnimation #pager button 
{
	display: block;
	width: 23px;
	height: 23px;
	border: none;
	padding: 0;
	margin: 0 0 0 10px;
	border-radius: 50%;
	background: none;
	border: 1px solid #ffffff;
	cursor: pointer;
}

#homeAnimation #pager button.active,
#homeAnimation #pager button:hover
{
	background: #ffffff;
}

#homeAnimation .view_more a 
{
	background-image: linear-gradient(to right, transparent 50%, var(--gralue) 50%);
	background-size: 208% 100%;
	background-position-x: 3%;
	border: 2px solid var(--gralue);
}

#homeAnimation .view_more a:hover,
#homeAnimation .view_more a:focus 
{
	background-position-x: 99%;
	color: #00386C;
}

#row1
{
	margin-top: max(50px, 
	             min(82px, 50px + (82 - 50) * ((100vw - 767px) / (1600 - 767))
	));

	margin-bottom: max(50px, 
	             min(82px, 50px + (82 - 50) * ((100vw - 767px) / (1600 - 767))
	));
}

#row1 ul.results_list,
#row1 ul.results_list li 
{
	position: relative;
	margin: 0;
	list-style: none;
}

@keyframes angle-animation
{

	0%
	{
		clip-path: polygon(0 0, 72.5% 0, 100% 0, 100% 100%, 0 100%);

		height: 101%;
		max-height: 101%;
		width: 100vw;
		z-index: 1000;
	}

	85%
	{

		height: 30%;
		/*clip-path: polygon(0 50%, 30.5%  50%, 100% 50%, 100% 100%, 0 100%);*/
	}

	100%
	{

		height: 5vw;
		max-height: 78px;
		clip-path: polygon(0 0, 72.5% 100%, 100% 0, 100% 100%, 0 100%);
	}


}



@media (min-width: 600px)
{
	

	/*.staticNews::after 
	{
		position: absolute;
		bottom: -1px;
		left: calc(50% - 50vw);
		content: '';
		display: block;
		width: 100vw;
		height: 5vw;
		max-height: 78px;
		background: #D9E3EB;
		z-index: 100;
		clip-path: polygon(0 95%, 24.5% 0, 100% 100%, 0 100%);
	}*/
}




#homeSquareSpotlights.squareSpotlights ul.results_list
{
	display: grid;
	grid-gap: 26px;
}

#homeSquareSpotlights .sp_pencil
{
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
}

#homeSquareSpotlights .image 
{
	aspect-ratio: 25 / 22;
}

@media (min-width: 500px)
{
	#homeSquareSpotlights.squareSpotlights ul.results_list
	{
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 768px)
{

	#header
	{
		position: relative;
		padding-left: max(44px,
		             min(74px, 44px + (74 - 44) * ((100vw - 1400px) / (1920 - 1400))
		));
	}

	#homeAnimation
	{
		height: auto;
		min-height: 400px;
		top: auto;
	}

	#homeAnimation li 
	{
		padding: 75px 0;
	}

	#homeAnimation .info 
	{
		display: flex;
		justify-content: flex-end;
		align-items: center;
		height: 100%;
		padding-right: 105px;
	}

	#homeAnimation .info .aligner 
	{
		max-width: 650px;
	}

	#homeAnimation #pager
	{
		flex-direction: column;
		justify-content: center;
		top: 0;
		right: 0;
	}

	#homeAnimation #pager button 
	{
		margin: 0 0 25px;
	}


	/* Keeping the animation off mobile for page speed  */
	#homeAnimation::after
	{
		position: absolute;
		bottom: -1px;
		left: calc(50% - 50vw);
		content: '';
		display: block;
		width: 100vw;
		height: 101%;
		z-index: 600;
		background: #ffffff;

		/* animation rejected by client */
		height: 5vw;
		max-height: 78px;
		clip-path: polygon(0 0, 72.5% 100%, 100% 0, 100% 100%, 0 100%);
	}

	/*#homeAnimation.startAnimation::after
	{

		animation: angle-animation 1000ms forwards 0ms;
	}*/

}

@media (min-width: 920px)
{

	#row1
	{
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-left: max(30px, 
		             min(80px, 30px + (80 - 30) * ((100vw - 920px) / (1600 - 920))
		));
		padding-right: 33px;
	}

	#row1 .leftContent 
	{
		flex: 0 1 660px;
	}

	#row1 .squareSpotlights
	{
		flex: 0 1 860px;
		padding-left: 40px;
		box-sizing: border-box;
	}

	.fullWidthSpotlight
	{
		margin-bottom: 0 !important;
	}

	.fullWidthSpotlight::before 
	{
		background: linear-gradient(to right, #ffffff 64.5%, #EAEFF3 64.5%);
	}
}

/*@keyframes headerDrop
{
	0%
	{
		top: -130px;
	}

	100%;
	{
		top: 0;
	}
}*/

@media (min-width: 1280px)
{
	
	body
	{
		padding-top: 110px;
	}

	#header
	{
		position: fixed;
	}

	/*#header
	{
		animation: headerDrop 750ms forwards 300ms;
	}*/

}

@media (min-width: 1350px)
{
	#homeAnimation li
	{
		height: 70vh;
		min-height: 600px;
	}

	#homeAnimation .image 
	{
		aspect-ratio: 2400/900;
	}

	#homeAnimation .image::after 
	{
		opacity: .19;
	}
}

@media (max-width: 767px)
{
	
}

/* Home Alert Message */

#alertMessage
{
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 98;
	width: 100%;
	padding: 20px 80px 20px 80px;
	background: black;
	box-sizing: border-box;
	color: #ffffff;
	line-height: 1.2;
	text-align: center;
}

#alertMessage p,
#alertMessage p *
{
	margin: 0;
	padding: 0;
	color: #ffffff;
}

#alertMessage a
{
	text-decoration: underline;
}

@media (max-width: 1349px)
{
	#alertMessage
	{
		padding: 20px 44px 20px 44px;
	}
}

@media (max-width: 1024px)
{
	#alertMessage
	{
		padding: 12px 16px 12px 16px;
		font-size: 0.9rem;
	}
}


/* Home Notice Message */

#noticeMessageWrapper
{
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: calc(50% - 5vh);
	left: calc(50% - 45vw);
	z-index: 99;
	height: 10vw;
	width: 90vw;
	background: #000000;
}

#noticeMessage
{
	position: relative;
	z-index: 999999;
	overflow: hidden;
	width: 100%;
	background: #000000;
	color: #ffffff;
	font-size: 1.1rem;
}

#noticeMessage > div
{
	margin: 0;
	padding: 1.5em 2.5em;
}

#noticeMessage > div p
{
	margin: 0;
	padding: 0;
}



/* END INDEX CSS ------------------------------------------------> */
