/**
 * @file
 * Front Page Specific CSS
 * AT-Aragorn Barrio Subtheme for Drupal 10
 */

#header
{
	background: transparent;	
}

/* ===== Highlights Section ===== */

#page
{
	background-image: radial-gradient(closest-side, transparent 50%, rgba(0, 0, 0, 0.6)), url('../images/stock-background.jpg') !important;
	background-size: 100% auto;
}

#frontpage-callout
{
	margin: 100px 0 150px 0;
	max-height: 80vh;
}

#frontpage-callout-text
{
	font-family:"Barlow Condensed", sans-serif;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 10em;
	line-height: 80%;
	letter-spacing: -0.05em;
}

#frontpage-callout-buttons
{
	margin: 15px 0px;
}

#frontpage-highlights
{
	font-family:"Roboto", sans-serif;
	background-color: #dedede;
	padding-bottom: 100px;
}

#frontpage-highlights h2
{
	font-family:"Roboto Condensed", sans-serif;
	font-weight: 900;
}

#highlight-block-wrapper
{
	max-width: 1440px;
	margin: 0 auto 50px auto;
}

#highlights-wrapper
{
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 25px;
}

.frontpage-highlights-box
{
	background-color: #ffffff;
	border-top: #00853e 6px solid;
	border-bottom: #cccccc 1px solid;
	box-sizing: border-box;
	/*box-shadow: inset 0 0 10px 5px rgba(0,83,38,0.2);*/ /* Green shadow */
	/* box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.3); *//* Black shadow */
	font-size: 0.92rem;
	position: relative;
	margin-top: -50px;
	margin-bottom: 50px;
	padding: 23px 40px 10px 40px;
	flex-basis: 28%;
	max-width: 415px;
	min-height: 194px;
	line-height: 1.5em;
}

.frontpage-highlights-box h2
{
	font-size: 1.5rem;
	margin-bottom: 0.15em;
	text-transform: uppercase;
}

.highlight-call-to-action
{
	font-family:"Roboto", sans-serif;
	font-weight: 700;
	font-size: 10pt;
	text-align: center;
	margin: 0;
	/*border-radius: 4px;*/
	color: #00853e;
	padding: 0.5em 0em;
	text-transform: uppercase;
	position: absolute;
	bottom: 25px;
}

.highlight-call-to-action
{
	transition: 0.25s;
}

.highlight-call-to-action:hover
{
	color: #006a31;
}


/* ===== News Section ===== */

#frontpage-news
{
	background-color: #ffffff;
	padding-bottom: 100px;
}

	/* First News Item */

	.frontpage-news-first-item
	{
		max-width: 1440px;
		margin: 0 auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.frontpage-news-first-item .view-content
	{
		width: 100%;
	}

	#first-news-item-container
	{
		background-color: #00853e;
		background-size: cover;
		width: 100%;
		max-width: 1260px;
		height: 263px;
		margin: -64px auto 0px auto;
		padding: 0;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#first-news-item-text
	{
		height: 200px;
		max-width: 600px;
		margin: 52px;
	}

	p#first-news-item-label
	{
		margin-bottom: 9px;
	}
	
	#first-news-item-label span
	{
		background-color: #218c47;
		color: #ffffff;
		font-size: 1.1em;
		text-transform: uppercase;
		font-family: 'Roboto Condensed', sans-serif;
		font-weight: 500;
		padding: 3px 10px; 
	}

	h2#first-news-item-title
	{
		font-size: 2.1em;
		font-family: 'Roboto', sans-serif;
		font-weight: 700;
		/*line-height: 0.93em;*/ /* pixel-perfect, but overlaps if there's characters below baseline */
		line-height: 0.98em;
		margin-bottom: 9px;
	}

	#first-news-item-title a
	{
		color: #ffffff;
		text-decoration: none;
		transition: 0.25s;
	}
	
	#first-news-item-title a:hover
	{
		/* color: #e4eca4; */
		color: #C0DB37;
	}
	
	#first-news-item-date
	{
		color: #ffffff;
		font-family: 'Roboto Slab', serif;
		font-size: 0.9em;
	}

	#first-news-item-image
	{
		background-color: #ffffff;
		width: 430px;
		height: 330px;
		overflow: hidden;
		padding: 15px;
		margin: -40px 60px 0 30px;
	}
	
	/* gets rid of image when less than 1260px */
	@media screen and (max-width: 1260px) 
	{
		#first-news-item-text
		{
			max-width: 100%;
		}
	
		#first-news-item-image
		{
			display: none;
		}
	}

	#first-news-item-image a
	{
		width: 100%;
	}
	
	#first-news-item-image img
	{
		width: 400px;
		height: auto;
		max-height: 300px;
	}

	/* Remaining News Items */
	
	.frontpage-news-items .row
	{
		--bs-gutter-x: 0; /* stupid default pushes box past page width */
	}
	
	#other-news-items-container
	{
		max-width: 1260px;
		margin: 54px auto 0px auto;
		padding: 0;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 25px;
	}
	
	.other-news-item
	{
		border-top: #cccccc 4px solid;
		padding-top: 17px;
		width: 290px;
		height: 130px;
		position: relative;
	}
	
	.other-news-item a
	{
		color: #000000;
		text-decoration: none;
		transition: 0.25s;
	}
	
	.other-news-item a:hover
	{
		color: #00853e;
	}
	
	.other-news-item h2
	{
		font-family: 'Roboto Condensed', sans-serif;
		font-size: 1.2em;
		font-weight: 700;
	}
	
	.other-news-item .date-label
	{
		font-family: 'Roboto Slab', serif;
		font-size: 0.85em;
		position: absolute;
		margin-bottom: 0;
		bottom: 13px;
	}
	

/* ===== Events Section ===== */

	#frontpage-events
	{
		background-color: #bdbdbd;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000%25' height='1000%25' viewBox='0 0 1200 600'%3E%3Cg fill-opacity='0.72'%3E%3Cpath fill='%23c3c3c3' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23c9c9c9' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23cecece' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23d4d4d4' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23DADADA' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%23e1e1e1' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%23e9e9e9' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23f0f0f0' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23f8f8f8' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23FFFFFF' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");
		background-size: cover;
		padding: 54px 0 175px 0;
	}

	#frontpage-events-container
	{
		max-width: 1260px;
		margin: 0 auto 0px auto;
		padding: 0;
		font-family: 'Roboto Condensed', sans-serif;
		box-sizing: border-box;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#frontpage-events-label
	{
		width: 160px;
		margin-right: 30px;
	}

	#frontpage-events-label span
	{
		background-color: #218c47;
		color: #ffffff;
		font-size: 1.1em;
		text-transform: uppercase;
		font-family: 'Roboto Condensed', sans-serif;
		font-weight: 500;
		padding: 3px 10px; 
	}
	
	#frontpage-events-listing
	{
		max-width: 1050px;
		display: flex;
		flex-wrap: wrap;
	}
	
	#frontpage-events-listing .view-content
	{
		/*justify-content: space-between;*/
		gap: 34px;
	}
	
	.frontpage-events-event
	{
		background-color: #ffffff;
		padding: 30px;
		width: 327px;
		height: 142px;
		border-bottom: #cccccc 1px solid;
		display: flex;
		flex-wrap: wrap;
	}
	
	.frontpage-event-time
	{
		width: 100px;
		font-size: 0.9em;
		padding-right: 10px;
		border-right: #00853e 3px solid;
	}
	
	.events-dayofweek
	{
		text-transform: uppercase;
		font-weight: 700;
	}
	
	.events-time
	{
		font-weight: 700;	
	}
	
	.events-date
	{
		
	}
	
	.frontpage-event-title
	{
		padding-left: 10px;
		width: 165px;
		font-weight: 700;
	}
	
	.frontpage-event-title a
	{
		color: #000000;
		text-decoration: none;
		transition: 0.25s;
	}

	.frontpage-event-title a:hover
	{
		color: #00853e;
	}
	
/* ===== Sponsors Section ===== */

	#frontpage-sponsors
	{
		background-color: #eeeeee;
		padding: 54px 0 115px 0;
	}

	#frontpage-sponsors-container
	{
		max-width: 1260px;
		margin: 0 auto 0px auto;
		padding: 0;
		box-sizing: border-box;
		display: flex;
		flex-wrap: wrap;
		
	}
	
	#frontpage-sponsors-container .views-element-container
	{
		width: 100%;	
	}
	
	#frontpage-sponsors-container .view-content
	{
		align-items: center;
		justify-content: center;
		gap: 80px;
	}
	
	.frontpage-sponsors-sponsor
	{
		padding: 20px;
		width: 300px;
		box-sizing: border-box;
	}
	
	.frontpage-sponsors-sponsor img
	{
		width: 260px;
		height: auto;
		filter: grayscale(1);
		transition: 0.25s;
	}
	
	.frontpage-sponsors-sponsor img:hover
	{
		filter: grayscale(0);
	}
		
/* dumb stuff to show we can do what ModernCampus does */

.triangles .frontpage-highlights-box
{
	background-image: url('../images/trianglify-green.jpg'); /* Dumb MC stuff */
	box-shadow: inset 0 0 10px 5px rgba(0,0,0,0.2); /* Black shadow */
	color: #ffffff;
}

.triangles .frontpage-highlights-box a
{
	color: #ffffff;
}

.triangles .frontpage-highlights-box .call-to-action
{
	background-color: #efefef;
	color: #595959;
}

.triangles .frontpage-highlights-box .call-to-action:hover
{
	background-color: #333333;
	color: #ffffff;
}

/* On screens that are 900px or less */
@media screen and (max-width: 900px) 
{
	#page
	{
		background-size: cover;
	}
	
	#site-title-container
	{
		background: rgba(0, 0, 0, 0.3);
	}
	
	#frontpage-callout
	{
		margin: 20px 0 20px 0;
		max-height: 80vh;
	}
	
	#frontpage-callout-text
	{
		font-size: 4em;
	}
	
	#frontpage-callout-buttons
	{
		margin: 15px auto;
		width: 90%;
	}
	
	#frontpage-callout-buttons .call-to-action
	{
		margin: 0 auto 10px auto;
		padding: 1em 2em;
		width: 100%;
	}
	
	#highlights-wrapper
	{
		flex-direction: column;
		max-width: 90%;
	}
		
	.frontpage-highlights-box
	{
		width: 100%;
		margin-top: 5px;
		margin-bottom: 0px;
		font-size: 1em;
		padding: 20px 10px 10px 10px;
	}
	
	#first-news-item-container
	{
		height: unset;
	}

	#other-news-items-container
	{
		flex-direction: column;
		max-width: 90%;
	}

	.other-news-item
	{
		width: 100%;
		margin-top: 5px;
		margin-bottom: 0px;
	}
	
	#frontpage-events
	{
		padding: 30px 0 50px 0;
	}
	
	#frontpage-events-container
	{
		flex-direction: column;
		width: 90%;
	}
	
	.frontpage-events-event
	{
		flex-wrap: nowrap;
		width: 100%;
		padding: 1em;
	}
	
	.frontpage-events-time
	{
		width: 150px;
	}
	
	.frontpage-event-title
	{
		width: 100%;
	}
	
	#frontpage-sponsors-container .view-content
	{
		gap: 20px;
	}
	
	#deco-footer-apply-cta
	{
		width: 100%;
		margin: -150px auto 0 auto;
	}
	
	#deco-footer-apply-cta-box
	{
		padding: 10px;
	}	
}