﻿.popup-view-container {
    display: none;
}
.popup-view-container.show {
    display: block;
}

.modal-backdrop {
    /*background: #2d6278;*/
    background: rgba(0,0,0,.4);
}

.modal-backdrop.in {
    /*opacity: 0.9;*/
}

.efund-modal .modal-dialog {
    margin: auto;
    margin-top: 20vh;
    width: 380px;
    max-width: 90%;
}

.efund-modal .modal-content {
    width: 100%;
}

.efund-modal .btn-close {
    position: absolute;
    top: 7px;
    right: 10px;
}

/* Modal Header */
.efund-modal .modal-header {
    border-bottom: 0;
    padding-top: 30px;
    display: block;
}

.efund-modal .modal-title {
    font-size: 20px;
    line-height: 32px;
    font-weight: 700;
    color: #489D5E;
    margin-bottom: 5px;
}
.efund-modal .modal-title .fa {
    font-size: 1.5em;
    display: block;
    margin-bottom: 0.25em;
}

.modal-instructions {
    font-size: 16px;
    color: #666;
}

/* Modal Body */
.efund-modal .modal-body {
    padding-top: 0;
    padding-bottom: 0;
}
.efund-modal small {
    font-size: 14px;
}

/* Modal Footer */
.efund-modal .modal-footer {
    width: 100%;
    text-align: center;
    border-top: none;
    display: block;
    padding: 0 1em 1em;
}

.efund-modal .modal-footer > .row {
    margin-left: -15px;
    margin-right: -15px;
}

.efund-modal .modal-btn-main,
.efund-modal .modal-btn-main:hover {
    background: #489D5E;
}

.efund-modal .modal-btn-main {
    width: 100%;
    border: none;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    border-radius: 25px;
    white-space: normal;
}

.efund-modal .modal-btn-main:hover {
    opacity: 0.9;
}

.efund-modal .modal-footer-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    width: 100%;
}

.efund-modal a.no-style {
    color: inherit;
}

.efund-modal a.close-modal {
    cursor: pointer;
}

/* Make sure .row child elements that don't have a .col-* class are given 100% width */
.efund-modal .row > *:not(.efund-form-col) {
    width: 100%;
}

/* Custom Check Box */
.custom-check input[type="checkbox"] {
    opacity: 0;
}

.custom-check label {
    position: relative;
    color: #666;
    padding-left: 16px;
}

.custom-check label::before,
.custom-check label::after {
    position: absolute;
}

.custom-check label::before {
    content: "";
    display: inline-block;
    height: 14px;
    width: 14px;
    border: solid 1px #489D5E;
    border-radius: 4px;
    left: 1px;
    top: 5px;
}

.custom-check label::after {
    content: "";
    display: inline-block;
    height: 5px;
    width: 9px;
    border-left: solid 2px #489D5E;
    border-bottom: solid 2px #489D5E;
    transform: rotate(-45deg);
    left: 4px;
    top: 7px;
}
/*Hide the checkmark by default*/
.custom-check label::after {
    content: none;
}
/*Unhide the checkmark on the checked state*/
.custom-check label.show-check::after {
    content: "";
}
/*Adding focus styles on the outer-box of the fake checkbox*/
.custom-check label.focused::before {
    outline: rgb(59, 153, 252) auto 5px;
}

.efund-modal .custom-check {
    margin-top: 0;
}

.efund-modal .back-arrow {
    position: absolute;
    top: 4px;
    left: 5px;
    font-size: 18px;
    background: none;
    border: none;
    color: #000000;
}
.efund-modal .back-arrow,
.efund-modal .btn-close {
    opacity: 0.4;
}
.efund-modal .back-arrow:hover,
.efund-modal .back-arrow:focus,
.efund-modal .back-arrow:active,
.efund-modal .btn-close:hover,
.efund-modal .btn-close:focus,
.efund-modal .btn-close:active {
    opacity: 0.6;
}

#btnLoginTroublesLink, 
label[for="StaySignedIn"] {
    font-size: 14px;
}
/* =====================
   DONOR DONATION FORM
   ===================== */
.donor-profile-link {
    font-size: 14px;
    line-height: 1.2em;
    padding: 0.4em 0.5em;
    border-radius: 1em;
    border: solid 1px;
    background: #fff;
}

.donor-profile-link {
    color: #489D5E;
    border-color: #489D5E;
}

.donor-profile-link:hover {
    color: #449d44;
    border-color: #449d44;
}

.donor-profile-link img {
    height: 1.2em;
    vertical-align: -.25em;
}

.donor-options {
    padding: 25px 15px;
}

.donor-options p {
    margin-bottom: 0;
}

.donor-greeting {
    font-size: 16px;
    margin-bottom: 0;
    font-weight: 500;
}

.donor-options > .row > div {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    padding: 0;
}

.donor-options .row-1 > div {
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.donor-options .row-2 {
    font-size: 13px;
}

.donor-options > .row.row-2 > div {
    margin-top: 10px;
}

.donor-options > .row.row-2 > div p + p {
    margin-left: 0.5em;
}

.donor-options > .row.row-2 > div p:last-child {
    -ms-flex-positive: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    text-align: right;
}

.donor-row,
.cc-option {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.donor-row .donor-label {
    width: 120px;
}

.donor-row .donor-info {
    flex-grow: 1;
}

.donor-label {
    font-weight: 700;
}

.cc-option {
    -webkit-align-items: center;
    align-items: center;
    border: solid 1px #ddd;
    padding: 10px 20px;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
}

.cc-option.primary {
    box-shadow: 0px 1px 3px rgba(0,0,0,.1);
    border-color: #2d6278;
}

.cc-option.alt {
    background: #f5f5f5;
    opacity: 0.9;
}

.cc-option p {
    margin-bottom: 0;
}

.cc-image {
    margin-right: 10px;
}

.cc-image img {
    width: 75px;
}

.cc-info {
    -ms-flex-positive: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.cc-date {
    font-style: italic;
}

.cc-option #paypal-message {
    margin-bottom: 0;
}

.cc-option #paypal-column {
    margin-bottom: -14px;
    text-align: right;
    width: 100%;
    padding-right: 0;
}

.efund-btn,
.efund-btn:hover,
.efund-btn:focus {
    color: #fff;
    background-color: #2d6278;
    border: none;
}

.efund-btn:hover,
.efund-btn:focus {
    opacity: 0.9;
}
