.webbpm.account-applications .container {
    height: 100%;
    padding-top: var(--h-header);
    background-color: var(--page-bg);
}
.webbpm.account-applications .container-inside {
    display: flex;
    flex-direction: column;
    font-family: 'Golos';
    height: 100%;
    padding:  var(--indent-small) var(--indent-xbase);
    overflow: auto;
}

.webbpm.account-applications [page-home] {
    display: flex;
    align-items: center;
    justify-content: center;
}
.webbpm.account-applications #app_list {
    display: flex;
    flex-direction: column;
    height: 100%
}

.webbpm.account-applications .header .header-logo {
    margin-left: var(--indent-xbase);
}
.webbpm.account-applications .header-menu .dropdown-menu.show {
    font-size: var(--size-text-primary);
    top: var(--h-header) !important;
    border: 1px solid var(--btn-border);
    border-radius: 8px;
    box-shadow: var(--btn-shadow);
}
.webbpm.account-applications .header-menu .dropdown-menu.show .user-department {
    color: var(--color-text-mute);
    font-size: var(--size-text-secondary);
}
.webbpm.account-applications .header-menu .nav-link {
    padding: 15px;
}

.webbpm.account-applications .title {
    font-size: var(--size-text-title);
    font-family: 'GolosDB';
    padding-top: 0;
    padding-bottom: var(--indent-small);
}
.webbpm.account-applications .title .form-group {
    display: block;
    margin-bottom: 0;
}

.webbpm.account-applications .msg {
    display: block;
}

.webbpm.account-applications .btn:not(:disabled):not(.disabled) {
    color: var(--color-text-active);
    font-family: 'GolosUIM';
    font-size: var(--size-text-primary);
    line-height: normal;
    padding: var(--indent-mini) var(--indent-xbase);
    border: 1px solid var(--btn-border);
    border-radius: 24px;
    background: var(--btn-bg);
    box-shadow: none;
}
.webbpm.account-applications .active > div > .btn:not(:disabled):not(.disabled),
.webbpm.account-applications .btn-main .btn:not(:disabled):not(.disabled),
.webbpm.account-applications .btn-primary:not(:disabled):not(.disabled) {
    color: var(--white);
    background: var(--btn-active-bg);
    box-shadow: var(--btn-shadow);
}
.webbpm.account-applications .btn.disabled,
.webbpm.account-applications .btn:disabled {
    color: rgba(2, 12, 18, 0.3) !important;
    border-color: rgba(2, 12, 18, 0.1);
    background-color: rgba(2, 12, 18, 0.04);
    box-shadow: none;
}

.webbpm.account-applications .btn-big-group > div {
    justify-content: center;
    align-items: center;
}
.webbpm.account-applications .btn-big-group .btn:not(:disabled):not(.disabled) {
    font-size: var(--size-text-subtitle);
    min-width: 300px;
    padding: 40px;
    border-radius: 12px;
    background-color: var(--white) !important;
}
.webbpm.account-applications .btn-big-group .btn:not(:disabled):not(.disabled)::before {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}
.webbpm.account-applications .btn-big-group vbox:first-child .btn:not(:disabled):not(.disabled)::before {
    content: url(../img/svg/users.svg);
}
.webbpm.account-applications .btn-big-group vbox:last-child .btn:not(:disabled):not(.disabled)::before {
    content: url(../img/svg/notes.svg);
}

.webbpm.account-applications .btn-big-group vbox {
    padding-right: 0;
}
.webbpm.account-applications .btn-big-group vbox + vbox {
    margin-left: 40px;
}

.webbpm.account-applications file-upload .file-name {
    border-top-right-radius: 0 !important;
}
.webbpm.account-applications file-upload .file-name ~ .file-btn .choose-file-btn {
    height: 32px;
    border: 0;
    border-bottom: 1px solid var(--input-border);
    border-radius: 0;
    border-top-right-radius: var(--indent-xmini);
    background-color: var(--input-bg);
}

.webbpm.account-applications input[type="text"],
.webbpm.account-applications input[type="date"],
.webbpm.account-applications input[type="email"],
.webbpm.account-applications input[type="password"],
.webbpm.account-applications input[type="number"],
.webbpm.account-applications input.form-control,
.webbpm.account-applications textarea.form-control,
.webbpm.account-applications select,
.webbpm.account-applications .selectize-control.single .selectize-input,
.webbpm.account-applications .multi.plugin-remove_button .selectize-input {
    color: var(--color-text-primary);
    font-size: var(--size-text-secondary);
    min-height: 32px;
    border: 0;
    border-bottom: 1px solid var(--input-border);
    border-radius: var(--indent-xmini) var(--indent-xmini) 0 0;
    background-color: var(--input-bg);
    box-shadow: none;
}

.webbpm.account-applications .input-group input[name="password"],
.webbpm.account-applications .input-group input[name="confirmPassword"],
.webbpm.account-applications .date input {
    border-top-right-radius: 0 var(--indent-xmini) 0 0;
}
.webbpm.account-applications .input-group input[name="password"] ~ .input-group-append > .input-group-text,
.webbpm.account-applications .input-group input[name="confirmPassword"] ~ .input-group-append > .input-group-text,
.webbpm.account-applications .date .form-control ~ .input-group-addon,
.webbpm.account-applications .date-time-picker .form-control ~ .input-group-addon {
    color: var(--color-text-active);
    height: 32px;
    border: 0;
    border-bottom: 1px solid var(--input-border);
    border-radius: 0 var(--indent-xmini) 0 0;
    background-color: var(--input-bg);
}

/* DropDownTree start */
.webbpm.account-applications dropdown-tree-view .form-group,
.webbpm.account-applications dropdown-tree-view .dropdown {
    display: flex;
}
.webbpm.account-applications dropdown-tree-view .form-group > label ~ div {
    width: calc(100% - 160px); 
}
.webbpm.account-applications dropdown-tree-view .dropdown > button:not(:disabled):not(.disabled),
.webbpm.account-applications dropdown-tree-view .dropdown > button:not(:disabled):not(.disabled):is(:focus, :active) {
    font-family: 'Golos';
    font-size: var(--size-text-secondary);
    color: var(--color-text-primary);
    text-align: left;
    min-height: 32px;
    width: 100%;
    padding: 6px 24px 6px 8px;
    border: 0;
    border-bottom: 1px solid var(--input-border);
    border-radius: var(--indent-xmini) var(--indent-xmini) 0 0;
    background-color: var(--input-bg);
    box-shadow: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.webbpm.account-applications dropdown-tree-view .dropdown > button::after {
    content: "\f282";
    display: block;
    position: absolute;    
    color: var(--color-text-active);
    font-family: bootstrap-icons !important;
    font-weight: 800 !important;
    font-size: var(--size-text-mini);
    top: calc((50% - var(--size-text-secondary) / 2));
    right: var(--indent-small);
    height: auto;
    width: auto;
    border: 0;
}
.webbpm.account-applications dropdown-tree-view .dropdown.show > button::after {
    top: calc(50% - (var(--size-text-secondary) + var(--indent-mini)) / 2);
    transform: rotate(180deg);
}
.webbpm.account-applications dropdown-tree-view .dropdown-menu {
    padding: 0;
    border: 1px solid var(--btn-border);
    border-radius: 8px;
    background: var(--body-bg);
    box-shadow: var(--btn-shadow);
}
.webbpm.account-applications dropdown-tree-view .dropdown-menu :is(.dropdown-container, .treeview-container) {
    padding: 0;
}
.webbpm.account-applications dropdown-tree-view .dropdown-menu .treeview-container {
    margin-bottom: var(--indent-base);
    overflow-y: auto;
}

.webbpm.account-applications dropdown-tree-view .treeview-header .row-filter {
    margin: var(--indent-base) var(--indent-xbase);
}
.webbpm.account-applications dropdown-tree-view .treeview-header .row-filter > div {
    padding: 0;
}
.webbpm.account-applications dropdown-tree-view .treeview-header input {
    color: var(--color-text-primary);
    font-size: var(--size-text-secondary);
    width: 100%;
    min-height: 32px;
    border: 0;
    border-bottom: 1px solid var(--input-border);
    border-radius: var(--indent-xmini) var(--indent-xmini) 0 0;
    background-color: var(--input-bg);
    box-shadow: none;
}
.webbpm.account-applications dropdown-tree-view .treeview-header input::placeholder {
    color: var(--color-text-mute);
}
.webbpm.account-applications dropdown-tree-view .treeview-header input::-webkit-input-placeholder {
    color: var(--color-text-primary);
}
.webbpm.account-applications dropdown-tree-view .treeview-header input:-moz-placeholder {
    color: var(--color-text-primary);
}
.webbpm.account-applications dropdown-tree-view .treeview-header input::-moz-placeholder {
    color: var(--color-text-primary);
}
.webbpm.account-applications dropdown-tree-view .treeview-header input:-ms-input-placeholder {
    color: var(--color-text-primary);
}
.webbpm.account-applications dropdown-tree-view .row-filter {
    position: relative;
}
.webbpm.account-applications dropdown-tree-view .row-filter::after {
    content: "\f52a";
    position: absolute;
    color: var(--color-text-active);
    font-family: bootstrap-icons !important;
    font-weight: 800 !important;
    font-size: var(--size-text-secondary);
    top: calc(50% - (var(--size-text-secondary) + var(--indent-mini)) / 2);
    right: var(--indent-xbase);
}

.webbpm.account-applications dropdown-tree-view .dropdown-divider {
    margin: 0;
    border-color: var(--btn-border);
}
.webbpm.account-applications dropdown-tree-view :is(.row-item, .treeview-text) {
    color: var(--color-text-primary);
    padding: var(--indent-mini) var(--indent-xbase);
    border-bottom: 1px solid var(--btn-border);
}
.webbpm.account-applications dropdown-tree-view .row-item:is(:hover, :focus, :active) {
    color: var(--color-text-active);
}
.webbpm.account-applications dropdown-tree-view ngx-treeview-item ngx-treeview-item .treeview-item {
    padding-left: var(--indent-xbase);
}
.webbpm.account-applications dropdown-tree-view .row-item label {
    font-size: var(--size-text-primary);
    width: auto;
    min-width: min(7.5vw, 9.375rem); /*150*/
}
.webbpm.account-applications dropdown-tree-view :is(.bi-caret-down-fill, .bi-caret-right-fill) {
    margin-right: var(--indent-mini);
}
.webbpm.account-applications dropdown-tree-view :is(.bi-caret-down-fill, .bi-caret-right-fill)::before {
    position: relative;
    top: calc(var(--indent-xmini) / -4);
    font-size: var(--size-text-secondary);
}
.webbpm.account-applications dropdown-tree-view .bi-caret-down-fill::before {
    content: "\f2e9";
}
.webbpm.account-applications dropdown-tree-view .bi-caret-right-fill::before {
    content: "\f4fd";
}
.webbpm.account-applications dropdown-tree-view :focus {
    outline: none !important;
    box-shadow: none !important;
}
/* DropDownTree end */

.webbpm.account-applications .selectize-dropdown, 
.webbpm.account-applications .selectize-input, 
.webbpm.account-applications .selectize-input input {
    font-size: var(--size-text-secondary);
}    
.webbpm.account-applications .selectize-control {
    display: flex;
    height: 32px;
    min-height: auto;
    background-color: transparent;
}
.webbpm.account-applications .selectize-control .selectize-input::after {
    content: "\f282";
    color: var(--color-text-active);
    font-family: bootstrap-icons !important;
    font-weight: 800 !important;
    font-size: var(--size-text-mini);
    top: calc((50% - var(--size-text-secondary) / 2));
    right: var(--indent-small);
    height: auto;
    width: auto;
    border: 0;
}
.webbpm.account-applications .selectize-control .selectize-input.dropdown-active::after {
    transform: rotate(180deg);
}
.webbpm.account-applications .selectize-control .selectize-input::before {
    display: none;
}
.webbpm.account-applications .selectize-control .selectize-input > input {
    color: var(--color-text-primary);
    font-family: 'GolosUI';
}
.webbpm.account-applications .selectize-control .selectize-input > .item {
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.webbpm.account-applications .selectize-dropdown {
    background-color: transparent;
    box-shadow: none;
}
.webbpm.account-applications .selectize-dropdown-content {
    border: 0;
}

.webbpm.account-applications .nav-tabs {
    justify-content: center;
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: var(--indent-small) var(--indent-small) 0 0;
    background-color: transparent;
}
.webbpm.account-applications .nav-tabs ~ .tab-active > .active {
    padding: var(--indent-base) var(--indent-medium);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--indent-small) var(--indent-small);
    background-color: var(--white);
    box-shadow: var(--shadow);
}
.webbpm.account-applications .nav-tabs .nav-item.active {
    position: relative;
}
.webbpm.account-applications .nav-tabs .nav-item.active::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    bottom: 1px;
    border-radius: 2px 2px 0 0;
    background-color: #1487cf;
    box-shadow: 0 -1px 2px 0px rgba(20, 135, 207, 0.3);
}
.webbpm.account-applications .nav-tabs .nav-item + .nav-item {
    margin-left: 16px;
}
.webbpm.account-applications .nav-tabs .nav-link {
    color: var(--color-text-mute);
    font-family: 'GolosM';
    font-size: var(--size-text-secondary);
    text-transform: uppercase;
    padding: 12px 0;
    border: 0;
    background-color: transparent !important;
    box-shadow: none;
}
.webbpm.account-applications .nav-tabs .active > .nav-link {
    color: var(--color-link);
}

.webbpm.account-applications collapsible-panel .card {
    color: var(--color-text-mute);
    margin-bottom: var(--indent-small);
    border-radius: 8px;
    border: 1px solid var(--btn-border) !important;
    background-color: var(--panel-bg);
}
.webbpm.account-applications collapsible-panel .card i.fa {
    display: none;
    width: 16px;
}
.webbpm.account-applications collapsible-panel .card-header,
.webbpm.account-applications collapsible-panel .card-block .font-bold {
    font-family: 'GolosDB' !important;
    font-size: var(--size-text-primary) !important;
}
.webbpm.account-applications collapsible-panel .card-header {
    padding: var(--indent-mini) var(--indent-small) !important;
}
.webbpm.account-applications collapsible-panel .card-block {
    font-size: var(--size-text-secondary);
    padding: var(--indent-mini) var(--indent-small) !important;
    border-top: 1px solid var(--btn-border);
    background-color: var(--panel-bg);
}
.webbpm.account-applications collapsible-panel .card-block .filter-group .horizontal-container > * {
    padding-left: var(--indent-xlarge);
    padding-right: 0;
}
.webbpm.account-applications collapsible-panel .card-block .filter-group .horizontal-container > *:first-child {
    padding-left: 0;
}
.webbpm.account-applications label {
    font-size: var(--size-text-mini);
}
.webbpm.account-applications .width-full label {
    width: 160px;
}
.webbpm.account-applications .width-full.fixed-label-mini label {
    width: 100px;
}
.webbpm.account-applications .width-full.fixed-label-extra-mini label {
    width: 60px;
}

.webbpm.account-applications grid-v2 {
    flex: 1;
}

.webbpm.account-applications grid-v2 {
    flex: 1 1 auto;
}

.webbpm.account-applications * + grid-v2,
.webbpm.account-applications grid-v2 ~ *:not([hidden]),
.webbpm.account-applications .block-fixed-buttons {
    margin-top: var(--indent-small);
}

.webbpm.account-applications ag-grid-angular {
    font-family: 'Golos';
}
.webbpm.account-applications ag-grid-angular .grid-setting-icon,
.webbpm.account-applications ag-grid-angular .ag-header-cell.ag-header-active .ag-header-cell-menu-button,
.webbpm.account-applications ag-grid-angular .ag-header-cell .ag-header-icon .ag-icon,
.webbpm.account-applications ag-grid-angular .ag-header-row-column-filter :is(.ag-header-cell, .ag-header-group-cell)::after,
.webbpm.account-applications ag-grid-angular .ag-filter .ag-filter-condition,
.webbpm.account-applications ag-grid-angular .ag-filter .ag-filter-condition ~ * {
    display: none !important;
}
.webbpm.account-applications ag-grid-angular :is(.ag-root-wrapper, .ag-header-viewport, .ag-header-container, .ag-header) {
    background-color: transparent;
}
.webbpm.account-applications ag-grid-angular .ag-header {
    border-top: 1px solid var(--btn-border);
    border-radius: 0;
}
.webbpm.account-applications ag-grid-angular .ag-header-row {
    color: var(--color-text-mute);
    font-family: 'GolosDB';
    font-size: var(--size-text-mini);
    text-transform: uppercase;
}
.webbpm.account-applications ag-grid-angular .ag-header-row:not(:first-child) .ag-header-cell,
.webbpm.account-applications ag-grid-angular .ag-header-row:not(:first-child) .ag-header-group-cell.ag-header-group-cell-with-group {
    border-top: 0;
}
.webbpm.account-applications ag-grid-angular .ag-header-cell::after, 
.webbpm.account-applications ag-grid-angular .ag-header-group-cell::after {
    background-color: var(--btn-border);
}

.webbpm.account-applications ag-grid-angular .ag-body {
    border: 1px solid var(--btn-border);
    border-radius: 8px;
    background-color: var(--white);
}
.webbpm.account-applications ag-grid-angular .ag-row.ag-row-hover,
.webbpm.account-applications ag-grid-angular .ag-row.ag-row-hover .ag-cell {
    color: var(--color-link);
    border-radius: 0;
    background-color: transparent !important;
}
.webbpm.account-applications ag-grid-angular .ag-row.ag-row-hover,
.webbpm.account-applications ag-grid-angular .ag-row.ag-row-hover + .ag-row {
    border-color: var(--border-light);
}
.webbpm.account-applications ag-grid-angular .ag-row-last:not(.ag-row-first) {
    border-width: 1px 0 0;
}
.webbpm.account-applications ag-grid-angular .ag-row.wb-row-unselectable {
    background-color: transparent;
}
.webbpm.account-applications ag-grid-angular .ag-cell-focus:not(.ag-cell-range-selected):focus-within {
   border-color: transparent;
}
.webbpm.account-applications ag-grid-angular .ag-row .ag-cell::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 1px;
    height: 50%;
    top: 25%;
    right: 0;
    background-color: var(--btn-border);
}

.webbpm.account-applications .show-alarm ag-grid-angular .ag-header .alarm {
    display: block;
    font-size: 1.4em;    
    margin-left: 2px;
}

.webbpm.account-applications hbox > .horizontal-container :is(vbox, hbox):not([hidden]) ~ :is(vbox, hbox):not([hidden]) {
    padding-left: var(--indent-xlarge);
}
.webbpm.account-applications hbox > .horizontal-container :is(vbox, hbox) {
    padding-right: 0;
}


.webbpm.account-applications .many-to-many link-field, 
.webbpm.account-applications .many-to-many grid {
    margin-bottom: var(--indent-mini);
}
.webbpm.account-applications .many-to-many .ag-header {
    margin-bottom: var(--indent-mini);
    border-top: 0;
    border-radius: 8px;
    background-color: var(--panel-bg);
}
.webbpm.account-applications .many-to-many .ag-header .ag-header-cell {
    color: var(--color-text-primary);
}
.webbpm.account-applications .many-to-many-move-buttons .btn {
    padding: 0 !important;
}
.webbpm.account-applications #add_user_application .many-to-many link-field,
.webbpm.account-applications #add_user_application .many-to-many grid {
    height: 184px;
}

/** TODO remove */
.webbpm ag-grid-angular div[id="user_application_role$user_role_id"],
.webbpm ag-grid-angular .ag-cell[col-id="user_application_role$user_role_id"] {
    display: none;
    width: 0 !important;
    padding: 0 !important;
    border: none !important;
}