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

#page
{
	background-image: radial-gradient(farthest-side, #0025 50%, rgba(0, 0, 0, 0.1)), url('/sites/facultyinfo.unt.edu/themes/at_frodo/images/campus-bluebonnets.jpg') !important;
	background-size: 100% auto;
}

/* ===== MAH updates ===== */

#block-at-frodo-digitalmeasuresfacultyinfofrontpagesearchform #profile-search-form-wrapper
{
	padding: 18vh 10px 15vh 10px;
	width: 85%;
	margin: 0px auto;
}

#profile-search-form-wrapper h2
{
	font-family: "Barlow Condensed", sans-serif;
	color: #ffffff;
	font-size: 2em;
	font-weight: bold;
	text-transform: uppercase;
}

#profile-search-form
{
	/*border-radius: 60px;*/
	margin-bottom: 0;
	display: flex;
}

#filter-wrapper
{
	width: 20%;
}

#search-box-wrapper
{
	padding-left: 0;
	padding-right: 0;
	width: 80%;
}

#search-box-wrapper input[type=text]
{
	border: 0;
	width: 100%;
	color: #454545;
	font-size: 1.2em;
	font-weight: 400;
	height: 58px;
	padding: 15px 20px;
}

#course-search-box
{
	display: hidden;
}

#dropdown-toggle
{
	color: grey;
	width: 100%;
	float: left;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
    height: 58px;
	border: 0;
	box-shadow: none;
	border-radius: 0px;
}

#dropdown-toggle-label
{
	padding: 0 .6em 0 0;
}

.fa-caret-down
{
	font-size: 1.2em;
	vertical-align: middle;
}

#filter-dropdown
{
	background-color: #ffffff;
	border: 0;
	box-shadow: 0 6px 12px rgba(0,0,0,.175);
	font-size: 16px;
	list-style: none;
	text-align: left;
	max-width: 200px;
	width: 100%;
	position: absolute;
	margin-top: 58px;
	left: auto;
	z-index: 100;
}

#filter-dropdown label
{
	text-transform: uppercase;
	color: #555555;
	font-weight: bold;
}

#filter-dropdown-label
{
	background-color: #276436;
	color: #ffffff;
	display: block;
	font-family: "Open Sans",Verdana,Arial,sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	margin: -4px 0 0;
	padding: 15px;
	text-align: left;
}

#filter-dropdown .options
{
	font-size: .9333333333rem;
	padding: 0 15px;
}

#filter-dropdown .radio
{
	border-top: 1px solid #d7d2cb;
	padding: 10px 0;
}

#filter-dropdown .radio:first-child
{
	border-top: 0;
}

#filter-dropdown .radio input[type="radio"]
{
	margin-bottom: 0;
	margin-right: .5em;
}

#submit-wrapper
{
	width: 20%;
}

#profile-search-form button[type="submit"] 
{
	height: 58px;
	width: 100%;
	margin: 0;
	padding: 0em 2em;
	border: 0;
	color: #f0f0f0;
	background-color: #276436;
	font-weight: 700;
	text-transform: uppercase;
}

#profile-search-form button[type="submit"] .fa 
{
	font-size: 24px;
	font-size: 1.6rem;
	margin-right: 8px;
}

.hidden
{
	display: none;
}

.visible
{
	display: block;
}
.experts {
    color: #fff;
    margin-top: .5em;
    display: block;
    text-align: center;
}

/* On screens that are 900px or less */
@media screen and (max-width: 900px) 
{
	#profile-search-form-wrapper
	{
		padding: 2vh 10px 2.5vh 10px;
		width: 100%;
		margin: 0px auto;
	}
	
	#profile-search-form
	{
		flex-direction: column;
	}
	
	#filter-wrapper,
	#search-box-wrapper,
	#submit-wrapper
	{
		width: 100%;
	}
	
	#filter-dropdown
	{
		max-width: 100%;
		width: 100%;
		position: relative;
	}
}


/* === */

div#block-at-frodo-additionalinfoforfrontpage
{
	background-color: #fff !important;
	padding: 0;
}

/*#block-at-frodo-additionalinfoforfrontpage .content
{
	max-width: 1080px;
	margin: 0 auto;
	padding-top: 2em;
	padding-bottom: 1em;
}*/

#block-at-frodo-additionalinfoforfrontpage .content a
{
	color:rgb(0,104,0);
}

#block-at-frodo-additionalinfoforfrontpage .content
{
	max-width: 1160px;
	margin: 0 auto;
	padding-top: 2em;
	padding-bottom: 2em;
	padding-left: 40px;
	padding-right: 40px;
}

#block-at-frodo-additionalinfoforfrontpage .about
{
	float: right;
	width: 50%;
	margin-top: 0.5em;
}

#block-at-frodo-additionalinfoforfrontpage .stats 
{
	float: left;
	width: 50%;
}

#block-at-frodo-additionalinfoforfrontpage .stat 
{
	float: left;
	width: 50%;
}


/*#topnav-container 
{
	background-color: #fff !important;
}*/

#deco-footer
{
  display: none;
}

#profile-search-form-wrapper h2
{
	font-family: "Barlow Condensed";
	color: rgb(255, 255, 255);
	font-size: 5em;
	text-align: center;
	max-width: 20ch;
	margin: 0 auto;
	line-height: .9em;
	margin-bottom: .5em;
	text-shadow: 1px 1px 5px #0004;
	letter-spacing: -.5px;
}

#profile-search-form button[type="submit"]
{
	border-radius: 0 2em 2em 0;
	box-shadow: 1px 1px 10px #0001;
}

#search-box-wrapper input[type="text"]
{
	box-shadow: 1px 1px 10px #0003;
}

#dropdown-toggle
{
	box-shadow: 1px 1px 10px #0006;
	border-radius: 2em 0 0 2em;
}

#topnav-container
{
	color: #666 !important;
}

#main-site-header
{
	background-color: #0003;
}

#topnav-container a
{
	color: #777 !important;
}

#main-site-header
{
	background-color: #fff;
}

#main-site-header a
{
	color: rgb(39 100 54) !important;
}

#unt-lettermark img
{
	height: 48px;
	margin: 20px 19px 0 -4px;
	padding-right: 15px;
}

#department-name
{
	font-size: 23pt;
	text-transform: uppercase;
}

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

#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;
}

.region-frontpage-highlights
{
	margin-right: 0 !important;
	margin-left: 0 !important;
}

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

#highlights-wrapper
{
	max-width: 90%;
	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: 1em;
	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;
}

.frontpage-highlights-box ul
{
	list-style-type: "\0203A";
	padding-left: 1em;
}

.frontpage-highlights-box ul li
{
	padding-top: 0.2em;
	padding-left: 0.5em;
}

.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('/sites/facultyinfo.unt.edu/themes/at_frodo/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);
	}
	
	#highlights-wrapper
	{
		flex-direction: column;
	}
		
	.frontpage-highlights-box
	{
		width: 100%;
		margin-top: 5px;
	}
	
	#deco-footer-apply-cta
	{
		width: 100%;
		margin: -150px auto 0 auto;
	}
	
	#deco-footer-apply-cta-box
	{
		padding: 10px;
	}	
}