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

:root {
	--bs-border-radius: 1rem;
}

/* Typography */
.semibold,
a {
	font-weight: 600;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
strong a {
	font-weight: 700;
}

strong,
.kt-adv-heading-has-icon .kb-adv-text-inner a,
.kb-advanced-heading-link .kb-adv-text-inner {
	font-weight: 700;
}

.cat-links a,
.post-terms a {
	border-radius: 2rem;
}

/* Sidebar navigation */
/* Archive menu */
.wp-block-archives-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	list-style: none;
	margin: 2rem 0;
	padding: 0;
}

.wp-block-archives-list li {
	margin: 0;
}

.wp-block-archives-list a {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	background-color: #f5f5f5;
	color: var(--xui-body);
	font-weight: 600;
	text-decoration: none;
	transition: all 0.25s ease;
}

.wp-block-archives-list a:hover,
.wp-block-archives-list a:focus {
	background-color: #eeeeee;
}

.wp-block-archives-list li.is-active a,
.wp-block-archives-list a[aria-current="page"] {
	background: var(--xui-primary);
	color: #fff;
}

/* Top bar and header */
#header .header__wrapper .header__top-bar {
	height: fit-content !important;
}
#header .header__wrapper .header__top-bar .header__top-bar-content .header__top-bar-section {
	color: #fff;
	display: flex !important;
	float: none;
	flex-wrap: wrap;
	justify-content: space-between !important;
}

@media (max-width: 992px) {
	.header-fixed.menu-110 .header-fixed-mt {
			padding-top: 130px;
	}
}

@media screen and (max-width: 576px) {
    #header .header__wrapper .header__logo img {
        max-width: 180px !important;
    }
}

.header__top-bar-menu {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header__top-bar-menu li {
	align-items: center;
	display: inline-flex;
	font-size: var(--wp--preset--font-size--x-small);
}

.header__top-bar-menu a {
	align-items: center;
	color: var(--wp--preset--color--white);
	display: inline-flex;
	gap: 0.25rem;
	text-decoration: none;
}

@media (min-width: 1200px) {
    .header__wrapper:not(.menu-collapsed) .header__navbar:not(.nav-collapsed) #menu li {
        margin: 0 .35rem;
    }
}

/* Category menu */
.wp-block-categories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 2rem 0;
	padding: 0;
}

.wp-block-categories-list li {
	margin: 0;
}

.wp-block-categories-list a {
	color: #333;
	font-weight: 600;
	padding: 0.25rem 0;
	transition: color 0.25s ease;
}

.wp-block-categories-list a:hover,
.wp-block-categories-list a:focus {
	color: var(--xui-primary);
}

.wp-block-categories-list .current-cat>a {
	color: var(--xui-primary);
}

/* Search */
.search-wrapper .search-field,
.search-wrapper .search-submit {
	border-radius: 2rem;
}

.search-wrapper .search-submit {
	border: none;
}

/* Buttons */
.uptown-btn,
.gform_button,
.post-list-terms li {
	border-radius: 2rem;
}

ul.post-list-terms li {
	display: inline-block;
	font-weight: 600;
	padding: .5rem 1rem;
	text-decoration: none;
	transition: all .3s ease-in-out;
}

.wp-block-button__link.has-primary-background-color {
	color: #fff;
	border: 1px solid var(--xui-primary);
}

.wp-block-button__link.has-primary-background-color:hover {
	background: var(--xui-primary-dark) !important;
	border: 1px solid var(--xui-primary-dark);
}

.wp-block-button__link.has-white-background-color {
	background: var(--xui-white);
	color: var(--xui-primary);
	border: 1px solid var(--xui-white);
}

.wp-block-button__link.has-white-background-color:hover {
	background: transparent !important;
	color: var(--xui-white) !important;
	border: 1px solid var(--xui-white);
}

/* Images */
.post-image {
	border-radius: 1rem;
}

/* List with arrows */
.arrow-links .kt-svg-icon-list-item-wrap {
	border-bottom: 1px solid #ddd;
}

.arrow-links .kt-svg-icon-list-item-wrap,
.arrow-links .kt-svg-icon-list-item-wrap>.kt-svg-icon-link {
	align-items: center;
	display: flex;
	justify-content: space-between;
	font-weight: 600;
	max-width: 30rem;
	width: 100%;
}

.arrow-links .kt-svg-icon-list-item-wrap.wp-block-kadence-listitem {
	padding: .5rem 0 !important;
}

.arrow-links .kt-svg-icon-list-single {
	order: 2;
}

.arrow-links .kt-svg-icon-list-text {
	order: 1;
}

/* Where to start */
.start-img-wrapper {
	position: relative;
}

.start-img-wrapper .start-icon {
	position: absolute;
	bottom: -30px;
	left: 10px;
}

/* Layout */
@media (min-width: 992px) {
	.max-width-450 {
		max-width: 450px
	}

	.max-width-250 {
		max-width: 250px;
	}
}

/* Blockquote */
blockquote {
	background: var(--xui-primary-xlight);
	border: 0;
	border-radius: .25rem;
	color: var(--xui-primary-dark);
	margin: 1.5rem 0;
	padding: 1.25rem 2rem 1.25rem 2rem;
	position: relative;
}

blockquote p {
	margin: 0 0 0.75rem 0;
}

blockquote p:last-child {
	margin: 0;
}

blockquote::after {
	background: linear-gradient(180deg, var(--xui-primary), rgba(129, 200, 183, 0.65));
	border-bottom-left-radius: 1rem;
	border-top-left-radius: 1rem;
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 6px;
}

blockquote footer,
blockquote cite {
	color: #475569;
	display: block;
	font-size: 0.95em;
	font-style: normal;
	margin-top: 0.85rem;
}

blockquote cite::before {
	content: "— ";
}

/* Quick Exit */
#quick-exit {
	top: 50px;
}

@media (max-width: 1198.99px) {
	#quick-exit {
		border-radius: .25rem;
		height: 35px;
		padding: .5rem !important;
		right: 0;
		top: 140px;
		width: auto !important;
	}
}

@media (min-width: 1200px) {
	div#header-menu {
		margin-right: 110px;
	}
}

/* Footer */
#footer .column ul li {
	line-height: 1.55rem;
}

footer {
  --u-grad: linear-gradient(90deg, #773d98 0%, #e79b23 33%, #81c7b8 66%, #773d98 100%);
  --u-height: 2px;
  --u-offset-px: 1px;
}

footer a:not(.social-icon):not(.wp-block-button__link):not([role="button"]) {
  color: #773d98 !important;
  display: inline-block;
  position: relative;
  text-decoration: none;
}

footer a:not(.social-icon):not(.wp-block-button__link):not([role="button"])::after {
  background: var(--u-grad);
  background-position: 0% 50%;
  background-size: 200% 100%;
  bottom: calc(-1 * var(--u-offset-px));
  content: "";
  height: var(--u-height);
  inset-inline: 0;
  opacity: 0;                 /* hidden until hover */
  pointer-events: none;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: background-position .6s ease, opacity .15s ease, transform .35s ease;
}

footer a:not(.social-icon):not(.wp-block-button__link):not([role="button"]):hover::after,
footer a:not(.social-icon):not(.wp-block-button__link):not([role="button"]):focus-visible::after {
  background-position: 100% 50%;
  opacity: 1;
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  footer a::after { transition: opacity .01s linear, transform .01s linear; }
}

/* Sponsors */
@media (min-width: 1200px) {
	.sponsor-carousel.slick-slider .slick-track {
		gap: .5rem;
	}
}

.sponsor-carousel .slick-track {
	align-items: center;
	display: flex !important;
}

.sponsor-carousel .slick-slide {
	align-items: center;
	display: flex !important;
	height: 200px;
}

.sponsor-carousel .slick-slide img {
	display: block;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	width: auto !important;
}

/* Excerpt */
.excerpt-body .entry-title {
	font-weight: 600;
}

.excerpt-body {
	color: #555;
	margin-bottom: 2.5rem;
}

.excerpt-body p {
	margin-bottom: .75rem;
}

.btn-link {
	text-decoration: underline;
	margin-bottom: 0;
}

/* Intranet */
.intranet-list__items {
	list-style: none;
	padding: 0
}

.intranet-list__items li {
	border-bottom: 1px solid #ddd;
	padding-bottom: 1.25rem;
	margin-bottom: 1.25rem;
}

.intranet-list__title {
	font-size: 1.25rem;
}

.intranet-list__excerpt {
	color: #555;
	margin: .5rem 0 1rem 0;
}

.intranet-list__cats {
	color: #555;
	font-weight: 600;
    letter-spacing: .03rem
}

.job-title a:hover {
	color: var(--xui-primary) !important;
}

.intranet-list__readmore {
	align-items: center;
    background-color: #f6eefb;
    border: 1px solid #f6eefb;
    border-radius: 2rem;
    color: #212121;
		font-size: .9rem;
    font-weight: 600;
    padding: .25rem .75rem;
    text-decoration: none;
    transition: background-color .15s
ease, color .15s
ease, border-color .15s
ease, box-shadow .15s
ease, transform .02s
ease;
}

.intranet-list__readmore:hover {
    background-color: #e9d9f3;
    border-color: #e9d9f3;
}

.single-intranet_page #title-block.bkg-img .tb-wrapper {
	padding-bottom: 5rem;
	padding-top: 5rem;
}

.single-intranet_page .wp-block-kadence-rowlayout>.kt-row-column-wrap.kb-theme-content-width {
    padding-left: 0;
    padding-right: 0;
}

.intranet h2 {
	font-size: 1.5rem !important;
}

.intranet h3,
.archive h3.entry-title {
	font-size: 1.25rem !important;
}

.intranet h4 {
	font-size: 1.15rem !important;
}

/* Archive */
#archive .excerpt img {
	border: 1px solid #eee;
}

/* Other Styles */
.testimonial {
	border: 1px solid #dddddd;
	border-radius: 1rem;
	padding: 1.75rem;
}

.hero-section .wp-block-button__link.has-primary-medium-color:hover {
	color: white !important;
}

.page-id-491 #title-block.bkg-img .tb-wrapper::before {
	background: transparent linear-gradient(270deg, #C37A06 0%, #C37A06 0%, #773E98 100%) 0% 0% no-repeat padding-box;
	opacity: 0.94;
}

@media (min-width: 992px) {
	.page-id-491 #title-block {
		padding-top: 8vh;
		padding-bottom: 8vh;
	}
}

span.gfield_required.gfield_required_asterisk {
	font-size: 1.5rem;
	line-height: 1;
}

.modal__img {
	margin-bottom: 1rem;
}

#title-block.bkg-img .tb-wrapper::before {
	background: transparent linear-gradient(270deg, #773E9800 0%, #773E98F0 50%, #43225EE6 100%) 0% 0% no-repeat padding-box;
}

.post-date__text {
	color: #555;
}

time.entry-post-date {
	display: block;
	padding-bottom: .5rem;
}

.entry-post-date .dashicons-calendar:before {
    content: "\f145";
    color: var(--xui-primary);
	font-size: 1rem;
}