/* Theme Name: Frederick and Sons  */
/* === Global === */
a {
	color: var(--color-1);
}
a:hover,
a:focus {
	color: var(--color-3);
}
.btn,
.gform_wrapper.gravity-theme .gform_footer input.button {
	background-color: var(--color-4);
	border-radius: 0;
	color: #000;
	letter-spacing: .1em;
	text-transform: uppercase;
	transition: all ease .5s;
	display: inline-block;
	margin-bottom: 0;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	touch-action: manipulation;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	padding: .5em 1.5em;
	font-size: 14px;
	line-height: 1.42857143;
	user-select: none;
}
.btn:hover,
.btn:focus,
.gform_wrapper.gravity-theme .gform_footer input.button:hover,
.gform_wrapper.gravity-theme .gform_footer input.button:focus {
	background-color: var(--color-2);
	color: #000;
}

/* === Header/Nav === */
.primary-header {
	padding: 10px 0;
}
.primary-header .header-row {
	justify-content: center;
}
.primary-header .logo-col {
	display: flex;
	align-items: center;
}
.primary-header .nav-col {
	display: flex;
	flex-direction: column;
	margin-left: 30px;
	justify-content: flex-end;
}
.primary-header .nav-col .main-nav {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}
.primary-header .c2a {
	border-bottom: 2px solid #000;
	padding: 0 20px 6px;
	justify-content: space-between;
	align-items: flex-end;
}
.primary-header .c2a .contact-col {
	display: flex;
	column-gap: 30px;
	align-items: center;
	font-size: 18px;
}
.primary-header .c2a .contact-col .fas {
	margin-right: 1em;
}
.main-nav .menu {
	justify-content: flex-end;
}
.main-nav .menu li {
	margin: 0;
}
.main-nav .menu li a {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 15px 12px 5px;
	white-space: nowrap;
}
.social {
	display: flex;
	font-size: 20px;
}
.social .link a {
	padding: 0 .15em;
}

/* === Footer === */
.primary-footer {
	padding-top: 20px;
	border-top: 2px solid var(--color-2);
}
.primary-footer .form-col .gform_wrapper.gravity-theme .gform_fields {
	display: grid;
	grid-row-gap: 0;
	grid-column-gap: 0;
	grid-template-columns: [col1] 1fr [_col1] 16px [col2] 1fr [_col2];
	grid-template-rows: [row1] 1fr [_row1] 8px [row2] 1fr [_row2] 8px [row3] 1fr [_row3];
}
.primary-footer .form-col .gform_wrapper.gravity-theme .gform_fields .gfield:nth-child(n) {
	margin: 0;
	padding: 0;
	grid-column: auto;
}
.primary-footer .form-col .gform_wrapper.gravity-theme .gform_fields .gfield:nth-child(1) {
	grid-column-start: col1;
	grid-column-end: _col2;
	grid-row-start: row1;
	grid-row-end: _row1;
}
.primary-footer .form-col .gform_wrapper.gravity-theme .gform_fields .gfield:nth-child(2) {
	grid-column-start: col1;
	grid-column-end: _col1;
	grid-row-start: row2;
	grid-row-end: _row2;
}
.primary-footer .form-col .gform_wrapper.gravity-theme .gform_fields .gfield:nth-child(3) {
	grid-column-start: col1;
	grid-column-end: col1;
	grid-row-start: row3;
	grid-row-end: _row3;
}
.primary-footer .form-col .gform_wrapper.gravity-theme .gform_fields .gfield:nth-child(4) {
	grid-column-start: col2;
	grid-column-end: _col2;
	grid-row-start: row2;
	grid-row-end: _row3;
}
.primary-footer .form-col .gform_wrapper.gravity-theme .ginput_container {
	margin: 0;
	display: flex;
}
.primary-footer .form-col .gform_wrapper.gravity-theme textarea.medium {
	height: 93px;
}
.primary-footer .form-col .gform_wrapper.gravity-theme .gfield_label,
.primary-footer .form-col .gform_wrapper.gravity-theme .field_sublabel_below .ginput_complex.ginput_container label {
	display: none;
}
.primary-footer .form-col .gform_wrapper.gravity-theme .gform_footer {
	padding: 0;
	margin: 8px 0 0;
}
.primary-footer .form-col .gform_wrapper.gravity-theme .gform_footer input.button {
	width: 100%;
	margin: 0;
}
.primary-footer .footer-row {
	column-gap: 30px;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 12px;
}
.primary-footer .footer-row .contact-col {
	flex: 0 1 350px;
	font-size: 16px;
}
.primary-footer .footer-row .contact-col .logo {
	margin-bottom: 20px;
	max-width: 250px;
}
.primary-footer .footer-row .contact-col .phone {
	margin-bottom: 10px;
}
.primary-footer .footer-row .contact-col .phone a {
	display: inline-block;
	margin-left: 1em;
}
.primary-footer .footer-row .form-col {
	flex: 0 1 600px;
}
.primary-footer .footer-row .form-col h2 {
	border-bottom: 2px solid #000;
	padding-bottom: 5px;
	padding-left: 15px;
}
.primary-footer .sitemap {
	padding: 12px 0;
	border-top: 2px solid #000;
}
.primary-footer .sitemap .menu {
	flex-wrap: wrap;
}
.primary-footer .sitemap-row {
	justify-content: center;
	flex-wrap: wrap;
}
.primary-footer .sitemap-row .social {
	margin-left: 20px;
}
.primary-footer .copyright {
	background-color: var(--color-2);
	padding: 10px 0;
}

/* === Home Page === */
.banner-section video {
	width: 100%;
}
.banner-section .overlay {
	min-width: 0;
	bottom: auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: none;
	font-size: 24px;
	width: 100%;
	padding: 15px;
	color: #fff;
	text-shadow: 0 0 8px #000;
}
.banner-section .overlay .btn {
	text-shadow: none;
	font-size: 18px;
}
.banner-section .overlay h1 {
	font-weight: 700;
	font-size: 48px;
	color: #fff;
}
.banner-section .image img,
.banner-section .video video {
	height: 40vw;
	object-fit: cover;
	object-position: 50% 50%;
	filter: brightness(0.85);
}
.main-section {
	margin: 50px 0;
}
.feature-section .features {
	display: grid;
	--grid-rows: [row1] min(350px, max(25vw, 200px)) [_row1] 0 [row2] min(350px, max(25vw, 200px)) [_row2];
	grid-template-columns: [col1] 1fr [_col1] 0 [col2] 1fr [_col2];
	grid-template-rows: var(--grid-rows);
}
.feature-section .features .feature {
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	padding: 10px;
	color: #fff;
	text-shadow: 0 0 10px #000;
}
.feature-section .features .feature .btn {
	text-shadow: none;
}
.feature-section .features .feature p {
	margin: 0;
}
.feature-section .features .feature .heading {
	font-weight: 700;
	font-size: 28px;
}
.feature-section .features .feature .content {
	margin-top: 50px;
}
.feature-section .features .feature .link {
	margin-top: 50px;
}
.feature-section .features .feature:nth-child(1) {
	grid-column-start: col1;
	grid-column-end: _col1;
	grid-row-start: row1;
	grid-row-end: _row2;
	border-right: 2px solid #fff;
}
.feature-section .features .feature:nth-child(2) {
	grid-column-start: col2;
	grid-column-end: _col2;
	grid-row-start: row1;
	grid-row-end: _row1;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
}
.feature-section .features .feature:nth-child(3) {
	grid-column-start: col2;
	grid-column-end: _col2;
	grid-row-start: row2;
	grid-row-end: _row2;
	border-left: 2px solid #fff;
	border-top: 2px solid #fff;
}
.brands-section {
	padding: 75px 0;
}
.brands-section h2 {
	text-align: center;
}
.brands-section .brand img {
	max-height: 150px;
	width: auto;
}
.testimonial-section {
	background-color: var(--color-2);
	padding: 50px 0;
}
.testimonial-section .owl-carousel {
	max-width: calc(100% - 90px);
	margin: 0 auto;
}
.testimonial-section .owl-carousel .owl-nav button.owl-prev,
.testimonial-section .owl-carousel .owl-nav button.owl-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 32px;
}
.testimonial-section .owl-carousel .owl-nav button.owl-prev {
	left: -45px;
}
.testimonial-section .owl-carousel .owl-nav button.owl-next {
	right: -45px;
}
.testimonial-section .testimonial {
	align-items: center;
	justify-content: center;
	font-size: 21px;
}
.testimonial-section .testimonial .image-col {
	flex: 0 1 300px;
	max-width: 300px;
}
.testimonial-section .testimonial .content-col {
	flex: 0 1 450px;
	padding: 20px 50px;
}
.testimonial-section .testimonial .quote {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 15px;
}
.testimonial-section .testimonial .heading {
	font-size: 24px;
}

/* === Interior Pages === */
/* === Media Queries === */
body.ip .banner-section .image img {
	filter: none;
}
body.ip .banner-section .overlay {
	top: auto;
	transform: translateX(-50%);
	bottom: 30px;
	left: 50%;
	width: 650px;
	max-width: 100%;
}
body.ip .banner-section .overlay:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--color-1);
	opacity: .8;
	z-index: -1;
}
body.ip .banner-section .overlay h1 {
	margin-bottom: 0;
}
.content-section {
	margin: 50px 0;
}
.content-section h2.heading {
	text-align: center;
}
.content-section .content-row {
	flex-wrap: wrap;
	column-gap: 50px;
	row-gap: 20px;
}
.content-section .content-row > .col {
	flex: 1 1 calc(50% - 25px);
	min-width: min(100%, 350px);
}
.content-section .gform_wrapper.gravity-theme {
	text-align: center;
	border: 2px solid var(--color-3);
	padding: 50px;
	max-width: 800px;
	margin: 0 auto;
}
.content-section .gform_wrapper.gravity-theme label {
	display: none;
}
.content-section .gform_wrapper.gravity-theme form {
	max-width: 600px;
	margin: 0 auto;
}
.content-section .gform_wrapper.gravity-theme .gform_footer {
	padding: 0 20px;
}
.content-section .gform_wrapper.gravity-theme .gform_footer input.button {
	display: block;
	width: 100%;
}
.services-section {
	margin-bottom: 50px;
}
.services-section .services {
	flex-wrap: wrap;
	column-gap: 30px;
	row-gap: 30px;
}
.services-section .service {
	flex: 1 1 calc(50% - 20px);
	min-width: 270px;
}
.services-section .service:nth-child(2n + 1) {
	box-shadow: 0 0 5px rgba(0,0,0,.25);
}
.services-section .service:nth-child(2n + 2) {
	box-shadow: 0 0 5px rgba(0,0,0,.25);
}

.services-section .service .content-row {
	padding: 20px 10px;
	column-gap: 20px;
	row-gap: 20px;
	flex-wrap: wrap;
}
.services-section .service .heading {
	border-bottom: 2px solid var(--color-1);
	padding: 10px 20px;
	margin-bottom: 0;
	background-color: #f2f2f2;
	color: var(--color-1);
	font-weight: 700;
}
.services-section .service .image-col {
	flex: 1 1 calc(40% - 10px);
	min-width: 160px;
}
.services-section .service .content {
	flex: 1 1 calc(60% - 10px);
}
.contact-section {
	margin: 50px 0;
}
.contact-section .contact-row {
	flex-wrap: wrap;
	column-gap: 50px;
	row-gap: 20px;
}
.contact-section .col {
	flex: 1 1 calc(50% - 25px);
	border: 2px solid var(--color-3);
	min-width: 270px;
	min-height: 270px;
}
.contact-section .map iframe {
	width: 100%;
	height: 100%;
}
.contact-section .contact-col {
	text-align: center;
	font-size: 18px;
	padding: 50px 30px;
}
.contact-section .contact-col .business-name {
	font-weight: 700;
	font-size: 22px;
	margin-bottom: 10px;
}
.contact-section .contact-col .address {
	margin: 20px 0;
}
.contact-section .contact-col .fas {
	margin-right: .25em;
}
.bottom-content {
	margin: 50px 0;
}
@media screen and (max-width: 1199px) {
	.main-nav .menu li a {
		padding: 12px 6px 5px;
		font-size: 13px;
	}
}
@media screen and (max-width: 991px) {
	.primary-header .nav-col {
		display: none;
	}
	.primary-footer {
		text-align: center;
	}
	.primary-footer .logo {
		margin: 0 auto;
	}
	.primary-footer .contact-col {
		margin-bottom: 30px;
	}
	.mobile-header .mobile-c2a a,
  .mobile-header .mobile-nav a,
  .mobile-header .nav-toggler .toggle-more,
  .mobile-header .nav-toggler {
		color: var(--color-4);
	}
}
@media screen and (max-width: 767px) {
	.primary-footer .form-col .gform_wrapper.gravity-theme .gform_fields {
		display: block;
	}
	.primary-footer .form-col .gform_wrapper.gravity-theme .gform_fields li.gfield {
		margin-bottom: 12px;
	}
	.primary-footer .form-col .gform_wrapper.gravity-theme .ginput_complex span {
		margin-bottom: 8px;
	}
	.primary-footer .form-col .gform_wrapper.gravity-theme .ginput_container:not(.ginput_complex) {
		margin-bottom: 8px;
	}
	.feature-section .features {
		display: block;
	}
	.feature-section .features .feature:nth-child(n) {
		border: none;
		border-bottom: 4px solid #fff;
		height: 275px;
	}
	.feature-section .features .feature .content,
  .feature-section .features .feature .link {
		margin-top: 20px;
	}
	.testimonial-section .owl-carousel {
		max-width: calc(100% - 60px);
	}
	.testimonial-section .owl-carousel .owl-nav button.owl-prev {
		left: -30px;
	}
	.testimonial-section .owl-carousel .owl-nav button.owl-next {
		right: -30px;
	}
	.testimonial-section .testimonial .content-col {
		padding: 20px 10px;
	}
	body.ip .banner-section .overlay {
		position: static;
		transform: none;
		width: auto;
	}
	body.ip .banner-section .overlay:after {
		opacity: 1;
	}
	.content-section .gform_wrapper.gravity-theme {
		border: none;
		padding: 0;
	}
}
@media screen and (max-width: 450px) {
	.contact-section .contact-col {
		font-size: 16px;
	}
	.email .fas + .text {
		display: none;
	}
}
