@font-face {
    font-family: 'GilroyL';
    src: url('../fonts/gilroy-light.otf');
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/gilroy-regular.ttf');
}
@font-face {
    font-family: 'GilroyM';
    src: url('../fonts/gilroy-medium.ttf');
}
@font-face {
    font-family: 'GilroySB';
    src: url('../fonts/gilroy-semibold.ttf');
}
@font-face {
    font-family: 'GilroyEB';
    src: url('../fonts/gilroy-extrabold.otf');
}

.webbpm.ervu_dashboard {
    --black: #070e1a;
    --color-text-primary: #f4fcff;
    --color-text-secondary: #b1daea;
    --color-text-mute: #6b7e9b;
    --color-primary-5: rgba(244, 252, 255, 0.05);
    --color-primary-20: rgba(244, 252, 255, 0.2);

    --color-success: #00db5d;
    --color-error: #f91e11;
    --color-dark: #070e1a;
    --color-dark-20: rgba(7, 14, 26, 0.2);
    --color-dark-40: rgba(7, 14, 26, 0.4);
    --color-tooltip: rgba(8, 40, 59, 0.85);

    --btn-border: #00f0ff;
    --btn-bg: linear-gradient(40deg, rgba(8, 131, 198, 1) 0%, rgba(32, 181, 219, 1) 100%);
    --btn-shadow: 0 20px 40px -20px rgba(11, 175, 218, 0.4);

    --border-light: rgba(8, 131, 198, 0.6);
    --border-dark: rgba(1, 83, 111, 1);
    --bg-blur-40: blur(20px);
    --bg-blur-20: blur(10px);
    --bg-shadow: 4px 4px 2px 0 rgba(3, 20, 36, 0.4);
    --bg-block: 
        linear-gradient(180deg, rgba(8, 131, 198, 0) 0%, rgba(8, 131, 198, 0.07) 33%, rgba(8, 131, 198, 0.2) 100%),
        linear-gradient(180deg, rgba(19, 46, 55, 0.16) 0%, rgba(19, 46, 55, 0.32) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 80%);
    --bg-group: rgba(8, 131, 198, 0.25);
        /*conic-gradient(from 90deg at 100% 0%, rgba(0, 240, 255, 0.6) 0%, rgba(0, 191, 255, 0.24) 34%, rgba(0, 191, 255, 1) 100%),*/
        /*
        linear-gradient(180deg, rgba(8, 131, 198, 0) 0%, rgba(8, 131, 198, 0.4) 100%),
        linear-gradient(0deg, rgba(19, 46, 55, 0.08) 0%, rgba(19, 46, 55, 0.16) 100%),
        linear-gradient(204deg, rgba(0, 191, 255, 0.5) 0%, rgba(0, 191, 255, 0) 50%);
        */
    --bg-brick: rgba(9, 91, 120, 0.6);

    --w-content: calc((100vw - 300px)/100);

    --size-text-title: min(calc(1.5*var(--w-content)), 2rem); /*32px*/
    --size-text-subtitle: min(calc(1.2*var(--w-content)), 1.5rem); /*24px*/
    --size-text-addprimary: min(calc(1*var(--w-content)), 1.25rem); /*20px*/
    --size-text-primary: min(calc(0.9*var(--w-content)), 1.125rem); /*18px*/
    --size-text-secondary: min(calc(0.7*var(--w-content)), 0.875rem); /*14px*/

    --size-num-title: min(calc(3*var(--w-content)), 3.75rem); /*60px*/
    --size-num-subtitle: min(calc(2.4*var(--w-content)), 3rem); /*48px*/
    --size-num-addtitle: min(calc(2*var(--w-content)), 2.5rem); /*40px*/
    --size-num-primary: min(calc(1.6*var(--w-content)), 2rem); /*32px*/ 
    --size-num-secondary: min(calc(1.2*var(--w-content)), 1.5rem); /*24px*/

    --indent-huge: min(calc(2.4*var(--w-content)), 3rem); /*48*/
    --indent-xlarge: min(calc(2*var(--w-content)), 2.5rem); /*40*/
    --indent-large: min(calc(1.6*var(--w-content)), 2rem); /*32*/
    --indent-medium: min(calc(1.2*var(--w-content)), 1.5rem); /*24*/
    --indent-xbase: min(calc(1*var(--w-content)), 1.25rem); /*20*/
    --indent-base: min(calc(0.8*var(--w-content)), 1rem); /*16*/
    --indent-small: min(calc(0.6*var(--w-content)), 0.75rem); /*12px*/
    --indent-mini: min(calc(0.4*var(--w-content)), 0.5rem); /*8px*/
    --indent-xmini: min(calc(0.2*var(--w-content)), 0.25rem); /*4px*/    

    --h-header: min(calc(3.9*var(--w-content)), 4.875rem); /*78*/ 
    --w-screen: min(calc(2*var(--w-content)), 2.5rem); /*40*/
}
.webbpm.ervu_dashboard .ag-theme-balham-dark {
    --ag-modal-overlay-background-color: transparent !important;
}

body.webbpm.ervu_dashboard {
    display: flex;
    flex-direction: column;
    color: var(--color-text-primary);
    font-family: 'Gilroy';
    background: var(--color-dark) url('../img/bg_image.png')  no-repeat center 0 fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.webbpm.ervu_dashboard .wrapper {
    background: 
        radial-gradient(circle at 0% 0%, rgba(16, 67, 77, 0.35) 0%, rgba(8, 37, 43, 0) 37%),
        radial-gradient(circle at 100% 0%, rgba(16, 67, 77, 0.35) 0%, rgba(8, 37, 43, 0) 37%),
        radial-gradient(circle at 50% 0%, rgba(8, 37, 43, 0.8) 0%, rgba(8, 37, 43, 0.6) 30%, rgba(8, 37, 43, 0) 80%),
        radial-gradient(circle at 50% 0%, rgba(8, 37, 43, 0.8) 0%, rgba(8, 37, 43, 0) 73%),
        radial-gradient(circle at 50% 50%, rgba(8, 37, 43, 0) 47%, rgba(3, 22, 26, 1) 100%);   
}

.webbpm.ervu_dashboard .container {
    padding: var(--h-header) 0 0;
    bottom: 0;
}
.webbpm.ervu_dashboard .container-inside {
    position: relative;
    font-family: 'Gilroy';
    font-size: var(--size-text-primary);
    height: 100%;           
    padding: 0 var(--w-screen) var(--indent-mini) var(--w-screen);
    overflow: auto;
}

.webbpm.ervu_dashboard .header-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: var(--w-screen);
}
.webbpm.ervu_dashboard .header-logo .logo a {
    width: min(5vw, 6.25rem); /*100*/
    height: var(--h-header);
    background: url('../../../src/resources/img/logo-full.svg') no-repeat 0 50%;
    background-size: auto 100%;
}
.webbpm.ervu_dashboard .header-logo .logo-title {
    font-family: 'GilroySB';
    margin-left: min(5vw, 6.25rem); /*100*/
}

.webbpm.ervu_dashboard .header-menu {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: var(--w-screen);
}
.webbpm.ervu_dashboard .header-menu process, 
.webbpm.ervu_dashboard .header-menu process + div, 
.webbpm.ervu_dashboard .header-menu admin-menu {
    display: none !important;
}

.webbpm.ervu_dashboard .header-menu .update-data {
    color: var(--color-text-primary);
    opacity: 0.4;
    margin-right: 16px;
}
.webbpm.ervu_dashboard .header-menu .logout {
    max-width: max-content;
}
.webbpm.ervu_dashboard .header-menu .logout > button {
    color: var(--color-text-primary);
    line-height: 1.3;
    padding: var(--indent-mini) var(--indent-xbase);
    border: 1px solid var(--color-success);
    background-color: var(--color-dark-20);
    outline: none;
} 
.webbpm.ervu_dashboard .header-menu .logout .nav-link {
    padding-right: 0;
    border-radius: var(--indent-medium) 0 0 var(--indent-medium);
    border-right: 0;
}
.webbpm.ervu_dashboard .header-menu .logout .exit {
    border-radius: 0 var(--indent-medium) var(--indent-medium) 0;
    border-left: 0;
}

.webbpm.ervu_dashboard .header {
    display: flex;
    font-family: 'Gilroy';
    font-size: var(--size-text-primary);
    width: 100%;
    height: auto;
    min-height: var(--h-header);
    background: transparent;
}
.webbpm.ervu_dashboard .header > div > * {
    position: relative;
    display: flex;
    align-items: center;
}

.webbpm.ervu_dashboard .header .dropdown-menu.show {
    top: var(--h-header) !important;
    right: 0px !important;
    left: auto !important;
    transform: none !important;
    margin: 0;    
    border: 0;
    border-radius: 0 0 10px 10px;
    background-color: var(--white);
    box-shadow: 0 8px 12px rgb(77 72 91 / 5%), 0 6px 10px rgb(77 72 91 / 0%);
}
.webbpm.ervu_dashboard .header .dropdown-menu.show .dropdown-menu-inner {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.webbpm.ervu_dashboard .header :is(process, admin-menu) .dropdown-menu.show {
    top: 49px !important;
}

.webbpm.ervu_dashboard .header .logout .dropdown-menu.show {
    width: 300px;
}

.webbpm.ervu_dashboard .dropdown-menu-inner:hover {
    background-color: transparent;
}

.webbpm.ervu_dashboard .dropdown-item {
    padding: 4px 20px;
}
.webbpm.ervu_dashboard .dropdown-item:hover,
.webbpm.ervu_dashboard .dropdown-item:focus,
.webbpm.ervu_dashboard .dropdown-item:active {
    color: var(--color-link);
    background-color: transparent;
    outline: transparent;
}

/*----------------- Login ---------------- */
.webbpm.ervu_dashboard :is(.form-signin, .form-signup, .confirm) {
    color: var(--color-text-primary);
    width: 560px;
    padding: 60px 80px;
    margin: 30px auto;
    border: 0;
    border-radius: 20px;
    border: 1px solid var(--color-text-secondary);
    background-color: var(--color-dark-20);
    box-shadow: var(--bg-shadow);
    backdrop-filter: var(--bg-blur-40);    
}

.webbpm.ervu_dashboard :is(.form-signin, .form-signup) .row.title {
    position: relative;
    padding: 0;
}

.webbpm.ervu_dashboard .form-signin h1,
.webbpm.ervu_dashboard .form-signin h2,
.webbpm.ervu_dashboard .form-signup h2,
.webbpm.ervu_dashboard .confirm h2 {
    font-family: 'GilroySB';
    font-size: 32px;
    text-align: left;
    margin-bottom: 20px;
}

.webbpm.ervu_dashboard :is(.form-signin, .form-signup, .confirm) .logo {
    position: absolute;
    top: -10px; 
    right: 0;
    width: 145px;
    height: 40px;
    background: none;
}

.webbpm.ervu_dashboard .form-signin .row.registration > * + *,
.webbpm.ervu_dashboard .form-signin .login-btn-box .password,
.webbpm.ervu_dashboard .form-signin .login-btn-box .btn + .btn {
    margin-left: 20px;
}
/*--------------- end Login -------------- */

@supports not selector(::-webkit-scrollbar) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--color-text-primary) transparent;
    }
}
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: transparent;
}
::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: var(--color-text-primary);
}
::-webkit-scrollbar-track {
    height: 4px;
    background-color: transparent;
}

@media (min-width: 1921px) {
    .webbpm.ervu_dashboard {
        --size-text-title: max(calc(1.5*var(--w-content)), 2rem); /*32px*/
        --size-text-subtitle: max(calc(1.2*var(--w-content)), 1.5rem); /*24px*/
        --size-text-addprimary: max(calc(1*var(--w-content)), 1.25rem); /*20px*/
        --size-text-primary: max(calc(0.9*var(--w-content)), 1.125rem); /*18px*/
        --size-text-secondary: max(calc(0.7*var(--w-content)), 0.875rem); /*14px*/

        --size-num-title: max(calc(3*var(--w-content)), 3.75rem); /*60px*/
        --size-num-subtitle: max(calc(2.4*var(--w-content)), 3rem); /*48px*/
        --size-num-addtitle: max(calc(2*var(--w-content)), 2.5rem); /*40px*/
        --size-num-primary: max(calc(1.6*var(--w-content)), 2rem); /*32px*/ 
        --size-num-secondary: max(calc(1.2*var(--w-content)), 1.5rem); /*24px*/

        --indent-huge: max(calc(2.4*var(--w-content)), 3rem); /*48*/
        --indent-xlarge: max(calc(2*var(--w-content)), 2.5rem); /*40*/
        --indent-large: max(calc(1.6*var(--w-content)), 2rem); /*32*/
        --indent-medium: max(calc(1.2*var(--w-content)), 1.5rem); /*24*/
        --indent-xbase: max(calc(1*var(--w-content)), 1.25rem); /*20*/
        --indent-base: max(calc(0.8*var(--w-content)), 1rem); /*16*/
        --indent-small: max(calc(0.6*var(--w-content)), 0.75rem); /*12px*/
        --indent-mini: max(calc(0.4*var(--w-content)), 0.5rem); /*8px*/
        --indent-xmini: max(calc(0.2*var(--w-content)), 0.25rem); /*4px*/

        --h-header: max(calc(3.9*var(--w-content)), 4.875rem); /*78*/
        --w-screen: max(calc(2*var(--w-content)), 2.5rem); /*40*/
    }
    .webbpm.ervu_dashboard .header-logo .logo a {
        width: max(calc(6.25*var(--w-content)), 5rem);
    }
    .webbpm.ervu_dashboard .header-logo .logo-title {
        margin-left: max(calc(6.25*var(--w-content)), 5rem);
    }
}
/*
@media ((max-width: 780px) or (orientation: portrait)) {
    .webbpm.ervu_dashboard {
        --size-text-title: 2rem;
        --size-text-subtitle: 1.5rem;
        --size-text-addprimary: 1.25rem;
        --size-text-primary: 1.125rem;
        --size-text-secondary: 0.875rem;

        --size-num-title: 3.75rem;
        --size-num-subtitle: 3rem;
        --size-num-addtitle: 2.5rem;
        --size-num-primary: 2rem;
        --size-num-secondary: 1.5rem;

        --indent-huge: 3rem;
        --indent-xlarge: 2.5rem;
        --indent-large: 2rem;
        --indent-medium: 1.5rem;
        --indent-xbase: 1.25rem;
        --indent-base: 1rem;
        --indent-small: 0.75rem;
        --indent-mini: 0.5rem;
        --indent-xmini: 0.25rem;

        --h-header: 4.875rem;
        --w-screen: 1rem;
    }
}

@media (max-width: 480px) {
    .webbpm.ervu_dashboard {
        --size-text-title: 1.75rem;
        --size-text-primary: 1rem;

        --size-num-title: 3rem;
        --size-num-subtitle: 2.5rem;
        --size-num-addtitle: 2rem;
        --size-num-primary: 1.75rem;
    }
}
*/

.webbpm.ervu_dashboard .progress {
    width: 64px;
    height: 64px;
    border: 5px dotted var(--color-text-primary);
    border-radius: 100%;
    display: inline-block;
    position: relative;
    background: transparent;
    box-sizing: border-box;
    animation: rotation 2.5s linear infinite;
}
.webbpm.ervu_dashboard .loader.modal .modal-content {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
