/*
Theme Name:   AstraUNC
Theme URI:    https://
Description:  Astra Child Theme
Author:       Steve Segedy
Author URI:   
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         
Text Domain:  astra
*/


#display
{
	z-index: 999;
}

/* link hover, focus states */
a:not(.wp-block-button__link):focus,
a:not(.wp-block-button__link):hover {
	color: #4b9cd3 !important;
}

/* The my-accounts svg never receives focus so update its color when it's parent element has focus */
svg.my-accounts:hover,
.my-accounts-link:focus svg.my-accounts {
	fill: #4b9cd3 !important;
}

.data-services-home nav a:hover,
.data-services-home nav a:focus,
.hsl-home nav a:focus,
.hsl-home nav a:hover,
.hsl-home nav a:focus,
.wilson-home nav a:hover,
.wilson-home nav a:focus {
	color: white !important;
}

.footer-widget-area a:hover,
.footer-widget-area a:focus,
.has-ast-global-color-5-color a:hover,
.has-ast-global-color-5-color a:focus {
 color: #B0E3FA !important;
}

/* Button hover, focus states */
#catalog-form button,
#library-staff-search-actions button,
.wp-block-button .wp-block-button__link {
	border-width: 2px;
}

#unc-tabbed-search a:hover,
#unc-tabbed-search a:focus,
#unc-tabbed-search button:hover,
#unc-tabbed-search button:focus,
#catalog-form button:hover,
#catalog-form button:focus,
#library-staff-search-actions button:hover,
#library-staff-search-actions button:focus,
#see-all-summons:hover,
#see-all-summons:focus,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
	background-color: transparent !important;
}

#library-staff-search-actions button:hover,
#library-staff-search-actions button:focus,
.wp-block-button .wp-block-button__link.has-ast-global-color-5-color:hover,
.wp-block-button .wp-block-button__link.has-ast-global-color-5-color:focus {
	color: var(--ast-global-color-6) !important;
}

#home-places-section .wp-block-button.is-style-outline .wp-block-button__link:focus,
.ast-footer-button-1 .ast-custom-button-link:focus .ast-custom-button,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
	color: var(--ast-global-color-4);
	background-color: var(--ast-global-color-6);
	border-color: var(--ast-global-color-4);
}

#unc-tabbed-search .active-tab a:hover,
#unc-tabbed-search .active-tab a:focus,
.unc-light-button a:hover,
.unc-light-button a:focus,
#see-all-summons:hover,
#see-all-summons:focus,
.wp-block-button .wp-block-button__link.has-ast-global-color-8-color:hover,
.wp-block-button .wp-block-button__link.has-ast-global-color-8-color:focus {
	color: var(--ast-global-color-4) !important;
	border-color: var(--ast-global-color-4) !important;
}

.error_msg {
	border: 1px #D50101;
	font-weight: bold;
	padding: 1em;
	margin: 1em;
}

/* Alert Header Styles */

#banner {
	border-top: .5px solid;
}

.lib-alert {
	font-size: 1em;
	background-color: #f7e6d0;
	padding: 10px;
	padding-left: 7.5%;
	border-bottom: .5px solid;
}

.lib-alert img.icon {
	float: left;
	display: block;
	width: 40px;
}

.lib-alert .alert-title {
	font-size: 1.2em;
	font-weight: bold;
	color:#000;
}

.lib-alert p {
	margin: 0 0 10px 50px;
}

.lib-alert a {
    color: #0066cc;
    text-decoration: underline;
}

/* Page Header styles (title and breadcrumbs) */
.navy-page-header .main-header-bar {
	margin-left: inherit;
	margin-right: inherit;
}
.navy-page-header .navy-full-width {
	background-color: #13294B;
	color: #B0E3FA;
	border-bottom: none;
}
.navy-page-header .navy-full-width h1 {
	color: #B0E3FA;
}
.astraUNC .main-header-bar h1 {
	padding: 1em 0;
}
.astraUNC #content > .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}
.astraUNC .ast-breadcrumbs-wrapper {
	padding: 3rem 0;
	margin: 0;
	border: none;
	background-color: white;
}
.astraUNC.blue-breadcrumbs .ast-breadcrumbs-wrapper {
	background-color: #4B9CD3;
}

.astraUNC.archive .ast-breadcrumbs-inner {
	padding-left: 0;
}

.astraUNC.ast-plain-container.ast-no-sidebar #primary {
	margin-top: 0;
	padding-top: 0;
}

/* news header styles */

body.news-template-default .main-header-bar h1 { 
	display: none; 
}

body.news-template-default div#primary { 
	margin: 1em 0; 
}

/* Left column on post archive pages was cut off */
.astraUNC.post-type-archive #primary {
	padding-left: 7.5%;
	padding-right: 7.5%;
}

/* all breadcrumbs */
.astraUNC li.trail-item {
	font-size: .75rem;
}

.astraUNC li.trail-item a {
	color: black;
}

/* last breadcrumb */
.astraUNC li.trail-item.trail-end {
	font-weight: bold;
}

/* Full width styles for blocks applied in page headers */

.astraUNC #content.fullwidth .entry-content[ast-blocks-layout] > *,
.astraUNC #content.fullwidth .entry-content[data-ast-blocks-layout] > * {
    max-width: none !important;
    margin-left: auto;
    padding-left: 7.5%;
    padding-right: 7.5%;
}

.astraUNC.archive .ast-row {
	margin-left: 0;
	margin-right: 0;
}

/* End Page Header styles */
#unc-tabbed-search-container {
	border-radius: 13px;
}

#unc-tabbed-search {
	background-color: white;
	border-radius: 13px;
	width: 100%;
}

#unc-tabbed-search .unc-tabbed-search-wrapper {
	padding: 30px 50px;
}

#unc-tabbed-search .unc-tabbed-search-types {
	display: inline-flex;
	margin-bottom: 0;
	margin-top: 0;
	padding-left: 0;
}

#unc-tabbed-search .unc-tabbed-search-types li {
	background-color: white;
	flex-shrink: 3;
	margin-bottom: 0;
	padding: 15px 25px;
	text-align: center;
	text-transform: uppercase;
}

#unc-tabbed-searches li {
	display: flex;
	align-items: center;
}

#unc-tabbed-searches li a {
	font-weight: 600;
	letter-spacing: 1px;
	padding: 0 5px;
}

#unc-tabbed-searches li.active-tab {
	background-color: #007FAE;
}

#unc-tabbed-searches li.active-tab a {
	color: white;
}

#unc-tabbed-search form {
	border-top: 3px solid #007FAE;
	display: inline-flex;
	padding-top: 2rem;
	width: 100%;
}

#unc-tabbed-search input {
	border-top-left-radius: unset;
	border-top-right-radius: unset;
	width: 100%;
}

#unc-tabbed-search button {
	border-radius: unset;
	width: 20%;
}

.archive div.wp-block-column.is-layout-flow:nth-child(2) {
	margin-left: 1em;
	padding-right: 25px;
}

/* Combined Search styles */

#combined-search .main-header-bar {
	border-bottom: none;
	background-color: #13294B;
}

#combined-search .results-header a {
	color: #FFFFFF;
}

#combined-search .search-bar {
	z-index:4;
	position:relative;
	background-color: #4b9cd3;
}
#combined-search h1 {
	color: #b0e3fa;
	margin-left: 3rem;
	padding: 1em 0 1em 0;
}
#combined-search #unc-tabbed-search {
	background-color: #4b9cd3;
}
#combined-search .unc-tabbed-search-wrapper {
	background-color: #4b9cd3;
}
#combined-search #unc-tabbed-search form {
	border-top: none;
	padding-top: .5rem;
}
#combined-search #unc-tabbed-search form#catalog-form input,
#combined-search #unc-tabbed-search form#catalog-form button {
	border-radius: 5px;
}

#combined-search #bestbet {
	background-color: #ffffea;
	border: 1px solid #4b9cd3;
	padding: 1rem 2rem;
	margin-bottom: 1rem;
}
#combined-search #bestbet p {
	margin-bottom: 1rem;
}
#combined-search .results-header {
	background-color: #13294b;
	color: white;
	padding: 2em;
}
#combined-search .results-header h2 {
	color: #4b9cd3;
	text-align: left;
}
#combined-search #combined-display {
	display: grid;
	grid-template-columns: [first] 45% [second] 45%;
	column-gap: 2em;
	justify-content: center;
	margin-bottom: 40px;
	margin-top: 60px;
}

#combined-search #combined-message {
	margin-bottom: 100px;
	margin-top: 20px;
	margin-left: 25px;
}

#combined-display ul {
	margin-left: 0;
}

#combined-display table,
#combined-display td {
	border: none;
	padding-top: 0;
	vertical-align: top;
}

#combined-search .odd {
	background-color: #EDF8FDFF;
}

#combined-search .entry {
	border-right: 1px solid #4b9cd3;
	border-bottom: 1px solid #4b9cd3;
	border-left: 1px solid #4b9cd3;
}

#combined-search .results-desc {
	color: white;
	font-size:1.25rem;
	text-align: left;
	margin-top: 1rem;
	margin-bottom: 1rem;
}
#combined-search .results-show {
	color: white;
	font-size: 1rem;
	text-align: left;
	margin-bottom: 1rem;
}
#combined-search .see-all {
	text-decoration: underline solid #007fae;
}
#combined-search .record-title {
	font-size: 1.5rem;
	padding: .5em;
	text-decoration: underline solid #007fae;
}

#combined-search li.briefholdings table:last-child {
	margin-bottom: 0;
}

#combined-search .briefholdingsheading td {
	font-weight: bold;
}
#combined-search .results-footer .see-all {
	font-weight: bold;
	font-size: 1.5rem;
	margin-top: 1rem;
}

.combined-item {
	list-style-type: none;
}

.combined-item li:not(:last-of-type) {
	padding: 3px 15px;
}

.combined-item li:last-of-type {
	padding: 3px 10px;
}

table.summonResults {
	margin-bottom: .25em !important;
}

#combined-display .dashicons {
	margin-left: 2px;
	vertical-align: bottom;
}

#bestbet-results.small-screen {
	border-top: 1px solid gray;
	margin-top: 20px;
	padding-top: 15px;
}

/* Update width in unc-combined-search.js if you change this width */
@media (max-width: 768px) {
	#combined-search #combined-display {
		grid-template-columns: [first] 100%;
		column-gap: 0;
		margin-top: 0;
	}

	#combined-search h1 {
		line-height: 36px;
		padding-left: 1px;
	}

	.ast-container:has(#combined-display) {
		padding-left: 0;
		padding-right: 0;
	}

	#combined-search .results-footer .see-all {
		margin-bottom: 25px;
		text-align: center;
	}

	#combined-search #bestbet {
		margin-bottom: 0;
	}
}

/* ===============================  */
/* Twitter Autosuggest Styles for   */
/* Catalog Search Forms             */
/* ===============================  */

.twitter-typeahead {
	width: 100%;
}

.twitter-typeahead .tt-hint {
	width: 90%;
}

.twitter-typeahead .tt-input {
	vertical-align: baseline !important;
	width: 90%;
}

.twitter-typeahead .tt-menu {
	background: white;
	min-height: 100px;
	max-height: 250px;
	overflow-y: auto;
	font-family: inherit;
	padding: 0.2em;
	font-size: 85%;
	color: #333;
	border: 1px solid #aaa;
	width: 100%;
}

.twitter-typeahead .tt-suggestion {
	padding: 0.5em;
	margin: 0;
	text-align: left;
	clear: both;
}

.twitter-typeahead .tt-suggestion:hover,
.twitter-typeahead .tt-suggestion:focus,
.twitter-typeahead .tt-suggestion.tt-cursor {
	background: #eee;
	cursor: pointer;
}

.twitter-typeahead .tt-category {
	float: right;
	font-weight: bold;
	padding-left: 1em;
	padding-right: 10px;
	color: #053482;
}

/* Override line height for staff pages job titles */
.tb-field[data-toolset-blocks-field="6a258f3b5c567c27a6f741f201ec249e"] {
	line-height: normal !important;
}

#home-search-section .tb-container-inner {
	max-width: 100%;
}

#home-search-section .tb-container-inner .tb-container {
	padding: 0 !important;
}

#library-staff-search form {
	display: flex;
	flex-direction: column;
}

#library-staff-search label {
	font-weight: bold;
}

#library-staff-search label[for="library-staff-search-query"],
#library-staff-search-actions {
	margin-top: 15px;
}

#library-staff-search-actions a {
	padding-left: 15px;
}

#library-staff-search-query {
	width: 100%;
}

#library-staff-search .staff-search-results {
	padding-top: 25px;
}

#library-staff-search .department {
	margin-bottom: 0;
}
#library-staff-search .department-staff {
	margin-top: 0;
}

.unc-half-moon li::before {
	content: "\25D7";
	color: #007FAE;
	width: auto;
	margin-left: -1em;
	padding-right: 5px;
}

.unc-half-moon li {
	list-style-type: none;
	padding: 5px 0;
}

.unc-half-moon li a {
	color: #1F2629;
}

.unc-half-moon h2 {
	color: #B0E3FA;
	font-family: "Acumin Pro", Regular, sans-serif;
	font-size: 1.8rem;
}

.unc-half-moon.has-background {
	border-radius: 5px;
}

.ast-single-post.ast-page-builder-template #content.hsl-home .site-main > article {
	padding-top: 0;
	padding-left: 0;
	padding-right: 0;
}

.hsl-home .lightweight-accordion {
	padding: 0 !important;
}

.hsl-home h2.has-background {
	padding-left: 1.375rem;
	padding-right: 1.375rem
}

.lightweight-accordion-title h1,
.lightweight-accordion-title h2,
.lightweight-accordion-title h3,
.lightweight-accordion-title h4,
.lightweight-accordion-title h5 {
	display: contents !important;
	font-family: "Acumin Pro", Regular, sans-serif !important;
	font-size: 1.53rem !important;
	line-height: 28px;
}

.lightweight-accordion-title::marker {
	font-size: 1.53rem;
}

.lightweight-accordion-body h1,
.lightweight-accordion-body h2,
.lightweight-accordion-body h3,
.lightweight-accordion-body h4,
.lightweight-accordion-body h5 {
	display: contents !important;
	font-family: "Acumin Pro", Regular, sans-serif !important;
	font-size: 1.3rem !important;
	line-height: 26px;
	font-weight: 600 !important;
}

.lightweight-accordion-body .lightweight-accordion-title::marker {
	font-size: 1.3rem;
}

#see-all-summons,
.unc-light-button a {
	background-color: var(--ast-global-color-4) !important;
	border-color: var(--ast-global-color-6) !important;
	color: var(--ast-global-color-6) !important;
}

#hsl-news-mobile .wp-block-buttons {
	margin: 15px auto;
}

.hsl-news-btn {
	margin-top: 25px !important;
}

.hsl-header {
	background-image: url("assets/Photos/hsl-front.jpg");
}

.wilson-header {
	background-image: url("assets/Photos/Wilson-Homepage-Banner-1.jpg");
}

.astraUNC .main-header-bar h1,
#combined-search .main-header-bar h1 {
	background-color: #13294B;
	max-width: fit-content;
	font-size: 3rem;
	line-height: 4rem;
	padding: 50px 25px 75px 25px;
	border-radius: 5px;
	margin: auto 1rem;
}

#combined-search .main-header-bar {
	padding-left: 70px;
}

#combined-search .main-header-bar h1 {
	margin-left: 0;
	padding-left: 0;
}

.hsl-header,
.wilson-header {
	background-position: center 90%;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 300px;
	display: flex !important;
	align-content: center;
}

.hsl-header img,
.wilson-header img {
	width: 100%
}

.astraUNC .main-header-bar.hsl-header h1,
.astraUNC .main-header-bar.wilson-header h1 {
	padding: 25px 30px;
}

/* Override the astra max-width setting of 1200px. This allows search box to span the full-width */
.hsl-home #header_form_default {
	max-width: unset !important;
}

.data-services-header {
	background-color: #C1E4D7 !important;
	display: inline-flex !important;
	flex-wrap: nowrap;
	max-height: 350px;
	padding: 0 !important;
}

.data-services-header-title {
	align-items: center;
	display: flex;
	min-height: 300px;
	width: 50%;
}

.data-services-header-title h1 {
	background-color: #C1E4D7 !important;
	border-radius: revert !important;
	color: #13294B !important;
	margin: auto auto auto 0 !important;
	padding: 50px 25px 50px 15% !important;
}

.data-services-header-title h1 div {
	border-top: 12px solid #4B9CD3;
	margin-top: 30px;
	width: 75px;
}

.data-services-header img {
	object-fit: cover;
	width: 50%;
}

/* Aligns Building & Access Info button with the hours button */
.unc-building-access-info {
	margin-right: 10px !important;
}

input[name="wpv_post_search"]:focus,
input[name="wpv_post_search"]:active {
	border: 2px solid var(--ast-border-color);
}

#library-department h2 {
	text-transform: capitalize;
}

#library-department h5 {
	display: flex;
	align-items: flex-end;
}

#library-department span.dashicons {
	color: #13294B;
	margin-left: 7px;
}

#library-department span.dashicons:hover {
	cursor: pointer;
	color: var(--ast-global-color-0);
}

#library-department span.dashicons:focus {
	color: var(--ast-global-color-0);
}

/* Align headers and breadcrumbs with megamenu */
article:not(.page),
.navy-page-header .navy-full-width,
.hsl-header,
.wilson-header,
#combined-search .main-header-bar,
.page-template .ast-breadcrumbs-wrapper,
.page-template-default .ast-breadcrumbs-wrapper {
	padding-left: 7.5%;
	padding-right: 7.5%;
}

/* Overrides default megamenu style */
#library-megamenu .always-display:first-child {
	padding-left: 7.5%;
}

#library-megamenu .always-display:first-child,
.astraUNC .main-header-bar h1,
.navy-page-header .navy-full-width.data-services-header {
	margin-left: 0 !important;
}

.astraUNC .main-header-bar h1:not(.hsl-header h1, .wilson-header h1),
.type-policies .entry-content > .wp-block-columns,
.navy-page-header .navy-full-width.data-services-header {
	padding-left: 0;
}

div.places-text h2 {
	font-size: 1.9rem;
	line-height: 42px;
}

div.places-text p {
	margin-bottom: 0;
}

div.places-text .wp-block-buttons > .wp-block-button {
	margin-top: 20px;
}

div.places-archive-item {
	border-top: 3px solid #E2E8ED;
	margin: 1rem auto;
	min-height: 300px;
	padding: 50px 0 !important;
}

.filmfinder {
	margin-top: 0;
}

/* Overrides default megamenu style */
#library-megamenu .option h2 {
	margin-top: 30px;
}

/* very specific fix for problem with department text on staff archive page */
.tb-field[data-toolset-blocks-field="0915840d114f634e49c0024be5778d5d"] {
	line-height: 1.5em !important;
}

 /* For staff-only search tool, see https://github.com/oleksavyshnivsky/tablesort/ */
[data-sort]:hover {
	cursor: pointer;
}
[data-dir="asc"]:after {
	content: ' ↗';
}
[data-dir="desc"]:after {
	content: ' ↘';
}
table.table-sortable tr:nth-child(even) {
	background-color: #f2f2f2;
}

@media (min-width: 1200px) {
	#unc-tabbed-search button:hover,
	#unc-tabbed-search button:focus {
		background-color: var(--ast-global-color-4) !important;
	}
}

@media (max-width: 1232px) {
	/* Override block default stylesheet */
	.wp-block-columns {
		flex-wrap: wrap !important;
	}
	.archive div.wp-block-column.is-layout-flow:nth-child(2) {
		margin-left: 0;
	}
}

@media (max-width: 1200px) {
	#unc-tabbed-search form {
		display: flex;
		flex-wrap: wrap;
	}

	#unc-tabbed-search input {
		width: 100%;
	}

	#unc-tabbed-search button {
		border-radius: 5px;
		margin-top: 10px;
		width: auto;
	}

	#home-search-section {
		background-size: cover !important;
	}

	#health-hours,
	#health-hours h2,
	#hsl-news-mobile {
		text-align: center;
	}

	.hsl-hours-mobile,
	#hsl-news-mobile {
		background-color: white;
	}

	#hsl-news-mobile {
		padding: 25px;
	}

	#hsl-news-mobile .wp-block-buttons {
		padding-left: 15px;
	}

	#hsl-news-mobile h3 {
		line-height: 30px;
	}

	#hsl-home article {
		padding: 0 !important;
	}

	#hsl-home article .lightweight-accordion {
		margin-bottom: 0;
		background-color: #f1f2f6;
	}

	/* Overrides default megamenu style */
	#library-megamenu .always-display:first-child {
		margin-bottom: auto !important;
		margin-right: 10px !important;
		margin-top: auto !important;
	}

	/* Filmfinder search button */
	#querySubmit {
		margin-top: 8px;
	}
}

/* Megamenu breakpoint */
@media (max-width: 1028px) {
	.mobile-search svg.my-accounts {
		vertical-align: bottom !important;
	}
}

@media (max-width: 921px) {
	h2,
	.entry-content h2 {
		font-size: 25px;
		line-height: 30px;
	}
}

@media (max-width: 786px) {
	#unc-tabbed-search .unc-tabbed-search-wrapper {
		padding: 15px;
	}

	/* Overrides of default megamenu styles */
	#library-megamenu .option h2 {
		margin-top: 0;
		padding-top: 0;
	}

	#combined-search .main-header-bar {
		padding-left: 35px;
	}

	.hsl-hours-mobile,
	#hsl-news-mobile {
		margin-left: -25px !important;
		margin-right: -25px !important;
		padding: 25px;
	}

	footer#colophon {
		padding-left: 0;
	}

	.site-footer-section {
		margin: 10px auto;
		width: 100%;
	}

	.footer-widget-area-inner {
		text-align: center !important;
	}

	.site-footer-section .ast-custom-button {
		padding: 5px 25px 10px 25px !important;
	}
}

@media (max-width: 576px)  {
	#unc-tabbed-search {
		border-radius: unset;
	}

	#unc-tabbed-search .unc-tabbed-search-types li {
		font-size: .9rem;
		padding: 5px;
	}

	#unc-tabbed-search button {
		padding: 5px;
	}

	/* Home page */
	#home-search-section {
		min-height: auto;
		padding: 5% 3%;
	}

	#home-search-section .tb-container {
		background-size: cover;
	}

	#home-search-section .tb-container-inner {
		border: 3px solid white;
		border-radius: 13px;
	}

	.homepage-hours-block {
		padding-left: 10px !important;
	}

	.homepage-hours-block .hours-display,
	.homepage-hours-block .hours-list-view li {
		background-color: #4B9CD3;
		justify-content: left;
	}

	.homepage-hours-block .hours-list-view {
		margin-bottom: 0;
	}
}

/* Astra break point */
@media (max-width: 544px) {
	.wilson-header {
		background-position: 100% -60%
	}

	.astraUNC .main-header-bar.wilson-header h1 {
		font-size: 2rem;
		padding: 20px 25px !important;
	}

	.astraUNC .main-header-bar h1,
	#combined-search .main-header-bar h1 {
		font-size: 2rem !important;
		line-height: 2.5rem;
		padding: 10px 25px;
	}

	#combined-search .main-header-bar h1 {
		padding-left: 0;
	}

	#data-services {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#data-services h2,
	#data-services h3 {
		text-align: center;
	}

	#data-services .wpv-view-output {
		padding: 25px;
	}

	#data-services #link_box {
		margin-bottom: 0;
		margin-top: 0;
		border-radius: unset;
	}

	.data-services-quick-links {
		border-radius: unset;
		margin: 0 25px
	}

	.data-services-topics-mobile-img {
		margin-bottom: 0 !important;
	}

	.data-services-topics-mobile {
		padding: 25px !important;
	}

	.data-services-guides-mobile {
		padding-bottom: 25px;
		padding-top: 25px;
	}

	.hsl-header,
	.data-services-header,
	.data-services-header-title {
		min-height: 200px;
	}

	.data-services-header-title h1 div {
		width: 50px;
	}

	.astraUNC .main-header-bar h1 {
		line-height: 3rem;
	}

	#data-services h2 {
		text-align: center;
	}

	.data-services-spaces {
		padding: 10px 25px;
		text-align: center;
	}

	.site-footer-section .ast-custom-button {
		padding: 5px 50px 10px 50px !important;
	}
}

/* 404 page */
.ast-404-layout-1 {
	text-align: left;
	padding-left: 7.5%;
	padding-right: 7.5%;
}

.ast-404-layout-1 .page-content {
	display: flex;
	width: 90%;
	/*align-items: center;*/
}

.ast-404-layout-1 .page-content div#left404 {
	width: 33.33%; 
}

.ast-404-layout-1 .page-content div#right404 {
	width: 66.66%; 
}

.ast-404-layout-1 .page-content div#right404 ul {
	margin-left: 1em;
}

.error404.ast-separate-container #primary {
	margin-bottom: 0;
}

.ast-separate-container .ast-404-layout-1 {
	padding-top: 0;
}

.ast-404-search {
	margin-bottom: 1.5em;
}

.ast-404-search .widget_search {
	margin: 0;
}

@media (max-width: 786px) {
	.ast-404-layout-1 .page-content {
		display: block;
	}

	.ast-404-layout-1 .page-content div:first-of-type {
		text-align: center;
	}

	.ast-404-layout-1 .page-content img {
		max-height: 300px;
		width: auto;
	}
}

/* Fix padding issue on Gravity Forms' select boxes -CH */
body .gform_wrapper select.gfield_select {
    padding: 0 0 0 5px;
}

.pagination-single-inner 
{
    display: none;
}

/* Homepage Styles */
article#post-64041
{
	padding: 0;
}

/* uncSearch Styles */

form#queryBox
{
	text-align: right;
}
input.uncSearch-home
{
	width: 65%;
	margin-right: 2%;
}
input.search_button
{
	width: 30%;
	background: #13294B 0 0 no-repeat padding-box;
	border: 2px solid #13294B;
	border-radius: 5px;
	opacity: 1;
	text-align: center;
	font: normal normal 600 14px/20px Acumin Pro;
	letter-spacing: 0.28px;
	color: #FFFFFF;
	vertical-align: top;
}

input.search_button:hover
{
	background: #FFFFFF;
	color: #13294B;
}

/* button styles */


/* styles to hide Libcal hours elements */
table.hours-today { border: none; }

th.hours-col-loc,
td.hours-col-time { border: none; }

/* styles to hide content type previous/next navigation links */
.comment-navigation .nav-next, .comment-navigation .nav-previous, .post-navigation .nav-next, .post-navigation .nav-previous, .posts-navigation .nav-next, .posts-navigation .nav-previous {display:none}

/* adjusting libcal display on homepage */
div.homepage-hours-block div.open-indicator, div.homepage-hours-block div.hours-day
{ 
  display: none;
}

div.homepage-hours-block ul.hours-list-view
{
  padding-left: 0;
  grid-template-rows: auto;
}

div.homepage-hours-block p
{
	margin-bottom: 0;
}

.hours-more button:hover {
	color: inherit;
}

/* style to center libcal hours and add highlight for exceptions */

div.s-lc-mhw-loc {
	text-align: center;
}

div.s-lc-mhw-loc:has(> span.s-lc-h-excep) {
  background-color: #007FAE;
  color: #FFFFFF; 
}


/* styles to left align accordion headings -- might be removed after megamenu styles are better isolated */

.lightweight-accordion-title h2 {
	text-align: left !important;
	margin-left: 10px;
}

.lightweight-accordion-title::marker 
{
	float: left;
}

/* PLACES TO STUDY */

div#places-to-study-filters select
{
	width: 200px;
}

/* hides the view linked title */
.wpv-gutenberg-view-wrapper-68827 form + a
{
display:none;
}

div.places-archive-item
{
	clear:both; 
	padding: 25px 0;
}

div.places-photo {
	float: left;
}

div.places-photo img {
	border-radius: 13px;
	width: 300px;
  height: 200px;
}

div.places-text {
	overflow: hidden;
}

div.places-text h2 {
	clear:none;
	text-align: left;
}

.checkbox input
{
	margin-right: .5em;
}

@media (max-width: 544px) {
	div.places-photo, div.places-photo img {
		float: none;
	}
	
	div.places-archive-item {
		padding: 10px 0 0 0; 
	}
	
	div.places-text h2 {
		margin-top: 10px; 
	}
}

/* removing margin between last block and footer at larger sizes */
@media (min-width: 1200px) {
  .ast-plain-container.ast-no-sidebar #primary {
    margin-bottom: 0;
  }
}


/* adjusting colophon styles in footer to better center on smaller views */
@media (max-width: 786px) {
  footer#colophon {
    padding-left: 10%;
  }

footer#colophon .ast-builder-grid-row-container.ast-builder-grid-row-mobile-full .ast-builder-grid-row {
    grid-template-columns: 1fr;
  }
	
	footer#colophon .site-footer-section p {
		text-align: center !important;
	}	
	
	.footer-widget-area {
		margin-left: 0 !important;
	}
}

figcaption.wp-element-caption {
font: small-caption;
}

.unc-half-moon-white li::before {
	content: "\25D7";
	color: #FFF;
	width: auto;
	margin-left: -1em;
	padding-right: 5px;
}

.unc-half-moon-white li {
	list-style-type: none;
	padding: 5px 0;
}

.unc-half-moon-white li a,
.unc-half-moon.has-white-color li a {
	color: #FFF;
}

.unc-half-moon-white h2 {
	color: #FFF;
	font-family: "Acumin Pro", Regular, sans-serif;
	font-size: 1.8rem;
}

/* overrides a default style from Wordpress core that removes underlines on some links */
a:where(:not(.wp-element-button)) {
    text-decoration: underline;
}

.guide-list ul { 
	font-size: 18px; 
	line-height: 2.25; 
}

/* standardizing pagination styles */

.wpv-pagination-nav-links-container {
	margin-left: -40px !important;
	margin-top: 0 !important;
}

/* sets light blue background for hovered page links */
li.wpv-pagination-nav-links-item a.page-link:hover, 
.wpv-pagination-nav-links-container a.wpv-filter-previous-link:hover,
.wpv-pagination-nav-links-container a.wpv-filter-next-link:hover,
.ast-pagination .page-numbers:hover {
	background-color: rgba( 176, 227, 250, 1 );
}

/* sets dark blue color for current page in pagination */
li.wpv-pagination-nav-links-item-current .page-link, 
li.wpv-pagination-nav-links-item-current .page-link:hover,
div.ast-pagination .nav-links .current {
	background-color: #13294b;
	color: #FFF;
}

/* standardizes pagination styling on Toolset views and Astra search results */
.wpv-pagination-nav-links .page-item a.page-link, 
.wpv-pagination-nav-links .wpv-filter-pagination-link, 
.wpv-pagination-nav-links span.wpv-filter-previous-link, 
.wpv-pagination-nav-links span.wpv-filter-next-link,
.wpv-pagination-nav-links-item .page-item a.page-link, 
.wpv-pagination-nav-links-item .wpv-filter-pagination-link,
.wpv-pagination-nav-links-container .wpv-filter-previous-link,
.wpv-pagination-nav-links-container .wpv-filter-next-link,
div.ast-pagination .page-numbers
 {
    font-size: 20px;
    color: rgba( 31, 38, 41, 1 );
    background-color: rgba( 255, 255, 255, 1 );
    border: 2px solid rgba( 0, 0, 0, 1 );
    border-radius: 5px;
}

div.ast-pagination .page-numbers, 
div.ast-pagination .next.page-numbers,
div.ast-pagination .prev.page-numbers {
	text-decoration: none !important;
  	padding: .15em .45em .2em;
  	line-height: 1.25;
  	margin: 2px;
  	height: auto;
  	width: auto;
}

div.ast-pagination .prev.page-numbers, 
div.ast-pagination .next.page-numbers  {
	float: initial;
}

div.ast-pagination .ast-right-arrow,
div.ast-pagination .ast-left-arrow {
	display: none;
}

/* a class for light links on dark backgrounds */
.link-light a {
    color: #FFFFFF;
}

.link-light a:hover {
    color: #B0E3FA !important;
}

/* Site Search Results Page Styles */

body.search-results .ast-container,
body.search-no-results .ast-container {
	max-width: 100%;
	padding-left: 7.5%;
	padding-right: 7.5%;
}

body.search-results section.ast-archive-description, 
body.search-no-results section.ast-archive-description  {
	padding: 0 !important;
	border-bottom: none;
}

/* Hide the author and read more links as well as thumbnail images */
body.search-results span.posted-by, 
body.search-results p.read-more
{
	display:none;
}

body.search-results div.post-thumb {
	display: none;
}

body.search-results .entry-meta {
	display: none;
}

/* align the margins on search results page */

body.search-results div.ast-row,
body.search-no-results section.no-results {
	padding-left: 0;
	margin-left: 0;
	margin-right: 0;
}

body.search-results article {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.search-results .ast-pagination {
	padding-left: 4em;
	padding-right: 2em;
}

form#search-results-form {
	padding-left: 0;
}

body.search-results input.search-field, 
body.search-no-results input.search-field {
	margin-bottom: 50px; 
	width: 80%;
}

body.search-results input.search-submit, 
body.search-no-results input.search-submit {
	padding-top: 14px; 
	width: 150px;
}

/* hide redundant search form on no-results page */
body.search-no-results form#search-results-form {
	display: none;
}

body.search-results span.icon-arrow {
	padding-top: 5px;
}

/* Libraries feedback button */
.unc-libraries-feedback-btn {
	box-shadow: rgba(0, 0, 0, 0.2) 0 3px 5px -1px, rgba(0, 0, 0, 0.14) 0 6px 10px 0, rgba(0, 0, 0, 0.12) 0 1px 18px 0;
	font-size: .83rem;
	bottom: 80px;
	position: fixed;
	right: 16px;
	background-color: #007fae;
	border-radius: 24px;
	padding: 12px 16px;
	z-index: 10000;
	width: 174px
}

.unc-libraries-feedback-btn a {
	display: flex;
	justify-content: flex-start;
}

.unc-libraries-feedback-btn a,
.unc-libraries-feedback-btn a:hover,
.unc-libraries-feedback-btn a:focus {
	color: white !important;
	font-weight: 500;
	text-decoration: none;
	text-transform: uppercase;
}

.unc-libraries-feedback-btn a img {
	pointer-events: none;
	width: 25px;
}
.unc-libraries-feedback-btn span {
	padding-left: 10px;
}

/* Link styles for homepage Hours locations */
.hours-location-link a {
	color: #000000;
}

.hours-location-link a:hover, .hours-location-link a:focus {
	color: white !important;
}