﻿:root {
    --ck-z-default: 100;
    --ck-z-panel: calc( var(--ck-z-default) + 999 );
    --body-bg-color: #F7F7F7;
    --text-color-dark: #112e43;
    --text-color-navy: #112e43;
    --text-color-muted: #707070;
    --text-color-orange: #f36c23;
    --text-color: #101D41;
    --lightest-grey: #eee;
    --lightest-grey-border: #e4e6ef;
    --border-radius: .475rem;
    --lightest-grey-border-hover: var(--text-color-navy); /*#a1a5b7;*/
    --default-button-hover: #f5f5f5;
    --pi-blue: #00abc7; /*#009bc2*/
    --pi-dark-blue: #112e43;
    --pi-grey: #707070;
    --pi-orange: #f36c23;
    --ap-green: #3FAC48;
    --ap-red: #CD1335;
    --ap-orange: #EB620E;
    --badge-size: 18px;
    --help-icon-bg: rgba(117, 117, 126, .6);
    --white: #FFF;
    --page-background: var(--white);
    --default-font-size: 14px;
    --font-family: 'Poppins', Arial, Helvetica, sans-serif;
    --focus-border-color: #000;
    --focus-shadow: 0 0 5px 5px rgb(0,171,199, .2);
}

/* Bootstrap overrides */
.btn:focus, .btn:not(.btn-shadow):not(.shadow):not(.shadow-sm):not(.shadow-lg):focus {
    outline: 2px solid var(--focus-border-color) !important;
    box-shadow: var(--focus-shadow) !important;
}

.dx-widget, .dx-widget input, .dx-widget textarea, .dx-loadpanel-wrapper .dx-loadpanel-message {
    font-family: var(--font-family);
    font-size: 13px;    
}
.dx-datagrid-headers {
    font-weight: 500 !important;
    font-size: 12px;
}

@media all and (min-width: 992px) {
    .content {
        padding: 40px 0 30px 0;
    }
    .container-fluid {
        padding: 0 45px;
    }
}

.spinner-border.spinner-blue {
    border: 0.185rem solid var(--pi-blue);
    border-right-color: transparent;
}

/* Metronic overrides */

body {
    font-family: Poppins, Arial, Helvetica, sans-serif;
}

body {
    font-family: Poppins, Arial, Helvetica, sans-serif;
}

body.dashboard-screens {
    background-color: var(--page-background);
}

@media all and (max-width: 991px) {
    body .dashboard-screens {
        background-size: auto auto;
        background-image: url(/theme/media/patterns/pi-bg-4-mobile.png);
        background-color: #F7F7F7;
        background-position: right 215px;
    }
}

body.bg-body, .bg-light {
    background-color: #F7F7F7 !important;
}

.text-black {
    color: var(--text-color-dark);
}

.text-muted {
    color: var(--text-color-muted) !important;
    font-weight: 300 !important;
}


.text-navy {
    color: var(--text-color-navy) !important;
}

.text-danger {
    color: var(--ap-red) !important;
}

.text-dark {
    color: var(--pi-dark-blue) !important;
}
.text-grey {
    color: var(--pi-grey) !important;
}

/*.toolbar {
    background-image: url('/local/img/menu_bg.png');
}*/

.scrolltop {
    right: 8px!important;   
}

.staging-indicator {
    position: fixed;
    left: 50%;
    margin-left: -75px;
    top: 0px;
    z-index: 1000;
    text-align: center;
    width: 150px;
    height: 22px;
    line-height: 24px;
    background-color: #000;
    color: #FFF;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    pointer-events: none;
}

    .staging-indicator.staging {
        background-color: orange;
    }

    .staging-indicator.live {
        background-color: green;
    }

/* Bootstrap overrides */

.btn.btn-danger {
    color: #fff;
    border-color: #CF1E41;
    background-color: #CF1E41 !important;
}

.btn-danger:hover {
    color: #000;
    background-color: #B21A39;
    border-color: #B21A39;
}

.btn.btn-danger:active:not(.btn-active) {
    color: #fff;
    border-color: #B21A39;
    background-color: #B21A39 !important;
}

.btn.btn-danger:focus:not(.btn-active) {
    color: #fff;
    border-color: #B21A39;
    background-color: #B21A39 !important;
}

.btn.btn-danger:hover:not(.btn-active) {
    color: #fff;
    border-color: #B21A39;
    background-color: #B21A39 !important;
}

.btn.btn-light-primary.btn-pi-header {
    color: #00abc7 !important;
}
    .btn.btn-light-primary.btn-pi-header:hover:not(.btn-active) {
        background-color: #009BC2 !important;
    }
    .btn.btn-light-primary.btn-pi-header:active:not(.btn-active) {
        background-color: #009BC2 !important;
    }
    .btn.btn-light-primary.btn-pi-header.show {
        background-color: #009BC2 !important;
    }

.bg-success {
    --bg-color: #3EA535 !important;
}

.modal-fullscreen {
    height: unset !important;
    min-height: 100% !important;
}

/* JsTree */

.jstree-anchor {
    /*enable wrapping*/
    white-space: normal !important;
    /*ensure lower nodes move down*/
    height: auto !important;
    /*offset icon width*/
    padding-right: 24px;
}

.jstree-default .jstree-anchor {
    padding: 0 !important;
}

.li-blue {
    color: blue
}

.label-maroon {
    color: red;
    font-weight: 700 !important;
}

.vakata-context, .vakata-context ul {
    z-index: 9999;
}

/* DevExtreme overrides */

.dx-treelist-headers, .dx-datagrid-headers {
    color: #112e43;
    font-weight: 600;
    font-size: 12px;
}

.dx-treelist-rowsview .dx-row-focused.dx-data-row > td:not(.dx-focused) {
    background-color: #00ABC7;
    color: #fff;
}

    .dx-treelist-rowsview .dx-row-focused.dx-data-row > td:not(.dx-focused) .text-primary {
        color: #fff !important;
    }

.dx-datagrid-headers .dx-datagrid-table .dx-row > td,
.dx-treelist-headers .dx-treelist-table .dx-row > td {
    padding-top: 15px;
    padding-bottom: 15px;
}

.dx-pager .dx-pages .dx-selection {
    color: #ffffff;
    background-color: #009BC2;
}

.dx-pager .dx-page-sizes .dx-selection {
    color: #ffffff;
    background-color: #EB620E;
}

.dx-datagrid-rowsview .dx-row-focused.dx-data-row .dx-command-edit:not(.dx-focused) .dx-link, .dx-datagrid-rowsview .dx-row-focused.dx-data-row > td:not(.dx-focused), .dx-datagrid-rowsview .dx-row-focused.dx-data-row > tr > td:not(.dx-focused) {
    background-color: #009BC2;
    color: #fff;
}

.dx-datagrid-content .dx-datagrid-table .dx-row > td, .dx-datagrid-content .dx-datagrid-table .dx-row > tr > td {
    vertical-align: middle;
}

.dx-datagrid .dx-row-alt > td, .dx-datagrid .dx-row-alt > tr > td {
    background-color: #f4f4f4;
    border-top: 1px solid #fcfcfc;
    border-bottom: 1px solid #fcfcfc;
}

.dx-datagrid-rowsview .dx-row-focused.dx-data-row a {
    background-color: #5c95c5;
    color: #fff;
}

.btn-pi-action {
    height: calc(1.1 em + 1.1 rem + 2 px ) !important;
    width: calc(1.1 em + 1.1 rem + 2 px ) !important;
}

.dx-datagrid-pager {
    border-top: 2px solid #ddd;
}

.dx-dropdowneditor-icon {
    color: #EB620E;
}

.dx-switch {
    width: 122px !important;
}

.dx-switch-container {
    height: 35px !important;
    border-radius: 4px !important;
}

.dx-switch-inner {
    padding: 4px !important;
}

.dx-switch-on, .dx-switch-off {
    font-size: 1em !important;
    font-weight: unset !important;
}

.dx-switch-off {
    color: #DDDDDD !important;
}

.dx-tag-content {
    background-color:#D6560C !important;
    color: #fff !important;
}

.dx-state-readonly .dx-tag-content {
    background-color: #AAAAAA !important;
    color: #fff !important;
}

.dx-tag-remove-button::before {
    background: #fff !important;
}

.dx-tag-remove-button::after {
    background: #fff !important;
}

/* Image previews */
.image-area {
    position: relative;
    display: inline-block;
    width: 350px !important;
    max-width: 350px !important;
}

.image-area img {
    max-width: 350px;
    height: auto;
}

.remove-image {
    display: none;
    position: absolute;
    top: -10px;
    right: -10px;
    border-radius: 10em;
    padding: 2px 6px 3px;
    text-decoration: none;
    font: 700 21px/20px sans-serif;
    background: #E4E6EF;
    color: #A1A5B7;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    -webkit-transition: background 0.5s;
    transition: background 0.5s;
}

    .remove-image:hover {
        background: #B5B5C3;
        padding: 3px 7px 5px;
        top: -11px;
        right: -11px;
    }

    .remove-image:active {
        background: #B5B5C3;
        top: -10px;
        right: -11px;
    }

/* Tag box buttons */

.dx-button-mode-contained.dx-button-default {
    background-color: #FFFFFF;
    color: #EB620E;
    font-weight: bold;
    font-size: 16px;
}

    .dx-button-mode-contained.dx-button-default.dx-state-hover {
        background-color: #DDDDDD;
        color: #EB620E;
        font-weight: bold;
        font-size: 16px;
    }

    .dx-button-mode-contained.dx-button-default.dx-state-active {
        background-color: #DDDDDD;
        color: #EB620E;
        font-weight: bold;
        font-size: 16px;
    }

    .dx-button-mode-contained.dx-button-default .dx-button-content {
        padding-left: 6px;
        padding-right: 6px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

        .dx-button-mode-contained.dx-button-default .dx-button-content::after {
            content: "\f001";
            font: 18px/18px DXIcons;

        }

/* Custom hacks */

.mapped-option-item {
    color: #ffff;
    background-color: #EB620E;
    margin-right: 3px;
}

#EmailSchedule_DailyRecurrenceEveryWeekday .dx-radiobutton:nth-child(2) {
    margin-top: 25px;
}

/* CKEditor 5 */

.ck-body-wrapper {
    z-index: 10000;
}

/* Tooltips */

.tooltip-inner {
    max-width: 350px; /* set this to your maximum fitting width */
    width: inherit; /* will take up least amount of space */
}


.login-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

    .login-img img {
        max-width: 450px;
    }

.coloured-brand-bar {
    background: rgb(243, 108, 35);
    background: linear-gradient(90deg, rgb(243, 108, 35) 0%, rgba(118, 132, 117, 0.9) 30%, rgb(0, 155, 194) 70%, rgb(0, 155, 194) 100%);
    width: 100%;
    height: 10px;
    display: block;
    opacity: 0.5;
}

.btn.btn-primary-dblue {
    padding: 15px 26px;
    height: auto;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    color: #fff;
    border-color: #111d42;
    background: #111d40;
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(17, 29, 64)), to(rgb(3, 6, 13)));
    background: linear-gradient(180deg, rgb(17, 29, 64) 0%, rgb(3, 6, 13) 100%);
    text-transform: none;
    border-width: 1px;
}

.btn.btn-rounded {
    border-radius: 50px;
}

.sign-in-email h1 {
    font-weight: 500 !important;
    font-size: 18px;
    line-height: 22px;
}

.btn.btn-light-primary {
    color: var(--pi-blue);
}

    .btn.btn-light-primary:hover:not(.btn-active) {
        color: white;
        background-color: var(--pi-blue) !important;
        border-color: var(--pi-blue) !important;
    }

.fs-18 {
    font-size: 18px !important;
}

.badge.badge-circle {
    width: var(--badge-size) !important;
    height: var(--badge-size) !important;
    line-height: 1 !important;
    font-size: .75rem !important;
}

a, a:visited {
    color: var(--pi-blue);
}

.toolbar .btn.btn-custom {
    background-color: rgba(0,0,0,.3);
}

.scrolltop {
    background-color: #F36A23;
    right: auto;
    left: 20px;
}


.nav-line-tabs .nav-item .nav-link.active, .nav-line-tabs .nav-item .nav-link:hover:not(.disabled), .nav-line-tabs .nav-item.show .nav-link {
    border-left: 1px solid #eff2f5 !important;
    border-top: 1px solid #eff2f5 !important;
    border-right: 1px solid #eff2f5 !important;
    background-color: #FFF !important;
}

.nav-line-tabs .nav-item .nav-link, .nav-line-tabs .nav-item .nav-link:not(.disabled), .nav-line-tabs .nav-item .nav-link {
    border-left: 1px solid transparent;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    color: #666;
}


.language-symbol {
    background-color: #FFF;
}

.g-xl-8, .gy-xl-8 {
    --bs-gutter-y: 1rem;
}

.g-xxl-8, .gy-xxl-8 {
    --bs-gutter-y: 1rem;
}

/* Accordian */

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.8rem 1.0rem;
    padding-right: 1.63rem;
    font-size: 1rem;
    color: #181c32;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
}

    .accordion-button:not(.collapsed) {
        color: #181c32;
        background-color: #f5f8fa;
        box-shadow: inset 0 -1px 0 #eff2f5;
    }

.accordion-button-no-expand {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.8rem 1.0rem;
    font-size: 1rem;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
    color: #a1a5b7;
    box-shadow: inset 0 -1px 0 #eff2f5;
}

.card {
    transition: height .25s ease-in-out;
    border: 2px solid var(--body-bg-color);
    box-shadow: none;
}

.breadcrumb .breadcrumb-item .dd-menu > a {
    display: block;
    padding: 5px 10px;
    border: 1px solid var(--lightest-grey-border);
    background-color: #FFF;
    border-radius: var(--border-radius);
}

    .breadcrumb .breadcrumb-item .dd-menu > a:hover {
        border: 1px solid var(--lightest-grey-border-hover);
    }

    .breadcrumb .breadcrumb-item .dd-menu > a:active {
        background-color: var(--default-button-hover);
    }


/* Admin Branding Changes - SMCK 04-04-24 */
/* --------------- Aside Dark */

.aside.aside-dark .aside-logo {
    background-color: var(--pi-dark-blue) !important;
}
    .aside.aside-dark .aside-logo a {
        display: block;
        width: 100%;
    }
    .aside.aside-dark .aside-logo .logo {
        background-image: url(/local/img/pi_login_blank.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 0 0;
    }
.aside.aside-dark {
    background-color: var(--pi-dark-blue) !important;
}

.aside-dark .menu .menu-item .menu-section {
    color: var(--white) !important;
}

.aside-dark .menu .menu-item .menu-link .menu-title {
    color: var(--white);
}
.aside-dark .menu .menu-item .menu-link .menu-arrow:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 9' fill='%23FFFFFF'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.93537 4.57889C6.03839 4.77912 6.0191 5.0363 5.87137 5.21403L2.87153 8.82282C2.68598 9.04603 2.36951 9.06026 2.16468 8.8546C1.95985 8.64893 1.94422 8.30126 2.12977 8.07804L4.80594 4.85863L2.15586 1.93583C1.96104 1.72096 1.96165 1.37314 2.15722 1.15895C2.35279 0.944757 2.66927 0.945311 2.86409 1.16018L5.85194 4.45551C5.8859 4.49296 5.91371 4.53459 5.93537 4.57889Z'/%3e%3c/svg%3e")
}

.aside-dark .menu .menu-item .menu-link.active {
    background-color: var(--pi-blue) !important;
}

    .aside-dark .menu .menu-item .menu-link.active .menu-title {
        color: var(--white) !important;
    }

    .aside-dark .menu .menu-item .menu-link.active .menu-icon .svg-icon svg [fill]:not(.permanent):not(g) {
        fill: var(--white);
    }

.aside-dark .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-icon .svg-icon svg [fill]:not(.permanent):not(g), .aside-dark .menu .menu-item.hover > .menu-link:not(.disabled):not(.active) .menu-icon .svg-icon svg [fill]:not(.permanent):not(g) {
    fill: var(--pi-blue);
}

.aside-dark .menu .menu-item .menu-link .menu-title {
    transition: color .3s ease;
}
.aside-dark .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-title,
.aside-dark .menu .menu-item.hover > .menu-link:not(.disabled):not(.active) .menu-title {
    color: var(--pi-blue) !important
}

.aside-dark .menu .menu-item .menu-link:not(.disabled):not(.active) .menu-bullet .bullet, .aside-dark .menu .menu-item > .menu-link:not(.disabled):not(.active) .menu-bullet .bullet,
.aside-dark .menu .menu-item .menu-link.active .menu-bullet .bullet, .aside-dark .menu .menu-item > .menu-link.active .menu-bullet .bullet 
{
    background-color: var(--white) !important
}
.aside-dark .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-bullet .bullet, .aside-dark .menu .menu-item.hover > .menu-link:not(.disabled):not(.active) .menu-bullet .bullet {
    background-color: var(--pi-blue) !important
}

.aside-dark .hover-scroll-overlay-y:hover {
    scrollbar-color: rgba(255,255,255,.2) transparent !important;
}

/* --------------- Aside Light */

.aside.aside-light .aside-logo {
    background-color: var(--white) !important;
}
    .aside.aside-light .aside-logo a {
        display: block;
        width: 100%;
    }
    .aside.aside-light .aside-logo .logo {
        background-image: url(/local/img/pi_logo.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 0 0;
    }

    .aside.aside-light {
        background-color: var(--white) !important;
    }

.aside-light .menu .menu-item .menu-section {
    color: var(--pi-dark-blue) !important;
}

.aside-light .menu .menu-item .menu-link .menu-title {
    color: var(--pi-dark-blue);
}
.aside-light .menu .menu-item .svg-icon svg [fill]:not(.permanent):not(g) {
    fill: rgba(243, 108, 35, .75);
}


.aside-light .menu .menu-item .menu-link.active {
    background-color: var(--pi-blue) !important;
}


    .aside-light .menu .menu-item .menu-link.active .menu-title {
        color: var(--white) !important;
    }

    .aside-light .menu .menu-item .menu-link.active .menu-icon .svg-icon svg [fill]:not(.permanent):not(g) {
        fill: var(--white);
    }

.aside-light .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-icon .svg-icon svg [fill]:not(.permanent):not(g), .aside-light .menu .menu-item.hover > .menu-link:not(.disabled):not(.active) .menu-icon .svg-icon svg [fill]:not(.permanent):not(g) {
    fill: var(--pi-blue);
}

.aside-light .menu .menu-item .menu-link .menu-title {
    transition: color .3s ease;
}

.aside-light .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-title,
.aside-light .menu .menu-item.hover > .menu-link:not(.disabled):not(.active) .menu-title {
    color: var(--pi-blue) !important
}

.aside-light .menu .menu-item .menu-link:not(.disabled):not(.active) .menu-bullet .bullet, .aside-light .menu .menu-item > .menu-link:not(.disabled):not(.active) .menu-bullet .bullet,
.aside-light .menu .menu-item .menu-link.active .menu-bullet .bullet, .aside-light .menu .menu-item > .menu-link.active .menu-bullet .bullet {
    background-color: var(--pi-dark-blue) !important
}

.aside-light .menu .menu-item .menu-link.active:not(.disabled) .menu-bullet .bullet, 
.aside-light .menu .menu-item > .menu-link:not(.disabled) .menu-bullet .bullet,
.aside-light .menu .menu-item .menu-link.active .menu-bullet .bullet,
.aside-light .menu .menu-item > .menu-link.active .menu-bullet .bullet {
    background-color: var(--white) !important
}

.aside-light .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-bullet .bullet, .aside-light .menu .menu-item.hover > .menu-link:not(.disabled):not(.active) .menu-bullet .bullet {
    background-color: var(--pi-blue) !important
}

.aside-light .hover-scroll-overlay-y:hover {
    scrollbar-color: rgba(0,0,0,.2) transparent !important;
}

.bg-light {
    background-color:#F7F7F7 !important
}


@media all and (max-width: 991px) {
    .header-fixed.toolbar-fixed .toolbar {        
        padding: 0 0 0 0;
    }
}
@media all and (min-width: 991px) {
    .header-fixed.toolbar-fixed .toolbar {
        border-top: none;
        padding: 10px 0;
        top: 75px;
    }
    /*.header-fixed.toolbar-fixed .toolbar:after {
        content: "";
        background: #fff linear-gradient(90deg, rgba(243, 108, 35, 0.5) 0%, rgba(118, 132, 117, 0.5) 30%, rgba(0, 155, 194, 0.5) 70%, rgba(0, 155, 194, 0.5) 100%);
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 10px;
    }*/
    .header-fixed .header {
        padding-bottom: 1rem;
        height: 75px;
    }
    #kt_header:after {
        content: "";
        background: #fff linear-gradient(90deg, rgba(243, 108, 35, 0.5) 0%, rgba(118, 132, 117, 0.5) 30%, rgba(0, 155, 194, 0.5) 70%, rgba(0, 155, 194, 0.5) 100%);
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 10px;
    }
}

.svg-icon.svg-icon-primary svg [fill]:not(.permanent):not(g), .text-active-primary.active .svg-icon svg [fill]:not(.permanent):not(g) {
    fill: var(--pi-blue);
}

.text-primary, .text-active-primary.active {
    color: var(--pi-blue) !important;
}

.form-check.form-check-solid .form-check-input:checked {
    background-color: var(--pi-blue);
}

.btn.btn-light-primary .svg-icon svg [fill]:not(.permanent):not(g) {
    fill: var(--pi-blue);
}

/*.nav-line-tabs .nav-item .nav-link.active.border-0, .nav-line-tabs .nav-item .nav-link:hover:not(.disabled).border-0, .nav-line-tabs .nav-item.show .nav-link.border-0 {
    border: 0 !important
}*/

.nav-line-tabs .nav-item .nav-link:hover:not(.disabled):not(.active) {
    color: var(--pi-dark-blue) !important;
}

.nav-line-tabs.border-transparent .nav-item .nav-link.active, .nav-line-tabs.border-transparent .nav-item .nav-link:hover:not(.disabled), .nav-line-tabs.border-transparent .nav-item.show .nav-link {
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 2px solid transparent;
}
    .nav-line-tabs.border-transparent .nav-item .nav-link.active {
        border-bottom: 2px solid var(--pi-blue) !important;
    }

    /*.modal .modal-content {
        background-color: #FFF;
    }*/

.dx-datagrid .dx-datagrid-headers .dx-datagrid-text-content {
    font-weight: 600 !important;
    color: var(--pi-dark-blue) !important;
}

.btn.btn-primary {
    padding: 15px 26px;
    height: auto;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    color: #fff;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #111d42;
    background: #111d40;
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(17, 29, 64)), to(rgb(3, 6, 13)));
    background: linear-gradient(180deg, rgb(17, 29, 64) 0%, rgb(3, 6, 13) 100%);
    border-radius: 50px;
    text-transform: none;
    border-width: 1px;
    white-space: nowrap;
}

.btn.btn-light-primary {
    padding: 15px 26px;
    height: auto;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--pi-blue);
    background-color: #D9F2F7;
    border-color: #D9F2F7 !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-radius: 50px;
    border-width: 1px;
    white-space: nowrap;
}
    .btn.btn-light-primary:active:not(.btn-active),
    .btn.btn-light-primary:focus:not(.btn-active),
    .btn.btn-light-primary:hover:not(.btn-active) {
        
        border: 1px solid var(--pi-blue) !important;
        
    }

    .btn.btn-primary:active:not(.btn-active),
    .btn.btn-primary:focus:not(.btn-active),
    .btn.btn-primary:hover:not(.btn-active) {
        color: #111d42;
        border: 1px solid #111d42 !important;
        background-color: #FFF !important;
        background: none !important;
    }

        .btn.btn-primary:active:not(.btn-active) i,
        .btn.btn-primary:focus:not(.btn-active) i,
        .btn.btn-primary:hover:not(.btn-active) i {
            color: #111d42 !important;
        }

    .btn.btn-sm.btn-primary:not(.btn-icon) {
        padding-top: calc(.55rem) !important;
        padding-bottom: calc(.55rem) !important;
    }

.btn.btn-outline-primary {
    padding: 15px 26px;
    height: auto;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    color: #111d40;
    border: 1px solid #111d42 !important;
    background: #FFF;
    /*background: -webkit-gradient(linear, left top, left bottom, from(rgb(17, 29, 64)), to(rgb(3, 6, 13)));
    background: linear-gradient(180deg, rgb(17, 29, 64) 0%, rgb(3, 6, 13) 100%);*/
    border-radius: 50px;
    text-transform: none;
    border-width: 1px;
}

    .btn.btn-outline-primary:hover {
        color: #fff;
        background: #111d40;
        background: -webkit-gradient(linear, left top, left bottom, from(rgb(17, 29, 64)), to(rgb(3, 6, 13)));
        background: linear-gradient(180deg, rgb(17, 29, 64) 0%, rgb(3, 6, 13) 100%);
    }

.btn.btn-secondary {
    padding: 15px 26px;
    height: auto;
    font-size: 1rem;
    letter-spacing: 0;
    border-radius: 50px;
    text-transform: none;
    border-width: 1px;
}

.btn.btn-secondary.normal-border-rad {
    border-radius: .475rem;
}

.btn.btn-orange {
    padding: 15px 26px;
    height: auto;
    font-size: 1rem;
    letter-spacing: 0;
    border-radius: 50px;
    text-transform: none;
    border-width: 1px;
    background-color: rgba(243, 108, 35, .2);
    color: var(--pi-orange) !important;
}
    .btn.btn-orange:hover {
        color: white;
        background-color: rgba(243, 108, 35, .8);
    }
    .btn.btn-orange.btn-icon:hover .svg-icon svg [fill]:not(.permanent):not(g) {
        fill: white !important
    
    }
    .btn.btn-orange.btn-icon .svg-icon svg [fill]:not(.permanent):not(g) {
        fill: var(--pi-orange) !important;
    }

    .btn-primary:hover {
        color: #000;
        background-color: #111d40;
        border-color: #111d42;
    }

.btn.btn-primary.btn-icon:hover .svg-icon svg [fill]:not(.permanent):not(g) {
    fill: #111d40;
}

body:not([data-kt-sticky-header=on]) .topbar .btn.btn-icon.btn-primary:hover:not(.btn-active) {
    background-color: #111d40 !important;
}

body:not([data-kt-sticky-header=on]) .topbar .btn.btn-icon.btn-primary:active:not(.btn-active) {
    background-color: #111d40 !important;
}

body:not([data-kt-sticky-header=on]) .topbar .btn.btn-icon.btn-primary:focus:not(.btn-active) {
    background-color: #111d40 !important;
}

body:not([data-kt-sticky-header=on]) .topbar .btn.btn-icon.btn-primary.show {
    background-color: #111d40 !important;
}



.btn.btn-danger {
    color: #fff;
    padding: 15px 26px;
    height: auto;
    font-size: 13px;
    letter-spacing: 0;
    border-radius: 20px;
    text-transform: none;
    border-width: 1px;
    border-color: #CF1E41;
    background-color: #CF1E41 !important;
}

.bg-success {
    --bg-color: #3FAC48 !important;
}

.btn.btn-success {
    color: #fff;
    border-color: #3FAC48;
    background-color: #3FAC48 !important;
}

.btn-success:hover {
    color: #000;
    background-color: #308235;
    border-color: #308235;
}

.btn.btn-success:active:not(.btn-active) {
    color: #fff;
    border-color: #308235;
    background-color: #308235 !important;
}

.btn.btn-success:focus:not(.btn-active) {
    color: #fff;
    border-color: #308235;
    background-color: #308235 !important;
}

.btn.btn-success:hover:not(.btn-active) {
    color: #fff;
    border-color: #308235;
    background-color: #308235 !important;
}

.dx-pager .dx-page-sizes .dx-selection {
    background-color: #111d40;
}


.dx-switch {
    height: auto;
    width: auto !important;
    max-width: 140px;
}

    .dx-switch .dx-switch-wrapper {
        /*display: inline-block;*/
        display: flex;
        align-items: center;
        text-align: left;
        height: 100%;
        width: 100%;
    }

        .dx-switch .dx-switch-wrapper::before {
            display: inline-block;
            height: 100%;
            content: "";
            vertical-align: middle;
        }

.dx-switch-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    color: #FFF;
}

.dx-switch-container {
    display: flex;
    align-items: center;
    width: 100%;
    vertical-align: middle;
    overflow: hidden;
    margin: 0;
    padding: 0 1rem;
    height: auto;
    border-color: #111d42;
    background: transparent;
    
    border-radius: 50px !important;
}

.dx-switch.dx-state-hover .dx-switch-container {
    background: transparent;
    border-color: #111d40;
}
.dx-switch.dx-state-focused .dx-switch-container {
    border-color: #111d40;
}

    .dx-switch.dx-state-hover .dx-switch-container .dx-switch-on, .dx-switch.dx-state-hover .dx-switch-container .dx-switch-off {
        color: #111d40;
    }

.dx-switch-handle::before {
    border-radius: 50px;
    height: 15px;
    width: 15px;
}
.dx-switch-handle {
    margin-top: 5px;
}
.dx-switch-off, .dx-switch-on {
    line-height: 2;
}

.dx-switch.dx-switch-on-value .dx-switch-container {
    border-color: #111d42;
    background: linear-gradient(180deg, rgb(17, 29, 64) 0%, rgb(3, 6, 13) 100%);
}
.dx-switch.dx-switch-on-value .dx-switch-container .dx-switch-on {
    color: #FFF;
}
.dx-switch .dx-switch-off {
    color: #555 !important;
}

.dx-radiobutton-icon-checked .dx-radiobutton-icon-dot {
    background: var(--pi-blue);
}

.dx-datagrid-rowsview .dx-row-focused.dx-data-row .dx-command-edit:not(.dx-focused) .dx-link, .dx-datagrid-rowsview .dx-row-focused.dx-data-row > td:not(.dx-focused), .dx-datagrid-rowsview .dx-row-focused.dx-data-row > tr > td:not(.dx-focused) {
    background-color: var(--pi-blue);
}
.dx-datagrid-rowsview .dx-row-focused.dx-data-row:not(.dx-row-lines) > td, .dx-datagrid-rowsview .dx-row-focused.dx-data-row:not(.dx-row-lines) > tr:first-child > td {
    border-top: 1px solid var(--pi-blue);
    border-bottom: 1px solid var(--pi-blue);
}


.aside-light .menu .menu-item .menu-link .menu-arrow:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 9' fill='%23112E43'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.93537 4.57889C6.03839 4.77912 6.0191 5.0363 5.87137 5.21403L2.87153 8.82282C2.68598 9.04603 2.36951 9.06026 2.16468 8.8546C1.95985 8.64893 1.94422 8.30126 2.12977 8.07804L4.80594 4.85863L2.15586 1.93583C1.96104 1.72096 1.96165 1.37314 2.15722 1.15895C2.35279 0.944757 2.66927 0.945311 2.86409 1.16018L5.85194 4.45551C5.8859 4.49296 5.91371 4.53459 5.93537 4.57889Z'/%3e%3c/svg%3e")
}

.shadow-sm {
    box-shadow: .0 .1rem 1rem .25rem rgba(0,0,0,.025) !important;
}

.explore-toggle .explore-icon.right-panel-open {
    display: inline-block;
}

.filter-drawer.drawer {
    overflow: visible;
    border-left: 4px solid var(--text-color-orange);
}

.explore-toggle {
    background-color: #F36A23;
    position: absolute;
    left: -50px;
    color: #FFF;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    bottom: 0;
    height: 250px;
    text-align: center;
    right: auto;
    width: 50px;
    border-top-left-radius: 0.475rem;
    border-bottom-left-radius: 0.475rem;
    font-size: 1.1rem;
    transition: height .25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .explore-toggle.has-value {
        height: 250px;
    }

    .explore-toggle:hover {
        background-color: #D6560C;
    }

    .explore-toggle .explore-toggle--inner {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        writing-mode: vertical-lr;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .explore-toggle.has-value .explore-toggle--inner .explore-toggle-label {
        position: relative;
        left: 10px;
    }


    .explore-toggle .explore-toggle--inner .explore-icon {
        position: relative;
        rotate: 90deg;
        margin-bottom: 15px;
    }

        .explore-toggle .explore-toggle--inner .explore-icon img {
            transform: rotate(-90deg);
        }

    .explore-toggle .explore-toggle--inner .explore-toggle-label .filters-drawer-count {
        width: 0;
        display: inline-block;
        text-align: left;
    }

    .explore-toggle.has-value .explore-toggle--inner .explore-toggle-label .filters-drawer-count {
        width: 40px;
    }

.filter-drawer.drawer {
    overflow: visible;
    border-left: 4px solid var(--text-color-orange);
}

.filter-drawer.drawer-on .explore-toggle .explore-toggle--inner .explore-icon img {
    transform: rotate(90deg);
}

.btn-check:active + .btn.btn-outline.btn-outline-dashed.btn-outline-default, .btn-check:checked + .btn.btn-outline.btn-outline-dashed.btn-outline-default, .btn.btn-outline.btn-outline-dashed.btn-outline-default.active, .btn.btn-outline.btn-outline-dashed.btn-outline-default.show, .btn.btn-outline.btn-outline-dashed.btn-outline-default:active:not(.btn-active), .btn.btn-outline.btn-outline-dashed.btn-outline-default:focus:not(.btn-active), .btn.btn-outline.btn-outline-dashed.btn-outline-default:hover:not(.btn-active), .show > .btn.btn-outline.btn-outline-dashed.btn-outline-default {
    color: var(--pi-blue);
    border-color: var(--pi-blue);
    background-color: #D9F2F7;
}

.fw-bolder {
    font-weight: 500 !important;
}

#EmployeeTreeName {
 /*   height: 700px;*/
}

.org-dir-datagrid:not(.org-dir-datagrid__tree) {
    min-height: 700px;
}

#EmployeeGrid .dx-datagrid-rowsview .dx-select-checkboxes-hidden > tbody > tr > td > .dx-select-checkbox {
    display: inline-block;
}

.swal2-container .swal2-html-container {
    max-height: 250px;
}

/* START // MFA Login buttons */
.btn.mfa-button {
    border: 1px solid var(--lightest-grey-border) !important;    
    font-size: 16px;
    font-weight: 500;
    color: rgba(0,0,0,.8);
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    .btn.mfa-button span.mfa-icon {
        flex-shrink: 1;
        width: 24px;
        height: 24px;          
        opacity: .8;
    }
    .btn.mfa-button span.mfa-title {
        flex-grow: 1;
    }
    .btn.mfa-button span.mfa-icon {
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
    }
        .btn.mfa-button span.mfa-icon.mfa-icon__microsoft {
            background-image: url(/local/img/microsoft-icon-color.svg);
        }

        .btn.mfa-button span.mfa-icon.mfa-icon__google {
            background-image: url(/local/img/google-icon-color.svg);
        }
        
.btn.mfa-button:hover {
    background-color: var(--body-bg-color);
    border-color: var(--lightest-grey-border-hover) !important;
    color: rgba(0,0,0,1);
}
    .btn.mfa-button:hover span.mfa-icon {
        opacity: 1;
    }

    .btn.mfa-button.disabled {
        pointer-events: none;
        background-color: var(--body-bg-color);
    }
        .btn.mfa-button.disabled .mfa-icon, .btn.mfa-button.disabled .mfa-title {
            opacity: .75;
        }

        .btn.mfa-button.disabled span.mfa-icon.mfa-icon__microsoft {
            background-image: url(/local/img/microsoft-icon-mono.svg);
        }
    .btn.mfa-button.disabled span.mfa-icon.mfa-icon__google {
        background-image: url(/local/img/google-icon-mono.svg);
    }
/* END // MFA Login buttons */

/* Survey tracker */
.menu-item.menu-item-active {
    background-color: #f7f7f7;
}

.survey-tracker-chart {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}
 .survey-tracker-chart .survey-tracker-chart__response-rate {
        position: absolute;
        pointer-events: none;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        font-weight: 600;
        color: #333;
        text-align: center;
    }

/* Survey structure customisations */

#reportingSectionsDiv .bg-active-secondary.active {
    background-color: #00ABC7 !important;
}

#reportingSectionsDiv .text-active-inverse-secondary.active {
    color: #fff !important;
}

#surveyQuestionsDiv .bg-active-secondary.active {
    background-color: #00ABC7 !important;
}

#surveyQuestionsDiv .text-active-inverse-secondary.active {
    color: #fff !important;
}

#surveyQuestionsDiv .active .text-muted {
    color: #fff !important;
}
