/* GLOBAL HEADING SIZES */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}


/*GLOBAL HIDE ITEMS */

@media screen and (max-width:990px){
	.hide-mobile{
		display:none !important;
	}
} 

@media screen and (min-width:991px){
	.show-mobile {
	display:none !important;
	}
}

/*Footer / FundraiseUp Fix*/
.footer {
        margin-bottom: 30px;
    }

@media (min-width: 57.8125em) {
    .footer {
        margin-bottom: -100px !important;
    }
}




/*GLOBAL BUTTON8 */
.button{
/* 	background-image: url(https://transparenttextures.com/patterns/asfalt-light.png); */
	background-position:center;
	text-shadow: 0em 0.08em 0.08em rgb(0 0 0 / 25%);
	-webkit-box-shadow: 0px 7px 10px -9px rgba(34,34,34,0.5); 
	box-shadow: 0px 7px 10px -9px rgba(34,34,34,0.5);
	letter-spacing:1.5px;
	font-size:1.2rem;
}

.button:focus, .button:hover{
	text-decoration:none;
/* 	background-color:#F6A11E; */
/* 	background-image: url(https://transparenttextures.com/patterns/asfalt-light.png); */
}

.button--teal{
	border:0;
}

.button--teal:hover {
    background-color: #175e7c;
}

.button__text{
	line-height:1;
}

/* Mobile Floating Donate Button */
#donate-button:after {
    content: 'DONATE';
    display: table-cell;
    vertical-align: middle;
    color: #ffffff;
    width: 100%;
    text-align: center;
    letter-spacing: 1.3px;
    line-height: 1.3px;
    font-size: 1.2rem;
    font-weight: 700;
/*     background-image: url(https://transparenttextures.com/patterns/asfalt-light.png); */
    background-position: center;
    text-shadow: 0em 0.08em 0.08em rgb(0 0 0 / 25%);
    -webkit-box-shadow: 0px 10px 13px -9px rgba(34,34,34,0.75);
    box-shadow: 0px 10px 13px -9px rgba(34,34,34,0.75);
}

body {
	background-image:none;
}

/* Global Blockquote */
blockquote {
	font-style: normal;
}



/* Make inline images full width */
@media (max-width:57.8125em) {

	.full-width-on-mobile {
		width:100% !important;
	}
	
}

/* Extend Width of Home Page Hero H1 */
@media (min-width: 57.8125em) {
.home .hero-bg-image#sq1-hero-style-left .hero-bg-image__content h1 {
    max-width: 600px;
	line-height: 2.8rem;
}
}

/**Single Blog Post Page**/
.post-image{
		height:300px;
	}
	
	.post-title{
		padding:5%;
	}
	
	@media screen and (min-width:981px) {
		.post-title {
		margin: 0; 
		position: absolute; 
		top: 50%; 
		-ms-transform: translateY(-50%); 
		transform: translateY(-50%);
		padding:0;
		max-width:92%;	
		}
		
		.post-image{
			height:400px; 
			clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
		}
	}


/*Single News Article Page Title */
@media (min-width:925px) {
	.single-news-title{
		font-size:2em;
	}
}

.single-news-title {
	font-size:1.75rem;
}

/* Google translate Dropdown */

#google_language_translator select.goog-te-combo {
    color: #32373c;
    font-size: 16px;
	width:160px;
}

/* HR to solid line */
hr {
	opacity:1 !important;
}

/****************/
/*** ALERT BAR **/
/****************/

.alert-bar.closed-alert-bar {
    top: -160px;
    position: fixed;
}

@media screen and (min-width: 1200px){
.alert-bar {
    height: 146px;
    position: sticky;
}
} 

@media (max-width: 991.98px) {
    .alert-bar .alert-bar-content {
        font-size: .75rem;
    }
}

@media screen and (max-width:768px){
	.alert-bar{
		top: -200px !important;
		height:200px;
	}
	
	.alert-bar~.mobile-menu {
    margin-top: 200px;
    transition: margin-top .4s;
	}
} 

/************************/
/*** Navigation Edits ***/
/************************/


/* Remove Arrow Icon on Desktop Menu */
@media screen and (min-width:991px){
	#mega-menu-wrap-primary_navigation #mega-menu-primary_navigation li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
		display:none !important;
	}
}

/* Right Align Mega Menu CTA Links on Desktop */
@media screen and (min-width:991px){
	.menu-cta-link > ul > li > div.custom-html-widget{text-align:right;}
}

/*Main Menu Item Font Size*/
#mega-menu-wrap-primary_navigation #mega-menu-primary_navigation > li.mega-menu-item > a.mega-menu-link{
	font-size:19px;
}

/* New Logo */
.site-name__text {
    background-image: url(/wp-content/uploads/2023/11/Medical-Teams-Logo-Full-Color-RGB-450x316-1.png);
	max-width:160px;
	height:122px;
}

/*Position Logo*/
.site-name, .is-scrolling .site-name {
	top:.5em;
}

/*Move hero section up behind nav*/
@media (min-width: 57.8125em){
.hero-bg-image, .home .hero-bg-image {
	margin-top:0;
}	
}

/* Remove Header background color & Box Shadow */
.l-header, .home .l-header {
	height:74px;
}

/*Header bg white on scroll*/
header.l-header.is-scrolling {
    background: #fff;
}

/*Top Header */
.header__top {
	background:#333742;
	display:none;
}

.menu--utility {
	padding-top:6px;
	padding-bottom:7px;
}

.menu--utility .menu__link {
    color: #fff;
}

header.is-scrolling #mega-menu-wrap-primary_navigation #mega-menu-primary_navigation a.mega-menu-link{
	color:#333742;
}

@media only screen and (min-width:1220px){
	#mega-menu-wrap-primary_navigation #mega-menu-primary_navigation > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
    	color: #ae1f24;
	}
}

.header__bottom{
	padding-top:4px;
}

/* Arrow Links in Mega Menu */
.menu-arrow-link {
	font-size:20px;
}

@media screen and (max-width:991px){
	.menu-arrow-link{font-size:18px; letter-spacing:.14rem;}
}


/* Search Form */

.search-form {
	align-items: inherit;
}

.searchform--header.is-open {
    width: 55vw;
    height: 45px;
} 

.searchform--header .searchform__content {
    padding: 0px;
}

.searchform--header .search__controls div {
    margin: -2px 5px;
}

.searchform--header {
    background-color: #fff;
    right: 18rem;
    top: 1.38rem;
}

.menu--utility .menu__item--search .menu__link {
    color: #fff;
}

@media screen and (max-width:990px){
	#mega-menu-item-10546{
		padding-top:10px !important;
		padding-bottom:14px !important;
	}
	
	.searchform .searchform__input{
		margin-left:10px;
		margin-top:0;
		margin-bottom:0;
		margin-right:0;
		width:80%;
	}
	
	.searchform .searchform__button {
		display: block;
		border: 0;
		width: 10%;
		margin-left: 2%;
		background:#ae1f24;
		color:#fff;
	}
	
}



/* Header Button */
#mega-menu-item-3218 {
    background-color: #AE1F24 !important;
	transform: skewX(-10deg) !important;
/* 	background-image: url(https://transparenttextures.com/patterns/asfalt-light.png) !important; */
	transition:.2s ease all !important;
}

#mega-menu-item-3218:hover {
    background-color: #cc242a !important;
	transform: skewX(-10deg) !important;
/* 	background-image: url(https://transparenttextures.com/patterns/asfalt-light.png) !important; */
}

#mega-menu-item-3218 a {
	color:#fff !important;
    padding: 0 22px !important;
    font-weight: 700 !important;
    font-size: 19px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase !important;
    transform: skewX(10deg) !important;

}

#mega-menu-item-3218 a:hover {
  text-decoration:none !important;
}



/*Header Button Mobile*/
@media only screen and (max-width:1220px){
	#mega-menu-item-3218 {
		transform: skewX(0deg) !important;
	}
	#mega-menu-item-3218:hover {
		transform: skewX(0deg) !important;
/* 		background-image: url(https://transparenttextures.com/patterns/asfalt-light.png) !important; */
	}
	#mega-menu-item-3218 a {
    	transform: skewX(0deg) !important;
		text-align:center !important;
	}
		#mega-menu-item-3218 a:hover {
    		background-color: #AE1F24 !important;
			transform: skewX(0deg) !important;
	}
}

/*Header Gift Catalog Button. WHEN NEEDED: Update mega menu item number id with new menu item number*/
/*
#mega-menu-item-13518 {
    background-color: #175e7c !important;
	transform: skewX(-10deg) !important;
	transition:.2s ease all !important;
}

#mega-menu-item-13518:hover {
    background-color: #175e7c !important;
	transform: skewX(-10deg) !important;

}

#mega-menu-item-13518 a {
	color:#fff !important;
    padding: 0 20px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    letter-spacing: 1px;
    text-transform: uppercase !important;
    transform: skewX(10deg) !important;
	text-shadow: 0em 0.08em 0.08em rgb(0 0 0 / 25%);

}

#mega-menu-item-13518 a:hover {
  text-decoration:none !important;
}

/**End GC button**/


/*Header GC Button Mobile*/
@media only screen and (max-width:1220px){
	#mega-menu-item-13518 {
		margin-top:10px !important;
		transform: skewX(0deg) !important;
	}
	#mega-menu-item-13518:hover {
		transform: skewX(0deg) !important;
/* 		background-image: url(https://transparenttextures.com/patterns/asfalt-light.png) !important; */
	}
	#mega-menu-item-13518 a {
    	transform: skewX(0deg) !important;
		text-align:center !important;
		text-shadow: 0em 0.08em 0.08em rgb(0 0 0 / 25%);
	}
		#mega-menu-item-13518 a:hover {
    		background-color: #175e7c !important;
			transform: skewX(0deg) !important;
	}
}



/*******************************/
/****** Mega Menu Styling ******/
/*******************************/

/*Remove Captions*/
li.mega-menu-item-type-widget > figure > figcaption {
	display:none !important;
}

/**** position mega menu ****/

/* Who We Are sub menu */
#mega-menu-item-152 > ul {
	left: -20px !important;
}

/*Our Work Sub Menu */
#mega-menu-item-198 > ul {
	left: -148px !important;
}

/* Ways to Give Sub Menu */
#mega-menu-item-342 > ul {
	left: -262px !important;
}

/* Get Involved Sub Menu */
#mega-menu-item-10539 > ul {
	left: -410px !important;
	width:590px !important;
}


/*all mega menu items*/
#mega-menu-wrap-primary_navigation #mega-menu-primary_navigation li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
    padding: 4px 10px;
    width: 100%;
}

/*Third level items in mega menu*/
#mega-menu-wrap-primary_navigation #mega-menu-primary_navigation > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary_navigation #mega-menu-primary_navigation > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link{
	padding:0 0 0 10px;
}


/* Change Candid Logo Size */
.candid-logo{
	width:104px;
}

/* Footer Sizing */
@media screen and (min-width: 57.8125em){
	.cta__title, .cta__summary, .cta__link {
		width: calc(33%);
	}
	
	.cta__grid > * {
    margin-right: 0;
		text-align:center;
	}
}

/* Fancybox remove top menu items */

.fancybox-button--thumbs, .fancybox-button--zoom, .fancybox-button--play{
	display:none !important;
}

/* Masonry Image Gallery Styling */

.gallery-caption {
	display:none;
}

.gallery-columns-2 {
 -webkit-column-count: 2;
 -moz-column-count: 2;
 column-count: 2;
}
.gallery-columns-3 {
 -webkit-column-count: 3;
 -moz-column-count: 3;
 column-count: 3;
}
.gallery-columns-4 {
 -webkit-column-count: 4;
 -moz-column-count: 4;
 column-count: 4;
}
.gallery-columns-5 {
 -webkit-column-count: 5;
 -moz-column-count: 5;
 column-count: 5;
}

@media screen and (max-width:57.8125em){
	.gallery-columns-2, .gallery-columns-3, .gallery-columns-4, .gallery-columns-5 {
		-webkit-column-count: 1;
 		-moz-column-count: 1;
 		column-count: 1;
	}
}

.gallery-item {
 display: inline-block;
 text-align: center;
 vertical-align: top;
 width: 100%;
 margin: 0 0 0.5em;
}


/***** Title Bar ********/

	.title-large{
		font-size:2.85em;
		line-height:1.1;
	}
	
	.title-small{
		font-size:2.35em;
		line-height:1.1;
	}
	
	.title-image{
		height:430px;
		margin-bottom:-38px;
	}

	@media screen and (min-width:1700px) {
		.title-image{
			height:500px;
		}
	}
	
	.title-content{
		background: #175e76;
		max-width: fit-content;
		padding: 10px 5vw 10px 10vw;
		clip-path: polygon(0 0, 100% 0%, 95% 100%, 0% 100%);
	}
	
	.title-content h1 {
		/*font-size:2.2rem;*/
		margin-bottom:0;
	}
	
	@media screen and (max-width:571px) {
		
		.title-large{
		font-size:2.35em;

		}
		
		.title-image{
		height:300px;
		margin-bottom:-30px;
		}
	
		.title-content{
			padding: 10px 4vw 10px 4vw;
			clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
			text-align:center;
			max-width:none;
			width:90%;
			margin:auto;
		}
	}


/***** Newsroom CSS ******/

.featured-press-section {
		margin-top:68px;
	}
	
	.featured-press-img {
		clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%); 
		height: 500px;
	}
	
	.featured-press-text-col {
		padding:5rem 2rem 1rem;
	}
	
	@media screen and (max-width:990px){
		.featured-press-section {
			margin-top:0;
		}
		
		.featured-press-img {
			clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
			height:400px;
		}
		
		.featured-press-text-col {
			padding:2rem 2rem 5rem;
		}
	}
	
	.newsroom-blurb {
		padding-top: 1em;
    	padding-bottom: 2em;
	}
	
	.newsroom-icon{
		font-size: 64px;
		color: #cc242a;
		background: #fff;
		margin: auto;
	}
	
	.newsroom-blurb-link{
		font-weight:700;
		text-decoration:underline;
		font-size:20px;
		color:#ae1f24;
	}
	
	.heading-badge {
		background: #175e76;
		color: #fff;
		position: absolute;
		right: 0px;
		top:5%;
		font-size: 2em;
		padding: 6px 42px 8px 48px;
		clip-path: polygon(5% 0, 100% 0%, 100% 100%, 0% 100%);
		text-shadow: 0em 0.04em 0.1em rgb(0 0 0 / 30%);
	}
	
	
	.latest-news-heading a{
		color:rgb(33,37,41);
	}
	
	.latest-news-heading a:hover{
		color:#ae1f24;
		text-decoration:none;
	}
	
	.menu--social-newsroom{
		list-style-type: none;
    	margin-left: 0;
    	padding-left: 0;
    	margin-top: 0px;
    	padding-top: 14px;
    	border-top: none;
    	text-align: left;
	}
	


	.menu--social-newsroom .menu__item {
    	margin-right: 13.5px;
    	font-size: 26px;
	}
	
	.menu--social-newsroom > li {
   	 display: inline-block;
	}
	
	.menu--social-newsroom .menu__item .menu__link{
		color:#ae1f24 !important;
	}
	
	.media_contact_name{
		font-family:'source sans pro';
	}
	
	.newsroom-contact-icon{
		width:26px;
	}
	
	.slick-next:before, .slick-prev:before {
    font-family: slick;
    font-size: 26px !important;
    line-height: 1;
    opacity: .75;
    color: #000 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/**** HWHW Page ****/

.hwhw-cta{
	    background: url(/wp-content/uploads/2024/09/hwhw-Tanzania-Joseline-Smiling-outside-of-her-home.webp) center / cover;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hwhw-cta-content{
	background:#fff;
}

@media screen and (max-width:981px){
	.hwhw-cta{
		background:#175e76;
	}
	
	.hwhw-cta-content{
		background:#175e76;
		color:#fff;
	}
}

