/* https://learn.redcross.ca/ */


/* Updated June 14 2023 by Alex D */
main.page-layout-v2.main {
	display: block;
	/* ^ Overwrites display flex, causing issues with double footer on FAQ page */
}

/* by Alex Davey March 10 2023 */
.sr-only {
	border: 0;
    clip: rect(1px,1px,1px,1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.image_with_text .block__image-with-text .b-125209502-text_color {
	color: #222;
}

.image_with_text .block__image-with-text .block__image-with-text__inner__heading h2,
.image_with_text .block__image-with-text .block__image-with-text__inner__heading h3,
.image_with_text .block__image-with-text .block__image-with-text__inner__heading h4 {
	line-height: 1.25;
	margin-bottom: 15px;
}

.image_with_text .block__image-with-text .block__image-with-text__inner a {
	text-decoration: underline;
}

.image_with_text .block__image-with-text .block__image-with-text__inner a:hover,
.image_with_text .block__image-with-text .block__image-with-text__inner a:focus {
	color: #be0000;
}

.block__text-with-image-grid__column__body {
	font-size: 1.5rem;
	line-height: 1.25;
}

.image_with_text .block__image-with-text ul li,
.image_with_text .block__image-with-text ol li {
	margin-bottom: 10px;
	padding-left: 0;
}

.image_with_text .block__image-with-text ul li::before,
.image_with_text .block__image-with-text ol li::before {
	text-align: center
}

/* Updated April 24 2023 by Alex D */
.block__text-with-image-grid h2,
.block__text-with-image-grid__column__heading-text h2 {
	color: #222;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.block__text-with-image-grid__column__body p a {
	color: #ee0000;
	text-decoration: underline;
}

.block__text-with-image-grid__column__body p a:hover,
.block__text-with-image-grid__column__body p a:focus {
	color: #be0000;
}

.block__featured-products .block__featured-products__heading_text h2 {
	color: #000;
	font-size: 24px;
	line-height: 1.25;
}

.block__featured-products .featured-product-card__content__subtitle {
	font-size: 1.6rem;
	font-weight: inherit;
}

/* https://learn.redcross.ca/courses */
@media (max-width:767px) {
	.course-list .course-listing .course-listing-extra-info {
		position: absolute;
	}
}
.course-listing .course-listing-subtitle, 
.course-listing .listing-desc {
	font-weight: 400;
}

input.form-control:focus + .input-group-btn .search.btn {
	border-color: #333;
}

.input-group-btn .search.btn {
	height: 45px;
}

/* PROGRESS BAR ON COURSE CARD */
/* Updated April 25 2023 by Alex D */
.featured-product-card__content {
	position: relative;
}

.featured-product-card__percentage {
	display: inline-block;
	margin-bottom: 20px;
}

.featured-product-card__progressbar {
  bottom: 16px;
  height: auto;
  left: 16px;
  position: absolute;
  width: calc(100% - 32px);
}


/* Updated June 14 2023 by Alex D */
.course-list.list {
	display: flex;
  flex-wrap: wrap;
}

.course-list.list > div {
	display: flex;
}

.course-list.list > div a > div {
	display: flex;
    flex-wrap: wrap;
    height: 100%;
}

.course-progress.small {
	max-width: 80px;
}

.course-list.list > div .course-listing {
	height: inherit;
}

@media(min-width: 768px) {
	.course-listing .course-box-image-container {
		max-height: 190px;
	}
}

@media(min-width: 992px) {
	.course-listing .course-box-image-container {
		max-height: 160px;
	}
}

@media(min-width: 1024px) {
	.course-listing .course-box-image-container {
		max-height: 200px;
	}
}

.course-listing .course-listing-subtitle, 
.course-listing .listing-desc, 
.course-listing .course-listing-title {
	overflow: inherit;
}

.course-listing .course-listing-title,
.course-listing .course-listing-subtitle {
	display: block;
	max-height: fit-content;
	-webkit-box-orient: unset;
   -webkit-line-clamp: unset;
}

.course-listing .course-listing-title {
	line-height: 1.25;
	margin-bottom: 5px;
}

.course-listing .course-listing-subtitle {
	margin-bottom: 45px;
	/* Makes room for course-listing-extra-info, positioned absolute (sits outside of the containr in the DOM) */
}

.course-list.list > div .course-listing > .course-listing-extra-info {
	width: 100%;
}
/* END OF JUNE 14 2023 UPDATES */

/* GENERAL TEMPLATE */
.navbar__menu__list>li>a,
.navbar__menu__list>li>.menu-trigger,
.nav.navbar-nav>li>a {
	font-weight: 400;
}


@media(max-width: 991px) {
	.footer__list {
		display: flex;
		flex-direction: column-reverse
	}

	.footer .footer__copyright {
		padding-top: 30px;
		margin-bottom: 0;
	}
}

/* SHARE / FOLLOW / SHARE BUTTONS in the footer */
/* NOTE: As of August 2023 - AddThis is removed. Use AddToAny */

/* Follow / Left Side of Footer */
@media(max-width:1023px) {
	/* extends the container */
	.footer-social-container {margin:0 -20px;}
}

.footer-social-container p {
	font-size: 14px;
	font-weight: 400;
	padding-bottom: 15px;
	text-align: center;
}

.footer-social-container {
	background-color: #3d3e3f;
	color: #fff;
  padding: 20px 0;
}

.footer-social-inner {
	margin: 0 auto;
	max-width: 960px;
}

.footer-social-inner.main {
	margin: 0 auto;
	max-width: inherit;
}

.footer-social {
	display: flex;
	justify-content: center;
	padding: 0 0 20px 0;
}

.footer-social li {
	display: inline-block;
  list-style-type: none;
  margin: 0 15px;
  max-height: 40px;
  max-width: 40px;
}
.footer-social a,
.footer-social a .svg-wrapper.facebook,
.footer-social a .svg-wrapper.instagram,
.footer-social a .svg-wrapper.twitter {
	display: inline-block;
	height: 30px;
   width: 30px;
}
.footer-social a svg {
	background-color: #fff;
  border-radius: 50%;
}
.footer-social a:focus .social_instagram,
.footer-social a:hover .social_instagram {
	background-color: #f77737;
}
.footer-social a:focus .social_facebook,
.footer-social a:hover .social_facebook {
	background-color: #3b5998;
}
.footer-social a:focus .social_twitter,
.footer-social a:hover .social_twitter {
	background-color: #1da1f2;
}
.footer-social a:focus .social_instagram .grey,
.footer-social a:hover .social_instagram .grey,
.footer-social a:focus .social_facebook .grey,
.footer-social a:hover .social_facebook .grey,
.footer-social a:focus .social_twitter .grey,
.footer-social a:hover .social_twitter .grey {
	fill: #fff;
}

/* ADD TO ANY - SHARE / Right Side of Footer */
.social-widget .a2a_kit {
	display: flex;
	justify-content: center;
}

.social-widget a .a2a_svg {
	border-radius: 50%;
	padding: 5px;
	margin: 0 10px;
}

@media(min-width:1024px) {
	.footer-social-inner {
		display: flex;
	}
	.footer-social-container .col-lg-6 {
		width: 50%;
	}
	.footer-social-container .col-lg-6:first-of-type p {
		text-align: left;
	}
	.footer-social {
		justify-content: flex-start;
		padding: 0;
	}
	.footer-social li:first-of-type {
		margin-left: 0;
	}
	.social-widget p {
		text-align: right;
	}
	.social-widget .a2a_kit {
		justify-content: right;
	}
	.social-widget a:last-of-type .a2a_svg {
		margin-right: 0;
	}
}

/* Updated June 14 2023 by Alex D */
footer .footer-column.links .footer-column.copyright {
	padding-top: 30px;
}

@media(min-width: 992px) {
	footer .footer-column.links {
		width: 100%;
	}

	footer .footer-column-en.links .list-unstyled {
	    justify-content: space-between;
	    width: 100%;
	}

	footer .footer-column-en.links .list-unstyled .copyright {
		flex: 0 0 50%;
		text-align: right;
	}

	footer .footer-column-en.links .footer-column.copyright {
		padding-top: 0;
	}
}

@media(min-width: 1024px) {
	footer .footer-column-fr.links .list-unstyled li {
		padding: 10px 30px;
	}
}