/*
 Theme Name:        Uptown Charity Theme
 Text Domain:       uptown-child-charity
 Author:            April Auger
 Author URI:        https://aprilauger.com
 Description:       Charity 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
*/

/* Typography */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: 'poppins', sans-serif;
}

/* Navigation */
@media (min-width: 1200px) {
	.bm-horizontal #navbar-wrapper .site-logo img {
		margin-top: -35px;
		max-height: 80px;
		max-width: 220px;
		padding: 0;
	}
}

#menu-top-navigation a:link,
#menu-top-navigation a:visited {
	color: var(--wp--preset--color--primary);
}

#menu-top-navigation a:hover,
#menu-top-navigation a:active {
	color: var(--wp--preset--color--secondary);
}

@media (min-width: 1400px) {
	.bm-horizontal #navbar-wrapper #site-navigation:not(.nav-collapsed) #menu li {
		margin: .25rem .5rem;
	}

	.bm-horizontal #navbar-wrapper #site-navigation:not(.nav-collapsed) input#main-search {
		padding: .5rem;
	}
}

.dropdown-menu {
	--bs-dropdown-min-width: 15rem;
}

.nav-link {
	--bs-nav-link-padding-y: .25rem;
}

/* Hero */
.hero {
	position: relative;
	z-index: 0;
}

.hero__content {
	z-index: 2;
}

.hero__curve {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 2;
}

/* Title block */
.title-block-curve {
	bottom: 0;
	left: 0;
	height: auto;
	line-height: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	width: 100%;
}

div#title-block.no-bkg-img {
	margin-top: 3rem;
}

/* Testimonials */
@media (min-width: 900px) {
	.testimonial-carousel .slick-slide {
		padding: 0 1.5rem;
	}
}

/* Footer */
#footer {
	padding-bottom: 0 !important;
	position: relative;
	z-index: 0;
}

#footer .container,
#footer .copyright {
	z-index: 3
}

.menu-footer-container {
	margin: 2rem 0;
}

#menu-footer,
.copyright {
	text-align: center;
}

#menu-footer li {
	display: inline-block;
	margin: .5rem 1rem;
}

#menu-footer a:hover,
#menu-footer a:active {
	color: #B7CCD6 !important;
}

#footer .bkg-image {
	bottom: 0;
	max-height: 100%;
	max-width: 450px;
	opacity: .8;
	position: absolute;
	right: 0;
	top: 0;
	z-index: -1;
}

.footer-social {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	padding-bottom: 2.5rem;
}

.footer-social::before,
.footer-social::after {
	border-bottom: solid 1px #fff;
	content: '';
	flex: 1 1 auto;
	opacity: .25;
}

.curve {
	text-align: center;
	width: 100%;
}

/* Bootstrap */
.rounded {
	border-radius: .75rem !important
}

/* Links */
.link-underline {
	display: inline-block;
	font-weight: 700;
	position: relative;
}

.link-underline:hover {
	color: var(--wp--preset--color--primary);
}

.link-underline:after {
	background-image: linear-gradient(to right, var(--wp--preset--color--secondary) 50%, #B7CCD6 50%);
	background-position: 100% 50%;
	background-repeat: no-repeat;
	background-size: 200% 100%;
	bottom: -.1rem;
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	transition: .4s ease-in;
	width: 100%;
}

.link-underline:hover:after {
	background-position: 0 50%;
}

/* Images */
@media (min-width: 1024px) {
	.image-block-left-margin {
		margin-left: 10%;
	}
}

.shadow-image img {
	border-radius: .75rem;
	display: block;
}

@media (min-width: 768px) {
	.shadow-image {
		display: inline-block;
		position: relative;
	}

	.shadow-image::after {
		border-radius: .75rem .75rem;
		box-shadow: 1.5rem 1.5rem 0px 0px #B7CCD6;
		content: "";
		height: 70%;
		left: 0;
		position: absolute;
		top: 30%;
		width: 100%;
		z-index: -1;
	}

	.shadow-image__left::after {
		box-shadow: -1.5rem 1.5rem 0px 0px #B7CCD6;
	}
}

/* Patient Stories */
.patient-stories .testimonial {
	color: #fff;
}

.patient-stories h3 a,
.patient-stories .testimonial {
	color: #fff;
}

.patient-stories h3 a:hover {
	color: #B7CCD6;
}

.patient-stories .slick-dots li.slick-active {
	background: var(--wp--preset--color--secondary);
}

.patient-stories .slick-dots li {
	background: #B7CCD6;
}

.patient-stories .bkg-image {
	overflow: hidden;
	position: absolute;
	top: -2rem;
	z-index: -1;
}

/* Layout */
#fluid-layout .container-fluid .col-md-12 {
	padding-left: 0;
	padding-right: 0;
}

/* Gravity Forms */
.gform_required_legend {
	display: none
}

.gform-theme label {
	font-weight: 600 !important;
}

/* Transform image on hover */
.img-wrapper {
	border-radius: 1rem;
	overflow: hidden;
	position: relative;
  }

  .img-wrapper .location-img {
	transition: transform 0.3s ease-in-out;
	display: block;
	width: 100%;
  }

  .img-wrapper:hover  .location-img:hover {
	transform: scale(1.1); /* Zoom-in effect */
  }

  /* Sidebar */
  .sidebar-nav {
	  list-style: none;
	  margin: 0;
	  padding: 1.5rem 1rem;
	  background: #EFF4F6;
	  border-radius: 1rem;
  }

  .sidebar-nav li {
	  line-height: 1.35;
	  margin-bottom:.1rem;
	  padding: .3rem 1rem;

  }

/* Buttons */
.is-style-outline .has-white-color:hover {
	background: var(--wp--preset--color--white);
	border: 2px solid var(--wp--preset--color--white);
	color: var(--wp--preset--color--primary) !important;
}

/* Tables */
.wp-block-table.is-style-stripes thead {
	border-bottom: 2px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: var(--wp--preset--color--light-primary);
}

/* Blocks */
.kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger:after,
.kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger:before,
.kt-accodion-icon-style-basiccircle .kt-blocks-accordion-icon-trigger:after,
.kt-accodion-icon-style-basiccircle .kt-blocks-accordion-icon-trigger:before {
	width: 15px
}

.has-primary-background-color.kt-row-has-bg.wp-block-kadence-rowlayout a:link:not(.wp-block-button__link) {
	color: var(--wp--preset--color--white);
	text-decoration: underline !important;
}

.has-primary-background-color.kt-row-has-bg.wp-block-kadence-rowlayout a:hover:not(.wp-block-button__link) {
	color: #B7CCD6;
}

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

/* Blockquotes */
blockquote cite {
	color: var(--wp--preset--color--secondary);
	font-size: .9rem;
	position: relative;
}

/* Widgets */
.widget_categories ul {
	padding: 0;
}

.widget_categories ul li {
	border-bottom: 1px solid #eee;
	list-style: none;
	padding: .75rem 0;
	transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.widget_categories ul li:hover {
	background: #f9f9f9;
	padding-left: .5rem;
}

.widget_categories ul li a:hover {
	color: inherit;
}

/* Other */
.semibold {
	font-weight: 600
}

strong {
	font-weight: 600
}