@font-face {
    font-family: 'Segoe';
    src: url('../fonts/Segoe.ttf');
}
@font-face {
    font-family: 'SegoeSL';
    src: url('../fonts/SegoeSL.ttf');
}
@font-face {
    font-family: 'SegoeSB';
    src: url('../fonts/SegoeSB.ttf');
}
@font-face {
    font-family: 'SegoeB';
    src: url('../fonts/SegoeB.ttf');
}
@font-face {
    font-family: 'SegoeBL';
    src: url('../fonts/SegoeBL.ttf');
}

.webbpm a {
    color: #1c92ea;
}
.webbpm a:hover,
.webbpm a:focus,
.webbpm a:active {
    color: #1b84d2;
    text-decoration: none;
}

body.webbpm {
    display: flex;
    flex-direction: column;
    color: #404954;
    font-family: 'Segoe';
    background-color: #fff;
}

.webbpm .container {
    padding: 70px 0 0;
}

body.webbpm [id="page"],
.webbpm .container .container-inside {
    font-family: 'Segoe';
    font-size: 16px;
}

.webbpm .logo {
    height: auto;
    width: auto;
}

.webbpm .header {
    display: flex;
    font-family: 'Segoe';
    width: 100%;
    height: auto;
    min-height: 70px;
    border-bottom: 1px solid #f5f7fa;
    background: #fff;
    box-shadow: 0px 15px 20px 0px rgb(0 0 0 / 4%);
}

.webbpm .header-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 40px;
}

.webbpm .header-logo .logo a {
    background: url('../../../src/resources/img/logo-full.png') no-repeat 0 50%;
}

.webbpm .header-menu {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: 40px;
}

.webbpm .header > div > * {
    position: relative;
    display: flex;
    align-items: center;
}

.webbpm .header-menu > * {
    margin-right: 20px;
}
.webbpm .header-menu > *:last-child {
    margin-right: 0;
}

.webbpm .header-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 15px;
    background-color: #404954;
    outline: transparent;
}
.webbpm .header-menu .nav-link::after {
    display: none; 
}

.webbpm .header-menu .nav-link:hover,
.webbpm .header-menu .nav-link:focus,
.webbpm .header-menu .nav-link:active {
    background-color: #1c92ea; 
}

.webbpm .header-menu .logout .user-info {
    display: flex;
    flex-direction: column;    
    color: #000;
    padding: 4px 20px;
    background: transparent;
    cursor: default;
}

.webbpm .header-menu .user-info  > * {
    display: flex;
    padding-bottom: 10px;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.webbpm .header-menu .user-info  > *:last-child {
    margin-bottom: 0;
}

.webbpm .header-menu .user-info .user-fio {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.webbpm .header-menu .user-info .user-department {
    color: #a0b1bc;
    line-height: 1.2;
}

.webbpm .header .dropdown-menu.show {
    top: 69px !important;
    right: 0px !important;
    left: auto !important;
    transform: none !important;
    margin: 0;    
    border: 0;
    border-radius: 0 0 10px 10px;
    background-color: #fff;
    box-shadow: 0 8px 12px rgb(77 72 91 / 5%), 0 6px 10px rgb(77 72 91 / 0%);
}

.webbpm .header .nav-item .dropdown-menu.show .dropdown-menu-inner {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

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

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

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

.webbpm .dropdown-item {
    padding: 4px 20px;
}

.webbpm .dropdown-item:hover,
.webbpm .dropdown-item:focus,
.webbpm .dropdown-item:active {
    color: #1c92ea;
    background-color: transparent;
    outline: transparent;
}

.webbpm footer {
    color: #404954;
    font-size: 14px;
    left: 0;
    right: 0;
    padding: 15px 40px;
    border-top: 1px solid #e3e6ed;
}

.webbpm footer a {
    color: #404954;
}
.webbpm footer a:hover {
    color: #1c92ea;
}

/*-------------- Menu tasks -------------- */
.webbpm .task-list-tree-panel {
    padding: 0 40px;
}

.webbpm .task-list-tree-panel .task-list-filter {
    font-family: 'Segoe';
    box-shadow: none;
}

.webbpm .task-list-workplace {
    padding: 20px 40px 0 40px;
}

.webbpm .task-list-tree-panel .task-list-filter li:first-of-type {
    font-family: 'SegoeSB';
    font-weight: normal;
    padding-left: 0;
}

.webbpm .task-tbl .tr.task-ontime > .td.task::before,
.webbpm .task-tbl .tr.task-overdue > .td.task::before {
    top: 24px;
    background-color: #31c980;
}

.webbpm .task-list-tree-panel .task-list-filter li.ontime label div {
    background-color: #31c980;
}

.webbpm .task-tbl .tr.task-overdue > .td.task::before,
.webbpm .task-list-tree-panel .task-list-filter li.overdue label div {
    background-color: #1c92ea;
}

.webbpm .task-tbl .thead {
    display: table-header-group;
    border: 0;
    background: transparent;
}

.webbpm .task-tbl .th {
    color: #404954;
    font-family: 'SegoeSB';
    font-size: 14px;
    font-weight: normal;
    padding: 9px 12px;
    border: 0;
    background: #f5f7fa;
}
.webbpm .task-tbl .th:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.webbpm .task-tbl .th:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.webbpm .task-tbl .td {
    color: #404954;
    font-size: 16px;    
    padding: 16px 12px;
    border: 0;
}

.webbpm .task-tbl .thead ~ .tr {
    border-color: #e3e6ed;
    border-width: 1px 0 0 0;
    border-style: solid;
}
.webbpm .task-tbl .thead + .tr {
    border-top-color: transparent;
}

.webbpm .task-tbl .thead ~ .tr:hover {
    border-top-color: transparent;
    border-bottom-color: transparent;
}
.webbpm .task-tbl .thead ~ .tr:hover +.tr {
    border-top-color: transparent;
}

.webbpm .task-tbl .thead ~ .tr:hover .td {
    background-color: #f9f9f9;
}
.webbpm .task-tbl .thead ~ .tr:hover .td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.webbpm .task-tbl .thead ~ .tr:hover .td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
/*------------- end Menu tasks ----------- */

/*----------------- Login ---------------- */
.webbpm .form-signin,
.webbpm .form-signup,
.webbpm .confirm {
    color: #404954;
    width: 560px;
    padding: 60px 80px;
    margin: 30px auto;
    border: 0;
    border-radius: 15px;
    box-shadow: 0px 0px 30px 2px rgb(77 72 91 / 12%);
    background-color: #fff;
}

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

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

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

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