/*
 Theme Name:   Resurrected Life
 Theme URI:    https://generatepress.com
 Description:  A child theme of GeneratePress
 Author:       Donna Chastain
 Author URI:   https://donnachastain.com
 Template:     generatepress
 Version:      0.1
*/

/* --Typography-- */

.ff-body {
	font-family: var(--gp-font--heading-body);
}

.ff-hero {
	font-family: var(--gp-font--hero); 
}


/* Fluid Typography Scale */

h1, .fs-h1 {
	font-size: clamp(3rem, 2.7273rem + 1.0909vw, 3.6rem);
	font-family: var(--gp-font--heading-body);
}

h2, .fs-h2 {
	font-size: clamp(2.25rem, 2.0455rem + 0.8182vw, 2.7rem);
	font-family: var(--gp-font--heading-body);
}

h3, .fs-h3 {
	font-size: clamp(1.875rem, 1.7045rem + 0.6818vw, 2.25rem);
	font-family: var(--gp-font--heading-body);
}

h4, .fs-h4 {
	font-size: clamp(1.5rem, 1.3636rem + 0.5455vw, 1.8rem);
	font-family: var(--gp-font--heading-body);
}

h5, .fs-h5 {
	font-size: clamp(1.25rem, 1.1364rem + 0.4545vw, 1.5rem);
	font-family: var(--gp-font--heading-body);
}

h6, .fs-h6 {
	font-size: clamp(1.125rem, 1.0227rem + 0.4091vw, 1.35rem);
	font-family: var(--gp-font--heading-body);
}

p, .fs-p {
	font-size: clamp(0.8333rem, 0.7576rem + 0.303vw, 1rem);
	font-family: var(--gp-font--heading-body);
}

/* widow/orphan fix */
h1, h2, h3, h4, h5, h6, li, .fs-h1, .fs-h2, .fs-h3, .fs-h4, .fs-h5 {
	text-wrap: balance;
}
p, .fs-p, .fs-h6 {
	text-wrap: pretty;
}


/* nav */

.rl-menu-dropdown {
	cursor: default;
}

.gb-menu-container-e9f1c9eb.gb-menu-container--mobile {
	background: url(https://resurrectedlife.church/wp-content/uploads/bg-mobile-nav-open.jpg) top center no-repeat;
	background-size: cover;
}
.gb-menu-toggle, 
.gb-menu-toggle:hover, 
.gb-menu-toggle:focus, 
.has-inline-mobile-toggle #site-navigation.toggled {
    background-color: transparent;
}

:where(.gb-navigation[data-gb-mobile-menu-type=full-overlay]) .gb-menu-container--mobile .gb-menu-toggle--clone {
	/*right: 47% !important;*/
	right: 47% !important;
}

.gb-menu-toggle-69405f0f .gb-menu-close-icon svg {
    width: 35px;
    height: 35px;
}

.flip-horizontal {
      transform: scaleX(-1);
}

.info-cross-bg {
	background-size: 3% !important;
}

/* forms ========================================== */
.rl-form input::placeholder,
.rl-form textarea::placeholder {
	opacity: 0.6;
}

/*.gform-theme--framework input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework input[type=radio]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	accent color: #e9a63b !important;
}*/

.rl-form #gform_submit_button_1,
.rl-form #gform_submit_button_2 {
	background-color: #d97644;
	color: #fff;
	font-weight: 800;
	font-size: 20px;
	border-bottom-left-radius: 20px;
	border-top-right-radius: 50px;
	padding: .5rem 2rem .5rem 1.2rem;
	margin-top: 30px;

}

.rl-form #gform_submit_button_1:hover,
.rl-form #gform_submit_button_2:hover {
	background-color: #dba638;
}
/* confirmation message */
.rl-form #gform_confirmation_message_1,
.rl-form #gform_confirmation_message_2 {
	padding: 40px 15px 60px;
	text-align: center;
}

.rl-form-conf {
	color: #d97644;
	font-size: clamp(1.875rem, 1.7045rem + 0.6818vw, 2.25rem);
	font-weight: 600;
}

/* button tooltip */
.tooltip{
	position: relative;
}

.tooltip:before,
.tooltip:after{
	--scale: 0;	
	--arrow-size: 8px;
	--tooltip-color: hsla(191, 0%, 95%, 0.9);
        --tooltip-text-color: #222222;
	position: absolute;
	top: -.25rem;
	left: 50%;
	transform: translateX(-50%)  translateY(var(--translate-y, 0)) scale(var(--scale));
	transition: 150ms transform;
	transform-origin: bottom center;
}

.tooltip:before{
	--translate-y: calc(-100% - var(--arrow-size));
	content: attr(data-tooltip);
        color: var(--tooltip-text-color);
	font-size: .8rem; 
	line-height: 1;
	padding: .4rem .6rem;
	width: max-content;
	background: var(--tooltip-color);	
	border-radius: .3rem;
	text-align: center;
}

.tooltip:hover:before,
.tooltip:hover:after{
	--scale: 1;
}

.tooltip:after{
	--translate-y: calc(-1 * var(--arrow-size));
	content:'';
	border: var(--arrow-size) solid transparent;
	border-top-color: var(--tooltip-color);
	transform-origin: top center;
}

/* make blog card link expand  */

.stretch-link {
	position: relative;
}

.stretch-link a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.stretch-link a:is(:focus-visible)::after {
	outline: 2px solid;
}

.stretch-link a:is(:hover, :focus) {
	outline: none;
}

/* The Events Calendar styles */

/*remove recurring events icon from view*/
.tribe-events .tribe-events-series-archive__icon {
    display: none !important;
}

/*hide "all day" indicator on Women's Ministry series view*/
.postid-1486 span.tribe-event-date-start,
.postid-1589 span.tribe-event-date-start,
.postid-1590 span.tribe-event-date-start,
.postid-1593 span.tribe-event-date-start {
	display: none;
}
.postid-1486 .tribe-events-pro-summary__event-datetime:after,
.postid-1589 .tribe-events-pro-summary__event-datetime:after,
.postid-1590 .tribe-events-pro-summary__event-datetime:after,
.postid-1593 .tribe-events-pro-summary__event-datetime:after {
	content: "Time TBD";
}

.aos-animate {
	opacity: 1 !important;
}


/* animate raise and fade in on scroll if ok with user */
@media (prefers-reduced-motion: no-preference) {

  /* fade-in and raise */  
  .rl-fade-in {
    animation: rl-fade-in linear forwards;
    animation-timeline: view();
  }
  @keyframes rl-fade-in {    
    0% {
      opacity: 0;
      transform: translatey(500px);
    } 
    25% {
      opacity: 0.3;
    }
    50% {
      opacity: 1;
      transform: translatey(0px);
    }    
    100% {      
    }
  }
  /* end rl-fade-in keyframes */


@media (max-width: 1024px) {
/*	.rl-desktop-hide {
		display: none;
	}*/
	.gb-sub-menu-smf38c0c .menu-item {
		background-color: transparent !important;
	}
}

@media (max-width: 768px) {
	.hero-bg-resize {
		background-position: 68% 50% !important;
	}

}

