
.navbar-brand img {
	max-height: 56.33px;
}

.date-author {
	margin-bottom: 40px;
}

span.e_date {
	width: 50%;
}

span.e_author {
	width: 50%;
}

@media only screen and (min-width: 768px) {
	.navbar-expand-md .navbar-nav .dropdown-menu {
		padding: 0;
		margin-top: 23px;
		border-radius: 0;
		width: 200px;
	}
	
	.navbar-expand-md .navbar-nav {
		gap: 20px;
		padding-right: 50px;
	}
	
	body.single-location section.block-services-posts-trf.ba-blog-grid-trf .ba-d-link-bottom img {
		min-height: 311px;
		object-fit: cover;
	}
}

@keyframes slide1 {
	0%, 100% {
		transform: translate(0, 0);
	}
	
	50% {
		transform: translate(10px, -10px);
	}
}

@keyframes slide2 {
	0%, 100% {
		transform: translate(0, 0);
	}
	
	50% {
		transform: translate(10px, 0px);
	}
}

@keyframes coccoc-alo-circle-anim {
	0% {
		transform: rotate(0) scale(.5) skew(1deg);
		opacity: .1;
	}
	
	30% {
		transform: rotate(0) scale(.7) skew(1deg);
		opacity: .1;
	}
	
	100% {
		transform: rotate(0) scale(1) skew(1deg);
		opacity: .8;
	}
}

@keyframes tilt-shaking {
	0% {
		transform: rotate(0deg);
	}
	
	25% {
		transform: rotate(10deg);
	}
	
	50% {
		transform: rotate(0 eg);
	}
	
	75% {
		transform: rotate(-10deg);
	}
	
	100% {
		transform: rotate(0deg);
	}
}

.ba-topbar-nav.primary-bg {
	background: #e8e7e5;
}

.top-bar-menu li a {
	font-size: 15px !important;
	color: #000;
	transition: all .7s;
	position: relative;
}

.top-bar-menu li a:hover {
	color: #c4501f;
}

.top-bar-menu li a.header-tel:before {
	content: "";
	font-family: "FontAwesome";
	margin-right: 5px;
}

.top-bar-menu li a.topbar-find-my-location::before {
	content: "";
	font-family: "FontAwesome";
	margin-right: 5px;
}

#main-nav {
	padding: 7px 0;
}

#main-nav .btn-call2a {
	background: #c4501f;
	color: #fff !important;
	padding: 16px;
	border-radius: 0;
	font-size: 16px !important;
	line-height: 19.36px !important;
	transition: all .2s linear 0s;
	position: relative;
	text-align: center;
}

#main-nav .btn-call2a:after {
	/*content: "";
    font-family: FontAwesome;
    font-size: 15px;*/
	background: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/arrow-narrow-up-right-white.svg");
	content: "";
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	right: 0;
	top: 0;
	opacity: 0;
	height: 100%;
	width: 40px;
	transition: all .2s linear 0s;
}

#main-nav .btn-call2a:hover {
	/* text-indent: -10px; */
	padding-right: 36px;
}

#main-nav .btn-call2a:hover:after {
	text-indent: 0px;
	opacity: 1;
}

#main-menu a {
	font-size: 16px;
	line-height: 19px;
	color: #2c3936;
	transition: all .7s;
}

#main-menu .menu-item-has-children a:after {
	background-image: none;
	content: "";
	font-family: fontawesome;
	font-size: 10px;
	line-height: 16px;
	vertical-align: middle;
	margin-left: 5px;
}

#main-menu a:hover, #main-menu a.show, #main-menu a:hover:after, #main-menu a.show:after, #main-menu  .current-menu-parent > a, #main-menu .current-menu-parent >  a:after, #main-menu .current-menu-item > a {
	color: #c4501f;
}

#main-menu .dropdown-menu a {
	line-height: 22px;
	padding-top: 10px;
	padding-bottom: 10px;
	transition: all .7s;
}

#main-menu .dropdown-menu a:after {
	display: none !important;
}

#main-menu .dropdown-menu a:hover, #main-menu .dropdown-menu .current-menu-item a {
	background: #c4501f;
	color: #fff;
}

.hero-trf-location .col-12.col-lg-4 {
	padding-left: 0;
}

.hero-trf .hero-location__information h1 {
	font-size: 40px;
	line-height: 48px;
}

body:not(.home) section.hero-location.hero-trf h1 {
	margin-top: 36px;
}

body.single-location:not(.home) .hero-trf-location .hero-location__information h1:not(:first-child) {
	margin-top: 0px;
}

.hero-trf-location .hero-location__information h1 {
	margin-top: 0;
}

.hero-trf-location .hero-location__information h2 {
	margin-top: 0px;
	margin-bottom: 0;
	font-size: 24px;
	line-height: 28px;
	color: #fff;
}

.hero-trf-location .hero-location__information .hero-address {
	padding-bottom: 10px;
	padding-top: 10px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.hero-trf-location .hero-location__information .hero-address a.banner-directions-btn-address {
	color: #fff;
}

.hero-trf-location .hero-location__information .hero-address a.banner-directions-btn-address .directn-btn-icon {
	margin-right: 8px;
}

.hero-trf-location .hero-location__information h2:not(:first-child) {
	margin-top: 0;
}

.hero-trf .hero-location__information p {
	font-size: 18px;
	line-height: 28px;
	padding-top: 5px;
	font-weight: 400;
}

.hero-location.hero-trf:has(+ div#allreviews), .hero-location.hero-trf:has(+ section#location-reviews) {
	margin-bottom: 60px;
}

section.hero-location.hero-trf {
	background-image: none;
	background: #266751;
	background: linear-gradient(90deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 40%, rgba(232, 231, 229, 1) 40%, rgba(232, 231, 229, 1) 100%);
	padding: 35px 0;
}

section.hero-location.hero-trf.nitro-lazy {
	background-image: none !important;
}

section.hero-location.hero-trf .col-12.col-lg-8 {
	padding: 20px 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.hero-trf .hero-location__form {
	max-width: 355px;
	margin-left: auto;
	position: relative;
	right: -30px;
	border: 2px solid #266751;
	background: #f6f6f6;
}

.hero-trf .hero-location__form .gform_wrapper.gravity-theme .field_sublabel_above .ginput_complex {
	flex-wrap: wrap;
	flex-direction: column;
	align-items: start;
	gap: 16px;
}

.hero-trf .hero-location__form .gform_wrapper.gravity-theme .gfield.gfield--width-half {
	grid-column: 1/-1;
}

.hero-trf .hero-location__form .gform_wrapper.gravity-theme .field_sublabel_above .ginput_complex span {
	padding-right: 0;
	padding-left: 0 !important;
	width: 100%;
	position: relative;
}

.hero-trf .hero-location__form .gform_wrapper.gravity-theme .gfield {
	padding-right: 0;
	padding-left: 0 !important;
	width: 100%;
	position: relative;
}

.hero-trf .hero-location__form .gform_wrapper.gravity-theme .field_sublabel_above .ginput_complex span label, .hero-trf .hero-location__form .gform_wrapper.gravity-theme .gfield label {
	position: absolute;
	top: 50%;
	transform: translate(0px, -50%);
	transition: all .3s;
	padding: 0;
	display: none;
}

.hero-trf .hero-location__form .gform_wrapper.gravity-theme .gfield .gfield-choice-input+label {
	font-size: 14px !important;
	color: #515c5a;
	line-height: 22px;
	vertical-align: top;
	display: inline-block;
	position: relative;
	top: 0px !important;
	transform: translate(0, 0px) !important;
}

.hero-trf .hero-location__form .gform_wrapper.gravity-theme .field_sublabel_above .ginput_complex span:focus-within label, .hero-trf .hero-location__form .gform_wrapper.gravity-theme .gfield:focus-within label {
	top: -8px;
	transform: translate(0px, 0px);
	font-size: 11px;
}

.hero-trf .hero-location__form .gform_wrapper.gravity-theme .ginput_complex input, .hero-trf .hero-location__form .gform_wrapper.gravity-theme .gfield input {
	background: transparent;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-radius: 0;
	padding-left: 0;
	outline: 0 none;
}

.hero-trf .hero-location__form #gform_submit_button_1 {
	background: #266751;
	max-width: 90%;
	margin: 0 auto;
	border-radius: 0;
	position: relative;
	transition: all .2s linear 0s;
	font-size: 16px;
	font-weight: 700;
}

.hero-trf .hero-location__form #gform_submit_button_1:hover {
	background: #266751 !important;
}

.hero-trf .hero-location__form .gform_footer.top_label:hover #gform_submit_button_1 {
	text-indent: -10px;
}

.hero-trf .hero-location__form .gform_footer.top_label {
	position: relative;
	transition: all .2s linear 0s;
}

.hero-trf .hero-location__form .gform_footer.top_label:after {
	background: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/arrow-narrow-up-right-white.svg");
	content: "";
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	right: 5%;
	opacity: 0;
	height: 48px;
	width: 40px;
	transition: all .2s linear 0s;
}

.hero-trf .hero-location__form .gform_footer.top_label:hover:after {
	text-indent: 0px;
	opacity: 1;
}

.hero-trf .author-reviews-preview {
	align-items: center;
	border: 0;
	padding-top: 30px;
}

.hero-trf .author-reviews-preview .author-right-text {
	flex: 0 0 calc(100% - 70px);
	padding-left: 10px;
}

.hero-trf .author-reviews-preview .author-right-text p {
	padding-top: 0;
	margin-bottom: 0;
	font-size: 24px;
	line-height: 28px;
	font-weight: 700;
}

.hero-trf .author-reviews-preview .author-right-text p.date {
	font-size: 20px;
	font-weight: 400;
}

.hero-trf .author-reviews-preview .author-right-text img {
	max-width: 100px;
}

.hero-trf .author-reviews-preview img.author-reviews-img {
	object-fit: cover;
	width: 60px !important;
	height: 60px;
	border-radius: 100%;
	min-width: 60px;
	min-height: 60px;
	vertical-align: middle;
}

.hero-trf .author-number-wrapper {
	display: flex;
	flex-direction: row;
	padding: 10px 10px 10px 0;
	gap: 0px;
	align-items: center;
	border: 0;
	background: #c4501f;
	margin-top: 30px;
	position: relative;
	right: -50%;
	max-width: 260px;
}

.hero-trf .author-number-wrapper .call-icon {
	width: 60px;
	height: 60px;
	background: #fff;
	border: 1px solid #c4501f;
	border-radius: 100%;
	display: flex;
	text-align: center;
	position: relative;
	left: -20px;
}

.hero-trf .author-number-wrapper .call-icon:before {
	width: 70px;
	height: 70px;
	top: -6px;
	left: -6px;
	position: absolute;
	background-color: transparent;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	border: 2px solid rgba(255, 255, 255, .4);
	content: "";
	visibility: vis "";
	-webkit-animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
	-moz-animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
	-ms-animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
	-o-animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
	animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}

.hero-trf .author-number-wrapper .call-icon:after {
	width: 80px;
	height: 80px;
	top: -11px;
	left: -11px;
	position: absolute;
	background-color: transparent;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	border: 2px solid rgba(255, 255, 255, .4);
	content: "";
	visibility: visible;
	-webkit-animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
	-moz-animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
	-ms-animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
	-o-animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
	animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}

/*.hero-trf .author-number-wrapper:hover .call-icon:after,.hero-trf .author-number-wrapper:hover .call-icon:before{
	visibility:visible;
}
.hero-trf .author-number-wrapper:hover .call-icon{
	animation: slide2 1s ease-in-out infinite;
}*/
.hero-trf .author-number-wrapper .call-icon img {
	max-width: 30px;
	margin: 0 auto;
	-webkit-animation: tilt-shaking 1.2s infinite ease-in-out;
	-moz-animation: tilt-shaking 1.2s infinite ease-in-out;
	-ms-animation: tilt-shaking 1.2s infinite ease-in-out;
	-o-animation: tilt-shaking 1.2s infinite ease-in-out;
	animation: tilt-shaking 1.2s infinite ease-in-out;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
	height: 100%;
}

/*.hero-trf .author-number-wrapper:hover .call-icon img{
	-webkit-animation: tilt-shaking 1.2s infinite ease-in-out;
	-moz-animation: tilt-shaking 1.2s infinite ease-in-out;
	-ms-animation: tilt-shaking 1.2s infinite ease-in-out;
	-o-animation: tilt-shaking 1.2s infinite ease-in-out;
	animation: tilt-shaking 1.2s infinite ease-in-out;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}*/
.hero-trf .author-number-wrapper .author-number-block {
	flex: 0 0 calc(100% - 60px);
	text-align: right;
}

.hero-trf .author-number-wrapper .author-number-block .author-number, .hero-trf .author-number-wrapper .author-number-block .author-number:first-child {
	font-size: 24px;
	line-height: 24px;
}

.hero-trf .author-number-wrapper .author-number-block p {
	padding: 0;
	margin: 0;
	font-weight: 700;
}

.hero-trf .author-number-wrapper .author-number-block p.hero-location__ctas {
	justify-content: end;
}

.hero-trf .author-number-wrapper .author-number-block p a {
	color: #fff;
	text-decoration: none;
}

.hero-trf .author-number-wrapper .author-number-block p:last-child {
	font-size: 18px;
}

/*.hero-trf+section.ba-fw-banner.background-image-cta-block {
    background-image: none !important;
	padding-bottom: 0;
}
.hero-trf+section.ba-fw-banner.background-image-cta-block * {
    color: #000;
}
.hero-trf+section.ba-fw-banner.background-image-cta-block h3.big {
		position: relative;
		padding-bottom:10px;
		font-size: 42px;
		line-height: 50px;
		color: #262F2D;
}
.hero-trf+section.ba-fw-banner.background-image-cta-block h3.big:after {
    content: "";
    width: 100px;
    height: 2px;
    background: #266751;
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
}*/
section.trf-quality-block {
	background: #fff;
	padding-top: 15px;
}

section.trf-quality-block * {
	color: #000;
}

section.trf-quality-block .ba-features-wrap {
	max-width: 100%;
	text-align: center;
}

section.trf-quality-block .ba-features-wrap > .row .col-md-12 {
	max-width: 890px;
	margin: 0 auto;
}

section.trf-quality-block .ba-features-wrap .ba-features-list .col-md-4 {
	padding: 0 !important;
}

section.trf-quality-block .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:last-child {
	padding-left: 40px;
	padding-right: 40px;
}

section.trf-quality-block .ba-features-wrap .ba-features-list .col-md-4:first-child+.col-md-4 .col-md-12:last-child {
	border-left: 1px solid #266751;
	border-right: 1px solid #266751;
}

section.trf-quality-block .ba-features-wrap .ba-features-list .col-md-4 .row {
	margin: 0;
	height: 100%;
	align-content: flex-start;
}

section.trf-quality-block .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:first-child {
	padding-bottom: 10px;
}

section.trf-quality-block .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:first-child img.ba-quality-icon {
	max-width: 69px;
}

section.trf-quality-block .ba-features-wrap p.f-sec-desc {
	line-height: 28px;
	color: #515c5a;
}

section.trf-quality-block .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:first-child+.col-md-12 h3 {
	font-size: 24px;
	line-height: 28px;
	color: #262f2d;
}

section.trf-quality-block .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:first-child+.col-md-12 p {
	line-height: 28px;
	color: #515c5a;
}

section.trf-quality-block h3.ba-h3.big, section.trf-quality-block h2.ba-h3.big {
	padding-top: 46px;
	position: relative;
	padding-bottom: 10px;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
	margin-bottom: 10px;
}

section.trf-quality-block h3.ba-h3.big:after, section.trf-quality-block h2.ba-h3.big:after {
	content: "";
	width: 100px;
	height: 2px;
	background: #266751;
	position: absolute;
	bottom: -10px;
	left: 0;
	right: 0;
	margin: 0 auto;
}

section.trf-quality-block h3.ba-h3.big+p.f-sec-desc, section.trf-quality-block h2.ba-h3.big+p.f-sec-desc {
	padding-top: 15px;
}

.trf-quality-block~section.block-col-and-video {
	padding-top: 0;
}

.trf-quality-block ~ section.block-col-and-video div#video-container {
	position: relative;
	width: 80%;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.trf-quality-block ~ section.block-col-and-video .row {
	display: flex;
	flex-direction: column;
}

.trf-quality-block + section.block-col-and-video .col-md-6 {
	width: 100%;
}

.trf-quality-block ~ section.block-col-and-video .block-with-bg {
	max-width: 100%;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	flex-flow: column;
	padding-right: 0;
}

.trf-quality-block ~ section.block-col-and-video .col-md-6.ba-m-hide, .trf-quality-block ~ section.block-col-and-video .block-with-bg .ba-left-bg-full {
	display: none;
}

.trf-quality-block ~ section.block-col-and-video .block-with-bg .video-wrapper.ba-d-hide {
	display: block !important;
	max-width: 80%;
	margin: 0 auto;
	order: 4;
	min-width: 80%;
	position: relative;
	top: -30px;
}

.trf-quality-block ~ section.block-col-and-video .block-with-bg .video-wrapper.ba-d-hide video {
	max-height: 550px;
}

.trf-quality-block ~ section.block-col-and-video .block-with-bg .video-wrapper.ba-d-hide:before {
	content: "";
	width: calc(100% + 40px);
	height: 100%;
	background: #e8e7e5;
	position: absolute;
	z-index: -1;
	bottom: -15px;
	left: -20px;
}

.trf-quality-block ~ section.block-col-and-video .block-with-bg h5 {
	display: none;
}

.trf-quality-block ~ section.block-col-and-video .block-with-bg h5, .trf-quality-block ~ section.block-col-and-video .block-with-bg h2, .trf-quality-block ~ section.block-col-and-video .block-with-bg p {
	margin: 0;
	flex: 0 0 100%;
	background: #266751;
}

.trf-quality-block ~ section.block-col-and-video .block-with-bg h2 {
	padding-top: 40px;
	padding-bottom: 20px;
	position: relative;
	padding-left: 55px;
	padding-right: 55px;
	font-size: 42px;
	line-height: 50px;
}

.trf-quality-block ~ section.block-col-and-video .block-with-bg h2:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 100px;
	height: 2px;
	background: #fff;
	bottom: 10px;
}

.trf-quality-block ~ section.block-col-and-video .block-with-bg p {
	padding-bottom: 60px;
	padding-left: 55px;
	padding-right: 55px;
	line-height: 28px;
	margin-top: -1px;
}

body.single-location section.block-services-posts-trf {
	position: relative;
	padding-bottom: 170px;
}

body.single-location section.block-services-posts-trf:after {
	content: "";
	width: 95%;
	background: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/05/why-install-bg-railing-img-new-updated.png");
	height: 170px;
	position: absolute;
	bottom: 0;
	background-size: 100% 100%;
	margin: 0 auto;
	left: 0;
	right: 0;
}

section.block-col-and-video-trf {
	background: transparent;
}

section.block-col-and-video-trf .col-12:first-child {
	color: #fff;
	text-align: center;
}

section.block-col-and-video-trf h3, section.block-col-and-video-trf h2 {
	background: #266751;
	color: #fff;
	font-size: 42px;
	line-height: 50px;
	position: relative;
	padding-bottom: 20px;
	margin: 0;
	margin-bottom: 0;
	padding-top: 40px;
	padding-left: 55px;
	padding-right: 55px;
	font-weight: 700;
}

section.block-col-and-video-trf h3:after, section.block-col-and-video-trf h2:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 100px;
	height: 2px;
	background: #fff;
	bottom: 10px;
}

section.block-col-and-video-trf p {
	font-weight: 400;
	line-height: 28px;
	padding-bottom: 60px;
	padding-left: 55px;
	background: #266751;
	padding-right: 55px;
	margin-bottom: 0;
	margin-top: -1px;
}

section.block-col-and-video-trf .video-wrapper {
	display: block !important;
	max-width: 80%;
	margin: 0 auto;
	order: 4;
	min-width: 80%;
	position: relative;
	top: -30px;
}

section.block-col-and-video-trf .video-wrapper:before {
	content: "";
	width: calc(100% + 40px);
	height: 100%;
	background: #e8e7e5;
	position: absolute;
	z-index: -1;
	bottom: -15px;
	left: -20px;
}

section.block-col-and-video-trf .video-wrapper video, section.block-col-and-video-trf .video-wrapper img {
	-o-object-fit: cover;
	object-fit: cover;
	width: 100%;
	height: 100%;
	max-height: 550px;
}

body.home .block-testimonials-trf {
	padding-top: 0;
	position: relative;
	padding-bottom: 170px;
}

body.home .block-testimonials-trf:after {
	content: "";
	width: 95%;
	background: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/05/why-install-bg-railing-img-new-updated.png");
	height: 170px;
	position: absolute;
	bottom: 0;
	background-size: 100% 100%;
	margin: 0 auto;
	left: 0;
	right: 0;
}

body.home .block-testimonials-trf h2.ba-h2 {
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 30px !important;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
}

.block-testimonials-trf p.f-sec-desc {
	margin-bottom: 30px;
	line-height: 28px;
	color: #515c5a;
	margin-top: -15px;
}

body.home .block-testimonials-trf .testimonial-wrap {
	max-width: 100%;
}

body.home .block-testimonials-trf h2.ba-h2:after {
	content: "";
	width: 100px;
	height: 2px;
	position: absolute;
	background: #266751;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: 0;
}

body.home .block-testimonials-trf .testimonial-wrap .row:last-child {
	gap: 30px;
}

body.home .block-testimonials-trf .testimonial-wrap .row:last-child .col-md-6 {
	border: 0;
	max-width: calc(50% - 15px);
	background: #f6f6f6;
	padding: 40px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	flex-direction: column;
	position: relative;
}

body.home .block-testimonials-trf .testimonial-wrap .row:last-child .col-md-6 img.ba-client-img {
	margin: 0;
	max-width: 60px;
	max-height: 60px;
	position: absolute;
	left: 40px;
}

body.home .block-testimonials-trf .testimonial-wrap .row:last-child .col-md-6 img.ba-client-star {
	margin: 0;
	order: 3;
	text-align: left;
	width: 100px;
	margin-left: 80px;
	margin-top: -6px;
}

body.home .block-testimonials-trf .testimonial-wrap .row:last-child .col-md-6 h5.client-name {
	margin: 0;
	order: 2;
	text-align: left;
	margin-left: 80px;
	font-size: 24px;
	line-height: 28px;
	color: #262f2d;
}

body.home .block-testimonials-trf .testimonial-wrap .row:last-child .col-md-6 p {
	margin: 0;
	order: 4;
	text-align: left;
	padding-top: 20px;
	line-height: 28px;
	color: #515c5a;
}

section.block-products-list-trf, section.block-images-with-description-trf {
	background: #266751;
}

section.block-products-list-trf .ba-section-desc, section.block-images-with-description-trf .ba-section-desc {
	position: relative;
	max-width: 100%;
	text-align: left;
	padding-bottom: 30px;
	margin-bottom: 40px;
}

section.block-images-with-description-trf .ba-section-desc * {
	color: #fff;
}

section.block-products-list-trf .ba-section-desc:after, section.block-images-with-description-trf .ba-section-desc:after {
	content: "";
	width: 100%;
	background: #589984;
	height: 1px;
	position: absolute;
	bottom: 0;
}

/*section.block-products-list-trf .ba-section-desc a.btn {
    margin: 0;
    position: absolute;
    right: 0;
    bottom: 30px;
    background: transparent;
    border-radius: 0;
    border: 0 solid #fff;
    width: 180px;
    padding-left: 0;
    padding-right: 0;
    box-shadow:0 0 0 3px #fff;
    color: #fff;
    transition: color 0.25s 0.0833333333s;
}*/
section.block-products-list-trf .ba-section-desc a.btn:hover {}

/*section.block-products-list-trf .ba-section-desc a.btn:after {
		border: 0 solid transparent;
    box-sizing: border-box;
    content: "";
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    bottom: -3px;
    right: -3px;
}
section.block-products-list-trf .ba-section-desc a.btn:before{
    border: 0 solid transparent;
    box-sizing: border-box;
    content: "";
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
		bottom: -3px;
    right: 0;
}
section.block-products-list-trf .ba-section-desc a.btn:after{
	border-top-width: 3px;
	border-right-width: 3px;
}
section.block-products-list-trf .ba-section-desc a.btn:before{
	border-bottom-width: 3px;
	border-left-width: 3px;
}
section.block-products-list-trf .ba-section-desc a.btn:hover:before {
    border-color: #000;
    transition: border-color 0s, width 0.25s, height 0.25s;
		width: calc(100% + 3px);
    height: calc(100% + 6px);
		transition-delay: 0s, 0s, 0.25s;
}
section.block-products-list-trf .ba-section-desc a.btn:after{
	border-top-width: 3px;
	border-right-width: 3px;
}
section.block-products-list-trf .ba-section-desc a.btn:hover:after {
		border-color:#000;
		transition: border-color 0s, width 0.25s, height 0.25s;
		width: calc(100% + 3px);
    height: calc(100% + 6px);	
		transition-delay: 0s, 0.25s, 0s;
}*/
section.block-products-list-trf .ba-section-desc a.btn, section.block-products-list-trf .ba-section-desc a.ba-link-btn, section.block-images-with-description-trf .ba-section-desc a.btn, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn {
	margin: 0;
	position: absolute;
	right: 0;
	bottom: 30px;
	background: transparent;
	border-radius: 0;
	border: 0 solid #fff;
	width: 180px;
	padding-left: 0;
	padding-right: 0;
	box-shadow: 0 0 0 3px #fff;
	color: #fff;
	transition: color .25s .0833333333s;
	font-size: 18px;
	font-weight: 400;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
	text-align: center;
}

section.block-images-with-description-trf .ba-section-desc a.btn, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn {
	width: auto;
}

section.block-images-with-description-trf .ba-section-desc a.btn:hover, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn:hover {
	background: transparent !important;
}

section.block-products-list-trf .ba-section-desc a.btn:hover {}

section.block-products-list-trf .ba-section-desc a.btn:after, section.block-products-list-trf .ba-section-desc a.ba-link-btn:after, section.block-images-with-description-trf .ba-section-desc a.btn:after, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
}

section.block-products-list-trf .ba-section-desc a.btn:hover:after {}

section.block-products-list-trf .ba-section-desc a.btn:after, section.block-products-list-trf .ba-section-desc a.ba-link-btn:after, section.block-images-with-description-trf .ba-section-desc a.btn:after, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn:after {
	border-top-width: 4px;
	border-right-width: 4px;
}

section.block-products-list-trf .ba-section-desc a.btn:hover:after, section.block-products-list-trf .ba-section-desc a.ba-link-btn:hover:after, section.block-images-with-description-trf .ba-section-desc a.btn:hover:after, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

section.block-products-list-trf .ba-section-desc a.btn:before, section.block-products-list-trf .ba-section-desc a.ba-link-btn:before, section.block-images-with-description-trf .ba-section-desc a.btn:before, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

section.block-products-list-trf .ba-section-desc a.btn:hover:before, section.block-products-list-trf .ba-section-desc a.ba-link-btn:hover:before, section.block-images-with-description-trf .ba-section-desc a.btn:hover:before, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

section.block-products-list-trf .ba-section-desc a.ba-link-btn span
section.block-images-with-description-trf .ba-section-desc a.btn span, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn span {
	position: relative;
}

section.block-products-list-trf .ba-section-desc a.ba-link-btn span:after, section.block-images-with-description-trf .ba-section-desc a.btn span:after, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	right: 0;
	bottom: -4px;
	background: #266751;
	left: 0;
	margin: 0 auto;
}

section.block-images-with-description-trf .ba-section-desc a.btn span:after, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn span:after {
	bottom: -6px;
}

section.block-images-with-description-trf .ba-section-desc a.ba-link-btn span:after {
	bottom: -19px;
}

section.block-products-list-trf .ba-section-desc h2.ba-h2, section.block-images-with-description-trf .ba-section-desc h2.ba-h2 {
	text-align: left !important;
	margin-bottom: 10px;
	max-width: calc(100% - 310px);
	font-size: 42px;
	line-height: 50px;
}

section.block-products-list-trf .ba-section-desc p, section.block-images-with-description-trf .ba-section-desc p {
	max-width: calc(100% - 310px);
	margin-bottom: 0px;
	line-height: 28px;
	padding-right: 20px;
}

section.block-products-list-trf .ba-grid-wrap {
	background: transparent;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-img-grid.with-icon, section.block-images-with-description-trf .images-list .ba-f-img-grid {
	margin-left: 0;
	margin-right: 0;
	overflow: hidden;
	position: relative;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-img-grid.with-icon a, section.block-images-with-description-trf .images-list .ba-f-img-grid a {
	display: block;
	overflow: hidden;
	position: relative;
	z-index: 3;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-img-grid.with-icon a:after, section.block-images-with-description-trf .images-list .ba-f-img-grid:after, section.block-images-with-description-trf .images-list .ba-f-img-grid a:after {
	content: "";
	width: calc(100% - 20px);
	height: 93%;
	position: absolute;
	border: 0;
	top: 50%;
	transform: translate(0, -50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/finance-left-img-shape.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	z-index: 2;
	object-fit: cover;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity .7s;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-img-grid.with-icon a:hover:after, section.block-images-with-description-trf .images-list .ba-f-img-grid:hover:after, section.block-images-with-description-trf .images-list .ba-f-img-grid:hover a:after {
	opacity: 1;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-img-grid.with-icon img, section.block-images-with-description-trf .images-list .ba-f-img-grid img {
	transition: all .7s;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-img-grid.with-icon:hover img, section.block-images-with-description-trf .images-list .ba-f-img-grid:hover img {
	transform: scale(1.2);
}

section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid, section.block-images-with-description-trf .images-list .ba-f-text-grid {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid .ba-icon-label {
	max-width: 40px;
	top: 0;
	left: 0;
	max-height: 40px;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid h3.ba-h3, section.block-images-with-description-trf .images-list .ba-f-text-grid h4 {
	text-align: left;
	margin-left: 60px;
	color: #fff;
	margin-bottom: 0;
	line-height: 40px;
	max-width: calc(100% - 100px);
}

section.block-images-with-description-trf .images-list .ba-f-text-grid h3 {
	text-align: left;
	margin-left: 60px;
	color: #fff;
	margin-bottom: 0;
	line-height: 40px;
	max-width: calc(100% - 100px);
	font-size: 28px;
	font-weight: 700;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid h3.ba-h3 a.ba-link-a, section.block-images-with-description-trf .images-list .ba-f-text-grid h4 a, section.block-images-with-description-trf .images-list .ba-f-text-grid h3 a {
	position: relative;
	top: 0;
	right: inherit;
	left: 0;
	color: #fff;
	text-decoration: none;
	font-style: normal;
	font-weight: 700;
	font-size: 28px;
}

body.single-location section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid h3.ba-h3 a.ba-link-a {
	display: inline-block;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid h3.ba-h3 a.ba-link-a {
	position: relative;
}

body.single-location section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid h3.ba-h3 a.ba-link-a:after {
	display: inline-block;
	transform: inherit;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/arrow-narrow-up-right-white.svg");
	background-size: 20px;
	width: 20px;
	height: 20px;
	content: "";
	vertical-align: middle;
	margin-top: 0;
	position: absolute;
	top: 7px;
	margin-left: 10px;
}

body.single-location section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid h3.ba-h3 a.ba-link-a:hover:after {
	-webkit-animation: 1s ease-in-out infinite slide1;
	animation: 1s ease-in-out infinite slide1;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid h3.ba-h3 a.ba-link-a:hover, section.block-images-with-description-trf .images-list .ba-f-text-grid h4 a:hover, section.block-images-with-description-trf .images-list .ba-f-text-grid h3 a:hover {
	color: #c4501f !important;
	text-decoration: none;
}

section.block-images-with-description-trf .images-list .ba-f-text-grid h4, section.block-images-with-description-trf .images-list .ba-f-text-grid h3 {
	margin-left: 0;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid p, section.block-images-with-description-trf .images-list .ba-f-text-grid p {
	margin-top: 20px;
	color: #fff;
	text-align: left;
	margin-bottom: 0;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid a.ba-link-a {
	position: absolute;
	right: 0;
	top: 10px;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid a.ba-link-a:hover img {
	-webkit-animation: slide1 1s ease-in-out infinite;
	animation: slide1 1s ease-in-out infinite;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid a.ba-link-a:after {
	display: none;
}

section.block-products-list-trf .ba-grid-content.ba-link-bottom, section.block-images-with-description-trf .images-list .ba-grid-content.ba-link-bottom {
	border-bottom: 3px solid #589984;
	padding-left: 0;
	padding-right: 0;
}

.block-services-list-trf h2.ba-h2 {
	position: relative;
	padding-bottom: 15px;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
}

.block-services-list-trf h2.ba-h2:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: 0;
	width: 100px;
	height: 3px;
	background: #266751;
}

.block-services-list-trf .row:last-child:not(:first-child) {
	display: none !important;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom {
	border-bottom: 3px solid #589984;
	padding-left: 0;
	padding-right: 0;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-img-grid {
	margin-left: 0;
	margin-right: 0;
	overflow: hidden;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-img-grid a {
	display: block;
	overflow: hidden;
	position: relative;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-img-grid a:after {
	content: "";
	width: calc(100% - 20px);
	height: 93%;
	position: absolute;
	border: 0;
	top: 50%;
	transform: translate(0, -50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/finance-left-img-shape.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	z-index: 2;
	object-fit: cover;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity .7s;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-img-grid:hover a:after {
	opacity: 1;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-img-grid a img {
	transition: all .7s;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-img-grid:hover img {
	transform: scale(1.2);
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-text-grid {
	position: relative;
	text-align: left;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-text-grid h3.ba-h3 {
	max-width: calc(100% - 40px);
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-text-grid h3.ba-h3 a {
	font-style: normal;
	font-weight: 700;
	font-size: 28px;
	line-height: 34px;
	color: #000;
	text-decoration: none;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-text-grid h3.ba-h3 a:hover {
	color: #c4501f;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-text-grid a.ba-link-a {
	position: absolute;
	right: 0;
	top: 10px;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-text-grid a.ba-link-a:hover img {
	-webkit-animation: slide1 1s ease-in-out infinite;
	animation: slide1 1s ease-in-out infinite;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-text-grid a.ba-link-a:after {
	display: none !important;
}

section.location-faqs-trf h2.ba-h2, .location-faqs-trf h2.ba-h2 {
	position: relative;
	padding-bottom: 15px;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
}

section.location-faqs-trf h2.ba-h2:after, .location-faqs-trf h2.ba-h2:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: 0;
	width: 100px;
	height: 3px;
	background: #266751;
}

section.location-faqs-trf .faqs .accordion .accordion-item, .location-faqs-trf .faqs .accordion .accordion-item {
	border-left: 0;
	border-radius: 0 !important;
	background: #e8e7e5;
	border: 1px solid #aba9aa;
}

section.location-faqs-trf .faqs .accordion .accordion-item button.accordion-button, .location-faqs-trf .faqs .accordion .accordion-item button.accordion-button {
	border-radius: 0;
	background: transparent !important;
	padding-left: 30px;
	font-weight: 600;
	color: #262f2d;
	padding-bottom: 20px;
	font-size: 24px;
	line-height: 28px;
	padding-top: 26px;
}

section.location-faqs-trf .faqs .accordion .accordion-item button.accordion-button.collapsed, .location-faqs-trf .faqs .accordion .accordion-item button.accordion-button.collapsed {
	padding-bottom: 26px;
}

section.location-faqs-trf .faqs .accordion .accordion-item button.accordion-button::after, .location-faqs-trf .faqs .accordion .accordion-item button.accordion-button::after {
	right: -20px;
}

section.location-faqs-trf .faqs .accordion .accordion-item button.accordion-button::after, .location-faqs-trf .faqs .accordion .accordion-item button.accordion-button::after {
	right: -20px;
	background-image: none !important;
	background: #266751;
	color: #fff;
	content: "";
	font-family: fontawesome;
	text-align: center;
	line-height: 40px;
	font-weight: 400;
	font-size: 13px;
}

section.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse .accordion-body, .location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse .accordion-body {
	padding-top: 0;
	font-size: 18px;
	line-height: 28px;
	color: #515c5a;
}

section.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse .accordion-body ol, .location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse .accordion-body ol {
	padding-left: 25px;
}

.finance-trf .container {
	max-width: 100%;
	padding: 0;
}

.finance-trf .ba-explore-wrap {
	float: none !important;
	max-width: 100%;
}

.finance-trf .col-md-6 {
	padding-right: 0;
	padding-left: 0;
}

.finance-trf .col-md-6:last-child {
	padding-left: 0;
	padding-top: 20px;
	padding-bottom: 20px;
	display: flex;
	align-items: center;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap {
	background: #e8e7e5;
	padding: 40px 50px;
	width: 100%;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap h3.ba-h3, .finance-trf .col-md-6:last-child .ba-explore-wrap h2.ba-h3 {
	color: #262f2d;
	position: relative;
	padding-bottom: 15px;
	max-width: 80%;
	font-size: 42px;
	line-height: 50px;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap h3.ba-h3:after, .finance-trf .col-md-6:last-child .ba-explore-wrap h2.ba-h3:after {
	content: "";
	width: 100px;
	height: 3px;
	background: #262f2d;
	position: absolute;
	left: 0;
	bottom: 0;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap p {
	color: #515c5a;
	max-width: 382px;
	line-height: 28px;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap a.btn {
	background: transparent !important;
	border-radius: 0 !important;
	border: 3px solid #262f2d;
	color: #262f2d !important;
	margin-top: 20px;
	position: relative;
	transition: all .7s;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn, .finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn-2 {
	background: transparent !important;
	border-radius: 0 !important;
	border: 0px solid #262f2d;
	color: #262f2d !important;
	margin-top: 20px;
	position: relative;
	min-width: 131px;
	display: inline-block;
	text-align: center;
	box-shadow: 0 0 0 3px #262f2d;
	transition: color .25s .0833333333s;
	font-size: 18px;
	font-weight: 400;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap a.btn:hover, .finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn:hover, .finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn-2:hover {}

.finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn span, .finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn-2 span {
	position: relative;
	display: block;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn:after, .finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn-2:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -3px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn:hover:after, .finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn-2:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn:before, .finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn-2:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn:hover:before, .finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn-2:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn span:after, .finance-trf .col-md-6:last-child .ba-explore-wrap a.ba-explore-btn-2 span:after {
	content: "";
	width: 60px;
	height: 7px;
	position: absolute;
	background: #e8e7e5;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: -19px;
	transition: opacity .7s;
}

.finance-trf .col-md-6:last-child .ba-explore-wrap a.btn:hover:after {}

.finance-trf .col-md-6:first-child .ba-explore-wrap {
	position: relative;
	overflow: hidden;
}

.finance-trf .col-md-6:first-child .ba-explore-wrap:before {
	content: "";
	width: calc(100% - 20px);
	height: 93%;
	position: absolute;
	border: 0;
	top: 50%;
	transform: translate(0, -50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/finance-left-img-shape.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	z-index: 2;
	object-fit: cover;
	box-sizing: border-box;
}

.finance-trf .col-md-6:first-child .ba-explore-wrap>img {
	transition: all .7s;
	height: 100%;
	object-fit: cover;
}

.finance-trf .col-md-6:first-child .ba-explore-wrap:hover>img {
	transform: scale(1.2);
}

.finance-trf .col-md-6:first-child .ba-explore-wrap img.ba-mob-img {
	display: none !important;
}

section.ba-blog-grid.ba-blog-grid-trf {
	background: #266751;
	background: linear-gradient(180deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 56%, rgba(255, 255, 255, 1) 56%, rgba(255, 255, 255, 1) 100%);
}

section.ba-blog-grid-trf .row:first-child {
	position: relative;
	max-width: 100%;
	text-align: left;
	padding-bottom: 30px;
	margin-bottom: 40px;
}

section.ba-blog-grid-trf .row:first-child:after {
	content: "";
	width: 100%;
	background: #589984;
	height: 1px;
	position: absolute;
	bottom: 0;
}

section.ba-blog-grid-trf .row:first-child a.ba-link-a {
	margin: 0;
	position: absolute;
	right: 0;
	bottom: 30px;
	background: transparent;
	border-radius: 0;
	border: 0 solid #fff;
	width: 180px;
	padding-left: 0;
	padding-right: 0;
	box-shadow: 0 0 0 3px #fff;
	color: #fff;
	transition: color .25s .0833333333s;
	font-size: 18px;
	font-weight: 400;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
}

section.ba-blog-grid-trf .row:first-child a.ba-link-a:hover {}

section.ba-blog-grid-trf .row:first-child a.ba-link-a span {
	position: relative;
	display: block;
	text-align: center;
}

section.ba-blog-grid-trf .row:first-child a.ba-link-a span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	background: #266751;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: -18px;
	transform: inherit;
	transition: opacity .7s;
}

section.ba-blog-grid-trf .row:first-child a.ba-link-a:hover {
	color: #fff !important;
}

section.ba-blog-grid-trf .row:first-child a.ba-link-a:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
	transform: inherit;
	background-image: none !important;
}

section.ba-blog-grid-trf .row:first-child a.ba-link-a:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

section.ba-blog-grid-trf .row:first-child a.ba-link-a:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

section.ba-blog-grid-trf .row:first-child a.ba-link-a:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

section.ba-blog-grid-trf .row:first-child a.ba-link-a:hover:after {}

section.ba-blog-grid-trf .row:first-child h2.ba-h2 {
	text-align: left !important;
	margin-bottom: 10px !important;
	max-width: calc(100% - 190px);
	color: #fff;
}

section.ba-blog-grid-trf .row:first-child p {
	max-width: 622px;
	margin-bottom: 0px;
	color: #fff;
	text-align: left;
	margin-left: 0;
	padding-bottom: 0;
	font-size: 18px;
	line-height: 28px;
}

.ba-blog-grid-trf .col-md-4.custom-col {
	max-width: 33.33%;
}

.ba-blog-grid-trf .col-md-4.custom-col .ba-d-link-bottom {
	padding-bottom: 20px;
	border-bottom: 3px solid #589984;
}

.ba-blog-grid-trf .col-md-4.custom-col .ba-d-link-bottom > a:first-child {
	position: relative;
	overflow: hidden;
	transition: all .7s;
}

.ba-blog-grid-trf .col-md-4.custom-col .ba-d-link-bottom > a:first-child:after {
	content: "";
	width: calc(100% - 20px);
	height: 93%;
	position: absolute;
	border: 0;
	top: 50%;
	transform: translate(0, -50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/finance-left-img-shape.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	z-index: 2;
	object-fit: cover;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity .7s;
}

.ba-blog-grid-trf .col-md-4.custom-col .ba-d-link-bottom > a:first-child:hover:after {
	opacity: 1;
}

.ba-blog-grid-trf .col-md-4.custom-col .ba-d-link-bottom > a:first-child img {
	transition: all .7s;
}

.ba-blog-grid-trf .col-md-4.custom-col .ba-d-link-bottom > a:first-child:hover img {
	transform: scale(1.2);
}

.ba-blog-grid-trf .col-md-4.custom-col p.excerpt {
	color: #262f2d;
	font-size: 24px;
	line-height: 28px;
	font-weight: 600;
	margin-bottom: 0;
}

.ba-blog-grid-trf .col-md-4.custom-col p.excerpt ~ a:hover img {
	-webkit-animation: slide1 1s ease-in-out infinite;
	animation: slide1 1s ease-in-out infinite;
}

.ba-blog-grid-trf .col-md-4.custom-col .btn, .ba-blog-grid-trf .col-md-4.custom-col .anchor-link {
	background: transparent !important;
	padding: 0;
	color: #2c3936 !important;
	border: 0;
	margin-top: auto;
	width: -moz-fit-content;
	width: fit-content;
	font-weight: 600;
	font-size: 18px;
	line-height: 120%;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
}

.ba-blog-grid-trf .col-md-4.custom-col .anchor-link:hover {
	color: #c4501f !important;
}

.ba-blog-grid-trf .col-md-4.custom-col .btn img, .ba-blog-grid-trf .col-md-4.custom-col .anchor-link img {
	width: 24px;
}

section.background-image-cta-block:last-child, section.location-page-upper-footer {
	z-index: 1;
	position: relative;
	padding-bottom: 0;
}

section.background-image-cta-block:last-child:after, section.location-page-upper-footer:after {
	content: "";
	width: 100%;
	height: 50px;
	background: #2c3936;
	position: absolute;
	left: 0;
	bottom: -20px;
	z-index: -1;
}

section.location-page-upper-footer .buttons {
	display: inline-block;
}

section.background-image-cta-block:last-child a.ba-fw-btn, section.location-page-upper-footer a.ba-fw-btn {
	border-radius: 0;
	border-width: 3px;
	position: relative;
	font-size: 18px;
	line-height: 120%;
	padding: 13px 26px;
	box-shadow: 0 0 0 3px #fff;
	color: #fff;
	transition: color .25s .0833333333s;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background: #c4501f;
	border: 0;
}

section.background-image-cta-block:last-child a.ba-fw-btn:hover, section.location-page-upper-footer a.ba-fw-btn:hover {
	background: #c4501f !important;
}

section.background-image-cta-block:last-child a.ba-fw-btn:before, section.location-page-upper-footer a.ba-fw-btn:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -3px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

section.background-image-cta-block:last-child a.ba-fw-btn:hover:before, section.location-page-upper-footer a.ba-fw-btn:hover:before {
	border-color: #266751;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

section.background-image-cta-block:last-child a.ba-fw-btn:after, section.location-page-upper-footer a.ba-fw-btn:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
}

section.background-image-cta-block:last-child a.ba-fw-btn:hover:after, section.location-page-upper-footer a.ba-fw-btn:hover:after {
	border-color: #266751;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

section.background-image-cta-block:last-child a.ba-fw-btn span, section.location-page-upper-footer a.ba-fw-btn span {
	position: relative;
}

section.background-image-cta-block:last-child a.ba-fw-btn span:after, section.location-page-upper-footer a.ba-fw-btn span:after {
	content: "";
	background: #c4501f;
	background: linear-gradient(180deg, rgba(196, 80, 31, 1) 0%, rgba(196, 80, 31, 1) 50%, rgba(44, 57, 54, 1) 50%, rgba(44, 57, 54, 1) 100%);
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 100px;
	height: 10px;
	bottom: -22px;
}

footer.primary-bg {
	padding-bottom: 30px;
}

.lg-footer .col-12.col-md-3:last-child {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: end;
}

footer.primary-bg a figure.wp-block-image {
	margin-bottom: 50px;
}

footer.primary-bg a ~figure.wp-block-image, footer.primary-bg a ~figure.wp-block-image img {
	margin-bottom: 0;
}

footer.primary-bg p.lg-brand-tag {
	max-width: 100%;
}

footer.primary-bg h4.widget-title {
	padding-bottom: 0;
	color: #c15020;
}

footer.primary-bg ul li {
	padding-bottom: 10px;
}

footer.primary-bg ul.ba-social-media-links li {
	padding-bottom: 0;
}

footer section.block-wysiwyg {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

footer p {
	font-size: 15px;
}

footer .ba-social-media-links li {
	padding-right: 15px;
}

footer .ba-social-media-links li img {
	max-width: 20px;
}

footer .col-6.col-md:nth-child(5n) {
	flex: 1 0 10%;
}

section.finance-trf .row {
	margin: 0;
}

section.ba-blog-grid-trf .row:first-child, section.background-image-cta-block:last-child .row, footer.primary-bg .mob-footer-sticky .row {
	margin-left: 0;
	margin-right: 0;
}

.ba-blog-grid-trf .col-md-4.custom-col .ba-d-link-bottom>a:first-child {
	display: block;
}

/* == Location page css Start == */
section.sub-hero-trf {
	background: #f5f4f4;
	color: #262f2d;
}

section.sub-hero-trf::before, section.sub-hero-trf::after {
	display: none;
}

section.sub-hero-trf .col-areas {
	background: transparent;
	padding-bottom: calc(48px - 1rem);
}

section.sub-hero-trf .col-areas h4, section.sub-hero-trf .col-areas h2 {
	text-align: center;
	color: #262f2d;
	font-size: 42px;
	line-height: 50px;
	padding-bottom: 15px;
	position: relative;
	font-weight: 700;
	margin-bottom: 20px;
}

section.sub-hero-trf .col-areas h4:after, section.sub-hero-trf .col-areas h2:after {
	content: "";
	width: 100px;
	height: 2px;
	background: #266751;
	position: absolute;
	bottom: 7px;
	left: 0;
	right: 0;
	margin: 0 auto;
}

section.sub-hero-trf .col-areas ul {
	padding-left: 0;
	list-style: none;
}

section.sub-hero-trf .col-areas ul li {
	padding-bottom: 14px;
	flex-basis: 25%;
	font-size: 20px;
	line-height: 24px;
	font-weight: 600;
}

section.sub-hero-trf .col-areas ul li a {
	color: #262f2d;
	text-decoration: none;
}

section.sub-hero-trf .col-areas ul li img {
	max-width: 20px;
	vertical-align: middle;
	margin-top: -4px;
	margin-right: 10px;
}

section.block-image-gallery-slider-trf {
	background: transparent !important;
	padding-top: 0;
	overflow: hidden;
}

section.block-image-gallery-slider-trf .ba-section-desc h2.ba-h2 {
	color: #262f2d;
	font-size: 42px;
	line-height: 50px;
	text-align: left !important;
	margin-bottom: 10px;
	padding-bottom: 10px;
	position: relative;
}

section.block-image-gallery-slider-trf .ba-section-desc h2.ba-h2:after {
	content: "";
	width: 100px;
	height: 2px;
	background: #266751;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0;
}

section.block-image-gallery-slider-trf .ba-section-desc p {
	color: #515c5a;
	text-align: left;
	line-height: 28px;
	margin-bottom: 0;
	max-width: 70%;
}

section.block-image-gallery-slider-trf .container {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
}

section.block-image-gallery-slider-trf .container .row:first-child {
	flex: 0 0 calc(100% - 415px);
	max-width: calc(100% - 415px);
	margin-bottom: -155px;
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-thumb {
	flex: 0 0 calc(100% - 415px);
	max-width: calc(100% - 415px);
	height: 390px;
	align-content: end;
	margin-right: 25px;
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content {
	flex: 0 0 390px;
	max-width: 390px;
	max-height: 390px;
	align-content: end;
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content:after {
	content: "";
	width: 100vw;
	height: 420px;
	background: #266751;
	position: absolute;
	top: -25px;
	z-index: -1;
	left: 50%;
}

section.block-image-gallery-slider-trf .container .row.slider .col-md-2 {
	margin-bottom: 0 !important;
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-thumb .col-md-2 img {
	max-width: 95%;
	max-height: 200px;
	object-fit: cover;
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content button.slick-arrow.slick-disabled {
	pointer-events: none;
	border-color: #d9d9d9;
	color: #d9d9d9;
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-thumb button.slick-arrow {
	display: none !important;
	width: 0;
	height: 0;
	line-height: 0;
	opacity: 0;
	visibility: hidden;
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content button.slick-arrow {
	position: absolute;
	left: -50px;
	top: 120px;
	width: 30px;
	height: 30px;
	text-indent: -99999px;
	background: transparent;
	border: 3px solid #266751;
	color: #266751;
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content button.slick-arrow.slick-prev {
	left: -90px;
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content button.slick-arrow:after {
	display: block;
	text-indent: 0;
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	margin: 0 auto;
	content: "";
	font-family: fontawesome;
	font-size: 10px;
	line-height: 28px;
	vertical-align: middle;
	transform: rotate(-90deg);
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content button.slick-arrow.slick-prev:after {
	transform: rotate(90deg);
}

section.block-image-gallery-slider-trf .container .row.slider .slick-active.slick-current {
	position: relative;
}

section.block-image-gallery-slider-trf .container .row .slick-current.slick-active:after {
	width: calc(100% - 20px);
	height: 93%;
	position: absolute;
	border: 0;
	top: 50%;
	transform: translate(0, -50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/finance-left-img-shape.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	z-index: 2;
	object-fit: cover;
	box-sizing: border-box;
	opacity: 1;
	transition: opacity .7s;
	content: "";
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-thumb .slick-current.slick-active:after {
	width: calc(95% - 20px);
	left: -5%;
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content .col-md-2 img {
	width: 100%;
	max-width: 100%;
	object-fit: cover;
	height: 100%;
}

section.about-location-trf {
	background-color: #e8e7e5 !important;
}

section.about-location-trf h3.ba-h2, section.about-location-trf h2.ba-h2 {
	color: #262f2d;
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 50px;
}

section.about-location-trf h3.ba-h2:after, section.about-location-trf h2.ba-h2:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: 0;
	width: 100px;
	height: 3px;
	background: #266751;
}

section.about-location-trf h3.owner-name {
	font-size: 28px;
	line-height: 33px;
	color: #266751;
	margin-bottom: 0;
	padding-bottom: 10px;
}

section.about-location-trf p {
	line-height: 28px;
	color: #515c5a !important;
}

section.about-location-trf p.owner-desination {
	color: #262f2d !important;
	line-height: 21px;
}

section.about-location-trf .social-icons {
	margin-top: 0;
}

section.about-location-trf .social-icons a {
	margin-right: 15px;
	background: transparent;
	border-radius: 100%;
	overflow: visible;
}

section.about-location-trf .social-icons a img {
	max-width: 24px;
}

section.about-location-trf .social-icons a:last-child {
	margin-right: 0;
}

.about-location-trf .member-image {
	position: relative;
}

.about-location-trf .member-image:after {
	content: "";
	position: absolute;
	transition: color .25s 83.3333333ms;
	display: inline-block;
	height: 385px;
	width: 100%;
	left: 0;
	right: 0;
	margin: 0 auto;
	top: 50%;
	transform: translate(0, -50%);
	border-left: 23px solid #266751;
	border-right: 23px solid #266751;
	border-top: 23px solid #266751;
}

.about-location-trf .member-image span {
	display: block;
	width: 100%;
	height: 23px;
	position: absolute;
	bottom: -1px;
}

.about-location-trf .member-image span:before {
	content: "";
	width: calc(50% - 100px);
	position: absolute;
	height: 23px;
	background: #266751;
	z-index: 1;
	left: 0;
	bottom: 0;
}

.about-location-trf .member-image span:after {
	content: "";
	width: calc(50% - 100px);
	position: absolute;
	height: 23px;
	background: #266751;
	z-index: 1;
	right: 0;
	bottom: 0;
}

.location-city-trf .location-city-copy-img {
	display: block;
	overflow: hidden;
	max-height: 575px;
}

.location-city-trf .location-city-copy-img img {
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
}

.location-city-trf h2.ba-h2 {
	background: rgba(38, 103, 81, .8);
	color: #fff;
	padding-left: 55px;
	padding-right: 55px;
	padding-top: 35px;
	position: relative;
	margin-top: -110px;
	padding-bottom: 25px;
	margin-bottom: 0 !important;
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
	font-size: 42px;
	line-height: 50px;
}

.location-city-trf h2.ba-h2:after {
	content: "";
	position: absolute;
	left: 55px;
	right: 0;
	margin: 0;
	bottom: 15px;
	width: 100px;
	height: 3px;
	background: #fff;
}

.location-city-trf .row.location-city-copy {
	margin: 0;
	background: #266751;
	padding: 55px;
	color: #fff;
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
	line-height: 28px;
}

.location-city-trf .row.location-city-copy .copy-col-2 {
	column-count: 1;
	padding: 0;
}

.location-city-trf .row.location-city-copy .copy-col-2 ul {
	padding-left: 15px;
	margin-bottom: 0;
}

.location-city-trf .row.location-city-copy .copy-col-2 ul li {
	line-height: 28px;
	margin-bottom: 1rem;
}

.block-testimonials-trf .testimonial-wrap {
	max-width: 100%;
}

.block-testimonials-trf h2.ba-h2 {
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 30px !important;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
}

.block-testimonials-trf h2.ba-h2:after {
	content: "";
	width: 100px;
	height: 2px;
	position: absolute;
	background: #266751;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: 0;
}

.block-testimonials-trf .testimonial-wrap-slider-column {
	border: 0;
	background: #f6f6f6;
	padding: 40px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	flex-direction: column;
	position: relative;
}

.block-testimonials-trf .testimonial-wrap-slider-column img.ba-client-img-sq {
	margin: 0;
	max-width: 60px;
	max-height: 60px;
	position: absolute;
	left: 40px;
	display: block;
	border-radius: 50%;
}

.block-testimonials-trf .testimonial-wrap-slider-column img.ba-client-star {
	margin: 0;
	order: 3;
	text-align: left;
	width: 100px;
	margin-left: 80px;
	margin-top: -6px;
}

.block-testimonials-trf .testimonial-wrap-slider-column h5.ba-h5.client-name {
	margin: 0;
	order: 2;
	text-align: left;
	margin-left: 80px;
	font-size: 24px;
	line-height: 28px;
	color: #262f2d;
}

.block-testimonials-trf .testimonial-wrap-slider-column p {
	margin: 0;
	order: 4;
	text-align: left;
	padding-top: 20px;
	line-height: 28px;
	color: #515c5a;
}

.testimonial-wrap-slider-trf .slick-list {
	padding: 0 20% 0 0 !important;
}

.testimonial-wrap-slider-trf .slick-list .slick-track {
	display: flex !important;
}

.testimonial-wrap-slider-trf .slick-list .slick-slide {
	height: inherit !important;
	margin: 0 30px 0 0;
}

.testimonial-wrap-slider-trf ul.slick-dots {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	list-style: none;
	gap: 5px;
}

.testimonial-wrap-slider-trf ul.slick-dots button {
	text-indent: -99999px;
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 100%;
	border: 2px solid #cdcdcd;
	background: transparent;
	transition: color .2s, width .2s;
}

.testimonial-wrap-slider-trf ul.slick-dots li.slick-active button {
	width: 30px;
	border-radius: 8px;
	background: #262f2d;
	border-color: #262f2d;
	transition: color .2s, width .2s;
}

.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-img-grid a img {
	max-height: 300px;
	min-height: 300px;
	object-fit: cover;
}

.block-services-list-trf .col-md-6 {
	margin-bottom: 20px;
}

section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid p:has(a.understrap-read-more-link) {
	display: none !important;
}

body:not(.home) .hero-trf-location .breadcrumbs, body:not(.home) section.hero-location.hero-trf .breadcrumbs {
	position: absolute;
	z-index: 1;
}

body:not(.home) .hero-trf-location .col-lg-4 .breadcrumbs, body:not(.home) section.hero-location.hero-trf .col-lg-4 .breadcrumbs {
	position: relative;
}

section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-thumb .slick-active.slick-current:hover img {
	transform: scale(1) !important;
}

.block-testimonials-trf .ti-header.source-Google {
	display: none !important;
}

.block-testimonials-trf .slick-slider .slick-track {
	display: flex !important;
}

.block-testimonials-trf .slick-slider .slick-track .slick-slide {
	height: inherit !important;
}

.block-testimonials-trf .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner * {
	font-family: "hfb" !important;
}

.block-testimonials-trf .slick-slider .slick-track .slick-slide > .ti-inner, .block-testimonials-trf .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner {
	height: 100%;
	border: 0;
	background: #f6f6f6 !important;
	padding: 40px !important;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	flex-direction: column;
	position: relative;
}

.block-testimonials-trf .slick-slider .slick-track .slick-slide > .ti-inner .ti-name, .block-testimonials-trf .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner .ti-name {
	margin: 0;
	text-align: left;
	margin-left: 0;
	font-size: 24px;
	line-height: 28px;
	color: #262f2d;
	margin-top: -15px;
}

.block-testimonials-trf .slick-slider .slick-track .slick-slide > .ti-inner img, .block-testimonials-trf .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner img {
	width: 60px !important;
	height: 60px !important;
}

.block-testimonials-trf .slick-slider .slick-track .slick-slide > .ti-inner>span.ti-stars, .block-testimonials-trf .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner>span.ti-stars {
	margin-left: 75px;
	margin-top: -30px;
}

.block-testimonials-trf .slick-slider .slick-track .slick-slide > .ti-inner>span.ti-stars img.ti-star, .block-testimonials-trf .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner>span.ti-stars img.ti-star {
	width: 17px !important;
	height: 17px !important;
}

.block-testimonials-trf .slick-slider .slick-track .slick-slide > .ti-inner .ti-profile-details .ti-date, .block-testimonials-trf .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner .ti-profile-details .ti-date {
	display: none;
}

.block-testimonials-trf .slick-slider .slick-track .slick-slide > .ti-inner .ti-review-content .ti-review-text-container, .block-testimonials-trf .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner .ti-review-content .ti-review-text-container {
	padding-top: 0px;
	line-height: 28px;
	color: #515c5a !important;
	font-size: 18px;
	font-weight: 400;
}

.block-testimonials-trf .testimonial-wrap-slider-trf-mobile .slick-slider .slick-track .slick-slide > .ti-inner, .block-testimonials-trf .testimonial-wrap-slider-trf-mobile .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner {
	padding: 20px !important;
}

.block-testimonials-trf .testimonial-wrap-slider-trf-mobile .slick-slider .slick-track .slick-slide > .ti-inner .ti-name, .block-testimonials-trf .testimonial-wrap-slider-trf-mobile .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner .ti-name {
	font-size: 20px;
	line-height: 24px;
	margin-top: -30px;
}

.block-testimonials-trf .testimonial-wrap-slider-trf-mobile .slick-slider .slick-track .slick-slide > .ti-inner>span.ti-stars, .block-testimonials-trf .testimonial-wrap-slider-trf-mobile .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner>span.ti-stars {
	margin-top: -40px;
}

.block-testimonials-trf .testimonial-wrap-slider-trf-mobile .slick-slider .slick-track .slick-slide > .ti-inner .ti-review-content, .block-testimonials-trf .testimonial-wrap-slider-trf-mobile .ti-widget .slick-slider .slick-track .slick-slide > .ti-inner .ti-review-content {
	padding-top: 10px;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item {
	background: transparent;
	border: 0;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item button.accordion-button {
	padding-left: 0;
	border-bottom: 1px solid #286953;
	padding-top: 0;
	padding-bottom: 15px;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item button.accordion-button.collapsed {
	padding-bottom: 15px;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item button.accordion-button img {
	margin-right: 10px;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse > .row {
	padding: 15px 0;
	gap: 15px;
	margin: 0;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse > .row .col-4 {
	background: #f2f2f2;
	padding: 15px;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse > .row > [class*="col-"] {
	background: #f2f2f2;
	padding: 15px;
	border-left: 4px solid #286953;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse > .row > .col-4 {
	width: 100%;
	max-width: calc(25% - 12px);
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse h5.ba-h5, .ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse h4.ba-h5 {
	position: relative;
	padding-right: 30px;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse .ba-link-a {
	position: relative;
	right: 0;
	text-decoration: none;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse .ba-link-a:hover {
	color: #c4501f !important;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse .ba-link-a.ba-link-a-without-arrow {
	position: relative;
	left: 0;
	right: inherit;
	text-decoration: none;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse .ba-link-a.ba-link-a-without-arrow:hover {
	color: #c4501f !important;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse .ba-link-a.ba-link-a-without-arrow:after {
	display: none !important;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse .ba-link-a:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/arrow-narrow-up-right-green.svg");
	transform: rotate(0);
	background-size: 20px;
	width: 20px;
	height: 20px;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse .ba-link-a:hover:after {
	-webkit-animation: 1s ease-in-out infinite slide1;
	animation: 1s ease-in-out infinite slide1;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse a.locations-num img {
	margin-right: 10px;
	-webkit-animation: 1.2s ease-in-out infinite tilt-shaking;
	-moz-animation: 1.2s ease-in-out infinite tilt-shaking;
	-ms-animation: tilt-shaking 1.2s infinite ease-in-out;
	-o-animation: 1.2s ease-in-out infinite tilt-shaking;
	animation: 1.2s ease-in-out infinite tilt-shaking;
	-webkit-transition: .5s;
	-moz-transition: .5s;
	-o-transition: .5s;
	transition: all .5s;
}

.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item button.accordion-button::after {
	right: 0;
}

section.location-list-banner-hero {
	background: #266751;
	background: linear-gradient(90deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 37%, rgba(232, 231, 229, 1) 37%, rgba(232, 231, 229, 1) 100%);
}

section.location-list-banner-hero .wrapper {
	padding: 0;
}

section.location-list-banner-hero .row {
	align-items: flex-start;
}

section.location-list-banner-hero .col-md-4 {
	position: relative;
}

section.location-list-banner-hero .col-md-4:before {
	content: "";
	background: #266751;
	width: 100%;
	height: calc(100% + 120px);
	position: absolute;
	left: 0;
	top: -60px;
	z-index: 0;
}

section.location-list-banner-hero h2.ba-h2, section.location-list-banner-hero h1.ba-h2 {
	/* font-size: 40px; */
	color: #fff;
	margin-bottom: 20px;
	position: relative;
	z-index: 1;
}

section.location-list-banner-hero p {
	color: #fff;
	line-height: 28px;
	position: relative;
	z-index: 1;
}

section.location-list-banner-hero .col-md-8 {
	text-align: right;
}

section.location-list-banner-hero img.location-right-img {
	max-width: 90%;
	margin: 0 auto;
	height: 100%;
	object-fit: contain;
}

.location-list-sub-hero {
	padding-top: 0 !important;
	margin-top: -70px;
	padding-bottom: 0 !important;
	z-index: 1;
	position: relative;
}

.location-list-sub-hero .wrapper {
	padding: 0;
}

.location-list-sub-hero .hero-search-form {
	background: #f6f6f6;
	box-shadow: 0 4px 44px 0 rgba(0, 0, 0, .12);
	border: 2px solid #256950;
	padding: 20px;
	margin-top: 0 !important;
}

.location-list-sub-hero .hero-search-form .ba-h1 {
	font-size: 20px;
	text-align: left;
	margin: 0;
	color: #262f2d !important;
	line-height: 30px;
	margin-bottom: 20px;
}

.location-list-sub-hero .hero-search-form .input-group {
	display: block;
}

.location-list-sub-hero .hero-search-form input.form-control {
	background: transparent;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-radius: 0;
	padding-left: 0;
	width: calc(100% - 95px);
}

.location-list-sub-hero .hero-search-form input.form-control::placeholder {
	color: #92a39f;
	font-size: 16px !important;
	font-weight: 400 !important;
}

.location-list-sub-hero .hero-search-form .input-group button#zip-Code {
	border-radius: 0;
	min-width: 117px;
}

.location-list-sub-hero .hero-search-form .input-group button#zip-Code:hover {
	background: #c4501f !important;
}

.location-list-sub-hero .hero-search-form .input-group button#get-location {
	border-radius: 0;
	background: transparent !important;
	border: 0px solid transparent;
	color: #256950 !important;
	box-shadow: 0 0 0 3px #256950;
	transition: color .25s .0833333333s;
	position: relative;
}

.location-list-sub-hero .hero-search-form .input-group button#get-location:hover {
	color: #c4501f !important;
}

.location-list-sub-hero .hero-search-form .input-group button#get-location:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

.location-list-sub-hero .hero-search-form .input-group button#get-location:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
}

.location-list-sub-hero .hero-search-form .input-group button#get-location span {
	position: relative;
}

.location-list-sub-hero .hero-search-form .input-group button#get-location span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	right: 0;
	bottom: -18px;
	background: #f6f6f6;
	left: 0;
	margin: 0 auto;
}

.location-list-sub-hero .hero-search-form .input-group button#get-location:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

.location-list-sub-hero .hero-search-form .input-group button#get-location:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

.location-list-sub-hero .hero-search-form .input-group span.invalid-zip-code {
	position: relative;
	bottom: 0;
	color: red;
	font-size: 14px;
}

.location-list-sub-hero .hero-search-form .input-group span.invalid-zip-code-current-location {
	position: relative;
	bottom: 0;
	color: red;
	font-size: 14px;
}

section.block-text-image-trf {
	background: transparent !important;
	position: relative;
	padding-bottom: 50px;
}

/*body.parent-pageid-5388 section.text-image-trf-contact {
    position: relative;
    padding-bottom: 170px;
}*/

/* section.block-text-image-trf:after,*/

/* body.parent-pageid-5388 section.text-image-trf-contact:after{*/

/* content: ""; */

/* width: 95%; */

/* background: url(/wp-content/uploads/2024/05/why-install-bg-railing-img-new-updated.png); */

/* height: 170px; */

/* position: absolute; */

/* bottom: 0; */

/* background-size: 100% 100%; */

/* margin: 0 auto; */

/* left: 0; */

/* right: 0; */

/* } */
section.block-text-image-trf:after {}

body.page-id-1028 section.block-text-image-trf:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/products/shape/Vinyl-Fences-shape.png");
}

body.page-id-5207 section.block-text-image-trf:after, body.page-id-4046 section.block-text-image-trf:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/products/shape/metal-fence-shape.png");
}

body.page-id-1038 section.block-text-image-trf:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/products/shape/Chain-Link-Fences-shape.png");
}

body.page-id-1040 section.block-text-image-trf:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/products/shape/Gates-and-Entry-shape.png");
}

body.page-id-5253 section.block-text-image-trf:after, body.page-id-1043 section.block-text-image-trf:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/products/shape/Railings-shape.png");
}

section.block-text-image-trf .block-text-image-trf-container {
	position: relative;
	background: #e8e7e5;
}

section.block-text-image-trf .block-text-image-trf-container:before {
	content: "";
	width: 100%;
	height: 30px;
	background: #fff;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
}

section.block-text-image-trf .block-text-image-trf-container:after {
	content: "";
	width: 100%;
	height: 30px;
	background: #fff;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 0;
}

section.block-text-image-trf .block-text-image-trf-container .container {
	z-index: 1;
	position: relative;
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-image .col-md-6:first-child h2, section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:first-child h2 {
	display: none !important;
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-image .col-md-6:first-child, section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:first-child {
	position: relative;
	overflow: hidden;
	padding: 0;
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-image .col-md-6:first-child:before, section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:first-child:before {
	content: "";
	width: calc(100% - 20px);
	height: 93%;
	position: absolute;
	border: 0;
	top: 50%;
	transform: translate(0, -50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/finance-left-img-shape.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	z-index: 2;
	object-fit: cover;
	box-sizing: border-box;
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-image .col-md-6:first-child img, section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:first-child img {
	transition: all .7s;
	height: 100%;
	object-fit: cover;
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-image .col-md-6:first-child:hover img, section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:first-child:hover img {
	transform: scale(1.2);
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-image .col-md-6:last-child, section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:last-child {
	padding-top: 50px;
	padding-bottom: 50px;
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-image .col-md-6:last-child h2.ba-h2, section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:last-child h2.ba-h2 {
	position: relative;
	padding-bottom: 15px;
	font-size: 42px;
	line-height: 50px;
	margin-bottom: 16px !important;
	color: #262f2d;
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-image .col-md-6:last-child h2.ba-h2:after, section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:last-child h2.ba-h2:after {
	content: "";
	width: 100px;
	height: 3px;
	background: #262f2d;
	position: absolute;
	left: 0;
	bottom: 0;
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-image .col-md-6:last-child p, section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:last-child p {
	color: #515c5a;
	line-height: 28px;
}

section.product-about-two-block-section {
	position: relative;
}

section.product-about-two-block-section:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 50%;
	width: 100%;
	background: #266751;
	z-index: -1;
}

section.product-about-two-block-section:after {
	content: "";
	width: 100%;
	height: 10%;
	position: absolute;
	left: 0;
	bottom: 50%;
	background: #e8e7e5;
	z-index: -1;
}

.product-about-two-block-section h2.ba-h2 {
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 30px !important;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
	text-align: center;
}

.product-about-two-block-section h2.ba-h2:after {
	content: "";
	width: 100px;
	height: 2px;
	position: absolute;
	background: #266751;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: 5px;
}

section.product-about-two-block-section .ba-img-block img {
	width: 100%;
	max-width: 100%;
	transition: all .7s;
}

section.product-about-two-block-section .ba-img-block .col-12 {
	margin-bottom: 15px !important;
	display: block;
}

section.product-about-two-block-section .ba-img-block h3 {
	color: #fff;
	font-size: 28px;
	font-style: normal;
	font-weight: 700;
	line-height: 40px;
}

section.product-about-two-block-section .ba-img-block p {
	color: #fff;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 28px;
	text-align: left;
	margin-top: 20px;
	margin-bottom: 0;
}

section.product-about-two-block-section .ba-img-block .col-12 .ba-grid-content {
	border-bottom: 0px solid #589984;
	padding-bottom: 25px;
	margin-bottom: 20px;
	padding-left: 0;
	padding-right: 0;
}

section.product-about-two-block-section .ba-img-block .col-12 .ba-grid-content .ba-f-img-grid {
	margin-left: 0;
	margin-right: 0;
	position: relative;
	overflow: hidden;
}

section.product-about-two-block-section .ba-img-block .col-12 .ba-grid-content .ba-f-img-grid:after {
	content: "";
	width: calc(100% - 20px);
	height: 93%;
	position: absolute;
	border: 0;
	top: 50%;
	transform: translate(0, -50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/finance-left-img-shape.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	z-index: 2;
	object-fit: cover;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity .7s;
}

section.product-about-two-block-section .ba-img-block .col-12 .ba-grid-content .ba-f-img-grid:hover:after {
	opacity: 1;
}

section.product-about-two-block-section .ba-img-block .col-12 .ba-grid-content .ba-f-img-grid:hover img {
	transform: scale(1.2);
}

body.page-template-blog .blog-cat-list li:nth-child(9n), body.single-post .blog-cat-list li:nth-child(9n) {
	border-right: 0;
}

body.page-template-blog .blog-cat-list li:nth-child(9n)+li, body.page-template-blog .blog-cat-list li:nth-child(9n)+li+li, body.single-post .blog-cat-list li:nth-child(9n)+li, body.single-post .blog-cat-list li:nth-child(9n)+li+li {}

section.text-image-trf-contact {
	overflow: hidden;
}

.text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-6:last-child, .text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-5:last-child {
	padding-left: 15px;
}

.text-image-trf-contact > .container > .row.flex-row-reverse > .col-md-6:first-child, .text-image-trf-contact > .container > .row.flex-row-reverse > .col-md-7:first-child {
	background: #e8e7e5;
	position: relative;
}

.text-image-trf-contact > .container > .row.flex-row-reverse > .col-md-6:first-child:after, .text-image-trf-contact > .container > .row.flex-row-reverse > .col-md-7:first-child:after {
	content: "";
	background: #e8e7e5;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -1;
}

.text-image-trf-contact > .container > .row.flex-row-reverse > .col-md-6:first-child img, .text-image-trf-contact > .container > .row.flex-row-reverse > .col-md-7:first-child img, .text-image-trf-about > .container > .row > .col-md-7:first-child img {
	vertical-align: middle;
	position: relative;
	top: 50%;
	transform: translate(0, -50%);
}

.text-image-trf-contact h2, .text-image-trf-about h2 {
	color: #262f2d;
	position: relative;
	padding-bottom: 15px;
	max-width: 100%;
	font-size: 42px;
	line-height: 50px;
	margin-bottom: 30px !important;
}

.text-image-trf-contact h2:after, .text-image-trf-about h2:after {
	content: "";
	width: 100px;
	height: 3px;
	background: #266751;
	position: absolute;
	left: 0;
	bottom: 0;
}

.text-image-trf-about li {
	color: #515c5a;
	line-height: 28px;
	font-size: 18px;
}

.text-image-trf-contact a.about-light, .text-image-trf-about a.about-light, .text-image-trf-about a.btn-link {
	margin: 0;
	background: 0 0;
	border-radius: 0;
	border: 0 solid #262f2d;
	width: auto;
	padding-left: 0;
	padding-right: 0;
	box-shadow: 0 0 0 3px #262f2d;
	color: #262f2d;
	transition: color .25s 83.3333333ms;
	font-size: 18px;
	font-weight: 700;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
	text-align: center;
	position: relative;
	display: inline-block;
}

.text-image-trf-contact a.about-light:before, .text-image-trf-about a.about-light:before, .text-image-trf-about a.btn-link:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

.text-image-trf-contact a.about-light:hover:before, .text-image-trf-about a.about-light:hover:before, .text-image-trf-about a.btn-link:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

.text-image-trf-contact a.about-light:after, .text-image-trf-about a.about-light:after, .text-image-trf-about a.btn-link:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
}

.text-image-trf-contact a.about-light:hover:after, .text-image-trf-about a.about-light:hover:after, .text-image-trf-about a.btn-link:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

.text-image-trf-contact a.about-light span:after, .text-image-trf-about a.about-light span:after, .text-image-trf-about a.btn-link span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	right: 0;
	bottom: -4px;
	background: #e8e7e5;
	left: 0;
	margin: 0 auto;
}

.text-image-trf-contact.green a.about-light span:after, .text-image-trf-about.green a.about-light span:after, .text-image-trf-about.green a.btn-link {
	background: #e8e7e5;
}

.text-image-trf-contact.grey a.about-light span:after, .text-image-trf-about.grey a.about-light span:after, .text-image-trf-about.grey a.btn-link span:after {
	background: #fff;
}

.text-image-trf-contact.white a.about-light span:after, .text-image-trf-about.white a.about-light span:after, .text-image-trf-about.white a.btn-link:after {
	background: #fff;
}

.thank-you-page .hero.hero-thank-you-trf .heading h1 {
	font-size: 42px;
	line-height: 50.4px;
}

.thank-you-page .hero.hero-thank-you-trf .heading p {
	font-size: 24px;
	line-height: 28.8px;
	padding-top: 10px;
}

.thank-you-page .hero.hero-thank-you-trf .heading .ba-sub-head h3 {
	font-size: 42px;
	line-height: 50.4px;
	margin-bottom: 0;
}

.thank-you-page .hero.hero-thank-you-trf .box-icon img {
	height: 40px;
	margin-bottom: 10px;
}

.thank-you-page .hero.hero-thank-you-trf .box-icon h3 {
	font-size: 24px;
	line-height: 28px;
}

.thank-you-page .hero.hero-thank-you-trf .box-icon p {
	line-height: 28px;
}

header#wrapper-navbar {
	box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

#main-menu li.hide-web {
	display: none;
}

#main-menu li.current-menu-item > a, #main-menu li.current-menu-parent > a {
	color: #c4501f;
}

.block-four-cols-and-icon-trf .ba-section-desc h2.ba-h2 {
	position: relative;
	padding-bottom: 10px;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
	margin-bottom: 10px;
}

.block-four-cols-and-icon-trf .ba-section-desc h2.ba-h2:after {
	content: "";
	width: 100px;
	height: 2px;
	background: #266751;
	position: absolute;
	bottom: -10px;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.block-four-cols-and-icon-trf .ba-section-desc p {
	line-height: 28px;
	color: #515c5a;
}

.block-four-cols-and-icon-trf .ba-section-desc h2.ba-h2+p {
	padding-top: 15px;
}

.block-four-cols-and-icon-trf .row:last-child .col-12.ba-icon-wrap {
	padding-left: 40px !important;
	padding-right: 40px !important;
	border-left: 1px solid #266751;
}

.block-four-cols-and-icon-trf .row:last-child .col-12.ba-icon-wrap:first-child {
	border-left: 0;
}

.block-four-cols-and-icon-trf .row:last-child .col-12.ba-icon-wrap .col-12 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.block-four-cols-and-icon-trf .row:last-child .col-12.ba-icon-wrap .col-12 img.ba-icon {
	max-width: 69px;
}

.block-four-cols-and-icon-trf .row:last-child .col-12.ba-icon-wrap .col-12 h3 {
	font-size: 24px;
	line-height: 28px;
	color: #262f2d;
	min-height: inherit;
	margin-bottom: 0;
}

.block-four-cols-and-icon-trf .row:last-child .col-12.ba-icon-wrap .col-12 p {
	line-height: 28px;
	color: #515c5a;
}

section.primary-bg-about-light {
	background: #e8e7e5;
	position: relative;
	margin-bottom: 60px;
}

body.parent-pageid-629 section.text-image-trf-about {
	margin-top: 60px;
}

section.primary-bg-about-light:after {
	content: "";
	height: 100%;
	position: absolute;
	background: #266751;
	right: 0;
	top: 0;
	z-index: 0;
	width: calc(100vw - 65vw);
}

section.primary-bg-about-light:before {
	content: "";
	width: calc(100vw - 25vw);
	position: absolute;
	height: 100%;
	background: #e8e7e5;
	top: 0;
	left: 0;
	z-index: 1;
}

section.primary-bg-about-light .container {
	z-index: 1;
	position: relative;
}

section.primary-bg-about-light .col-md-5:last-child, section.primary-bg-about-light .col-md-6:last-child {
	padding-left: 15px;
}

section.hero-location.blog-hero.hero-trf .container {
	max-width: 2560px;
	padding-left: 8%;
}

.blog-category-bar-trf {
	padding-top: 30px;
}

.blog-category-bar-trf .row {
	margin: 0;
}

.blog-category-bar-trf form.search-form.search-bar {
	margin-bottom: 30px;
}

.blog-category-bar-trf form.search-form.search-bar .input-group {
	justify-content: center;
}

.blog-category-bar-trf form.search-form.search-bar input.form-control.blog-search {
	max-width: 339px;
	background: #f6f6f6;
	border: 2px solid #589984;
	margin-right: 10px;
	border-radius: 0;
	font-size: 18px;
	color: #515c5a;
	line-height: 21.6px;
}

.blog-category-bar-trf form.search-form.search-bar .input-group button.ba-search {
	padding: 19px 70px;
	border-radius: 0;
	background: #256950;
	opacity: 1;
	font-size: 18px;
	line-height: 21.6px;
}

.blog-category-bar-trf ul.blog-cat-list {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}

.blog-category-bar-trf ul.blog-cat-list li {
	border: 0;
	padding: 0;
	flex: 0 0 20%;
	margin-bottom: 15px;
}

.blog-category-bar-trf ul.blog-cat-list li a.ba-link-a:after {
	display: none;
}

.blog-category-bar-trf ul.blog-cat-list li a.ba-link-a {
	padding: 0 30px;
	text-decoration: none;
	font-size: 18px;
	line-height: 21.6px;
	color: #266751;
	position: relative;
}

.blog-category-bar-trf ul.blog-cat-list li a.ba-link-a:before {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/arrow-narrow-up-right-green.svg");
	transform: rotate(0);
	background-size: 20px;
	width: 20px;
	height: 20px;
	content: "";
	position: absolute;
	left: 0;
	top: 0;
}

.blog-category-bar-trf ul.blog-cat-list li a.ba-link-a:hover:before {
	-webkit-animation: 1s ease-in-out infinite slide1;
	animation: 1s ease-in-out infinite slide1;
}

.page-template-blog section.block-blog-posts-trf, .page-template-blog .block-blog-posts-trf:nth-child(odd), section.block-blog-posts-trf {
	background: #266751;
	margin-bottom: 0px;
	margin-top: 30px;
}

.page-template-blog section.block-blog-posts-trf *, section.block-blog-posts-trf * {
	color: #fff;
}

section.block-blog-posts-trf .header-section {
	position: relative;
	max-width: 100%;
	text-align: left;
	padding-bottom: 30px;
	margin-bottom: 40px;
}

section.block-blog-posts-trf .header-section:after {
	content: "";
	width: 100%;
	background: #589984;
	height: 1px;
	position: absolute;
	bottom: 0;
	left: 0;
}

section.block-blog-posts-trf .header-section a.ba-link-a {
	margin: 0;
	position: absolute;
	right: 0;
	bottom: 30px;
	background: 0 0;
	border-radius: 0;
	border: 0 solid #fff;
	width: 180px;
	padding-left: 0;
	padding-right: 0;
	box-shadow: 0 0 0 3px #fff;
	color: #fff;
	transition: color .25s 83.3333333ms;
	font-size: 18px;
	font-weight: 400;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
	text-align: center;
}

section.block-blog-posts-trf .header-section a.ba-link-a:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

section.block-blog-posts-trf .header-section a.ba-link-a:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
	transform: inherit;
	background-image: none;
}

section.block-blog-posts-trf .header-section a.ba-link-a:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

section.block-blog-posts-trf .header-section a.ba-link-a:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

section.block-blog-posts-trf .header-section a.ba-link-a span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	right: 0;
	bottom: -4px;
	background: #266751;
	left: 0;
	margin: 0 auto;
}

section.block-blog-posts-trf .header-section h2.ba-h2 {
	text-align: left !important;
	margin-bottom: 10px;
	max-width: calc(100% - 310px);
	font-size: 42px;
	line-height: 50px;
}

.page-template-blog section.block-blog-posts-trf p.excerpt a, section.block-blog-posts-trf p.excerpt a {
	font-size: 24px;
	line-height: 30px;
	text-decoration: none;
}

.page-template-blog section.block-blog-posts-trf p.excerpt a:hover, section.block-blog-posts-trf p.excerpt a:hover {
	color: #c4501f;
}

.page-template-blog section.block-blog-posts-trf .ba-d-link-bottom, section.block-blog-posts-trf .ba-d-link-bottom {
	padding-bottom: 30px;
	position: relative;
}

section.block-blog-posts-trf .ba-d-link-bottom a img {
	min-height: 300px;
	object-fit: cover;
}

.page-template-blog section.block-blog-posts-trf p.date, section.block-blog-posts-trf p.date {
	font-size: 18px;
	line-height: 36px;
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 0;
	left: 0;
}

.page-template-blog section.block-blog-posts-trf p.excerpt, section.block-blog-posts-trf p.excerpt {
	margin-bottom: 0;
}

body.single-location section.location-city-header-trf {
	padding-top: 0;
}

section.location-city-header-trf h2.ba-h2 {
	margin-top: 0;
	background: #266751;
	max-width: 100%;
	padding-top: 55px;
}

section.location-city-header-trf .row.location-city-copy {
	max-width: 100%;
	padding-top: 11px;
	margin-top: -1px;
}

section.block-images-with-description-trf .images-list {
	justify-content: inherit !important;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-header-trf {
	margin-bottom: 0;
	padding-bottom: 0;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-header-trf .header-section {
	margin-bottom: 0;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-list-trf {
	overflow: hidden;
	margin-top: 0;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-list-trf .row {
	position: relative;
	padding-top: 60px;
	padding-bottom: 30px;
	margin-bottom: 1px;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-list-trf .row:before {
	content: "";
	background: #589984;
	height: 1px;
	position: absolute;
	bottom: -1px;
	width: 100%;
	margin-left: 0;
	left: 0;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-list-trf .row:first-child {
	padding-top: 0px;
	padding-bottom: 30px;
	margin-bottom: 1px;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-list-trf .row:last-child {
	padding-bottom: 0px;
	margin-bottom: 0px;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-list-trf .row:last-child:before {
	display: none;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-list-trf .ba-load-wrap .ba-grid-gap {
	padding-bottom: 30px;
	border-bottom: 1px solid #589984;
}

.single-post-content-wrapper h2.page-title {
	padding-top: 0;
	position: relative;
	padding-bottom: 10px;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
	margin-bottom: 10px;
	font-weight: 600;
}

.single-post-content-wrapper h2.page-title:after {
	content: "";
	width: 100px;
	height: 3px;
	background: #266751;
	position: absolute;
	bottom: -10px;
	left: 0;
	margin: 0;
}

.single-post-content-wrapper section.ba-gap-lg {
	padding-top: 0px;
}

.single-post-content-wrapper section.ba-gap-lg .col-md-12 {
	padding: 0 !important;
}

.single-post-content-wrapper section.ba-gap-lg .post-wrap {
	max-width: 100%;
}

.single-post-content-wrapper .post-wrap h2, .single-post-content-wrapper .post-wrap h2 b, .single-post-content-wrapper .post-wrap h2 strong {
	font-size: 24px;
	line-height: 28.8px;
	color: #262f2d;
	font-weight: 700 !important;
}

.single-post-content-wrapper .post-wrap h3, .single-post-content-wrapper .post-wrap h3 b, .single-post-content-wrapper .post-wrap h3 strong {
	font-size: 22px;
	line-height: 28.8px;
	color: #262f2d;
	font-weight: 600 !important;
}

.single-post-content-wrapper .post-wrap h4, .single-post-content-wrapper .post-wrap h4 b, .single-post-content-wrapper .post-wrap h4 strong {
	font-size: 20px;
	line-height: 28.8px;
	color: #262f2d;
	font-weight: 600 !important;
}

.single-post-content-wrapper .post-wrap p {
	line-height: 28px;
	color: #515c5a;
	font-size: 18px !important;
}

.post-wrap ol li, .post-wrap ul li {
	color: #515c5a;
	line-height: 28px;
	margin-bottom: 10px;
	font-size: 18px;
}

.single-post-content-wrapper .post-wrap > *:first-child {
	margin-top: 0;
}

.single-post-content-wrapper .related-post-wrapper .title, .single-post-content-wrapper .recent-post-wrapper h2 {
	padding-top: 0;
	position: relative;
	padding-bottom: 10px;
	font-size: 24px;
	line-height: 28px;
	color: #262f2d;
	margin-bottom: 20px;
	font-weight: 700;
}

.single-post-content-wrapper .related-post-wrapper .title:after, .single-post-content-wrapper .recent-post-wrapper h2:after {
	content: "";
	width: 80px;
	height: 3px;
	background: #266751;
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
}

.single-post-content-wrapper .related-post-wrapper ul, .single-post-content-wrapper .recent-post-wrapper ul {
	padding-left: 0;
	list-style: none;
}

.single-post-content-wrapper .related-post-wrapper ul li, .single-post-content-wrapper .recent-post-wrapper ul li {
	position: relative;
	border-bottom: 1px solid #589984;
	display: block;
	width: 100%;
	margin-bottom: 30px;
}

.single-post-content-wrapper .recent-post-wrapper ul li {
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.single-post-content-wrapper .related-post-wrapper p.excerpt {
	margin-top: 10px;
}

.single-post-content-wrapper .related-post-wrapper p.excerpt a, .single-post-content-wrapper .recent-post-wrapper li a {
	font-size: 22px;
	line-height: 28px;
	text-decoration: none;
	color: #262f2d;
	font-weight: 600;
	display: block;
}

.single-post-content-wrapper .related-post-wrapper p.excerpt a:hover, .single-post-content-wrapper .recent-post-wrapper li a:hover {
	color: #c4501f;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-search-trf {
	margin-top: 0;
	padding-top: 0;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-search-trf a.load-more-search, section.single-post-content-author-wrapper .author-row-block .author-img-block a {
	margin: 0 auto;
	background: 0 0;
	border-radius: 0;
	border: 0 solid #fff;
	width: auto;
	box-shadow: 0 0 0 3px #fff;
	color: #fff;
	transition: color .25s 83.3333333ms;
	font-size: 18px;
	font-weight: 400;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
	text-align: center;
	display: inline-block;
	position: relative;
}

section.single-post-content-author-wrapper .author-row-block .author-img-block a {
	box-shadow: 0 0 0 3px #262f2d;
	color: #262f2d;
	margin-top: 20px;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-search-trf a.load-more-search:after, section.single-post-content-author-wrapper .author-row-block .author-img-block a:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
	transform: rotate(0);
	background-image: none;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-search-trf a.load-more-search:hover:after, section.single-post-content-author-wrapper .author-row-block .author-img-block a:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-search-trf a.load-more-search:before, section.single-post-content-author-wrapper .author-row-block .author-img-block a:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-search-trf a.load-more-search:hover:before, section.single-post-content-author-wrapper .author-row-block .author-img-block a:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-search-trf a.load-more-search span, section.single-post-content-author-wrapper .author-row-block .author-img-block a span {
	display: block;
	margin: 0 auto;
	text-align: center;
	position: relative;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-search-trf a.load-more-search span:after, section.single-post-content-author-wrapper .author-row-block .author-img-block a span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	right: 0;
	bottom: -18px;
	background: #266751;
	left: 0;
	margin: 0 auto;
}

section.single-post-content-author-wrapper .author-row-block .author-img-block a span:after {
	background: #fff;
}

section.block-blog-posts-trf.block-blog-cateogy-posts-search-trf a.load-more-search.ba-disabled {
	display: none;
}

section.single-post-content-author-wrapper {
	padding: 0;
}

section.single-post-content-author-wrapper .row {
	padding: 60px 0;
	border-top: 1px solid #589984;
}

section.single-post-content-author-wrapper .author-row-block .col-md-3 {
	width: 238px;
	max-width: 238px;
}

section.single-post-content-author-wrapper .author-row-block .col-md-9 {
	width: auto;
	max-width: calc(100% - 238px);
}

section.single-post-content-author-wrapper .author-row-block .author-img-block {
	text-align: center;
}

section.single-post-content-author-wrapper .author-row-block .author-img-block .author-reviews-img {
	width: 158px;
	height: 158px;
	object-fit: cover;
	border-radius: 100%;
	display: block;
	margin: 0 auto;
}

section.single-post-content-author-wrapper .author-row-block .author-heading-block {
	display: flex;
	justify-content: space-between;
	padding-left: 30px;
	align-items: end;
	padding-bottom: 30px;
	flex-wrap: wrap;
}

section.single-post-content-author-wrapper .author-row-block .author-heading-block h2, section.single-post-content-author-wrapper .author-row-block .author-heading-block h1 {
	font-size: 42px;
	line-height: 28px;
	font-weight: 600;
	flex: 0 0 100%;
}

section.single-post-content-author-wrapper .author-row-block .author-heading-block .author-social-link {
	margin-top: 10px;
	flex: 0 0 100%;
}

section.single-post-content-author-wrapper .author-row-block .author-heading-block .author-social-link ul {
	display: flex;
	list-style: none;
	align-items: start;
	margin-bottom: 0;
	padding-left: 0;
}

section.single-post-content-author-wrapper .author-row-block .author-heading-block .author-social-link ul li {
	max-width: 30px;
}

section.single-post-content-author-wrapper .author-row-block .author-heading-block .author-social-link ul img {
	max-height: 18px;
}

section.single-post-content-author-wrapper .author-row-block .author-decription {
	padding-left: 30px;
	font-size: 18px;
	line-height: 28px;
	color: #515c5a;
}

section.block-blog-author-posts-trf {
	background: #fff;
	padding-top: 0;
}

section.single-post-content-author-page-wrapper .row.author-row-block {
	border-top: 0;
}

section.block-blog-author-posts-trf h2 {
	font-size: 24px;
	line-height: 28px;
	color: #262f2d;
	margin-bottom: 20px;
	position: relative;
	font-weight: 600;
}

section.block-blog-author-posts-trf h2 {
	font-size: 24px;
	line-height: 28px;
	color: #262f2d;
	margin-bottom: 20px;
	position: relative;
	font-weight: 600;
	padding-left: 0;
	padding-bottom: 10px;
}

section.block-blog-author-posts-trf h2:after {
	content: "";
	width: 100px;
	height: 2px;
	background: #266751;
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
}

section.block-blog-author-posts-trf * {
	color: #262f2d;
}

section.block-blog-author-posts-trf nav.navigation.pagination .nav-links {
	margin: 0 auto;
}

section.block-blog-author-posts-trf nav.navigation.pagination .nav-links * {
	font-size: 18px;
	line-height: 28px;
	padding: 10px;
}

section.block-blog-author-posts-trf p.excerpt a {
	font-weight: 600;
	line-height: 28px;
}

section.block-blog-author-posts-trf p.excerpt a:hover {
	color: #c4501f;
}

section.single-post-content-author-wrapper .author-row-block .author-heading-block p.job-title {
	flex: 0 0 100%;
	margin-bottom: 0;
	margin-top: 5px;
	font-size: 20px;
	line-height: 28px;
}

body:not(.home) section.hero-location.hero-trf .breadcrumbs-row .breadcrumbs {
	position: relative;
	top: -29px;
}

body:not(.home) section.hero-location.hero-trf .breadcrumbs-row + h1 {
	margin-top: 5px;
}

section.block-images-with-description-services-trf {
	margin-top: 60px;
}

.block-images-with-description-services-trf .ba-section-desc h2.ba-h2:first-child, .block-images-with-description-services-trf .ba-section-desc h2.ba-h2:first-child + p, .block-products-list-trf .ba-section-desc h2.ba-h2:first-child, .block-products-list-trf .ba-section-desc h2.ba-h2:first-child+ p {
	max-width: 100%;
	padding-right: 0;
}

section.block-services-posts-trf.ba-blog-grid-trf .row:first-child p {
	max-width: calc(100% - 260px);
}

section.block-services-posts-trf.ba-blog-grid-trf h3 {
	color: #262f2d;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 0;
	line-height: 48px;
}

section.block-services-posts-trf.ba-blog-grid-trf h3 a {
	color: #262f2d;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 0;
	line-height: 48px;
	text-decoration: none;
}

body.single-location section.block-services-posts-trf.ba-blog-grid-trf h3 a {
	position: relative;
	display: block;
	padding-right: 25px;
}

body.single-location section.block-services-posts-trf.ba-blog-grid-trf h3 a:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/arrow-narrow-up-right-green.svg");
	background-size: 20px;
	width: 20px;
	height: 20px;
	content: "";
	display: inline-block;
	vertical-align: middle;
	margin-left: 10px;
}

body.single-location section.block-services-posts-trf.ba-blog-grid-trf h3 a:hover:after {
	-webkit-animation: 1s ease-in-out infinite slide1;
	animation: 1s ease-in-out infinite slide1;
}

section.block-services-posts-trf.ba-blog-grid-trf h3 a:hover {
	color: #c4501f;
}

section.block-services-posts-trf.ba-blog-grid-trf p {
	padding-top: 0;
	padding-bottom: 0;
}

/* New Location local product page css start */
section.location-block-with_bottom_image-testimonials-trf {
	background: 0 0 !important;
	position: relative;
	padding-bottom: 170px;
}

section.location-block-with_bottom_image-testimonials-trf:after {
	content: "";
	width: 95%;
	background: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/05/why-install-bg-railing-img-new-updated.png");
	height: 170px;
	position: absolute;
	bottom: 0;
	background-size: 100% 100%;
	margin: 0 auto;
	left: 0;
	right: 0;
}

section.vinyl-location-block-with_bottom_image-testimonials-trf:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/products/shape/Vinyl-Fences-shape.png");
}

section.metal-location-block-with_bottom_image-testimonials-trf:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/products/shape/metal-fence-shape.png");
}

section.chain-location-block-with_bottom_image-testimonials-trf:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/products/shape/Chain-Link-Fences-shape.png");
}

section.railing-location-block-with_bottom_image-testimonials-trf:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/products/shape/Railings-shape.png");
}

section.gates-location-block-with_bottom_image-testimonials-trf:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/products/shape/Gates-and-Entry-shape.png");
}

.google-profile-btn-wrapper.ti-header-write-btn-container .google-profile-btn:hover {
	color: #fff !important;
}

.google-profile-btn-wrapper.ti-header-write-btn-container ~ .ti-header-write-btn-container {
	margin-left: 10px !important;
}

.single-location .about-location-trf .bio {
	margin-bottom: 20px;
}

.single-location .about-location-trf .bio-name {
	font-weight: bold;
}

.single-location .about-location-trf .bio-content {
	display: none;
}

.single-location .about-location-trf .read-more, .single-location .about-location-trf .read-less {
	cursor: pointer;
	text-decoration: none;
	border-radius: 0px;
	padding: 6px 10px;
	font-size: 14px !important;
	float: none;
	margin: auto;
	width: 88px;
	text-align: center;
	color: #fff;
}

section.sub-hero-trf .col-areas ul li.area-served-link {
	position: relative;
}

section.sub-hero-trf .col-areas ul li.area-served-link img {
	margin-right: 0;
	margin-left: 10px;
	margin-top: 4px;
	position: absolute;
}

section.sub-hero-trf .col-areas ul li.area-served-link:hover img {
	-webkit-animation: 1s ease-in-out infinite slide1;
	animation: 1s ease-in-out infinite slide1;
}

section.sub-hero-trf .col-areas ul li.area-served-link:hover a {
	color: #c4501f;
}

section.sub-hero-trf:has(+ section.block-image-gallery), section.sub-hero-trf:has(+ section.block-testimonials-trf), section.sub-hero-trf:has(+ div#allreviews) {
	margin-bottom: 60px;
}

/*Fence Application Section Css Start*/
section.ba-fence-application-trf +section {
	padding-top: 40px;
}

section.ba-fence-application-trf {
	padding-top: 46px;
}

section.ba-fence-application-trf .heading {
	margin-bottom: 40px;
}

section.ba-fence-application-trf .heading:has(+ .f-sec-desc) {
	margin-bottom: 0;
}

section.ba-fence-application-trf .heading h2 {
	position: relative;
	padding-bottom: 10px;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
	margin-bottom: 10px;
}

section.ba-fence-application-trf .heading h2:after {
	content: "";
	width: 100px;
	height: 2px;
	background: #266751;
	position: absolute;
	bottom: -10px;
	left: 0;
	right: 0;
	margin: 0 auto;
}

section.ba-fence-application-trf .f-sec-desc {
	padding-top: 15px;
	margin-bottom: calc(50px - 1rem);
}

section.ba-fence-application-trf .f-sec-desc p {
	line-height: 28px;
	color: #515c5a;
}

.fence-application-grid-view .col-md-4 {
	margin-bottom: 20px;
}

.fence-application-grid-view .ba-d-link-bottom {
	padding-bottom: 10px;
	border-bottom: 3px solid #589984;
	height: 100%;
}

.fence-application-grid-view .ba-d-link-bottom .ba-explore-wrap {
	max-width: 100%;
}

.fence-application-grid-view h3.ba-h3 {
	color: #262f2d;
	margin-bottom: 10px;
}

.fence-application-grid-view .ba-d-link-bottom p {
	color: #262f2d;
	line-height: 28px;
}

.fence-application-grid-view .ba-d-link-bottom .application-grid-view-img {
	max-width: 100%;
	height: 100%;
	position: relative;
	display: block;
	overflow: hidden;
}

.fence-application-grid-view .ba-d-link-bottom .application-grid-view-img .img-border {
	width: calc(100% - 20px);
	height: 93%;
	position: absolute;
	border: 0;
	top: 50%;
	transform: translate(0, -50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	z-index: 2;
	object-fit: cover;
	box-sizing: border-box;
	opacity: 0;
	border-left: 10px solid rgba(255, 255, 255, .5);
	border-right: 10px solid rgba(255, 255, 255, .5);
	border-top: 10px solid rgba(255, 255, 255, .5);
}

.fence-application-grid-view .ba-d-link-bottom .application-grid-view-img .img-border:before {
	content: "";
	position: absolute;
	width: calc(40% - 20px);
	height: 10px;
	background: rgba(255, 255, 255, .5);
	bottom: 0;
	left: 0;
}

.fence-application-grid-view .ba-d-link-bottom .application-grid-view-img .img-border:after {
	content: "";
	position: absolute;
	width: calc(40% - 20px);
	height: 10px;
	background: rgba(255, 255, 255, .5);
	bottom: 0;
	right: 0;
}

.fence-application-grid-view .ba-d-link-bottom .application-grid-view-img:hover .img-border {
	opacity: 1;
}

.fence-application-grid-view .ba-d-link-bottom .application-grid-view-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-height: 320px;
	min-height: 320px;
	transition: all .7s;
}

.fence-application-grid-view .ba-d-link-bottom .application-grid-view-img:hover img {
	transform: scale(1.2);
}

/*Fence Application Section Css End*/

/*Fence Installation Services Section Css Start*/
body.single-location section.block-services-posts-trf:has(+ section.ba-fence-installation-services) {
	padding-bottom: 60px;
}

body.single-location section.block-services-posts-trf:has(+ section.ba-fence-installation-services):after {
	display: none;
}

section.ba-fence-installation-services {
	position: relative;
	padding-bottom: 170px;
}

section.ba-fence-installation-services:after {
	content: "";
	width: 95%;
	background: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/05/why-install-bg-railing-img-new-updated.png");
	height: 170px;
	position: absolute;
	bottom: 0;
	background-size: 100% 100%;
	margin: 0 auto;
	left: 0;
	right: 0;
}

section.ba-fence-installation-services .col-md-6:first-child {
	max-height: 500px;
	overflow: hidden;
}

section.ba-fence-installation-services .col-md-6:first-child img {
	vertical-align: middle;
	position: relative;
	object-fit: cover;
	height: 100%;
	width: 100%;
}

section.ba-fence-installation-services .block-gap {
	padding-left: 50px;
}

section.ba-fence-installation-services h2 {
	color: #262f2d;
	position: relative;
	padding-bottom: 15px;
	max-width: 100%;
	font-size: 42px;
	line-height: 50px;
	margin-bottom: 30px !important;
}

section.ba-fence-installation-services h2:after {
	content: "";
	width: 100px;
	height: 3px;
	background: #266751;
	position: absolute;
	left: 0;
	bottom: 0;
}

section.ba-fence-installation-services p {
	line-height: 28px;
}

/*Fence Installation Services Section Css End*/

/*Benefits Section Css Start*/
section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 {
	padding: 0 !important;
}

section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3 .row, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4 .row, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6 .row, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 .row {
	margin: 0;
	height: 100%;
	align-content: flex-start;
}

section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3 .col-md-12:first-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:first-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6 .col-md-12:first-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 .col-md-12:first-child {
	padding-bottom: 10px;
}

section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 .col-md-12:last-child {
	padding-left: 40px;
	padding-right: 40px;
}

section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 .col-md-12:last-child {
	border-right: 1px solid #266751;
}

section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3:nth-child(4n) .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4:nth-child(3n) .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6:nth-child(2n) .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 .col-md-12:last-child {
	border-right: 0;
}

section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3 .col-md-12:first-child+.col-md-12 h3, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:first-child+.col-md-12 h3, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6 .col-md-12:first-child+.col-md-12 h3, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 .col-md-12:first-child+.col-md-12 h3 {
	font-size: 24px;
	line-height: 28px;
	color: #262f2d;
}

section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3 .col-md-12:first-child+.col-md-12 p, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:first-child+.col-md-12 p, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6 .col-md-12:first-child+.col-md-12 p, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 .col-md-12:first-child+.col-md-12 p {
	line-height: 28px;
	color: #515c5a;
}

section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3 .col-md-12:first-child img.ba-quality-icon, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:first-child img.ba-quality-icon, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6 .col-md-12:first-child img.ba-quality-icon, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 .col-md-12:first-child img.ba-quality-icon {
	max-height: 69px;
	width: auto;
}

section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 .col-md-12:last-child {
	height: calc(100% - 79px);
}

section#location-reviews.location-block-with_bottom_image-testimonials-trf:has(+ section.quality-block), section#location-reviews.location-block-with_bottom_image-testimonials-trf:has(+ section.product-about-two-block-section-single-location) {
	padding-bottom: 0;
}

section#location-reviews.location-block-with_bottom_image-testimonials-trf:has(+ section.quality-block):after, section#location-reviews.location-block-with_bottom_image-testimonials-trf:has(+ section.product-about-two-block-section-single-location):after {
	display: none !important;
}

.location-faqs .accordion .accordion-item .h3, .location-faqs .accordion .accordion-item h3 {
	color: #000;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%;
	padding: 0;
}

.location-faqs .accordion .accordion-item .h3 .accordion-button, .location-faqs .accordion .accordion-item h3 .accordion-button {
	position: relative;
}

.location-faqs .accordion .accordion-item .h3 .accordion-button::after, .location-faqs .accordion .accordion-item h3 .accordion-button::after {
	position: absolute;
	left: 28px;
	width: 44px;
	height: 44px;
}

@media only screen and (max-width:991.98px) {
	#main-nav .btn-call2a:after {
		right: -6px;
	}
	
	#main-nav .btn-call2a {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	#main-nav .btn-call2a:hover {
		padding-right: 26px;
	}
}

@media only screen and (max-width: 767.98px) {
	.sub-hero .col-areas a.toggle-link {
		display: none !important;
	}
	
	.sub-hero .col-areas li {
		display: list-item !important;
	}
	
	section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3 .col-md-12:first-child+.col-md-12 h3, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:first-child+.col-md-12 h3, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6 .col-md-12:first-child+.col-md-12 h3, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 .col-md-12:first-child+.col-md-12 h3 {
		font-size: 22px;
		line-height: 24px;
	}
	
	section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list > .row > .col-md-12 .col-md-12:last-child {
		border-right: 0;
	}
	
	.block-services-list-trf .ba-grid-wrap .ba-grid-content.ba-link-bottom .ba-f-text-grid h3.ba-h3 a {
		font-size: 24px;
		line-height: 28px;
	}
}

@media only screen and (max-width: 500.98px) {
	section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-3 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list .col-md-6 .col-md-12:last-child, section.trf-quality-block.trf-quality-block-four-column .ba-features-wrap .ba-features-list>.row>.col-md-12 .col-md-12:last-child {
		padding-left: calc(var(--bs-gutter-x) * .5);
		padding-right: calc(var(--bs-gutter-x) * .5);
	}
}

/*Benefits Section Css end*/

/*More Benefits Section Css Start*/
section.product-about-two-block-section-single-location {
	padding-bottom: 170px;
	position: relative;
}

section.product-about-two-block-section-single-location .bottom-fence-image {
	display: block;
	background: #fff;
	width: 100%;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/05/why-install-bg-railing-img-new-updated.png");
	height: 170px;
	position: absolute;
	bottom: 0;
	background-size: 95% 100%;
	background-repeat: no-repeat;
	background-position: bottom center;
}

section.product-about-two-block-section-single-location .bottom-fence-image.nitro-lazy {
	background-image: none !important;
}

/*More Benefits Section Css End*/
section.single-location-text-image-trf {
	padding-bottom: 60px;
}

section.single-location-text-image-trf:after {
	display: none;
}

section.fence-materials-block-services-list .col-md-6 {
	margin-bottom: 30px;
}

section.local-product-location-faqs-trf {
	padding-bottom: 170px;
	position: relative;
}

section.local-product-location-faqs-trf:after {
	content: "";
	width: 95%;
	background: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/05/why-install-bg-railing-img-new-updated.png");
	height: 170px;
	position: absolute;
	bottom: 0;
	background-size: 100% 100%;
	margin: 0 auto;
	left: 0;
	right: 0;
}

section.block-images-with-description-trf-full-width .ba-section-desc h2.ba-h2 {
	max-width: 100%;
}

section.block-images-with-description-trf-full-width .ba-section-desc p.local-product-fullwidth {
	max-width: 100%;
}

.single-location-steps-list-trf .ba-section-desc {
	margin-bottom: 50px;
}

section.location-block-with_bottom_image-testimonials-trf:has(+ section.block-image-gallery) {
	padding-bottom: 60px;
}

section.location-block-with_bottom_image-testimonials-trf:has(+ section.block-image-gallery):after {
	display: none;
}

@media only screen and (min-width: 3000px) {
	section.location-block-with_bottom_image-testimonials-trf:after {
		width: 95.5%;
		background-size: contain;
	}
	
	section.product-about-two-block-section-single-location .bottom-fence-image {
		background-size: contain;
		background-repeat: repeat;
	}
	
	section.ba-fence-installation-services:after, section.local-product-location-faqs-trf:after {
		width: 95.5%;
		background-size: contain;
	}
}

@media only screen and (max-width:923.98px) {
	.location-block-testimonials-trf .google-profile-btn-wrapper.ti-header-write-btn-container, .location-block-testimonials-trf .google-profile-btn-wrapper+.ti-header-write-btn-container {
		position: relative !important;
		right: auto !important;
		flex: 0 0 100%;
		margin-top: 20px !important;
		margin-left: 0 !important;
	}
}

@media only screen and (max-width: 767.98px) {
	section.location-block-with_bottom_image-testimonials-trf {
		padding-bottom: 90px;
	}
	
	section.location-block-with_bottom_image-testimonials-trf:after {
		height: 110px;
	}
	
	body.single-location section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid h3.ba-h3 a.ba-link-a:after {
		top: 6px;
	}
	
	section.product-about-two-block-section-single-location, section.local-product-location-faqs-trf {
		padding-bottom: 80px;
	}
	
	section.single-location-text-image-trf {
		padding-bottom: 10px !important;
	}
	
	section.product-about-two-block-section-single-location .bottom-fence-image, section.local-product-location-faqs-trf:after {
		height: 80px;
	}
}

section.block-products-list-trf .ba-grid-wrap .ba-f-img-grid.with-icon img, section.block-images-with-description-trf .images-list .ba-f-img-grid img {
	width: 100%;
}

section.block-images-with-description-trf .images-list .ba-f-img-grid.local-product-img {
	max-height: 365px;
}

@media only screen and (max-width: 1199.98px) {
	section.block-images-with-description-trf .images-list .ba-f-img-grid.local-product-img {
		max-height: 280px;
	}
}

@media only screen and (max-width: 991.98px) {
	section.block-images-with-description-trf .images-list .ba-f-img-grid.local-product-img {
		max-height: 240px;
	}
	
	section.ba-fence-application-trf .container {
		max-width: 100%;
	}
	
	.fence-application-grid-view .ba-d-link-bottom .application-grid-view-img img {
		max-height: 260px;
		min-height: 260px;
	}
	
	.fence-application-grid-view h3.ba-h3 {
		font-size: 24px;
		line-height: 30px;
	}
	
	section.ba-fence-installation-services .container {
		max-width: 100%;
	}
	
	section.ba-fence-installation-services .block-gap {
		padding-left: 20px;
	}
	
	section.ba-fence-installation-services h2 {
		margin-bottom: 20px !important;
	}
}

@media only screen and (max-width: 801.98px) {
	.fence-application-grid-view .col-md-4 {
		width: 50%;
	}
}

@media only screen and (max-width: 767.98px) {
	section.block-images-with-description-trf .images-list .ba-f-img-grid.local-product-img {
		max-height: inherit;
	}
	
	section.ba-fence-application-trf .heading {
		margin-bottom: 30px;
	}
	
	section.ba-fence-application-trf .f-sec-desc {
		margin-bottom: calc(30px - 1rem);
	}
	
	section.ba-fence-application-trf .heading h2 {
		font-size: 26px !important;
		line-height: 32px;
	}
	
	section.ba-fence-installation-services {
		padding-bottom: 80px;
	}
	
	section.ba-fence-installation-services:after {
		height: 80px;
	}
	
	section.ba-fence-installation-services h2 {
		font-size: 26px;
		line-height: 32px;
		text-align: center;
	}
	
	section.ba-fence-installation-services h2:after {
		right: 0;
		margin: 0 auto;
	}
	
	section.ba-fence-installation-services .block-gap img {
		margin-bottom: 20px;
	}
	
	section.ba-fence-installation-services .block-gap .ba-text-lg {
		text-align: center;
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 600px) {
	.fence-application-grid-view .col-md-4 {
		width: 100%;
	}
}

section.local-product-sub-hero-trf {
	background: transparent;
	padding: 20px 0;
}

.local-product-sub-hero-trf .row.green-row {
	background: #266751;
	padding: 10px 0px 10px 10px;
	color: #fff;
	align-items: center;
}

.local-product-sub-hero-trf .heading {
	text-align: center;
	width: calc(100% - 660px);
}

.local-product-sub-hero-trf .heading.eight-width-block {
	width: calc(100% - 600px);
}

.local-product-sub-hero-trf .ribbon-discount {
	padding-bottom: 25px;
	width: 330px;
}

.local-product-sub-hero-trf .ribbon-discount.eight-width-block {
	width: 300px;
}

.local-product-sub-hero-trf .ribbon-discount .offer-band {
	position: relative;
	left: -22px;
	background: #c45128;
	text-align: right;
	padding: 10px 20px 10px 10px;
}

.local-product-sub-hero-trf .ribbon-discount .offer-band:after {
	content: "";
	width: 154px;
	height: 27px;
	position: absolute;
	right: 0;
	bottom: -27px;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/products/shape/ribbon-bottom-shape.png");
}

.local-product-sub-hero-trf h4 {
	margin: 0;
	font-style: italic;
	font-size: 35px;
	line-height: 42px;
}

.local-product-sub-hero-trf h1, .local-product-sub-hero-trf h2, .local-product-sub-hero-trf h3 {
	margin: 0;
	font-style: italic;
	font-size: 64px;
	line-height: 64px;
	font-weight: 700;
}

.local-product-sub-hero-trf .image-section {
	width: 330px;
	padding: 5px;
	background: #fff;
	position: relative;
	left: -12px;
}

.local-product-sub-hero-trf .image-section.eight-width-block {
	width: 300px;
}

.local-product-sub-hero-trf .desc-section {
	max-width: 80%;
	margin: 0 auto;
	padding-top: 20px;
}

.local-product-sub-hero-trf .desc-section p {
	font-size: 18px;
	line-height: 28px;
	color: #515c5a;
}

.local-product-sub-hero-trf .heading h1, .local-product-sub-hero-trf .heading h2 {
	position: relative;
	left: -22px;
}

.local-product-sub-hero-trf .ribbon-discount.seven-width-block h1, .local-product-sub-hero-trf .heading.seven-width-block h1, .local-product-sub-hero-trf .ribbon-discount.seven-width-block h2, .local-product-sub-hero-trf .heading.seven-width-block h2, .local-product-sub-hero-trf .ribbon-discount.seven-width-block h3, .local-product-sub-hero-trf .heading.seven-width-block h3 {
	font-size: 74px;
	line-height: 74px;
}

.local-product-sub-hero-trf .ribbon-discount.seven-width-block, .local-product-sub-hero-trf .image-section.seven-width-block {
	width: 300px;
}

.local-product-sub-hero-trf .heading.seven-width-block {
	width: calc(100% - 600px);
}

.local-product-sub-hero-trf .ribbon-discount.six-width-block h1, .local-product-sub-hero-trf .heading.six-width-block h1, .local-product-sub-hero-trf .ribbon-discount.six-width-block h2, .local-product-sub-hero-trf .heading.six-width-block h2, .local-product-sub-hero-trf .ribbon-discount.six-width-block h3, .local-product-sub-hero-trf .heading.six-width-block h3 {
	font-size: 80px;
	line-height: 80px;
}

.local-product-sub-hero-trf .ribbon-discount.six-width-block, .local-product-sub-hero-trf .image-section.six-width-block {
	width: 270px;
}

.local-product-sub-hero-trf .heading.six-width-block {
	width: calc(100% - 540px);
}

@media only screen and (min-width:1400px) {
	.local-product-sub-hero-trf .ribbon-discount.nine-width-block .offer-band {
		width: 328px;
		padding-right: 30px;
	}
	
	.local-product-sub-hero-trf .ribbon-discount.eight-width-block .offer-band {
		width: 308px;
		padding-right: 40px;
	}
	
	.local-product-sub-hero-trf .ribbon-discount.seven-width-block .offer-band {
		width: 308px;
		padding-right: 40px;
	}
	
	.local-product-sub-hero-trf .ribbon-discount.six-width-block .offer-band {
		width: 278px;
		padding-right: 35px;
	}
}

@media only screen and (max-width: 1199.98px) {
	.local-product-sub-hero-trf h1, .local-product-sub-hero-trf h2, .local-product-sub-hero-trf h3 {
		font-size: 52px;
		line-height: 52px;
	}
	
	.local-product-sub-hero-trf h4 {
		font-size: 25px;
		line-height: 32px;
	}
	
	.local-product-sub-hero-trf .ribbon-discount, .local-product-sub-hero-trf .image-section {
		width: 285px;
	}
	
	.local-product-sub-hero-trf .heading {
		width: calc(100% - 570px);
	}
	
	.local-product-sub-hero-trf .ribbon-discount.eight-width-block, .local-product-sub-hero-trf .image-section.eight-width-block {
		width: 250px;
	}
	
	.local-product-sub-hero-trf .heading.eight-width-block {
		width: calc(100% - 500px);
	}
	
	.local-product-sub-hero-trf .ribbon-discount.seven-width-block h1, .local-product-sub-hero-trf .heading.seven-width-block h1, .local-product-sub-hero-trf .ribbon-discount.seven-width-block h2, .local-product-sub-hero-trf .heading.seven-width-block h2, .local-product-sub-hero-trf .ribbon-discount.seven-width-block h3, .local-product-sub-hero-trf .heading.seven-width-block h3 {
		font-size: 56px;
		line-height: 56px;
	}
	
	.local-product-sub-hero-trf .ribbon-discount.seven-width-block, .local-product-sub-hero-trf .image-section.seven-width-block {
		width: 260px;
	}
	
	.local-product-sub-hero-trf .heading.seven-width-block {
		width: calc(100% - 520px);
	}
	
	.local-product-sub-hero-trf .ribbon-discount.six-width-block h1, .local-product-sub-hero-trf .heading.six-width-block h1, .local-product-sub-hero-trf .ribbon-discount.six-width-block h2, .local-product-sub-hero-trf .heading.six-width-block h2, .local-product-sub-hero-trf .ribbon-discount.six-width-block h3, .local-product-sub-hero-trf .heading.six-width-block h3 {
		font-size: 56px;
		line-height: 56px;
	}
	
	.local-product-sub-hero-trf .ribbon-discount.six-width-block, .local-product-sub-hero-trf .image-section.six-width-block {
		width: 230px;
	}
	
	.local-product-sub-hero-trf .heading.six-width-block {
		width: calc(100% - 460px);
	}
}

@media only screen and (max-width: 991px) {
	section.hero-trf .hero-location__information .author-reviews-preview {
		padding-top: 15px;
	}
	
	section.hero-trf .hero-location__information .author-number-wrapper {
		margin-top: 15px;
	}
	
	.hero-trf .hero-location__information h1 {
		font-size: 36px;
		line-height: 44px;
	}
	
	.local-product-sub-hero-trf .desc-section {
		max-width: 100%;
	}
}

@media only screen and (max-width: 767.98px) {
	.local-product-sub-hero-trf .heading.six-width-block, .local-product-sub-hero-trf .heading.seven-width-block, .local-product-sub-hero-trf .heading.eight-width-block, .local-product-sub-hero-trf .heading.nine-width-block {
		width: 100%;
		padding-top: 10px;
		padding-bottom: 30px;
	}
	
	.local-product-sub-hero-trf .image-section.six-width-block, .local-product-sub-hero-trf .image-section.seven-width-block, .local-product-sub-hero-trf .image-section.eight-width-block, .local-product-sub-hero-trf .image-section.nine-width-block {
		width: 100%;
		left: 0;
		background: transparent;
		padding: 10px;
	}
	
	.local-product-sub-hero-trf .image-section .img-right {
		background: #fff;
		padding: 5px;
	}
	
	.local-product-sub-hero-trf .image-section img {
		width: 100%;
	}
	
	.local-product-sub-hero-trf .row.green-row {
		padding-left: 0;
		justify-content: space-between;
	}
	
	.local-product-sub-hero-trf .ribbon-discount {
		order: 2;
	}
	
	.local-product-sub-hero-trf .image-section {
		order: 3;
	}
	
	.local-product-sub-hero-trf .heading {
		order: 1;
		width: 100%;
		padding-bottom: 10px;
	}
	
	.local-product-sub-hero-trf .heading h1, .local-product-sub-hero-trf .heading h2 {
		left: 0;
	}
	
	.local-product-sub-hero-trf .ribbon-discount .offer-band {
		left: -12px;
	}
	
	.local-product-sub-hero-trf h1, .local-product-sub-hero-trf .heading.seven-width-block h1, .local-product-sub-hero-trf .heading.six-width-block h1, .local-product-sub-hero-trf h2, .local-product-sub-hero-trf .heading.seven-width-block h2, .local-product-sub-hero-trf .heading.six-width-block h2, .local-product-sub-hero-trf h3, .local-product-sub-hero-trf .heading.seven-width-block h3, .local-product-sub-hero-trf .heading.six-width-block h3 {
		font-size: 44px;
		line-height: 44px;
	}
	
	.local-product-sub-hero-trf h4 {
		font-size: 22px;
		line-height: 30px;
	}
	
	.local-product-sub-hero-trf .ribbon-discount.seven-width-block h1, .local-product-sub-hero-trf .ribbon-discount.six-width-block h1, .local-product-sub-hero-trf .ribbon-discount.seven-width-block h2, .local-product-sub-hero-trf .ribbon-discount.six-width-block h2, .local-product-sub-hero-trf .ribbon-discount.seven-width-block h3, .local-product-sub-hero-trf .ribbon-discount.six-width-block h3 {
		font-size: 54px;
		line-height: 54px;
	}
}

@media only screen and (max-width:570px) {
	.local-product-sub-hero-trf .ribbon-discount {
		order: 1;
	}
	
	.local-product-sub-hero-trf .image-section {
		width: 100%;
		left: 0;
	}
	
	.local-product-sub-hero-trf .heading {
		order: 2;
	}
}

/* New Location local product page css end */

/* New Location page css start */
a[data-bs-target *="#state-"]:hover {
	cursor: pointer;
}

.location-list-details-svg svg path {
	pointer-events: none;
}

.location-list-details-svg svg a path {
	pointer-events: all;
}

#location-list-details-box {
	padding: 1rem;
	border-radius: 0px;
	font-size: 14px;
	position: absolute;
	font-family: "hfb" !important;
	background-color: #f2f2f2;
	width: max-content;
	transform: translateX(-50%);
	transition: opacity .4s ease;
	z-index: 2;
	text-align: left;
	border-left: 5px solid #246851;
	display: flex;
	flex-wrap: wrap;
	max-width: 320px;
}

#location-list-details-box button.closediv {
	position: absolute;
	right: -8px;
	top: -8px;
	width: 24px;
	height: 24px;
	padding: 0;
	background: #c4501f;
	border: 1px solid #c4501f;
	border-radius: 100%;
	color: #fff;
}

#location-list-details-box button.closediv:after {
	background-image: none;
	content: "";
	font-family: fontawesome;
	font-size: 16px;
	vertical-align: middle;
	margin-left: 0;
	width: 23px;
	display: block;
	height: 23px;
	line-height: 23px;
}

#location-list-details-box .header-title-block {
	flex: 0 0 100%;
	width: 100%;
	padding-left: 0;
}

#location-list-details-box .header-title-block strong {
	font-size: 24px;
	line-height: 28px;
	padding-bottom: 20px;
	display: block;
	font-weight: 600;
}

#location-list-details-box .row {
	flex: 0 0 100%;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0;
}

#location-list-details-box .row .col-6 {
	padding-left: 20px;
	padding-bottom: 10px;
	padding-right: 30px;
}

#location-list-details-box .row .col-6 a {
	position: relative;
	text-decoration: none;
	white-space: nowrap;
}

#location-list-details-box .row .col-6 a:hover {
	color: #c4501f;
}

#location-list-details-box .row .col-6 a:before {
	content: "";
	display: inline-block;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/arrow-narrow-up-right-green.svg");
	transform: rotate(0);
	background-size: 15px;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	border: none;
	vertical-align: middle;
	transition: transform .3s ease;
	position: absolute;
	left: -20px;
	top: 2px;
}

@-webkit-keyframes svg_pulse {
	0% {
		opacity: .9;
		r: 2;
		fill: transparent;
		stroke: .1px;
	}
	
	50% {
		opacity: 1;
		r: 16;
		fill: transparent;
		stroke: 1px;
	}
	
	100% {
		opacity: .9;
		r: 2;
		fill: transparent;
		stroke: .1px;
	}
}

@-webkit-keyframes svg_pulse2 {
	0% {
		opacity: .9;
		r: 2;
		fill: transparent;
		stroke: .1px;
	}
	
	50% {
		opacity: 1;
		r: 12;
		fill: transparent;
		stroke: 1px;
	}
	
	100% {
		opacity: .9;
		r: 2;
		fill: transparent;
		stroke: .1px;
	}
}

@-webkit-keyframes svg_pulse1 {
	0% {
		opacity: .9;
	}
	
	50% {
		opacity: .9;
	}
	
	100% {
		opacity: .9;
	}
}

@-webkit-keyframes svg_pulse_new {
	0% {
		opacity: .9;
		r: 2;
		fill: transparent;
		stroke: none;
	}
	
	50% {
		opacity: .9;
		r: 2;
		fill: transparent;
		stroke: none;
	}
	
	100% {
		opacity: .9;
		r: 2;
		fill: transparent;
		stroke: none;
	}
}

@-webkit-keyframes svg_pulse_new2 {
	0% {
		opacity: .9;
		r: 2;
		fill: transparent;
		stroke: none;
	}
	
	50% {
		opacity: .9;
		r: 2;
		fill: transparent;
		stroke: none;
	}
	
	100% {
		opacity: .9;
		r: 2;
		fill: transparent;
		stroke: none;
	}
}

.location-list-details-svg svg .pulse {
	animation: svg_pulse 1s ease-in-out;
	animation-iteration-count: 1;
	-webkit-animation: svg_pulse_new 1s ease-in-out;
	-webkit-animation-iteration-count: 1;
	stroke: none;
}

.location-list-details-svg svg a:hover .pulse {
	animation: svg_pulse 3s ease-in-out;
	animation-iteration-count: infinite;
	-webkit-animation: svg_pulse 3s ease-in-out;
	-webkit-animation-iteration-count: infinite;
	stroke: #266751;
}

.location-list-details-svg svg .halo {
	animation: svg_pulse 1s ease-in-out;
	animation-iteration-count: 1;
	-webkit-animation: svg_pulse_new2 1s ease-in-out;
	-webkit-animation-iteration-count: 1;
	stroke: none;
}

.location-list-details-svg svg a:hover .halo {
	animation: svg_pulse 3s ease-in-out;
	animation-iteration-count: infinite;
	-webkit-animation: svg_pulse2 3s ease-in-out;
	-webkit-animation-iteration-count: infinite;
	stroke: #266751;
}

.location-list-details-svg svg .center {
	animation: svg_pulse 1s ease;
	animation-iteration-count: 1;
	-webkit-animation: svg_pulse1 1s ease;
	-webkit-animation-iteration-count: 1;
}

.location-list-details-svg svg a:hover path {
	fill: #e0e0e0 !important;
}

.interactive-map-svg-block>.container>.row.flex-row-reverse>.col-md-7:first-child:after, .interactive-map-svg-block>.container>.row.flex-row-reverse>.col-md-7:first-child:before {
	display: none !important;
}

.interactive-map-svg-block #location-list-details-box {
	position: fixed;
}

@media only screen and (max-width: 999.98px) {
	#location-list-details-box {
		max-width: 220px;
	}
	
	#location-list-details-box .row .col-6 {
		width: 100%;
	}
}

@media only screen and (max-width: 767.98px) {
	#location-list-details-box {
		transform: translateX(-65%);
	}
}

@media only screen and (max-width: 599.98px) {
	#location-list-details-box {
		left: 50% !important;
		transform: translate(-50%, -50%);
		top: 50% !important;
		position: fixed;
		max-width: 94%;
		width: 100%;
	}
	
	#location-list-details-box .row .col-6 {
		padding-left: 15px;
		width: 50%;
	}
	
	#location-list-details-box .row .col-6 a:before {
		background-size: 13px;
		width: 15px;
		height: 15px;
		left: -15px;
		top: 2px;
	}
	
	#location-list-details-box .header-title-block strong {
		font-size: 20px;
		line-height: 24px;
		padding-bottom: 10px;
	}
}

@media only screen and (max-width: 399.98px) {
	.location-list-details-svg {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	
	.location-list-details-svg svg#svg {
		transform: scale(1.2);
		position: relative;
		left: -20px;
	}
}

/* New Location page css end */

/*Location Custom Blocks Css Start*/
section.ba-blog-grid-trf .row:first-child p {
	max-width: calc(100% - 320px);
}

.ba-blog-grid-trf .col-md-4.custom-col .ba-d-link-bottom > a:first-child img {
	min-height: 300px;
	object-fit: cover;
}

@media only screen and (max-width: 1199.98px) {
	.ba-blog-grid-trf .col-md-4.custom-col .ba-d-link-bottom > a:first-child img {
		min-height: 220px;
	}
}

@media only screen and (max-width: 767.98px) {
	section.ba-blog-grid-trf .row:first-child p {
		max-width: 100%;
		text-align: center;
		padding-top: 0;
	}
	
	section.ba-blog-grid-trf .row:first-child {
		margin-bottom: 30px;
	}
	
	.ba-blog-grid-trf .col-md-4.custom-col p.excerpt {
		font-size: 20px;
		line-height: 24px;
	}
}

.project-trf h2.ba-h2 {
	position: relative;
	padding-bottom: 15px;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
}

.project-trf h2.ba-h2:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: 0;
	width: 100px;
	height: 3px;
	background: #266751;
}

.project-trf .container {
	max-width: 100%;
	padding: 0;
}

.project-trf .col-md-6 {
	padding-right: 0;
	padding-left: 0;
	display: flex;
	align-items: center;
}

.project-trf .col-md-6:last-child {
	padding-left: 0;
	padding-top: 20px;
	padding-bottom: 20px;
	display: flex;
	align-items: center;
}

section.project-trf .row {
	margin: 0;
	height: 100%;
}

.project-trf .ba-explore-wrap {
	float: none !important;
	max-width: 100%;
}

.project-trf .col-md-6:first-child .ba-explore-wrap:before {
	content: "";
	width: calc(100% - 20px);
	height: 93%;
	position: absolute;
	border: 0;
	top: 50%;
	transform: translate(0, -50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/finance-left-img-shape.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	z-index: 2;
	object-fit: cover;
	box-sizing: border-box;
	opacity: 0;
}

.project-trf .col-md-6:first-child .ba-explore-wrap:hover:before {
	opacity: 1;
}

.project-trf .col-md-6:first-child .ba-explore-wrap>img {
	transition: all .7s;
	height: 100%;
	object-fit: cover;
}

.project-trf .col-md-6:first-child .ba-explore-wrap:hover>img {
	transform: scale(1.2);
}

.project-trf .col-md-6:last-child .ba-explore-wrap {
	background: #e8e7e5;
	padding: 40px 50px;
	width: 100%;
}

.project-trf .col-md-6:last-child .ba-explore-wrap h3.ba-h3 {
	color: #262f2d;
	position: relative;
	padding-bottom: 15px;
	max-width: 100%;
	font-size: 32px;
	line-height: 40px;
}

.project-trf .col-md-6:last-child .ba-explore-wrap h3.ba-h3:after {
	content: "";
	width: 100px;
	height: 3px;
	background: #266751;
	position: absolute;
	left: 0;
	bottom: 0;
}

.project-trf .col-md-6:last-child .ba-explore-wrap h3.ba-h3 a {
	color: #262f2d;
	text-decoration: none;
}

.project-trf .flex-row-reverse .row .ba-explore-wrap {
	height: 100%;
	position: relative;
	overflow: hidden;
}

.project-trf .flex-row-reverse .row .col-md-6 {
	background: transparent;
	padding: 0;
}

.project-trf .flex-row-reverse .row .padding-right:first-child {
	padding-right: 5px;
}

.project-trf .flex-row-reverse .row .col-md-6:last-child {
	flex: 0 0 100%;
}

.project-trf .flex-row-reverse .row .col-md-8, .project-trf .flex-row-reverse .row .col-md-4 {
	padding: 0;
}

.project-trf .flex-row-reverse .row .col-md-6:last-child .ba-explore-wrap {
	padding: 0;
}

.project-trf .flex-row-reverse .row .vertical-image-layout .col-md-12 {
	padding: 0;
}

.project-trf .flex-row-reverse .row .vertical-image-layout .col-md-12:first-child {
	padding-bottom: 5px;
}

.project-trf .col-md-6:last-child .ba-explore-wrap p {
	max-width: 100%;
	color: #515c5a;
	line-height: 28px;
}

.project-trf .col-md-6:last-child .ba-explore-wrap p.project-location-section, .project-trf .col-md-6:last-child .ba-explore-wrap p.project-industry-section {
	color: #262f2d;
	margin-bottom: 0;
	font-size: 20px;
	font-weight: 600;
}

.project-trf .col-md-6:last-child .ba-explore-wrap p.project-industry-section {
	padding-bottom: 10px;
}

.project-trf .col-md-6:last-child .ba-explore-wrap p.project-location-section span, .project-trf .col-md-6:last-child .ba-explore-wrap p.project-industry-section span {
	color: #266751;
}

.project-trf .flex-row-reverse > .col-md-6:last-child .ba-explore-wrap {
	position: relative;
	padding-left: 80px;
	min-height: 90%;
}

.project-trf .flex-row-reverse > .col-md-6:last-child .ba-explore-wrap:before {
	content: "";
	background: #266751;
	width: 32px;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.project-trf .row.flex-row-reverse:nth-child(2n+1) {
	flex-direction: row !important;
	margin-top: 80px;
}

.project-trf .row.flex-row-reverse:nth-child(2n+1) + .row {
	margin-top: 80px;
}

.project-trf .row.flex-row-reverse:nth-child(2n+1) > .col-md-6:last-child .ba-explore-wrap {
	padding-right: 80px;
	padding-left: 50px;
}

.project-trf .row.flex-row-reverse:nth-child(2n+1) > .col-md-6:last-child .ba-explore-wrap:before {
	right: 0;
	left: inherit;
}

/* start new css here */
.project-thumb-trf .col-md-4 {
	margin-bottom: 20px;
}

.project-thumb-trf .ba-explore-wrap-wrapper {
	padding-bottom: 10px;
	border-bottom: 3px solid #589984;
	height: 100%;
}

.ba-explore-wrap-img.project-thumb-slider, .ba-explore-wrap-img {
	margin-bottom: 10px;
}

.project-thumb-slider .slick-track {
	display: flex !important;
}

.project-thumb-slider .slick-slide {
	height: inherit !important;
}

.project-thumb-slider .slick-slide .ba-explore-wrap, .project-thumb-trf .col-md-12 .ba-explore-wrap {
	max-width: 100%;
	height: 100%;
}

.project-thumb-trf .col-md-12 .ba-explore-wrap:first-child {
	overflow: hidden;
}

.project-thumb-trf .col-md-12 .ba-explore-wrap:first-child a {
	display: block;
	position: relative;
}

.project-thumb-trf .col-md-12 .ba-explore-wrap:first-child a:before {
	content: "";
	width: calc(100% - 20px);
	height: 93%;
	position: absolute;
	border: 0;
	top: 50%;
	transform: translate(0, -50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/finance-left-img-shape.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	z-index: 2;
	object-fit: cover;
	box-sizing: border-box;
	opacity: 0;
}

.project-thumb-trf .col-md-12 .ba-explore-wrap:first-child a:hover:before {
	opacity: 1;
}

.project-thumb-slider .slick-slide .ba-explore-wrap img, .project-thumb-trf .col-md-12 .ba-explore-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-height: 300px;
	min-height: 300px;
	transition: all .7s;
}

.project-thumb-trf .col-md-12 .ba-explore-wrap:first-child a:hover img {
	transform: scale(1.2);
}

.project-thumb-trf .ba-explore-wrap {
	max-width: 100%;
}

.project-thumb-trf .ba-explore-wrap h3.ba-h3 {
	color: #262f2d;
	margin-bottom: 0;
}

.project-thumb-trf .ba-explore-wrap h3.ba-h3 a {
	text-decoration: none;
	color: #262f2d;
	position: relative;
	display: block;
	padding-right: 20px;
}

.project-thumb-trf .ba-explore-wrap h3.ba-h3 a:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/arrow-narrow-up-right-green.svg");
	background-size: 25px;
	width: 25px;
	height: 23px;
	content: "";
	display: inline-block;
	float: none;
	margin-top: 7px;
	position: relative;
	top: 3px;
	left: 10px;
}

.project-thumb-trf .ba-explore-wrap h3.ba-h3 a:hover {
	color: #c4501f;
}

.project-thumb-trf .ba-explore-wrap h3.ba-h3 a:hover:after {
	-webkit-animation: 1s ease-in-out infinite slide1;
	animation: 1s ease-in-out infinite slide1;
}

.project-thumb-trf .ba-explore-wrap p {
	color: #262f2d;
	font-size: 24px;
	line-height: 34px;
}

.project-thumb-trf .row + a.ba-link-a, .project-thumb-trf .row .col-md-12 a.ba-link-a {
	background: transparent;
	border-radius: 0;
	border: 0 solid #266751;
	width: 140px;
	box-shadow: 0 0 0 3px #266751;
	color: #266751;
	transition: color .25s .0833333333s;
	font-size: 18px;
	font-weight: 400;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
	display: block;
	text-align: center;
	position: relative;
	left: 0;
	right: 0;
	margin: 0 auto;
	margin-top: 10px;
	cursor: pointer;
}

.project-thumb-trf .row + a.ba-link-a:before, .project-thumb-trf .row .col-md-12 a.ba-link-a:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

.project-thumb-trf .row + a.ba-link-a:hover:before, .project-thumb-trf .row .col-md-12 a.ba-link-a:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

.project-thumb-trf .row + a.ba-link-a:after, .project-thumb-trf .row .col-md-12 a.ba-link-a:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
	transform: inherit;
	background-image: none !important;
}

.project-thumb-trf .row + a.ba-link-a:hover:after, .project-thumb-trf .row .col-md-12 a.ba-link-a:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

.project-thumb-trf .row + a.ba-link-a span, .project-thumb-trf .row .col-md-12 a.ba-link-a span {
	position: relative;
	display: block;
	text-align: center;
}

.project-thumb-trf .row + a.ba-link-a span:after, .project-thumb-trf .row .col-md-12 a.ba-link-a span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	background: #fff;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: -18px;
	transform: inherit;
	transition: opacity .7s;
}

.project-details-trf .ba-section-desc p {
	color: #262f2d;
}

.project-details-trf .ba-explore-wrap-img figure {
	margin-bottom: 10px;
}

.project-details-trf .ba-explore-wrap-img {
	column-count: 4;
	column-gap: 10px;
}

.project-details-trf .ba-explore-wrap-img img {
	cursor: pointer;
}

.project-details-lightbox-trf {
	display: none;
	position: fixed;
	z-index: 1;
	z-index: 10000;
	padding-top: 50px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: black;
	padding-bottom: 50px;
}

.project-details-lightbox-trf span.close.cursor {
	color: white;
	position: absolute;
	top: 10px;
	right: 25px;
	font-size: 35px;
	font-weight: bold;
	cursor: pointer;
}

.project-details-lightbox-trf .modal-content {
	position: relative;
	background-color: transparent;
	margin: auto;
	padding: 0;
	width: 90%;
	max-width: 1200px;
	top: 48%;
	transform: translate(0, -50%);
}

.project-details-lightbox-trf .modal-content .project-details-Slides {
	display: none;
	text-align: center;
}

.project-details-lightbox-trf .modal-content .project-details-Slides img {
	max-height: calc(100vh - 150px);
	width: auto;
}

.project-details-lightbox-trf .modal-content .prev, .project-details-lightbox-trf .modal-content .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -50px;
	color: white;
	font-weight: bold;
	font-size: 20px;
	transition: .6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
	-webkit-user-select: none;
	text-decoration: none;
	background: rgba(0, 0, 0, .3);
}

.project-details-lightbox-trf .modal-content .next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

.d-none {
	display: none !important;
}

/* end new css here */
@media only screen and (max-width: 1024.98px) {
	.project-trf h2.ba-h2 {
		margin-bottom: 10px;
	}
	
	.project-trf .row.flex-row-reverse:nth-child(2n+1), .project-trf .row.flex-row-reverse:nth-child(2n+1) + .row {
		margin-top: 0px;
	}
	
	.project-trf .col-md-6:last-child .ba-explore-wrap {
		padding: 20px 20px;
	}
	
	.project-trf .flex-row-reverse > .col-md-6:last-child .ba-explore-wrap {
		padding-left: 50px;
	}
	
	.project-trf .row.flex-row-reverse:nth-child(2n+1) > .col-md-6:last-child .ba-explore-wrap {
		padding-left: 20px;
		padding-right: 50px;
	}
}

@media only screen and (max-width: 991.98px) {
	.project-thumb-trf .container {
		max-width: 100%;
	}
	
	.project-thumb-trf .ba-explore-wrap h3.ba-h3 {
		font-size: 24px;
		line-height: 30px;
	}
	
	.project-thumb-trf .ba-explore-wrap p {
		font-size: 20px;
		line-height: 30px;
	}
	
	.project-thumb-slider .slick-slide .ba-explore-wrap img, .project-thumb-trf .col-md-12 .ba-explore-wrap img {
		max-height: 240px;
		min-height: 240px;
	}
}

@media only screen and (max-width: 801.98px) {
	.project-thumb-trf .col-md-4 {
		width: 50%;
	}
}

@media only screen and (max-width: 767.98px) {
	.project-details-trf .container {
		max-width: 100%;
	}
	
	.project-thumb-slider .slick-slide .ba-explore-wrap, .project-thumb-trf .col-md-12 .ba-explore-wrap {
		padding-bottom: 0px;
	}
	
	.project-trf h2.ba-h2 {
		font-size: 26px;
		line-height: 32px;
	}
	
	.project-trf.ba-gap-m {
		padding: 30px 0;
	}
	
	.project-trf .container >.row:first-child + .row .padding-right .ba-explore-wrap, .project-trf .container >.row:first-child + .row .vertical-image-layout .ba-explore-wrap {
		padding: 0 !important;
	}
	
	.project-trf .col-md-6:last-child .ba-explore-wrap h3.ba-h3 {
		font-size: 22px;
		line-height: 30px;
	}
	
	section.project-trf .row .col-md-6:first-child .row .col-md-8 {
		width: 66.66666667%;
	}
	
	section.project-trf .row .col-md-6:first-child .row .col-md-4 {
		width: 33.33333333%;
	}
	
	section.project-trf .row.flex-row-reverse {
		flex-wrap: wrap-reverse;
	}
	
	section.project-trf .row.flex-row-reverse .col-md-6:last-child {
		padding-bottom: 0;
	}
	
	section.project-trf .row.flex-row-reverse .col-md-6:last-child .ba-explore-wrap {
		padding-left: 50px !important;
		padding-top: 20px !important;
		padding-bottom: 20px !important;
	}
	
	.project-trf .row.flex-row-reverse:nth-child(2n+1) .col-md-6:last-child .ba-explore-wrap {
		padding-left: 20px !important;
		padding-right: 50px !important;
	}
	
	.project-trf .row.flex-row-reverse:nth-child(2n+1) .col-md-6:first-child .ba-explore-wrap, .project-trf .flex-row-reverse .col-md-6:first-child .ba-explore-wrap {
		padding: 0 !important;
	}
}

@media only screen and (max-width: 600px) {
	.project-thumb-trf .col-md-4 {
		width: 100%;
	}
}

@media only screen and (max-width: 500px) {
	.project-details-trf .ba-explore-wrap-img {
		column-count: 2;
		column-gap: 5px;
	}
	
	.project-details-trf .ba-explore-wrap-img figure {
		margin-bottom: 5px;
	}
}

@media only screen and (min-width: 767.98px) and (max-width: 991px) {
	.hero-trf .hero-location__information h1 {
		font-size: 32px;
		line-height: 42px;
	}
	
	.hero-trf .hero-location__information h2 {
		font-size: 22px;
		line-height: 26px;
	}
	
	.hero-trf .hero-location__information p {
		font-size: 17px;
		line-height: 28px;
	}
}

/*Location Custom Blocks Css end*/
@media only screen and (min-width: 768px) {
	section.hero-location.blog-hero.hero-trf .col-lg-8 {
		padding: 0;
	}
	
	.blog-hero.hero-trf .col-12.col-lg-4 {
		display: flex;
		justify-content: end;
	}
	
	.blog-hero.hero-trf .hero-location__information {
		margin-left: 0;
		max-width: 597px;
		margin-top: auto;
		margin-bottom: auto;
		width: 100%;
	}
	
	.blog-hero.hero-trf .hero-location__information h1 {
		margin-top: 0;
	}
	
	.blog-hero.hero-trf::before {
		display: none;
	}
	
	.blog-hero.hero-trf .col-lg-8 .hero-location__information {
		min-height: 540px;
		max-width: 100%;
	}
	
	.blog-hero.hero-trf .col-lg-8 .hero-location__information img {
		object-fit: cover;
		height: auto;
		min-height: 540px;
		width: 100%;
		max-height: 540px;
	}
}

.hero-trf .author-reviews-preview .author-right-text a:hover {
	color: #c4501f;
}

body.single-location .location-block-testimonials-trf, body.single-location section.block-col-and-video-trf, body.single-location section.location-faqs-trf {
	padding-top: 0;
}

body.single-location .trf-quality-block .row.ba-s-loop-gap {
	padding-bottom: 0;
}

body.single-location .about-location-trf+section.block-col-and-video-trf {
	padding-top: 60px;
}

@media only screen and (max-width: 869.98px) {
	body.single-location section.block-image-gallery-slider-trf {
		margin-bottom: 30px;
	}
}

@media only screen and (max-width: 767.98px) {
	body.location-template-default .block-services-list {
		margin-bottom: 30px;
	}
	
	.project-trf+section.project-thumb-trf {
		padding-top: 0;
		padding-bottom: 30px;
	}
	
	body.single-location .about-location-trf+section.block-col-and-video-trf {
		padding-top: 30px;
	}
}

/* Franchising Page Css Start */
.hero-trf .hero-location__form h2.gform_title {
	color: #262f2d;
	font-size: 20px;
	line-height: 24px;
	font-weight: 600;
}

.hero-trf .hero-location__form .hbspt-form form {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.hero-trf .hero-location__form .hbspt-form form .hs-form-field {
	flex: 0 0 100%;
}

.hero-trf .hero-location__form .hbspt-form .hs-input {
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom-color: #dddede;
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	font-size: 16px;
	color: #92a39f !important;
	font-weight: 400;
}

.hero-trf .hero-location__form .hbspt-form .hs-input::placeholder {
	color: #92a39f;
	font-size: 16px;
	line-height: 19px;
	font-weight: 400;
}

.hero-trf .hero-location__form .hbspt-form form .hs-submit {
	flex: 0 0 100%;
}

.hero-trf .hero-location__form .hbspt-form form .hs-submit .actions {
	max-width: 157px;
	margin: 0 auto;
	position: relative;
}

.hero-trf .hero-location__form .hbspt-form form .hs-submit .actions input[type="submit"] {
	background: #266751;
	max-width: 90%;
	margin: 0 auto;
	border-radius: 0;
	position: relative;
	position: relative;
	transition: all .2s linear 0s;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	padding: 12px 21px;
	line-height: 21px;
	border: 0;
}

.hero-trf .hero-location__form .hbspt-form form .hs-submit .actions:hover input[type="submit"] {
	text-indent: -10px;
}

.hero-trf .hero-location__form .hbspt-form form .hs-submit .actions:after {
	background: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/04/arrow-narrow-up-right-white.svg");
	content: "";
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	right: 5%;
	opacity: 0;
	height: 46px;
	width: 40px;
	transition: all .2s linear 0s;
	top: 0;
}

.hero-trf .hero-location__form .hbspt-form form .hs-submit .actions:hover:after {
	text-indent: 0;
	opacity: 1;
}

.hero-trf .hero-location__form .hbspt-form form .hs-form-field .hs-error-msgs, .hero-trf .hero-location__form .hbspt-form form .hs_error_rollup {
	/*display: none !important;*/
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
	width: 100%;
}

.hero-trf .hero-location__form .hbspt-form form .hs-form-field .hs-error-msgs label.hs-error-msg {
	display: block;
	position: relative;
	top: 0;
	transform: inherit;
	text-align: left;
	margin-top: 9.008px;
	clear: both;
	font-size: 15px;
	letter-spacing: normal;
	line-height: inherit;
	width: 100%;
	color: #c02b0a;
	background: #fff !important;
	border: none !important;
	padding: 0 !important;
	font-style: italic;
	font-weight: 600;
}

.hero-trf .hero-location__form .hbspt-form form .hs_error_rollup .hs-error-msgs {
	list-style: none;
	margin: 0;
	background: #fff9f9;
	border: 1.5px solid #c02b0a;
	border-radius: 5px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .11), 0 0 4px rgba(18, 25, 97, .041);
	margin-bottom: 8px;
	margin-top: 8px;
	padding: 16px 16px 16px 48px;
	position: relative;
	width: 100%;
}

.hero-trf .hero-location__form .hbspt-form form .hs_error_rollup .hs-error-msgs label {
	color: #c02b0a;
	font-size: 13.2px !important;
	font-weight: 500;
	line-height: 17.6px;
	margin: 0 0 12px;
	display: block;
	position: inherit;
	transform: inherit;
}

.hero-trf .hero-location__form .hbspt-form form .hs_error_rollup .hs-error-msgs li:last-child label {
	margin-bottom: 0;
}

.franchising-offers-image .container > .row {
	background: #c4501f;
	margin: 0;
}

.franchising-offers-image .row .col-md-8 {
	padding: 30px;
	align-content: center;
}

.franchising-offers-image .row .col-4 {
	padding: 0;
	position: relative;
}

.franchising-offers-image .row .col-4:after {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: linear-gradient(90deg, rgba(196, 80, 31, 1) 0%, rgba(196, 80, 31, 0) 85%);
}

.franchising-offers-image .row .col-4 img {
	object-fit: cover;
}

.franchising-offers-image .row .col-md-8 .col-md-6:first-child {
	border-right: 1px solid #fff;
}

.franchising-offers-image .row .col-md-8 .col-md-6 {
	padding-left: 40px;
	padding-right: 40px;
}

.franchising-offers-image .ba-section-desc {
	display: flex;
	align-items: center;
	gap: 15px;
}

.franchising-offers-image .ba-section-desc h2.ba-h2 {
	font-size: 54px;
	line-height: 64px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0;
}

.franchising-offers-image .ba-section-desc p {
	margin-bottom: 0;
	color: #fff;
	word-break: break-word;
	font-size: 24px;
	line-height: 36px;
}

section.block-col-and-video-trf.ba-2block-bg .block-with-bg {
	background: #266751;
	padding: 40px 55px 55px;
	text-align: center;
	max-width: 100% !important;
}

section.block-col-and-video-trf.ba-2block-bg .ba-left-bg-full {
	display: none;
}

section.block-col-and-video-trf.ba-2block-bg h2 {
	font-size: 42px;
	line-height: 50px;
	position: relative;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

section.block-col-and-video-trf.ba-2block-bg h2:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 100px;
	height: 2px;
	background: #fff;
	bottom: 0;
}

section.block-col-and-video-trf.ba-2block-bg p {
	background: transparent;
	padding: 0;
	margin-bottom: 15px;
}

section.block-col-and-video-trf.ba-2block-bg p a {
	color: #fff;
}

section.block-col-and-video-trf.ba-2block-bg p:last-child {
	margin-bottom: 0;
}

section.block-col-and-video-trf.ba-2block-bg a.btn {
	box-shadow: 0 0 0 3px #fff;
	color: #fff;
	transition: color .25s .0833333333s;
	font-size: 18px;
	font-weight: 400;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
	text-align: center;
	background: transparent !important;
	border-radius: 0;
	border: 0 solid #fff;
	margin: 0;
	display: inline-block;
	margin-top: 20px;
	position: relative;
}

section.block-col-and-video-trf.ba-2block-bg a.btn:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
}

section.block-col-and-video-trf.ba-2block-bg a.btn:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

section.block-col-and-video-trf.ba-2block-bg a.btn:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

section.block-col-and-video-trf.ba-2block-bg a.btn:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

section.block-col-and-video-trf.ba-2block-bg a.btn span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	right: 0;
	bottom: -4px;
	background: #266751;
	left: 0;
	margin: 0 auto;
}

section.block-col-and-video-trf.ba-2block-bg .col-md-12:last-child .ba-left-bg-full {
	display: block !important;
	position: relative !important;
	top: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: transparent !important;
	left: 0 !important;
}

section.block-col-and-video-trf.ba-2block-bg .col-md-12:last-child .ba-left-bg-full .video-wrapper {
	background: transparent !important;
	padding-bottom: 44.6%;
}

section.block-col-and-video-trf.ba-2block-bg .col-md-12:last-child .ba-left-bg-full .video-wrapper video {
	max-height: inherit;
}

section.block-col-and-video-trf.ba-2block-bg .col-md-12:last-child .ba-left-bg-full iframe.vimeo-frame {
	position: absolute !important;
	top: 0;
	margin-bottom: 0 !important;
}

section.block-col-and-video-trf.ba-2block-bg .col-md-12:last-child .ba-left-bg-full .video-wrapper:before {
	display: none;
}

.franchising-offers-image + section.ba-2block-bg.block-col-and-video-trf {
	padding-top: 0;
}

section#franchising-page.block-text-image-trf {
	padding-bottom: 60px;
}

section.ba-2block-bg.block-col-and-video-trf + section#franchising-page.block-text-image-trf {
	padding-top: 0;
}

section#franchising-page.block-text-image-trf:after {
	display: none;
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:last-child ul {
	padding-left: 20px;
	list-style: disc;
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:last-child ul li {
	color: #515c5a;
	line-height: 28px;
	font-size: 18px;
}

.block-cards-list-trf .ba-section-desc .ba-h2 {
	position: relative;
	padding-bottom: 15px;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
	margin-bottom: 15px;
}

.block-cards-list-trf .ba-section-desc .ba-h2:after {
	content: "";
	width: 100px;
	height: 2px;
	background: #266751;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.block-cards-list-trf .ba-section-desc p {
	line-height: 28px;
	color: #515c5a;
}

.block-cards-list-trf .icons-row .ba-grid-gap {
	border-right: 1px solid #266751;
}

.block-cards-list-trf .icons-row .ba-grid-gap:last-child {
	border: 0;
}

.block-cards-list-trf .icons-row .ba-grid-gap .ba-link-bottom {
	padding-top: 0;
	padding-bottom: 0;
}

.block-cards-list-trf-four .ba-grid-content {
	padding-left: 0;
	padding-right: 0;
}

.block-cards-list-trf .icons-row .ba-grid-gap .ba-f-img-grid.with-icon {
	margin: 0 auto;
	padding-bottom: 10px;
}

.block-cards-list-trf .icons-row .ba-grid-gap .ba-f-img-grid.with-icon img {
	max-height: 65px;
	width: auto !important;
}

.block-cards-list-trf .icons-row .ba-grid-gap .ba-h3 {
	font-size: 24px;
	line-height: 28px;
	color: #262f2d;
	font-weight: 600;
	margin-bottom: 15px;
}

.block-cards-list-trf .icons-row .ba-grid-gap p {
	line-height: 28px;
	color: #515c5a;
}

.block-cards-list-trf .icons-row .ba-grid-gap a.ba-link-a {
	text-decoration: none;
}

.block-cards-list-trf .icons-row .ba-grid-gap a.ba-link-a:after {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/arrow-narrow-up-right-green.svg");
	transform: rotate(0);
	background-size: 20px;
	width: 20px;
	height: 20px;
	margin-top: 0;
	transition: transform .3s ease;
}

.block-cards-list-trf .icons-row .ba-grid-gap a.ba-link-a:hover:after {
	-webkit-animation: 1s ease-in-out infinite slide1;
	animation: 1s ease-in-out infinite slide1;
}

.block-cards-list-trf .footer-cta a.btn {
	box-shadow: 0 0 0 3px #262f2d;
	color: #262f2d;
	transition: color .25s .0833333333s;
	font-size: 18px;
	font-weight: 400;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
	text-align: center;
	background: transparent !important;
	border-radius: 0;
	border: 0 solid #fff;
	margin: 0;
	display: inline-block;
	margin-top: 20px;
	position: relative;
}

.block-cards-list-trf .footer-cta a.btn:hover {
	color: #262f2d !important;
}

.block-cards-list-trf .footer-cta a.btn:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
}

.block-cards-list-trf .footer-cta a.btn:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

.block-cards-list-trf .footer-cta a.btn:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

.block-cards-list-trf .footer-cta a.btn:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

.block-cards-list-trf .footer-cta a.btn span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	right: 0;
	bottom: -4px;
	background: #fff;
	left: 0;
	margin: 0 auto;
}

.block-steps-list-trf .ba-section-desc h2.ba-h2 {
	position: relative;
	padding-bottom: 15px;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
	margin-bottom: 15px;
}

.block-steps-list-trf .ba-section-desc h2.ba-h2:after {
	content: "";
	width: 100px;
	height: 2px;
	background: #266751;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.block-steps-list-trf .ba-section-desc p {
	line-height: 28px;
	color: #515c5a;
}

.block-steps-list-trf .row.steps-list .icon {
	background: #ccb66b;
	width: 41px;
	height: 41px;
	color: #266751;
	font-size: 22px;
	line-height: 26px;
	position: relative;
	box-shadow: 0px 0px 0px 7px rgba(204, 182, 107, .7);
	margin-left: 0;
}

.block-steps-list-trf .row.steps-list h4, .block-steps-list-trf .row.steps-list h3 {
	font-size: 24px;
	line-height: 28px;
	color: #262f2d;
	font-weight: 700;
}

.block-steps-list-trf .row.steps-list p {
	color: #515c5a;
	line-height: 28px;
}

.block-steps-list-trf .col-md-4 {
	padding-bottom: 20px;
}

.block-steps-list-trf .col-md-4 .step-list {
	padding-bottom: 20px;
	border-bottom: 3px solid #589984;
	max-width: 320px;
	text-align: left;
	height: 100%;
}

.block-steps-list-trf a.btn {
	box-shadow: 0 0 0 3px #262f2d;
	color: #262f2d;
	transition: color .25s .0833333333s;
	font-size: 18px;
	font-weight: 400;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
	text-align: center;
	background: transparent !important;
	border-radius: 0;
	border: 0 solid #fff;
	margin: 0;
	display: inline-block;
	margin-top: 20px;
	position: relative;
}

.block-steps-list-trf a.btn:hover {
	color: #262f2d !important;
	background: transparent !important;
}

.block-steps-list-trf a.btn:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
}

.block-steps-list-trf a.btn:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

.block-steps-list-trf a.btn:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

.block-steps-list-trf a.btn:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

.block-steps-list-trf a.btn span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	right: 0;
	bottom: -4px;
	background: #fff;
	left: 0;
	margin: 0 auto;
}

.block-steps-list-greenfence {
	background: #266751;
	max-width: 100%;
	padding: 50px;
}

.block-steps-list-greenfence .row.steps-list {
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
}

.block-steps-list-greenfence .row.steps-list h4 {
	color: #fff;
}

.block-steps-list-greenfence .row.steps-list p {
	color: #fff;
}

.block-steps-list-trf.color-greenfence a.btn {
	box-shadow: 0 0 0 3px #fff;
	color: #fff;
}

.block-steps-list-trf.color-greenfence a.btn:hover {
	color: #fff !important;
}

.block-steps-list-trf.color-greenfence a.btn span:after {
	background: #266751;
}

section.block-steps-list-trf.color-greenfence, section.block-steps-list-trf.color-whitefence {
	position: relative;
	padding-bottom: 170px !important;
}

section.block-steps-list-trf.color-greenfence:after, section.block-steps-list-trf.color-whitefence:after {
	content: "";
	width: 100%;
	background: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/uploads/2024/05/why-install-bg-railing-img-new-updated.png");
	height: 170px;
	position: absolute;
	bottom: 0;
	background-size: 100% 100%;
	margin: 0 auto;
	left: 0;
	right: 0;
}

.block-col-and-video #video-container .image-wrapper {
	display: block !important;
	max-width: 80%;
	margin: 0 auto;
	min-width: 80%;
	position: relative;
	top: -30px;
}

.block-col-and-video #video-container .image-wrapper:before {
	content: "";
	width: calc(100% + 40px);
	height: calc(100% - 15px);
	background: #e8e7e5;
	position: absolute;
	z-index: -1;
	bottom: -15px;
	left: -20px;
	display: block;
}

section#full-grey-bg {
	padding-top: 0;
}

#full-grey-bg .block-text-image-trf-container {
	padding-top: 30px;
	padding-bottom: 30px;
}

#full-grey-bg .block-text-image-trf-container:before, #full-grey-bg .block-text-image-trf-container:after, section#full-grey-bg .flex-row-image .col-md-6:first-child:before {
	display: none;
}

section#full-grey-bg .flex-row-image .col-md-6:first-child:before, section#full-grey-bg .flex-row-image .col-md-6:first-child:after {
	content: "";
	position: absolute;
	width: 40%;
	height: 15px;
	bottom: -8px;
	background: #266751;
	left: 0;
	display: block;
	top: inherit;
	right: inherit;
}

section#full-grey-bg .flex-row-image .col-md-6:first-child:after {
	left: auto;
	right: 0;
	bottom: 0;
}

#full-grey-bg .row.flex-row-image {
	align-items: center;
}

section.block-text-image-trf .block-text-image-trf-container .flex-row-image .col-md-6:first-child {
	height: fit-content;
}

section#full-grey-bg img {
	border-left: 15px solid #266751;
	transform: inherit;
	border-top: 15px solid #266751;
	border-right: 15px solid #266751;
	position: relative;
	height: auto;
	margin-bottom: 0 !important;
}

section#full-grey-bg p {
	margin-bottom: 15px;
}

section.block-cards-list.block-cards-list-trf-four:has(+ section.block-col-and-video-trf) {
	padding-bottom: 0;
}

section.block-col-and-video-trf:has(+ section.block-cards-list-trf) {
	padding-bottom: 0;
}

.breadcrumbs-row.questionnaire-breadcrumb-wrapper {
	margin-bottom: 30px;
}

.breadcrumbs-row.questionnaire-breadcrumb-wrapper a, .breadcrumbs-row.questionnaire-breadcrumb-wrapper .breadcrumbs {
	color: #aba9aa;
}

.breadcrumbs-row.questionnaire-breadcrumb-wrapper a:hover {
	color: #c4501f;
}

.questionnaire-form-wrapper {
	padding: 45px;
	background: #256950;
}

.questionnaire-form-wrapper>h1:first-child {
	text-align: center;
	position: relative;
	padding-bottom: 15px;
	font-size: 42px;
	line-height: 50px;
	color: #fff;
	margin-bottom: 15px;
}

.questionnaire-form-wrapper>h1:first-child:after {
	content: "";
	width: 100px;
	height: 2px;
	background: #fff;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.questionnaire-form-wrapper h2 {
	font-size: 28px;
	line-height: 32px;
	color: #fff;
	text-align: center;
}

.questionnaire-form-wrapper .hbspt-form form {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.questionnaire-form-wrapper .hbspt-form form fieldset {
	flex: 0 0 100%;
}

.questionnaire-form-wrapper .hbspt-form form fieldset.form-columns-2 {
	display: flex;
	gap: 40px;
}

.questionnaire-form-wrapper .hbspt-form label {
	font-size: 16px;
	color: #fff !important;
	font-weight: 400;
}

.questionnaire-form-wrapper .hbspt-form .input {
	margin-right: 0 !important;
}

.questionnaire-form-wrapper .hbspt-form .hs-input {
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom-color: #d9d9d9;
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	font-size: 16px;
	color: #fff !important;
	font-weight: 400;
	background-color: transparent;
	width: 100%;
	outline: 0 none;
}

.questionnaire-form-wrapper .hbspt-form .hs-input::placeholder {
	color: #fff;
	font-size: 16px;
	line-height: 19px;
	font-weight: 400;
}

.questionnaire-form-wrapper .hbspt-form .input ul.inputs-list {
	list-style: none;
	padding-left: 0;
	display: flex;
	gap: 20px;
	padding-top: 10px;
}

.questionnaire-form-wrapper .hbspt-form .input ul.inputs-list label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-direction: row-reverse;
}

.questionnaire-form-wrapper .hbspt-form .input ul.inputs-list li.hs-form-booleancheckbox label {
	flex-direction: row;
}

.questionnaire-form-wrapper .hbspt-form .input ul.inputs-list label .hs-input {
	width: 18px !important;
	height: 18px;
	border-radius: 4px !important;
	border: 2px solid #d4d4d4 !important;
}

.questionnaire-form-wrapper .hbspt-form .input ul.inputs-list li.hs-form-booleancheckbox label span {
	margin-left: 0;
}

.questionnaire-form-wrapper .hbspt-form form fieldset .hs-richtext, .questionnaire-form-wrapper .hbspt-form form fieldset .hs-richtext * {
	color: #fff;
	line-height: 28px;
	margin-bottom: 10px;
}

.questionnaire-form-wrapper .hbspt-form form .hs-submit {
	flex: 0 0 100%;
}

.questionnaire-form-wrapper .hbspt-form form .hs-submit .actions {
	max-width: 157px;
	margin: 0;
	position: relative;
}

.questionnaire-form-wrapper .hbspt-form form .hs-submit .actions input[type="submit"] {
	background: #fff;
	margin: 0;
	border-radius: 0;
	transition: all .2s linear 0s;
	font-size: 18px;
	font-weight: 700;
	color: #266751;
	padding: 12px 21px;
	line-height: 21px;
	position: relative;
	border: 0;
	width: 100%;
}

.questionnaire-form-wrapper .hbspt-form form .hs-submit .actions:hover input[type="submit"] {
	text-indent: -10px;
}

.questionnaire-form-wrapper .hbspt-form form .hs-submit .actions:after {
	background: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/arrow-narrow-up-right-green.svg");
	content: "";
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	right: 5%;
	opacity: 0;
	height: 46px;
	width: 40px;
	transition: all .2s linear 0s;
	top: 0;
}

.questionnaire-form-wrapper .hbspt-form form .hs-submit .actions:hover:after {
	text-indent: 0;
	opacity: 1;
}

.questionnaire-form-wrapper .hbspt-form form .hs-form-field .hs-error-msgs, .questionnaire-form-wrapper .hbspt-form form .hs_error_rollup {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
	width: 100%;
}

.questionnaire-form-wrapper .hbspt-form form .hs-form-field .hs-error-msgs label.hs-error-msg {
	display: block;
	position: relative;
	top: 0;
	transform: inherit;
	text-align: left;
	margin-top: 9.008px;
	clear: both;
	font-size: 15px;
	letter-spacing: normal;
	line-height: inherit;
	width: 100%;
	color: #f0aa8c !important;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	font-style: italic;
	font-weight: 600;
}

.questionnaire-form-wrapper .hbspt-form form .hs_error_rollup .hs-error-msgs {
	list-style: none;
	margin: 0;
	background: transparent;
	border: 0;
	border-radius: 5px;
	box-shadow: none;
	margin-bottom: 8px;
	margin-top: 0;
	padding: 16px 16px 16px 0;
	position: relative;
	width: 100%;
}

.questionnaire-form-wrapper .hbspt-form form .hs_error_rollup .hs-error-msgs label {
	color: #f0aa8c !important;
	font-size: 13.2px !important;
	font-weight: 500;
	line-height: 17.6px;
	margin: 0 0 12px;
	display: block;
	position: inherit;
	transform: inherit;
}

.questionnaire-form-wrapper .hbspt-form form .hs_error_rollup .hs-error-msgs li:last-child label {
	margin-bottom: 0;
}

.questionnaire-form-wrapper .submitted-message {
	color: #fff;
	text-align: center;
	line-height: 28px;
	font-size: 18px;
}

.hero-trf .hero-location__form .gform_wrapper.gravity-theme .gfield .submitted-message {
	font-size: 18px;
	line-height: 28px;
	color: #266751;
	font-weight: 600;
}

@media only screen and (min-width: 3000px) {
	section.block-steps-list-trf.color-greenfence:after, section.block-steps-list-trf.color-whitefence:after {
		background-size: contain;
	}
}

@media only screen and (max-width: 1400px) {
	.franchising-offers-image .row .col-md-8 .col-md-6 {
		padding-left: 25px;
		padding-right: 25px;
	}
}

@media only screen and (max-width: 1200px) {
	.franchising-offers-image .row .col-md-8 {
		padding: 30px 15px;
	}
	
	.franchising-offers-image .row .col-md-8 .col-md-6 {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.franchising-offers-image .ba-section-desc p {
		font-size: 20px;
		line-height: 30px;
	}
}

@media only screen and (max-width: 991px) {
	.franchising-offers-image .container {
		max-width: 100%;
		padding: 0 1rem;
	}
	
	.franchising-offers-image .ba-section-desc {
		flex-wrap: wrap;
		gap: 10px;
	}
	
	section.block-col-and-video-trf.ba-2block-bg .block-with-bg {
		padding-left: 15px;
		padding-right: 15px;
		padding-bottom: 35px;
	}
	
	.block-cards-list-trf .container {
		max-width: 100%;
	}
	
	.block-cards-list-trf .icons-row .ba-grid-gap .ba-link-bottom {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.block-cards-list-trf-four .col-md-3.ba-grid-gap {
		width: 50%;
	}
	
	.block-cards-list-trf-four .col-md-3.ba-grid-gap:nth-child(2n) {
		border-right: 0;
	}
	
	.block-cards-list-trf-four .ba-grid-content {
		padding-left: 0;
		padding-right: 0;
	}
	
	.block-steps-list-greenfence {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.block-col-and-video #video-container .image-wrapper {
		max-width: 90%;
		min-width: inherit;
	}
}

@media only screen and (max-width: 767.98px) {
	.franchising-offers-image .row .col-md-8 {
		padding: 30px;
	}
	
	.franchising-offers-image .row .col-md-8 .col-md-6 {
		flex: 0 0 50%;
	}
	
	.franchising-offers-image .row .col-4 {
		width: 100%;
	}
	
	.franchising-offers-image .row .col-4:after {
		background: linear-gradient(180deg, rgba(196, 80, 31, 1) 0%, rgba(196, 80, 31, 0) 85%);
	}
	
	section.block-col-and-video-trf.ba-2block-bg h2 {
		font-size: 26px;
		line-height: 32px;
	}
	
	section.ba-2block-bg.block-col-and-video-trf + section#franchising-page.block-text-image-trf {
		padding-bottom: 0;
	}
	
	section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:last-child h2.ba-h2 {
		display: block !important;
		margin-top: 0;
		font-size: 26px;
		line-height: 32px;
	}
	
	.block-cards-list-trf .icons-row .ba-grid-gap {
		border-right: 0;
	}
	
	.block-cards-list-trf .ba-section-desc .ba-h2 {
		font-size: 26px;
		line-height: 32px;
	}
	
	.block-cards-list-trf .icons-row .ba-grid-gap .ba-h3 {
		font-size: 22px;
	}
	
	section.block-steps-list-trf.color-greenfence, section.block-steps-list-trf.color-whitefence {
		padding-bottom: 80px !important;
	}
	
	section.block-steps-list-trf.color-greenfence:after, section.block-steps-list-trf.color-whitefence:after {
		height: 80px;
	}
	
	.block-steps-list-trf .col-md-4 {
		max-width: 50%;
	}
	
	.block-steps-list-trf .col-md-4 .step-list {
		max-width: 100%;
	}
	
	.block-steps-list-trf .row.steps-list h4, .block-steps-list-trf .row.steps-list h3 {
		font-size: 22px;
		line-height: 28px;
	}
	
	.block-col-and-video #video-container .video-wrapper {
		padding-bottom: 50.6%;
	}
	
	.block-col-and-video #video-container .image-wrapper {
		margin-top: -20px;
	}
	
	#full-grey-bg .block-text-image-trf-container {
		padding-bottom: 0;
	}
	
	section#full-grey-bg .col-md-6:last-child h2.ba-h2 {
		display: block !important;
		margin-top: 0;
	}
	
	.block-cards-list-trf-four .col-md-3.ba-grid-gap {
		width: 100%;
	}
	
	.block-wysiwyg .container {
		max-width: 100%;
	}
	
	.questionnaire-form-wrapper {
		padding: 25px 15px;
	}
	
	.block-steps-list-trf .ba-section-desc h2.ba-h2, .questionnaire-form-wrapper>h1:first-child {
		font-size: 26px;
		line-height: 32px;
	}
	
	.questionnaire-form-wrapper h2 {
		font-size: 22px;
		line-height: 28px;
	}
	
	.breadcrumbs-row.questionnaire-breadcrumb-wrapper {
		margin-bottom: 10px;
	}
}

@media only screen and (max-width:599.98px) {
	.block-steps-list-greenfence {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media only screen and (max-width: 500px) {
	.franchising-offers-image .row .col-md-8 {
		padding: 10px 0;
	}
	
	.franchising-offers-image .row .col-md-8 .row {
		margin: 0;
	}
	
	.franchising-offers-image .ba-section-desc {
		gap: 5px;
	}
	
	.franchising-offers-image .ba-section-desc h2.ba-h2 {
		font-size: 44px;
		line-height: 54px;
	}
	
	.franchising-offers-image .ba-section-desc p {
		font-size: 18px;
		line-height: 27px;
	}
	
	.questionnaire-form-wrapper .hbspt-form form fieldset.form-columns-2 {
		flex-wrap: wrap;
	}
	
	.questionnaire-form-wrapper .hbspt-form form fieldset.form-columns-2 .hs-form-field {
		width: 100% !important;
		flex: 0 0 100%;
	}
}

@media only screen and (max-width: 479.98px) {
	.block-steps-list-trf .col-md-4 {
		max-width: 100%;
	}
	
	.block-steps-list-trf .col-md-4 .step-list {
		text-align: center;
	}
	
	.block-steps-list-trf .row.steps-list .icon {
		margin-left: auto;
	}
}

/* Franchising Page Css End */

/* -- Media Query Start -- */
@media only screen and (min-width : 1600px) {
	section.location-list-banner-hero {
		background: #266751;
		background: linear-gradient(90deg, #266751 0, #266751 40%, #e8e7e5 40%, #e8e7e5 100%);
	}
}

@media only screen and (min-width : 1900px) {
	section.hero-location.hero-trf {
		background: #266751;
		background: linear-gradient(90deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 42%, rgba(232, 231, 229, 1) 42%, rgba(232, 231, 229, 1) 100%);
	}
}

@media only screen and (min-width : 2200px) {
	section.location-list-banner-hero {
		background: #266751;
		background: linear-gradient(90deg, #266751 0, #266751 42%, #e8e7e5 42%, #e8e7e5 100%);
	}
}

@media only screen and (min-width : 2400px) {
	section.hero-location.hero-trf {
		background: #266751;
		background: linear-gradient(90deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 44%, rgba(232, 231, 229, 1) 44%, rgba(232, 231, 229, 1) 100%);
	}
}

@media only screen and (min-width : 2760px) {
	section.location-list-banner-hero {
		background: #266751;
		background: linear-gradient(90deg, #266751 0, #266751 45%, #e8e7e5 45%, #e8e7e5 100%);
	}
}

@media only screen and (min-width : 3000px) {
	/* body.home .block-testimonials-trf:after, */
	
	/* body.location-template-default section.block-col-and-video-trf:after, */
	
	/* section.block-text-image-trf:after, */
	
	/* body.parent-pageid-5388 section.text-image-trf-contact:after	{ */
	
	/* width: 95.5%; */
	
	/* background-size: contain; */
	
	/* } */
	body.home .block-testimonials-trf:after, body.single-location section.block-services-posts-trf:after, section.block-text-image-trf:after {
		width: 95.5%;
		background-size: contain;
	}
}

@media only screen and (min-width : 3200px) {
	section.hero-location.hero-trf {
		background: #266751;
		background: linear-gradient(90deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 46%, rgba(232, 231, 229, 1) 46%, rgba(232, 231, 229, 1) 100%);
	}
}

@media only screen and (min-width : 4400px) {
	section.location-list-banner-hero {
		background: #266751;
		background: linear-gradient(90deg, #266751 0, #266751 47%, #e8e7e5 47%, #e8e7e5 100%);
	}
	
	section.hero-location.hero-trf {
		background: #266751;
		background: linear-gradient(90deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 48%, rgba(232, 231, 229, 1) 48%, rgba(232, 231, 229, 1) 100%);
	}
}

@media only screen and (max-width: 1500px) {
	section.hero-location.blog-hero.hero-trf .container {
		padding-left: 7%;
	}
}

@media only screen and (max-width: 1441px) {
	section.hero-location.blog-hero.hero-trf .container {
		padding-left: 6%;
	}
}

@media only screen and (max-width: 1400px) {
	section.hero-location.blog-hero.hero-trf .container {
		padding-left: 9%;
	}
}

@media only screen and (max-width: 1300px) {
	.finance-trf .col-md-6:first-child .ba-explore-wrap {
		height: 100%;
	}
	
	section.hero-location.blog-hero.hero-trf .container {
		padding-left: 7%;
	}
}

@media only screen and (max-width: 1200px) {
	.navbar-expand-md .navbar-nav {
		gap: 0px;
		padding-right: 0px;
	}
}

@media only screen and (max-width: 1199px) {
	section.block-products-list-trf .ba-section-desc h2.ba-h2, section.block-products-list-trf .ba-section-desc p {
		max-width: 80%;
	}
	
	section.block-images-with-description-trf .ba-section-desc p {
		max-width: 75%;
	}
	
	.blog-category-bar-trf ul.blog-cat-list li {
		flex: 0 0 25%;
	}
	
	section.block-blog-posts-trf .ba-d-link-bottom a img {
		min-height: 220px;
	}
	
	#main-nav .btn-call2a {
		margin-left: 10px;
	}
}

@media only screen and (max-width: 1050px) {
	.hero-trf .hero-location__form {
		right: -20px;
	}
	
	section.hero-location.blog-hero.hero-trf .container {
		padding-left: 45px;
	}
}

@media only screen and (max-width: 991px) {
	.single-post-content-wrapper .container {
		max-width: 100%;
	}
	
	.single-post-content-wrapper .related-post-wrapper p.excerpt a, .single-post-content-wrapper .recent-post-wrapper li a {
		font-size: 20px;
		line-height: 24px;
	}
	
	section.location-city-header-trf h2.ba-h2 {
		padding-top: 35px;
	}
	
	section.hero-location.blog-hero.hero-trf .container {
		padding-left: 0;
		max-width: 100%;
	}
	
	.page-template-blog section.block-blog-posts-trf .container, section.block-blog-posts-trf .container {
		max-width: 100%;
	}
	
	.page-template-blog section.block-blog-posts-trf .row, section.block-blog-posts-trf .row {
		margin: 0;
	}
	
	section.block-blog-posts-trf .header-section a.ba-link-a {
		right: 10px;
	}
	
	.page-template-blog section.block-blog-posts-trf p.excerpt a, section.block-blog-posts-trf p.excerpt a {
		font-size: 18px;
		line-height: 28px;
	}
	
	.page-template-blog section.block-blog-posts-trf p.date, section.block-blog-posts-trf p.date {
		font-size: 16px;
		line-height: 30px;
	}
	
	.page-template-blog section.block-blog-posts-trf .col-md-3, section.block-blog-posts-trf .col-md-3 {
		width: 50%;
	}
	
	.blog-category-bar-trf .container {
		max-width: 100%;
	}
	
	.blog-category-bar-trf ul.blog-cat-list li {
		flex: 0 0 33.33%;
	}
	
	.blog-hero.hero-trf .hero-location__information {
		padding-left: 15px;
		z-index: 2;
	}
	
	.blog-hero.hero-trf .col-lg-8 .hero-location__information {
		max-width: 100%;
		padding-left: 0;
		z-index: 1;
		left: 0;
		position: relative;
	}
	
	.location-city-trf h2.ba-h2 {
		padding-left: 25px;
		padding-right: 25px;
		padding-top: 25px;
		margin-top: -96px;
		font-size: 38px;
		line-height: 46px;
	}
	
	.location-city-trf h2.ba-h2:after {
		left: 25px;
	}
	
	.location-city-trf .row.location-city-copy {
		padding: 25px;
	}
	
	#main-nav .container, section.hero-location.hero-trf .container, .hero-trf+section.ba-fw-banner.background-image-cta-block .container, section.trf-quality-block .container, .trf-quality-block~section.block-col-and-video .container, body.home .block-testimonials-trf .container, section.block-products-list-trf .container, .block-services-list-trf .container, section.ba-blog-grid.ba-blog-grid-trf .container, section.background-image-cta-block:last-child .container, footer.primary-bg .container, #wrapper-navbar .ba-topbar-nav .container, .sub-hero-trf .container, section.block-image-gallery-slider-trf .container, .about-location-trf .container, .block-col-and-video-trf .container, .location-city-trf .container, section.block-images-with-description-trf .container, .block-testimonials-trf .container, section.product-about-two-block-section .container, *[class *="text-image-trf-"] .container, .block-four-cols-and-icon-trf .container {
		max-width: 100%;
	}
	
	.block-four-cols-and-icon-trf .row:last-child .col-12.ba-icon-wrap {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
	
	section.location-faqs-trf .container, .location-faqs-trf .container, section.block-text-image-trf .block-text-image-trf-container .container {
		max-width: 95%;
	}
	
	section.block-text-image-trf .block-text-image-trf-container .flex-row-reverse .col-md-6:last-child {
		padding-left: 0;
	}
	
	section.location-list-banner-hero .container {
		max-width: 95%;
	}
	
	.location-list-sub-hero {
		margin-top: -50px;
	}
	
	section.hero-location.hero-trf .row {
		position: relative;
	}
	
	section.hero-trf .hero-location__information {
		max-width: calc(100% - 415px);
		position: absolute;
		left: 1.5rem;
	}
	
	section.hero-trf .hero-location__information h1 {}
	
	section.hero-trf .hero-location__information h1+p {}
	
	section.hero-trf .hero-location__information .author-number-wrapper {
		right: 0;
		left: 20px;
	}
	
	section.hero-trf .hero-location__information .author-reviews-preview {
		flex: 0 0 calc(100% - 250px);
		padding-right: 50px;
	}
	
	.trf-quality-block ~ section.block-col-and-video .block-with-bg h2, .trf-quality-block ~ section.block-col-and-video .block-with-bg p {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	section.block-products-list-trf {
		padding-top: 30px;
		padding-bottom: 10px;
	}
	
	section.ba-blog-grid.ba-blog-grid-trf {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	
	section.ba-blog-grid-trf .row:first-child .col-md-12 {
		padding-left: 0;
	}
	
	section.ba-blog-grid-trf .row:first-child p {
		max-width: calc(100% - 190px);
	}
	
	body.home .block-testimonials-trf .container .row {
		margin-left: 0;
		margin-right: 0;
	}
	
	.hero-trf .hero-location__form {
		right: 20px;
		margin-top: 0;
	}
	
	.finance-trf .col-md-6:last-child .ba-explore-wrap {
		padding: 30px 20px;
	}
	
	.finance-trf .col-md-6:last-child .ba-explore-wrap h3.ba-h3, .finance-trf .col-md-6:last-child .ba-explore-wrap h2.ba-h3, .finance-trf .col-md-6:last-child .ba-explore-wrap p {
		max-width: 100%;
	}
	
	section.location-faqs-trf {
		padding-top: 0;
	}
	
	section.ba-location-list.location-faqs-trf {
		padding-top: 60px;
	}
	
	.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse>.row>.col-4 {
		max-width: calc(33.33% - 12px);
	}
	
	section.hero-location.hero-trf {
		background: linear-gradient(180deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 40%, rgba(232, 231, 229, 1) 40%, rgba(232, 231, 229, 1) 100%);
	}
	
	.testimonial-wrap-slider-trf .slick-list {
		padding: 0 10% 0 0 !important;
	}
}

@media only screen and (max-width: 870px) {
	section.block-image-gallery-slider-trf .container {
		align-items: center;
		justify-content: center;
		padding: 0;
	}
	
	section.block-image-gallery-slider-trf .container .row:first-child {
		flex: 0 0 100%;
		max-width: 100%;
		margin-bottom: 15px;
	}
	
	section.block-image-gallery-slider-trf .container .row:first-child {
		margin-bottom: 25px !important;
	}
	
	section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-thumb {
		display: none !important;
	}
	
	section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content {
		flex: 0 0 100%;
		max-width: 100%;
		padding: 15px;
		max-height: 420px;
		max-height: inherit !important;
		margin-top: 0px !important;
	}
	
	section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content:after {
		left: 0;
		width: 100%;
	}
	
	section.block-image-gallery-slider-trf .ba-section-desc p {
		max-width: 100%;
	}
	
	section.block-image-gallery-slider-trf .container .row.slider .col-md-2 {
		max-height: 390px;
	}
	
	section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content button.slick-arrow {
		top: inherit !important;
		bottom: -50px !important;
		margin: 0 auto;
	}
	
	section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content button.slick-arrow.slick-prev {
		right: 0;
		left: -35px;
	}
	
	section.block-image-gallery-slider-trf .container .row.slider.block-image-gallery-slider-content button.slick-arrow.slick-next {
		right: -35px;
		left: 0;
	}
	
	section.block-image-gallery-slider-trf .container .row.mob-el {
		display: none !important;
	}
	
	section.block-images-with-description-trf .ba-section-desc {
		display: flex;
		flex-wrap: wrap;
	}
	
	section.block-images-with-description-trf .ba-section-desc h2.ba-h2 {
		text-align: center !important;
		width: 100%;
		max-width: 100%;
	}
	
	section.block-images-with-description-trf .ba-section-desc p {
		max-width: 100%;
		padding-right: 0;
		text-align: center;
	}
	
	section.block-images-with-description-trf .ba-section-desc a.btn, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn {
		order: 3;
		position: relative;
		bottom: 0;
		margin-top: 20px;
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
	}
}

@media only screen and (min-width: 768px) {
	.navbar-expand-md #main-menu li ul.dropdown-menu {
		width: auto;
		min-width: 200px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	#main-menu>li>a {
		padding-left: 7px !important;
		padding-right: 7px !important;
	}
	
	.navbar-brand img {
		max-height: 40px !important;
		width: auto;
	}
	
	section.block-col-and-video-trf h3, section.block-col-and-video-trf h2 {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	#main-nav .btn-call2a {
		margin-left: 10px;
	}
	
	.navbar-expand-md .navbar-nav .dropdown-menu {
		margin-top: 15px;
	}
}

@media only screen and (max-width:780px) {
	section.block-images-with-description-trf .images-list .ba-f-text-grid h3 {
		font-size: 24px;
	}
}

@media only screen and (max-width: 767.98px) {
	section.block-services-posts-trf.ba-blog-grid-trf .row:first-child {
		margin-bottom: 30px;
	}
	
	section.block-services-posts-trf.ba-blog-grid-trf .row:first-child p {
		max-width: 100%;
	}
	
	section.block-services-posts-trf.ba-blog-grid-trf p {
		font-weight: 400;
		font-size: 18px;
		line-height: 27px;
	}
	
	section.block-services-posts-trf.ba-blog-grid-trf .ba-mob-bgap {
		margin-bottom: 30px;
	}
	
	section.block-services-posts-trf.ba-blog-grid-trf .col-md-4.custom-col {
		margin-bottom: 30px;
	}
	
	section.block-services-posts-trf.ba-blog-grid-trf .col-md-4.custom-col:last-child {
		margin-bottom: 0px;
	}
	
	body:not(.home) section.hero-location.hero-trf .breadcrumbs-row .breadcrumbs {
		top: 0;
	}
	
	section.single-post-content-author-wrapper .author-row-block .author-heading-block p.job-title {
		margin-top: 0;
		font-size: 20px;
		text-align: center;
	}
	
	.single-post-content-wrapper > .container .row {
		flex-wrap: wrap;
		justify-content: center;
	}
	
	section.single-post-content-author-wrapper .author-row-block .col-md-9 {
		width: auto;
		max-width: 100%;
		margin-top: 30px;
	}
	
	section.single-post-content-author-wrapper .author-row-block .author-heading-block {
		flex-wrap: wrap;
		padding-left: 0;
		padding-bottom: 20px;
	}
	
	section.single-post-content-author-wrapper .author-row-block .author-heading-block h2 {
		flex: 0 0 100%;
		text-align: center;
		font-size: 26px;
	}
	
	section.single-post-content-author-wrapper .author-row-block .author-heading-block .author-social-link {
		text-align: center;
		flex: 0 0 100%;
		margin-top: 10px;
	}
	
	section.single-post-content-author-wrapper .author-row-block .author-heading-block .author-social-link ul {
		justify-content: center;
		padding-left: 0;
	}
	
	section.single-post-content-author-wrapper .author-row-block .author-decription {
		text-align: center;
		padding-left: 0;
	}
	
	.single-post-content-wrapper .related-post-wrapper .title, .single-post-content-wrapper .recent-post-wrapper h2 {
		font-size: 22px;
		line-height: 26px;
	}
	
	.single-post-content-wrapper .related-post-wrapper p.excerpt a, .single-post-content-wrapper .recent-post-wrapper li a {
		font-size: 18px;
		line-height: 22px;
	}
	
	.single-post-content-wrapper h2.page-title {
		font-size: 26px;
		line-height: 32px;
	}
	
	.single-post-content-wrapper .post-wrap h2, .single-post-content-wrapper .post-wrap h2 b, .single-post-content-wrapper .post-wrap h2 strong {
		font-size: 22px;
		line-height: 26.8px;
	}
	
	.single-post-content-wrapper .post-wrap h3, .single-post-content-wrapper .post-wrap h3 b, .single-post-content-wrapper .post-wrap h3 strong {
		font-size: 20px;
		line-height: 26.8px;
	}
	
	.single-post-content-wrapper .post-wrap h4, .single-post-content-wrapper .post-wrap h4 b, .single-post-content-wrapper .post-wrap h4 strong {
		font-size: 18px;
		line-height: 26.8px;
	}
	
	section.block-blog-posts-trf .ba-d-link-bottom a img {
		object-fit: cover;
	}
	
	.page-id-551 section.trf-quality-block h3.ba-h3.big, .page-id-551 section.trf-quality-block h2.ba-h3.big {
		padding-top: 0;
	}
	
	section.block-images-with-description-trf .ba-section-desc h2.ba-h2, .product-about-two-block-section h2.ba-h2, section.trf-quality-block h2.ba-h3.big {
		font-size: 26px !important;
		line-height: 32px;
	}
	
	section.product-about-two-block-section .ba-img-block h3 {
		font-size: 22px;
		line-height: 30px;
	}
	
	/* section.block-text-image-trf, */
	
	/* body.parent-pageid-5388 section.text-image-trf-contact{ */
	
	/* padding-bottom: 90px; */
	
	/* } */
	section.block-text-image-trf {
		padding-bottom: 90px;
	}
	
	/* section.block-text-image-trf:after, */
	
	/* body.parent-pageid-5388 section.text-image-trf-contact:after	{ */
	
	/* height: 110px; */
	
	/* } */
	section.block-text-image-trf:after {
		height: 110px;
	}
	
	section.block-images-with-description-trf .images-list .ba-f-text-grid h4, section.block-images-with-description-trf .images-list .ba-f-text-grid h3 {
		max-width: 100%;
	}
	
	.product-about-two-block-section .col-6 {
		width: 100%;
	}
	
	section.product-about-two-block-section:before {
		height: 73%;
	}
	
	section.product-about-two-block-section:after {
		bottom: 73%;
	}
	
	.product-about-two-block-section .col-6:last-child .ba-grid-content.ba-link-bottom {
		margin-bottom: 0;
		padding-bottom: 0;
	}
	
	section.block-products-list-trf .ba-grid-wrap .ba-f-text-grid h3.ba-h3 a.ba-link-a, section.block-images-with-description-trf .images-list .ba-f-text-grid h4 a, section.block-images-with-description-trf .images-list .ba-f-text-grid h3 a {
		font-size: 24px;
	}
	
	section.block-blog-posts-trf .header-section {
		display: flex;
		flex-direction: column;
	}
	
	section.block-blog-posts-trf .header-section h2.ba-h2 {
		max-width: 100%;
		text-align: center !important;
		font-size: 26px;
		line-height: 32px;
	}
	
	section.block-blog-posts-trf .header-section a.ba-link-a {
		order: 3;
		position: relative;
		bottom: 0;
		margin-top: 20px;
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
	}
	
	.blog-category-bar-trf {
		padding-top: 0;
	}
	
	.blog-category-bar-trf form.search-form.search-bar {
		margin-bottom: 10px;
	}
	
	.blog-category-bar-trf ul.blog-cat-list li {
		flex: 0 0 50%;
	}
	
	.blog-category-bar-trf form.search-form.search-bar input.form-control.blog-search {
		max-width: 100%;
	}
	
	section.hero-location.hero-trf.blog-hero .col-12.col-lg-8 {
		padding-top: 30px;
		padding-bottom: 0;
	}
	
	section.trf-quality-block.blog-trf-quality-block h3.ba-h3.big {
		padding-top: 10px;
	}
	
	.location-city-trf h2.ba-h2 {
		font-size: 26px;
		line-height: 32px;
		margin-top: -82px;
	}
	
	.block-four-cols-and-icon-trf .row:last-child .col-12.ba-icon-wrap {
		border-left: 0;
	}
	
	.block-four-cols-and-icon-trf .row:last-child .col-12.ba-icon-wrap .col-12 p {
		border-bottom: 0;
		margin-bottom: 30px;
	}
	
	.block-four-cols-and-icon-trf .row:last-child .col-12.ba-icon-wrap .col-12 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	
	.text-image-trf-contact .text-image-trf-contact {
		background: #e8e7e5;
		margin-bottom: 20px;
		overflow: visible;
		padding-top: 15px;
		padding-bottom: 15px;
		position: relative;
	}
	
	.text-image-trf-contact .text-image-trf-contact:before {
		content: "";
		background: #e8e7e5;
		width: 100vw;
		height: 100%;
		position: absolute;
		z-index: -1;
		left: -15px;
		top: 0;
	}
	
	.text-image-trf-contact .text-image-trf-contact:after {
		content: "";
		background: #e8e7e5;
		width: 100vw;
		height: 100%;
		position: absolute;
		z-index: -1;
		right: -15px;
		top: 0;
	}
	
	.text-image-trf-contact .text-image-trf-contact img {
		margin: 0 !important;
	}
	
	#main-menu li.hide-web {
		display: block;
	}
	
	section.hero-location.hero-trf {
		background: linear-gradient(180deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 45%, rgba(232, 231, 229, 1) 45%, rgba(232, 231, 229, 1) 100%);
	}
	
	#main-menu .mob-menu-2 li:nth-child(3n) {
		margin-top: 15px;
	}
	
	.hero-trf .hero-location__information p {
		text-align: center;
	}
	
	.hero-trf-location .col-12.col-lg-4 {
		padding-left: 10px;
		padding-left: 10px;
	}
	
	.hero-trf-location .hero-location__information h2 {
		text-align: center;
	}
	
	section.sub-hero-trf .col-areas ul li {
		padding-left: 0px;
		padding-right: 30px;
	}
	
	section.sub-hero-trf .col-areas ul li img {
		margin-left: -30px;
	}
	
	.thank-you-page .hero.hero-thank-you-trf .heading h1 {
		font-size: 26px;
		line-height: 32px;
	}
	
	.thank-you-page .hero.hero-thank-you-trf .heading p {
		font-size: 18px;
		line-height: 28.8px;
	}
	
	.thank-you-page .hero.hero-thank-you-trf .heading .ba-sub-head h3 {
		font-size: 26px;
		line-height: 32px;
	}
	
	.thank-you-page .hero.hero-thank-you-trf .box-icon h3 {
		font-size: 20px;
		line-height: 28px;
	}
	
	.thank-you-page .hero.hero-thank-you-trf .row.justify-content-between .col-12 {
		margin-bottom: 30px;
	}
	
	.thank-you-page .hero.hero-thank-you-trf .row.justify-content-between .col-12:last-child {
		margin-bottom: 0px;
	}
	
	.text-image-trf-contact {
		overflow: hidden;
	}
	
	.text-image-trf-contact>.container>.row.flex-row-reverse {
		flex-direction: column-reverse !important;
	}
	
	.text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-6:last-child, .text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-5:last-child {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-6:first-child h2.ba-h2.mb-h2.ba-d-hide, .text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-7:first-child h2.ba-h2.mb-h2.ba-d-hide {
		display: none;
	}
	
	.text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-6:last-child h2.ba-h2, .text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-5:last-child h2.ba-h2, .text-image-trf-about h2 {
		display: block !important;
		font-size: 26px;
		line-height: 32px;
		max-width: 100%;
		margin-top: 0;
		text-align: center;
	}
	
	.text-image-trf-about h2 {
		display: block !important;
		font-size: 26px;
		line-height: 32px;
		max-width: 100%;
	}
	
	.text-image-trf-contact h2:after, .text-image-trf-about h2:after {
		right: 0;
		margin: 0 auto;
	}
	
	.text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-6:last-child p, .text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-5:last-child p, .text-image-trf-about p {
		text-align: center;
	}
	
	.text-image-trf-contact .hero-location__ctas, .text-image-trf-about .hero-location__ctas {
		text-align: center;
	}
	
	.text-image-trf-contact a.about-light, .text-image-trf-about a.about-light, .text-image-trf-about a.btn-link {
		margin: 0 auto;
	}
	
	.text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-6:first-child img, .text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-7:first-child img, .text-image-trf-about>.container>.row>.col-md-7:first-child img {
		vertical-align: middle;
		position: relative;
		top: inherit;
		transform: inherit;
		margin-bottom: 0 !important;
	}
	
	.text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-6:first-child:before, .text-image-trf-contact>.container>.row.flex-row-reverse>.col-md-7:first-child:before {
		content: "";
		background: #e8e7e5;
		width: 100%;
		height: 100%;
		position: absolute;
		left: -50%;
	}
	
	.text-image-trf-about.green {
		padding-bottom: 0;
	}
	
	.text-image-trf-about.green h2 {
		margin-top: 0;
	}
	
	.text-image-trf-about.green h2+img.ba-d-hide {
		display: none !important;
	}
	
	.text-image-trf-about.green .ba-m-hide {
		display: block !important;
		margin-top: 30px;
		padding-bottom: 30px;
		padding-top: 30px;
		position: relative;
	}
	
	.text-image-trf-about.green .ba-m-hide:after {
		content: "";
		width: 40%;
		background: #266751;
		height: 100%;
		position: absolute;
		right: 0;
		z-index: -1;
		top: 0;
	}
	
	.text-image-trf-about.green.orientation-right .flex-row-reverse {
		flex-direction: column-reverse !important;
	}
	
	.text-image-trf-about.green:before, .text-image-trf-about.green:after {
		display: none;
	}
	
	body:not(.home) .hero-trf-location .breadcrumbs, body:not(.home) section.hero-location.hero-trf .breadcrumbs {
		left: 0;
		right: 0;
		margin: 0 auto;
		text-align: center;
	}
	
	section.location-list-banner-hero {
		background: linear-gradient(180deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 32%, rgba(232, 231, 229, 1) 32%, rgba(232, 231, 229, 1) 100%);
		overflow: hidden;
	}
	
	section.location-list-banner-hero .col-md-4:before {
		width: calc(100% + 40px);
		height: calc(100% + 30px);
		left: -32px;
		top: -30px;
	}
	
	section.location-list-banner-hero .col-md-8 {
		text-align: center;
	}
	
	section.location-list-banner-hero img.location-right-img {
		max-width: 100%;
		margin: 0 auto;
		height: auto;
		object-fit: inherit;
	}
	
	.location-list-sub-hero .container {
		max-width: 95%;
	}
	
	.location-list-sub-hero .hero-search-form {
		max-width: 100%;
	}
	
	.location-list-sub-hero .hero-search-form .col-md-12+.col-md-6 {
		margin-bottom: 20px;
	}
	
	.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse>.row>.col-4 {
		width: 100%;
		max-width: calc(50% - 12px);
	}
	
	.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse>.row>.col-4 .col-6 {
		width: 100%;
	}
	
	body:not(.home) .hero-trf-location .breadcrumbs {
		text-align: center;
	}
	
	body.single-location section.block-services-posts-trf {
		padding-bottom: 80px;
	}
	
	body.single-location section.block-services-posts-trf:after {
		height: 80px;
	}
	
	.mob-footer {
		padding-bottom: 50px;
	}
	
	#main-menu .mob-menu-2 a {
		position: relative;
	}
	
	#main-menu .mob-menu-2 a.topbar-find-my-location {
		background: #c4501f;
		color: #fff !important;
		border-radius: 0;
		font-weight: 700 !important;
		font-size: 18px !important;
		text-decoration: none;
		line-height: 22px !important;
		padding: 13px 21px;
		text-align: center;
		padding-left: 38px;
	}
	
	a.ba-phone-btn.ba-mob-header-cta.mobile-menu-tel {
		margin-bottom: 10px !important;
	}
	
	#main-menu .mob-menu-2 li a.topbar-find-my-location:before {
		content: "";
		font-family: "FontAwesome";
		margin-right: 5px;
		position: absolute;
		left: 15px;
		-webkit-animation: tilt-shaking 1.2s infinite ease-in-out;
		-moz-animation: tilt-shaking 1.2s infinite ease-in-out;
		-ms-animation: tilt-shaking 1.2s infinite ease-in-out;
		-o-animation: tilt-shaking 1.2s infinite ease-in-out;
		animation: tilt-shaking 1.2s infinite ease-in-out;
		-webkit-transition: all .5s;
		-moz-transition: all .5s;
		-o-transition: all .5s;
		transition: all .5s;
	}
	
	#main-nav .btn-call2a {
		display: none;
	}
	
	#main-nav a.navbar-brand {
		margin-right: 0;
	}
	
	section.hero-location.hero-trf .col-12.col-lg-8 {
		padding-top: 200px;
	}
	
	section.hero-trf .hero-location__information .author-reviews-preview {
		padding-top: 0;
	}
	
	section.hero-trf.blog-hero .hero-location__information .author-reviews-preview {
		padding-top: 30px;
	}
	
	section.trf-quality-block .ba-features-wrap .ba-features-list .col-md-4:first-child+.col-md-4 .col-md-12:last-child {
		border: 0;
	}
	
	section.hero-trf .hero-location__information {
		max-width: 100%;
		position: relative;
		left: 0;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		flex-direction: column;
	}
	
	section.hero-trf .hero-location__information .author-number-wrapper {
		display: none;
	}
	
	section.hero-trf .hero-location__information h1 {
		text-align: center;
		flex: 0 0 100%;
	}
	
	section.hero-trf .hero-location__information h1+p {
		text-align: center;
		flex: 0 0 100%;
	}
	
	section.hero-trf .hero-location__information .author-reviews-preview {
		flex: 0 0 auto;
		padding-right: 0;
		padding-bottom: 30px;
	}
	
	.hero-trf .hero-location__form {
		right: 0;
		margin-top: 0;
		left: 0;
		margin-left: auto;
		margin-right: auto;
	}
	
	/*.hero-trf+section.ba-fw-banner.background-image-cta-block h3.big{
		max-width:100%;
}
.hero-trf+section.ba-fw-banner.background-image-cta-block h3.big:after{
	bottom:0;
}*/
	section.trf-quality-block .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:first-child img.ba-quality-icon {
		margin-bottom: 0;
	}
	
	.trf-quality-block ~ section.block-col-and-video .block-with-bg .video-wrapper.ba-d-hide {
		max-width: 90%;
	}
	
	body.home .block-testimonials-trf .testimonial-wrap .row:last-child .col-md-6 {
		max-width: 100%;
		padding: 20px !important;
	}
	
	body.home .block-testimonials-trf .testimonial-wrap .row:last-child .col-md-6 img.ba-client-img {
		left: 20px;
	}
	
	section.block-products-list-trf .ba-section-desc {
		display: flex;
		flex-direction: column;
	}
	
	section.block-products-list-trf .ba-section-desc a.btn, section.block-products-list-trf .ba-section-desc a.ba-link-btn {
		order: 3;
		position: relative;
		bottom: 0;
		margin-top: 20px;
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
	}
	
	section.block-products-list-trf .ba-section-desc h2.ba-h2, section.block-products-list-trf .ba-section-desc p {
		max-width: 100%;
		text-align: center !important;
	}
	
	.finance-trf .col-md-6:first-child .ba-explore-wrap {
		padding: 0 !important;
		margin-top: 15px;
	}
	
	.finance-trf .col-md-6:last-child {
		padding-top: 0;
		margin-bottom: 15px;
	}
	
	.finance-trf .col-md-6:last-child .ba-explore-wrap {
		text-align: center !important;
	}
	
	.finance-trf .col-md-6:last-child .ba-explore-wrap h3.ba-h3, .finance-trf .col-md-6:last-child .ba-explore-wrap h2.ba-h3, .finance-trf .col-md-6:last-child .ba-explore-wrap p {
		max-width: 100%;
		text-align: center;
	}
	
	.finance-trf .col-md-6:last-child .ba-explore-wrap h3.ba-h3:after, .finance-trf .col-md-6:last-child .ba-explore-wrap h2.ba-h3:after {
		left: 0;
		right: 0;
		margin: 0 auto;
	}
	
	section.ba-blog-grid.ba-blog-grid-trf {
		background: linear-gradient(180deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 25%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 100%);
	}
	
	section.ba-blog-grid-trf .row:first-child {
		display: flex;
		flex-direction: column;
	}
	
	section.ba-blog-grid-trf .row:first-child a.ba-link-a {
		position: relative;
		bottom: 0;
		order: 3;
		margin-top: 20px;
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
	}
	
	section.ba-blog-grid-trf .row:first-child h2.ba-h2 {
		text-align: center !important;
		max-width: 100%;
	}
	
	section.ba-blog-grid-trf .row:first-child p {
		max-width: 100%;
		text-align: center;
	}
	
	.ba-blog-grid-trf .col-md-4.custom-col {
		max-width: 100%;
	}
	
	body.home .block-testimonials-trf {
		padding-bottom: 80px;
	}
	
	body.home .block-testimonials-trf:after {
		height: 80px;
	}
	
	.hero-trf .hero-location__information h1 {
		font-size: 26px;
		line-height: 31px;
	}
	
	.hero-trf .author-reviews-preview .author-right-text p {
		font-size: 20px;
		line-height: 24px;
	}
	
	.hero-trf .author-reviews-preview .author-right-text p.date {
		font-size: 16px;
	}
	
	/*.hero-trf+section.ba-fw-banner.background-image-cta-block h3.big{
		line-height:32px;
	}*/
	section.trf-quality-block .ba-features-wrap .ba-features-list .col-md-4 .col-md-12:first-child+.col-md-12 h3 {
		font-size: 22px;
		line-height: 24px;
	}
	
	.trf-quality-block ~ section.block-col-and-video .block-with-bg h2, body.home .block-testimonials-trf h2.ba-h2, section.block-products-list-trf .ba-section-desc h2.ba-h2, .block-services-list-trf h2.ba-h2, .finance-trf .col-md-6:last-child .ba-explore-wrap h3.ba-h3, .finance-trf .col-md-6:last-child .ba-explore-wrap h2.ba-h3, section.location-faqs-trf h2.ba-h2 {
		font-size: 26px;
		line-height: 32px;
	}
	
	body.home .block-testimonials-trf .testimonial-wrap .row:last-child .col-md-6 h5.client-name {
		font-size: 20px;
		line-height: 24px;
	}
	
	section.location-faqs-trf .faqs .accordion .accordion-item button.accordion-button {
		font-size: 18px;
		line-height: 24px;
	}
	
	.mob-footer-sticky .ba-phone-btn {
		border-radius: 0;
		background: #c4501f;
		line-height: 24px;
		font-size: 20px;
		text-indent: 20px;
	}
	
	.mob-footer-sticky .ba-phone-btn:before {
		-webkit-animation: tilt-shaking 1.2s infinite ease-in-out;
		-moz-animation: tilt-shaking 1.2s infinite ease-in-out;
		-ms-animation: tilt-shaking 1.2s infinite ease-in-out;
		-o-animation: tilt-shaking 1.2s infinite ease-in-out;
		animation: tilt-shaking 1.2s infinite ease-in-out;
		-webkit-transition: all .5s;
		-moz-transition: all .5s;
		-o-transition: all .5s;
		transition: all .5s;
		top: 10px;
	}
	
	.ba-mob-navlogo {
		display: none;
	}
	
	#navbarNavDropdown {
		overflow: auto;
	}
	
	ul#main-menu {
		margin-top: 30px;
	}
	
	.ba-mob-close {
		right: inherit;
		top: 20px;
		width: 16px;
		height: 16px;
		background-size: 10px;
	}
	
	.ba-mob-close:before {
		content: "";
		border: 2px solid;
		width: 26px;
		height: 26px;
		position: absolute;
		border-radius: 100%;
		left: -5px;
		top: -5px;
	}
	
	#main-menu .nav-item .nav-link {
		border: 0;
		padding: 15px 0;
		font-size: 18px;
	}
	
	#main-menu .menu-item-has-children a:after {
		line-height: 24px;
	}
	
	.navbar-nav .dropdown-menu {
		margin: 0;
		padding: 0;
	}
	
	#main-menu .dropdown-menu a {
		padding-left: 10px;
		padding-right: 0;
	}
	
	#main-menu li#menu-item-2886.nav-item {
		border-bottom: 2px solid #dcdcdc;
		padding-bottom: 10px;
	}
	
	a.ba-header-btn.ba-mob-header-cta {
		border-radius: 0;
	}
	
	a.ba-phone-btn.ba-mob-header-cta.mobile-menu-tel {
		background: #c4501f;
		color: #fff !important;
		border-radius: 0;
	}
	
	a.ba-phone-btn.ba-mob-header-cta.mobile-menu-tel::before {
		-webkit-animation: tilt-shaking 1.2s infinite ease-in-out;
		-moz-animation: tilt-shaking 1.2s infinite ease-in-out;
		-ms-animation: tilt-shaking 1.2s infinite ease-in-out;
		-o-animation: tilt-shaking 1.2s infinite ease-in-out;
		animation: tilt-shaking 1.2s infinite ease-in-out;
		-webkit-transition: all .5s;
		-moz-transition: all .5s;
		-o-transition: all .5s;
		transition: all .5s;
		top: 14px;
	}
	
	header#wrapper-navbar {
		position: sticky;
		background: #fff;
	}
	
	section.background-image-cta-block:last-child .col-md-12 {
		padding: 0;
	}
	
	section.background-image-cta-block:last-child h3.ba-h3 {
		max-width: 100%;
	}
	
	section.background-image-cta-block:last-child h3.ba-h3 {
		max-width: 100%;
		font-size: 22px !important;
		line-height: 26px !important;
	}
	
	section.background-image-cta-block:last-child h3.ba-h3 + div {
		margin-bottom: 10px;
	}
	
	.mob-footer {
		padding-bottom: 40px;
	}
	
	.mob-footer .col-12:first-child {
		margin-top: 20px;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child a figure.wp-block-image {
		margin-bottom: 0;
	}
	
	footer.primary-bg a ~figure.wp-block-image {
		margin-bottom: 25px;
	}
	
	.mob-footer .col-6 {
		width: 100%;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child+.col-6 {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child+.col-6 .widget {
		flex: 0 0 33.33%;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child+.col-6 .widget {
		flex: 0 0 33.33%;
		text-align: left;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child+.col-6+.col-6 .widget .col-12 {
		margin-top: 0;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child+.col-6+.col-6 {
		display: flex;
		flex-direction: row;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child+.col-6+.col-6 .widget:last-child {
		flex: 0 0 220px;
	}
	
	footer.primary-bg .mob-footer .col-12:last-child {
		display: flex;
		align-items: end;
		justify-content: space-between;
	}
	
	section.block-images-with-description-trf .ba-section-desc {
		display: flex;
		flex-wrap: wrap;
	}
	
	section.block-images-with-description-trf .ba-section-desc a.btn, section.block-images-with-description-trf .ba-section-desc a.ba-link-btn {
		order: 3;
		position: relative;
		bottom: 0;
		margin-top: 20px;
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
	}
	
	section.sub-hero-trf .col-areas h4, section.sub-hero-trf .col-areas h2, section.trf-quality-block h3.ba-h3.big, section.block-image-gallery-slider-trf .ba-section-desc h2.ba-h2, .block-testimonials-trf h2.ba-h2, section.block-col-and-video-trf h3, section.block-col-and-video-trf h2 {
		font-size: 26px !important;
		line-height: 32px;
	}
}

@media only screen and (max-width: 639px) {
	.blog-category-bar-trf form.search-form.search-bar input.form-control.blog-search {
		flex: 0 0 100%;
		margin-bottom: 10px;
		min-height: 61px;
		margin-right: 0;
	}
	
	.mob-footer-sticky {
		padding: 10px 0px 0px !important;
	}
}

@media only screen and (max-width:590px) {
	section.hero-location.hero-trf.blog-hero {
		background: linear-gradient(180deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 50%, rgba(232, 231, 229, 1) 50%, rgba(232, 231, 229, 1) 100%);
	}
	
	section.hero-location.hero-trf.blog-hero h1 {
		margin-top: 0 !important;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child a figure.wp-block-image img {
		max-width: 140px;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child+.col-6+.col-6 {
		flex-direction: column;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child+.col-6+.col-6 .widget:last-child {
		flex: 0 0 100%;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child+.col-6+.col-6 .widget:last-child .col-12 {
		display: block;
		text-align: center;
	}
	
	footer.primary-bg .mob-footer .col-12:last-child {
		display: block;
	}
	
	footer.primary-bg .mob-footer .col-12:last-child .widget {
		width: 100%;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child+.col-6+.col-6 .widget:last-child .col-12 p img {
		float: none;
	}
	
	.mob-footer li>a {
		font-size: 14px;
	}
}

@media only screen and (max-width: 600px) {
	.location-list-sub-hero .hero-search-form [class*="col-md-"] {
		padding-left: 0;
		padding-right: 0;
	}
}

@media only screen and (max-width: 500px) {
	.ba-location-list.location-faqs-trf .faqs .accordion .accordion-item .accordion-collapse>.row>.col-4 {
		width: 100%;
		max-width: 100%;
	}
	
	section.hero-location.hero-trf.blog-hero {
		background: linear-gradient(180deg, rgba(38, 103, 81, 1) 0%, rgba(38, 103, 81, 1) 62%, rgba(232, 231, 229, 1) 62%, rgba(232, 231, 229, 1) 100%);
	}
}

@media only screen and (max-width: 479px) {
	.page-template-blog section.block-blog-posts-trf .col-md-3, section.block-blog-posts-trf .col-md-3 {
		width: 100%;
	}
	
	.blog-category-bar-trf .col-md-12 {
		padding-left: 0;
		padding-right: 0;
	}
	
	.blog-category-bar-trf ul.blog-cat-list li {
		margin-bottom: 10px;
	}
	
	.blog-category-bar-trf ul.blog-cat-list li a.ba-link-a {
		padding: 0 5px 0 20px;
		font-size: 14px;
	}
	
	.blog-category-bar-trf ul.blog-cat-list li a.ba-link-a:before {
		background-size: 12px;
		width: 12px;
		height: 12px;
	}
}

footer.primary-bg a figure.wp-block-image {
	margin-bottom: 20px;
}

footer .col-6.col-md:nth-child(5n) {
	flex: 0 0 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
}

footer .col-6.col-md:nth-child(5n) .widget_block:first-child {
	flex: 0 0 25%;
}

footer .col-6.col-md:nth-child(5n) .widget_block:last-child {
	flex: 0 0 75%;
}

footer .col-6.col-md:nth-child(5n) .widget_block:first-child img {
	padding-top: 20px;
}

footer .col-6.col-md:nth-child(5n) .client-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	gap: 14px;
}

footer .col-6.col-md:nth-child(5n) .client-logos .logo a {
	display: block;
	cursor: pointer;
	text-decoration: none;
}

footer .col-6.col-md:nth-child(5n) .client-logos .logo a img {
	cursor: pointer;
}

footer .col-6.col-md:nth-child(5n) .client-logos .logo {
	flex: 0 0 80px;
}

.lg-footer .col-12.col-md-3:last-child {
	padding-top: 10px;
	justify-content: flex-end;
}

@media only screen and (max-width:767px) {
	footer.primary-bg .mob-footer .col-12:first-child+.col-6+.col-6 .widget:last-child img {
		float: none;
		padding-top: 10px;
		padding-bottom: 0px;
		margin-right: auto;
	}
	
	footer.primary-bg .mob-footer .col-12:last-child .client-logos {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 14px;
		padding-bottom: 20px;
	}
	
	footer .col-6.col-md:nth-child(5n) .client-logos .logo a {
		display: block;
		cursor: pointer;
		text-decoration: none;
	}
	
	footer.primary-bg .mob-footer .col-12:last-child .client-logos .logo {
		flex: 0 0 80px;
	}
	
	footer.primary-bg .mob-footer .col-12:first-child+.col-6+.col-6 {
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}
	
	footer.primary-bg .mob-footer .col-12:last-child {
		flex-wrap: wrap;
		padding-bottom: 10px;
		justify-content: center;
	}
	
	footer.primary-bg .mob-footer .col-12:last-child .widget_block {
		flex: 0 0 100%;
		text-align: center;
	}
	
	footer.primary-bg .mob-footer .col-12:last-child .widget_block img {
		margin: 0 auto;
		float: none;
		padding-bottom: 10px;
	}
	
	footer.primary-bg .mob-footer .col-12:last-child p {
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 590px) {
	footer.primary-bg .mob-footer .col-12:first-child+.col-6+.col-6 {
		flex-direction: row;
	}
}

/* Instant Quote Section Css Start */
section.instant-quote {
	background: #e8e7e5;
	position: relative;
	margin: 0;
	color: #262f2d;
	padding: 40px 0;
}

section.instant-quote:before {
	content: "";
	width: calc(100vw - 25vw);
	position: absolute;
	height: 100%;
	background: #e8e7e5;
	top: 0;
	left: 0;
	z-index: 1;
}

section.instant-quote:after {
	content: "";
	height: 100%;
	position: absolute;
	background: #266751;
	right: 0;
	top: 0;
	z-index: 0;
	width: calc(100vw - 65vw);
}

section.instant-quote .container {
	z-index: 1;
	position: relative;
}

section.instant-quote .ba-section-desc {
	max-width: 100%;
	text-align: left;
}

section.instant-quote .ba-section-desc .ba-h2 {
	color: #262f2d;
	position: relative;
	padding-bottom: 15px;
	max-width: 100%;
	font-size: 42px;
	line-height: 50px;
	margin-bottom: 15px !important;
}

section.instant-quote .ba-section-desc .ba-h2:after {
	content: "";
	width: 100px;
	height: 3px;
	background: #266751;
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 0;
	text-align: center;
	right: 0;
}

section.instant-quote .ba-text-lg h3 {
	font-size: 24px;
	line-height: 34px;
	color: #262f2d;
	font-weight: 600;
}

section.instant-quote .ba-text-lg h4 {
	font-size: 22px;
	line-height: 32px;
	color: #262f2d;
	font-weight: 600;
}

section.instant-quote .ba-text-lg h5 {
	font-size: 20px;
	line-height: 30px;
	color: #262f2d;
	font-weight: 600;
}

section.instant-quote .ba-text-lg h6 {
	font-size: 18px;
	line-height: 28px;
	color: #262f2d;
	font-weight: 600;
}

section.instant-quote .ba-text-lg p {
	font-size: 18px;
	line-height: 27px;
	margin-bottom: 10px;
	color: #262f2d;
}

section.instant-quote .ba-text-lg ol, section.instant-quote .ba-text-lg ul {
	padding-left: 15px;
}

section.instant-quote .ba-text-lg ol li, section.instant-quote .ba-text-lg ul li {
	font-size: 18px;
	line-height: 27px;
	margin-bottom: 10px;
	color: #262f2d;
}

section.instant-quote .instant-quotes {
	margin-top: 15px;
}

section.instant-quote .instant-quotes .instant-quotes-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
	align-items: center;
}

section.instant-quote .instant-quotes .instant-quotes-list:last-child {
	margin-bottom: 0;
}

section.instant-quote .instant-quotes .instant-quotes-list .instant-quote-icon {
	flex: 0 0 25px;
}

section.instant-quote .instant-quotes .instant-quotes-list .instant-quote-icon img {
	max-width: 25px;
	max-height: 25px;
}

section.instant-quote .instant-quotes .instant-quotes-list .instant-quote-text {
	flex: 0 0 calc(100% - 35px);
}

section.instant-quote .instant-quotes .instant-quotes-list .instant-quote-text p {
	font-size: 18px;
	line-height: 27px;
	color: #262f2d;
	margin-bottom: 0;
}

section.instant-quote .hero-location__instant_quote {
	margin-top: 30px;
}

section.instant-quote .hero-location__instant_quote a.btn-link {
	background: #e8e7e5;
	margin: 0;
	border-radius: 0;
	border: 0 solid #262f2d;
	width: auto;
	box-shadow: 0 0 0 3px #262f2d;
	color: #262f2d;
	transition: color .25s 83.3333333ms;
	font-size: 18px;
	font-weight: 700;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
	text-align: center;
	position: relative;
	display: inline-block;
}

section.instant-quote .hero-location__instant_quote a.btn-link span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	right: 0;
	bottom: -4px;
	background: #e8e7e5;
	left: 0;
	margin: 0 auto;
}

section.instant-quote .hero-location__instant_quote a.btn-link:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

section.instant-quote .hero-location__instant_quote a.btn-link:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
}

section.instant-quote .hero-location__instant_quote a.btn-link:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

section.instant-quote .hero-location__instant_quote a.btn-link:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

@media only screen and (max-width: 992.98px) {
	section.instant-quote .container {
		max-width: 100%;
	}
}

@media only screen and (max-width: 767.98px) {
	section.instant-quote {
		padding-bottom: 0;
		margin: 0;
		padding-top: 30px;
	}
	
	section.instant-quote .flex-row-reverse {
		flex-direction: column-reverse !important;
	}
	
	section.instant-quote .flex-row-reverse .col-md-5 {
		margin-top: 30px;
		padding-bottom: 30px;
		padding-top: 30px;
		position: relative;
	}
	
	section.instant-quote:before, section.instant-quote:after {
		display: none;
	}
	
	section.instant-quote .ba-section-desc .ba-h2 {
		color: #262f2d;
		position: relative;
		padding-bottom: 15px;
		max-width: 100%;
		font-size: 26px;
		line-height: 32px;
		margin-bottom: 15px !important;
	}
	
	section.instant-quote .ba-text-lg h3 {
		font-size: 18px;
		line-height: 24px;
	}
	
	section.instant-quote .ba-text-lg h4 {
		font-size: 18px;
		line-height: 24px;
	}
	
	section.instant-quote .ba-text-lg h5 {
		font-size: 18px;
		line-height: 24px;
	}
	
	section.instant-quote .flex-row-reverse .col-md-5:after {
		content: "";
		width: 40%;
		background: #266751;
		height: 100%;
		position: absolute;
		right: 0;
		z-index: -1;
		top: 0;
	}
}

/* Instant Quote Section Css End */

/*Mobile Hero Form Style Start*/
section.hero-location .hero-location__form span.close-form {
	display: none;
}

section.blog-hero .hero-location__form {
	display: none;
}

section.location-list-index-hero-block {
	width: 0 !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
}

@media only screen and (max-width:767.98px) {
	section.hero-location.hero-trf .col-12.col-lg-4 {
		background: rgba(38, 103, 81, 1);
	}
	
	section.hero-location.hero-trf .col-12.col-lg-8 {
		padding-top: 56.6%;
	}
	
	body.location-template-default section.hero-location.hero-trf .col-12.col-lg-8 {
		padding-top: 56.6% !important;
	}
	
	body.is-form-visible:before {
		content: "";
		background: rgba(0, 0, 0, .2);
		width: 100%;
		height: 100%;
		position: fixed;
		left: 0;
		top: 0;
		z-index: 10000;
	}
	
	section.hero-location .hero-location__form {
		top: 70px;
		right: -320px;
		z-index: 10000;
		opacity: 0;
		visibility: hidden;
		box-shadow: 0px 4px 44px 0px rgba(0, 0, 0, .1);
		transition: right .5s ease, opacity .5s ease;
		overflow: auto;
		width: 320px;
		position: fixed;
		margin-right: 0;
		margin-top: 0;
		max-height: calc(100vh - 50px);
	}
	
	section.hero-location .hero-location__form.is-visible {
		top: 50% !important;
		right: auto !important;
		transform: translate(-50%, -50%) !important;
		left: 50% !important;
	}
	
	section.hero-location .hero-location__form span.close-form {
		position: absolute;
		right: 10px;
		top: 5px;
		width: 27px;
		height: 27px;
		border-radius: 100%;
		text-align: center;
		cursor: pointer;
		display: block;
	}
	
	section.hero-location .hero-location__form span.close-form:before {
		content: "";
		font-family: "FontAwesome";
		color: #266751;
		font-size: 21px;
		line-height: 25px;
		font-weight: 400;
		border: 1px solid;
		width: 27px;
		height: 27px;
		display: block;
		border-radius: 100%;
	}
	
	.gform_wrapper.gravity-theme .gform_fields {
		grid-row-gap: 13px;
	}
	
	section.hero-location .hero-location__form .gform_wrapper.gravity-theme .field_sublabel_above .ginput_complex {
		gap: 6px;
	}
	
	.mob-footer-sticky .col-with-request-estimate-form {
		display: flex;
		align-items: center;
		gap: 0px;
		padding: 0;
		width: calc(100% + 30px);
		max-width: calc(100% + 30px);
		margin-left: -15px;
	}
	
	.col-with-request-estimate-form .btn-request-estimate-form {
		padding: 0px;
		line-height: 22px;
		background: #266751;
		border-radius: 0;
		position: relative;
		transition: all .2s linear 0s;
		font-size: 16px;
		font-weight: 700;
		color: #fff;
		height: 100%;
		align-content: center;
		width: 43%;
	}
	
	.col-with-request-estimate-form .btn-request-estimate-form:hover, .col-with-request-estimate-form .btn-request-estimate-form:focus {
		color: #fff;
		text-decoration: none;
	}
	
	.col-with-request-estimate-form a.mobile-sticky-tel {
		width: 40%;
		padding: 6px 0px !important;
		line-height: 22px;
		text-indent: 0;
		font-size: 16px;
	}
	
	.col-with-request-estimate-form a.mobile-sticky-tel::before {
		position: relative;
		left: 0;
		top: 5px;
		width: 20px;
		height: 20px;
		margin-right: 5px;
	}
}

/*Mobile Hero Form Style End*/

/* Location Page Fence Gallery Block Start*/
section.fence-block-image-gallery {
	padding: 30px 0;
}

section.fence-block-image-gallery .ba-section-desc h2 {
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 30px !important;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
}

section.fence-block-image-gallery .ba-section-desc h2:after {
	content: "";
	width: 100px;
	height: 2px;
	position: absolute;
	background: #266751;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: 0;
}

section.fence-block-image-gallery .fence-block-image-gallery-thumb .ba-gallery-wrap {
	max-height: 300px;
	overflow: hidden;
}

section.fence-block-image-gallery .fence-block-image-gallery-thumb .ba-gallery-wrap img {
	max-height: 300px;
	min-height: 300px;
	object-fit: cover;
	width: 100%;
}

section.fence-block-image-gallery a.ba-link-btn {
	background: #fff;
	margin: 0;
	border-radius: 0;
	border: 0 solid #262f2d;
	width: auto;
	box-shadow: 0 0 0 3px #262f2d;
	color: #262f2d;
	transition: color .25s 83.3333333ms;
	font-size: 18px;
	font-weight: 700;
	line-height: 120%;
	padding: 13px 26px;
	text-decoration: none;
	text-align: center;
	position: relative;
	display: inline-block;
}

section.fence-block-image-gallery a.ba-link-btn:before {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}

section.fence-block-image-gallery a.ba-link-btn:after {
	border: 0 solid transparent;
	box-sizing: border-box;
	content: "";
	pointer-events: none;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -4px;
	right: -4px;
	border-top-width: 4px;
	border-right-width: 4px;
}

section.fence-block-image-gallery a.ba-link-btn span:after {
	content: "";
	width: 60px;
	height: 9px;
	position: absolute;
	right: 0;
	bottom: -5px;
	background: #fff;
	left: 0;
	margin: 0 auto;
}

section.fence-block-image-gallery a.ba-link-btn:hover:before {
	border-color: #c4501f;
	transition: border-color 0s, width .25s, height .25s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: 0s, 0s, .25s;
}

section.fence-block-image-gallery a.ba-link-btn:hover:after {
	border-color: #c4501f;
	transition: border-color .35s, width .6s, height .6s;
	width: calc(100% + 7px);
	height: calc(100% + 7px);
	transition-delay: .35s, .85s, .35s;
}

@media only screen and (max-width: 1199.98px) {
	section.fence-block-image-gallery .fence-block-image-gallery-thumb .ba-gallery-wrap {
		max-height: 220px;
	}
	
	section.fence-block-image-gallery .fence-block-image-gallery-thumb .ba-gallery-wrap img {
		min-height: 220px;
		max-height: 220px;
	}
}

@media only screen and (max-width: 991px) {
	section.fence-block-image-gallery .container {
		max-width: 100%;
	}
}

@media only screen and (max-width: 767.98px) {
	section.fence-block-image-gallery .ba-section-desc h2 {
		font-size: 26px !important;
		line-height: 32px;
	}
	
	section.fence-block-image-gallery {
		padding: 15px 0;
	}
}

/* Location Page Fence Gallery Block End*/

/* Location Fence Gallery Details Page Start*/

/* Basic Custom Dropdown Styling */
#fencetypegalleryAccordion .custom-dropdown {
	position: relative;
	display: none;
	width: 100%;
}

#fencetypegalleryAccordion .custom-dropdown:before {
	content: "";
	font-family: FontAwesome;
	position: absolute;
	right: 7px;
	top: 50%;
	z-index: 1;
	font-size: 14px;
	transform: translate(0, -50%);
}

#fencetypegalleryAccordion .custom-dropdown.open:before {
	content: "";
}

#fencetypegalleryAccordion .custom-dropdown-selected {
	padding: 10px;
	border: 2px solid #06154c;
	background-color: #e8e8e8;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 5px;
	color: #c4501f;
}

#fencetypegalleryAccordion .open .custom-dropdown-selected {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

#fencetypegalleryAccordion .custom-dropdown-selected span {
	font-size: 14px;
}

#fencetypegalleryAccordion .custom-dropdown-options {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	max-height: 215px;
	overflow-y: auto;
	background-color: #ededed;
	border: 0;
	z-index: 999;
	border-top: 0;
	box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, .4);
	padding: 10px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

#fencetypegalleryAccordion .custom-dropdown-option {
	padding: 10px;
	cursor: pointer;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #cfd2d7;
	font-size: 14px;
	color: #262f2d;
}

#fencetypegalleryAccordion .custom-dropdown-option:hover {
	background-color: #f0f0f0;
}

/* Show options when the dropdown is clicked */
#fencetypegalleryAccordion .custom-dropdown.open .custom-dropdown-options {
	display: block;
}

div#fencetypegalleryAccordion .accordion-title-section .mob-heading {
	display: none;
}

.ba-fencetypegallery-list .fencetype-section-heading {
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 30px !important;
	font-size: 42px;
	line-height: 50px;
	color: #262f2d;
}

.ba-fencetypegallery-list .fencetype-section-heading:after {
	content: "";
	width: 100px;
	height: 2px;
	position: absolute;
	background: #266751;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: 0;
	display: block !important;
}

div#fencetypegalleryAccordion {
	display: flex;
	gap: 15px;
	align-items: flex-start;
	position: relative;
}

div#fencetypegalleryAccordion .accordion-project-filter {
	position: fixed;
	right: 10px;
	bottom: 20px;
	color: #fff;
	background: #262f2d;
	border-radius: 100%;
	width: 50px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-size: 26px;
	cursor: pointer;
	z-index: 99999;
}

div#fencetypegalleryAccordion .accordion-title-section {
	flex: 0 0 25%;
	position: -webkit-sticky;
	position: sticky;
	top: 140px;
	z-index: 999;
	background-color: #fff;
}

div#fencetypegalleryAccordion .accordion-detail-section {
	flex: 0 0 calc(75% - 15px);
}

div#fencetypegalleryAccordion .accordion-detail-section .accordion-collapse {
	overflow: hidden;
	transition: height .3s ease-out;
	height: 0;
}

div#fencetypegalleryAccordion .accordion-detail-section .accordion-collapse.show {
	height: auto;
}

div#fencetypegalleryAccordion .accordion-detail-section .accordion-item {
	display: none !important;
}

div#fencetypegalleryAccordion .accordion-detail-section .project-image {
	max-height: 250px;
	overflow: hidden;
	margin-bottom: 10px;
}

div#fencetypegalleryAccordion .accordion-detail-section .project-image img {
	height: 250px;
	object-fit: cover;
	width: 100%;
}

div#fencetypegalleryAccordion .accordion-detail-section .project-description h4 {
	color: #262f2d;
}

div#fencetypegalleryAccordion .accordion-detail-section .project-description h4 a {
	text-decoration: none;
	color: #262f2d;
	cursor: pointer;
	font-size: 1.3rem;
	line-height: 30px;
}

div#fencetypegalleryAccordion .accordion-detail-section .project-description p {
	color: #262f2d;
	font-size: 20px;
	line-height: 28px;
	font-weight: 400;
}

div#fencetypegalleryAccordion .accordion-detail-section .project-description p span {
	color: #266751;
}

div#fencetypegalleryAccordion .accordion-detail-section .ba-loc-grid {
	margin-bottom: 20px;
}

div#fencetypegalleryAccordion .accordion-detail-section .ba-loc-grid-header {
	margin-bottom: 0;
}

div#fencetypegalleryAccordion .accordion-detail-section .ba-loc-grid-header .project-description {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	border-bottom: 1px solid #266751;
	margin-bottom: 15px;
	padding-bottom: 10px;
}

div#fencetypegalleryAccordion .accordion-detail-section .ba-loc-grid-header .project-description p {
	margin-bottom: 0 !important;
}

div#fencetypegalleryAccordion .accordion-item {
	border: 0;
	background: transparent;
	border-bottom: 1px solid #cfd2d7;
}

div#fencetypegalleryAccordion .accordion-item button.accordion-button {
	font-size: 1rem;
	color: #c4501f;
	position: relative;
}

div#fencetypegalleryAccordion .accordion-item button.accordion-button:hover, div#fencetypegalleryAccordion .accordion-item button.accordion-button.collapsed:hover {
	color: #c4501f;
}

div#fencetypegalleryAccordion .accordion-item button.accordion-button.collapsed {
	color: #262f2d;
}

div#fencetypegalleryAccordion .accordion-item button.accordion-button:after {
	display: none;
}

div#fencetypegalleryAccordion .accordion-item button {
	padding-left: 40px;
	padding-right: 0;
}

#fencetypegalleryAccordion .custom-dropdown-selected {
	padding-left: 45px;
	padding-right: 21px;
	position: relative;
}

#fencetypegalleryAccordion .custom-dropdown-option {
	padding-left: 45px;
	padding-right: 5px;
	position: relative;
	padding-top: 15px;
	padding-bottom: 15px;
}

#fencetypegalleryAccordion .custom-dropdown-option.selected {
	background: #266751;
	color: #fff;
}

div#fencetypegalleryAccordion .accordion-item button:before {
	content: "";
	position: absolute;
	left: 0;
	width: 35px;
	height: 35px;
	top: 50%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 32px;
	transform: translate(0, -50%);
}

#fencetypegalleryAccordion .custom-dropdown-option:before {
	content: "";
	position: absolute;
	left: 5px;
	width: 35px;
	height: 35px;
	top: 50%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 32px;
	transform: translate(0, -50%);
}

#fencetypegalleryAccordion .custom-dropdown-selected:before {
	content: "";
	position: absolute;
	left: 5px;
	width: 35px;
	height: 35px;
	top: 50%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 32px;
	transform: translate(0, -50%);
}

div#fencetypegalleryAccordion .accordion-item button[data-bs-target="#project-ornamental-metal-fencing"]:before, #fencetypegalleryAccordion .custom-dropdown-selected[data-id="#project-ornamental-metal-fencing"]:before, #fencetypegalleryAccordion .custom-dropdown-option[data-value="#project-ornamental-metal-fencing"]:before {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/gallery-fence-icon/gallery-metal-fencing.png");
}

div#fencetypegalleryAccordion .accordion-item button[data-bs-target="#project-vinyl-fencing"]:before, #fencetypegalleryAccordion .custom-dropdown-selected[data-id="#project-vinyl-fencing"]:before, #fencetypegalleryAccordion .custom-dropdown-option[data-value="#project-vinyl-fencing"]:before {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/gallery-fence-icon/gallery-vinyl-fencing.png");
}

div#fencetypegalleryAccordion .accordion-item button[data-bs-target="#project-wood-fencing"]:before, #fencetypegalleryAccordion .custom-dropdown-selected[data-id="#project-project-wood-fencing"]:before, #fencetypegalleryAccordion .custom-dropdown-option[data-value="#project-wood-fencing"]:before {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/gallery-fence-icon/gallery-wood-fencing.png");
}

div#fencetypegalleryAccordion .accordion-item button[data-bs-target="#project-chain-link-fencing"]:before, #fencetypegalleryAccordion .custom-dropdown-selected[data-id="#project-chain-link-fencing"]:before, #fencetypegalleryAccordion .custom-dropdown-option[data-value="#project-chain-link-fencing"]:before {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/gallery-fence-icon/gallery-chain-link-fencing.png");
}

div#fencetypegalleryAccordion .accordion-item button[data-bs-target="#project-gates-and-entry-fencing"]:before, #fencetypegalleryAccordion .custom-dropdown-selected[data-id="#project-gates-and-entry-fencing"]:before, #fencetypegalleryAccordion .custom-dropdown-option[data-value="#project-gates-and-entry-fencing"]:before {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/gallery-fence-icon/gallery-gates-entry-fencing.png");
}

div#fencetypegalleryAccordion .accordion-item button[data-bs-target="#project-railings"]:before, #fencetypegalleryAccordion .custom-dropdown-selected[data-id="#project-railings"]:before, #fencetypegalleryAccordion .custom-dropdown-option[data-value="#project-railings"]:before {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/gallery-fence-icon/gallery-railing-fencing.png");
}

div#fencetypegalleryAccordion .accordion-item button[data-bs-target="#project-all"]:before, #fencetypegalleryAccordion .custom-dropdown-selected[data-id="#project-all"]:before, #fencetypegalleryAccordion .custom-dropdown-option[data-value="#project-all"]:before {
	background-image: url("https://toprailfences.com/nitropack_static/PTvWuGOezRLRIwKgXKdJaMBtaKxTovge/assets/images/optimized/rev-d54906e/toprailfences.com/wp-content/themes/understrap-child/img/gallery-fence-icon/gallery-all-products.png");
}

#fencetypegalleryAccordion .accordion-detail-section .accordion-collapse {
	transition: height 1s ease;
}

@media only screen and (max-width:1400px) {
	div#fencetypegalleryAccordion .accordion-detail-section .project-image {
		max-height: 205px;
	}
	
	div#fencetypegalleryAccordion .accordion-detail-section .project-image img {
		height: 205px;
	}
}

@media only screen and (max-width:1199px) {
	div#fencetypegalleryAccordion .accordion-detail-section .project-description h4 a {
		font-size: 1.25rem !important;
		line-height: 30px !important;
	}
	
	div#fencetypegalleryAccordion .accordion-detail-section .project-image {
		max-height: 150px;
	}
	
	div#fencetypegalleryAccordion .accordion-detail-section .project-image img {
		height: 150px;
	}
}

@media only screen and (max-width: 992px) {
	.ba-fencetypegallery-list .fencetype-section-heading {
		display: none;
	}
	
	div#fencetypegalleryAccordion .accordion-title-section {
		flex: 0 0 100%;
		top: 99px;
		padding-bottom: 10px;
	}
	
	div#fencetypegalleryAccordion .accordion-title-section .accordion-item {
		display: none;
	}
	
	div#fencetypegalleryAccordion .accordion-title-section .mob-heading {
		display: block;
	}
	
	div#fencetypegalleryAccordion .accordion-title-section .custom-dropdown {
		display: block;
	}
	
	div#fencetypegalleryAccordion .accordion-detail-section {
		flex: 0 0 100%;
	}
	
	div#fencetypegalleryAccordion .accordion-detail-section .project-image {
		max-height: 220px;
	}
	
	div#fencetypegalleryAccordion .accordion-detail-section .project-image img {
		height: 220px;
	}
	
	.ba-fencetypegallery-list .container {
		max-width: 100%;
	}
}

@media only screen and (max-width: 767.98px) {
	div#fencetypegalleryAccordion .accordion-detail-section .project-image {
		max-height: 190px;
	}
	
	div#fencetypegalleryAccordion .accordion-detail-section .project-image img {
		height: 190px;
	}
	
	div#fencetypegalleryAccordion .accordion-title-section {
		top: 64px;
	}
	
	div#fencetypegalleryAccordion .accordion-title-section .mob-heading {
		margin-bottom: 10px;
		font-size: 26px;
		line-height: 32px;
	}
}

@media only screen and (max-width: 479px) {
	div#fencetypegalleryAccordion .accordion-detail-section .ba-loc-grid {
		width: 100%;
	}
}

div#fencework-details-Modal {
	display: none;
	position: fixed;
	z-index: 1;
	z-index: 10000;
	padding-top: 50px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: black;
	padding-bottom: 50px;
}

div#fencework-details-Modal span.close {
	color: white;
	position: absolute;
	top: 10px;
	right: 25px;
	font-size: 35px;
	font-weight: bold;
	cursor: pointer;
}

div#fencework-details-Modal .modal-content {
	position: relative;
	background-color: transparent !important;
	margin: auto;
	padding: 0;
	width: 90%;
	max-width: 1200px;
	top: 48%;
	transform: translate(0, -50%);
}

div#fencework-details-Modal .modal-content .fencework-details-Modal-list {
	text-align: center;
}

div#fencework-details-Modal .modal-content .fencework-details-Modal-list img {
	max-height: calc(100vh - 150px);
	width: auto;
}

div#fencework-details-Modal .modal-content button#prevImage, div#fencework-details-Modal .modal-content button#nextImage {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	width: 20px;
	padding: 16px;
	color: white;
	font-weight: bold;
	font-size: 20px;
	transition: .6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
	-webkit-user-select: none;
	text-decoration: none;
	background: rgba(0, 0, 0, .3);
	border: 0;
	box-shadow: none;
	text-indent: -99999px;
	height: 20px;
	overflow: hidden;
	transform: translate(0, -50%);
}

div#fencework-details-Modal .modal-content button#nextImage {
	right: 0;
	border-radius: 3px 0 0 3px;
}

div#fencework-details-Modal .modal-content button#prevImage:before, div#fencework-details-Modal .modal-content button#nextImage:before {
	content: "";
	font-family: "FontAwesome";
	text-indent: 0 !important;
	font-size: 16px;
	color: #fff;
	width: 20px;
	display: block;
	height: 20px;
	overflow: hidden;
	font-weight: 400;
	position: relative;
	left: -10px;
	top: -10px;
}

div#fencework-details-Modal .modal-content button#prevImage:before {
	content: "";
}

section.hero-location.hero-trf.hero-location-full-width {
	background-color: transparent !important;
}

section.hero-location.hero-trf.hero-location-full-width .col-12 {
	display: flex;
	flex-wrap: wrap;
	min-height: 400px;
	align-content: center;
}

body:not(.home) section.hero-location.hero-trf.hero-location-full-width .breadcrumbs {
	position: relative !important;
	padding: 0 !important;
	flex: 0 0 100%;
}

section.hero-location.hero-trf.hero-location-full-width .hero-location__information {
	flex: 0 0 100%;
}

body:not(.home) section.hero-location.hero-trf.hero-location-full-width h1 {
	margin-top: 0;
}

@media only screen and (max-width: 991.98px) {
	section.hero-location.hero-trf.hero-location-full-width .hero-location__information {
		position: relative;
		left: 0;
	}
	
	section.hero-location.hero-trf.hero-location-full-width .hero-location__information {
		flex: 0 0 100%;
		position: relative;
		left: 0;
	}
	
	section.hero-location.hero-trf.hero-location-full-width .col-12 {
		padding-left: calc(var(--bs-gutter-x) * .5);
		min-height: inherit;
	}
	
	section.hero-location.hero-trf.hero-location-full-width .hero-location__information {
		max-width: 100%;
	}
	
	section.hero-location.hero-trf.hero-location-full-width .col-12.col-lg-8 {
		min-height: 300px;
	}
}

@media only screen and (max-width:767.98px) {
	body.location-template-default section.hero-location.hero-trf.hero-location-full-width .col-12.col-lg-8 {
		padding-top: 0 !important;
	}
}

/* Location Fence Gallery Details Page End*/

/* -- Media Query End -- */
.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .5);
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

/* Popup container */
.popup-content {
	background: #e6c677;
	padding: 20px;
	border: 5px solid #fff;
	border-radius: 5px;
	text-align: center;
	max-width: 460px;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, .2);
	position: relative;
}

/* Close button */
#close-popup {
	position: absolute;
	top: 5px;
	right: 5px;
	background: none;
	background: #333;
	border: none;
	font-size: 12px;
	cursor: pointer;
	color: #333;
	color: #fff;
	border-radius: 1em;
	width: 25px;
	height: 25px;
}

/* Title */
.popup-content h2 {
	color: #333;
	font-size: 38px;
	font-weight: bold;
	margin-bottom: 10px;
}

/* Description */
.popup-content p {
	color: #333;
	font-size: 18px;
	margin-bottom: 20px;
	line-height: 26px;
	padding-left: 20px;
	padding-right: 20px;
}

/* CTA Button */
.popup-cta {
	display: inline-block;
	background: #333;
	color: #fff;
	padding: 10px 20px;
	text-decoration: none;
	font-weight: bold;
	border-radius: 3px;
	transition: background .3s ease;
}

.popup-cta:hover, #close-popup:hover {
	background: #000;
	color: #f8f8f8;
}

/*Pre Header Banner*/
.pre-header-banner {
	background-color: #c3a658;
	text-align: center;
	padding: 12px 0;
	font-size: 18px;
	font-weight: bold;
	width: 100%;
	border-bottom: 1px solid #333;
	display: none;
	position: fixed;
	z-index: 1000 !important;
	top: 124px !important;
	left: 0px !important;
}

.pre-header-banner .container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;
	max-width: 1200px;
	margin: 0 auto;
}

.pre-header-banner h2 {
	color: #1e2a2f;
	font-size: 36px;
	font-weight: bold;
	margin: 0;
}

.banner-cta {
	background-color: #2a2e29;
	color: #fff;
	padding: 8px 15px;
	border-radius: 3px;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 14px;
	border: 2px solid #2a2e29;
}

.banner-cta:hover {
	background-color: #000;
	color: #f8f8f8;
}

.pre-header-banner.show {
	display: block !important;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
	.pre-header-banner h2 {
		font-size: 28px;
	}
	
	.pre-header-banner .container {
		flex-direction: column;
		gap: 15px;
	}
	
	.banner-cta {
		width: fit-content;
		margin: 0 auto;
		font-size: 12px;
	}
}

@media screen and (max-width: 768px) {
	.pre-header-banner h2 {
		font-size: 24px;
	}
	
	.pre-header-banner .container {
		gap: 10px;
	}
	
	.banner-cta {
		font-size: 12px;
		padding: 6px 12px;
	}
}

@media (max-width:767px) {
	.pre-header-banner {
		top: 65px !important;
	}
}

/* Hide pseudo-elements before video column for specific layouts */
section.block-text-image-trf 
  .block-text-image-trf-container 
  .flex-row-reverse .col-md-6.video-col:first-child::before, section.block-text-image-trf 
  .block-text-image-trf-container 
  .flex-row-image .col-md-6.video-col:first-child::before {
	display: none;
}

/* Ensure correct height for video column in flex-row-image layout */
section.block-text-image-trf 
  .block-text-image-trf-container 
  .flex-row-image .col-md-6.video-col:first-child {
	height: auto !important;
}

/* Responsive video embed styling */
.embed-responsive, .embed-responsive iframe {
	width: 100%;
	height: 100%;
}

section.block-col-and-video {
	padding-top: 0;
}

section.block-col-and-video .block-with-bg {
	max-width: 100%;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	flex-flow: column;
	padding-right: 0;
}

section.block-col-and-video .block-with-bg .ba-left-bg-full {
	display: none;
}

section.block-col-and-video .block-with-bg h5 {
	margin: 0;
	flex: 0 0 100%;
	background: #266751;
}

section.block-col-and-video .block-with-bg h5 {
	display: none;
}

section.block-col-and-video .block-with-bg h2 {
	padding-top: 40px;
	padding-bottom: 20px;
	position: relative;
	padding-left: 55px;
	padding-right: 55px;
	font-size: 42px;
	line-height: 50px;
}

section.block-col-and-video .block-with-bg h2 {
	margin: 0;
	flex: 0 0 100%;
	background: #266751;
}

section.block-col-and-video .block-with-bg .video-wrapper.ba-d-hide {
	display: block !important;
	max-width: 80%;
	margin: 0 auto;
	order: 4;
	min-width: 80%;
	position: relative;
	top: -30px;
}

@media screen and (min-width: 768px) {
	.video-wrapper {
		min-height: 500px;
	}
}

section.block-col-and-video .ba-m-hide {
	display: none;
}

section.block-col-and-video .block-with-bg .video-wrapper.ba-d-hide:before {
	content: "";
	width: calc(100% + 40px);
	height: 100%;
	background: #e8e7e5;
	position: absolute;
	z-index: -1;
	bottom: -15px;
	left: -20px;
}

section.block-col-and-video .block-with-bg p {
	margin: 0;
	flex: 0 0 100%;
	background: #266751;
}

section.block-col-and-video .block-with-bg p {
	padding-bottom: 60px;
	padding-left: 55px;
	padding-right: 55px;
	line-height: 28px;
	margin-top: -1px;
}

@media only screen and (max-width: 767.98px) {
	section.block-col-and-video .block-with-bg h2 {
		font-size: 26px;
		line-height: 32px;
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.ba-gap-lg {
		padding: 30px 0;
	}
	
	section.block-col-and-video .block-with-bg p {
		padding-left: 15px;
		padding-right: 15px;
	}
}
