﻿/*
    GENERIC CSS

    NOTE: these should be limited to application-specific functionality and may be overridden by themes
*/

/*System Modals*/
.ceModalDialogs {
    position: absolute;
    text-align: center;
    border: 2px solid gray;
    padding: 5px;
    top: 0;
    left: 0;
    z-index: 9998 !important;
    background-color: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
}

/* direct decendant only */
    .ceModalDialogs > .ceDialogs {
        position: fixed;
        top: 50%;
        left: 50%;
        padding: 24px;
        background: #fff;
        border: 1px solid #000;
        border-radius: 12px;
        z-index: 9999 !important;
        box-sizing: border-box;
    }

        .ceModalDialogs > .ceDialogs .ceDialogHeaders {
            width: 100%;
            margin-bottom: 12px;
            text-align: left;
            float: left;
        }

        .ceModalDialogs > .ceDialogs > .ceDialogContents {
            clear: left;
        }

            .ceModalDialogs > .ceDialogs > .ceDialogContents .dialog-input-row {
                text-align: left;
                margin: 18px 0;
            }

            .ceModalDialogs > .ceDialogs > .ceDialogContents input[type=text] {
                width: 100%;
                height: 45px;
                line-height: normal;
                margin: 0;
                padding: 0 12px;
                border: 1px solid #dadada;
            }

            .ceModalDialogs > .ceDialogs > .ceDialogContents .text-input-label {
                float: left;
                margin-bottom: 0;
                font-size: 13px;
            }

            .ceModalDialogs > .ceDialogs > .ceDialogContents .radio-input-label {
                line-height: normal;
                font-size: 1.1em;
            }

        .ceModalDialogs > .ceDialogs > .ceDialogFooters {
            clear: left;
        }

            .ceModalDialogs > .ceDialogs > .ceDialogFooters .ui-state-default:not(.ceDialogFooterCancelButtons) {
                background: #0275d8;
                color: #fff;
                box-shadow: 1px 1px 2px 0px #dadada;
            }

            .ceModalDialogs > .ceDialogs > .ceDialogFooters .ceDialogFooterCancelButtons {
                border: none;
                box-shadow: none;
            }

.success-notice {
    padding: 12px 16px;
    font-weight: normal;
    text-align: left;
    color: #fff;
    background-color: #8bc53f;
    -webkit-box-shadow: 0px -2px 0px 0px #67b71b;
    box-shadow: 0px -2px 0px 0px #67b71b;
}

.error-notice {
    padding: 12px 16px;
    font-weight: normal;
    text-align: left;
    color: #fff;
    background-color: #e84c3d;
    -webkit-box-shadow: 0px -2px 0px 0px #ce4535;
    box-shadow: 0px -2px 0px 0px #ce4535;
}

/*product listing footer pagination*/
.siteProdNavFooterMasterTable, .siteProdNavFooterMasterTable > tbody, .siteProdNavFooterMasterTableRow, .siteProdNavFooterMasterTableCell, .siteProdNavFooterTable, .siteProdNavFooterTable > tbody, .siteProdNavFooterTableRow {
    display: flex;
    width: 100%;
}

.siteProdNavFooterTableCellLeft, .siteProdNavFooterTableCellRight {
    flex-grow:1
}

.siteProdNavFooterTableCellLeft  {
    text-align: right;
}

.ss_page_link_toggleProductsNumberPerPage.dynamicSelectedItem {
    font-weight:bold;
    /*text-decoration:underline;*/
}

/*questionable below...*/
#addRelatedContact_configRowsContainer.read-only * {
    pointer-events: none;
}

#addRelatedContact_configRowsContainer.read-only {
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .ceModalDialogs > .ceDialogs {
        position: relative;
        top: 0;
        left: 0;
        margin: auto !important;
    }
}