/* ===============================
   CAUSE GRID CARD – FINAL FIXED
   =============================== */
 

/* Prevent cut on hover (IMPORTANT) */
 .swiper-slide { 
    margin-bottom: 25px;
}

/* Card base */
.cause-grid-item {
    position: relative;
    top: 0;
    transition: top .3s ease, box-shadow .3s ease;
}

/* Card hover */
.cause-grid-item:hover {
    top: -20px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
	margin-bottom: 25px;
}

.grid-item-inner {
    position: relative;
}

/* Title */
.grid-item-content .post-title {
    font-size: 22px;
    font-family: "Lateef", Sans-serif;
}

/* Content area */
.cause-grid-item .grid-item-content {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    background: #fff;
    position: relative;
    z-index: 2;
    margin-top: -10px;
}

/* Meta data */
.cause-grid-item .meta-data {
    margin: 10px 0 0;
    font-size: 13px;
}

/* Progress circle */
.cause-grid-item .cProgress {
    position: absolute;
    top: -30px;
    left: 50%;
    margin-left: -30px;
    z-index: 11;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 100%;
    color: #666;
    text-align: center;
}
 .predefined-amount {
  list-style: none;
  padding: 0;
  margin: 0;
}

.predefined-amount li {
  margin-bottom: 10px;
}

.predefined-amount input[type="radio"] {
  display: none;
}

.amount-label {
  display: block;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.amount-label span {
  pointer-events: none;
}

.amount-label:hover {
  border-color: #42b8d4;
}

.amount-label input[type="radio"]:checked + span {
  color: #fff;
}

.amount-label input[type="radio"]:checked ~ span, .amount-label input[type="radio"]:checked + span {
    background: #ff3333;
    padding: 7px 14px;
}

.amount-label input[type="radio"]:checked + span {
  display: block;
}

.cause-grid-item .cProgress strong {
    line-height: 60px;
    font-size: 16px;
}
.cProgress {
    position: absolute;
    top: -30px;
    left: 50%;
    margin-left: -30px;
    z-index: 11;
    width: 60px;
    background: #fff;
    border-radius: 100%;
    cursor: default;
    color: #666;
}
.cProgress canvas {
    vertical-align: top;
}
.cause-grid-item .cProgress strong {
    line-height: 60px;
    font-size: 16px;
}
.cProgress strong {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 60px;
    font-size: 16px;
}
.cProgress strong i {
    font-style: normal;
    font-size: 0.6em;
    font-weight: normal;
    margin-left: 3px;
}

.meta-data > span:last-child {
    margin-right: 0;
}

.cause-target{
	color: #42b8d4;
	    font-weight: 700;
}

.meta-data > span {
    display: inline-block;
}
/* ===============================
   DONATE BUTTON – FIXED LOGIC
   =============================== */
.event-list-item p {
    margin-bottom: 0;
    font-size: 16px;
}
/* Default hidden */
.cause-grid-item .btn {
    position: absolute;
    bottom: -45px;                /* hidden but safe */
    left: 50%;
    margin-left: -75px;
    width: 150px;
    padding-left: 10px;
    padding-right: 10px;
    opacity: 0;
    z-index: 3;

    background-color: #f12e34;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    line-height: 2.5;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 12px;
    text-decoration: none;
    border: 0;
    border-radius: 0;

    transition: all .3s ease;
}

/* Hover – show button */
.cause-grid-item:hover .btn {
    bottom: -43px;
    opacity: 1;
}

/* ===============================
   SWIPER ARROWS (HOVER ONLY)
   =============================== */

.cause-swiper .swiper-button-next,
.cause-swiper .swiper-button-prev {
    opacity: 0;
    transition: opacity .3s ease;
    color: #000;
}

.cause-swiper:hover .swiper-button-next,
.cause-swiper:hover .swiper-button-prev {
    opacity: 1;
}

/* ===============================
   POPUP
   =============================== */

.cause-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 99999;
}

.cause-popup-box {
    background: #fff;
    width: 420px;
    max-width: 90%;
    margin: 8% auto;
    padding: 25px;
    position: relative;
}

.cause-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}
.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

#DonateModal .modal-header {
    position: relative;
}
.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

#DonateModal .modal-body{
	background:#f6f6f6;
	padding-left:40px;
	padding-right:40px;
}
#DonateModal .modal-footer{
	padding-left:70px;
	padding-right:70px;
}
.donation-form-infocol:first-child label{
	line-height:30px;
}
#DonateModal .modal-dialog{
	width:800px;
}
#DonateModal .modal-header{
	position:relative;
}
#DonateModal .modal-header h4{
	margin-bottom:20px;
}
#DonateModal .modal-header .form-control{
	margin-bottom:0;
}
.donate-amount-option{
	text-align:center;
	padding-top:20px;
	padding-bottom:5px;
}
.donate-amount-option .input-group{
	width:70%;
	margin-left:15%;
}
.donation-choice-breaker{
	position:absolute;
	width:24px;
	height:24px;
	line-height:24px;
	color:#fff;
	border-radius:100%;
	left:50%;
	top:50%;
	margin:-12px 0 0 -6px;
	text-transform:uppercase;
	font-weight:700;
	text-align:center;
	font-size:11px;
	background:#ccc;
}
.predefined-amount{
	list-style-type:none;
	margin:0;
}
.predefined-amount li{
	display:inline-block;
	margin-right:5px;
}
.predefined-amount li label {
    cursor: pointer;
    border: 2px solid #f6f6f6;
    padding: 4px 8px;
    border-radius: 3px;
}
.predefined-amount li label.selected{
	color:#fff;
}
.modal-footer { 
    text-align: center !important; 
}

.modal-footer button {
    background-color: transparent !important;
    border: 1px solid #ff3333 !important;
    border-radius: 3px !important;
    color: #ff3333 !important;
    display: inline-block !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 10px 3rem !important;
    text-align: center !important;
    transition: all .3s !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
    white-space: nowrap !important;
}

.predefined-amount li input{
	display:none;
}
.donation-form-infocol:first-child{
	border-right:1px solid #e6e6e6;
}

.donation-form-infocol:first-child {
    border-right: 1px solid #e6e6e6;
}
.modal-header .close {
    margin-top: 0px;
}

.form-control{
	    margin-bottom: 15px;
}

.modal-header .close {
    position: absolute;
    right: 0px;
    top: 0px;
    background: red none repeat scroll 0% 0%;
    width: 30px;
    height: 30px;
    opacity: .8;
    color: rgb(255, 255, 255);
    text-shadow: none;
    line-height: 1;
    margin-top: 0px;
    padding: 0px;
    font-size: 15px;
    border-radius: 0 6px 0 0;
    display: block;
    z-index: 11;
}