/*
 * Theme Name: B2F - OAHI - FAI
 * Author: Back2Front
 * Author URI: https://www.back2front.ca
 * Description: Child theme of B2F-Genesis for OAHI Find An Inspector
 * Template: B2F-Genesis
 * Version: 1.0.0
 */

#signUp, 
#signUp a {
    color: white !important;
}

#signUp {
    font-size: 20px;
    margin-bottom: 1em;
    text-align: center;
    font-weight: bold;
    background-color: #236ab9;
    width: 80%;
    margin: auto;
    padding: 0.5em 1em;
    text-shadow: 1px 1px 1px black;
}

article.error {
	text-align:			center;
	margin:				32px 15px 32px 15px;
}

.boardOfDirectorsContainer figure {
    text-align: center;
}

.director_role {
    text-align: center;
    font-weight: bold;
}
.no-underline {
     text-decoration: none !important;
}
.member div[class*="col-"] {
    margin-bottom: 5px;
}
ol.complaints-list ol {
    list-style-type: upper-alpha;
}
.extra-line-space p {
    margin-bottom: 1em;
}

div.notice {
	background:				#f7f7f7;
	color:					#000000;
	border-left:			12px solid #0dcaf0;
	border-left:			12px solid #e87c12;
	padding: 				0.2em 1.1em 0.8em 1em;
	margin: 				0.8em 0 0.2em 0;
}

#rhis div.fai-header {
	margin-top:				1px;
}

body {
	background-color:		#ffffff;
	font-family:			'Open Sans', sans-serif;
	font-size:				16px;
	line-height:   			24px;
	color:					#333333;
}

a, a:visited {
	color:					#333333;
  	text-decoration:		underline;
}

a:hover  {
	color:					#333333;
  	text-decoration:		underline;
}

h1 {
	font-family:			'Open Sans', sans-serif;
	font-size:				36px;
	font-weight:			500;
	line-height:      		42px;
	color: 					#236ab9;
	margin:					4px 0 25px 0;
}

h2 {
	font-family:			'Open Sans', sans-serif;
	font-size:				32px;
	font-weight:			500;
	line-height:      		38px;
	margin:					8px 0 8px 0;
}

h3 {
	font-family:			Verdana, Geneva, 'DejaVu Sans', sans-serif;
	font-size: 				28px;
	line-height: 			32px;
	margin:					8px 0 8px 0;
}

h4 {
	font-family:			Verdana, Geneva, 'DejaVu Sans', sans-serif;
	font-size: 				22px;
	font-weight:			600;
	line-height: 			28px;
	color:					#444444;
	margin:					8px 0 8px 0;
}

h5 {
	font-family:			Verdana, Geneva, 'DejaVu Sans', sans-serif;
	font-size: 				18px;
	font-weight:			600;
	line-height: 			24px;
	margin:					8px 0 8px 0;
}

p {
    margin-top: 			0;
    margin-bottom: 			0;
}

#fai-heading a.button:after, div.oahi-form .phone:before, div.oahi-form .email:before, .collapsible a:before, .collapsible a.collapsed:before {
    font-family:            'Font Awesome 6 Free';
    font-weight:            900;
}

.material-symbols-outlined {
	font-size:				64px;
	vertical-align:			middle;
}

#oahi-welcome-video .video {
    text-align:				center;
}
#oahi-welcome-video h4 {
    color: 					black;
}    
#accordion p {
    margin-top:				1.1em;
    margin-bottom:			1.1em;
}
#accordion p i.fas {
    font-size: 30px;
}
#accordion {
    text-align:left;
}
#accordion .card-body {
    background-color: #f0f8ff;
}
#accordion .card-header > a {
    color:					white !important;
	text-decoration:		none;
}
#accordion .card-header {
    font-size: 			1.8em;
    line-height: 		1.1em;
    text-align: 		center;
    padding-top: 0.5em;
    background: rgb(16,49,86);
    background: -moz-radial-gradient(circle, rgba(16,49,86,1) 0%, rgba(23,68,119,1) 33%, rgba(29,87,152,1) 66%, rgba(35,106,185,1) 100%);
    background: -webkit-radial-gradient(circle, rgba(16,49,86,1) 0%, rgba(23,68,119,1) 33%, rgba(29,87,152,1) 66%, rgba(35,106,185,1) 100%);
    background: radial-gradient(circle, rgba(16,49,86,1) 0%, rgba(23,68,119,1) 33%, rgba(29,87,152,1) 66%, rgba(35,106,185,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#103156",endColorstr="#236ab9",GradientType=1);
    padding-bottom: 0.5em;
}

img.wp-post-image {
	width: 					100%;
	max-width:				400px;
	height: 				auto;
}

div.post-links {
	border-top:				1px solid #a3a2a2;
    margin-top: 			22px;
    margin-bottom: 			18px;
}

div.post-header h1 {
    margin-bottom: 			18px;
}

ul.post-categories {
    margin-top: 			5px;
    margin-bottom: 			2px;
    padding-left: 			0;
}

ul.post-categories li {
	list-style-type:		none;
    margin-bottom: 			0;
    padding-left: 			0;
}

ul.post-categories li a {
	color: 					#236ab9;
	text-decoration:		none;
}

div.post-header h2 {
	font-size:				30px;
	font-weight:			500;
	line-height:      		38px;
	margin:					4px 0 15px 0;
}

div.post-links h4 {
    margin-top: 			32px;
    margin-bottom: 			18px;
}

div.post-links li {
	margin:					8px 0 12px 0;
}

div.post-links li a {
	text-decoration:		none;
}

div.post-links li a:hover {
	text-decoration:		underline;
}


/* LAYOUT */
.container {
	padding-top:			24px;
	padding-bottom:			44px;
}

div[class*="col-"] {
	margin-top: 			8px;
	margin-bottom: 			8px;
}

.responsive {
	width: 					100%;
	height: 				auto;
}

.divider {
	width:					62%;
	margin:					22px auto 32px auto;
	height:					2px;
	border-bottom:			1px solid #088f3a;
}

.fades {
    opacity: 				0.5;
    transition: 			opacity .65s ease-in-out;
}

.fades:hover {
    opacity: 				1;
}

.overlay {
	background-color: 		rgba(247, 247, 247, 0.5);
}

.opaque {
	background-color: 		rgba(247, 247, 247, 0.9);
}

.parallax {
    background-attachment: 	fixed;
    background-position: 	center;
    background-repeat: 		no-repeat;
    background-size: 		cover;
}

.shadow {
	box-shadow: 			-1px 5px 10px 2px rgba(204,204,204,1);
}

.slogan {
    font-family: 			'Roboto Mono', monospace;
    font-size: 				24px;
	font-weight:			bold;
	color:					#236ab9;
	margin:					15px 0 15px 0;
}


/* HOME PAGE */
#home-top {
	background-image:  		url(images/home.jpg);
	background-repeat:  	no-repeat;
 	background-size: 		cover;
	min-height:				500px;
	padding-top:			44px;
	padding-bottom:			44px;
	display: 				flex;
	align-items: 			center;
}

/*
#home-top .container {
	padding-top:			105px;
	padding-bottom:			44px;
}
*/

#home-top .row {
	width:					100%;
	justify-content:		flex-end;
}

#home-top .logo {
	background:				rgba(255, 255, 255, .5);
	padding: 		        10px 15px 10px 15px;
	border-radius:			5px;
	text-align:				center;
}

#c2alinks {
	background:				rgba(0, 0, 0, .7);
	padding: 		        28px 22px 28px 22px;
	border-radius:			5px;
	text-align:				center;
}

#c2alinks h5 {
	font-family: 			'Open Sans', sans-serif;
    font-size: 				26px;
    font-weight: 			normal;
	line-height: 			1.4em;
    margin: 				5px 0 22px 0;
    color: 					white;
}

#c2alinks a.button {
	display:				inline-block;
	font-size: 				1em;
	font-weight:    		normal;
	line-height:     		1em;
	padding: 		        11px 16px 12px 16px;
	margin:					15px 5px 15px 5px;
	text-transform:			uppercase;
	text-shadow:			none;
	box-shadow:				none;
}

#c2alinks a.fai {
	background-color:		#236ab9;
	color:					#ffffff;
	border:					1px solid #236ab9;
}

#c2alinks a.bam {
	background-color:		#dcab00;
	color:					#ffffff;
	border:					1px solid #f5bf00;
}

#c2alinks a.button.fai:hover {
	background:				#333333;
	border:					1px solid #236ab9;
}

#c2alinks a.button.bam:hover {
	background:				#333333;
	border:					1px solid #f5bf00;
}

#call2action {
	background-color:		#f7f7f7;
	margin-bottom:			32px;
}

.wave-bg {
	background-image: 		url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.com/svgjs' width='1840' height='560' preserveAspectRatio='none' viewBox='0 0 1840 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1111%26quot%3b)' fill='none'%3e%3crect width='1840' height='560' x='0' y='0' fill='url(%23SvgjsLinearGradient1112)'%3e%3c/rect%3e%3cpath d='M 0%2c474 C 122.8%2c386.6 368.4%2c43.8 614%2c37 C 859.6%2c30.2 982.8%2c427.6 1228%2c440 C 1473.2%2c452.4 1717.6%2c167.2 1840%2c99L1840 560L0 560z' fill='rgba(0%2c 64%2c 128%2c 1)'%3e%3c/path%3e%3cpath d='M 0%2c366 C 184%2c341.4 552%2c257.2 920%2c243 C 1288%2c228.8 1656%2c284.6 1840%2c295L1840 560L0 560z' fill='rgba(0%2c 51%2c 102%2c 1)'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1111'%3e%3crect width='1840' height='560' fill='white'%3e%3c/rect%3e%3c/mask%3e%3clinearGradient x1='17.39%25' y1='-57.14%25' x2='82.61%25' y2='157.14%25' gradientUnits='userSpaceOnUse' id='SvgjsLinearGradient1112'%3e%3cstop stop-color='%230e2a47' offset='0'%3e%3c/stop%3e%3cstop stop-color='%2300459e' offset='1'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e");
	background-attachment: fixed;
}

#call2action .container {
/*	max-width:				1440px; */
	padding-top:			98px;
	padding-bottom:			98px;
}

#call2action h4 {
	color:					#ffffff;
	font-weight:			normal;
}

#call2action a {
	text-decoration:		none;
    color:                  white;
    font-weight:            bold;
}

#call2action .item {
	padding:				25px 15px 65px 15px;
	text-align:				center;	
	color:					#ffffff;
}

#call2action .fullheight {
    position:				relative;
	height:                 100%;
/*	box-shadow: 			-1px 5px 10px 2px rgba(204,204,204,1); */
	border-radius: 			0 0 4px 4px;
	border:					1px solid #f7f7f7;
}

#call2action .c2a-btn {
	position: 				absolute;
    bottom: 				0px;
}

#call2action .blue-1 {
	background:				#103156;
}

#call2action .blue-2 {
	background:				#174477;
}

#call2action .blue-3 {
	background:				#1d5798;
}

#call2action .blue-4 {
	background:				#236ab9;
}

#call2action img {
	margin:					0;
}

#call2action div.divider {
	margin:					22px auto 22px auto;
	border-bottom:			1px solid #ffcd1e;
}

#call2action a.button.c2a {
	background-color:		#dcab00;
	font-size:				0.9em;
	color:					#ffffff;
	font-weight:			normal;
	padding: 		        8px 22px 8px 22px;
	margin:					10px 0 10px 0;
	border:					1px solid #f5bf00;
}

#call2action a.button.c2a:hover {
	background:				#333333;
	border:					1px solid #f5bf00;
}

#oahi-faqs .container {
	padding-bottom:			68px;
}

#oahi-faqs div.card {
	border:					1px solid #447cba;
}

#oahi-faqs ul.list {
	margin:				5px 0 5px 2px;
	padding-left: 		2px;
	counter-reset: 		li; /* Initiate a counter */
	list-style: 		none; /* Remove default numbering */
}

#oahi-faqs ul.list li {
	font-size:			24px;
	list-style:			none;
	margin-bottom:		5px;
	padding-left: 		2px;
}

#oahi-faqs ul.list a {
	line-height:		20px;
	font-weight:		normal;
    position: 			relative;
    display: 			block;
    padding: 			.3em .4em .3em .4em;
    margin: 			.3em .5em .3em .2em;
    text-decoration: 	none;
    transition: 		all .3s ease-out;   
}

#oahi-faqs ul.list a span {
	font-size:			15px;
    color: 				#333333;
}

#oahi-faqs ul.list a:before {
    content:            "✓";
    counter-increment: 	li;
    position: 			absolute; 
    left: 				-1.2em;
    top: 				40%;
    margin-top: 		-1em;
    height: 			1.8em;
    width: 				1.8em;
    line-height: 		1.8em;
    text-align: 		center;
	font-family:		Cambria,'Times New Roman','Nimbus Roman No9 L','Freeserif',Times,serif;
}

#oahi-faqs ul.list a:after{
    position: 			absolute; 
    border: 			.5em solid transparent;
    left: 				-1em;
    top: 				50%;
    margin-top: 		-.5em;
    transition: 		all .3s ease-out;               
}


/* FIND AN INSPECTOR PAGE */
#fai-heading a.button:after {
	font-family: 			'Material Symbols Outlined';
	font-size:				28px;
	vertical-align:			top;
	content:				"\e941";
	margin-right:			8px;
}

#fai-heading a.button {
	display:				inline-block;
	font-size: 				1em;
	line-height:     		1.5em;
	text-align:				center;
	padding: 		        8px 16px 8px 16px;
	margin:					0;
}

#fai-heading div[class*="col-"] {
    margin-top: 			3px;
    margin-bottom: 			3px;
}


div.contact-inspector fieldset legend {
	font-weight:			normal;
}

div.contact-inspector fieldset {
	height:						99%;
	background-color: 			#eeeeee;
	margin:						0 0 10px 0;
}

div.contact-inspector legend {
	background-color: 			#494949;
	background-color: 			rgba(73, 73, 73, .7);
    font-size: 					1.4rem;
	color: 						white;
	padding: 					10px 20px;
	margin-bottom: 				2px;
}

div.contact-inspector .item {
	padding: 					5px 20px 10px 22px;
}

div.contact-inspector span {
	display:					block;
}

div.contact-inspector label {
	display:					block;
}

div.contact-inspector label.select span, div.contact-inspector label.select span select {
	display:					inline-block;
}

div.contact-inspector select {
	margin-top: 				0.2rem;
	margin-bottom: 				0.2rem;
}

div.contact-inspector label input, div.contact-inspector label textarea {
    max-width: 					445px;
}

div.contact-inspector .google-tos, #member-complaint-form .google-tos {
	text-align:					center;
}

.wpcf7 form .wpcf7-response-output {
    margin: 					0.2em 0.5em 1em;
	text-align:					center;
}


/* BECOME A MEMBER */
#member-levels div[class*="col-"] {
	margin-top: 			4px;
	margin-bottom: 			35px;
}

#member-levels .item {
	height:					100%;
	border:					1px solid #cccccc;
	border-radius: 			0 0 5px 5px;
	margin-bottom:			15px;
	/* box-shadow: 			-1px 5px 10px 2px rgba(204,204,204,1);*/
}

#member-levels h4 {
	font-size:				24px;
	font-weight:			normal;
	padding:				15px 15px 15px 15px;
	margin:					0 0 5px 0;
}

#member-levels span {
	display:				block;
	padding:				12px 15px 12px 15px;
}

#member-levels .registered h4 {
	background: 			rgba(35, 106, 185, 0.6);
}

#member-levels .associate h4 {
	background:				#f5bf00;
}

#member-levels .candidate h4 {
	background: 			rgba(160, 95, 188, 0.8);
}

#member-levels .applicant h4 {
	background:				#38c298;
}

#member-levels .student h4 {
	background:				#ed7892;
}

#member-levels .retired h4 {
	background: 			rgba(44, 144, 139, 0.8);
	background: 			rgba(178, 66, 95, 0.8);
}


/* CONTACT PAGE */
div.oahi-form {
	margin-bottom:			32px;
}

div.oahi-form h5 {
	display: 				flex;
	align-items:			center;
	height:					48px;
	font-size:				17px;
	color:					#8c8c8c;
	text-transform: 		uppercase;
	padding-left: 			5px;
	border-left: 			4px solid #ffac0c;
	margin-bottom:			22px;
}

div#member-complaint-form .item h5 {
	font-size:				20px;
	margin-bottom:			10px;
}

div.oahi-form span.email, div.oahi-form span.phone {
	display:				block;
	margin:					6px 0 8px 0;
}

div.oahi-form .note {
	font-size:				15px;
	font-weight:			bold;
	margin:					5px 0 5px 0;
}

div.oahi-form .footnote {
	font-size:				15px;
}

div.oahi-form .phone:before, div.oahi-form .email:before {
	font-size:				24px;
	color:					#8c8c8c;
	vertical-align:			middle;
    padding-right:          8px;
}

div.oahi-form .phone:before {
    content:                "\f098";
}

div.oahi-form .email:before {
    content:                "\f0e0";
}

div.oahi-form .item {
	font-size:				15px;
	height:					100%;
	background:				#ffffff;
	padding:				14px 18px 15px 18px;
	box-shadow: 			-1px 5px 10px 2px rgba(204,204,204,1);
	border-radius:			3px;
}

select, input, textarea {
	width: 					100%;
    padding: 				3px 3px 3px 3px;
	border-radius:			3px;
}

input[type="date"] {
	width: 					220px;
}

option {
	font-size:				14px;
	line-height:			22px;
}

select, label {
    margin-top: 			0.8rem;
}

select {
    margin-bottom: 			0.8rem;
}

.wpcf7-spinner {
    background-color: 		#23282d;
    opacity: 				0.75;
    width: 					24px;
    height: 				24px;
    margin: 				0 4px;
}

.wpcf7-response-output {
    margin: 				1em 0.5em 1em;
}

.wpcf7 input, .wpcf7 textarea, .wpcf7 select {
	border: 				1px solid #bbbbbb;
	background: 			#ffffff;
}

.wpcf7-text:focus, .wpcf7-textarea:focus, .wpcf7 select:focus, input[type="date"]:focus {
	outline: 				2px solid #005b94;
}

.wpcf7-not-valid-tip {
    color: 					#dc3232;
    font-size: 				0.8em;
    font-weight: 			bold;
}

#contact-form input.button, #member-complaint-form input.button {
	width:					auto;
	display:				inline-block;
	margin:					15px 0 15px 0;
}

ul#office-hours {
	width:					98%;
	background:				#ffffff;
	padding: 				2px 2px;
	margin-top: 			5px;
	position: 				relative;
}

#office-hours li {
	color: 					#8c8c8c;
	line-height: 			28px;
	border-bottom: 			1px solid #8c8c8c;
	padding:				4px 0 8px 0;
	margin-top:				8px;
	margin-bottom:			5px;
}

#office-hours li:last-child {
	border-bottom: 			none; 
}

#office-hours li.today {
	color: 					#236ab9; 
	font-weight:			bold;
}

.subheading {
	font-weight:			bold;
	color:					#236ab9;
	margin:					2px 0 6px 0;
}

.collapsible {
	margin-top:				10px;
	margin-bottom:			10px;
}

.collapsible a:before, .collapsible a.collapsed:before {
	font-size:				18px;
	color:					#236ab9;
}

.collapsible a:before {
    content:                "\f068";
    padding-right:          5px;
}

.collapsible a.collapsed:before {
    content:                "\f067";
}

.collapsible > a,
.collapsible > a:hover, 
.collapsible > a:active, 
.collapsible > a:focus  {
    text-decoration:        none;
}

.collapsible a, .collapsible a:active, .collapsible a:focus {
    outline: 				none; 
}

.grecaptcha-badge {
	visibility: 			hidden;
}

.google-tos {
	background:				#f7f7f7;
	font-size:				13px;
	padding:				8px 7px 8px 7px;
	margin:					2px 0 5px 0;	
}


/* BUTTON STYLE */
input[type="submit"], input.button, .button, a.button {
	display:				inline-block;
	font-size: 				1em;
	font-weight:    		normal;
	background-color:		#236ab9;
	color:					#ffffff;
	line-height:     		1em;
	padding: 		        10px 18px 11px 18px;
	margin:					10px 0 10px 0;
	text-transform:			uppercase;
	text-shadow:			none;
	box-shadow:				none;
}

.button, a.button, a.button:visited {
	text-decoration:		none;
	color:					#ffffff;
}

input[type="submit"]:hover, input.button:hover, .button:hover, a.button:hover {
	background:				#333333;
	color:					#ffffff;
}

ul, ol {
	margin-top:				15px;
	margin-bottom:			32px;
	padding-left:       	32px;
}

li {
    line-height:   			22px;
	margin-bottom:			10px;
	padding-left:       	8px;
}

hr {
	margin-top: 			2rem;
	margin-bottom: 			2rem;
	border-top:				1px solid rgba(0,0,0,.2);
}

.date {
	font-size:				15px;
	color:					#ababab;
	margin:					0 0 22px 0;
}


/* MOBILE VIEW */
/* Extra large devices (large laptops and desktops, for browsers 1200px and UP) */
@media only screen and (min-width: 1200px) {

}

/* Extra large devices (large laptops and desktops, for browsers 1200px and LESS) */
@media only screen and (max-width: 1200px) {
	.v-align { display: block; }
}

/* Large devices (laptops/desktops, for browsers 992px and LESS) */
@media only screen and (max-width: 992px) {
	h1 { font-size: 32px; line-height: 38px; margin: 4px 0 22px 0; }
	h2 { font-size: 28px; font-weight: bold; line-height: 28px; margin: 4px 0 8px 0; }
	h3 { font-size: 26px; font-weight: bold; line-height: 28px; margin: 4px 0 6px 0; }
	div[class*="col-"] { margin-bottom: 25px; }
	#brand div[class*="col-"] { text-align: center; }
}

/* Medium devices (landscape tablets, for browsers 767px and LESS) */
@media only screen and (max-width: 767px) {
	#c2alinks {width: 100%; float: none; }
	#home-top .container { padding-top: 35px; padding-bottom: 35px; }
	div.contact-inspector legend { font-size: 1.2em; }
}

/* Extra small devices (phones, for browsers 480px and LESS) */
@media only screen and (max-width: 480px) {
	.nobr { white-space: normal; }
	.container { padding-bottom: 15px; }
	.divider { width: 34%; }
} 

/* Extra extra small devices (phones, for browsers 384px and LESS) */
@media only screen and (max-width: 384px) {

}

/* MENU ONLY - For browsers 768px and UP) */
@media only screen and (min-width: 768px) {

}