﻿.sticky-scope {
    position: relative;
    overflow: visible;
    height: auto;
}

.cbf-fundraise-details {
    position: relative;
    top: 0;
    padding: 15px 0;
}

.cbf-fundraise-details-sticky {
    position: fixed !important;
    top: 153px !important;
    z-index: 10;
    padding: 15px 0;
    left: 0;
    right: 0;
}

@media (max-width: 1300px) {
    .cbf-fundraise-details-sticky {
        top: 136px !important;
    }
}

@media (max-width: 1200px) {
    .cbf-fundraise-details-sticky {
        top: 128px !important;
    }
}

@media (max-width: 768px) {
    .cbf-fundraise-details-sticky {
        top: 112px !important;
    }
}

.donation-section h3 {
    font-weight: 800 !important;
    font-size: 30px !important;
    font-family: Montserrat !important;
    margin-bottom: 0 !important;
}

.progress {
    height: 24px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.1);
    margin-bottom: 0 !important;
}

.progress-bar {
    background: var(--cbf-purple-1000) !important;
    border-radius: 20px;
}

.donation-section .btn-primary-purple {
    border-color: var(--cbf-purple-1000) !important;
}

.donation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-only {
    display: none;
}

.target {
    margin-top: 0px !important;
}

.target-sticky {
    display: none;
}

.cbf-fundraise-details-sticky .donation-section h3 {
    margin-top: 0;
    font-size: 20px !important;
}

.cbf-fundraise-details-sticky .donation-section .target-normal {
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    .donation-row {
        margin-top: 15px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .target {
        margin-top: 10px !important;
    }

    .cbf-fundraise-details-sticky {
        padding-bottom: 0px !important;
    }

    .cbf-fundraise-details-sticky .donation-row {
        margin-top: 0px !important;
    }

    .cbf-fundraise-details-sticky .target-sticky {
        display: block !important;
        font-size: 16px !important;
        line-height: 18px;
        margin-bottom: 0;
        padding-bottom: 0px !important;
    }

    .cbf-fundraise-details-sticky .desktop-only {
        display: block;
    }

        .cbf-fundraise-details-sticky .desktop-only .btn-scroll {
            font-size: 14px !important;
            padding: 12px 10px !important;
            margin-top: -12px !important;
        }

    .cbf-fundraise-details-sticky .donation-section h3 {
        display: none !important;
    }

    .cbf-fundraise-details-sticky .target-normal {
        display: none !important;
    }

    .cbf-fundraise-details-sticky .mobile-only  {
        display: none;
    }
}
