/*
 Theme Name:        CFS Uptown Child
 Text Domain:       cfs-uptown-child
 Author:            April Auger
 Author URI:        https://aprilauger.com
 Description:       The Children and Family Services (CFS) theme is a child theme designed to be used alongside the Uptown theme.
 Template:          uptown
 Version:           1.0.0
 Requires at least: 6.4
 Tested up to:      6.4
 Requires PHP:      8.0
 License:           GNU General Public License v2 or later
 License URI:       http://www.gnu.org/licenses/gpl-2.0.html
*/

.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	--gf-local-bg-color: var(--wp--preset--color--primary) !important;
}

@media (max-width: 991.98px) {
	.location__submit.wp-block-button__link {
		width: 100%
	}
}

@media (min-width: 992px) {
	.location__field {
		width: 15rem;
	}
}

/* Constant Contact */
div.ctct-form-embed div.ctct-form-defaults {
	margin-bottom: 1rem !important;
	padding: 0 !important;
}

div.ctct-form-embed form.ctct-form-custom .ctct-form-required:before {
	display: none;
}

div.ctct-form-embed form.ctct-form-custom div.ctct-form-field,
.ctct-form-embed.form_0 .ctct-form-defaults .ctct-gdpr-text {
	margin-bottom: .75rem !important;
}

.ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button {
	background-color: var(--wp--preset--color--secondary) !important;
	border: 1px solid var(--wp--preset--color--secondary) !important;
}

.wp-block-button__link {
	height: auto;
	width: auto;
}

.footer-wrapper #footer ul li:before {
	position: absolute;
	left: 0;
	top: 6px;
}

.footer-wrapper #footer ul li {
	position: relative;
	margin-bottom: 12px;
	line-height: 1.5;
}

.footer-wrapper #footer ul li:last-child {
	margin-bottom: 0;
}

.footer-wrapper #footer ul li a {
	padding-left: 7px;
	display: block;
}

.footer-social {
	flex-wrap: wrap;
}

@media only screen and (max-width: 767px) and (min-width: 576px) {
	.footer-wrapper #footer .column.col-sm-12:nth-of-type(1) {
		margin-bottom: 40px;
	}

	.footer-wrapper #footer .column.col-sm-12:nth-of-type(2),
	.footer-wrapper #footer .column.col-sm-12:nth-of-type(3),
	.footer-wrapper #footer .column.col-sm-12:nth-of-type(4) {
		width: 33.3333%;
	}
}

@media only screen and (max-width: 575px) {

	.footer-wrapper #footer .column.col-sm-12:nth-of-type(2),
	.footer-wrapper #footer .column.col-sm-12:nth-of-type(3),
	.footer-wrapper #footer .column.col-sm-12:nth-of-type(4) {
		width: 50%;
		margin-bottom: 40px;
	}

	.footer-wrapper #footer .column.col-sm-12:nth-of-type(4) {
		margin-bottom: 16px;
	}
}

@media only screen and (max-width: 480px) {

	.footer-wrapper #footer .column.col-sm-12:nth-of-type(2),
	.footer-wrapper #footer .column.col-sm-12:nth-of-type(3),
	.footer-wrapper #footer .column.col-sm-12:nth-of-type(4) {
		width: 100%;
	}
}

@media only screen and (max-width: 1399px) {

	.container,
	.container-lg,
	.container-md,
	.container-sm,
	.container-xl {
		max-width: 100%;
	}

	.kb-theme-content-width.kt-row-column-wrap {
		max-width: calc(100% - 48px) !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

@media only screen and (max-width: 1400px) {
	#footer footer .container {
		max-width: 100%;
	}

	.ft-copy .container {
		max-width: 100%;
	}
}