/*
 Theme Name:	Alumni Association Scholarships
 Theme URI:		https://uvaalumni.org/scholarships/
 Template:		aa2023_core
 Author:		Ben Walter, UVA Alumni Association
 Author URI:	https://uvaalumni.org
 Description:	Scholarships theme for UVA Alumni Association website, 2023 edition. Adds custom behaviors for Scholarships.
 Version:		1.0
 Text Domain:	aa2023_core
*/

/* ------- HOME PAGE CARDS ------- */
p + .card-text {
	margin-top: -1.25rem; /* Removes the bottom margin of the preceding paragraph */
}

.card-text {
	margin-bottom: 1.25rem;
	padding: 10px;
}

	.card-text :last-child {
		margin-bottom: 0;
	}

/* Tablesorter */
.tablesorter {
	--ts-header-hover-bg: var(--light-blue-alt);
	--ts-header-hover-color: var(--bs-body-color);
}

.tablesorter-header:not(.sorter-false) {
	cursor: pointer;
}
	.tablesorter-header:not(.sorter-false):hover,
	.tablesorter-header:not(.sorter-false):focus {
		background-color: var(--ts-header-hover-bg);
		color: var(--ts-header-hover-color);
	}

.tablesorter-header-inner {
	white-space: nowrap;
}

.tablesorter-header-inner::after {
	display: inline;
	line-height: 1;
	padding-left: 0.5rem;
	vertical-align: bottom;
}

.tablesorter-headerUnSorted:not(.sorter-false) .tablesorter-header-inner::after {
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-arrow-down-up" viewBox="0 0 20 20"> <path fill-rule="evenodd" d="M11.5 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L11 2.707V14.5a.5.5 0 0 0 .5.5zm-7-14a.5.5 0 0 1 .5.5v11.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L4 13.293V1.5a.5.5 0 0 1 .5-.5z"/></svg>');
}
.tablesorter-headerAsc .tablesorter-header-inner::after {
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-arrow-down" viewBox="0 0 20 20"> <path fill-rule="evenodd" d="M8 1a.5.5 0 0 1 .5.5v11.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L7.5 13.293V1.5A.5.5 0 0 1 8 1z"/></svg>');
}
.tablesorter-headerDesc .tablesorter-header-inner::after {
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-arrow-up" viewBox="0 0 20 20"> <path fill-rule="evenodd" d="M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5z"/></svg>');
}