File: /var/www/bharti-foundation.stgviitor.com/wp-content/themes/lifeline-child/style.css
/*
Theme Name: Lifeline Child
Theme URI: http://themes.webinane.com/wp/lifelin2
Description: Child theme for Lifeline Charity NGO WordPress Theme.
Author: Webinane
Author URI: http://themeforest.net/user/webinane
Template: lifeline
Version: 1.0.0
Text Domain: lifeline-child
*/
/* Container & Section */
/* Container & Section */
.loader{
background-color: #e989bc;
}
.webinane-el-nav-menu--layout-horizontal {
display: flex;
padding-bottom: 0 !important;
}
.recurring-donate-form-section {
padding: 60px 15px;
background-color: transparent !important;
/* 1) Removed grey background */
font-family: 'Inter', sans-serif;
}
.recurring-donate-title {
margin-bottom: 40px;
}
.recurring-donate-title h2 {
font-size: 38px;
font-weight: 700;
color: #1a2b4c;
margin: 0;
}
/* Form Card */
#recurring_plan {
background: #ffffff;
padding: 45px;
border-radius: 16px;
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
margin: 0 auto;
border: 1px solid rgba(0, 0, 0, 0.03);
}
/* Form Inputs */
.donation-form .form-group {
margin-bottom: 25px;
}
.donation-form label {
font-weight: 600;
margin-bottom: 8px;
display: inline-block;
color: #344054;
font-size: 0.95rem;
}
.donation-form .aestrick {
color: #e53e3e;
margin-left: 4px;
}
.donation-form .form-control {
width: 100%;
padding: 12px 18px;
border: 1.5px solid #d0d5dd;
border-radius: 8px;
font-size: 16px;
color: #101828;
background-color: #fff;
transition: all 0.3s ease;
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}
.donation-form .form-control:focus {
border-color: #e91e63;
box-shadow: 0 0 0 4px rgba(242, 102, 34, 0.15);
outline: none;
}
.recurring_error_sec {
color: #e53e3e;
font-size: 16px;
margin-top: 6px;
min-height: 20px;
font-weight: 500;
}
/* Donation Plans Block */
.plan-group-block {
list-style: none;
padding: 0;
margin: 35px 0;
display: flex;
flex-wrap: wrap;
gap: 25px;
}
.plan-item {
flex: 1;
min-width: 320px;
border: 2px solid #eaecf0;
border-radius: 12px;
padding: 30px;
transition: all 0.3s ease;
background: #ffffff;
position: relative;
}
.plan-item.selected {
border-color: #e91e63;
box-shadow: 0 8px 24px rgba(242, 102, 34, 0.08);
}
.plan-item.selected::after {
content: '';
position: absolute;
top: -2px;
left: -2px;
width: calc(100% + 4px);
height: 12px;
background-color: #e91e63;
border-radius: 12px 12px 0 0;
}
.plan-radio-btns {
margin-bottom: 25px;
margin-right: 25px;
}
#period_sec .plan-radio-btns {
margin-bottom: 0;
}
.plan-radio-btns .d-flex {
align-items: flex-start !important;
}
/* Custom Radios */
.custom-input-control {
appearance: none !important;
-webkit-appearance: none;
width: 22px !important;
height: 22px !important;
border: 2px solid #d0d5dd !important;
border-radius: 50% !important;
margin-right: 12px !important;
position: relative !important;
cursor: pointer !important;
background: #fff !important;
flex-shrink: 0 !important;
margin-top: 2px !important;
}
.custom-input-control:checked {
border-color: #e91e63 !important;
background-color: #e91e63 !important;
}
.custom-input-control:checked::before {
content: '' !important;
position: absolute !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
width: 8px !important;
height: 8px !important;
background: #ffffff !important;
border-radius: 50% !important;
}
.custom-input-label {
cursor: pointer !important;
display: flex !important;
align-items: flex-start !important;
margin: 0 !important;
}
p.plan-name {
font-size: 18px !important;
font-weight: 700 !important;
color: #101828 !important;
margin: 0 !important;
display: flex !important;
align-items: baseline !important;
flex-wrap: wrap !important;
gap: 6px !important;
line-height: 1.2 !important;
}
span.plan-desc {
font-size: 14px !important;
color: #667085 !important;
font-weight: 400 !important;
margin-left: 0 !important;
}
/* Plan Amounts and Counter */
.plan-item-block .plan-amount,
.plan-item-block .plan-members {
display: flex;
justify-content: space-between;
align-items: center;
background: #f9fafb;
padding: 16px 20px;
border-radius: 8px;
margin-bottom: 15px;
border: 1px solid #eaecf0;
}
.plan-item-block .plan-members {
margin-bottom: 0;
}
.plan-label-title {
font-size: 14px;
text-transform: uppercase;
font-weight: 700;
color: #344054;
margin: 0 0 4px 0 !important;
letter-spacing: 0.5px;
}
.plan-label-des {
font-size: 13px;
color: #667085;
margin: 0;
}
/* ====================
2) FIX: AMOUNT INPUT OVERLAPPING
==================== */
.plan-price.custom-select-control {
position: relative !important;
width: auto !important;
min-width: 140px !important;
}
.custom-input-select.form-control {
display: flex !important;
align-items: center !important;
padding: 0 60px 0 12px !important;
/* Pushes content left, leaves huge static room for 'Per Day' */
height: 45px !important;
background: #fff !important;
border: 1.5px solid #d0d5dd !important;
border-radius: 8px !important;
}
/* Make symbol inline and static so it aligns beautifully left */
.currency-text {
position: static !important;
transform: none !important;
font-weight: 600 !important;
color: #101828 !important;
font-size: 16px !important;
margin-right: 6px !important;
}
/* Select element flexes perfectly in remaining space */
.custom-input-select select {
flex-grow: 1 !important;
width: 100% !important;
border: none !important;
background: transparent !important;
font-size: 16px !important;
font-weight: 700 !important;
color: #101828 !important;
padding: 0 !important;
margin: 0 !important;
cursor: pointer !important;
appearance: none !important;
-webkit-appearance: none !important;
-moz-appearance: none !important;
outline: none !important;
box-shadow: none !important;
text-align: center !important;
}
/* 'Per Day' mapped securely outside the input */
p.day-text.position-absolute {
position: absolute !important;
right: 12px !important;
top: 50% !important;
transform: translateY(-50%) !important;
pointer-events: none !important;
font-weight: 500 !important;
font-size: 13px !important;
color: #667085 !important;
margin: 0 !important;
line-height: 1 !important;
}
/* Fix: Counter Inputs Constraints */
.custom-input-counter {
display: flex;
align-items: center;
background: #fff;
border-radius: 8px;
border: 1.5px solid #d0d5dd;
overflow: hidden;
height: 45px !important;
}
.custom-input-counter span {
width: 36px;
height: 100% !important;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
background: #f9fafb;
font-weight: 600;
color: #344054;
font-size: 18px;
user-select: none;
transition: background 0.2s ease;
}
.custom-input-counter span:hover {
background: #eaecf0;
}
.custom-input-counter input {
width: 45px;
height: 100% !important;
border: none;
border-left: 1.5px solid #d0d5dd;
border-right: 1.5px solid #d0d5dd;
text-align: center;
font-weight: 600;
background: #fff;
font-size: 16px;
color: #101828;
}
/* Timeframe Box Alignment */
.plan-timeframe-block {
background: #f9fafb;
padding: 24px 30px;
border-radius: 12px;
margin-bottom: 35px;
border: 1px solid #eaecf0;
display: flex !important;
align-items: center !important;
justify-content: space-between;
flex-wrap: wrap !important;
gap: 20px;
}
.form-title-wrapper {
display: flex !important;
align-items: center !important;
gap: 15px !important;
}
.pay-text,
.payfor-text {
font-size: 16px !important;
font-weight: 700 !important;
color: #344054 !important;
margin: 0 !important;
}
.custom_radio_period {
padding-right: 15px;
}
.custom_radio_period label.custom-input-label {
align-items: center !important;
}
.custom_radio_period input[type="radio"] {
appearance: none !important;
-webkit-appearance: none;
width: 20px !important;
height: 20px !important;
border: 2px solid #d0d5dd !important;
border-radius: 50% !important;
margin: 0 8px 0 0 !important;
position: relative !important;
cursor: pointer !important;
background: #fff !important;
}
.custom_radio_period input[type="radio"]:checked {
border-color: #e91e63 !important;
background-color: #e91e63 !important;
}
.custom_radio_period input[type="radio"]:checked::before {
content: '' !important;
position: absolute !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
width: 6px !important;
height: 6px !important;
background: #ffffff !important;
border-radius: 50% !important;
}
.custom_radio_period span.plan-name {
font-size: 16px !important;
font-weight: 600 !important;
line-height: 1 !important;
}
/* Horizontal constraint for " / Months" */
.plan-users-years .d-flex {
align-items: center !important;
}
.check_monthly_annually_text.pay_for {
font-weight: 600 !important;
color: #667085 !important;
margin-left: 10px !important;
white-space: nowrap !important;
}
/* ====================
3) FIX: TOTAL SECTION DISTORTED
==================== */
.recdonate-total-block {
border-top: 1px solid #eaecf0;
padding-top: 35px;
display: flex !important;
flex-direction: column !important;
/* Stacks inner wrappers strictly */
align-items: flex-end !important;
/* Pushes content absolutely right */
gap: 15px !important;
}
/* Make sure text shares the same baseline securely */
.total-amount-text {
display: flex !important;
align-items: baseline !important;
margin-bottom: 5px !important;
justify-content: flex-end !important;
/* Safety text-align */
}
.total-label {
font-size: 22px !important;
font-weight: 600 !important;
color: #344054 !important;
margin-right: 12px !important;
}
.amount-total {
font-size: 42px !important;
font-weight: 800 !important;
color: #1a2b4c !important;
line-height: 1 !important;
display: flex !important;
align-items: baseline !important;
}
label.check_monthly_annually {
font-size: 16px !important;
color: #667085 !important;
font-weight: 600 !important;
margin-left: 8px !important;
/* Guarantees gap before "Month" */
margin-bottom: 0 !important;
}
.total-wrapper {
width: 100% !important;
text-align: right !important;
}
.appreciate-text {
color: #00bcd4 !important;
font-weight: 600 !important;
font-size: 15px !important;
margin: 0 !important;
background: #ecfdf3 !important;
padding: 6px 16px !important;
border-radius: 20px !important;
display: inline-block !important;
}
/* Button Wrapping Fixes */
.recdonate-action-block {
display: flex !important;
flex-direction: column !important;
align-items: flex-end !important;
width: 100% !important;
}
.btn-donation {
background-color: #e91e63 !important;
color: #ffffff !important;
padding: 16px 45px !important;
font-size: 18px !important;
font-weight: 700 !important;
border-radius: 30px !important;
border: none !important;
cursor: pointer !important;
transition: all 0.3s ease !important;
box-shadow: 0 4px 10px rgba(242, 102, 34, 0.25) !important;
text-transform: uppercase !important;
display: inline-block !important;
}
.btn-donation:hover {
background-color: #00bcd4 !important;
transform: translateY(-2px) !important;
box-shadow: 0 6px 15px rgba(242, 102, 34, 0.35) !important;
color: #ffffff !important;
}
/* ====================
4) FIX: HIDDEN RAZORPAY
==================== */
.PaymentButton-Button-rzpBranding,
#razorpay-logo,
.powered-by-razorpay {
display: none !important;
}
/* Disabled styling */
input:disabled,
select:disabled {
background-color: #f2f4f7 !important;
color: #98a2b3 !important;
cursor: not-allowed !important;
}
.lif-cause-style4 {
border-radius: 20px;
}
.lif-cause-style4 figure {
border-radius: 20px 20px 0 0;
}
.lif-cause-style4 {
margin-top: 25px;
}
.res-gallery {
padding: 0;
}
.res-gallery a img {
border-radius: 20px;
height: 225px !important;
max-width: 345px;
object-fit: cover;
margin: 20px;
}
.responsive-wrapper-style1 .res-btn span span{
background-color: #e91e63;
}
.responsive-wrapper-style1 .res-btns{
border-color: #e91e63;
}
.theme-btn{
border-color: transparent;
}
.responsive-wrapper-style1 .res-btns .lifeline-donation-app .theme-btn{
padding: 6px 22px !important;
font-size: 10px !important;
}
.Volunteer-form p>.wpcf7-form-control-wrap {
display: flex;
flex-direction: column;
}
.Volunteer-form input, .connect-with-us-form input{
margin-bottom: 0;
}
.wpcf7-not-valid-tip {
font-size: 14px;
}
.Questions.or.Inquiries input[type=text], .Questions.or.Inquiries input[type=number], .Questions.or.Inquiries input[type=email]{
margin: 0;
}
.Questions.or.Inquiries .company-name p span {
padding: 10px 0px;
}
/* Mobile Responsive Overrides */
@media (max-width: 991px) {
.plan-group-block {
flex-direction: column !important;
}
.res-gallery a img {
max-width: 360px;
object-fit: cover;
padding: 10px;
margin: 0;
}
}
@media (max-width: 768px) {
#recurring_plan {
padding: 25px 20px !important;
}
.plan-timeframe-block {
flex-direction: column !important;
align-items: flex-start !important;
}
.recdonate-total-block {
align-items: center !important;
/* Stack cleanly centered over mobile */
}
.total-wrapper {
text-align: center !important;
}
.recdonate-action-block {
align-items: stretch !important;
}
.btn-donation {
width: 100% !important;
text-align: center !important;
}
.plan-item-block .plan-amount,
.plan-item-block .plan-members {
flex-direction: column !important;
align-items: flex-start !important;
gap: 15px !important;
}
.custom-select-control {
width: 100% !important;
}
.lif-cause-style4 {
margin-top: 25px;
}
.nonprofit-new-causes {
margin: 0px 10px;
padding: 0px 10px;
}
.lif_event .col-sm-12 {
padding: 0 5px;
width: 100%;
}
.res-gallery a img {
max-width: 100%;
object-fit: cover;
padding: 10px;
margin: 0;
}
.res-menu-wrapper ul.menu>li>a::after {
content: unset;
}
.res-menu-wrapper ul.menu>li>a {
padding-left: 0;
}
.qmt-review-guest-field input#author, input#email{
width: 100% !important;
}
}