/** Font-Family Start **/
@font-face {
    font-family: 'Mabry Pro';
    src: url('../fonts/MabryPro-Light.woff2') format('woff2'), url('../fonts/MabryPro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Mabry Pro';
    src: url('../fonts/MabryPro-Bold.woff2') format('woff2'), url('../fonts/MabryPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Mabry Pro';
    src: url('../fonts/MabryPro-Italic.woff2') format('woff2'), url('../fonts/MabryPro-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Mabry Pro';
    src: url('../fonts/MabryPro-Regular.woff2') format('woff2'), url('../fonts/MabryPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Mabry Pro';
    src: url('../fonts/MabryPro-Medium.woff2') format('woff2'), url('../fonts/MabryPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Backgrounds */
    --navBg: #ffffff48;
    --bodyBg: #ffffff;
    --containerBg: #fafafa;
    --collapseBg: #f7f7f7;
    --asideBg: #fff;
    --hoverBg: rgba(0,0,0,.04);
    --infoBlock: #e9f5ff;
    --cyanBg: #e6fffa;
    --cyanColor: #285e61;
    --section-title-bg: #f7f7f7;
    /* Colors */
    --colorMode: #FAFAFA;
    --themeColor: #ffffff;
    --primaryText: #221551;
    --secondaryText: #212529;
    --grayText: #4d5154;
    --disabledText: #666174;
    --primaryIcon: #d2d2d2;
    --secondaryIcon: #A1A1AA;
    --cyanColor: #285e61;
    --accentColor: #3a5cab;
    --accentText: #38B2AC;
    --secondaryAccent: #0ead9e;
    --borderColor: #eaeaea;
    --orangeAccent: #DD6B20;
    --greenAccent: #38A169;
    --tealAccent: #319795;
    --blueAccent: #3182ce;
    --cyanAccent: #0987A0;
    --purpleAccent: #6B46C1;
    /* Fonts and Text */
    --sd-font-family: 'Mabry Pro', sans-serif;
    --font-size-base: 16px;
    /* Line Heights */
    --line-height-heading: 1.2;
    --line-height-base: 1rem;
    --line-height-sm: 1.25rem;
    --line-height-md: 1.5rem;
    --line-height-lg: 1.75rem;
    --font-weight-normal: 400;
    /* Highlight match background */
    --highlight-style-blue: #E2F1F8;
    /* Shadows */
    --dropdown-shadow: 0px 24px 40px color-mix(in srgb, #18181b 16%, transparent), 0px 0px 1px color-mix(in srgb, #18181b 30%, transparent);
    --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-inner: inset 0 2px 4px 0 rgba(0,0,0,0.06);
    --rounded: 0.625rem;
    --border: 1px solid var(--borderColor);
    --boxShadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --brand-blue: #221551;
    --brand-red: #F93822;
    --heading-color: inherit;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body, html {
    font-family: var(--sd-font-family);
    background-color: var(--bodyBg)!important;
    color: var(--primaryText);
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sd-font-family);
    font-weight: 600;
    line-height: var(--line-height-heading);
    margin-bottom: 0.5em;
    color: var(--primaryText);
}

h2 {font-size: 1.875rem;}
h3 {font-size: 2.25rem;}
        
/** Theme Classes **/
/* Background */
.navbar-mode { background: var(--asideBg); }
.body-mode { background: var(--bodyBg); }
.container-mode { background: var(--asideBg); }
.background-mode {background: var(--containerBg);}
.bg-stone { background: var(--bodyBg);}
.bg-gray{background: var(--hoverBg);}
.bg-light{background:var(--collapseBg);}
.bg-light-blue { background-color: #EEF1F9; }
.info-block { background-color:var(--infoBlock);}
/* Color */
.brand-text {
    color:#221551!important;
}
.text-mode {color: var(--primaryText);}
.secondary-text { color: var(--secondaryText); }
.icon-mode { color: var(--secondaryIcon) !important; }
.icon-mode-darker { color: var(--primaryIcon); }
.accent-color { color: var(--accentColor)!important;}
.accent-text { color: var(--accentText)!important;}
.secondary-accent { color: var(--secondaryAccent)!important;}
.gray-text {color:var(--disabledText)!important;}
.cyan-accent {color:var(--cyanAccent)!important;}
/* Utility */
.border-mode { border-color: var(--borderColor); }
.dropdown-shadow { box-shadow: var(--dropdown-shadow); }
.dropdown-divider {border:var(--border);}

/** Utility Classes **/
/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-nowrap { white-space:nowrap;}
/* Text Colors */
.brand-text {color:#221551;}
.brand-red {color:#F93822!important;}
.color-navy, .color-navy-blue { color: var(--primaryText); }

/* Spacing */
.m-auto {margin: 0 auto!important;}
.col-gap-3 {column-gap: 1.5rem;}
.col-gap-2 {column-gap: 1rem;}
.col-gap-1 {column-gap: .5rem;}
.row-gap-3 {row-gap: 1.5rem;}
.row-gap-2 {row-gap: 1rem;}
.row-gap-1 {row-gap: .5rem;}

/* Shadows */
.shadow-card {box-shadow: var(--shadow-card);}
.shadow-base {box-shadow: var(--shadow-base);}
.shadow-md {box-shadow: var(--shadow-md);}
.shadow-lg {box-shadow: var(--shadow-lg);}
.shadow-inner {box-shadow: var(--shadow-inner);}

/* Borders */
.border { border:var(--border)!important;}
.border-top {border-top: var(--border)!important;}
.border-bottom { border-bottom:  var(--border)!important;}
.border-right {border-right: var(--border)!important;}
.border-left {border-left:  var(--border)!important;}

/* Typography Utilities */
.label-xs-regular {font-size: 0.75rem; line-height: var(--line-height-base); font-weight: 400;}
.label-xs-medium { font-size: 0.75rem;line-height: var(--line-height-base); font-weight: 500; margin-bottom:.1em;}
.label-xs-bold {font-size: 0.75rem; line-height: var(--line-height-sm); font-weight: 700;}
.label-sm-regular { font-size: 0.875rem; line-height: var(--line-height-sm); font-weight: 400; }
.label-sm-medium { font-size: 0.875rem;  line-height: var(--line-height-sm); font-weight: 500; }
.label-sm-bold { font-size: 0.875rem;  line-height: var(--line-height-sm); font-weight: 700; }
.label-base-regular { font-size: 1rem; line-height: var(--line-height-md);font-weight: 400; }
.label-base-medium { font-size: 1rem;  line-height: var(--line-height-md); font-weight: 500; }
.label-base-bold { font-size: 1rem; line-height: var(--line-height-md);font-weight: 700; }
.label-lg-regular { font-size: 1.125rem; line-height: var(--line-height-lg); font-weight: 400; }
.label-lg-medium { font-size: 1.125rem; line-height: var(--line-height-lg); font-weight: 500; }
.label-lg-bold { font-size: 1.125rem; line-height: var(--line-height-lg); font-weight: 700; }
.label-xl-medium { font-size: 1.25rem; line-height: var(--line-height-lg); font-weight: 500; margin-bottom:.1em;}
.label-xl-bold { font-size: 1.25rem; line-height: var(--line-height-lg); font-weight: 700; }

.bold {font-weight: bold!important;}
strong {font-weight:bold!important;}
.lead {font-weight: 300!important;}
.small {font-size: 80%; font-weight: var(--font-weight-normal);}
.highlight {background-color: var(--highlight-style-blue);}
.sd-small-helptext { font-size: .75rem; color: grey;}
.font-italic{font-style:italic;}
/* Border Radius */
.rounded-light {border-radius: 2px;}
.rounded { border-radius: var(--rounded);}
.rounded-0 { border-radius: 0em;}
.rounded-50 { border-radius: 50%;}

/* Sizing */
@media screen and (max-width: 576px) {
    .w-50 {
        width: 100% !important;
    }
}

/** CSS RESET **/
button {
    border: none;
    background: none;
    font-weight: 500;
}

    button:focus {
        outline: 2px solid #8bbde524;
    }

::-webkit-scrollbar {
    background: slategray;
    display: none;
}


/** GLOBAL COMPONENTS **/
.sd-section, 
sd-section-shadow {
    border-radius: var(--rounded);
    margin: 0 0 2rem;
    padding: 1rem 1.5rem;
}

.sd-section-p0 {
    border-radius: var(--rounded);
    margin: 0 0 2rem;
}

.section-centered {
    border-radius: var(--rounded);
    max-width: 1300px;
    margin: 0 auto;
}

.sd-section-shadow {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.section-title {
    padding: .5rem;
    background: var(--section-title-bg);
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: .5rem 0;
}

@media screen and (max-width:500px) {
    .page-title {
        text-align: center;
    }

    .info-block {
        margin-top: 4rem;
    }

    .p-dynamic {
        padding: 0 !important;
    }
}

/* PROMOS MAINTENANCE - BATCH UPDATES BUTTONS */
.promo-buttons .dx-button-mode-contained .dx-icon {
    color: white;
}
.brand-btn {
    background: #221551 !important;
    color: white !important;
    transition: background-color .3s ease-in;
    border-radius:6px!important;
}

.dx-icon.dx-icon-activefolder {
    color:white!important;
}

.brand-btn:hover {
    background: #59507d !important;
}

.open-queue-btn {
    min-width: 7.4rem!important;
    max-width: 8rem !important;
}
.btn-danger {
    background: #dc3545 !important;
    border-color: #dc3545;
    color: white;
}

.btn-primary {
    background: #007bff !important;
    border-color: #007bff;
    color: white!important;
}

    .btn-primary:hover {
        background: #0069d9 !important;
    }

.btn-danger:hover {
    background: #c82333 !important;
}

/* Info Block Partial */
.info-block {
    padding: 20px;
    margin: 0 20px 20px 20px;
}

.info-gray {
    background: var(--containerBg);
    color: var(--primaryText);
}

.info-blue,
.info-blue-lg {
    background: var(--infoBlock);
    color: #221551;
    max-width: 600px;
}

.info-blue-lg {
    max-width: 780px;
}

    .info-blue-lg .info-text {
        line-height: 125%;
    }

.info-bold,
.info-text {
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 8px;
    font-weight: 400;
}

.info-bold {
    font-weight: 700;
}

/** DevExpress Overrides **/
/*.dx-widget input, .dx-widget textarea {
    font-family: 'Mabry Pro', sans-serif;
}*/
.dx-widget, .dx-widget input, .dx-widget textarea {
    font-family: var(--sd-font-family)!important;
}

.dx-datagrid-header-panel .dx-toolbar {
   /* padding-bottom: 10px!important;*/
    margin-bottom:0!important;
}

.dx-button-text {
    font-weight: 500;
}

/*.dx-button-mode-contained .dx-icon {
    color: var(--primaryIcon);
}
*/
/*span.dx-field-item-label-text {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: var(--primaryText);
}*/

#cdm-tool .sd-section .row {
    display: flex;
    flex-wrap: wrap;
}

#cdm-tool .col-12, #cdm-tool .col-lg-12 {
    width: 100%;
    min-height: 60px;
    box-sizing: border-box;
    visibility: hidden;
}

    #cdm-tool .col-12.loaded {
        visibility: visible;
        transition: visibility 0.3s ease-in-out;
    }

.dx-dropdowneditor-container,
.dx-datagrid {
    min-width: 400px;
    min-height: 300px;
}

.span {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.section {
    margin: 0 auto;
    border: var(--border);
    background: var(--asideBg);
}

.rounded {
    border-radius: 4px;
}

@media (min-width: 1200px) {
    .col-xl-auto {
        max-width: 228px!important;
    }
}