/* @override https://berardi.local/wp-content/themes/berardi/assets/css/style.css?* */
/*
Theme Name: Berardi Immigration Law
Description: Custom theme for Block Energy
Author: Konnekt Digital
Version: 1.0
Text Domain: berardi
*/
@import url("https://use.typekit.net/nrb7qst.css");
.has-berardi-red-color {
	color: #a81d38;
}

.has-berardi-red-background-color {
	background-color: #a81d38;
}

.has-berardi-blue-color {
	color: #395a6d;
}

.has-berardi-blue-background-color {
	background-color: #395a6d;
}

.has-berardi-gold-color {
	color: #c18f5e;
}

.has-berardi-gold-background-color {
	background-color: #c18f5e;
}

.has-berardi-beige-color {
	color: #f6eee7;
}

.has-berardi-beige-background-color {
	background-color: #f6eee7;
}

.has-berardi-black-color {
	color: #000000;
}

.has-berardi-black-background-color {
	background-color: #000000;
}

.has-berardi-white-color {
	color: #ffffff;
}

.has-berardi-white-background-color {
	background-color: #ffffff;
}

.footer, .alignfull {
	max-width: 100vw;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.footer .wrapper, .footer .main, .footer .wp-block-group__inner-container, .alignfull .wrapper, .alignfull .main, .alignfull .wp-block-group__inner-container {
	padding-left: 2vmax;
	padding-right: 2vmax;
}

.utilitynav, .header__main {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.utility-menu, .primarynav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.team-block.alignfull .wrapper, .recent-posts-grid-block.alignfull .wrapper, .child-pages-block.alignfull .wrapper, .team-block.alignfull .main, .recent-posts-grid-block.alignfull .main, .child-pages-block.alignfull .main {
	max-width: none;
}

[class^="bil-button--"], [class*=" bil-button--"], input[type="submit"], .nf-form-content .submit-wrap input, .primarynav li, ::-webkit-input-placeholder, input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], textarea, a {
	transition: all 0.2s ease-in-out;
}

.header:before, .footer:before, .header:after, .footer:after {
	content: "";
	display: table;
}

.header:after, .footer:after {
	clear: both;
}

.header, .footer {
	*zoom: 1;
}

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

html {
	box-sizing: border-box;
}

body {
	scroll-behavior: smooth;
	text-rendering: optimizeLegibility;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

body.mobile-nav-open {
	position: fixed;
}

a {
	text-decoration-skip-ink: auto;
	color: #a81d38;
}

a[class] {
	text-decoration: none;
}

dt {
	font-weight: 700;
}

dt:not(:first-child) {
	margin-top: 1.5rem;
}

dd {
	margin-left: 0;
}

figure {
	margin: 0;
	line-height: 0;
}

figcaption {
	line-height: normal;
}

img {
	border: none;
	display: block;
	line-height: 0;
	max-width: 100%;
	height: auto;
}

nav a {
	text-decoration: none;
	line-height: 1.2;
}

p:empty {
	display: none;
}

pre {
	font-size: 12px;
	background-color: #f2f2f2;
	border: 1px dashed #b3b3b3;
	color: #666666;
	margin: 0;
	padding: 7px;
	clear: both;
}

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

input, button, textarea, select {
	font-family: lato, sans-serif;
}

fieldset {
	border: none;
	padding: 0;
}

input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], textarea {
	font-size: 16px;
	margin: .5rem 0;
	padding: .8rem;
	width: 100%;
	border: 1px solid #cccccc;
	-webkit-appearance: none;
	appearance: none;
}

input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, textarea:focus {
	border: 1px solid #a81d38;
}

::-webkit-input-placeholder {
	color: #666666;
}

input[type="email"]:focus::-webkit-input-placeholder, input[type="number"]:focus::-webkit-input-placeholder, input[type="password"]:focus::-webkit-input-placeholder, input[type="tel"]:focus::-webkit-input-placeholder, input[type="text"]:focus::-webkit-input-placeholder, input[type="url"]:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
	color: black;
}

/*
$font_primary: lato 400, 700 -- BODY
$font_secondary: garamond 400, 700 -- HEADS
$font_tertiary: poppins 400, 700 -- SUBHEADS
*/

html {
	font-size: 14px;
}

@media screen and (min-width: 320px) {
	html {
		font-size: calc(14px + 2 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 1280px) {
	html {
		font-size: 16px;
	}
}
body {
	line-height: 1.5;
	font-family: lato, sans-serif;
}

h1 {
	font-size: 36px;
}

@media screen and (min-width: 320px) {
	h1 {
		font-size: calc(36px + 6 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 1280px) {
	h1 {
		font-size: 42px;
	}
}
h2 {
	font-size: 24px;
}

@media screen and (min-width: 320px) {
	h2 {
		font-size: calc(24px + 12 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 1280px) {
	h2 {
		font-size: 36px;
	}
}
h3 {
	font-size: 16px;
}

@media screen and (min-width: 320px) {
	h3 {
		font-size: calc(16px + 6 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 1280px) {
	h3 {
		font-size: 22px;
	}
}
h4 {
	font-size: 19px;
}

@media screen and (min-width: 320px) {
	h4 {
		font-size: calc(19px + 8 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 1280px) {
	h4 {
		font-size: 27px;
	}
}
h5 {
	font-size: 15px;
}

@media screen and (min-width: 320px) {
	h5 {
		font-size: calc(15px + 4 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 1280px) {
	h5 {
		font-size: 19px;
	}
}
h6 {
	font-size: 13px;
}

@media screen and (min-width: 320px) {
	h6 {
		font-size: calc(13px + 3 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 1280px) {
	h6 {
		font-size: 16px;
	}
}
h1 {
	color: #a81d38;
	border-bottom: 0.15em solid #cccccc;
	padding-bottom: .2em;
	margin-bottom: .4em;
}

.page h1 {
	border: none;
	color: #ffffff;
	background-color: #7d152a;
	box-shadow: -1000px 0 0 #7d152a, 1000px 0 0 #7d152a;
	line-height: 1.1;
	letter-spacing: normal;
	margin: 0 -2vmax 3rem -2vmax;
	padding: 1vmax 2vmax;
}

.page h1 + .wp-block-image.alignfull {
	margin-top: -3rem;
}

h1 {
	font-family: poppins, sans-serif;
}

.page h1, h2, h3, h4 {
	font-family: eb-garamond;
}

h1, h5, h6 {
	font-weight: 700;
}

h4 {
	font-weight: 600;
}

@media (min-width: 768px) {
	h4 {
		font-weight: 500;
	}
}
.page h1, h2, h3 {
	font-weight: 300;
}

h3 {
	text-transform: uppercase;
}

h1 {
	letter-spacing: -1px;
	line-height: 1.1;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 1em;
}

h2, h4, h5, h6 {
	margin-bottom: .3em;
	line-height: 1.2;
}

h3 {
	margin-bottom: .5em;
}

hgroup {
	margin: .5rem 0;
}

hgroup h1, hgroup h2, hgroup h3, hgroup h4, hgroup h5, hgroup h6 {
	margin-top: 0;
}

section * > h1, section * > h2, section * > h3, section * > h4, section * > h5, section * > h6 {
	margin-top: 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
	color: #000000;
}

h3 {
	position: relative;
	padding-bottom: 12px;
}

h3:after {
	content: " ";
	position: absolute;
	height: 11px;
	bottom: 0;
	width: 60px;
	left: 0;
	background-image: url(../images/rule-left.svg);
}

h3.has-text-align-center:after {
	width: 80px;
	left: calc( 50% - 40px);
	background-image: url(../images/rule-center.svg);
}

p {
	margin: 0 0 1em 0;
}

p + p {
	margin-top: 1em;
}

.footer {
	padding: 2vmax;
	color: #ffffff;
	background-color: #395a6d;
}

.footer a {
	color: #ffffff;
}

.footer .socialnav__list {
	justify-content: flex-end;
}

.copyright, .footernav {
	font-size: 12px;
	padding: .5rem 0;
}

@media screen and (min-width: 320px) {
	.copyright, .footernav {
		font-size: calc(12px + 2 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 1280px) {
	.copyright, .footernav {
		font-size: 14px;
	}
}
.copyright {
	text-align: center;
	color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
	.copyright {
		float: left;
	}
}
@media (min-width: 768px) {
	.footernav {
		float: right;
	}
}

.footernav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
}

@media (min-width: 768px) {
	.footernav ul {
		justify-content: flex-end;
	}
}
.footernav li a {
	padding-left: .5em;
}

.footernav li:not(:last-child) {
	border-right: 1px solid #ffffff;
}

.footernav li:not(:last-child) a {
	padding: 0 .5em;
}

body.mobile-nav-open .header {
	margin: 0;
}

.header {
	background-color: #a81d38;
}

.header__top {
	background-color: #395a6d;
}

.header__main {
	padding-top: 2vmax;
	padding-left: 2vmax;
	padding-right: 2vmax;
}

.logo {
	margin: 0 auto 0 0;
	float: left;
}

@media (min-width: 768px) {
	.logo {
		margin-right: 2vmax;
	}
}
  .logo img {
	border: 1px solid #ffffff;
	width: 120px;
}

@media screen and (min-width: 320px) {
	.logo img {
		width: calc(120px + 120 * (100vw - 320px) / 960);
	}
}
    @media screen and (min-width: 1280px) {
	.logo img {
		width: 240px;
	}
}
.searchtoggle {
	border: 0;
	margin: 0;
	padding: .5rem 1rem;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	align-self: center;
	min-width: 52px;
	background-color: transparent;
}

@media (min-width: 768px) {
	.searchtoggle {
		background-color: #921931;
		align-self: auto;
	}
}
  .searchtoggle:hover {
	background-color: #671222;
}

.searchtoggle img {
	width: 20px;
	height: 20px;
}

.searchform {
	position: fixed;
	align-items: center;
	justify-content: center;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(57, 90, 109, 0.9);
	z-index: 9999;
	display: none;
}

.searchform.open {
	display: flex;
}

.searchform .wrapper, .searchform .main {
	padding: 2vmax;
}

@media (min-width: 768px) {
	.searchform .wrapper, .searchform .main {
		min-width: 80%;
	}
}
  .searchform__close img {
	cursor: pointer;
	margin-left: auto;
	padding-bottom: 10px;
	width: 32px;
	height: 32px;
}

.searchform__form {
	display: flex;
}

.searchform__form input {
	margin: 0 !important;
}

.menutoggle {
	align-self: center;
	padding: 10px;
	margin-right: -10px;
}

@media (min-width: 768px) {
	.menutoggle {
		display: none;
	}
}
#body {
	overflow-x: hidden;
	min-height: 100vh;
}

.wrapper, .main, .wp-block-group__inner-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-group__inner-container {
	padding: 2vmax;
}

.main {
	padding-left: 2vmax;
	padding-right: 2vmax;
	padding-bottom: 2vmax;
}

.main section.alignfull:last-child {
	margin-bottom: -1vmax;
}

.flex, .paginated-posts--grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 -1vmax;
}

.flex > *, .paginated-posts--grid > * {
	margin-bottom: 2vmax;
	padding: 0 1vmax;
}

.flex img, .paginated-posts--grid img {
	width: 100%;
}

.flex--cols > * {
	flex-basis: 260px;
	flex-grow: 1;
	flex-shrink: 0;
}

.flex--three, .paginated-posts--grid {
	justify-content: flex-start;
}

.flex--three > *, .paginated-posts--grid > * {
	flex-basis: 260px;
	flex-grow: 1;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.flex--three > *, .paginated-posts--grid > * {
		flex-basis: 33.33%;
	}
}
.flex--four {
	justify-content: flex-start;
}

.flex--four > * {
	flex-grow: 1;
	flex-shrink: 0;
	flex-basis: 50%;
	max-width: 50%;
}

@media (min-width: 768px) {
	.flex--four > * {
		flex-basis: 33.33%;
		max-width: 33.33%;
	}
}
    @media (min-width: 960px) {
	.flex--four > * {
		flex-basis: 25%;
		max-width: 25%;
	}
}
@media (min-width: 480px) {
	.wp-block-column .flex--three > *, .wp-block-column .paginated-posts--grid > *, .wp-block-column .flex--four > * {
		flex-basis: 50%;
		max-width: 50%;
	}
}

.flex--reverse-cols-on-mobile > *:nth-child(1) {
	order: 2;
}

.flex--reverse-cols-on-mobile > *:nth-child(2) {
	order: 1;
}

@media (min-width: 768px) {
	.flex--reverse-cols-on-mobile > *:nth-child(1) {
		order: 1;
	}
	
	.flex--reverse-cols-on-mobile > *:nth-child(2) {
		order: 2;
	}
}

.flex--7525 > * {
	flex-basis: 300px;
	flex-grow: 1;
}

.flex--7525 > *:nth-child(1) {
	flex-grow: 1;
}

@media (min-width: 768px) {
	.flex--7525 > *:nth-child(2) {
		flex-grow: 0;
	}
}
@media (min-width: 480px) {
	.flex--4060 > * {
		flex-basis: 160px;
	}
}
  @media screen and (min-width: 480px) and (min-width: 320px) {
	.flex--4060 > * {
		flex-basis: calc(160px + 140 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 480px) and (min-width: 1280px) {
	.flex--4060 > * {
		flex-basis: 300px;
	}
}
@media (min-width: 480px) {
	.flex--4060 > *:nth-child(1) {
		flex-grow: 0;
	}
	
	.flex--4060 > *:nth-child(2) {
		flex-grow: 1;
	}
}

@media (min-width: 768px) {
	.flex--6040 > * {
		flex-basis: 40%;
	}
}

.flex--6040 > *:nth-child(1) {
	flex-grow: 1;
}

.flex--6040 > *:nth-child(2) {
	flex-grow: 1;
}

@media (min-width: 768px) {
	.flex--6040 > *:nth-child(2) {
		flex-grow: 0;
	}
}
.flex--5050 > * {
	flex-basis: 50%;
}

.primarynav {
	display: flex;
	justify-content: flex-end;
	touch-action: manipulation;
}

@media (min-width: 768px) {
	.primarynav {
		clear: none;
		padding-top: 2vmax;
	}
}
  @media (min-width: 960px) {
	.primarynav {
		padding-top: 0;
	}
}
  .primarynav ul {
	font-size: 12px;
}

@media screen and (min-width: 320px) {
	.primarynav ul {
		font-size: calc(12px + 2 * (100vw - 320px) / 960);
	}
}
    @media screen and (min-width: 1280px) {
	.primarynav ul {
		font-size: 14px;
	}
}
  .primarynav li:hover > .sub-menu, .primarynav li .simulate-hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.primarynav a {
	touch-action: manipulation;
	display: block;
	padding: 1rem;
}

.primarynav .top-menu {
	display: none;
	text-align: center;
	position: relative;
	font-weight: 700;
	text-transform: uppercase;
	background-color: #921931;
}

@media (min-width: 768px) {
	.primarynav .top-menu {
		display: flex;
	}
}
    .primarynav .top-menu > li {
	white-space: nowrap;
}

.primarynav .top-menu.open {
	display: block;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: scroll;
	z-index: 9999;
}

.primarynav .top-menu.open .sub-menu {
	opacity: 1;
	visibility: visible;
	position: relative;
	max-width: none;
}

.primarynav .top-menu > .menu-item-has-children > a:after {
	content: '\2304';
	position: relative;
	margin-left: .3em;
	top: -.3em;
}

.primarynav .top-menu li:hover {
	background-color: #671222;
}

.primarynav .top-menu a {
	color: #ffffff;
}

.primarynav .sub-menu {
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transition: all 150ms linear 150ms;
    /* slight delay to mimic hover intent*/
	position: absolute;
	font-weight: 400;
	text-transform: none;
	background-color: #fafafa;
	border: 1px solid #cccccc;
	min-width: 120px;
	max-width: 240px;
	z-index: 9999;
}

.primarynav .sub-menu > li {
	position: relative;
}

.primarynav .sub-menu > li:hover {
	background-color: #ebebeb;
}

.primarynav .sub-menu > li:hover a {
	color: #a81d38;
}

.primarynav .sub-menu li:not(:last-child) {
	border-bottom: 1px solid #cccccc;
}

.primarynav .sub-menu a {
	color: #000000;
}

.primarynav .sub-menu > li > .sub-menu {
	left: 100%;
	top: 0;
}

.sitemeta {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

@media (min-width: 768px) {
	.sitemeta {
		margin: 0 0 2vmax auto;
	}
}
  .sitemeta * {
	color: #ffffff;
}

.sitemeta__phone, .sitemeta__address {
	font-size: 1.2rem;
}

@media (min-width: 768px) {
	.sitemeta__phone, .sitemeta__address {
		font-size: 13px;
	}
}
  @media screen and (min-width: 768px) and (min-width: 320px) {
	.sitemeta__phone, .sitemeta__address {
		font-size: calc(13px + 1 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 768px) and (min-width: 1280px) {
	.sitemeta__phone, .sitemeta__address {
		font-size: 14px;
	}
}
  .sitemeta__phone-prefix {
	margin-right: .25em;
}

.sitemeta__phone-prefix, .sitemeta__address {
	display: none;
}

@media (min-width: 768px) {
	.sitemeta__phone-prefix, .sitemeta__address {
		display: inline-block;
	}
}
  .sitemeta__address {
	margin-left: 1em;
}

.sitemeta__button.bil-button--reverse {
	display: none;
}

@media (min-width: 480px) {
	.sitemeta__button.bil-button--reverse {
		display: block;
		margin: 0 0 0 1em;
	}
}
.socialnav {
	font-size: 34px;
	margin-left: auto;
}

.socialnav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
}

.socialnav__item {
	margin: 0 .8rem 0 0;
}

.socialnav img, .socialnav a {
	height: 30px;
	display: block;
}

.utilitynav {
	padding: 5px 2vmax;
	color: #ffffff;
}

.utility-menu {
	font-size: 12px;
	display: flex;
	justify-content: center;
}

@media screen and (min-width: 320px) {
	.utility-menu {
		font-size: calc(12px + 2 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 1280px) {
	.utility-menu {
		font-size: 14px;
	}
}
  .utility-menu li {
	text-align: center;
}

.utility-menu li:not(:last-child) {
	border-right: 1px solid rgba(255, 255, 255, 0.5);
	margin-right: .5em;
	padding-right: .5em;
}

@media (min-width: 768px) {
	.utility-menu li:not(:last-child) {
		margin-right: 1em;
		padding-right: 1em;
	}
}
  .utility-menu a {
	color: #ffffff;
}

.accordion dt {
	margin-top: 0;
}

.accordion__trigger {
	transition: height 0.2s ease-in-out, opacity 0.2s ease-in-out;
	padding: 0.5em calc(1em + 24px) 0.5em 1em;
	cursor: pointer;
	border: 1px solid #d9d9d9;
	background-color: #f2f2f2;
	background-image: url(../images/arrow-down.svg);
	background-position: center right .5em;
	background-repeat: no-repeat;
	background-size: 24px 24px;
}

.accordion__trigger.active {
	background-image: url(../images/arrow-up.svg);
	background-color: #ffffff;
	border: 1px solid #ffffff;
	color: #a81d38;
}

.accordion__trigger:hover {
	color: #a81d38;
}

.accordion__content {
	transition: height 0.2s ease-in-out, opacity 0.2s ease-in-out;
	overflow: hidden;
	opacity: 0;
	padding: 0 1em 3px 1em;
}

.accordion__content.active {
	overflow: visible;
	opacity: 1;
}

.acf-block-preview .accordion__trigger {
	margin-bottom: 3px;
}

.acf-block-preview .accordion__content {
	display: none;
}

.child-pages {
	list-style: none;
	padding: 0;
}

.child-pages__item {
	text-align: center;
}

.child-pages__item-link {
	position: relative;
	padding: 6vh 1vmax;
	display: block;
	color: #ffffff;
	height: 100%;
	background-color: rgba(57, 90, 109, 0.85);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 18vh;
}

.child-pages__item-link:hover {
	background-color: #395a6d;
}

.child-pages__item-icon {
	height: 32px;
	width: auto;
	filter: invert(99%) sepia(100%) saturate(5%) hue-rotate(143deg) brightness(105%) contrast(100%);
}

.child-pages__item-title h4 {
	margin: .25em 0 0 0;
}

.child-pages__item-background {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -1;
}

.child-pages__item-background img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.wp-block-column .alignfull, .alignwide {
	width: auto !important;
	margin: auto !important;
}

.wp-block-column .wrapper, .wp-block-column .main {
	padding: 0;
}

.company-info .address {
	margin: 1rem 0;
	display: block;
}

.company-info .address .comma {
	display: none;
}

.company-info .address .space {
	display: none;
}

.company-info .address .street {
	display: block;
}

.company-info .address .zipcode {
	display: block;
}

.company-info .socialnav img {
	filter: brightness(0) saturate(100%) invert(30%) sepia(37%) saturate(519%) hue-rotate(158deg) contrast(86%);
}

.cta-block {
	background-color: #395a6d;
	display: block;
}

.cta {
	padding: 2vmax;
	color: #ffffff;
	text-align: center;
}

.hero-block ul {
	list-style: none;
	padding: 0;
}

.hero-block.alignfull .hero {
	padding-left: 0;
	padding-right: 0;
}

.hero {
	background-size: cover;
	background-position: center 25%;
	height: 50vh;
}

.hero .wrapper, .hero .main {
	display: flex;
	height: 100%;
	align-items: flex-end;
}

.hero__caption {
	background-color: rgba(57, 90, 109, 0.85);
	color: #ffffff;
	padding: 1rem 2rem 2rem 2rem;
	margin-bottom: calc(34px + 4vh);
}

@media (min-width: 768px) {
	.hero__caption {
		max-width: 60%;
		margin-bottom: 2vmax;
	}
}
    @media (min-width: 960px) {
	.hero__caption {
		max-width: 50%;
		bottom: 2vmax;
	}
}
    .hero__caption-title {
	color: #ffffff;
	text-shadow: 0 0 10px #395a6d;
	line-height: 1.1;
}

.hero__caption-subtitle {
	text-shadow: 0 0 10px #395a6d;
	margin-bottom: 1em;
}

.hero__buttons a {
	margin: 0;
}

.wp-block-latest-posts__post-date {
	font-weight: 700;
	font-size: .75rem;
	text-transform: uppercase;
	color: #000000;
}

.map-block .acf-map {
	min-height: 40vh;
}

.paginated-posts {
	list-style: none;
	padding: 0;
}

.paginated-posts__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.paginated-posts__item-title {
	margin-top: 0;
}

.paginated-posts__item-excerpt {
	margin-bottom: .5em;
}

.paginated-posts__item--testimonial {
	margin: 3vh auto;
}

@media (min-width: 960px) {
	.paginated-posts__item--testimonial {
		max-width: 960px;
	}
}
    .paginated-posts__item--testimonial .paginated-posts__item-title {
	margin: 0;
}

.paginated-posts__item--testimonial .paginated-posts__item-title:after {
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 10px solid #d9d9d9 !important;
}

.paginated-posts__item--testimonial .paginated-posts__item-excerpt {
	border: 2px solid #d9d9d9 !important;
	background-color: #f2f2f2 !important;
}

.paginated-posts__item--testimonial .paginated-posts__item-excerpt p:last-child {
	margin-bottom: 0;
}

.paginated-posts--grid .paginated-posts__item-image {
	border: 1px solid gray;
	padding: 1vmax;
	border-radius: 5px;
	background-color: rgba(0, 0, 0, 0.05);
}

.paginated-posts--grid .paginated-posts__item-img {
	margin: auto;
}

@media (min-width: 768px) {
	.paginated-posts--grid .paginated-posts__item-img {
		max-width: 75%;
	}
}
  @media (min-width: 768px) {
	.paginated-posts--grid .paginated-posts__item-img {
		max-width: 50%;
	}
}
.paginated-posts--grid .paginated-posts__item-title {
	margin-top: .35em;
}

.category-filters {
	list-style: none;
	padding: 0;
	margin: 0 0 2vmax 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.category-filters__link {
	text-transform: none !important;
}

.category-filters__link--current.bil-button--ghost {
	color: #ffffff;
	border: 1px solid #000000;
	background-color: #000000;
}

#loader {
	opacity: 0;
}

#loader.loading {
	opacity: 1;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.7);
	background-image: url(../images/loading.gif);
	background-repeat: no-repeat;
	background-position: center center;
	transition: opacity 0.2s ease-in-out;
}

.recent-posts-grid {
	list-style: none;
	padding: 0;
}

.recent-posts-grid__item-caption p:last-of-type {
	margin-bottom: .75em;
}

.related-posts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.related-posts__item {
	margin-bottom: .5rem;
}

.team {
	list-style: none;
	padding: 0;
}

.team__item {
	text-align: center;
}

.team__item h4 {
	margin: 0;
}

.berardi-single-team h4 {
	margin: 0;
}

.berardi-single-team__email {
	margin: 0 0 2em 0;
	display: inline-block;
}

.testimonials-block {
	color: #ffffff;
	background-color: #395a6d;
	padding-top: 2vmax;
	padding-bottom: 4vh;
}

.testimonials-block.alignwide {
	padding-left: 2vmax;
	padding-right: 2vmax;
	background-color: #ffffff;
}

.testimonials-block.alignwide h3, .testimonials-block.alignwide cite {
	color: #000000;
}

.testimonials {
	margin: 0;
	list-style: none;
}

.testimonials__item {
	padding: 0 .25rem;
}

.testimonials__item-person, .paginated-posts__item--testimonial .paginated-posts__item-title {
	font-size: 18px;
	font-family: eb-garamond;
	font-style: normal;
	position: relative;
	display: block;
	padding-bottom: .5em;
}

@media screen and (min-width: 320px) {
	.testimonials__item-person, .paginated-posts__item--testimonial .paginated-posts__item-title {
		font-size: calc(18px + 8 * (100vw - 320px) / 960);
	}
}
      @media screen and (min-width: 1280px) {
	.testimonials__item-person, .paginated-posts__item--testimonial .paginated-posts__item-title {
		font-size: 26px;
	}
}
      .testimonials__item-person:after, .paginated-posts__item--testimonial .paginated-posts__item-title:after {
	content: " ";
	position: absolute;
	bottom: 0;
	left: 1em;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 8px solid #ffffff;
}

.testimonials__item-quote, .paginated-posts__item--testimonial .paginated-posts__item-excerpt {
	margin: 0;
	padding: 2vmax;
	border: 2px solid #ffffff;
	background-color: #477088;
}

input[type="submit"] {
	border: none;
	-webkit-appearance: none;
	appearance: none;
}

[class^="bil-button--"], [class*=" bil-button--"], input[type="submit"], .nf-form-content .submit-wrap input {
	font-size: 12px;
	font-weight: 700;
	margin: 0 .75em .75em 0;
	padding: .45rem 1.25rem;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-block;
	-webkit-appearance: none;
	-moz-appearance: none;
}

@media screen and (min-width: 320px) {
	[class^="bil-button--"], [class*=" bil-button--"], input[type="submit"], .nf-form-content .submit-wrap input {
		font-size: calc(12px + 2 * (100vw - 320px) / 960);
	}
}
  @media screen and (min-width: 1280px) {
	[class^="bil-button--"], [class*=" bil-button--"], input[type="submit"], .nf-form-content .submit-wrap input {
		font-size: 14px;
	}
}
  [class^="bil-button--"]:hover, [class*=" bil-button--"]:hover, input[type="submit"]:hover, .nf-form-content .submit-wrap input:hover {
	transform: scale(1.07);
	cursor: pointer !important;
}

.bil-button--primary, .main .nf-form-content .submit-wrap input {
	color: #ffffff;
	background-color: #a81d38;
}

.bil-button--secondary {
	color: #ffffff;
	background-color: #395a6d;
}

.bil-button--reverse {
	color: #000000;
	background-color: #ffffff;
}

.bil-button--reverse-ghost, .has-berardi-blue-background-color .nf-form-content .submit-wrap input, .cta-block [class^="bil-button--"], .cta-block [class*=" bil-button--"], .cta-block input[type="submit"], .cta-block .nf-form-content .submit-wrap input, .bil-button--reverse-ghost:hover {
	color: #ffffff;
	border: 1px solid #ffffff;
	background-color: transparent;
}

.bil-button--ghost {
	color: #000000;
	border: 1px solid rgba(0, 0, 0, 0.35);
}

.bil-button--ghost:hover {
	color: #ffffff;
	border: 1px solid #333333;
	background-color: #333333;
}

.bil-button--text {
	padding: 0;
}

.desktop-only {
	display: none;
}

@media (min-width: 768px) {
	.desktop-only {
		display: inline;
	}
}
.sidebar-list, .custom-menu-block ul, .recent-posts-list, .wp-block-latest-posts {
	margin: 0 0 2rem 0;
	padding-left: 1.2em;
	color: #999999;
}

.sidebar-list li, .custom-menu-block ul li, .recent-posts-list li, .wp-block-latest-posts li {
	margin-bottom: .65rem;
	line-height: 1.25;
}

.sidebar-list a, .custom-menu-block ul a, .recent-posts-list a, .wp-block-latest-posts a {
	text-decoration: underline;
}

.contacts {
	list-style: none;
	padding: 0;
}

.margin-top {
	margin-top: 5vh;
}

.margin-bottom {
	margin-bottom: 5vh;
}

.postmeta {
	font-weight: 700;
	font-size: .75rem;
	text-transform: uppercase;
}

.postmeta__date, .postmeta__categories, .postmeta__tags, .postmeta__source {
	margin: .25rem 0;
	color: #595959;
}

.postmeta a {
	text-decoration: none;
	display: inline-block;
}

.postmeta a:not(:last-child):after {
	content: " | ";
	color: #000000;
}

.single-post .postmeta {
	margin-bottom: 2rem;
}

@media print {
	* {
		background: transparent !important;
		color: black !important;
		box-shadow: none !important;
		text-shadow: none !important;
		filter: none !important;
		-ms-filter: none !important;
	}
	
	a, a:visited {
		text-decoration: underline;
	}
	
	a[href]:after {
		content: " (" attr(href) ")";
	}
	
	abbr[title]:after {
		content: " (" attr(title) ")";
	}
	
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
		content: "";
	}
	
	pre, blockquote {
		border: 1px solid #999999;
		page-break-inside: avoid;
	}
	
	thead {
		display: table-header-group;
	}
	
	tr, img {
		page-break-inside: avoid;
	}
	
	img {
		max-width: 100% !important;
	}
	  @page {
	margin: 0.5cm;
	}
	  p, h2, h3 {
		orphans: 3;
		widows: 3;
	}
	
	h2, h3 {
		page-break-after: avoid;
	}
}

.wp-block-embed__wrapper {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.wp-block-image .alignright {
	margin: 0.8rem 0 1vmax 2vmax;
}

.wp-block-image .alignleft {
	margin: 0.8rem 2vmax 1vmax 0;
}

@media (min-width: 480px) {
	.wp-block-image .alignright, .wp-block-image .alignleft {
		max-width: 50%;
	}
}

.wp-block-image .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-image.alignfull {
	margin-bottom: 0;
}

.alignleft {
	float: left;
}

.aligncenter {
	text-align: center;
}

.alignright {
	float: right;
}

@media (min-width: 600px) {
	.wp-block-columns {
		margin-left: -1vmax;
		margin-right: -1vmax;
	}
}

.wp-block-columns .wp-block-column {
	padding: 0 0 2vmax 0;
}

@media (min-width: 600px) {
	.wp-block-columns .wp-block-column {
		margin: 0;
		padding: 0 1vmax;
	}
}
.widget {
	margin-bottom: 2vmax;
}

.widget h3:first-child {
	margin-top: 0;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
}

.pagination .nav-links a {
	color: black;
}

.pagination .nav-links .page-numbers {
	font-size: 16px;
	margin: 0 .25em;
	padding: .5rem .8rem;
	line-height: 1;
	display: inline-block;
	font-weight: 700;
	text-align: center;
	color: black;
	background-color: rgba(0, 0, 0, 0.15);
}

@media screen and (min-width: 320px) {
	.pagination .nav-links .page-numbers {
		font-size: calc(16px + 4 * (100vw - 320px) / 960);
	}
}
    @media screen and (min-width: 1280px) {
	.pagination .nav-links .page-numbers {
		font-size: 20px;
	}
}
    .pagination .nav-links .page-numbers.current {
	color: white;
	background-color: #a81d38;
}

.pagination .nav-links .page-numbers.dots {
	background-color: transparent;
	padding-left: .25rem;
	padding-right: .25rem;
}

.pagination .nav-links .page-numbers.next, .pagination .nav-links .page-numbers.prev {
	display: none;
}

.screen-reader-text {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.screen-reader-text.focusable:active, .screen-reader-text.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.wp-block-embed-youtube {
	overflow: hidden;
	position: relative;
	max-width: 100%;
	height: auto;
	padding-bottom: 56.25%;
}

.wp-block-embed-youtube iframe, .wp-block-embed-youtube object, .wp-block-embed-youtube embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* vendor/_animated-burger.scss */
/* https://codepen.io/designcouch/pen/Atyop */

#menuicon {
	width: 24px;
	height: 20px;
	position: relative;
	cursor: pointer;
}

#menuicon span {
	display: block;
	position: absolute;
	height: 4px;
	width: 50%;
	left: 0;
	background-color: #ffffff;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: 0.25s ease-in-out;
	-moz-transition: 0.25s ease-in-out;
	-o-transition: 0.25s ease-in-out;
	-ms-transition: 0.25s ease-in-out;
	transition: 0.25s ease-in-out;
}

#menuicon span:nth-child(even) {
	left: 50%;
}

#menuicon span:nth-child(odd) {
	left: 0px;
}

#menuicon span:nth-child(1), #menuicon span:nth-child(2) {
	top: 0;
}

#menuicon span:nth-child(3), #menuicon span:nth-child(4) {
	top: 8px;
}

#menuicon span:nth-child(5), #menuicon span:nth-child(6) {
	top: 16px;
}

#menuicon.open span:nth-child(1), #menuicon.open span:nth-child(6) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

#menuicon.open span:nth-child(2), #menuicon.open span:nth-child(5) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

#menuicon.open span:nth-child(1), #menuicon.open span:nth-child(5) {
	left: 2px;
}

#menuicon.open span:nth-child(1), #menuicon.open span:nth-child(2) {
	top: 5px;
}

#menuicon.open span:nth-child(5), #menuicon.open span:nth-child(6) {
	top: 12px;
}

#menuicon.open span:nth-child(2) {
	left: calc(50% - 2px);
}

#menuicon.open span:nth-child(3) {
	left: -50%;
	opacity: 0;
}

#menuicon.open span:nth-child(4) {
	left: 100%;
	opacity: 0;
}

#menuicon.open span:nth-child(6) {
	left: calc(50% - 2px);
}

.main .nf-form-layout {
	margin: 0;
}

.main .nf-form-content {
	padding: 0;
}

.has-berardi-blue-background-color .nf-form-content {
	color: #ffffff;
}

.mailchimp-optin-wrap .nf-field-label label {
	display: flex !important;
	height: auto !important;
	flex-direction: row-reverse;
	align-items: center;
}

.mailchimp-optin-wrap .nf-field-label label:after {
	position: relative !important;
	top: 0;
	margin-right: .5em;
}

/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */

.owl-carousel, .owl-carousel .owl-item {
	-webkit-tap-highlight-color: transparent;
	position: relative;
}

.owl-carousel {
	display: none;
	width: 100%;
	z-index: 1;
}

.owl-carousel .owl-stage {
	position: relative;
	-ms-touch-action: pan-Y;
	touch-action: manipulation;
	-moz-backface-visibility: hidden;
}

.owl-carousel .owl-stage:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.owl-carousel .owl-stage-outer {
	position: relative;
	overflow: hidden;
	-webkit-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item, .owl-carousel .owl-wrapper {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item {
	min-height: 1px;
	float: left;
	-webkit-backface-visibility: hidden;
	-webkit-touch-callout: none;
}

.owl-carousel .owl-item img {
	display: block;
	width: 100%;
}

.owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
	display: none;
}

.no-js .owl-carousel, .owl-carousel.owl-loaded {
	display: block;
}

.owl-carousel .owl-dot, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev {
	cursor: pointer;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
	background: 0 0;
	color: inherit;
	border: none;
	padding: 0 !important;
	font: inherit;
}

.owl-carousel.owl-loading {
	opacity: 0;
	display: block;
}

.owl-carousel.owl-hidden {
	opacity: 0;
}

.owl-carousel.owl-refresh .owl-item {
	visibility: hidden;
}

.owl-carousel.owl-drag .owl-item {
	-ms-touch-action: pan-y;
	touch-action: pan-y;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.owl-carousel.owl-grab {
	cursor: move;
	cursor: grab;
}

.owl-carousel.owl-rtl {
	direction: rtl;
}

.owl-carousel.owl-rtl .owl-item {
	float: right;
}

.owl-carousel .animated {
	animation-duration: 1s;
	animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {
	z-index: 0;
}

.owl-carousel .owl-animated-out {
	z-index: 1;
}

.owl-carousel .fadeOut {
	animation-name: fadeOut;
}

@keyframes fadeOut {
0% {
	opacity: 1;
}

100% {
	opacity: 0;
}
}

.owl-height {
	transition: height .5s ease-in-out;
}

.owl-carousel .owl-item .owl-lazy {
	opacity: 0;
	transition: opacity .4s ease;
}

.owl-carousel .owl-item .owl-lazy:not([src]), .owl-carousel .owl-item .owl-lazy[src^=""] {
	max-height: 0;
}

.owl-carousel .owl-item img.owl-lazy {
	transform-style: preserve-3d;
}

.owl-carousel .owl-video-wrapper {
	position: relative;
	height: 100%;
	background: #000;
}

.owl-carousel .owl-video-play-icon {
	position: absolute;
	height: 80px;
	width: 80px;
	left: 50%;
	top: 50%;
	margin-left: -40px;
	margin-top: -40px;
	background: url(owl.video.play.png) no-repeat;
	cursor: pointer;
	z-index: 1;
	-webkit-backface-visibility: hidden;
	transition: transform .1s ease;
}

.owl-carousel .owl-video-play-icon:hover {
	-ms-transform: scale(1.3, 1.3);
	transform: scale(1.3, 1.3);
}

.owl-carousel .owl-video-playing .owl-video-play-icon, .owl-carousel .owl-video-playing .owl-video-tn {
	display: none;
}

.owl-carousel .owl-video-tn {
	opacity: 0;
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	transition: opacity .4s ease;
}

.owl-carousel .owl-video-frame {
	position: relative;
	z-index: 1;
	height: 100%;
	width: 100%;
}

/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */

.owl-theme {
	margin: 0;
	padding: 0;
	list-style: none;
}

.owl-theme .owl-wrapper {
	display: table !important;
}

.owl-theme .owl-item {
	display: table-cell;
	float: none;
	vertical-align: middle;
}

.owl-theme .owl-item > div {
	text-align: center;
}

.owl-theme .owl-dots, .owl-theme .owl-nav {
	text-align: center;
	-webkit-tap-highlight-color: transparent;
}

section[class*="-block"] .owl-theme .owl-nav {
	margin-top: 1rem;
	display: flex;
	justify-content: center;
}

section[class*="-block"] .owl-theme .owl-nav.disabled {
	display: none;
}

section[class*="-block"] .owl-theme .owl-nav button, section[class*="-block"] .owl-theme .owl-nav button:hover {
	transition: background-color 0.2s ease-in-out;
	width: 34px;
	height: 34px;
	background-size: 20px 20px;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #273e4c;
	background-color: #395a6d;
	display: block;
	border-radius: 0;
	margin: 0;
}

section[class*="-block"] .owl-theme .owl-nav button:hover {
	background-color: #4b768e;
}

section[class*="-block"] .owl-theme .owl-nav .owl-prev {
	background-image: url(../images/arrow-left.svg) !important;
	margin: 0 .5em 0 0 !important;
}

section[class*="-block"] .owl-theme .owl-nav .owl-next {
	background-image: url(../images/arrow-right.svg) !important;
	margin: 0 0 .5em 0 !important;
}

section[class*="-block"] .owl-theme .owl-nav span {
	display: none;
}

section[class*="-block"] .owl-overlay-nav {
	position: relative;
}

section[class*="-block"] .owl-overlay-nav .owl-nav {
	position: relative;
	margin-top: calc(-34px - 2vh);
}

@media (min-width: 960px) {
	section[class*="-block"] .owl-overlay-nav .owl-nav {
		transition: opacity .2s ease;
		position: absolute;
		width: 100%;
		margin: 0;
		padding: 0 2vmax;
		justify-content: space-between;
		top: calc( 50% - 19px);
		opacity: 0;
	}
}
  section[class*="-block"] .owl-overlay-nav:hover .owl-nav {
	opacity: 1;
}

.owl-theme .owl-nav [class*=owl-] {
	color: #FFF;
	font-size: 14px;
	margin: 5px;
	padding: 4px 7px;
	background: #D6D6D6;
	display: inline-block;
	cursor: pointer;
	border-radius: 3px;
}

.owl-theme .owl-nav [class*=owl-]:hover {
	background: #869791;
	color: #FFF;
	text-decoration: none;
}

.owl-theme .owl-nav .disabled {
	opacity: .5;
	cursor: default;
}

.owl-theme .owl-nav.disabled + .owl-dots {
	margin-top: 10px;
}

.owl-theme .owl-dots .owl-dot {
	display: inline-block;
	zoom: 1;
}

.owl-theme .owl-dots .owl-dot span {
	width: 10px;
	height: 10px;
	margin: 5px 7px;
	background: #D6D6D6;
	display: block;
	-webkit-backface-visibility: visible;
	transition: opacity .2s ease;
	border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
	background: #869791;
}
