/*
 Theme Name:   BELFOR Family
 Theme URI:    https://rhodehamel.co
 Description:  BELFOR Family Child Theme
 Author:       Drew Rhodehamel
 Author URI:   http://rhodehamel.co
 Template:     WP-Skeleton-Theme-master
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  skelton
*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

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

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
 

/* Non-Gerneric
--------------------------------------------- */

html { 
    margin-top:0px;
    height:100% !important;
}
body {
    padding: 0;
    width:100%;
    height:100% !important;
}

.container { padding: 1em; }
.wrapper { width: 100%; padding-bottom:0; }

footer {
    width:100%;
    background: #F0F0F0;
    position: relative;
    text-align:center;
}

footer .footer-logos {
	display:block;
	position:relateive;
	max-width:1280px;
	margin:0 auto;
	padding:40px 20px;
}

footer .footer-logos .footer-logos-inner {
  /*
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  */
  align-items: center;
  align-content: center;
}
footer .footer-logos .footer-logos-inner a {
  flex: 0 0 auto;
  margin: 10px;
}

footer .footer-logos .footer-logos-inner a:nth-of-type(1) img {
  height:95px;
  width:auto;
}

footer .footer-logos .footer-logos-inner a:nth-of-type(2) img,
footer .footer-logos .footer-logos-inner a:nth-of-type(3) img {
  height:70px;
  width:auto;
}

footer .footer-bottom {
	padding:10px 20px;
	background-color:#D7D7D7;
	color:#000
}

footer .footer-bottom p {
	color:#000;
	margin:0;
	font-size:0.75em;
}


@media (max-width:1040px) {
	footer .footer-logos .footer-logos-inner a:nth-of-type(1) img {
	  height:auto;
	  width:300px;
	}
}

@media (max-width:810px) {
	footer .footer-logos .footer-logos-inner {
		display: block;
	}
	footer .footer-logos .footer-logos-inner a {
		display: block;
	}	
}
header.entry-header {
    display: none;
}
html, body, h1, h2, h3, h4, h5, h6, p, span, div, strong {
    font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.red { color: #ff0000; }
.container .sixteen.columns {
    width: 100%;
}
p.red-highlight {
    background-color: #fe0000;
    color: white;
    font-weight: bold;
    display: inline-block;
    padding: 8px 12px;
}
.header {
    height: 85px;
    border-bottom: 1px solid #ddd;
    margin: 40px;
    clear: both;
}
.zip-code-search {
    border-radius: 5px;
    border-width: 1px;
    border-color: #202020;
}
input[type="text"], input[type="password"], input[type="email"], textarea, select { display: inline-block; }
.zip-code-search-btn {
    background: black;
    color: white;
    font-weight: bold;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
    padding: 8px 12px;
    font-family: Arial;
}

.container { width: 100%; padding: 0;  }

/* BG Image Slider */
#cycler{ position:relative; }
#cycler img{ position:absolute; z-index:1; background-color:white }
#cycler img.active{ z-index:3 }
#primary { width:90%; margin: 0 auto; }
#search-container { width: 90%; margin: 0 auto; }

div#thrive-footer {
    position: fixed !important;
    bottom: 0 !important;
    z-index: 1000;
}
.bfg-results { padding-bottom: 100px; word-break: break-word;}
.bfg-location-data { max-width:100%; }

.top-red-bar { height: 15px !important; overflow: hidden; }

#bgSlideContainer { min-height: 600px; }
#bgSlideContainer video { max-width: 100% !important; }

.cycle-bg-image {
    width: 100% !important;
    min-height: 375px;
}


/* Header
--------------------------------------------- */

body.page-template .header {
	height: auto;
	border-bottom: none;
	margin: 0 auto !important;
	clear: both;
	padding:20px 40px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	align-content: center
}

body.page-template .header .head-block {
	flex: 0 0 auto;
}

body.page-template .header .logo img {
	width:250px;
	height:auto;
}

body.page-template .header .head-phone {
	max-width:25%;
	text-align:center;
}
body.page-template .header .head-phone .phone-text, body.page-template .header .head-phone .phone-num { 
  display:inline-block;
}
body.page-template .header .head-phone .phone-num { 
  margin-top: 10px;
}

@media (max-width:770px) {
  body.page-template .header { 
    display:block;
    text-align:center;
  }
  body.page-template .header .head-phone {
    max-width:70%;
    margin:0 auto;
  }
}

/*
body.page-template .header .head-phone .phone-num {
	display:flex;margin-top:8px;width:30%;float:right;vertical-align:middle;
}

@media (max-width: 770px) {
	.head-block head-phone { width:100% }
}
@media (max-width: 426px) {
	body.page-template .header .head-phone .phone-text, 	body.page-template .header .head-phone .phone-num {
		display:block;width:100%;clear:both;text-align:center;
	}
	body.page-template .header .head-phone .phone-text { margin-bottom:10px; }
	body.page-template .header .head-block.head-logo { margin-bottom:0px; }
	
}
*/
body.page-template .header .header-phone {
	color:#fff;
	background-color:#ED1C24;
	padding:10px 12px;
	font-size:1em;
	font-weight:700;
	text-decoration:none;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

body.page-template .header .header-phone:hover,
body.page-template .header .header-phone:focus {
	background-color:#000;
}
@media (max-width:600px) {

	body.page-template .header {
		display:block;
	}
	
	body.page-template .header .head-block {
		width: 100%;
		text-align: center;
	}

	body.page-template .header .head-block.head-logo {
		margin-bottom:40px;
	}

}


/* Hero Banner
--------------------------------------------- */
.hero {
	position:relative;
	background-color:#000;
	width:100%;
	height:40vw;
	max-height:600px;
}

.hero:before {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  background-image: url("images/BELFORPros_Header-2560x770.jpg");
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
}

.hero .hero-inner {
	position:relative;
	z-index:2;
	opacity:1;
	margin:0 auto;
	width:100%;
	height:100%;
	max-width:1220px;
	padding:40px 0px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	align-content: center;
}

.hero .hero-inner .hero-block {
	flex: 0 0 auto;
/*	width:48%; */
}
.hero .hero-inner .hero-block.hero-right {
	text-align:center;
	width:57%;
}
.hero .hero-inner .hero-block.hero-left {
	width:43%;
}

.hero .hero-inner .hero-block.hero-right .zip-code-search-wrapper {
	float: none;
	width: 100%;
}

.hero .hero-inner .hero-block.hero-right .zip-code-search-wrapper .zip-code-search-input {
	display:block;
	margin:0 auto;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	font-size:1em;
	text-align:center;
	width: 300px !important;
	padding:10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border:3px solid #D0D0D0;
	color:#000;
}

.hero .hero-inner .hero-block.hero-right .zip-code-search-wrapper .zip-code-search-input::placeholder {
  font-weight: 700;
  opacity: 1;
  color: #000;
  text-align:center;
}
.zip-code-search-results-page .zip-code-search-wrapper {
	text-align:center;
	margin-top:10px;
}
/*body.home .select-all-wrap { */
.select-all-wrap {
    font-size: 18px;
    font-weight: bold;
    display:none;
    float:left;
}
.zip-code-search-results-page .select-all-wrap{
/*	display:inline-block; */
}
/*
.zip-code-search-results-page .checkbox-wrapper {
	font-size: 16pt;
}
*/
.zip-code-search-results-page .zip-code-search {
	width:100%;
}
.zip-code-search-results-page .zip-code-search-input {
    padding: 6px 10px;
    font-size: 16pt;
    font-weight: bold;
    color: black;
    border-color: black;
    border-radius: 10px;
    text-align: center;
    width: 200px !important;
    margin:0px 10px 0 0;
}
.result-page-clear { display: none; }

.zip-code-search-results-page br.result-page-clear {
	display:block;
}

.zip-code-search-results-page .zip-code-search-btn {
    color: #fff;
    background-color: #ED1C24;
    padding: 10px 12px;
    font-size: 1em;
    font-weight: 700;
    text-decoration: none;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: none;
    float:right;
}

.hero .hero-inner .hero-block.hero-right .zip-code-search-wrapper .zip-code-search-btn {
	color:#fff;
	background-color:#ED1C24;
	padding:10px 12px;
	font-size:1em;
	font-weight:700;
	text-decoration:none;
	-webkit-border-radius: 0;
	-moz-border-radius:0;
	border-radius: 0;
	-webkit-border-bottom-right-radius: 8px;
-webkit-border-bottom-left-radius: 8px;
-moz-border-radius-bottomright: 8px;
-moz-border-radius-bottomleft: 8px;
border-bottom-right-radius: 8px;
border-bottom-left-radius: 8px;
	border:none;
}

.hero .hero-inner .hero-block.hero-right .zip-code-search-wrapper .zip-code-search-btn:hover,
.hero .hero-inner .hero-block.hero-right .zip-code-search-wrapper .zip-code-search-btn:focus {
	background-color:#000;
	cursor:pointer;
}

.hero .hero-inner h1,
.hero .hero-inner h1 span {
	color:#fff;
	font-size:2.7em;
	font-weight:900;
	line-height:1.15em;
	position:relative;	
}

.hero .hero-inner h1 span {
	font-size:1em;
	position:relative;	
	display:inline-block;
}

.hero .hero-inner h1 span:before {
	content:'';
	position:absolute;
	bottom:-4px;
	left:0;
	width:100%;
	height:20px;
	z-index:-1;
	background: transparent url("images/BFG-Underline.svg") no-repeat scroll left top / contain;
}

/*
.hero .hero-inner .brand-search-wrapper,
.hero .hero-inner .select-all-wrap {
	display:none;
}
*/
@media (max-width: 810px) {
	
	.hero {
		height:auto;
		max-height:100%;
	}
	
	.hero::before {
		background-image: url("images/BELFORpros-hero-vert-v1.jpg");
	}
	
	.hero .hero-inner {
		display:block;
		padding:0 20px 40px 20px;
	}
	
	.hero .hero-inner .hero-block.hero-left, .hero .hero-inner .hero-block.hero-right {
		width:100%;
	}
	.hero .hero-inner .hero-block.hero-right .form-logo { display:none; }
	
	.hero .hero-inner h1 {
		text-align:center;
	}

	.hero .hero-inner h1 span {
		font-size: 1.5em;
	}

	.hero .hero-inner h1 span::before {
		bottom: -6px;
		height: 30px;
	}
	
	.hero .hero-inner form {
		margin-bottom:0;
	}
	
	.brand-search-wrapper { display: none; }
	.zip-code-search-results-page .zip-code-search-btn { float: none; }
	.zip-code-search-results-page .zip-code-search-input { margin: 0px; }

}

.hero .hero-bottom {
	position:relative;
	margin:-50px auto 0;
	width:100%;
	max-width:1220px;
	padding:0;
	display: block;
	z-index:2;
}

.hero .hero-bottom-inner {
	position:relative;
	margin:0 auto;
	width:100%;
	padding:0;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	align-content: center;
}


.hero .hero-bottom .hero-bottom-left {
	background-color:#000;
	color:#fff;
	flex: 0 0 auto;
	width:24%;
	padding:20px;
	z-index:-1;
}
.hero .hero-bottom .hero-bottom-left h2 {
	color:#fff;
	font-weight:900;
}

.hero .hero-bottom .hero-bottom-right {
	background: #ED1C24;
	color:#fff;
	position:relative;
	flex: 0 0 auto;
	width:74%;
	padding:20px;
}

.hero .hero-bottom .hero-bottom-right p {
	margin:0;
	line-height:1.1em;
}

.hero .hero-bottom .hero-bottom-right:after{
	content: '';
	width:100px;
	background:#ED1C24;
	position:absolute;
	height:100%;
	content:' ';
	left:-33px;
	top:0;
	transform: skew(-30deg);
	z-index:-1;
}

@media (max-width: 1145px) {
	.hero .hero-bottom .hero-bottom-right {
		width: 70%;
	}

	.hero .hero-bottom .hero-bottom-left {
		width:29%;
	}
}

@media (max-width: 1035px) {
	.hero .hero-bottom {
		margin:0 auto;
	}

	.hero .hero-bottom .hero-bottom-right,
	.hero .hero-bottom .hero-bottom-left {
		width:100%;
		text-align:center;
	}

	.hero .hero-bottom .hero-bottom-right {
		padding:40px;
	}
}

/* Company List Grid
--------------------------------------------- */

.container {
	display:block;
	max-width:1280px;
	margin:100px auto 0;
}

body.home .container {
	display:block;
	margin:100px auto 0;
	width:100%;
	max-width:100%;
}

.comp-grid,
.comp-grid .grid-row {
	display: block;
	width:100%;
	padding-bottom:20px;
}

.comp-grid .grid-row:nth-of-type(even) {
	background-color:#F0F0F0;
}

.comp-grid .grid-row .grid-row-inner {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-around;
	align-items: auto;
	align-content: start;
	width:100%;
	max-width:1280px;
	margin:0 auto;
}

.comp-grid .grid-row .grid-item {
	width:360px;
	margin: 10px;
	/*width:24%;
	margin: 0px;*/
}

.page-template-home-4col .comp-grid .grid-row .grid-item {
	width:23%;
	margin: 10px auto;
}

.comp-grid .grid-item a{
	text-decoration:none;
}

.comp-grid .grid-item .grid-img-desc-holder {
	position:relative;
}

.comp-grid .grid-item .grid-img-desc-holder .grid-description {
	position:absolute;
	width:100%;
	bottom:9px;
	left:0;
	display: flex;
	align-items: center;
	height: 55px;
	aspect-ratio: 1;
	clip-path: polygon(0 0,calc(100% - 35px) 0,100% 100%,0 100%);
	background: rgba(255, 255, 255, 0.8);
}


.comp-grid .grid-item .grid-img-desc-holder .grid-description p {
	text-decoration:none;
	color:#000;
	font-size:0.75em;
	line-height:1.2em;
	font-weight:600;
	padding:10px 40px 10px 15px;
	margin:0;
}

.page-template-home-4col .comp-grid .grid-item .grid-img-desc-holder .grid-description p {
	text-decoration:none;
	color:#000;
	font-size:1em;
	line-height:1.2em;
	font-weight:bold;
	padding:10px 40px 10px 15px;
	margin:0;
}

.comp-grid .grid-item a:hover .grid-img-desc-holder .grid-description,
.comp-grid .grid-item a:focus .grid-img-desc-holder .grid-description,
.comp-grid .grid-item a.active-box .grid-img-desc-holder .grid-description{
	background: #ED1C24;
}

.comp-grid .grid-item a:hover .grid-img-desc-holder .grid-description p,
.comp-grid .grid-item a:focus .grid-img-desc-holder .grid-description p,
.page-template-home-4col .comp-grid .grid-item a.active-box .grid-img-desc-holder .grid-description p{
	color: #fff !important;
}



.comp-grid .grid-item .grid-site {
	height: 42px;
	aspect-ratio: 1;
	clip-path: polygon(0 0,100% 0,calc(100% - 35px) 100%,0 100%);
	background: #4B4B4B;
	margin-top:-9px;
}

.comp-grid .grid-item a:hover .grid-site,
.comp-grid .grid-item a:focus .grid-site {
	background: #000;
}

.comp-grid .grid-item .grid-site p {
	text-decoration:none;
	color:#fff;
	font-size:0.85em;
	line-height:1.2em;
	font-weight:700;
	padding:10px 40px 10px 15px;
	margin:0;
}

@media (max-width:1139px) {

	.comp-grid .grid-row .grid-item {
		width:300px;
	}

}

@media (max-width:1035px) {
	body.home .container {
		margin: 260px auto 0;
	}

}
@media (max-width:970px) {
	body.home .container {
		margin: 200px auto 0;
	}
	.comp-grid .grid-row .grid-item {
		width:100%;
		margin:0 0 20px 0;
	}
	.comp-grid .grid-item .grid-img {
		width:100%;
	}

	.comp-grid .grid-item .grid-img-desc-holder .grid-description p {
		padding: 10px 40px 10px 15px;
	}

	.comp-grid .grid-row:nth-of-type(even) {
		background-color:#fff;
	}

	.comp-grid .grid-row:nth-of-type(even) .grid-item:nth-of-type(odd) {
		background-color:#F0F0F0;
		padding-bottom:40px;
	}

	.comp-grid .grid-row:nth-of-type(odd) .grid-item:nth-of-type(even) {
		background-color:#F0F0F0;
		padding-bottom:40px;
	}

}

@media (max-width:790px) {
	body.home .container {
		margin: 0 auto 0;
	}
}
/* Service Search Results
--------------------------------------------- */

#content .bfg-results {
	max-width: 100% !important;
	margin: 0  !important;
	display: block  !important;
}


div.bfg-results ol {
	list-style:none;
	margin:0;
	padding:0;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: start;
	align-items: auto;
	align-content: start;
}


div.bfg-results ol li {
	flex: 0 0 auto;
	margin: 10px;
}


div.bfg-results ol li a {
	text-decoration:none;
	color:#000;
	font-weight:600;
	background-color:#F0F0F0;
	border:1px solid #D7D7D7;
	padding:20px;
	-webkit-border-radius: 08px;
-moz-border-radius: 08px;
border-radius: 8px;
}

div.bfg-results ol li a:hover,
div.bfg-results ol li a:focus {
	background-color:#ED1C24;
	color:#fff;
}

body.page-template-location-results .header {
	border-bottom:100px solid #4B4B4B;
}

.page-template-location-results .entry-content h2 {
	font-weight:900;
	margin-bottom:40px;
}

.page-template-location-results .entry-content h2 span {
	position:relative;
	font-weight:inherit;
}

.page-template-location-results .entry-content h2 span::before {
	content: '';
	position: absolute;
	bottom: -14px;
	left: 0;
	width: 100%;
	height: 20px;
	background: transparent url("images/BFG-Underline.svg") no-repeat scroll left top / contain;
}

.page-template-location-results .bfg-location-container {
	padding: 10px;
	display: block;
	font-size: 1em;
	color:#000;
}

.page-template-location-results .bfg-location-container .bfg-location-logo {
	text-align:center;
	padding:20px 20px 0 20px;
}


.page-template-location-results .bfg-location-container .bfg-location-data a.nrml-link {
	color:#000;
	text-decoration:none;
}

.page-template-location-results .bfg-location-container .bfg-location-data a.nrml-link:hover,
.page-template-location-results .bfg-location-container .bfg-location-data a.nrml-link:focus {
	color:#ED1C24;
}

.page-template-location-results a.site-btn {
	text-decoration:none;
	color:#fff;
	font-weight:700;
	background-color:#4B4B4B;
	padding:16px 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 10px;
	display:block;
	width:90%;
	position:absolute;
	bottom:20px;
	left: 50%;
	transform: translateX(-50%);
	text-align:center;

}

.page-template-location-results a.site-btn:hover,
.page-template-location-results a.site-btn:focus {
	background-color:#ED1C24;
	color:#fff;
}

.page-template-location-results .bfg-location-container img {
	text-align:center;
	margin:0 auto;
	height:auto;
	max-height:75px;
}

.page-template-location-results .bfg-location-container .bfg-location-data {
	padding:20px;
}

.page-template-location-results .bfg-location-container .bfg-location-data h3 {
	font-size:1.15em;
	font-weight:700;
}

.page-template-location-results .bfg-location-container .bfg-location-data p {
	margin-bottom:0;
	font-size:0.8em;
}
.page-template-location-results .bfg-location-container .bfg-location-data p.less-mb {
	margin-bottom:2px;
}

.page-template-location-results .bfg-location-container .bfg-location-data p strong {
	font-weight:700;
}

.page-template-location-results .bfg-location-container .bfg-location-data p.loc-email {
	margin-bottom:1em;
}

.page-template-location-results #content .bfg-results.comp-list  {
	display: flex !important;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: auto;
	align-content: start;
	width:100%;
}

.page-template-location-results #content .bfg-results.comp-list .bfg-location-container {
	position:relative;
	flex: 0 0 auto;
	margin:20px 10px;
	width:30%;
	border:1px solid #D7D7D7;
	padding:0 0 70px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
}

.tcc-offices-page .container {
	margin: 10px auto;
}

@media (min-width:1001px) {

.tablet-columns-2{
	display:none;
}
}

@media (max-width:1000px) {

	.page-template-location-results #content .bfg-results.comp-list .bfg-location-container {
		width:48%;
		margin:0 0 20px 0;
	}
	
	.tablet-columns-2{
		display:block;
	}
	.desktop-columns-3{
		display:none;
	}

}


@media (max-width:760px) {
	.page-template-location-results .container {
		display: block;
		max-width: 1280px;
		margin: 0;
	}

	.page-template-location-results #content .bfg-results.comp-list .bfg-location-container {
		width:100%;
		margin:0 0 20px 0;
	}
	.page-template-location-results .full-width {
		padding:0;
	}
	

}

@media (max-width:600px) {
	
	.tablet-columns-2{
		display:none;
	}
	.desktop-columns-3{
		display:block;
	}
	.grid-item{
	max-width: 360px
	}
}

/********************
* Checkbox styling
*
*********************/
  .checkbox-wrapper .brand-checkbox {
    appearance: none;
    background-color: #dfe1e4;
    border-radius: 72px;
    border-style: none;
    flex-shrink: 0;
    height: 20px;
    margin: 0;
    position: relative;
    width: 30px;
  }

  .checkbox-wrapper .brand-checkbox::before {
    bottom: -6px;
    content: "";
    left: -6px;
    position: absolute;
    right: -6px;
    top: -6px;
  }

  .checkbox-wrapper .brand-checkbox,
  .checkbox-wrapper .brand-checkbox::after {
    transition: all 100ms ease-out;
  }

  .checkbox-wrapper .brand-checkbox::after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    height: 14px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 14px;
  }

  .checkbox-wrapper input[type=checkbox] {
    cursor: default;
    vertical-align: text-bottom;
  }

  .checkbox-wrapper .brand-checkbox:hover {
    background-color: #c9cbcd;
    transition-duration: 0s;
  }

  .checkbox-wrapper .brand-checkbox:checked {
    background-color: #ED1C24;
  }

  .checkbox-wrapper .brand-checkbox:checked::after {
    background-color: #fff;
    left: 13px;
  }

  .checkbox-wrapper :focus:not(.focus-visible) {
    outline: 0;
  }

  .checkbox-wrapper .brand-checkbox:checked:hover {
    background-color: #ED1C24;
  }
