/*
   Manu - 20230101 - add new EBC styles
*/

@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
@import url('shared/material-base.css');

:root {
    /*EBCTheme Colors Constants*/
    --EbcColorBleuPuissant: #002855;
    --EbcColorOrangeChantier: #FA4616;
    --EbcColorGrisSterling: #D0D3D4;
    --EbcColorGrisAcier: #7C878E;
    --EbcColorWhite: rgb(253,253,253);
    --EbcColorMedium: rgb(90,90,90);
    --EbcColorDark: rgb(100,100,100);
    --EbcColorDarkDark: #323232;
    --EbcColorLight: #c8c8c8;
    --EbcColorLightLight: #f0f0f0;
    --EbcColorOutPeriod: #b4b4b4;
    --EbcColorDisable: rgb(230,230,230);
    --EbcColorBorderControle: rgb(210,210,210);
    --EbcColorBorderDarkControle: rgb(190,190,190);
    --EbcColorAccent: #115eca;
    --EbcColorAccentLight: rgb(218, 227, 238);
    --EbcColorEnService: rgba(0, 146, 24, .7);
    --EbcColorHorsService: rgba(255, 0, 0, .7);     /* red */
    --EbcColorEnServiceInfoFilter: #009218;
    --EbcColorHorsServiceInfoFilter: #ff0000;       /* red */
    --EbcColorGreen: rgb(3, 180, 3);
    --EbcColorRedLight: rgba(240, 3, 3, .1);
    --EbcColorWarning: #E60000;
    --EbcColorYellow: #dfd124;
    --EbcColorOrange: #ffa500;
    --EbcColorRowAlternate: #f2f0dbff;
    --EbcColorHeaderGrid: #d3cfa7ff;
    --EbcOrangeColor: #FA4616;
    --EbcColorPantone430C: #343a40;
    --EbcColorPayneGrayBlue: #7C878E;
    --EbcPayneGrayBlueColor: #405e80;
    --EbcColorLightGrey: #939aa1;
    /*EBCTheme Overrides Radzen Constants*/
    --rz-series-1: var(--EbcColorBleuPuissant);
    --rz-series-2: var(--EbcOrangeColor);
    --rz-series-3: var(--EbcColorLightGrey);
    --rz-grid-header-font-size: 15.4px;
    --rz-grid-cell-font-size: 15.4px;
    --rz-primary: var(--EbcColorBleuPuissant);
    --rz-sidebar-background-color: var(--EbcColorBleuPuissant);
    --rz-panel-menu-background-color: var(--EbcColorBleuPuissant);
    --rz-panel-menu-item-2nd-level-background-color: var(--EbcColorBleuPuissant);
    --rz-panel-menu-item-background-color: var(--EbcColorBleuPuissant);
    --rz-primary-light: var(--EbcColorPayneGrayBlue);
    --rz-panel-menu-font-size: var(--rz-body-font-size);
    --rz-panel-menu-2nd-level-vertical-offset: 0;
    --rz-panel-menu-item-2nd-level-hover-background-color: var(--EbcColorPayneGrayBlue);
    --rz-panel-menu-item-3rd-level-hover-background-color: var(--EbcColorPayneGrayBlue);
    --rz-panel-menu-hover-background-color: var(--EbcColorPayneGrayBlue);
    --rz-panel-menu-icon-color: white;
    --rz-panel-menu-item-active-color: white;
    --rz-panel-menu-item-2nd-level-hover-color: white;
    --rz-panel-menu-item-3nd-level-hover-color: white;
    --rz-panel-menu-font-weight: 0;
    --rz-panel-menu-hover-color: white;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

/**/
.input-lg {
    
}
.w-100{
    font-size:15px;
}
/**/
/* Admin Modal */
.app-admin-modal .modal {
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    display: block;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background: rgba(0,0,0,0.3); /* Dim background */
}

    .app-admin-modal .modal-dialog {
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        max-width: none; /* Override default of 500px */
    }

    .app-admin-modal .modal-content {
        margin: 5% auto; /* 5% from the top and centered */
        width: 80%; /* Could be more or less, depending on screen size */
    }

/* Action Dialog */
.app-actiondialog .modal {
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    display: block;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background: rgba(0,0,0,0.3); /* Dim background */
}

.app-actiondialog .modal-dialog {
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    max-width: none; /* Override default of 500px */
}

.app-actiondialog .modal-content {
    margin: 15% auto; /* 15% from the top and centered */
    width: 40%; /* Could be more or less, depending on screen size */
}

/* Admin Pane */
.app-pane-admin-border {
    width: 100%;
    border-width: 1px;
    border-style: dashed;
    border-color: gray;
}

.app-pane-admin-title {
    width: 100%;
    text-align: center;
    color: gray;
}

.app-moduleactions .dropdown-submenu {
    position: relative;
}

    .app-moduleactions .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: 0px;
        margin-left: 0px;
    }

.app-progress-indicator {
    background: rgba(0,0,0,0.2) url('../loading.gif') no-repeat 50% 50%;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999; /* Sit on top */
}

.app-rule {
    width: 100%;
    color: gray;
    height: 1px;
    background-color: gray;
    margin: 0.5rem;
    display: none; /**/
}

.app-link-unstyled, .app-link-unstyled:visited, .app-link-unstyled:hover, .app-link-unstyled:active, .app-link-unstyled:focus, .app-link-unstyled:active:hover {
    font-style: inherit;
    color: inherit;
    background-color: transparent;
    font-size: inherit;
    text-decoration: none;
    font-variant: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-family: inherit;
    border-radius: inherit;
    border: inherit;
    outline: inherit;
    box-shadow: none; /**/
    padding: inherit;
    vertical-align: inherit;
}

.app-alert {
    padding: 20px;
    background-color: #f44336; /* red */
    color: white;
    margin-bottom: 15px;
}

.app-moduletitle a {
    scroll-margin-top: 7rem;
}

/* Tooltips */
.app-tooltip {
    cursor: help;
    position: relative;
}

    .app-tooltip::before,
    .app-tooltip::after {
        left: 25%;
        opacity: 0;
        position: absolute;
        z-index: -100;
    }

    .app-tooltip:hover::before,
    .app-tooltip:focus::before,
    .app-tooltip:hover::after,
    .app-tooltip:focus::after {
        opacity: 1;
        transform: scale(1) translateY(0);
        z-index: 100;
    }

    .app-tooltip::before {
        border-style: solid;
        border-width: 1em 0.75em 0 0.75em;
        border-color: #3E474F transparent transparent transparent;
        bottom: 100%;
        content: "";
        margin-left: -0.5em;
        transition: all .65s cubic-bezier(.84,-0.18,.31,1.26), opacity .65s .5s;
        transform: scale(.6) translateY(-90%);
    }

    .app-tooltip:hover::before,
    .app-tooltip:focus::before {
        transition: all .65s cubic-bezier(.84,-0.18,.31,1.26) .2s;
    }

    .app-tooltip::after {
        background: #3E474F;
        border-radius: .25em;
        bottom: 140%;
        color: #EDEFF0;
        content: attr(data-tip);
        /*margin-left: -8.75em;*/
        margin-left: -8.75em;
        padding: 1em;
        transition: all .65s cubic-bezier(.84,-0.18,.31,1.26) .2s;
        transform: scale(.6) translateY(50%);
        width: 17.5em;
    }

    .app-tooltip:hover::after,
    .app-tooltip:focus::after {
        transition: all .65s cubic-bezier(.84,-0.18,.31,1.26);
    }

@media (max-width: 760px) {
    .app-tooltip::after {
        font-size: .75em;
        /*margin-left: -5em;*/
        left: 0;
        margin-left: 0em;
        width: 10em;
    }
}

@media screen and (max-width: 576px) and (min-width: 0px) {
    .app-tooltip::after {
        font-size: .75em;
        /*margin-left: -5em;*/
        left: 10px;
        margin-left: 0em;
        width: 10em;
    }
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Oqtane Conrol Styles */
/**/
@media screen and (max-width: 576px) and (min-width: 0px) {
    .desktop-only {
        display: none;
    }
}

@media screen and (min-width: 577px) {
    .mobile-only {
        display: none;
    }
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.navbar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    justify-content: space-evenly;
}

.range-wrap {
    position: relative;
    margin: 0 auto 3rem;
}

/* Pager */
.app-pager-pointer {
    cursor: pointer;
}






