/* --------------------------------------------------
   Legacy file
   See LEGACY-FILES.md for details
   -------------------------------------------------- */

#donations {
    width: 100%;
    text-align: center;
}

#donationsHeader {
    font: normal normal bold 32px/44px Eames Century Modern;
    color: #FFFFFF;
    background-image: url('/assets/images/pages/donations/bg_green@2x.jpg');
    background-size: cover;
    padding: 63px 30px 55px;
    margin: 0;
}

#donationsInner {
    margin: 62px auto 0;
}

#donationsInner.active {
    display: none;
}

.donationsSubheader {
    color: var(--color-green);
    font: normal normal bold 24px/32px Eames Century Modern;
    margin: 41px auto 0;
    max-width: 970px;
}

.donationsInfo {
    color: #494949;
    font: normal normal normal 16px/24px Rebrand;
    margin: 15px auto 0;
    max-width: 970px;
}

#donationsInnerBottom {
    margin: 83px auto 0;
    padding: 69px 30px 93px;
    background-color: #F7F7F7;
}


#donationsForm {
    margin: 41px auto 0;
    max-width: 364px;
    width: 100%;
}

#donationsForm .error {
    border-color: #E0564C;
    font-weight: normal;
    color: #494949;
}

#donationsForm .error + label {
    color: #E0564C;
}

#donationsForm input:focus, #donationsForm select:focus, #donationsForm textarea:focus {
    outline: 1px solid #95CA57;
}

#donationsForm .error:focus {
    outline: 1px solid #E0564C;
}

.floatingLabelSelect {
    margin-bottom: 14PX;
    position: relative;
}

.floatingLabelSelect select {
    appearance: none;
    background-image: url('/assets/images/pages/donations/select_arrow.svg');
    background-size: 10px;
    background-repeat: no-repeat;
    background-color: white;
    background-position: calc(100% - 18px);
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid #CBCBCB;
    font-size: 16px;
    color: #494949;
}

.floatingLabelSelect select:not(:invalid) + label {
    top: 10px;
    font-size: 11px;
}

.floatingLabelSelect label::after {
    content: attr(data-label);
    opacity: 1;
}

.floatingLabelSelect label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    transition: 200ms;
    line-height: 15px;
    pointer-events: none;
    color: #494949;
}


.floatingLabelInput {
    margin-bottom: 14PX;
    position: relative;
}


.floatingLabelInput input {
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid #CBCBCB;
    font-size: 16px;
    color: #494949;
    background-color: white;
}

.floatingLabelInput label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    transition: 200ms;
    line-height: 15px;
    pointer-events: none;
    color: #494949;
}

.floatingLabelInput label::after {
    content: attr(data-label);
    opacity: 1;
}

.floatingLabelInput input:not(:placeholder-shown) + label, .floatingLabelInput input:focus + label {
    top: 10px;
    font-size: 11px;
}

.floatingLabelTextArea {
    margin-top: 14px;
    position: relative;
}

.floatingLabelTextArea textarea {
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid #CBCBCB;
    font-size: 16px;
    color: #494949;
    background-color: white;
}

.floatingLabelTextArea textarea:not(:placeholder-shown) + label, .floatingLabelTextArea textarea:focus + label {
    top: 3px;
    font-size: 11px;
}

.floatingLabelTextArea label {
    position: absolute;
    top: 14px;
    left: 16px;
    transition: 200ms;
    line-height: 15px;
    pointer-events: none;
    color: #494949;
}

.floatingLabelTextArea label::after {
    content: attr(data-label);
    opacity: 1;
}

#donationsFormBtn {
    max-width: 364px;
    margin: 39px auto;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background-color: var(--color-green);
    color: white;
    border-radius: 6px;
    text-transform: uppercase;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 45px;
    appearance: none;
    cursor: pointer;
    width: 100%;
    line-height: 24px;
}

#donationsFormBtn:hover {
    background-color: #95CA57;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(100%) brightness(20%) sepia(100%) saturate(100000%) hue-rotate(120deg);
    font-size: 24px;
}

#donationsConfirm {
    display: none;
}

#donationsConfirm.active {
    display: block;
    margin: 54px auto 652px;
}

#donationsConfirm > h2 {
    margin: 0;
    color: var(--color-green);
    font: normal normal bold 32px/44px Eames Century Modern;
}

#donationsConfirm > p {
    margin: 0;
    color: #494949;
    font: normal normal normal 16px/24px Rebrand Txt;
}

@media (max-width: 800px) {

    #donationsInner {
        margin: 30px auto 0;
    }

    #donationsInnerBottom {
        margin: 40px auto 0;
        padding: 50px 30px 20px;
    }

    .donationsSubheader,
    .donationsInfo {
        max-width: 300px;
    }

    #donationsConfirm.active {
        margin: 54px auto 300px;
    }

}