/* Hide the actual form fields. */

#wp-block-team51-donations-block__recurring-checkbox,
#wp-block-team51-donations-block__amount {
    display: none;
}

#custom-donation-block-wrapper {
    max-width: 425px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #ffdd00;
}

#custom-donation-block-wrapper .custom-donation__body {
    padding: 25px;
    padding-top: 0;
}

#custom-donation-block-wrapper .custom-donation__header {
    padding: 15px 8px;
    background-color: #ffdd00;
    font-size: 18px;
    color: #000;
    padding-left: calc(14.04% + 8px);
}

#custom-donation-block-wrapper .body-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#custom-donation-block-wrapper .body-row.custom-donation__submit {
    margin: 15px 0;
}

#custom-donation-block-wrapper button,
#custom-donation-block-wrapper input[type='submit'] {
    border-radius: 3px;
    border: 1px solid #ffdd00;
}

#custom-donation-block-wrapper input[type='submit'] {
    width: 97%;
    color: black;
}

#custom-donation-block-wrapper .custom-donation__type button:first-of-type {
    border-radius: 3px 0px 0px 3px;
    border-right: 1px solid #ffdd00;
    border-left: 1px solid #ffdd00;
}

#custom-donation-block-wrapper .custom-donation__type button {
    background-color: white;
    border-radius: 0px 3px 3px 0px;
    border-left: 1px solid #ffdd00;
    color: #000;
    padding: 15px 10px;
    font-weight: 500;
}

#custom-donation-block-wrapper .custom-donation__type button.active {
    background-color: #ffdd00;
}

#custom-donation-block-wrapper .custom-donation__type {
    padding: 10px;
    margin-top: 10px;
}

#custom-donation-block-wrapper .custom-donation__monthly-notice {
    min-height: 50px;
    padding: 10px;
}

#custom-donation-block-wrapper .custom-donation__monthly-notice p,
#custom-donation-block-wrapper .custom-donation__monthly-notice div {
    /* Hide by defualt. */
    display: none;
}

#custom-donation-block-wrapper .custom-donation__preset-values {
    justify-content: space-evenly;
}

#custom-donation-block-wrapper .custom-donation__preset-values button {
    width: 30%;
    background-color: white;
    border-color: #a7a7a7;
    padding: 0;
    height: 100%;
    font-size: 20px;
    line-height: 60px;
    font-weight: 300;
    color: #4C4C4C;
    text-align: center;
    border: 1px solid #C4C3C3;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#custom-donation-block-wrapper .custom-donation__custom_amount {
    position: relative;
    padding: 20px 0px;
}

#custom-donation-block-wrapper #custom-donation__currency {
    position: absolute;
    top: 22px;
    left: 8%;
    font-size: 15px;
    line-height: 60px;
    font-weight: 300;
    color: #4C4C4C;
    text-align: center;
}

#custom-donation-block-wrapper #donationValue {
    font-weight: 100;
    color: #615f5e;
    line-height: 40px;
    border-color: #a7a7a7;
    width: 97%;
    line-height: 40px;
    font-size: 25px;
    font-weight: 100;
    color: #615f5e;
    line-height: 40px;
    padding-left: 40px;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
    box-sizing: border-box;
    transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
    width: 97%;
    height: 60px;
    font-size: 20px;
    color: #4C4C4C;
    border: 1px solid #C4C3C3;
    background-color: #fff;
    padding: 20px 25px 14px 31px;
    padding-left: 37px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

#custom-donation-block-wrapper .custom-donation__custom_amount p:nth-child(2) {
    width: 100%;
    text-align: center;
}


/* Tool tip for monthly */

#monthly-tool-tip {
    position: relative;
    border: 1px solid #7A7A7A;
    width: 13px;
    border-radius: 100%;
    height: 13px;
    margin-left: 5px;
    margin-top: 3.5px;
}

#monthly-tool-tip::after {
    position: absolute;
    font-size: 9px;
    line-height: 12px;
    content: '?';
    color: #7A7A7A;
    width: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#monthly-tool-tip-content {
    display: none;
    width: 200px;
    z-index: 999;
    background: rgba(97, 97, 97, 0.9);
    border-radius: 2px;
    max-width: 170px;
    padding: 8px;
    text-align: center;
    position: absolute;
}

#monthly-tool-tip-content p {
    margin: 0;
    color: rgb(255, 255, 255);
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
}

.currency_symbol {
    font-size: 15px;
    margin-right: 4px;
}