/*switch-field*/
.switch-field {
    display: flex;
    overflow: hidden;
}

.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field label {
    background-color: #e4e4e4;
    color: rgba(0, 0, 0, 0.6);
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    padding: 12px 50px;
    margin-right: -1px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.1s ease-in-out;
}

.switch-field label:hover {
    cursor: pointer;
}

.switch-field input:checked + label {
    background-color: #317d8f;
    color: #ffffff;
    box-shadow: none;
}

.switch-field label:first-of-type {
    border-radius: 15px 0 0 15px;
}

.switch-field label:last-of-type {
    border-radius: 0 15px 15px 0;
}

/* pill-field */

.pill-field {
    display: flex;
    margin-bottom: 36px;
    overflow: hidden;
}

.pill-field input[type="radio"] {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.pill-field label {
    background-color: #e4e4e4;
    color: rgba(0, 0, 0, 0.6);
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    padding: 8px 24px;
    margin: 0px 10px 0px 0px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.1s ease-in-out;
    align-items: center;
    display: flex;
}

.pill-field label:hover {
    cursor: pointer;
}

.pill-field input:checked + label {
    background-color: #317d8f;
    color: #ffffff;
    box-shadow: none;
}

.pill-field .other-amount {
    border: 1px solid #acb4bc;
    border-radius: 0.25rem;
    width: 35% !important;
}

.pill-field .other-amount .input-group-text, .pill-field .other-amount input {
    background-color: transparent;
    border: 0;
}

.pill-field .other-amount input:focus {
    outline: none;
    box-shadow: none;
}

.pill-field .other-amount .input-group-text {
    padding: 0.3rem 0.75rem;
}

.fs-70 {
    font-size: 70%;
}

div#securepay-ui-container iframe {
    width: 100% !important;
    border: 0;
}

.donation-wrapper {
    position: relative;
}

.donate-cta {
    position: absolute;
    left: 18%;
    bottom: 7%;
    z-index: 14;
}

.donation-wrapper.form-overlay .donation-form-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 21%;
    z-index: 11;
}


/* 08/07/21 */
.bg-img {
    background-repeat: no-repeat;
    background-size: cover;
    height: 580px;
}

.donation-form {
    border-radius: 25px;
    padding: 30px 25px;
    box-sizing: border-box;
    -webkit-box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.1);
    z-index: 9;
}

.donate-banner .donation-form-wrapper > .row {
    justify-content: flex-end;
}

.donate-banner .donation-form-wrapper .donation-form {
    flex: 0 0 50%;
    max-width: 50%;
}

.emergency-appeal h1, .emergency-appeal h2 {
    /*font-size: 28px;*/
    color: #ffffff;
    line-height: 62px;
    font-weight: 700;
}

.emergency-appeal h3, .emergency-appeal h4, .emergency-appeal h5 {
    color: #ffffff;
}

.emergency-appeal {
    padding-bottom: 50px;
}

.switch-field label {
    width: 50%;
}

.form-group > label {
    font-weight: 600;
}

.switch-field label:first-of-type {
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
}

.switch-field label:last-of-type {
    border-top-right-radius: 35px;
    border-bottom-right-radius: 35px;
}

.donation-form button {
    border-radius: 25px;
    padding: 0.5rem 0.9rem;
    font-size: 15px;
}

.red-btn img {
    filter: brightness(0) invert(1);
}

button img {
    width: 21px;
    margin-right: 8px;
}

.outline-btn {
    border-color: #ab0537;
    background-color: transparent;
    color: #ab0537;
}

.outline-btn:hover {
    background-color: transparent;
    color: #ab0537;
}

.card-container {
    padding-bottom: 100px;
}

.grecaptcha-badge {
    bottom: 100px !important;
}

.outline-btn:hover img {
    filter: brightness(0) invert(1);
}

accordion-toggle:hover {
    text-decoration: none;
}


/* Responsive styles */
/* // X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .donation-form button {
        padding: 0.7rem 0.5rem;
        font-size: 15px;
        width: 100% !important;
    }

    .switch-field label {
        padding: 12px 10px;
    }

    .pill-field label {
        margin: 0px 5px 0px 0px;
        padding: 12px 12px;
    }

    .donation-form {
        padding: 25px 20px;
        margin-top: -150px;
    }

    button img {
        width: 19px;
        margin-right: 5px;
    }

    .hero-banner .text-overlay {
        position: unset;
        padding: 0;
    }

    .emergency-appeal h1, .emergency-appeal h2 {
        /*font-size: 21px;*/
        line-height: 40px;
    }

    .emergency-appeal {
        text-align: center;
        position: absolute;
    }

    .outline-btn {
        margin-top: 15px;
    }

    .bg-img {
        height: 340px;
    }

    .step2 h4 {
        font-size: 19px;
    }

    .card-container {
        margin-top: 30px;
        padding-bottom: 50px;
    }

    .card {
        margin-bottom: 20px;
    }

    .form-control {
        padding: 0.5rem 0.75rem;
    }

    .donate-cta {
        left: 30%;
        bottom: unset;
        top: 12%;
    }

    .donate-banner .donation-form-wrapper .donation-form {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .donation-wrapper.form-overlay .donation-form-wrapper {
        position: unset;
    }

    .donation-form-wrapper > .row {
        margin-left: unset;
        margin-right: unset;
    }

    .pill-field {
        flex-wrap: wrap;
    }

    .pill-field label {
        width: 32%;
    }

    /* .pill-field label[for=amount-300-once]{
        margin-right: 0;
    } */
    .pill-field label:nth-child(6) {
        margin-right: 0;
    }

    .pill-field .other-amount {
        width: 100% !important;
    }

    .pill-field .other-amount {
        margin-top: 15px;
    }
}

/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .donate-cta {
        left: 30%;
        bottom: unset;
        top: 12%;
    }

    .donation-form button {
        padding: 0.7rem 0.5rem;
        font-size: 15px;
        width: 100% !important;
    }

    .donation-form {
        padding: 30px 20px;
        margin-top: -200px;
    }

    button img {
        width: 19px;
        margin-right: 5px;
    }

    .emergency-appeal h1, .emergency-appeal h2 {
        font-size: 25px;
        line-height: 32px;
    }

    .emergency-appeal {
        padding-bottom: 30px;
        text-align: center;
    }

    .outline-btn {
        margin-top: 15px;
    }

    .bg-img {
        height: 400px;
    }

    .step2 h4 {
        font-size: 19px;
    }

    .card-container {
        margin-top: 30px;
        padding-bottom: 50px;
    }

    .card {
        margin-bottom: 20px;
    }

    .donate-banner .donation-form-wrapper .donation-form {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .donation-wrapper.form-overlay .donation-form-wrapper {
        position: unset;
    }

    .pill-field .other-amount {
        width: 100% !important;
    }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .donation-form button {
        padding: 0.7rem 0.5rem;
        font-size: 15px;
        width: 100% !important;
    }

    .donation-form {
        padding: 30px 20px;
    }

    button img {
        width: 19px;
        margin-right: 5px;
    }

    .emergency-appeal h1, .emergency-appeal h2 {
        font-size: 21px;
        line-height: 30px;
    }

    .emergency-appeal {
        padding-bottom: 30px;
    }

    .outline-btn {
        margin-top: 15px;
    }

    .card-container {
        margin-top: 30px;
        padding-bottom: 50px;
    }

    .bg-img {
        height: 500px;
    }

    .donate-banner .donation-form-wrapper .donation-form {
        flex: 0 0 65%;
        max-width: 65%;
    }

    .donation-wrapper.form-overlay .donation-form-wrapper {
        top: 5%;
    }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .donation-form button {
        padding: 0.7rem 0.5rem;
        font-size: 15px;
        width: 215px !important;
    }

    .donation-form {
        padding: 30px 20px;
        margin-top: -10px;
    }

    button img {
        width: 19px;
        margin-right: 5px;
    }
}

/* // Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1400.98px) {

}

/* // For 2k Monitors, (more than 1401 px) */
@media (min-width: 1401px) and (max-width: 1599.98px) {

}

@media (min-width: 1600px) and (max-width: 2559.98px) {

}

@media (min-width: 2560px) {

}
