/*
Theme Name: CharityUp Pro Child
Theme URI: https://ascendoor.com/themes/charityup-pro/
Template: charityup-pro
Author: Ascendoor
Author URI: https://ascendoor.com/
Description: CharityUp Pro is a WordPress charity theme that incorporates features for creating a high-quality website that is easy to use, clean, dynamic, and highly customizable. CharityUp Pro is a WordPress theme that is ideal for a variety of sites such as donation, charity, fundraising, welfare, and preferably for any other kinds of sites. CharityUp Pro is fully responsive and will provide the optimum user experience across all platforms, allowing you to reach a wider audience. CharityUp Pro theme is designed as a full website that helps create exposure, displays the upcoming events, and even draws visitors to join and donate for different activities. You can use the CharityUp Pro theme to accept donations and fundraising from visitors through a donation campaign using the GiveWP Plugin. Check the demo at: https://demos.ascendoor.com/charityup-pro/
Tags: custom-background,custom-logo,custom-menu,featured-images,threaded-comments,translation-ready,theme-options,footer-widgets,full-width-template,left-sidebar,right-sidebar,blog,portfolio
Version: 1.2.1.1662234180
Updated: 2022-09-03 19:43:00

*/

.mobile {
	display: none !important;
}

.main-navigation .menu li {
	padding: 39px 12px;
}

.site-header .top-bar .d-flex,
.site-header .top-icons,
.site-header .top-icons li {
	padding: 0;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.site-header .top-bar .top-icons,
.site-header .top-bar .top-icons li, .site-header .top-bar .top-icons .search-btn {
	width: 100%;
	border-radius: 0px;
	text-align: center;
}
.site-header .top-icons #search-btn:hover,
.site-header .top-icons .search-btn:hover{
	background-color: #13b2c9;
}
.site-header .top-bar .top-icons .search-btn:after {
	content: 'Search';
	color: #fff;
	font-weight: 400
}

.site-header .top-icons li {
	background-color: transparent;
	padding-left: 0 !important;
	padding-left: 0 !important;
}

#search-overlay {
    display: none;
}

#search-overlay.block {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    margin: 0;
    z-index: 9;
}

#search-overlay.block:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: 0;
}

#search-overlay.block .centered {
    display: inline-block;
    vertical-align: middle;
    width: 40%;
    padding: 10px 15px;
    color: #FFF;
    border: none;
    background: transparent;
}

#search-overlay #close-btn {
    font-family: 'Font Awesome 5 Free';
    position: fixed;
    top: 0;
    right: 0;
    padding: 32px;
    color: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
	.mobile {
		display: flex !important;
	}
	.desktop {
		display: none;
	}
}

a {
	color: #9a9c8f;
}

.site-header .top-icons {
    background-color: #F0F0F0;
	max-height: 55px;
}

.site-header .top-icons #search-btn,
.site-header .top-icons .search-btn{
    padding: 15px 20px;
	background-color: #01487a;
	border-radius: 50px;
}

.site-header .top-icons li:last-child {
    padding: 0;
}

.site-header .top-icons #search-overlay {
    display: none;
}

.site-header .top-icons .block {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    margin: 0;
    z-index: 9;
}

.site-header .top-icons .block:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: 0;
}

.site-header .top-icons .block .centered {
    display: inline-block;
    vertical-align: middle;
    width: 40%;
    padding: 10px 15px;
    color: #FFF;
    border: none;
    background: transparent;
}

.site-header .top-icons .block .centered #search-box {
    position: relative;
}

.site-header .top-icons .block .centered #search-box #search-text {
    font-size: 14px;
    border-width: 0;
    background: #fff;
    width: 100%;
    padding: 22px 96px 22px 30px;
    color: #333;
    outline: none;
}

.site-header .top-icons .block .centered #search-box #search-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 22px 26px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    border-width: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.site-header .top-icons #close-btn {
    position: fixed;
    top: 0;
    right: 0;
    padding: 32px;
    color: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.main-menu {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.menu-cnay-top-nav-container {
	width: calc( 100% - 60px );
}
.entry-content > :first-child {
	margin-top: 0;
}

.site-branding {
	padding: 0.25rem 0;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 1em;
	margin-bottom: 0.8em;
	font-weight: 500;
}

.entry-content h1 {
	font-size: 40px;
}

.entry-content h2 {
	font-size: 34px;
	margin-top: 40px;
}

.entry-content h3 {
	margin-top: 40px;
	padding-bottom: 10px;
	border-bottom: 2px solid #01487a21;
}

.entry-content h1,
.entry-content h2 {
	font-weight: 700;
}

.entry-content h1:not(.has-text-color h1),
.entry-content h2:not(.has-text-color h2),
.entry-content h3:not(.has-text-color h3),
.entry-content h4:not(.has-text-color h4),
.entry-content h5:not(.has-text-color h5),
.entry-content h6:not(.has-text-color h6) {
	color: #01487a;
}

.entry-content ul {
	list-style: revert;
	padding-left: 2em;
	margin-left: 0;
	margin-bottom: 1.5em; /* Match paragraph margin */
}

.entry-content ul ul {
	margin-bottom: 0; /* Top-level lists should be separated from other content, but nested lists shouldn't be separated from other list items */
}

.entry-content figure {
	margin-bottom: 1.5em; /* Match paragraph margin */
}

.entry-content a:not(.wp-block-button__link),
.wrapper a:not(.wp-block-button__link) {
	color: #01487a;
}
.entry-content a:not(.wp-block-button__link):hover,
.entry-content a:not(.wp-block-button__link):focus,
.wrapper a:not(.wp-block-button__link):hover,
.wrapper a:not(.wp-block-button__link):focus {
	color: #13b2c9;
}

.entry-content a.wp-block-button__link {
	text-decoration: none; /* Remove underline from buttons */
}

.site-header {
	position: relative;
	z-index: 2; /* Draw on top of the homepage slider */
}

.icon-menu-container {
	background-color: #283f5a;
}

.icon-menu-container .container {
	padding: 0;
}

.icon-menu-container .menu {
	display: grid;
	grid-template-columns: repeat(var(--menu-columns-xs, 2), minmax(105px, 1fr));
	grid-auto-flow: row;
	justify-content: center;
	gap: 1px;
	padding: 0 1px;
}

@media (min-width: 576px) {
	.icon-menu-container .menu {
		grid-template-columns: repeat(var(--menu-columns-sm, 3), minmax(105px, 1fr));
	}
}

@media (min-width: 768px) {
	.icon-menu-container .menu {
		grid-template-columns: repeat(var(--menu-columns-md, 4), minmax(105px, 1fr));
	}
	.mobile {
		display: block;
	}
}

.icon-menu-container .menu .menu-item {
	border: 0; /* Remove gray border from mobile menu */
	overflow: hidden;
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: 100%;
}

@media (min-width: 992px) {

	.main-nav {
		/* Draw on top of icon menu --
		 * negative margin on .icon-menu-container is important for hover effect */
		position: relative;
		z-index: 1;
		background: #fff;
	}

	.icon-menu-container {
		box-shadow: inset 0 -6px rgba(0, 0, 0, 0.1);
		margin-top: -6px; /* Extra hidden space for hover effect */
	}

	.icon-menu-container .menu {
		grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
	}

	.icon-menu-container .menu .menu-item {
		box-shadow: -1px 0 #fff, 1px 0 #fff;
		opacity: 0.8;
		transform: translateY(0);
		transition: all 0.2s ease;
	}

	.icon-menu-container .menu .menu-item:hover,
	.icon-menu-container .menu .menu-item:focus {
		transform: translateY(6px);
		opacity: 1;
	}
}

.icon-menu-container .menu .menu-item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	background: #283f5a;
	padding: 1rem 0.5rem;
	color: #fff;
	font-weight: 600;
	font-size: 0.8rem;
	text-align: center;
	text-transform: none;
	border-bottom: 6px solid var(--menu-item-color, currentColor);
	transition: padding 0.2s ease-out;
}

.sticky .icon-menu-container .menu .menu-item a {
	padding-top: 6px;
	padding-bottom: 8px;
}

.icon-menu-container .menu-item-icon {
	display: block;
	margin: 0 0 0.5rem;
	width: 2.25rem;
	height: auto;
	position: relative;
	object-fit: contain;
	transition: all 0.2s ease-out;
}

.sticky .icon-menu-container .menu-item-icon {
	width: 30px;
	height: 30px;
}

.header-banner {
	padding: 1rem 0;
	background-color: #01487a;
}

.wrapper {
	padding-top: 40px;
}

.home-banner .content-wrap .content p {
	font-size: 20px;
	line-height: 1.2;
}

@media(max-width: 767px) {
	.home-banner .content-wrap .content p {
		font-size: 16px;
	}
}

@media (max-width: 575px) {
	.home-banner .content-wrap .content p {
		font-size: 14px;
	}
}

.service-slider .slick-track,
.news-carousel .slick-track
{
    display: flex !important;
}

.service-slider .slick-slide,
.news-carousel .slick-slide
{
    height: inherit !important;
}

.service-slider .slick-slide > div,
.news-carousel .slick-slide > div,
.service-slider .slick-slide .slide-item,
.news-carousel .slick-slide .slide-item,
.service-slider .slick-slide .service-item,
.news-carousel .slick-slide .inner {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.education-layout .service-panel .service-item .content,
section.news .inner .news-content-wrap {
	flex: 1;
display: flex;
flex-direction: column;
}
section.news .inner .news-content-wrap {
	flex-direction: row;
}
section.news .inner .news-content-wrap .news-content {
	display: flex;
	flex-direction: column;
}
section.news .inner .news-content-wrap .news-content .read-btn {
	margin-top: auto;
}
.education-layout .service-panel .service-item .content .course-footer {
	margin-top: auto;
}
section.news .inner figure {
  height: 233.33px;
}
section.news .inner figure a {
  display: block;
  height: 100%;
}
/**
 * Make page width narrower on single posts that don't have sidebars
 */
@media (min-width: 992px) {
	.no-sidebar:not(.home) .site-main .container,
	.no-sidebar:not(.home) .site-main .container-lg,
	.no-sidebar:not(.home) .site-main .container-md,
	.no-sidebar:not(.home) .site-main .container-sm {
		max-width: 960px;
	}
}

/**
 * Style wide- & full-aligned blocks
 */
.entry-content .alignwide {
	/* 570px = 1140px (max container width) / 2 */
	margin-left: calc(50% - min(50vw, 570px));
	margin-right: calc(50% - min(50vw, 570px));
}
.entry-content .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/**
 * Set content width for wide/full blocks
 */
@media (min-width: 576px) {
	.no-sidebar .site-main .entry-content > .wp-block-group:is(.alignwide, .alignfull) > .wp-block-group__inner-container {
		max-width: 540px;
	}
}
@media (min-width: 768px) {
	.no-sidebar .site-main .entry-content > .wp-block-group:is(.alignwide, .alignfull) > .wp-block-group__inner-container {
		max-width: 720px;
	}
}
@media (min-width: 992px) {
	.no-sidebar .site-main .entry-content > .wp-block-group:is(.alignwide, .alignfull) > .wp-block-group__inner-container {
		max-width: 960px;
	}
}

/**
 * Make spacing around groups with backgrounds sensible
 */
.no-sidebar .site-main .entry-content .wp-block-group.has-background {
	margin-bottom: 1.5em; /* Match paragraph margin */
}
.no-sidebar .site-main .entry-content .wp-block-group.has-background .wp-block-group__inner-container {
	padding: 15px; /* Standard Bootstrap padding */
}
.no-sidebar .site-main .entry-content .wp-block-group.has-background .wp-block-group__inner-container > :first-child {
	margin-top: 0;
}
.no-sidebar .site-main .entry-content .wp-block-group.has-background .wp-block-group__inner-container > :last-child {
	margin-bottom: 0;
}

/**
 * Resource Exchange FWP template -- filters
 */
.resource-exchange-filters p {
	margin-bottom: 1em;
}
.resource-exchange-filters .facetwp-facet {
	margin-bottom: 2em;
}
.resource-exchange-filters .facetwp-type-search .facetwp-input-wrap {
	display: block; /* Default is inline-block, which limits width */
}

/**
 * Resource Exchange FWP template -- resource listings
 */
.resource-exchange-listing p {
	margin: 0; /* Remove gap caused by empty <p></p> above [facetwp listing="resources"] shortcode */
}
.resource-exchange-listing .fwpl-result:first-child h4 {
	margin-top: 0;
}
.resource-exchange-listing .fwpl-result .excerpt {
	margin-top: 1em;
}

/**
 * Media Mentions FWP template -- filters
 */
.media-mentions-filters p {
	margin-bottom: 1em;
}
.media-mentions-filters .facetwp-facet {
	margin-bottom: 1em;
}

/**
 * General FacetWP pager styles.
 */
.facetwp-facet-pager_ {
	margin-top: 40px;
}
.facetwp-facet-pager_ .facetwp-pager {
	display: flex;
	gap: 15px;
}
.facetwp-facet-pager_ .facetwp-page {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	width: 30px;
}
.facetwp-facet-pager_ .facetwp-page.prev,
.facetwp-facet-pager_ .facetwp-page.next {
	width: auto;
}
.facetwp-facet-pager_ .facetwp-page.active {
	border-radius: 4px;
	background: #283f5a;
	color: #fff;
	text-decoration: none;
}
.facetwp-facet-pager_ .facetwp-page.active:hover {
	color: #fff;
}

/**
 * Year facet: technically a radio button facet, but styled as a set of links.
 */
.facetwp-facet[class*=facetwp-facet-year] {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.facetwp-facet[class*=facetwp-facet-year] .facetwp-radio {
	display: flex; /* ignore white space inside */
	padding: 2px 8px 0;
	margin: 0;
	background: transparent;
	border-radius: 4px;
}
.facetwp-facet[class*=facetwp-facet-year] .facetwp-radio.checked {
	font-weight: bold;
	background: #283f5a;
}
.facetwp-facet[class*=facetwp-facet-year] .facetwp-display-value {
	padding: 0;
}
.facetwp-facet[class*=facetwp-facet-year] .facetwp-counter {
	display: none;
}

/**
 * Date range facet: show both fields on one line.
 */
.facetwp-type-date_range {
	display: flex;
	align-items: center;
}
.facetwp-type-date_range::before {
	content: '–';
	width: 2em; /* Match standard WP column gap */
	flex: 0 0 auto;
	order: 2;
	text-align: center;
}
.facetwp-type-date_range .facetwp-date-min {
	order: 1;
}
.facetwp-type-date_range .facetwp-date-max {
	order: 3;
}

/**
 * Search facet: fill available width.
 */
.facetwp-type-search {
	display: flex;
}
.facetwp-type-search .facetwp-input-wrap {
	flex: 1 1 auto;
}

/**
 * Single Bio metadata: tribal affiliation, age, etc.
 */
.single-bios .bio-meta {
	margin: 0 0 1.5em;
	font-weight: bold;
}
.single-bios .bio-meta p {
	margin: 0.5em;
}

/**
 * Creative Native gallery (FacetWP listing).
 */
.creative-native-gallery .fwpl-result,
.creative-native-gallery .fwpl-row,
.creative-native-gallery .fwpl-col,
.creative-native-gallery .thumbnail {
	display: flex;
	flex-direction: column;
}
.creative-native-gallery .thumbnail img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}
.creative-native-gallery .title {
	flex: 1 0 auto;
}
.creative-native-gallery .title a {
	font-size: 1.1em;
	font-weight: bold;
	text-decoration: none;
}

/**
 * Media Mentions listings.
 */
.media-mention {
	display: flex;
	gap: 2em;
	align-items: center;
	flex-wrap: wrap;
}
.media-mention .thumbnail {
	width: 170px;
	flex: 0 0 auto;
}
.media-mention .content {
	width: 300px;
	flex: 1 1 auto;
}
.media-mention .content p {
	margin: 0.6em 0;
}
.media-mention .content :last-child {
	margin-bottom: 0;
}

/**
 * Blog (News From CNAY)
 */
.blog .wrapper article,
.search .wrapper article,
.archive .wrapper article {
	display: grid;
	grid-template-columns: 210px 1fr;
	grid-template-rows: repeat(2, min-content) 1fr;
	column-gap: 20px;
}

.blog article .post-thumbnail,
.search article .post-thumbnail,
.archive article .post-thumbnail {
	grid-row: span 3;
}

.blog article .entry-content,
.search article .entry-summary,
.archive article .entry-content {
	margin: 0;
}

.blog article .entry-content > :last-child,
.search article .entry-summary > :last-child,
.archive article .entry-content > :last-child {
	margin-bottom: 0;
}

.blog.right-sidebar .right-side .widget > :last-child,
.blog.right-sidebar .right-side .wp-widget-group__inner-blocks > :last-child {
	margin-bottom: 0; /* Remove bottom margin on paragraphs, figures, etc. in widgets */
}


/*
* Events Calendar
*
*/
.tribe-events .tribe-events-c-search__button,
.tribe-events button.tribe-events-c-search__button {
  background-color: #01487a;
}
.tribe-events .tribe-events-c-search__button:hover,
.tribe-events button.tribe-events-c-search__button:hover,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
  background-color: #13b2c9;
}
.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border {
  color: #01487a;
  border-color: #01487a;
}
.tribe-common .tribe-common-c-btn-border:hover,
.tribe-common a.tribe-common-c-btn-border:hover {
  border-color: #13b2c9;
}
.tribe-events-meta-group a {
  color: #01487a;
}