﻿/*Note: Linked from UI.Common (cross app)*/

/* ************************************************************
Standard client-side cross-application layout & styles

NOTE: these should be limited to application-specific 
    functionality and may be overridden by themes
    for example, shared default layout for widget 
    panels might be defined here

IMPORTANT: this should be limited to allow both themes
    and client customizations to override them

SEPARATION NOTE: these classes may be included in themes
    and non-themed apps (e.g. User Center, Bill Pay, etc.)
************************************************************ */

/*Online List Entry Shared (default)*/
.onlineListWidgetEntries, .onlineListWidgetEntrySummaries, .onlineListWidgetEntryMessages, .onlineListWidgetEntryDonateButtonContainers, .onlineListWidgetEntryDonateButtons, .onlineListWidgetEntryDonateButtonLabels {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.onlineListWidgetEntrySummaries {
}

.onlineListWidgetEntryMessages {
    max-height:80px;
    font-size: 14px;
    overflow:scroll;
}

.onlineListWidgetEntryDonateButtonContainers {
    cursor: pointer;
}

.onlineListWidgetEntryDonateButtons {
    cursor: pointer;
}

.onlineListWidgetEntryDonateButtonLabels {
}

/*Generic Online Box Close Icons*/
.onlineListWidgetBoxOffsetCloseIconContainers {
    position: absolute;
}

.onlineListWidgetBoxOffsetCloseIconCircles {
    background-color: gray;
    border-radius: 30px;
    width: 22px;
    text-align: center;
    height: 22px;
    padding: 0px;
    cursor: pointer;
}

.onlineListWidgetBoxOffsetCloseIconText {
    color: white;
    font-weight: bold;
    font-size: 10px;
    padding: 0px;
    margin: 0px;
    margin-top: -4px;
    position: absolute;
    top: 8px;
    left: 7px;
}

/*Online Generic List Box (default)*/
.onlineListWidgetBoxContainers, .onlineListWidgetBoxes {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.onlineListWidgetBoxContainers {
    width: 250px;
    height: 400px;
    overflow: scroll;
}
 
.onlineListWidgetBoxes {
    position: relative;
    margin: 20px;
}
 
/*Online Donor List Box (default)*/
/*.recentDonationLists or .onlineListWidgetBoxContainers.donorLists*/

/*Auto-Scrolling List Box*/
.onlineListWidgetBoxContainers.autoScrollingWidgetBoxes {
    overflow: hidden;
}

/*Online Recent Donation Pop Ups (default)*/
.onlineListWidgetPopBoxContainers, .onlineListWidgetPopBoxes {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.onlineListWidgetPopBoxContainers {
    position: fixed;
    margin: 20px;
    width: 250px;
    background-color: white;
    padding: 10px;
    border: 1px solid gray;
    z-index: 500;
    color: black;
}

.onlineListWidgetPopBoxContainers.boxPositionBottomLeft {
    left: 0px;
    bottom: 0px;
}

.onlineListWidgetBoxOffsetCloseIconContainers.boxPositionBottomLeft {
    right: -32px;
    top: -2px;
}

/*Online Recent Donation Pop Ups (default)*/
/*.recentDonationLists or .onlineListWidgetPopBoxContainers.donorLists*/

/*Default Success Error Message Framework*/
#successMessage, #errorMessage, #warningMessage, #informationMessage {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 12px 0;
    padding: 12px;    
    color: #fff;
}

#successMessage a, #successMessage a:link, #successMessage a:active, #successMessage a:visited, #successMessage a:hover,
#errorMessage a, #errorMessage a:link, #errorMessage a:active, #errorMessage a:visited, #errorMessage a:hover,
#warningMessage a, #warningMessage a:link, #warningMessage a:active, #warningMessage a:visited, #warningMessage a:hover,
#informationMessage a, #informationMessage a:link, #informationMessage a:active, #informationMessage a:visited, #informationMessage a:hover {
    color: #fff;
    text-decoration: underline;
} 

#successMessage {
    /*font-size: 1.75em;
    font-weight: bold;
    color: #7dc245;
    text-align: center;*/
    background-color: #7dc245;
}

#errorMessage {
    /*font-size: 1.75em;
    font-weight: bold;
    color: #e84c3d;
    text-align: center;*/    
    background-color: #d45252;
    /*border-top: 3px solid #c12e2a;*/    
}

#warningMessage {
    /*font-size: 1.75em;
    font-weight: bold;
    color: #ff6a00;
    text-align: center;*/    
    background-color: #ff6a00;        
}

#informationMessage {
    /*font-size: 1.75em;
    font-weight: bold;
    color: #0026ff;
    text-align: center;*/    
    background-color: #006BA0;        
}


/*default validation failed treatment*/
.error {
    border-color: #e84c3d;
    color: #e84c3d;
}

.radio-set.error input[type="radio"] {
    border: 2px solid red;
    appearance: none;
    border-color: #e84c3d;
    width: 13px;
    height: 13px;
    border-radius: 50%;
}

.checkbox-set.error input[type="checkbox"] {
    border: 2px solid red;
    appearance: none;
    border-color: #e84c3d;
    width: 13px;
    height: 13px;
    margin: 0px;
}

/*UI Confirm Action Pop Up*/
#confirmActionOverlay {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

#confirmActionMessage {
    position: relative;
    top: 35%;
    margin: auto;
    padding: 20px;
    text-align: center;
    width: 50%;
    max-width: 300px;
    background-color: #fff;
    border: 2px solid #dadada;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

#confirmActionText {
    color: #000;
    text-align: center;
    font-size: 16px;
}

#confirmActionModalButtonsContainer {
    display: flex;
    gap: 20px;
}

/*UI Processing Overlay*/
#processingOverlay {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

#processingMessage {
    position: relative;
    top: 35%;
    margin: auto;
    padding: 20px;
    text-align: center;
    /*width: auto;*/
    width: 50%;
    max-width: 300px;
    background-color: #fff;
    border: 2px solid #dadada;
    border-radius: 6px;
}

#processingText {    
    color: #000;
    text-align: center;
    font-size: 16px;
}

.pageOverlays {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.appModals {
    position: initial;
    width: 80%;
    padding:30px;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-top: 10vh;
    max-height: 80vh;
    background-color: #fff;
    border: 2px solid #dadada;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
 
.appModalHeaders {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap:10px;
}

.appModalHeaderHeaderTitles {
    flex-grow:1;
}

.appModalHeaders .fa {
    cursor:pointer;
}

.appModalUIContainers {
}

.appModalFooters {
    text-align: center;
}

    .appModalFooters button {
        background-color: gray;
        border: 1px solid darkgray;
    }

/*UI Captcha MFA Modal*/
#mfaModalOverlay {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

#mfaModalBox {
    position: relative;
    top: 35%;
    margin: auto;
    padding: 20px;    
    width: auto;
    max-width: 350px;
    background-color: #fff;
    border: 2px solid #dadada;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    #mfaModalBox input[type="radio"] {
        transform: scale(1.2);
    }

    #mfaModalBox input[type="text"] {
        height: 30px;
        font-size: 18px;
    }

    #mfaModalBox input[type="button"] {
        font-size: 18px;
    }

        #mfaModalBox label {
            white-space: nowrap;
        }

#mfaModalTopErrorMessage {
    text-align: center;
    color: red;
}

#mfaModalTopMessage {
    text-align: center;
    font-weight: bold;
}

#mfaCode, .mfaCodes {
    width:140px;
    align-self:center;
}

#mfaResendCodeMessage {
    text-align: center;
}

#mfaEnterCodeForm, #resendCodeForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#resendCodeFormMethodOptionsContainer {
    display: flex;
    gap: 20px;
}

    #resendCodeFormMethodOptionsContainer > div {
        display: flex;
        align-items: center;
        gap: 8px;
    }

#didNotGetCodeLinkContainer {
    text-align:center;
}
    #didNotGetCodeLinkContainer a {
        text-decoration:none;
    }

    /*CE Header (standard block)*/
    #orgLogoWrapper {
        text-align: center;
    }

#orgLogoLink {
    display: inline-block;
    height: 72px;
}

#orgLogoImage {
    max-height: 100%;
}

.ce-appFormContainers {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ce-appFormSections {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap:20px;
}

.ce-formFieldSets, .ce-formFieldGroups {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ce-formFieldRows {
    position: relative;
    width: 100%;
    max-width: 500px; /*might need to be slightly bigger or smaller for UX - no crazy long, weirdo fields*/
    display:flex;
    flex-direction:row;
    gap:10px;
    flex-wrap: nowrap;
}

.ce-formFieldRows.ce-centered {
    justify-content: center;
}

.ce-multiFieldRowFieldContainers, .ce-checkBoxContainers, .ce-radioButtonContainers {
    display: flex;
    flex-direction: row;
    gap: 5px;
    
}

.ce-multiFieldRowFieldContainers:not(.ce-centered) {
    flex-grow: 1;
}

.ce-checkBoxContainers {
    align-items: baseline;
}

.ce-radioButtonContainers {
    align-items: baseline;
}

.ce-fullWidth {
    max-width: 100%;
}
 
/*online form default label field overlay*/
.ce-publicAppFormContainers .ce-formFieldSets .ce-formFieldRows > label:first-child, .ce-publicAppFormContainers .ce-formFieldSets .ce-formFieldRows .ce-multiFieldRowFieldContainers > label:first-child {
    position: absolute;
    top: -12px;
    margin-left: 4px;
    padding: 0px 4px;
    background-color: #fff;
    color: #9E9E9E;
    white-space: nowrap;
}

.ce-publicAppFormContainers .ce-formFieldSets input:-webkit-autofill,
.ce-publicAppFormContainers .ce-formFieldSets input:-webkit-autofill:hover,
.ce-publicAppFormContainers .ce-formFieldSets input:-webkit-autofill:focus,
.ce-publicAppFormContainers .ce-formFieldSets input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.ce-publicAppFormContainers .ce-formFieldSets .ce-formFieldRows input[type="text"]:not(.mfaCodes), .ce-publicAppFormContainers .ce-formFieldSets .ce-formFieldRows input[type="password"], .ce-publicAppFormContainers .ce-formFieldSets .ce-formFieldRows select {
    width: 100%;
}

.ce-publicAppFormContainers .ce-formFieldSets .ce-formFieldRows select {
    background-color: white;
}

.ce-formSectionFooterButtonRows {
    display: flex;
    align-content: flex-end;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.ce-eCards img {
    max-width: 250px;
    max-height: 250px;
}

.ce-radioButtonLists {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ce-formFieldOptionItems {
    display: flex;
    gap: 5px;
}

    #tributeRecipientToggleRow .ce-radioButtonLists label.ce-radioButtonIconLabels,
    #amountAskStringsContainer .ce-radioButtonLists label.ce-radioButtonIconLabels,
    .ce-radioButtonLists.isPaymentType_id label.ce-radioButtonIconLabels {
        display: flex;
        gap: 5px;
        align-items: baseline;
    }

.ce-formFieldHelpIconLabels {
    display: flex;
    gap: 5px;
}

.ce-formFieldHelpIconLabels span.fa {
    font-weight:lighter;
}
 
.ce-formFieldInfoIconWidgets {
    position: relative;
}

.ce-formFieldInfoIconOverlays {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    /*pointer-events: none; 
    transition: opacity 0.3s ease;*/
}

.ce-formFieldInfoIconOverlays img.ce-checkFieldHelperImages {
    width:400px;
}

.ce-formFieldEditButtonIcons {
    white-space: nowrap;
}

.ce-tributeAcknowledgeeMessages {
    height: 60px;
    width:100%;
}

.paypal-button-container {
    width: 400px;
    margin: 0 auto;
}

.paypalButton {
    cursor: pointer;
}

#oneClickCheckoutContainer {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

#oneClickCheckoutContainer input[type="button"] {
    padding:10px;
}

#dd-container {
    border: 1px solid green;
}

div.text-center search-title {
    color: green;
    font-weight: bold;
}

#dd-container .dtd-search-box, .dtd-plugin .dtd-search-box {
    margin-bottom: 16px !important;
    height: 40px;
} 

/*CE Branding Footer (standard block)*/
#charityEngineAppBrandingContainer {
    text-align: center;
}

/*always hide (12.18.25)*/
#bisFollowPix {
    display: none;
}

#ceTwitterShare > img, #footerTwitter > img {
    filter: invert(1);
    width: 20px;
    margin-bottom: 4px;
}


/*TEMPORARY until we upgrade font-awesome*/
.fa-x-twitter {
    display: inline-block;
    width: 1em;
    height: 1.25em;
    background-color: currentColor; /* inherits color from parent */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: middle;
}