﻿

.pageHeader {
    font-size: 22pt;
    margin-bottom: 15px;
    margin-top: 10px;
    /* gradient can be an image */
    /*background: linear-gradient( to left, rgba(92,7,52,1) 0%, rgba(134,29,84,1) 12%, rgba(255,93,177,1) 47%, rgba(83,0,30,1) 100% ) left bottom #fff no-repeat;*/
    /*background: linear-gradient(0.25turn, #3445b4, #052767, #3445b4) left bottom #fff no-repeat;*/
    /*background-size: 100% 3px;*/ /* if linear-gradient, we need to resize it */
    border-bottom: 2px solid #375a8b;
}

.headerBar {
    font-size: 14pt;
    border-bottom: 1px solid gainsboro;
    margin-bottom: 10px;
}

.headerBarPrimary {
    font-size: 16pt;
    font-weight: bold;
    color: var(--rz-primary);
    border-bottom: 2px solid var(--rz-primary);
    margin-bottom: 10px;
}

.headerBarSecondary {
    font-size: 12pt;
    font-weight: bold;
    color: #4b4b4b;
    border-bottom: 1px solid #4b4b4b;
    margin-bottom: 5px;
}

.headerBarInfo {
    font-size: 16pt;
    font-weight: bold;
    color: var(--rz-info);
    border-bottom: 2px solid var(--rz-info);
    margin-bottom: 10px;
}

.marginContainer {
    margin: 10px 15px 10px 15px;
}


.dx-btn span:nth-child(2) {
    margin-top: 2px;
    margin-left: 5px;
}

.stripedBackground {
    color: black;
    background: repeating-linear-gradient( 45deg, #f5f5f5, #f5f5f5 10px, #f1f1f1 10px, #f1f1f1 20px)
}

.stripedDeletedBackground {
    color: black;
    background: repeating-linear-gradient( 45deg, #ffdcdc, #ffdcdc 10px, mistyrose 10px, mistyrose 20px)
}


div.sk-wave {
    height: 20px;
}

.dxbs-grid .dxbs-grid-detail-cell {
    padding: 5px !important;
    padding-left: 25px !important
}

.dxbs-grid .dxbs-grid-table > tbody > tr:not(:last-child) > td {
    border-bottom: 1px solid #dee2e6;
}

@media (max-width: 1700px) {
    .hideWhenSmall1700 {
        display: none;
    }
}

@media (max-width: 1000px) {
    .hideWhenSmall1000 {
        display: none;
    }
}

.dib {
    display: inline-block;
}

.edmHitHighlight {
    background-color: rgba(var(--bs-primary-rgb,13,110,253),.75);
    color: var(--bs-white,var(--white));
}

.edm-form-control {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

.edm-input-group-append, .edm-input-group-prepend {
    display: -webkit-box;
    display: -ms-flexbox;
    /* display: flex; */
}

a.nohover:hover {
    text-decoration: none;
}


/*uls in radzen components sometimes lose their style, so force it*/
ul.edmul {
    display: block;
    list-style-type: disc !important;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    margin-left: 40px;
}



fieldset {
    border: 1px solid gainsboro !important;
    padding: 5px;
    border-radius: 5px;
}

    fieldset > legend {
        font-size: small;
        margin-left: 10px;
        width: auto;
        margin-bottom: 0;
    }



div.card > div.card-header {
    padding: 10px;
}

div.card > div.card-body {
    padding: 10px;
}

div.card > div.card-footer {
    padding: 10px;
}


/*admin email classes*/
.rtsMergeFieldContainer {
    border: 1px dashed gainsboro;
    padding: 2px;
    border-radius: 5px;
}

    .rtsMergeFieldContainer::before {
        content: ' (Group: ' attr(field-container-name) ') \a ';
        white-space: pre;
    }

.rtsMergeField {
    font-weight: bold;
    color: black;
    background-color: yellow;
    border: 1px solid goldenrod;
    padding: 1px;
    border-radius: 5px;
}

    .rtsMergeField[rts-merge-status~="unmerged"] {
        font-weight: bold;
        color: black;
        background-color: mistyrose;
        border: 1px solid red;
        padding: 1px;
        border-radius: 5px;
    }

.rtsMergeField_Error {
    font-weight: bold;
    color: black;
    background-color: mistyrose;
    border: 1px solid red;
    padding: 1px;
    border-radius: 5px;
}

.rz-dialog-confirm, .rz-dialog-alert {
    max-width: 1000px !important;
    margin: 0.75rem;
}

#edmEnvironmentButton > div.rz-splitbutton.rz-buttonset > button {
    font-size: 18pt;
    color: white;
}

    #edmEnvironmentButton > div.rz-splitbutton.rz-buttonset > button > span {
        line-height: 1;
    }


.loadingPanelInit {
    background-color: #c9c9c9;
    background-image: url('../images/backgrounds/paven.png');
    position: fixed;
    z-index: 101;
    width: 100%;
    height: 100%;
}

.loadingPanelInitSplash {
    background-color: white;
    border: 1px solid #0167a8;
    border-radius: 5px;
    position: relative;
    top: 25%;
    z-index: 102;
    margin: auto;
    min-width: 550px;
    width: 550px;
}

/* ================================================
   Environment Indicators (non-production)
   ================================================ */

/* Header Border - colored top border for non-production environments */
.header-env-dev,
.header-env-development {
    border-top: 4px solid #7c3aed !important;
}

.header-env-qa {
    border-top: 4px solid #f59e0b !important;
}

.header-env-staging,
.header-env-stg {
    border-top: 4px solid #0891b2 !important;
}

/* Environment Badge - displayed next to title (pill style with white border) */
.badge-pill-environment {
    border: 2px solid #e6ecef;
    margin-left: 15px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    vertical-align: middle;
    border-radius: 20px !important;
    font-size: 11px !important;
}

/* Environment Badge Colors */
.badge-env-dev,
.badge-env-development {
    background-color: #7c3aed !important;
    color: white !important;
}

.badge-env-qa {
    background-color: #f59e0b !important;
    color: white !important;
}

.badge-env-staging,
.badge-env-stg {
    background-color: #0891b2 !important;
    color: white !important;
}
