/* Variables */
:root {
	--blue: #20419a;
	--dark-blue: #203166;
	--light-blue: #01ADD3;
	--green: #5CBA3C;
	--dark-green: #52a736;
	--orange: #F7A301;
	--dark-orange: #AF760D;
	--red: #e74747;
	--dark-red: #cd3333;
}

/* Top bar & Header & Menu */
#sp-header .sp-sign-in {
	color: #fff;
}

.sp-megamenu-parent > li:last-child > a {
	padding: 0px 15px 0px 15px;
}

#sp-header .sp-sign-in {
	color: #fff;
	font-size: 16px;
	line-height: 90px;
}

/* bottom border (grow from left) */
.sp-megamenu-parent > li > .menu-hover-effect-1::after {
	content: "";
	position: absolute;
	left: 10%;
	bottom: 20px;
	width: 0;
	height: 2px;
	background: #fff;
	transition: width 0.33s ease;
}

/* top border (grow from right) */
.sp-megamenu-parent > li > .menu-hover-effect-1::before {
	content: "";
	position: absolute;
	right: 10%;
	top: 20px;
	width: 0;
	height: 2px;
	background: #fff;
	transition: width 0.33s ease;
}

/* hover animation */
.sp-megamenu-parent > li:hover > .menu-hover-effect-1::after,
.sp-megamenu-parent > li:hover > .menu-hover-effect-1::before {
	width: 80%;
}

/* active item — permanently visible with no animation */
.sp-megamenu-parent > li.active > .menu-hover-effect-1::after,
.sp-megamenu-parent > li.active > .menu-hover-effect-1::before,
.sp-megamenu-parent > li.current-item > .menu-hover-effect-1::after,
.sp-megamenu-parent > li.current-item > .menu-hover-effect-1::before {
	width: 80%;
	transition: none;
}

/* readmore */
.moreText {
    display: none;
}

.readMoreBtn {
    cursor: pointer;
}

/* image laout styling */
@media screen and (min-width: 768px) {
	.home-image-layout-s1 .image-fit {
		border-radius: 20px;
	}
	
	.home-image-layout-s1 .sppb-addon-image-layout-content {
		border-radius: 20px;
	}
	
}

@media screen and (max-width: 767px) {
	.home-image-layout-s1 .image-fit {
		border-radius: 20px 20px 0px 0px;
	}

}

/* Gallery Styling */
.ba-caption-content h3 {
	font-weight: normal !important;
}

.ba-caption-content::after {
    content: "Learn more →";
	color: #fff;
	font-size: 16px;
	text-align: center;
	width: 100% !important;
	display: block;
	font-style: italic;
}

/* Donation form Styling */
#donation-form .heading-donation {
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-image: linear-gradient(0deg, var(--sppb-blue) 0%, var(--sppb-light-blue) 100%);
}

/* tooltips */
/* Tooltip wrapper */
.tooltip-c {
  position: relative;
  display: inline-block;
  cursor: help;
  color: var(--sppb-blue);
}

/* Tooltip text */
.tooltip-text-c {
  display: none;
  background-color: #002b45;
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  line-height: 1.5;
  max-width: 320px;
  width: max-content;
  box-sizing: border-box;
  word-wrap: break-word;

  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  /* Arrow */
}

.tooltip-text-c::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #002b45 transparent transparent transparent;
}

/* Show tooltip on hover (desktop) */
.tooltip-c:hover .tooltip-text-c,
.tooltip-c:focus-within .tooltip-text-c {
  display: block;
}

@media (max-width:767px) {
	.tooltip-text-c {
  	display: none;
  }

  .tooltip-c:hover .tooltip-text-c,
.tooltip-c:focus-within .tooltip-text-c {
  display: none;
}
}

/* Donation Page */

#custom-amount:focus {
	background: transparent !important;
}