﻿/*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;
}

.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 {
    font-size: 1.75em;
    font-weight: bold;
    color: #7dc245;
}

#errorMessage {
    font-size: 1.75em;
    font-weight: bold;
    color: #e84c3d;
    text-align: center;
}

/*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 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;
    max-width: 300px;
    background-color: #fff;
    border: 2px solid #dadada;
    border-radius: 6px;
}

#processingText {
    padding-top: 14px;
    color: #000;
    text-align: center;
    font-size: 16px;
}

/*CE Header (standard block)*/
#orgLogoWrapper {
    text-align: center;
}

#orgLogoLink {
    display: inline-block;
    height: 72px;
}

#orgLogoImage {
    max-height: 100%;
}

/*CE Branding Footer (standard block)*/
#charityEngineAppBrandingContainer {
    text-align: center;
}