/*
Theme Name:	Mercury Theme UFR Child
Theme URI:	http://example.com/ufl-main-uni-child/
Description:	Mercury Theme UFR Child Theme
Author:		UF Research Webmaster
Author URI:	http://research.ufl.edu
Template:		ufl-main-uni
Version:		1.0.8
License:		GNU General Public License v2 or later
License URI:	http://www.gnu.org/licenses/gpl-2.0.html
Tags:		featured-images, threaded-comments, translation-ready
Text Domain:	ufl
*/


/*   Fix Masthead hiding WP dropdown  */

#masthead {
	z-index: 9999 !important;
}

/* Fix accordion overlapping masthead*/
.accordion .accordion-item {
	z-index: 999;
}

form.searchform.masthead {
	width: 70%;
	margin: 0px auto;
}


input.form-control.masthead {
	font-weight: bold;
}

button.masthead-search-btn {
	background-color: #0025a1;
}

button.close-search {
	right: 210px !important;
	top: 53px !important;
}

.search-modal .close-search {
	font-size: inherit;
	line-height: inherit;
	height: 45px;
	width: 45px;
	position: static;
}

img.search-icon-close {
	height: 55 !important;
	width: 55 !important;
}

.desk-only-search {
	border-right: none !important;
}



ul.dropdown-menu.depth_0 {
	min-width: 800px !important;
	max-width: 800px !important;
}


/* Post templates CSS */
.featured-three-quarter-width-img {
	background-size: 75% !important;
	background-position: center;
	background-repeat: no-repeat;
}


.post-thumbnail-bio-wrapper {
	width: 25% !important;
	margin-left: auto;
	margin-right: auto;
}

.post-thumbnail-bio-wrapper .post-thumbnail .wp-post-image {
	height: 100% !important;
	width: 100% !important;
}


div.see-more-news {
	display: none;
}

#facultyLoadmore {
	display: none;
}


/*	Plugin/block override: ufl-block/faculty-listing-carousel
	Removes orange swipe from carousel picture hover */
.faculty-listing-carousel-wrapper .faculty-listing-carousel .faculty-listing-img::after,
.faculty-page .faculty-listing-item .faculty-listing-img::after {
	background-color: rgba(0, 0, 0, 0) !important;
}

/* Fixes double bullet */
#content ul>li::before,
#content ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul>li::before,
#content ul ul>li::before,
#content ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul>li::before {
	content: "";
}

#content ul ul ul>li::before,
#content ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul>li::before,
#content ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul>li::before {
	content: "";
}

.home .wp-block-latest-posts__list li {
	list-style: none;
}

.home ul.wp-block-latest-posts__list {
	padding-left: 0px !important;
}

/* Styling for latest post widget */
.home a.wp-block-latest-posts__post-title {
	font-size: 1.125em;
	text-decoration: none;
	color: #FA4616;
	text-transform: uppercase;
	font-weight: 600;
	line-height: 1.5em;
}

/* remove bullets from search pagination buttons */
nav ul.pagination li.page-item::before,
nav ul.pagination li.page-item::marker {
	content: none !important;
}

nav ul.pagination li.page-item {
	padding-left: 0 !important;
}

#content ol li.breadcrumb-item {
	font-size: 16px;
}

#content ol li.breadcrumb-item.active {
	font-style: italic;
}

#content ol li.breadcrumb-item.active::before {
	margin: 0;
	font-style: normal;
}

.editor-styles-wrapper :where(:not(.is-layout-flex, .is-layout-grid))>.wp-block {
	max-width: 100%;
	width: 100%;
}

/** Florida Univeristy Space Research Consortium Branding */

:root {
	--fusrc-brand-primary: #1F2E45;
	--fusrc-brand-secondary: #F2A900;
}

body.branding--fusrc {

	/* Primary background elements */
	.header .header-container,
	.footer-wrapper .footer,
	.hero-split-container .hero-split-wrapper .split-hero-content,
	button.masthead-search-btn,
	.header .navbar {
		background: var(--fusrc-brand-primary);
		border-bottom: 0;
		/* only applies where relevant */
	}

	@media (max-width: 1409px) {
		.header #main-navbar #main-nav-ul a {
			color: var(--fusrc-brand-primary);
		}

		.header #main-navbar #main-nav-ul>.nav-item>.nav-link:hover {
			color: var(--fusrc-brand-secondary);
		}
	}

	/* Primary text / icon color */
	.header .mobile-offsite-toggle-wrapper .navbar-toggler {
		color: var(--fusrc-brand-primary);
	}

	/* Accordion */
	.accordion .accordion-item {
		.accordion-button:before {
			border-top: 1px solid var(--fusrc-brand-secondary) !important;
		}

		.accordion-button,
		.accordion-button:not(.collapsed) {
			color: var(--fusrc-brand-primary);
		}

		.accordion-collapse:before {
			border-bottom: 1px solid var(--fusrc-brand-secondary) !important;
		}
	}

	/* Toggler icons */
	.header .mobile-offsite-toggle-wrapper .navbar-toggler-icon,
	.header .mobile-offsite-toggle-wrapper .navbar-toggler-icon::before,
	.header .mobile-offsite-toggle-wrapper .navbar-toggler-icon::after {
		color: var(--fusrc-brand-primary);
		background-color: var(--fusrc-brand-primary);
	}

	/* Tab styles */
	.tab-block .tab-block-wrapper {

		.desktop-tab-link-col {
			border-right: 2px solid var(--fusrc-brand-secondary);
			color: var(--fusrc-brand-secondary);

			.tab-link.active,
			.tab-link:not(.collapsed) {
				color: var(--fusrc-brand-primary);
				border-right: 12px solid var(--fusrc-brand-secondary);
			}
		}

		.tab-content-col .tab-link:not(.collapsed) {
			border-bottom: 3px solid var(--fusrc-brand-secondary);
			color: var(--fusrc-brand-primary);
		}

		.tab-link:hover {
			color: var(--fusrc-brand-secondary);
		}
	}

	/* Secondary color usage */
	#content ul li::marker,
	.hero-split-container .banner_subtitle p {
		color: var(--fusrc-brand-secondary);
	}

	/* Secondary border highlights */
	.header #main-nav-ul>.nav-item:hover>.nav-link,
	.header #main-nav-ul>.nav-item:focus>.nav-link,
	.header #main-nav-ul>.nav-item:focus-within>.nav-link {
		border-bottom: 2px solid var(--fusrc-brand-secondary);
	}

	/* Footer */
	.footer-wrapper {
		#footerTopBorder {
			background: var(--fusrc-brand-secondary);
		}

		.footer .footer-section .widget-title {
			border-bottom: 4px solid var(--fusrc-brand-secondary);
		}
	}

	/* Factoids */
	.factoids .factoid-col {
		.factoid-number {
			border-bottom: 2px dotted var(--fusrc-brand-secondary);
			color: var(--fusrc-brand-primary);
		}

		.factoid-subhead {
			color: var(--fusrc-brand-primary);
		}
	}
}

/** End FUSRC Branding */

/** Nav bar scroll up animation */ 
.scrolling_up {
  opacity: 1;
  visibility: visible;
  transition: all .2s ease-in-out;
}

/* Consistent footerTopBorder width */
#footerTopBorder {
	width: 100% !important;
}  