/* 
Theme Name: Maa Charity
Theme URI: https://www.websquare.co.uk/
Description: Maa charity is a child theme for Hello Elementor, created by Websquare team
Author: Websquare
Author URI: https://www.websquare.co.uk/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.donate-now-button{
    width:100%;
    background-color: #662D91;
    font-family: "Plus Jakarta Sans", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #662D91;
    border-radius: 28px 28px 28px 28px;
    padding: 14px 14px 14px 14px;
}
.events-donate{
  background:#ffffff;
  color: #662D91;
}
.donate-now-button:hover{
    background-color: #FFFFFF;
    color: #662D91;
    border-color: #662D91;
}
.donate-now-button:focus{
    background-color: #662D91;
    border-color: #662D91;
}

.donation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999; /* Ensure popup is above other elements */
  }
  
  .popup-content {
    background-color: #fff;
    padding:20px;
    width: 80%; /* Adjust width as needed */
    max-width: 600px; /* Set a maximum width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px; /* Optional: rounded corners */
    height:auto;
    max-height: 630px;
    overflow: auto;
  }
  
  .popup-content button {
    position: relative;
    top: 0px;
    left: 95%;
    outline: none;
    border: 0px;
    color: #000000;
    font-family: "Jost", Sans-serif;
    font-size: 16px;
    font-weight: bold;
  }
  .popup-content button:hover, .popup-content button:focus{
    background: unset;
  }
  
  #quick_donation{
    font-family: "Jost", Sans-serif;
      font-size: 20px;
      font-weight: 700;
      fill: #FFFFFF;
      color: #FFFFFF;
      border:0;
  }
  #quick_donation:hover, #quick_donation:focus{
    background-color: unset;
    outline: none;
  }
  .quick-donation-bar {
      display: flex;
      justify-content: center;
      gap: 10px;
  }
  .quick-donation-bar select, 
  .quick-donation-bar input{
    font-family: "Plus Jakarta", Sans-serif;
    font-size: 18px;
    font-weight: 500;
  }
  .quick-donation-bar select, 
  .quick-donation-bar input, 
  .quick-donation-bar button {
      padding: 15px;
      outline:none;
  }
  .quick-donation-bar button{
    background-color: #A00A27;
    color:#ffffff;
    font-family: "Plus Jakarta", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    border:#A00A27;
  }
  .quick-donation-bar button:hover{
    background-color: #A365CC;
    color: #26003A;
    border:#A365CC;
  }
  /* Popup Modal Styles */
  .givewp-popup-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}
.givewp-popup-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
}
.givewp-popup-close {
    position: absolute;
    top: 0px;
    right: 8px;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
}
.givewp-popup-close:hover {
    color: #000;
}
  @media only screen and (max-width: 1440px) {
    .donation-popup {
      top: 0px;
    }
    .popup-content {
    height:auto;
    max-height: 550px;
    overflow: auto;
  }
  }
  
  @media only screen and (max-width: 1024px) {
    .popup-content {
      height:auto;
      max-height: 800px;
      overflow: auto;
    }
  }

  @media only screen and (max-width: 600px) {
    .modal-content{
      width:96%;
    }
    .popup-content {
      width: 95%; /* Adjust width as needed */
    }
  }
  .no-scroll {
    overflow: hidden;
  }



  /* checkout input fields */ 

form input[type="text"], form input[type="password"], form input[type="email"], form input[type="url"], form input[type="date"], form input[type="month"], form input[type="time"], form input[type="datetime"], form input[type="datetime-local"], form input[type="week"], form input[type="number"], form input[type="search"], form input[type="tel"], form input[type="color"], form select, form textarea {
  display: inline-block;
  min-height: 40px;
  width: 100%;
  margin-top:10px;
  font-size: 14px;
  line-height: 1.8;
  padding: 6px 12px;
  vertical-align: middle;
  background-color: transparent;
  /* border-radius: 20px; */
  font-family: "Plus Jakarta Sans", Sans-serif;
  color: #333 !important;
  border: 1px solid #ddd;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 20px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}


/*-----GIVE WP Changes-----*/


/*Form Title*/

@media only screen and (max-width: 768x){

.single .entry-title {

font-size: 1em;
text-align: center;


}
}	
.single .entry-title {

font-family: "Plus Jakarta Sans", Sans-serif !important;
margin: 0 0 25px;
}

[id*=give-form] .give-form-title {
  padding: 0;
  margin: 0 0 25px;
  text-align: center!important;
}

/* Currency box */

form[id*=give-form] .give-donation-amount .give-currency-symbol {

padding: 2px 30px 36px 20px;
border-radius: 25px 0px 0px 25px;
background-color: #662D91;
color:#fff;
border-color:#662D91;
font-weight:400;
border-width:1px;
margin-left:5px;
width:5%;
}	

@media only screen and (max-width: 768x){

form[id*=give-form] .give-donation-amount .give-currency-symbol {
  
  width:10%;
  margin-left:5%;
  
}

}

/* amount box */

form[id*=give-form] .give-donation-amount #give-amount, form[id*=give-form] .give-donation-amount #give-amount-text {

border-radius: 0px 25px 25px 0px;
border-left-color:#662D91;
width:66%;
}	

form[id*=give-form] .give-donation-amount #give-amount, form[id*=give-form] .give-donation-amount #give-amount-text.form-row input[type=tel]:focus {



}

@media only screen and (max-width: 768x){

form[id*=give-form] .give-donation-amount #give-amount, form[id*=give-form] .give-donation-amount #give-amount-text {
  
  width:80%;
  margin-right:5%
}

}

/* donation levels */

.give-btn {

background-color:#662D91;
color:#fff;
border-color:#662D91;
font-weight: 400;
border-radius: 28px;
padding: 10px 15px;
font-size:16px;
margin-left: 5px;
margin-top:5px;
  transition: .35s ease-in-out
}

[id*=give-form] .give-recurring-donors-choice label {
  
  font-weight:400;
  font-size: 16px;

}

[id*=give-form] .give-recurring-donors-choice-period {

  padding: 3px 10px 3px 12px;

}

.give-btn:hover {

background-color:#764BA2;
color:#fff;
border-color:#764BA2;

}

/* recurring donation line */

[id*=give-form] .give-recurring-donors-choice {

padding-top:10px;

}

[id*=give-form] .give-recurring-donors-choice input[type="checkbox"] {
  margin: 0 3px 0 1.1em;

}	



/* form label */

#give-recurring-form .form-row label, form.give-form .form-row label, form[id*=give-form] .form-row label {

font-weight:400;
padding-left:2px;

}

/* form fields */

form[id*=give-form] select.give-select-level {

border-radius: 20px;
padding: 0 10px;

}


[id*=give-form] fieldset {

border-radius: 30px;
padding-left: 1em;

}


#give-recurring-form .form-row input[type=email], #give-recurring-form .form-row input[type=password], #give-recurring-form .form-row input[type=tel], #give-recurring-form .form-row input[type=text], #give-recurring-form .form-row input[type=url], #give-recurring-form .form-row select, #give-recurring-form .form-row textarea, form.give-form .form-row input[type=email], form.give-form .form-row input[type=password], form.give-form .form-row input[type=tel], form.give-form .form-row input[type=text], form.give-form .form-row input[type=url], form.give-form .form-row select, form.give-form .form-row textarea, form[id*=give-form] .form-row input[type=email], form[id*=give-form] .form-row input[type=password], form[id*=give-form] .form-row input[type=tel], form[id*=give-form] .form-row input[type=text], form[id*=give-form] .form-row input[type=url], form[id*=give-form] .form-row select, form[id*=give-form] .form-row textarea {

border-radius: 20px;
padding-left: 1em;
font-weight:400;
transition: ease-in-out, border-color .35s ease-in-out, box-shadow .35s ease-in-out;

}

/* fields while active */

#give-recurring-form .form-row input[type=email]:focus, #give-recurring-form .form-row input[type=password]:focus, #give-recurring-form .form-row input[type=tel]:focus, #give-recurring-form .form-row input[type=text]:focus, #give-recurring-form .form-row input[type=url]:focus, #give-recurring-form .form-row select:focus, #give-recurring-form .form-row textarea:focus, form.give-form .form-row input[type=email]:focus, form.give-form .form-row input[type=password]:focus, form.give-form .form-row input[type=tel]:focus, form.give-form .form-row input[type=text]:focus, form.give-form .form-row input[type=url]:focus, form.give-form .form-row select:focus, form.give-form .form-row textarea:focus, form[id*=give-form] :focus.form-row input[type=email]:focus, form[id*=give-form]:focus .form-row input[type=password]:focus, form[id*=give-form]:focus .form-row input[type=tel]:focus, form[id*=give-form]:focus .form-row input[type=text]:focus, form[id*=give-form]:focus .form-row input[type=url]:focus, form[id*=give-form]:focus .form-row select:focus, form[id*=give-form]:focus .form-row textarea:focus {

border-color:#3498db;
 -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.16);
}


[id*=give-form] fieldset #give_cc_fields {

border-radius: 20px;

}


/* credit card fields */

.form-row .give-stripe-cc-field {
  box-sizing: border-box;
  width: 100%;
  font-family: "Plus Jakarta Sans", Sans-serif !important;
  border-radius: 25px;
  outline: none;
  color: #333;
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  margin: 0;
  padding: 12px 1em;

}

/* donor anonymous option*/

give-recurring-form .form-row:last-child, form.give-form .form-row:last-child, form[id*=give-form] .form-row:last-child {
margin-top:20px;  
margin-bottom: 8px;
}

/* fee recovery */

form[id*=give-form] .give_fee_mode_checkbox {
margin-left:1.325em!important;

}

form[id*=give-form] .give-fee-message {
  display: inline-block;
  clear: both;
  width: 100%;
  font-weight: 500!important;
}


/* Gift aid explaination popup */

.give-modal.mfp-ready .mfp-content {
  padding: 30px 40px;
  opacity: 1;
  transform: translateY(0);
border-radius:25px;
}

.mfp-close-btn-in .mfp-close {
  color: #333;
  padding: 10px 20px 0 0;
}


form[id*=give-form] #give-gift-aid-checkbox-label-wrap-6480.form-row-responsive{

margin-bottom: 0px!important;

}

/* Gift Aid Address fields */

form.give-form .form-row:last-child, form[id*=give-form] .form-row:last-child {
  margin-top: 0px;
  margin-bottom: 8px;
}


/* agree to terms */

form[id*=give-form] input[type=checkbox] {
  
margin-left: 5px;

}

form[id*=give-form] #give_terms_agreement {

padding-top:20px;

}

form[id*=give-form] #give_terms_agreement label {
  font-weight:400;
  padding-bottom: 10px;

}

.give_terms_links {
  font-weight:400;
}




/* Email opt in*/

form[id*=give-form] #give_mailchimp_6634.give-mailchimp-fieldset {

    padding: 0 0 20px !important;

}

/* donation total */

form[id*=give-form] #give-final-total-wrap .give-donation-total-label {

border-radius:25px 0px 0px 25px;
padding: 7px 5% 40px 5%;
  background-color: #764BA2;
color:#fff;
border-color:#764BA2;
font-weight:400;
line-height:1.9em;
    text-transform:uppercase;
}

form[id*=give-form] #give-final-total-wrap .give-final-total-amount {

border-radius: 0px 25px 25px 0px;
border-left-color:#764BA2;
padding: 6px 5.5% 41px 4.5%;

}

@media only screen and (max-width: 768x){

form[id*=give-form] #give-final-total-wrap .give-donation-total-label {
  
  width:60%;
  margin-left: 5%;
}

form[id*=give-form] #give-final-total-wrap .give-final-total-amount {
  
  width:30%;
  margin-right: 5%;
  
}	


}

#give-recurring-modal-period-wrap {
  padding: 30px 10px 10px 10px;
  height: 35px;
  line-height: 48px;
  font-size: 16px
}

/* submit button */

@media only screen and (max-width: 768x){
  .give-submit-button-wrap .give-submit, [id^=give-user-login-submit] .give-submit {
    
    align-content: center;
    margin: 0 auto;
    
  }
}

.give-submit-button-wrap .give-submit, [id^=give-user-login-submit] .give-submit {
  float: none;
  font-size:1.4em;
  font-weight:400;
  padding:16px 30px;
  border-radius:30px;
  margin:0 auto 20px auto;
  letter-spacing:0.5px;
}

form[id*=give-form] input[type="submit"]{

width:100%;
}	

form[id*=give-form] input[type="submit"]:hover{
    background-color: #fff;
  color: #3498db;
}	

