/*
 Theme Name:        SW Uptown Child
 Text Domain:       sw-uptown-child
 Author:            April Auger
 Author URI:        https://aprilauger.com
 Description:       The Sacramento Works 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
*/

/* 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;
}

/* Other styles */
.card {
	font-size: var(--wp--preset--font-size--x-small);
}

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

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

.wp-block-image.is-style-rounded img {
	box-shadow: -1.5rem -1.5rem 0 0 var(--wp--preset--color--light-primary);
}

.wp-block-image.is-style-rounded.right img {
	box-shadow: 1.5rem -1.5rem 0 0 var(--wp--preset--color--light-primary);
}

q {
	background-color: var(--wp--preset--color--light-gray);
	border-radius: 0.5rem;
	color: #777;
	display: block;
	font-size: 1.25rem;
	font-style: italic;
	margin: 2rem auto;
	padding: 2rem;
	position: relative;
	quotes: "“" "”";
}

q::before,
q::after {
	color: #ccc;
	content: open-quote;
	font-family: Georgia, serif;
	font-size: 6rem;
	line-height: 1;
	position: absolute;
	opacity: 0.3;
	z-index: 0;
}

q::before {
	top: -1.5rem;
	left: -0.5rem;
	content: open-quote;
}

q::after {
	bottom: -1.5rem;
	right: -0.5rem;
	content: close-quote;
}

.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%;
	}
}