/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */

.pp-post-img.no-lazyload {
    aspect-ratio: 4 / 2;
    object-fit: cover;
}

.pp-grid-style-6 .pp-post-image .pp-content-post-date{
	background: #f58b71 !important;
	color: #fff !important;
}

.noresults{
	padding: 2rem;
	border: solid 2px #f58b71;
	background: #dad6d2 !important;
	color: #000 !important;
	display: block;
	margin: 0 0 2rem;
	font-size: 1.5rem;
}

html{
	font-size: 16px;
}

body *{
    font-family: 'Red Hat Display', sans-serif;
}

h1,h2,h3,h4,h5,h6,h1 *,h2 *,h3 *,h4 *,h5 *,h6 *{
    font-family: 'Editor\'s Note', sans-serif;
    font-weight: 700;
}

p, li {
	font-weight: 400;
}


h1{
	font-size: 1.25rem;
}

h2{
	font-size: 2.25rem;
	margin: 0.5rem 0.5rem 1.5rem;
}

#gform_wrapper_8 .gform_heading{
    position: absolute;
	bottom: 0;
	right: 0;
}
#gform_wrapper_8 {
    position: relative;
}

form[role="search"] .fl-form-field{
	position: relative;
}

form[role="search"] .fl-form-field input::placeholder{
	font-size: 0 !important;
}

form[role="search"] .fl-form-field input{
	padding-left: 40px !important;
}


form[role="search"] .fl-form-field:before{
	position:absolute;
	top: 50%;
	left: 0;
	width: 20px;
	height: 20px;
	content: '';
	background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9Hcm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-repeat;
    transform: translate(50%, -50%);
}

.button, .fl-button{
	padding: 12px 24px !important;
	text-transform: uppercase;
	color: #ffffff !important;
    background: #f58b71;
    border: solid 2px #f58b71;
	border-radius: 0 !important;
	font-family: 'Red Hat Display', sans-serif;
	font-size: 16px;
    font-weight: 700;
}

.button:hover, .fl-button:hover{
	background: #ffffff;
    border: solid 2px #ffffff;
	color: #f58b71;
}

.fl-slideshow-image-img{
	top: 0 !important;
	height: 100% !important;
	object-fit: cover;
}

.text-image > .fl-row-content-wrap > .fl-row-content > .fl-col-group{
	display: flex;
}

.sub-menu{
	background: rgba(255, 255, 255, 0.9) !important;
	padding: 1rem 0.5rem !important;
}

.sub-menu > li:not(:last-child), .sub-menu > li:first-child{
	border-bottom: solid 1px #ddd !important;
}

.page_item.current_page_item, .menu-item a:hover{
	text-decoration: underline !important;
/* 	background: #fff !important; */
}

img[style="max-height: 50px;"]{
	max-height: 75px !important;
}

@media screen and (min-width: 641px){
	.desktop-two-column-list ul{
		columns: 2;
	}
}

@media screen and (max-width: 640px){
	
	.fl-col-group{
		flex-direction: column;
	}
	
	.fl-col-group > .fl-col {
		width: 100%;
	}
	
	.text-image > .fl-row-content-wrap > .fl-row-content > .fl-col-group{
		flex-direction: column;
		gap: 16px;
	}
	
	.text-image .fl-col-small:not(.fl-col-small-full-width){
		max-width: 100% !important;
	}
	
	.text-image > .fl-row-content-wrap > .fl-row-content > .fl-col-group .block-text{
		order: 2;
		max-width: 100% !important;
	}
	
	.text-image .fl-col.block-text .fl-module-rich-text p, .text-image .fl-col.block-text .fl-button-wrap{
		text-align: left !important;
	}

	.text-image .block-image{
		order: -1;
	}
	
}


@font-face {
    font-family: 'Editor\'s Note';
    src: url('/wp-content/themes/bb-theme-child/fonts/EditorsNote-Regular.woff2') format('woff2'),
        url('/wp-content/themes/bb-theme-child/fonts/EditorsNote-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Editor\'s Note';
    src: url('/wp-content/themes/bb-theme-child/fonts/EditorsNote-Italic.woff2') format('woff2'),
        url('/wp-content/themes/bb-theme-child/fonts/EditorsNote-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* red-hat-display-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Red Hat Display';
    font-style: normal;
    font-weight: 300;
    src: url('/wp-content/themes/bb-theme-child/fonts/red-hat-display-v19-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-display-300italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Red Hat Display';
    font-style: italic;
    font-weight: 300;
    src: url('/wp-content/themes/bb-theme-child/fonts/red-hat-display-v19-latin-300italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-display-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Red Hat Display';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/bb-theme-child/fonts/red-hat-display-v19-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-display-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Red Hat Display';
    font-style: italic;
    font-weight: 400;
    src: url('/wp-content/themes/bb-theme-child/fonts/red-hat-display-v19-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-display-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Red Hat Display';
    font-style: normal;
    font-weight: 600;
    src: url('/wp-content/themes/bb-theme-child/fonts/red-hat-display-v19-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-display-600italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Red Hat Display';
    font-style: italic;
    font-weight: 600;
    src: url('/wp-content/themes/bb-theme-child/fonts/red-hat-display-v19-latin-600italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-display-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Red Hat Display';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/bb-theme-child/fonts/red-hat-display-v19-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* red-hat-display-700italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Red Hat Display';
    font-style: italic;
    font-weight: 700;
    src: url('/wp-content/themes/bb-theme-child/fonts/red-hat-display-v19-latin-700italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.headline-eyebrow p{
	margin: 0 !important;
}
.headline-eyebrow{
    font-weight: 700;
}