/*
 Theme Name:   Chariti Child
 Theme URI:    http://demo.goodlayers.com/chariti
 Description:  Goodlayers Chariti Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     chariti
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  chariti-child

 START YOUR CHILD THEME CSS HERE
*/


.frmaster-cause-donation-form .frmaster-cause-donation-form-button.frmaster-active {
    color: #fff;
    background-color: #60041d;
    border-color: #60041d;
}

/* Success message */
.mc4wp-success {
    color: #28a745;
    /* green */
    background: #e6ffed;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

/* Error message */
.mc4wp-error {
    color: #d93025;
    /* red */
    background: #ffe6e6;
    padding: 10px;
    border-radius: 5px;
}

/* General notice */
.mc4wp-notice {
    color: #0c5460;
    /* teal */
    background: #d1ecf1;
    padding: 10px;
    border-radius: 5px;
}

#all-members-list .gdlr-core-personnel-list-position.gdlr-core-info-font.gdlr-core-skin-caption {
    color: #60041d !important;
}
.gdlr-core-counter-item-top-text {
    color: #000000 !important;
}
/* Footer Text Above Copyright Styling */
.chariti-footer-text-above-copyright-wrapper,
.chariti-footer-text-under-copyright-wrapper

 {
    background-color: #120f26;
    /* border-top: 1px solid #e9ecef; */
    /* padding: 30px 0; */
}

.chariti-footer-text-above-copyright-text,
.chariti-footer-text-under-copyright-text {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}

.chariti-footer-text-above-copyright-text p,
.chariti-footer-text-under-copyright-text p  {
    margin-bottom: 10px;
}

.chariti-footer-text-above-copyright-text p:last-child,
.chariti-footer-text-under-copyright-text p:last-child {
    margin-bottom: 0;
}

.chariti-footer-wrapper {
    padding-bottom: 0px !important;
}


.event-home i,
.event-home .gdlr-core-event-item-title a:hover {
    color: white !important;
}


.fixed-button {
    position: fixed;      /* makes it fixed relative to the viewport */
    bottom: 20px;         /* distance from the bottom of the page */
    right: 20px;          /* distance from the right side, change as needed */
    z-index: 9999;        /* ensures it stays on top of other elements */
}

.parent {
    display: flex !important;
    align-items: center !important;
    
}

.column-comprehensive {
    margin: 0 auto !important;
    padding-bottom: unset;
    /*width: 400px;*/
}

/* education page */
.education-page .chariti-item-pdlr, .education-page .gdlr-core-item-pdlr {
     padding-left: 0px !important; 
     padding-right: 0px !important; 
}

.education-page .gdlr-core-item-pdb {
    padding-bottom: 0px !important;
}

.education-page img[src$=".svg"] {
    width: 20% !important;
}

.education-page .gdlr-core-flipbox-front {
    height:451.094px !important;
}

/* list all events  */
.tribe-events .tribe-events-c-events-bar .tribe-common-form-control-text__input{
    color: #60041d !important;
}
.tribe-events .tribe-events-c-search__button, .tribe-events button.tribe-events-c-search__button{
    background-color: #60041d !important;
}
.tribe-events .tribe-events-c-view-selector__list-item-text{
       color: #60041d !important; 
}




/* Simple Red Button for Events */
.chariti-simple-red-button {
    margin: 20px 0;
    /* text-align: center; */
}

.chariti-red-button {
    display: inline-block;
    background-color: #60041d;
    color: #ffffff !important;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #60041d;
    cursor: pointer;
}

.chariti-red-button:hover {
    background-color: #4a0417;
    border-color: #4a0417;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.tribe-common .tribe-common-c-btn-border{
        border: 1px solid #60041d !important;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text, .single-tribe_events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text, .tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text{
        color: #60041d !important;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown__export-icon{
        color: #60041d !important;
}

/* Donation page */
.frmaster-template-payment .frmaster-donation-amount-button.frmaster-active, .frmaster-template-payment .frmaster-donation-method-button.frmaster-active, .frmaster-template-payment .frmaster-donation-submit, .frmaster-template-payment .frmaster-donation-submit:hover {
    background: #60041d;
}
.frmaster-template-payment .frmaster-donation-amount-button, .frmaster-template-payment .frmaster-donation-method-button {
    color: #60041d;
    border-color: #60041d;
}

.education-accordions.gdlr-core-accordion-style-background-title-icon .gdlr-core-active .gdlr-core-accordion-item-title,.education-accordions.gdlr-core-accordion-style-background-title-icon .gdlr-core-accordion-item-title {
    background-color: #60041d !important;
    border-radius: 10px !important;
    color: #ffffff !important;
}

.education-accordions.gdlr-core-accordion-style-background-title-icon .gdlr-core-accordion-item-title:before, .gdlr-core-toggle-box-style-background-title-icon .gdlr-core-accordion-item-title:before {
    color: white !important;
}

.education-accordions .gdlr-core-accordion-item-content{
    /*border: 2px solid rgb(96, 4, 29) !important;*/
    padding: 20px !important;
    margin-bottom: 10px !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(96, 4, 29, 0.3) !important;
    margin-top: -20px;
}
.education-accordions .gdlr-core-accordion-item-tab.gdlr-core-active .gdlr-core-accordion-item-title {
    border-radius: 10px 10px 0 0 !important;
}

.gdlr-core-social-network-icon svg {
    color: #000 !important; /* black */
}
.chariti-footer-wrapper svg {
  color: #fff !important; 
  fill: #fff !important;
  width:18px;
  height:18px;
}

.chariti-top-bar-right-social .chariti-top-bar-social-icon,
.gdlr-core-personnel-list-social .gdlr-core-social-network-icon,
.gdlr-core-social-network-item .gdlr-core-social-network-icon,
.chariti-top-bar-left-text i{
   display: inline-flex;
  vertical-align: middle; /* aligns anchor tags in the same line */ 
}

/* hide login , register */
/* .frmaster-user-top-bar.frmaster-guest{
    display: none;
} */

.chariti-page-title-event-time{
    display: none;
}
.tribe-events .tribe-events-c-nav__next:disabled, .tribe-events .tribe-events-c-nav__prev:disabled{
    color: #60041d !important;
}
.tribe-events .tribe-events-c-nav__prev-icon-svg path,
.tribe-events .tribe-events-c-nav__next-icon-svg path{
    fill: #60041d !important;
}
.tribe-common .tribe-common-c-btn-icon--caret-left:disabled .tribe-common-c-btn-icon__icon-svg path, .tribe-common .tribe-common-c-btn-icon--caret-right:disabled .tribe-common-c-btn-icon__icon-svg path {
    fill: #60041d !important;
}
.tribe-events .tribe-events-calendar-list__event-title-link{
    color: #60041d !important;
}
.tribe-events .tribe-events-calendar-list__event-datetime{
    color: black!important;
}


/* used to hide sections */
.d-none{
    display: none;
}


.wpcf7 form.sent .wpcf7-response-output{
    border-color: #60041d;
    color: #60041d;
}


@media (min-width: 768px) and (max-width: 1024px) {
   .custom-width-50 .gdlr-core-pbf-column{
    width: 50%;
  }

   .custom-width-100 .gdlr-core-pbf-column{
    width: 100%;
  }
  .personnel-container .gdlr-core-personnel-item .gdlr-core-personnel-list.gdlr-core-outer-frame-element{
    height: 435px;
    width: 215px;
  }
  
  .gdlr-core-pbf-column:has(.column-2-2) {
   width: 50%;
}
.gdlr-core-pbf-column:has(.column-1-1) {
   width: 100%;
}

}
.comprehensive .gdlr-core-pbf-column-content{
    margin-left: unset;
    margin-right: unset;
}
.gdlr-core-page-builder-body p{
    margin-bottom: unset;
}


.map-section .gdlr-core-text-script-item-content iframe {
  height: auto !important;
  aspect-ratio: 4 / 3 !important; /* Keeps proportional height */
  border: 0 !important;
  display: block !important; /* Remove inline gap if any */
  max-width: 100% !important;
}

/* hide author name */
.gdlr-core-blog-info.gdlr-core-blog-info-font.gdlr-core-skin-caption.gdlr-core-blog-info-author{
    display: none;
}

.personnel-container .gdlr-core-personnel-style-grid.gdlr-core-with-background .gdlr-core-personnel-list-content-wrap{
    padding: 37px 0px 0px 0px;

}
.blogs-container .gdlr-core-blog-grid-with-frame .gdlr-core-blog-grid-frame{
    padding: 30px 0px 0px 0px;
}
.blogs-container .gdlr-core-blog-grid-frame.gdlr-core-sync-height-space-position{
    padding: 30px 0px 0px 0px !important;
}
@media only screen and (max-width: 1100px) {
    .chariti-main-menu-right-button {
        display: block !important;
    }
}

/* Hide on desktop */
@media (min-width: 1000px) {
    .d-none-desktop {
        display: none !important;
    }
}

@media (min-width: 999px) and (max-width: 1220px) {
    .chariti-navigation .sf-menu > li{
    padding-left: 8px;
    padding-right: 5px !important;
   }
   .chariti-body .chariti-main-menu-right-button.chariti-button-1{
    margin-left: 0px !important;
   }
   .chariti-header-style-plain.chariti-style-menu-left .chariti-main-menu-right-wrap{
    margin-left: 0px !important;
   }
   .chariti-main-menu-right-button{
    padding: 9px 5px 12px !important;
   }
   .chariti-navigation .chariti-main-menu{
        margin-left: 0px !important;
   }
   .chariti-navigation.chariti-item-pdlr{
    padding-right: unset;
   }
   .chariti-navigation.chariti-item-pdlr{
    padding-left: unset;
    padding-right: unset;
   }
}

.gdlr-core-column-service-content ul, .gdlr-core-column-service-content ol {
    margin-left: 18px;
}


@media (min-width: 768px) and (max-width: 1024px){
    .home-counter .gdlr-core-pbf-element {
    height: 115px; 
    
}
}
/* Strong override: forces cards to act as equal-height flex columns */
.personnel-container .gdlr-core-personnel-list {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    min-height: 360px !important; /* adjust value to match your design */
    box-sizing: border-box !important;
}

/* Make the content wrapper fill available vertical space */
.personnel-container .gdlr-core-personnel-list-content-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important; /* important for flex children to avoid overflow */
}

/* Push social icons to the bottom */
.personnel-container .gdlr-core-personnel-list-social {
    margin-top: auto !important;
    padding-top: 12px; /* optional spacing */
}

.container-with-4-buttons .gdlr-core-button{
    height: 68px;
    align-content: center;
   }
@media (min-width: 768px) and (max-width: 1024px) {
   .container-with-3-buttons .gdlr-core-button{
    height: 90px;
    align-content: center;
   }
   .container-with-4-buttons .gdlr-core-button{
    height: 130px;
   }
}
@media (max-width: 767px) {
    
    .container-with-3-buttons .gdlr-core-button,
    .container-with-4-buttons .gdlr-core-button{
    width: 280px;
   }
}

@media (min-width: 768px) and (max-width: 833px) {
  
   #volunteer-opportunities .gdlr-core-pbf-column-content-margin{
    min-height: 445px!important;
} 
}

@media (min-width: 834px) and (max-width: 1024px) {
  
   #volunteer-opportunities .gdlr-core-pbf-column-content-margin{
    min-height: 325px!important;
} 
}


@media (min-width: 772px) and (max-width: 810px) {
  
.gdlr-core-pbf-column:has(.column-2-2) .gdlr-core-pbf-column-content-margin{
    min-height: 138px;
}
}


/* hide language switsher form top  */
.chariti-custom-wpml-flag{
    display: none;
}


/* hide author and comment from post details page */
.chariti-blog-info-comment,
.chariti-blog-info-author{
    display: none !important;
}


/* Space between Contact Form 7 fields (GoodLayers) */
.wpcf7 .gdlr-core-column-60 {
    margin-bottom: 10px !important;
}
