/*
Theme Name: FBCM Child
Theme URI: https://example.com/
Description: Child theme for Hello Elementor
Author: Your Name
Author URI: https://example.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Add your custom CSS below */

.icon-with-circle .elementor-image-box-wrapper{
	padding:20px;
}
.icon-with-circle .elementor-image-box-wrapper:before {
    content: "";
    background: #c1cbc3;
    position: absolute;
    width: 100%;
    height: 110px;
    left: 0;
    z-index: -1;
    top: 0;
}
.icon-with-circle .elementor-image-box-img {
    width: 125px !important;
    height: 125px;
    background: #7b375b;
    border-radius: 142px;
    border: 4px solid #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.icon-with-circle .elementor-image-box-img img {
    width: 65%;
}
.icon-with-circle.hover-content .elementor-image-box-description{
	display:none;
}

.icon-with-circle.hover-content:hover .elementor-image-box-img {
    width: 120px !important;
    height: 120px;
    background: #c1cbc3;
    border-radius: 142px;
}
.icon-with-circle.hover-content:hover .elementor-image-box-img img{
	width:45%;
}
.icon-with-circle.hover-content:hover .elementor-image-box-title{
	color:#fff;
}
/* .icon-with-circle.hover-content:hover .elementor-image-box-description{
	display:block;
} */


.text-center {
    text-align: center;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #242424;
    opacity: 1;
}

.wpcf7-form input[type=text],.wpcf7-form input[type=email], .wpcf7-form select{
	filter: drop-shadow(1.59px 2.544px 11.5px rgba(0, 0, 0, 0.24));
    border: 0;
    border-radius: 0;
	height:55px;
}
.wpcf7-form textarea{
	filter: drop-shadow(1.59px 2.544px 11.5px rgba(0, 0, 0, 0.24));
    border: 0;
    border-radius: 0;
}
.cf7-submit-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
	background-color: #7C375B;
    border: 1px solid #7C375B;
    border-radius: 47px !important;
    color: #fff;
    padding: 0.6rem 1.5rem;
}

.cf7-submit-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

/* .cf7-submit-btn:hover svg {
    transform: translateX(6px);
} */

/* Remove CF7 spinner */
.wpcf7-spinner {
    display: none;
}

.wpcf7-form .wpcf7-submit{
	background-color: #7C375B;
    border: 1px solid #7C375B;
    border-radius: 47px;
    color: #fff;
    padding: 0.6rem 1.5rem;
}

/* Card wrapper */
.card {
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: visible;
	display:inline-block;
	cursor: pointer;

}

/* Image styling */
.card-image img {
    width: 100%;
    height: 280px;
    display: block;
}

.min-team .card-image img {
	 height: 240px;
}

.min-team .card-info h3{
	font-size:16px;
}

/* Purple info ribbon */
.card-info {
    background: #7a3a5a;
    color: #ffffff;
    padding: 20px;
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
}

/* Ribbon tail */
.card-info::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -20px;
    width: 0;
    height: 0;
    border-left: 25px solid #7a3a5a;
    border-top: 20px solid transparent;
	transform: rotate(90deg);
    left: 10px;
}

/* Name text */
.card-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Role text */
.card-info p, .card-info span {
    margin: 5px 0 0;
    font-size: 14px;
    font-style: italic;
    opacity: 0.9;
	text-transform: capitalize;
}

/* Space under card (important) */
.card {
    margin-bottom: 70px;
}

.we-images img{
	height:200px;
	object-fit:scale-down;
}

.form-box:hover h3 {
    color: #fff !important;
}

.giving-accordion details {
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

.giving-accordion .e-n-accordion-item-title{
	justify-content:space-between;
	border-bottom: 2px solid #7c375b !important;
}

.giving-accordion .e-n-accordion-item-title-text{
	display:flex;
	gap:20px;
	align-items:center;
}

.giving-accordion .e-n-accordion-item-title-text img {
    width: 60px;
    height: 60px;
}

.events-section {
    padding: 60px 0;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.events-header h2 {
    font-size: 36px;
    font-weight: 700;
	color:#242424;
	text-align:center;
	flex:1;
}

.events-nav, .ministries-nav, .bible-events-nav {
    display: flex;
    gap: 10px;
}
.swiper-button-next:after, .swiper-button-prev:after{
	font-size:26px;
}

.events-nav .swiper-button-prev,
.events-nav .swiper-button-next,.ministries-nav .swiper-button-prev,
.ministries-nav .swiper-button-next ,.bible-events-nav .swiper-button-prev,
.bible-events-nav .swiper-button-next{
    position: static;
    width: 42px;
    height: 42px;
    border: 1px solid #000;
    border-radius: 50%;
    color: #000;
}

/* .card-info-post {
    font-size: 14px;
} */

.card-info-post h2{
	font-size:20px;
	color:#242424;
}

.card-post{
	padding:10px;
	box
}

.event-card,.card-post {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    overflow: hidden;
	border:5px solid #fff;
	margin: 10px;
	
}

.event-card img {
    width: auto;
    height: 100%;
    display: block;
}

/* .ae-section {
            position: relative;
            padding: 80px 60px;
            background: #777 url('https://via.placeholder.com/1600x700') center/cover no-repeat;
            overflow: hidden;
        } */

        .ae-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.45);
            z-index: 1;
        }

        .ae-header,
        .ae-slider {
            position: relative;
            z-index: 2;
        }

        .ae-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }

        .ae-header h2 {
            color: #fff;
            font-size: 36px;
            letter-spacing: 2px;
			flex:1;
			text-align:center;
        }

        .ae-nav {
            display: flex;
            gap: 12px;
        }

        .ae-nav .swiper-button-prev,
        .ae-nav .swiper-button-next {
            position: static;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #fff;
            color: #000;
        }

        .ae-nav .swiper-button-prev::after,
        .ae-nav .swiper-button-next::after {
            font-size: 18px;
        }

        .ae-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0,0,0,0.25);
            height: 100%;
			border:3px solid #fff;
        }

        .ae-card img {
            width: 100%;
            height: 240px;
            object-fit: cover;
        }

        .ae-content {
            padding: 20px;
        }

        .ae-content h3 {
            font-size: 18px;
            margin-bottom: 10px;
			font-weight:700;
        }

        .ae-date {
            font-size: 14px;
            color: #242424;
            margin-bottom: 15px;
            display: block;
			font-weight:600;
        }

        .ae-btn {
            display: inline-block;
            padding: 8px 16px;
            border: 1px solid #7c375b;
            border-radius: 30px;
            color: #7c375b;
            text-decoration: none !important;
            font-size: 14px;
			text-transform:uppercase;
        }

.ae-btn:hover{
	background:#7c375b;
	color:#fff;
}
        @media (max-width: 768px) {
/*             .ae-section {
                padding: 60px 20px;
            } */
            .ae-header h2 {
                font-size: 24px;
            }
        }
.event-lightbox-modal {
    position: fixed;           /* 🔥 NOT absolute */
    inset: 0;                  /* top:0; right:0; bottom:0; left:0 */
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    z-index: 99999;

    display: none;
    justify-content: center;
    align-items: center;
}

/* Content box */
.event-lightbox-inner {
    background: #fff;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 10px;
}

/* Close button */
.event-lightbox-modal .close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    background-color: #7c375b;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 50px;
}

/* Optional animation */
.event-lightbox-modal.show .event-lightbox-inner {
    animation: zoomIn 0.3s ease;
}

/* iOS auto-detected phone numbers */
a[href^="tel"] {
  color: inherit !important;
  text-decoration: none !important;
}

a[x-apple-data-detectors],
a[x-apple-data-detectors-type="telephone"] {
  color: inherit !important;
  text-decoration: none !important;
}

.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
    display: block;
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
	z-index:1050;
}

.modal-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -40%);
    background-color:transparent;
    padding: 1rem;
    width: 80%;
    border-radius: 0;
    filter: drop-shadow(-0.574px 0.819px 25.5px rgba(0, 0, 0, 0.35))
}

.close-button {
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: #7a3a5a;
    color: #fff;
    border-radius: 100%;
    font-size: 24px;
    padding: 1px 2px;
    border: 1px solid #000;
    position: absolute;
    right: 5px;
    top: -5px;
	width:30px;
	height:30px;
}


.close-button:hover {
    background-color: darkgray
}

.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
    display: block
}

.team-content {
    display: none
}

.modal-popup {
    display: flex;
    gap: 30px;
    padding: 10px;
    border-radius: 0;
    background: #fff;
    width: 100%;
    align-items: self-start;
}

.team-box {
    border-radius: 50px;
    filter: drop-shadow(-0.574px 0.819px 25.5px rgba(0, 0, 0, 0.35));
    background: #fff;
    padding: 4px;
}

.team-box .elementor-widget-image img,
.bio-image-sec img {
    vertical-align: top;
    border-radius: 50px;
    height: 400px;
    object-fit: cover
}


.bio-image-sec img {
    width: 100%
}


@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#masthead.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    animation: slideDown 0.6s ease-out forwards;
}

#masthead.sticky .hfe-site-logo-img {width: 250px;}
#masthead.sticky .hfe-menu-item {font-size: 16px;padding: 4px 15px;}
#masthead.sticky .elementor-element-da4043d {padding: 0;}
.event-card .event-lightbox {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 292px;
    border: 1px solid #000000;
    border-radius: 0;
    margin: 15px 15px 0px 15px;
}
.support-outer{
	cursor:pointer;
}

.support-popup{
	padding:1.5rem;
	width:60%;
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.dateinfo {font-size: 25px;font-weight: 700;text-transform: none;color: #7c375b;}
.event-card .card-info-post {padding: 15px;}
.card-post.open-post-lightbox .card-image {border: 1px solid #000000;margin-bottom: 15px;}
.elementor-slideshow__header .e-eicon-share-arrow,
.elementor-slideshow__header .e-eicon-zoom-in-bold,
.elementor-slideshow__header .e-eicon-frame-expand {display: none;}
.dialog-lightbox-widget .dialog-close-button  {background-color: #7c375b;height: 40px;width: 40px;display: flex;justify-content: center;align-items: center;border-radius: 50px;}

.slider-img-style img {
    border: 5px solid #fff !important;
    border-radius: 30px !important;
}

.slider-img-style .n2-ss-item-image-content{
	overflow:visible !important;
}

.n2-ss-button-container a i{
	margin-left:5px;
}

.event-home-slider .elementor-swiper-button svg {
    background: #ffffffdb;
    border-radius: 40px;
    padding: 6px;
}

/* Desktop only */
@media (min-width: 1025px) {

    .ae-slider .swiper-wrapper {
        align-items: stretch;
    }

    .ae-slider .swiper-slide {
        height: auto;
        display: flex;
    }

    .ae-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .ae-content {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .ae-btn {
        margin-top: auto;
		width:140px;
    }
	.icon-with-circle {
		height: 300px;
	}
/* 	.minister-page .icon-with-circle:hover{
		height:auto;
	} */
}

/* Responsive */
@media (max-width: 991px) {
    .card-info {
        width: 100%;
        bottom: -25px;
    }
	.events-header,.ae-header {
		flex-wrap: wrap;
		gap: 20px;
		justify-content: center;
	}
	
	.hfe-nav-menu__layout-horizontal .hfe-menu-item{
		color:#3b152d !important;
	}
	
	form .is-layout-flex{
		gap:5px;
	}
	
	.show-modal{
	    overflow:scroll;
	}
	
	.modal-popup {
        flex-wrap: wrap;
		gap:12px;
    }
    .modal-content {
        width: 95%;
		top:80%;
    }
	.modal-content .bio-image-sec img{
		height:230px;
		border-radius: 0;
	}
	.modal-content .card-info h3{
		font-size:16px;
	}
	.modal-content .bio-content{
		font-size:16px;
	}
    .bio-image-sec,
    .bio-content {
        width: 100%
    }
    .bio-content {
        overflow: scroll;
        height: 400px
    }
    .team-box .wpb_single_image .vc_figure,
    .team-box .wpb_single_image .vc_single_image-wrapper {
        display: block;
        width: 100%
    }
	.slider-img-style .n2-ss-item-image-content{
		overflow:visible !important;
	}
}


@media screen and (min-width: 991px) {
	.wpcf7-form .wp-block-column {
		width: 48%;
	}
	
	.form-box h3{
		height:65px;
	}
	
	.event-card{
		/*height:300px;*/
		margin-bottom:20px;
	}
	
	.bio-image-sec{
        flex: 0 0 30%;
    }

}