.container.custom-donation-container {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;

    padding-left: 15px;
    padding-right: 15px;
}

/* @include medium(down); */
@media screen and (max-width: 850px) {
    .container.custom-donation-container {
        max-width: 600px;
    }
}

.custom-donation-container p {
    margin-bottom: 24px;
}

.custom-donation-form-wrapper div.primary {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.custom-donation-form-wrapper div.primary form {
    float: none;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 0;
}

/* @include medium(down); */
@media screen and (max-width: 850px) {
    .custom-donation-form-wrapper div.primary form {
        max-width: 600px;
    }
}

.custom-donation-form-wrapper div.primary form .box.credit-card,
.custom-donation-form-wrapper div.primary form .box.basic {
    margin-bottom: 0;
}

/* @include medium(down); */
@media screen and (max-width: 1023px) {
    .custom-donation-form-wrapper div.primary form.form-paypal .box {
        margin-bottom: 0;
    }

    .custom-donation-form-wrapper div.primary form.form-paypal select {
        height: 42px;
        border: 1px solid #edeff0;
    }
}

div.primary form.form-paypal .box .input {
    padding: 5px 10px;
}

.custom-donation-ft-red {
    color: #990100;
}

/* header
--------------------------------------------------------------------------------------------------------------------- */
.custom-donation-page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 60px;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.custom-donation-main-header-logo-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}

.custom-donation-header-link {
    display: block;
    line-height: 1;
    width: 100%;
    max-width: 350px;
}

.custom-main-header-logo-container .svg-first-things-logo {
    width: 100%;
}

.custom-donation-page-title {
    color: white;
    text-transform: none;
    text-align: center;
    font-size: 26px;
    line-height: 34px;
}

/* @include medium; */
@media screen and (min-width: 768px) {
    .custom-donation-page-title {
        font-size: 35px;
        line-height: 50px;
    }
}

/* content
--------------------------------------------------------------------------------------------------------------------- */
.custom-donation-page-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* @include medium; */
@media screen and (min-width: 768px) {
    .custom-donation-page-content {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}
/* @include large; */
@media screen and (min-width: 1024px) {
    .custom-donation-page-content {
        padding-bottom: 0;
    }
}

.custom-donation-content-header {
    padding-top: 60px;
    margin-top: 0;
    font-size: 26px;
    line-height: 34px;
    text-transform: none;
}

@media screen and (min-width: 768px) {
    .custom-donation-content-header {
        font-size: 42px;
        line-height: 50px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
}

/* books
--------------------------------------------------------------------------------------------------------------------- */
.custom-donation-book-wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
    color: white;
}

@media screen and (min-width: 1024px) {
    .custom-donation-book-wrapper {
        padding-bottom: 0;
        color: inherit;
    }
}

.custom-donation-book-header {
    padding-bottom: 20px;
    margin-top: 0;
    font-size: 26px;
    line-height: 34px;
    text-transform: none;
}

@media screen and (min-width: 768px) {
    .custom-donation-book-header {
        max-width: 600px;
        font-size: 41px;
        line-height: 50px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
}

.custom-donation-book-content {
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 32px;
}

@media screen and (min-width: 768px) {
    .custom-donation-book-content {
        padding-left: 0;
        padding-right: 0;
    }
}

.custom-donation-book-list-wrapper {
    position: relative;
    max-width: 950px;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.custom-donation-book-list {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 850px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.custom-donation-book-background {
    display: none;
}

@media screen and (min-width: 1024px) {
    .custom-donation-book-background {
        display: block;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 0;
        pointer-events: none;
    }
}

/* book
--------------------------------------------------------------------------------------------------------------------- */

.custom-donation-book {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    max-width: 150px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-left: 12px;
    margin-right: 12px;
    padding-top: 16px;
    padding-bottom: 16px;

    text-align: center;
    font-size: 16px;
}

.custom-donation-book:first-child {
    margin-left: 0;
}

.custom-donation-book:last-child {
    margin-right: 0;
}

.custom-donation-book-image {
    display: flex;
    height: 191px;
    flex-shrink: 0;
    margin: 0 auto 20px;
    filter: drop-shadow(2px 7px 12px rgba(0, 0, 0, 0.4));
}

.custom-donation-book-title {
    height: 100%;
    font-style: italic;
    color: white;
}

.custom-donation-book-author {
    color: #4d4e4e;
}

/* form
--------------------------------------------------------------------------------------------------------------------- */

.custom-donation-form-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;

    background-color: #fcfbfc;
}

@media screen and (min-width: 1024px) {
    .custom-donation-form-container {
        max-width: 950px;
        padding: 80px 75px;
    }
}

.custom-donation-payment-label {
    font-weight: bold;
    float: left;
    margin-right: 1%;
}

.custom-donation-donation-label {
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    div.primary form.form-paypal .box .custom-donation-recurring-label {
        margin-left: 1%;
    }

    div.primary form.form-paypal .box .custom-donation-amount-label {
        margin-left: 1%;
    }
}

.custom-donation-amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 20px;
    grid-column-gap: 20px;
    grid-template-rows: 1fr;
    width: 100%;
}

/* @include medium; */
@media screen and (min-width: 768px) {
    .custom-donation-amount-options {
        grid-template-columns: repeat(6, 1fr);
        margin-bottom: 50px;
    }
}

.custom-donation-amount-option {
    background-color: #4d4e4e;
    padding: 15px 20px;
    width: 100%;
    cursor: pointer;
    transition: all linear 0.3s;

    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.03em;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    text-align: center;
}

.custom-donation-form-container input[type='number']::-webkit-inner-spin-button,
.custom-donation-form-container input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.custom-donation-premiums {
    margin-left: 1%;
    margin-right: 1%;
}

.custom-donation-premiums .premium-option input {
    margin-bottom: 20px;
}

.custom-donation-form-container .g-recaptcha,
.custom-donation-form-container .box.submit,
.custom-donation-form-footer {
    margin-left: 1%;
    margin-right: 1%;
}

/* popup
--------------------------------------------------------------------------------------------------------------------- */
.custom-donation-popup-wrapper {
    background-color: #4d4e4e;
}

.custom-donation-popup-red {
    background-color: #990100;
}

.custom-donation-popup-green {
    background-color: #2e5e29;
}

.custom-donation-popup-red a {
    color: white;
    text-decoration: underline;
}

.custom-donation-popup-green a {
    color: white;
    text-decoration: underline;
}

.custom-donation-popup-container {
    padding: 40px;

    color: white;
    text-align: left;
}

.custom-donation-popup-title {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 25px;
    line-height: 36px;
}

.custom-donation-popup-description {
    margin-bottom: 20px;
}

.custom-donation-popup-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 20px;
}

.custom-donation-popup-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.custom-donate-button-container-top {
    padding-top: 32px;
    padding-bottom: 32px;
}
.custom-donation-button {
    padding: 15px 30px;
    border: 0;

    font-size: 14px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    color: white;
    letter-spacing: 0.03em;
}

.custom-donation-button.custom-donation-button--black {
    background-color: #000;
    color: white;
    text-decoration: none;
}

#colorbox.donate #cboxClose,
.custom-donation #colorbox #cboxClose {
    background: transparent url('../img/close-alternate.png') no-repeat center center;
    width: 26px;
    height: 26px;
    top: 10px;
    right: 10px;
}

.donation-signature {
    margin-bottom: 10px;
}

.donation-signature svg {
    display: block;
    height: 60px;
}

.custom-donation-signature {
    fill: white;
}
