/*
Theme Name: Kern County Chimney Sweeping
Theme URI: http://adeptplus.com/
Template: kadence
Author: AdeptPlus
Author URI: http://adeptplus.com/
Description: Kern County Chimney Sweeping child theme for the Kadence Theme.
Version: 1.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kerncountychimney2026
*/

/* Theme customization starts here
-------------------------------------------------------------- */
/*::-moz-selection {
  color: var(--global-palette9);
  background: var(--global-palette1);
}
::selection {
  color: var(--global-palette9);
  background: var(--global-palette1);
}*/

/* body - global variables
-------------------------------------------------------------- */
body {
	--global-kb-spacing-xxl: 3.5rem;
	--global-kb-spacing-xl: 2.5rem;
	--global-kb-spacing-md: 30px;
	--global-kb-spacing-sm: 20px;
	-webkit-font-smoothing: antialiased;
}
@media screen and (min-width: 768px) {
	body {
		--global-kb-spacing-xxl: 4rem;
		--global-kb-spacing-xl: 3rem;
	}
}
@media screen and (min-width: 1025px) {
	body {
		--global-kb-spacing-xxl: 80px;
		--global-kb-spacing-xl: 60px;
		--global-kb-spacing-lg: 50px;
	}
}

.entry-content {
    word-break: unset;
}

/* paragraph
-------------------------------------------------------------- */
.single-content p {
	margin-bottom: var(--global-kb-spacing-sm);
}
.single-content p:last-child {
	margin-bottom: 0;
}


/* headings
-------------------------------------------------------------- */
h5 {
	letter-spacing: 0.75px;
}
.single-content h1, 
.single-content h2, 
.single-content h3, 
.single-content h4, 
.single-content h5, 
.single-content h6 {
	margin-bottom: var(--global-kb-spacing-sm);
}
.single-content h1:last-child, 
.single-content h2:last-child, 
.single-content h3:last-child, 
.single-content h4:last-child, 
.single-content h5:last-child, 
.single-content h6:last-child {
	margin-bottom: 0;
}
@media screen and (min-width: 768px) {
	h5 {
		letter-spacing: 1.5px;
	}
}
@media screen and (min-width: 1025px) {
	h5 {
		letter-spacing: 2.6px;
	}
}

/* blockquote
-------------------------------------------------------------- */
.entry-content blockquote:last-child {
	margin-bottom: 0;
}

/* Buttons
--------------------------------------- */
.wp-block-kadence-advancedbtn .button.kb-btn-global-outline {
	background-color: rgba(255, 255, 255, 0.08);
}
.wp-block-kadence-advancedbtn .button.kb-btn-global-outline:hover,
.wp-block-kadence-advancedbtn .button.kb-btn-global-outline:focus {
	background-color: var(--global-palette-btn-bg-hover);
}

/* Forms
--------------------------------------------------------------- */
::-webkit-input-placeholder {
	color: #7A6B5D;
	opacity: 0.5;
}
::-moz-placeholder {
	color: #7A6B5D;
	opacity: 0.5;
}
:-ms-input-placeholder {
	color: #7A6B5D;
	opacity: 0.5;
}
::-ms-input-placeholder {
	color: #7A6B5D;
	opacity: 0.5;
}
::placeholder {
	color: #7A6B5D;
	opacity: 0.5;
}
.gform_wrapper form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper.gravity-theme form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper.gravity-theme form .gfield textarea,
.gform_wrapper.gravity-theme form .gfield select {
	color: var(--global-palette4);
	font-size: 16px;
	line-height: 1.625;
	font-family: var(--global-body-font-family);
	font-weight: 400;
	padding: 5px 10px;
	width: 100%;
	background-color: var(--global-palette9);
	border: 1px solid rgba(120, 113, 108, 0.33);
	border-radius: 0;
	box-shadow: none;
}
.gform_wrapper.gravity-theme form input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
	min-height: unset;
}
input:focus,
textarea:focus {
	outline: none;
}
input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}
.gform_wrapper.gravity-theme {
	color: var(--global-palette4);
	background: var(--global-palette9);
	box-shadow: none;
	padding: var(--global-kb-spacing-sm);
	position: relative;
}
.gform_wrapper.gravity-theme form .gfield textarea {
	display: block;
}
.gform_wrapper.gravity-theme form .gform_footer {
	padding: 0;
	margin-top: 24px;
}
.gform_wrapper.gravity-theme form select {
	font-size: 16px;
	height: 38px;
	padding: 0 10px;
}
.gform_wrapper p.gform_required_legend {
	display: none;
}
.gform_wrapper.gravity-theme form .gfield_required {
	color: var(--global-palette4);
}
.gform_wrapper form .gform_body .gform_fields {
	grid-row-gap: 25px;
	grid-column-gap: 25px;
}
.gform_wrapper form .gform_body .gfield_label {
    color: var(--global-palette4);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--global-body-font-family);
    line-height: 1.5;
    text-transform: none;
    margin-bottom: 6px;
    display: block;
}
.gform_wrapper.gravity-theme form .gform_footer input[type="submit"] {
	line-height: 1 !important;
}
@media screen and (min-width: 1200px) {
	input, select, textarea,
	.gform_wrapper form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
	.gform_wrapper.gravity-theme form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
	.gform_wrapper.gravity-theme form .gfield textarea {
		padding: 11px 16px;
	}
	.gform_wrapper.gravity-theme form select {
		padding: 0 16px;
		height: 50px;
	}
}
@media screen and (max-width: 767px) and (orientation: portrait) {
	.gform_wrapper form .gform_body .gform_fields {
		display: block;
	}
	.gform_wrapper.gravity-theme .gfield:not(:last-child) {
		margin-bottom: 22px;
	}
}
/* end of Forms */

/* Password Protected
 * ----------------------------------------------------------------------- */
.single-content > .post-password-form {
    padding: var(--global-kb-spacing-md) var(--global-kb-spacing-md) var(--global-kb-spacing-xl);
    background: #FAF6F0;
    box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.15);
	border: 1px solid rgba(95, 100, 107, 0.15);
	max-width: 800px;
	border-radius: 0;
}
.single-content > .post-password-form input[type="submit"] {
	margin-top: 10px;
	width: auto;
}
.single-content > .post-password-form input[type=password] {
	width: 100%;
}

/* Hero
------------------------------------------------------------- */
.entry-hero.page-hero-section .entry-header, 
.entry-hero-container-inner .entry-header {
	padding-top: var(--global-kb-spacing-xl);
	padding-bottom: var(--global-kb-spacing-xl);
}

/* 404 template
-------------------------------------------------------------- */
.error404 .content-area {
	padding-left: var(--global-kb-spacing-sm);
	padding-right: var(--global-kb-spacing-sm);
}
.error404 .error > .entry {
	box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.15);
	border: 1px solid rgba(95, 100, 107, 0.15);
}
.error404 .page-content.entry {
	border-radius: 0;
}
.error404 .error .page-header {
	margin-bottom: var(--global-kb-spacing-sm);
}
.error404 .error .search-form .kadence-search-icon-wrap {
	color: var(--global-palette3);
}
@media screen and (min-width: 1025px) {
	.error404 .content-area {
		padding-top: var(--global-kb-spacing-md);
		padding-bottom: var(--global-kb-spacing-xxl);
	}
}

/* search template
-------------------------------------------------------------------------- */
body.search .pagination {
	text-align: center;
}
body.search article.loop-entry {
    box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.15);
	border: 1px solid rgba(95, 100, 107, 0.15);
    border-radius: 0;
    overflow: hidden;
}
body.search article.loop-entry .post-thumbnail {
	padding-bottom: 100%;
}
.more-link-wrap > a {
	color: var(--global-palette-btn);
	background: var(--global-palette-btn-bg);
	font-weight: 400;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;

	border: 0;
	border-radius: 0;
	padding: 12px 16px;
	display: inline-flex;
	align-items: center;
}
.more-link-wrap > a:hover,
.more-link-wrap > a:focus {
	color: var(--global-palette-btn-hover);
	background: var(--global-palette-btn-bg-hover);
}
.more-link-wrap > a .kadence-svg-iconset.svg-baseline svg {
	top: 0;
}
@media screen and (min-width: 768px) {
	body.search article.loop-entry .post-thumbnail {
		height: 100%;
	}
}

/* same height column with image
----------------------------------------------------- */
@media screen and (min-width: 768px) {
	.wp-block-kadence-column.sh-img-col .wp-block-kadence-image,
	.wp-block-kadence-column.sh-img-col .wp-block-image,
	.wp-block-kadence-column.sh-img-col .wp-block-kadence-image .kb-image-has-overlay,
	.wp-block-kadence-column.sh-img-col .wp-block-image .kb-image-has-overlay,
	.wp-block-kadence-column.sh-img-col .wp-block-kadence-image .kb-is-ratio-image,
	.wp-block-kadence-column.sh-img-col .wp-block-kadence-image img,
	.wp-block-kadence-column.sh-img-col .wp-block-image img {
		height: 100%;
	}
	.wp-block-kadence-column.sh-img-col .wp-block-kadence-image img,
	.wp-block-kadence-column.sh-img-col .wp-block-image img {
		object-fit: cover;
		width: 100%;
	}
}

/* Header 
-------------------------------------------------------------------- */
#masthead {
	box-shadow: 0px 4px 16px rgba(44, 38, 32, 0.1);
}

/* topbar */
.secondary-navigation .secondary-menu-container > ul li.menu-item:first-child > a {
	padding-left: 0;
}
.secondary-navigation .secondary-menu-container > ul li.menu-item:last-child > a {
	padding-right: 0;
}
#mobile-site-navigation .kadence-menu-icon-side-left .menu-label-icon-wrap {
	margin-right: 8px;
}
@media screen and (max-width: 767px) {
	.site-top-header-wrap .site-header-row-container-inner > .site-container > .site-header-row,
	.site-top-header-wrap .site-header-section,
	.site-top-header-wrap .site-header-item {
		display: block;
	}
	.site-top-header-wrap .mobile-html {
		text-align: center;
	}
	#mobile-header .mobile-navigation {
		margin-top: 5px;
	}
	#mobile-header .mobile-navigation > .mobile-menu-container.drawer-menu-container > ul.menu {
		justify-content: center;
	}
}

/* menu */
.menu .kadence-svg-iconset.svg-baseline svg {
	top: 0;
}
#primary-menu .kadence-menu-icon-side-left > a,
#mobile-site-navigation .kadence-menu-icon-side-left > a {
	display: flex;
}
#primary-menu .kadence-menu-icon-side-left .menu-label-icon-wrap {
	margin-right: 15px;
}
#mobile-toggle {
	border-radius: 0;
}
.mobile-navigation:not(.drawer-navigation-parent-toggle-true) ul li.menu-item-has-children .drawer-nav-drop-wrap button {
	border-left: 0;
}

/* Footer
-------------------------------------------------------- */
#colophon .site-middle-footer-inner-wrap .widget-area .widget-title,
.footer-title {
	letter-spacing: 0.75px;
	margin-bottom: var(--global-kb-spacing-xs, 1rem);
}
#colophon .menu-item {
	line-height: 1.6;
	margin-bottom: 0;
}
#colophon .menu .current-menu-item a {
	color: var(--global-palette2);
}
#colophon .widget_nav_menu a {
	padding: 0;
}
#colophon .kadence-menu-icon-side-left > a {
	display: flex;
}
#colophon .kadence-menu-icon-side-left .menu-label-icon-wrap {
	margin-right: 8px;
}
@media screen and (min-width: 768px) {
	#colophon .site-middle-footer-inner-wrap .widget-area .widget-title,
	.footer-title {
		letter-spacing: 1.5px;
	}
}
@media screen and (min-width: 1025px) {
	#colophon .site-middle-footer-wrap .site-footer-row {
		grid-template-columns: repeat(4, auto);
        justify-content: space-between;
	}
	#colophon .menu-item:not(:last-child) {
		margin-bottom: 8px;
	}
}
@media screen and (min-width: 1280px) {
	.site-middle-footer-wrap .site-footer-row-container-inner > .site-container {
		padding-left: 0;
		padding-right: 0;
	}
	#colophon .site-middle-footer-inner-wrap .widget-area .widget-title,
	.footer-title {
		letter-spacing: 2.4px;
	}
}
@media screen and (max-width: 1024px) {
	#colophon {
		text-align: center;
	}
	#colophon .kadence-menu-icon-side-left > a {
		justify-content: center;
	}
}


/* Copyright */
.site-bottom-footer-wrap .site-footer-row-container-inner {
	max-width: var(--global-content-width);
	margin: 0 auto;
}
#colophon .footer-navigation .footer-menu-container > ul > li:first-child > a {
	padding-left: 0;
}
#colophon .footer-navigation .footer-menu-container > ul > li:last-child > a {
	padding-right: 0;
}
@media screen and (min-width: 1280px) {
	.site-bottom-footer-wrap .site-footer-row-container-inner > .site-container {
		padding-left: 0;
		padding-right: 0;
	}
}
/* @media screen and (max-width: 1024px) {
	.site-bottom-footer-wrap .site-footer-row-container-inner {
		padding-right: 55px;
	}
} */

/* Hero section
-------------------------------------------------------- */
.hero-section .kadence-breadcrumbs {
	color: rgba(250, 246, 240, 0.7);
	font-size: 13px;
	margin: 0;
}
.hero-section .kadence-breadcrumbs a {
	text-decoration: none;
}
.hero-section .kadence-breadcrumbs span.bc-delimiter {
	color: rgba(250, 246, 240, 0.4);
	margin-left: 4px;
	margin-right: 4px;
}

/* hero differentiators wrap
--------------------------------------------------------- */
.hero-differentiators-wrap.wp-block-kadence-column > .kt-inside-inner-col {
	display: grid;
}
@media screen and (min-width: 1024px) {
	.hero-differentiators-wrap.wp-block-kadence-column > .kt-inside-inner-col {
		grid-template-columns: repeat(4, auto);
	}
}
@media screen and (max-width: 1023px) {
	.hero-differentiators-wrap.wp-block-kadence-column > .kt-inside-inner-col {
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 20px;
	}
}

/* Homepage Services section
-------------------------------------------------------- */
.kccs-service-cell {
	font-size: 13px;
}
@media screen and (min-width: 768px) {
	.kccs-service-cell {
		font-size: 14px;
	}
}
@media screen and (min-width: 1025px) {
	.kccs-service-cell {
		font-size: 15px;
	}
}

/* Why Choose Us section
-------------------------------------------------------- */
.whyus-section .whyus-content-wrap,
.whyus-section .whyus-content {
	position: relative;
}
.whyus-section .whyus-content-wrap .bg-overlap {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: -100%;
}
.whyus-section .whyus-content-wrap .bg-overlap > .kt-inside-inner-col {
	height: 100%;
}
@media screen and (max-width: 767px) {
	.whyus-section .whyus-content-wrap .bg-overlap {
		right: -20px;
		left: -20px;
	}
}

/* Testimonials section
-------------------------------------------------------- */
.kt-testimonial-grid-wrap .kt-testimonial-grid-item .kt-testimonial-item-wrap {
	height: 100%;
}
.kt-testimonial-grid-item .kt-testimonial-meta-wrap {
	border-top: 1px solid rgba(232, 224, 216, 0.15);
	margin-top: var(--global-kb-spacing-sm);
	padding-top: var(--global-kb-spacing-sm);
}

/* FAQs section
-------------------------------------------------------- */
.kccs-faqs-section .faqs-content-wrap,
.kccs-faqs-section .faqs-content {
	position: relative;
}
.kccs-faqs-section .faqs-content-wrap .bg-overlap {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: -100%;
}
.kccs-faqs-section .faqs-content-wrap .bg-overlap > .kt-inside-inner-col {
	height: 100%;
}
.kccs-faq {
	font-size: 13px;
}
@media screen and (min-width: 768px) {
	.kccs-faq {
		font-size: 14px;
	}
	.kccs-faqs-section .faq-image img {
		min-height: 465px;
	}
}
@media screen and (min-width: 1025px) {
	.kccs-faq {
		font-size: 15px;
	}
}
@media screen and (max-width: 767px) {
	.kccs-faqs-section .faqs-content-wrap .bg-overlap {
		right: -20px;
		left: -20px;
	}
}

/* Service Area section
-------------------------------------------------------- */
.service-area-section .service-area-content-wrap,
.service-area-section .service-area-content {
	position: relative;
}
.service-area-section .service-area-content-wrap .bg-overlap {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: -100%;
}
.service-area-section .service-area-content-wrap .bg-overlap > .kt-inside-inner-col {
	height: 100%;
}
@media screen and (max-width: 1024px) {
	.service-area-section .service-area-content-wrap .bg-overlap {
		right: -20px;
		left: -20px;
	}
}

/* Resources page / Single resource template
----------------------------------------------- */
.single-resource .hero-container {
	max-width: var(--global-content-width) !important;
}
body.single-resource .content-bg {
	color: var(--global-palette4);
	border-radius: 0px;
	border: 1px solid rgba(207, 197, 179, 0.4);
	box-shadow: 0px 3px 12px 0px rgba(44, 38, 32, 0.15);
}
body.single-resource.content-style-unboxed .kadence-thumbnail-position-behind:after {
/*	background: linear-gradient(0deg, var(--global-palette8) 5%, rgba(253, 248, 240, 0.5) 50%, rgba(253, 248, 240, 0) 60%);*/
}
@media screen and (min-width: 781px) {
	body.single-resource .wp-site-blocks .post-thumbnail.kadence-thumbnail-ratio-1-2 {
		padding-bottom: 35% !important;
	}
}

/* Resources grid section
----------------------------------------------------------- */
.kccs-resources-grid.kt-blocks-post-loop-block .kt-post-grid-layout-grid-wrap > .kt-blocks-post-grid-item {
	position: relative;
}
.kccs-resources-grid .kt-blocks-post-grid-item header {
	position: static;
}
.kccs-resources-grid .kt-blocks-post-grid-item .kt-blocks-above-categories {
	position: absolute;
	top: var(--global-kb-spacing-sm);
	left: var(--global-kb-spacing-sm);
}
.kccs-resources-grid .kt-blocks-post-grid-item .kt-blocks-above-categories a {
	text-decoration: none;
	pointer-events: none;
	background: rgba(44, 38, 32, 0.75);
	border-radius: 4px;
	padding: 4px 10px;
	display: inline-block;
}
.kccs-resources-grid .entry-content .kt-blocks-post-readmore-wrap::before {
	content: '';
	display: block;
	height: 1px;
	background: rgba(207, 197, 179, 0.4);
	margin-top: var(--global-kb-spacing-sm);
	margin-bottom: var(--global-kb-spacing-sm);;
}
.kccs-resources-grid .kt-blocks-post-grid-item .kt-blocks-post-readmore {
	display: flex;
	align-items: center;
}
.kccs-resources-grid .kt-blocks-post-readmore::after {
	content: '';
	display: block;
	width: 14px;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23c61d16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center center / contain;
	margin-left: 5px;
}
@media screen and (max-width: 767px) {
	.kccs-resources-grid {
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Bottom CTA section
---------------------------------------------------- */
.kccs-form-wrapper .gform_wrapper.gravity-theme {
	padding: 0;
	background: transparent;
}

/* Service cell
----------------------------------------------------- */
.kccs-service-level-cell .title-wrap {
	font-size: 13px;
	position: relative;
}
.kccs-service-level-cell .title-wrap > div {
	height: 100%;
}
.kccs-service-level-cell .title-wrap .feat-text {
	position: absolute;
	top: 16px;
	right: 16px;
}
.kccs-service-level-cell .wp-block-kadence-iconlist ul.kt-svg-icon-list {
	margin-bottom: 0;
}
.kccs-service-level-cell .wp-block-kadence-iconlist ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap .kt-svg-icon-list-single {
	background-color: rgba(198, 29, 22, 0.1);
	width: 18px;
	height: 18px;
	border-radius: 50px;

	display: flex;
	justify-content: center;
	align-items: center;
}
.kccs-service-level-cell .level-divider {
	padding-left: var(--global-kb-spacing-sm);
	padding-right: var(--global-kb-spacing-sm);
}
@media screen and (min-width: 768px) {
	.kccs-service-level-cell .title-wrap {
		font-size: 14px;
	}
}
@media screen and (min-width: 1025px) {
	.kccs-service-level-cell .title-wrap {
		font-size: 15px;
	}
	.kccs-service-level-cell .title-wrap h3 {
		font-size: clamp(22px, 0.4458rem + 0.6928vw, 28px);
	}
}

/* Process section
--------------------------------------------------------- */
.process-step-row {
	position: relative;
}
.process-step-row .step-cell {
	font-size: 13px;
	position: relative;
}
.process-step-row .step-count-wrap {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
	.process-step-row::before {
		content: '';
		display: block;
		height: 2px;
		background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #CCCAC7 12%, #CCCAC7 88%, rgba(0, 0, 0, 0) 100%);

		position: absolute;
		top: 150px;
		left: 100px;
		right: 100px;
	}
	.process-step-row .step-cell {
		font-size: 14px;
	}
}
@media screen and (min-width: 1025px) {
	.process-step-row .step-cell {
		font-size: 15px;
	}
}

/* recaptcha
------------------------- */
.grecaptcha-badge {
    bottom: 70px !important;
    z-index: 3;
}

/* embed responsively
 * -------------------------*/
.embed-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
} 
.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}