/*
Theme Name:		Websites for All
Author:			CMS Web Solutions
Author URI:		http://cmswebsolutions.com
*/

/* questrial-regular - latin */
@font-face {
	font-family: 'Questrial';
	font-style: normal;
	font-weight: 400;
	src: local('Questrial Regular'), local('Questrial-Regular'),
		url('fonts/questrial-v12-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('fonts/questrial-v12-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
    font-size: 110%;
}

body {
	margin: 0 auto;
	font-family: 'Questrial', sans-serif;
	font-weight: 400;
	position: relative;
	color: #010101;
	background-color: #fffefe;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
	* {
		-webkit-animation-duration: 0.01ms !important;
		        animation-duration: 0.01ms !important;
		-webkit-animation-iteration-count: 1 !important;
		        animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

header, nav, .main_wrapper, footer,
iframe, embed, figcaption, figure, section {
	display: block;
	position: relative;
	margin: 0 auto;
}

.inner {
	display: block;
	margin: 0 auto;
	padding: 0 1.5rem;
	max-width: 65rem;
	position: relative;
}

h1 {
	margin: .75rem 0 .25rem;
	color: #0b3055;
	font-size: 2.3rrem;
	font-weight: 600;
}

h2 {
	margin: 1.5rem 0 .75rem;
	color: #0b3055;
	font-weight: 600;
}

h1 + h2 {
	margin: .25rem 0 .75rem;
}

h2 a {
	color: #222;
	-webkit-text-decoration-color: #aaa;
	text-decoration-color: #aaa;
}

h2 a:hover,
h2 a:focus {
	color: #333;
	-webkit-text-decoration-color: #222;
	text-decoration-color: #222;
}

h3 {
	margin: 1.5rem 0 .75rem;
	color: #222;
	font-weight: 600;
}

h4 {
	margin: 1.5rem 0 .75rem;
	color: #222;
	font-weight: 600;
}

li, p + p, p * {
	margin-top: 0;
}

ul[class],
ol[class] {
  padding: 0;
}

ul[class],
ol[class] {
  list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	border-style: none;
}

a {
	color: #0b3055;
	transition: color .1s;
}

main a {
	text-decoration: none;
	border-bottom: 2px solid #ffd400;
}

a:not([class]) {
	-webkit-text-decoration-skip: ink;
	        text-decoration-skip-ink: auto;
}

a[href^="tel:"] {
	text-decoration: none;
}

a:hover,
a:focus {
	color: #000;
}

main a:hover,
main a:focus {
	background-color: #ffd400;
}

:focus {
	outline: 2px solid #cbdce4;
}

a:active {
	transition: color 2s;
	color: blue;
}

a img {
	border: none;
	outline: none;
}

kbd {
	padding: 0.0625rem 0.5rem;
	border-radius: 0.125rem;
	border: 1px solid;
	box-shadow: 1px 1px 0 currentColor, 2px 2px 0 currentColor;
}

pre {
	padding: .5rem;
	background: aliceblue;
}

code {
	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	font-style: normal;
	background: aliceblue;
}

iframe,embed {
	max-width: 100%;
}

input,
textarea,
select {
	margin: 0;
	font: inherit;
}

button,
.wp-block-button__link,
.wp-block-button__link:visited {
	color: #fff;
	background-color: #0b3055;
	border: 1px solid #0b3055;
	border-radius: 4px;
	font-family: inherit;
	font-size: inherit;
	line-height: 1.5;
	padding: .25rem 1rem;
	text-align: center;
	text-decoration: none;
}

button:hover,
button:focus,
.wp-block-button__link:hover, 
.wp-block-button__link:focus {
	color: #0b3055;
	background-color: #fff;
}

.hidden {
	position: absolute;
	left: -1000rem;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: -1px;
	padding: 0;
	clip: rect(0,0,0,0);
	border: 0;
}

.clearfix {
	overflow: hidden;
	content: "";
	visibility: hidden;
	display: block;
	height: 1px;
	width: 1px;
	clear: both;
}

a.skip {
	position: absolute;
	top: 0;
	left: -1000rem;
	background-color: #354c65;
	color: #fff;
	text-decoration: none;
	border-radius: 0 0 3px 3px;
	z-index: 1;
}

a.skip:focus,
a.skip:hover {
	left: 1rem;
	top: 0;
	padding: .5rem 1rem;
}

.logo {
	max-width: 300px;
	height: auto;
	margin: 1rem auto;
	display: block;
	text-align: center;
}

.translatepress-en_CA .tp_en, 
.translatepress-fr_CA .tp_fr { 
	display: none !important;
}

.mainnav {
	color: #fff;
	background-color: #0b3055;
	border-top: 1px solid #cbdce4;
	border-bottom: 1px solid #cbdce4;
}

nav .inner {
	padding: 0;
}

nav .mobile {
	transition: none;
	cursor: pointer;
	display: block;
	width: 100%;
	color: #fff;
	background-color: #0b3055;
	margin: 0 auto;
	padding: .25rem 0;
	font-size: 1.25rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	border: none;
	border-bottom: 1px solid #f3f3f3;
	border-radius: 0;
}

nav .mobile:hover,
nav .mobile:focus {
	color: #0b3055;
	background-color: #fff;
}

nav ul {
	width: 100%;
	margin: 0;
	padding-left: 0;
}

.mainnav ul {
	display: none;
}

nav li {
	list-style: none;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	border-bottom: 1px solid #eee;
}

nav a {
	text-decoration: none;
	padding: .25rem 0;
}

.mainnav a {
	text-align: center;
	color: #fff;
}

.nav_trigger {
	color: #fff;
	background-color: transparent;
	margin: 0;
	padding: .5rem .25rem;
	border: none;
	border-radius: 0;
}

.nav_trigger span {
	display: inline-block;
	background: url(img/arrow-down.svg) bottom left no-repeat;
	width: 1rem;
	height: 1rem;
	margin-right: .25rem;
}

nav a:hover,
nav a:focus,
nav a:active,
.current_page_ancestor .nav_trigger,
.nav_trigger:hover,
.nav_trigger:focus,
.nav_trigger:active {
	color: #0b3055;
	background-color: #fff;
}

.nav_trigger:hover,
.nav_trigger:focus,
.nav_trigger:active {
	border: none;
}

.current_page_ancestor .nav_trigger span,
.nav_trigger:hover span,
.nav_trigger:focus span,
.nav_trigger:active span {
	background: url(img/arrow-down_active.svg) bottom left no-repeat;
}

nav .open + ul {
	display: block;
}

nav .open + ul li {
	padding: .5rem;
	text-align: center;
}

nav .open + ul li:hover,
nav .open + ul li:focus {
	background-color: #0b3055;
}

.main_wrapper .inner {
	padding: 1rem 1.5rem;
}

.single main {
	margin: 0 2rem;
	max-width: 80ch;
}

.sidebar {
	padding: 1rem;
	background-color: #eee;
}

.navigation {
	display: flex;
	justify-content: space-between;
}

.navigation a {
	padding: .25rem 1rem;
	display: inline-block;
	color: #fff;
	background-color: #0b3055;
}

/* Home page */

.home h1 {
	margin: .75rem 0 0;
}

.home h1 + .subhead {
	margin-top: 0;
	color: #0b3055;
	font-size: 1.5rem;
}

.home h2 {
	font-size: 1.75rem;
}

ul.callouts {
	padding: 1rem;
	background: url(img/laptop-notebook.jpg) center center no-repeat;
	background-size: cover;
}

.callouts li {
	margin: 0 0 1rem;
	padding: 1.5rem;
	background-color: #fff;
	border: 1px solid #0b3055;
	border-radius: 4px;
}

.callouts h2 {
	margin: 0 0 .5rem;
	color: #0b3055;
}

.callouts .ld-button {
	padding: .625rem;
	font-family: inherit;
	font-size: 95%;
	font-weight: 700;
	line-height: inherit;
	letter-spacing: inherit;
	color: #0b3055;
	background-color: #ffd400;
	border: 1px solid transparent;
	border-radius: 4px;
	text-decoration: none;
	transition: all .15s ease;
}

.callouts .ld-button:hover,
.callouts .ld-button:focus {
	color: #fff;
	background-color: #0b3055;
}

.callouts .ld-button:hover .ld-icon-arrow-right,
.callouts .ld-button:focus .ld-icon-arrow-right {
	transform: translateX(3px);
}

.callouts .ld-text {
	padding: 0;
	text-align: left;
}

details[open] {
	margin: 0 0 2rem 0;
}

.hilite {
	padding: 1rem;
	color: #000;
	background-color: #ffd400;
}

.alignleft,img.alignleft {
	display: inline;
	float: left;
	margin: 0 1.5rem 1.5rem 0;
}

.alignright,img.alignright {
	display: inline;
	float: right;
	margin: 0 0 1.5rem 1.5rem;
}

.aligncenter,
img.aligncenter,
.wp-block-image .aligncenter {
	display: block;
	clear: both;
	margin: 0 auto 1.5rem;
}

.wp-block-media-text .wp-block-media-text__content {
	padding: 0;
}

.wp-block-media-text .wp-block-media-text__media {
	margin: 0 auto;
	text-align: center;
}

.wp-block-media-text.has-media-on-the-right {
	grid-template-columns: 1fr 30%;
	gap: 2rem;
}

.wp-block-media-text__media {
	max-width: 200px;
}

.blocks-gallery-grid .blocks-gallery-image figure, 
.blocks-gallery-grid .blocks-gallery-item figure, 
.wp-block-gallery .blocks-gallery-image figure, 
.wp-block-gallery .blocks-gallery-item figure {
	flex-direction: column;
}

.blocks-gallery-grid.is-cropped .blocks-gallery-image a, 
.blocks-gallery-grid.is-cropped .blocks-gallery-image img, 
.blocks-gallery-grid.is-cropped .blocks-gallery-item a, 
.blocks-gallery-grid.is-cropped .blocks-gallery-item img, 
.wp-block-gallery.is-cropped .blocks-gallery-image a, 
.wp-block-gallery.is-cropped .blocks-gallery-image img, 
.wp-block-gallery.is-cropped .blocks-gallery-item a, 
.wp-block-gallery.is-cropped .blocks-gallery-item img {
	height: auto;
}

.blocks-gallery-grid .blocks-gallery-image figcaption, 
.blocks-gallery-grid .blocks-gallery-item figcaption, 
.wp-block-gallery .blocks-gallery-image figcaption, 
.wp-block-gallery .blocks-gallery-item figcaption {
	position: relative;
	max-height: none;
	padding: .25rem 0 .5rem;
	color: #000;
	background: transparent;
	font-size: .9rem;
}

.wp-block-image figcaption {
	margin-top: 0;
	font-size: .9rem;
}

/* Formidable */

.frm_image_option {
	position: relative;
}

.frm_image_options .frm_radio input[type="radio"],
.frm_image_options .frm_checkbox input[type="checkbox"] {
	opacity: 1 !important;
	top: 4px;
	left: 4px;
	z-index: 1 !important;
}

footer {
	margin-top: 2rem;
	padding: 1rem;
	width: 100%;
	color: #fff;
	background-color: #0b3055;
	clear: both;
}

footer h3,
footer a {
	color: #fff;
}

footer a:hover,
footer a:focus {
	color: #ffd400;
}

.partners img,
.partners svg {
	max-width: 150px;
}

.cira {
	fill: #fff;
	width: 100px;
}

.policies {
	padding: 1rem;
	background-color: #3e3e3f;
	border-top: 2px solid #fff;
}

nav.policies a {
	color: #fff;
}

nav.policies a:hover,
nav.policies a:focus,
nav.policies .current_page_item a {
	color: #fff;
	background-color: transparent;
}

@media screen and (min-width: 37.5em) {
    .alignleft,img.alignleft {
        float: left;
        margin: 0 1.5rem 1.5rem 0;
    }
    
    .alignright,img.alignright {
        float: right;
        margin: 0 0 1.5rem 1.5rem;
    }
    
    .aligncenter,img.aligncenter {
        display: block;
        clear: both;
        margin: 1.5rem auto;
	}
}

@media screen and (min-width: 56.25em) {

	header .inner {
		padding: .5rem 1.5rem;
		display: flex;
		justify-content: space-between;
	}

	.logo {
		margin: auto;
		text-align: left;
		align-self: flex-start;
	}

	.utilities_container {
		display: flex;
		align-items: center;
		gap: .5rem;
		/* flex-grow: 1; */
	}

	.utilities ul {
		display: flex;
		justify-content: flex-end;
	}

	.mainnav {
		margin: .5rem 0;
	}

	.mainnav .inner {
		padding: 0 1.5rem;
	}

	nav .mobile {
		display: none;
	}

	.mainnav ul {
		display: flex;
		justify-content: flex-start;
	}

	nav li {
		width: auto;
		border-bottom: none;
	}

	nav li {
		margin: 0 1rem;
		padding: 0;
	}

	.utilities li:first-of-type a {
		color: #0b3055;
		background-color: #ffd400;
		border-bottom: none;
		border-radius: 4px;
	}

	.utilities li:first-of-type a:hover,
	.utilities li:first-of-type a:focus {
		color: #fff;
		background-color: #0b3055;
		border-bottom: none;
	}

	nav a {
		display: block;
		padding: .5rem;
		border-bottom: 2px solid transparent;
	}

	nav a:hover,
	nav a:focus {
		border-bottom: 2px solid #ffd400;
	}

	nav > li:first-of-type a {
		padding-left: 0;
	}

	nav > li:last-of-type a {
		padding-right: 0;
	}

	.current_page_item:not(.menu-item-home) a,
	.current_page_ancestor .nav_trigger {
		color: #0b3055;
		background-color: #fff;
		border-bottom: 2px solid #ffd400;
	}

	ul.callouts {
		padding: 2rem;
		display: inline-block;
		display: flex;
		justify-content: space-evenly;
		align-items: flex-start;
		gap: 2rem;
	}

	.callouts li {
		display: flex;
		flex-direction: column;
		min-height: 100%;
		flex: 0 1 50%;
	}

	@supports (display: grid) {
		.callouts {
			display: -ms-grid;
			display: grid;
			-ms-grid-columns: (minmax(230px, 1fr))[auto-fit];
			grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
			grid-gap: 1rem;
		}
	
		.callouts li {
			margin: 0;
		}
	}

	.callouts .ld-button {
		padding: .625rem 1.5rem;
	}
	
	.callouts .ld-text {
		padding: 0 1rem;
		text-align: center;
	}

	.main_wrapper .inner.grid{
		display: flex;
		justify-content: space-between;
		display: grid;
		grid-template-columns: 1fr 2fr;
		gap: 2rem;
	}

	.learndash-wrapper .ld-focus .ld-focus-sidebar {
		position: relative;
	}

	.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger {
		display: none;
	}

	footer .inner {
		display: inline-block;
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 3.5rem;
	}

	.col:first-of-type {
		flex: 0 1 40%;
	}

	.col:last-of-type {
		flex: 0 1 55%;
	}

	.policies .inner {
		display: flex;
		justify-content: space-between;
	}

	.policies ul {
		width: auto;
	}

	.policies li {
		display: inline-block;
	}
}