/* ############# COLOR CONTRAST FIXES ############# */

/* input placeholders */
::placeholder {
  color: #222 !important;
  font-weight: 400 !important;
}
.unlv-search-input {
	background-color: rgba(255,255,255,.95);
}
	form.unlv-search .unlv-search-input::placeholder {
		color: #000 !important;
		font-weight: 300 !important;
	}
	form.unlv-search.search-sm .unlv-search-input::placeholder {
	  font-weight: 400 !important;
	}

/* buttons */
.legacy-css-wrapper a.btn-default.active, 
.legacy-css-wrapper a.btn-default.active:link, 
.legacy-css-wrapper .text-light a.btn-default.active, 
.legacy-css-wrapper .text-light a.btn-default.active:link, 
.legacy-css-wrapper .text-default a.btn-default.active, 
.legacy-css-wrapper .text-default a.btn-default.active:link, 
.legacy-css-wrapper button.btn-default.active, 
.legacy-css-wrapper button.btn-default.active:link, 
.legacy-css-wrapper .text-light button.btn-default.active, 
.legacy-css-wrapper .text-light button.btn-default.active:link, 
.legacy-css-wrapper .text-default button.btn-default.active, 
.legacy-css-wrapper .text-default button.btn-default.active:link {
	color: #111 !important;
}

/* skip to main content link */
a.skip-link {
	text-decoration: underline;
}
	a.skip-link, 
	a.skip-link:visited {
		color: #546e7a;
	}
	a.skip-link:hover, 
	a.skip-link:focus-visible {
		color: #b10202;
	}

/* change accordion headings to default text color */	
.accordion > h3, 
.accordion-custom > h3, 
.accordion > h4, 
.accordion-custom > h4 {
	color: inherit !important;
	border-bottom: dotted 1px rgba(0,0,0,.95) !important;
}

/* This resets the section background colors to what would be default striping. 
This is just a temp fix though. We need to go into the node template for degrees 
and change the background color classes. */
/* about, career, and docs sections */
body.node-type-degree .bg-gray-100,
body.node-type-degree .bg-gray-300,
body.node-type-degree .bg-gray-500 {
  background-color: #f5f5f5 !important;
}
/* learning-outcomes, catalog, contacts, and update sections */
body.node-type-degree .bg-gray-200,
body.node-type-degree .bg-gray-400,
body.node-type-degree .bg-gray-600  {
  background-color: #fff !important;
}

/* jQuery UI Tabs */
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
  color: rgba(0,0,0,.87) !important;
}
.ui-state-default a:hover, .ui-state-default a:active, .ui-state-default a:focus {
  color: rgba(0,0,0,.99) !important;
}
.ui-tabs .nav-tabs > li:hover {
	border-color: rgba(0,0,0,.5) !important
}
.ui-tabs .nav-tabs > li.ui-tabs-active > a {
  color: #b10202 !important;
}

/* Misc text styles */
.details,
.details:not(html) {
	color: rgba(0,0,0,.77) !important;
}

/* fix stupid kwall padding on highlight nodes */
article.unlv-magazine.full .magazine-node > section {
	padding-top: 60px;
}

/* section sub-menus - unlv today, experts */
#section-nav ul.menu-sections a, 
#section-nav ul.menu-sections a:link, 
#section-nav ul.menu-sections a:visited {
	color: #5c6888 !important;
}
#section-nav ul.menu-sections ul li.first > a, 
#section-nav ul.menu-sections ul li.first > a:link, 
#section-nav ul.menu-sections ul li.first > a:visited {
	color: #5c6888 !important;
}
#section-nav ul.menu-sections li.first.last > a,
#section-nav ul.menu-sections li.first.last > a:link,
#section-nav ul.menu-sections li.first.last > a:visited {
	color: #333 !important;
}

/* ############# FLEXSLIDER FIXES ############# */

/* disable paging navigation everywhere */
.flex-control-paging {
	display: none !important;
}

/* add background color to navigation container on maps pages */
body.page-node-type-building .flex-direction-nav,
body.page-node-type-complex .flex-direction-nav {
	background-color: #eee !important;
}

/* add a little room between slides and navigation on calendar */
#block-views-block-calendar-slideshow-block-1 .flex-direction-nav {
	margin-top: 10px !important;
}

/* add background color to calendar slides */	
.view-calendar-slideshow .slides {
	background-color: #fff !important;
}

/* adjust the positioning and look of the previous/next navigation */
.flex-direction-nav {
	margin-bottom: 0 !important;
	text-align: center;
	display: block !important;
}
	.flex-direction-nav li {
		display: inline-block;
		padding-right: 5px;
		padding-left: 5px;
	}
	.flex-direction-nav a {
		width: 50px !important;
		height: 40px !important;
		margin: 0 !important;
		position: initial !important;
		top: initial !important;
		z-index: initial !important;
		opacity: 1 !important;
		text-decoration: none !important;
	}
		.flex-direction-nav a:before {
			font-family: 'Font Awesome 6 Pro' !important;
			content: '\f0d9';
			font-size: 50px !important;
			font-weight: bold !important;
			text-shadow: none !important;
			line-height: 45px !important;
		}		
			.flex-direction-nav a.flex-prev:before {
				content: '\f0d9' !important;
			}
			.flex-direction-nav a.flex-next:before {
				content: '\f0da' !important;
			}
		.flex-direction-nav a:hover:before, 
		.flex-direction-nav a:focus:before {
			color: #b10202;
		}

/* disable the show/hide visibility on slideshow hover */		
.flexslider .flex-direction-nav a {
	display: block !important;
	opacity: 1 !important ;
}
	.flexslider:hover .flex-direction-nav .flex-prev {
		opacity: 1 !important;
		left: initial !important;
	}	
	.flexslider:hover .flex-direction-nav .flex-next {
		opacity: 1 !important;
		right: initial !important;
	}	

/* adjust the previous/next button positioning */
.flex-direction-nav .flex-prev {
  left: initial !important;
  text-align: center !important;
}
.flex-direction-nav .flex-next {
  right: initial !important;
  text-align: center !important;
}

/* adjust the looks of disabled buttons */
.flex-direction-nav li:has(.flex-disabled) { /* this works in everything except FF */
	cursor: not-allowed !important;
}
	.flex-direction-nav a.flex-disabled {
		pointer-events: none !important;
	}
		.flex-direction-nav a.flex-disabled:hover {
			cursor: not-allowed !important;
		}
		.flex-direction-nav a.flex-disabled:before, 
		.flex-direction-nav a.flex-disabled:hover:before, 
		.flex-direction-nav a.flex-disabled:focus:before {
			color: rgba(0,0,0,.2); !important;
		}