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


/* custom main nav bit */

@media (min-width: 1350px)
{
	#mainNav > ul:first-of-type
	{
		display: none !important;
	}
	
	#mainNav > ul+ ul
	{
		top: -10px;
	}
	
	#homeSideNav
	{
		position: absolute;
		z-index: 60;
		left: -80px;
		top: 18vw;
		padding: 0 0 0 36px;
		border-left: 20px solid #000000;
	}
	
	#homeSideNav ul
	{
		margin: 0;
		padding: 0;
	}
	
	#homeSideNav ul li
	{
		display: block;
		margin: 0 0 0 0;
		padding: 18px 0px;
		font-size: 1.27rem;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 1.6px;
	}
	
	#homeSideNav ul li a
	{
		color: #ffffff;
	}
	
	#homeSideNav ul li a:hover,
	#homeSideNav ul li a:focus
	{
		color: #A20C15;
		text-decoration: none;
	}
}

@media (max-width: 1349px)
{
	#homeSideNav
	{
		display: none;
	}
}

#index #content
{
	max-width: none;
	margin: 0px auto;
	padding: 0 0 3rem 0;
	background: none;
}

#index #mainContent
{
	margin: 0 0 0 0;
	padding: 0;
}

#index #lowerContent
{
	padding-top: 3rem;
}

#index #lowerContent #serviceIntro
{
	position: relative;
	width: 77%;
}

#index #topBanner
{
	background: #333333; /* WCAG Contrast False Positive Issue */
}

#index #homeAnimation
{
	position: relative;
	z-index: 40;
	width: calc(100% + 160px);
	margin: 0 0 0 -80px;
}

#index #homeAnimation ul,
#index #homeAnimation ul li
{
	position: relative;
	list-style: none;
	width: 100%;
	margin: 0px;
	padding: 0px;
}

#index #homeAnimation .image img
{
	display: block;
	width: 100%;
	height: auto;
}

#index #homeAnimation .image::after
{
	content: '';
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(45,41,38,0.48);
}

#index #homeAnimation .info
{
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
}

#index #homeAnimation .info .title
{
	/*width: 200px; /* force wrap */
	margin: 10vw 0 0 0;
	box-sizing: border-box;
	/*text-shadow: 2px 1px 2px #555;*/
	text-transform: uppercase;
	text-align: left;
}

#index #homeAnimation .info .title h1
{
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 3.94rem;
	font-weight: 600;
	line-height: 0.8;
	text-transform: uppercase;
}

#index #homeAnimation ul li .sp_pencil
{
	position: absolute;
	z-index: 12;
	bottom: 10px;
	right: 10px;
}

#index #homeAnimation .info .title h1
{
	opacity: 0;
	letter-spacing: 15px;
	animation: titleAnimation 1000ms ease-out 500ms forwards;
}

@keyframes titleAnimation
{
    0%   { opacity: 0; letter-spacing: 15px; }
	25%  {}
	50%  { opacity: 1; }
	75%  {}
	100% { letter-spacing: normal; opacity: 1; }
}


#homeNews
{
	display: flex;
	justify-content: space-between;
	position: relative;
	z-index: 50;
	width: 100%;
	max-width: 1400px;
	margin: max(-60px, min(-20px, -4vw)) auto 0px auto;
	box-sizing: border-box;
}

#homeNews ul.results_list,
#homeNews ul.results_list > li
{
	position: relative;
}

#homeNews ul.results_list
{
	display: flex;
	justify-content: space-between;
}

#homeNews ul.results_list > li
{
	position: relative;
	width: calc(33.33% - 30px);
	padding: max(10px, min(4vw, 46px));
	background: #ffffff;
	box-sizing: border-box;
}

#homeNews .section
{
	margin: 0 0 10px 0;
	color: #D22630;
	font-size: 0.85rem;
	text-transform: uppercase;
}

#homeNews .title
{
	display: block;
}

#homeNews .title,
#homeNews .title a
{
	color: #333;
	font-size: 1rem;
}

#homeNews .title a:hover,
#homeNews .title a:focus
{
	color: #A20C15;
}

@media (max-width: 1349px)
{
	#index #homeAnimation
	{
		width: calc(100% + 88px);
		margin: 0 0 0 -44px;
	}
	
	#index #homeAnimation .info .title h1
	{
		font-size: 3.2rem;
	}
}

@media (max-width: 919px)
{	
	#index #homeAnimation
	{
		width: calc(100% + 32px);
		margin: 0 0 0 -16px;
	}
	
	#index #homeAnimation .info .title
	{
		margin: 0;
	}
	
	#index #homeAnimation .info .title h1
	{
		font-size: 2.2rem;
	}
}

@media (max-width: 767px)
{
	#homeNews ul.results_list
	{
		display: block;
	}

	#homeNews ul.results_list > li
	{
		width: 100%;
		margin-bottom: 20px;
	}
	
	#index #homeAnimation
	{
		height: 300px;
	}
	
	#index #homeAnimation .image
	{
		position: absolute;
		height: 300px;
		overflow: hidden;
	}
	
	#index #homeAnimation .image img
	{
		display: block;
		width: 100vw;
		height: 300px;
		object-fit: cover; /* or object-fit: contain; */
	}
	
	#index #homeAnimation .info
	{
		align-items: flex-end;
		bottom: inherit;
		height: 300px;
	}
	
	#index #homeAnimation .info .title
	{
		margin: 0 0vw 100px 0;
	}
}

@media (min-width: 1350px)
{
	/* news spots have waypoint animation at this window size */
	#homeNews ul.results_list
	{
		margin-bottom: 0px;
	}
	
	#homeNews ul.results_list > li
	{
		opacity: 0;
		margin-top: 50px;
		margin-bottom: 0px;
		transition: opacity 425ms ease-in, margin-top 500ms ease-in, margin-bottom 500ms ease-in;
		transition-delay: 400ms;
	}

	#homeNews ul.results_list > li:nth-child(2)
	{
		transition-delay: 600ms;
	}

	#homeNews ul.results_list > li:nth-child(3)
	{
		transition-delay: 750ms;
	}
	
	#homeNews.homeNewsSlideIn ul.results_list > li
	{
		opacity: 1;
		margin-top: 0;
		margin-bottom: 50px;
		cursor: pointer;
	}
}

#siteSearchHome
{
	max-width: 1400px;
	margin: 0px auto;
	text-align: center;
}

#siteSearchHome .search_form
{
	width: 73%;
    margin: auto;
    position: relative;
}

#siteSearchHome form .search_form > div
{
	width: 42.5%;
}

#siteSearchHome form .search_form > div
{
	width: 28%;
}

#siteSearchHome form .search_form > div:last-child
{
	/*width: 10%;*/
}

#siteSearchHome .search_form > div:nth-child(2)
{
	width: 100%;
	margin-bottom: 0px;
}

#siteSearchHome .search_form label
{
	font-size: 19px;
	line-height: 1.2;
}

#siteSearchHome .search_form form > div > div.hasFocus > label
{
	display: block !important;
	top: -10px;
	left: 8px;
	z-index: 5;
	padding: 2px 4px 0 2px;
	background-color: transparent;
	font-size: 0.6rem;
}

#siteSearchHome .search_form #searchtext2
{
	border: none;
	border-bottom: 1px solid #D7D7D7;
	background: transparent;
	font-size: 19px;
}

#siteSearchHome .search_form > div:last-child
{
	position: absolute;
    right: 0px;
    width: 37px;
}

#siteSearchHome .search_form > div:last-child button
{
	border:none;
	background: transparent;
    fill: #d22630;
}

#siteSearchHome h3
{
	margin-bottom: 18px;
	font-weight: 500;
	text-align: center;
}

@media (min-width: 1350px)
{
	/* news spots have waypoint animation at this window size */
	#homeNews ul.results_list
	{
		margin-bottom: 0px;
	}
}
	
@media (max-width: 767px)
{
	#siteSearchHome .search_form
	{
		width: 100%;
	}
	
	#siteSearchHome h3
	{
		padding-top: 0px;
	}
}


/* Advantage Video Section */

#advantageWrapper h2
{
	margin-bottom: 0px;
	padding-bottom: 0px;
}

/* Services Carousel */

#servicesCarousel
{
	display: none;
	position: relative;
	left: calc(50% - 50vw);
	margin: 52px 0 0 0;
}

#servicesCarousel.areaXrefTiles .itemList ul.results_list
{
	display: block;
	width: calc(100vw + 20px);
	margin: 0;
}

#servicesCarousel.areaXrefTiles .itemList > ul.results_list li
{
	margin: 0 20px 0 0 !important;
	background: #f3f3f3;
}

#homeServicesNav
{
	display: flex;
	justify-content: space-between;
	position: absolute;
	right: 0;
	width: 80px;
	margin-top: -70px
}

button.slick-prev,
button.slick-next
{
	position: relative;
	display: inline-block;
	width: 23px;
	height: 48px;
	background: none;
	border: none;
	text-indent: -9999em;
	background: url('../i/icon-slider-arrow-prev.svg') no-repeat; /* data-uri */
	z-index: 10;
	cursor: pointer;
}

button.slick-next
{
	background: url('../i/icon-slider-arrow.svg') no-repeat; /* data-uri */
}

button.slick-prev:hover,
button.slick-next:hover
{
	filter: grayscale(100%);
	opacity: 0.5;
}

@media (max-width: 1024px)
{
	#index #lowerContent #serviceIntro
	{
		position: relative;
		width: 100%;
	}
	
	#homeServicesNav
	{
		position: relative;
		right: 0;
		width: 80px;
		margin: 0 0 0 auto;
	}
	
	#servicesCarousel
	{
		margin-top: 10px;
	}
}


/* Home Alert Message */

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

#alertMessage *
{
	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;
}

#noticeMessage button
{
	display: block;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	padding: 0;
	background: none;
	border: none;
	color: #333333;
	font-weight: 400;
	font-size: 42px;
	line-height: 20px;
	cursor: pointer;
	text-align: center;
}

#noticeMessage button:after,
#noticeMessage button:before
{
	content: '';
	display: block;
	position: absolute;
	top: 14px;
	width: 30px;
	height: 2px;
	background-color: #ffffff;
}

#noticeMessage button:before
{
	transform: rotate(-45deg);
}

#noticeMessage button:after
{
	transform: rotate(45deg);
}


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