.hlc-institutions{
	--color-primary-7-percent: rgba(114, 34, 130, 0.07);
	--color-primary-20-percent: rgba(114, 34, 130, 0.2);
	display: block;
	margin: 15px 0;
}
.hlc-institutions > table {
	border-spacing: 0 10px;
	display: table;
}

.additional-locations-table {
	border-collapse: collapse;
}

.hlc-institutions table th{
	background-color: var(--global-palette1);
	color: #fff;
	text-align: left;
	font-weight: 600;
}
.hlc-institutions table th,
.hlc-institutions table td {
	padding: 20px;
	vertical-align: top;
}
.hlc-institutions table th{
	padding-top: 15px;
	padding-bottom: 15px;
}

.hlc-institutions > table > tbody > tr:not(.additional-locations-row) > td {
	background-color: var(--global-palette8);
}

.hlc-institutions .additional-locations-row {
	background-color: var(--global-palette9);
}

.hlc-institutions .additional-locations-table tr:nth-child(even) {
	background-color: var(--color-primary-7-percent);
}

.additional-locations-label {
	display: block;
	margin-bottom: 16px;
	font-style: italic;
	font-size: 1rem;
	text-align: left;
}

tr.additional-locations-row > td {
	padding-right: 0;
}

@media screen and (min-width: 768px) {
	.hlc-institutions > table > tbody > tr > td.hlc-state-col {
		width: 90px;
	}

	.hlc-institutions > table > tbody > tr > td.hlc-status-col {
		width: 250px;
	}

	.additional-locations-row .hlc-state-col {
		width: 340px;
	}

	.hlc-institutions > table td {
		position: relative;
	}
	
	.hlc-institutions > table > tbody > tr:not(.additional-locations-row) > td::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		border-top: 1px solid var(--color-primary-20-percent);
	}
	
	.hlc-institutions > table > tbody > tr:not(.has-additional-locations, .additional-locations-row) > td::after,
	.hlc-institutions .additional-locations-table tr > td::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		border-bottom: 1px solid  var(--color-primary-20-percent);
	}

	.additional-locations-label {
		margin-left: -30px;
	}

	tr.additional-locations-row > td {
		padding-left: 50px;
	}
}

table.additional-locations-table td {
	padding: 15px 20px;
	vertical-align: middle;
}

.hlc-institutions table h2 {
	font-family: var(--global-body-font-family);
	font-size: 18px;
	font-weight: 600;
	color: var(--global-palette6);
}
.hlc-institutions table h2 + div {
	margin-top: 15px;	
}
.hlc-institutions table td strong { 
	font-weight: 600;
}
.hlc-institutions table a {
	color: var(--global-palette1); 
	text-decoration: underline;
}
.hlc-institutions table a:hover,
.hlc-institutions table a:focus {
	color: var(--global-palette4); 
	text-decoration: none;
}

.hlc-institutions table div {
	display: block;
	font-size: 0.875rem;
	margin-top: 10px;
}
.hlc-institutions table div a {
	text-decoration: none;
}
.hlc-institutions table div a span {
	margin-right: 5px;
	display: inline-block;
}

@media screen and (min-width: 768px ) {
	.hlc-institutions table .mobile-only {
		display: none !important;
	}
}

@media screen and (max-width: 767px) {
	.hlc-institutions table thead {
		display: none;
	}

	.hlc-institutions > table > tbody > tr:not(.additional-locations-row) > td:first-child {
		border-top: 1px solid var(--color-primary-20-percent);
	}

	.hlc-institutions > table > tbody > tr:not(.has-additional-locations, .additional-locations-row) > td:last-child {
		border-bottom: 1px solid var(--color-primary-20-percent);
	}

	table.additional-locations-table tr {
		border-bottom: 1px solid var(--color-primary-20-percent);
	}

	.hlc-institutions table tr td {
		float: left;
		width: 100%;
		border: none;	
		padding-top: 15px;
		padding-bottom: 0;
	}
	.hlc-institutions table tr td:last-of-type {
		padding-bottom: 15px;	
	}
}

.hlc-institutions.no-results {
	text-align: center;
	background-color: var(--global-palette8);
	border: 1px solid #e1e1e1;
	padding: 40px 20px;
	margin: 0 auto;
	max-width: 80%;
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hlc-institutions.no-results h3,
.hlc-institutions.no-results p {
	margin: 0;
}
.hlc-institutions.no-results h3 {
	font-weight: 700;
	font-size: 1.25rem;
}

/* Search Form */
#hlc-institution-search-form {}
#hlc-institution-search-form::after{
	height: 5px;
	width: 100%;
	content: '';
	display: block;
	background: var(--global-palette1);
	background: linear-gradient(90deg, var(--global-palette1) 30%, var(--global-palette2) 70%);
	
}
#hlc-institution-search-form form ul,
#hlc-institution-search-form form ul li {
	margin: 0;
	padding: 0;
	gap: 0;
}
body #hlc-institution-search-form .searchandfilter select,
body #hlc-institution-search-form .searchandfilter input,
body .institutions-map-filters select,
body .institutions-map-filters input {
	border: 1px solid var(--global-palette1);
	background-color: #fff;
	color: var(--global-palette6);
	font-weight: 400;
}
@media screen and (min-width: 768px){
	body #hlc-institution-search-form .searchandfilter select {
		border-left: 0;
		width: 100px;
	}
}
@media screen and (max-width: 767px){
	body #hlc-institution-search-form .searchandfilter select {
		border-top: 0;
	}
}
body #hlc-institution-search-form .searchandfilter .sf-field-submit input {
	background-color: var(--global-palette1);
	color: #fff;
}
body #hlc-institution-search-form .searchandfilter .sf-field-submit input:hover,
body #hlc-institution-search-form .searchandfilter .sf-field-submit input:focus {
	background-color: var(--global-palette4);
	color: #fff;
}

/* Page Navi Styles */
.wp-pagenavi {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 1px;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1;
}
.wp-pagenavi a,
.wp-pagenavi span.current {
	display: block;
	padding: 8px 10px;
	line-height: 1;	
	text-decoration: none;
	color: #212121;
	border-radius: 2px;
}
.wp-pagenavi a:hover,
.wp-pagenavi a:focus{
	text-decoration: none;
	color: var(--global-palette-btn-bg);
}
.wp-pagenavi span.current {
	background-color: var(--global-palette-btn-bg);
	color: #fff !important;
}
.wp-pagenavi .extend {
	font-weight: 400;
	display: block;
	padding: 0 10px;
	opacity: 0.5;
	position: relative;
	top: -3px;
}
.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
	display: flex;	
	align-items: center;
	margin-left: 5px;
}
.wp-pagenavi .nextpostslink::after {
	font-family: 'dashicons';
	content: "\f345";
	display: block;
	font-size: 15px;
	position: relative;
	left: 3px;
}	
.wp-pagenavi a.previouspostslink{
	margin-left: 0;
	margin-right: 5px;
}
.wp-pagenavi .previouspostslink::before {
	font-family: 'dashicons';
	content: "\f341";
	display: block;
	font-size: 15px;
	position: relative;
	right: 3px;
}	
.wp-pagenavi .pages,
.wp-pagenavi .last,
.wp-pagenavi .first {
	display: none;
}

/* Single Institutions */
.single-institution .hlc-accreditation-header p {
	margin: 0;
}
.single-institution .hlc-accreditation-header p.status-text{
	font-size: 1.875rem;
	color: var(--global-palette2);
}
.single-institution .hlc-accreditation-header p + h1 {
	margin-top: 25px;
}
.single-institution .hlc-accreditation-header h1{
	font-size: 2.75rem;
	margin-bottom: 15px;
}
.single-institution h2{
	font-size: 2.25rem;
	margin-bottom: 15px;
}

.single-institution .hlc-accreditation-header address {
	font-style: normal;
}

.single-institution hr {
	height: 1px;
	width: 100%;
	margin: 35px 0;
	padding: 0;
	background-color: #efefef;
	border: none !important;
}

.single-institution ul + h3,
.single-institution p + h3 {
	margin-top: 25px;
}

.single-institution h3 + h4{
	margin-top: 15px;
}
	
.single-institution h5 + p {
	margin-top: 25px;
}


table.hlc-institution-table {
	margin: 10px 0 30px;
}
table.hlc-institution-table td, 
table.hlc-institution-table th {
	vertical-align: top;
	font-size: 16px;
}
table.hlc-institution-table th {
	text-align: left;
	width: 30%;
}

.single-institution table th {
	font-weight: 500;
}


.facetwp-template li.wp-block-post {
	padding-bottom: 0;
}

.facetwp-template li.wp-block-post:nth-child(odd) {
	background-color: var(--global-palette8);
}

p:empty {
	display: none;
}

#facetwp-map {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 3;
	margin-bottom: 24px;
}

.institutions-map-filters .wp-block-kadence-column .wp-block-kadence-column {
	flex: 0 1 auto !important;
}

.institutions-map-filters select,
.institutions-map-filters input {
	height: 50px;
	min-width: 100%;
	border-radius: 8px;
}

.institutions-map-filters select:focus:focus-visible,
.institutions-map-filters input:focus:focus-visible {
	outline: revert !important;
}

.facetwp-icon {
	padding: 10px;
	opacity: 1;
}

.facetwp-icon:hover,
.facetwp-icon:focus {
	background-color: var(--global-palette1);
}

.facetwp-icon:hover::before {
	-webkit-filter: invert(100%); /* Safari/Chrome */
    filter: invert(100%);
}

.wp-block-query-pagination {
	display: flex;
	align-items: center;	
	flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 20px;
}

.wp-block-query-pagination-numbers .page-numbers {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-width: 42px;
	height: 42px;
	text-align: center;
	padding: 4px;
}

.wp-block-query-pagination-numbers .page-numbers.current,
.wp-block-query-pagination-numbers a.page-numbers:hover,
.wp-block-query-pagination-numbers a.page-numbers:focus:focus-visible {
	background-color: var(--global-palette1);
	color: var(--global-palette9);
}

.facetwp-map-marker-title {
	font-size: 1.5rem;
	font-family: var(--global-body-font-family);
}

.gm-style .gm-style-iw-d {
	padding: 15px 5px 5px !important;
}

.gm-style .gm-style-iw-c {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
}