/*!
Theme Name:   Families Getting Help
Description:  Child theme for Edusion
Author:       Asiqur Rahman <asiq.webdev@gmail.com>
Template:     edusion
Version:      1.5.5
License:      GNU General Public License v2 or later
License URI:  LICENSE
Text Domain:  familiesgettinghelp
*/

/*
 * Add your custom styles below this line
 * These styles will override the parent theme styles
 */
.site-logo img {
	height: 90px;
}
.right-menu {
	display: flex;
	align-items: center;
	justify-content: end;
}
.ld-course-list-items .ld_course_grid .btn-primary {
	color: #ffffff;
	background-color: #779b96;
	border-color: #779b96;
	padding: 10px 20px;
	font-size: 18px;
	font-weight: 600;
	line-height: 22px;
	border-radius: 22px 22px 22px 22px;
}
.ld-course-list-items .ld_course_grid .btn-primary:hover,
.ld-course-list-items .ld_course_grid .btn-primary:focus {
	background-color: #01445f;
}
.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon.enrolled {
	background: #779b96;
}
.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon.enrolled:before {
	border-top: 4px solid #779b96;
	border-right: 4px solid #779b96;
}

/**
 * Course Grid Fixes
 * Hide difficulty level icon when value is empty
 */

/* Hide difficulty level span if it contains only the icon and no text */
.co_list span:has(.fa-signal):empty,
.co_list span:has(.fa-signal) strong:empty {
	display: none !important;
}

/* Hide the parent span if strong tag is empty */
.co_list span:has(strong:empty) {
	display: none !important;
}

/* Hide if only whitespace after icon */
.co_list span .fa-signal:only-child {
	display: none !important;
}
