/* db-select Vue component */

div.dbselect-parent {
    display: flex;
    flex: 0;
}

div.dbselect-parent .dbselect-clear {
    color: transparent;
    background: url(../dbimages/ic-remove-black.svg) no-repeat center;
    width: 30px;
    border: 1px solid #D9E8FF;
    border-inline-start: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

div.dbselect {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--primary-100);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    width: 100%;
    background-color: #FFF;
    justify-content: center;
}

div.dbselect.show-delete {
    border-inline-end: 1px solid #D9E8FF;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

div.dbselect:after {
    position: absolute;
    inset-inline-end: 10px;
    content: url(../dbimages/ic-select.svg);
}

div.dbselect.no-label:after {
    top: 5px;
}

div.dbselect > label {
    margin: 10px 10px 0;
    color: var(--secondary-500);
    font-weight: 600;
    font-size: calc(var(--font-size) - 1px);
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    text-align: start;
}

div.dbselect > label > span {
    color: red;
}

div.dbselect.disabled, div.db-multi-select.disabled, div.dbinput input:disabled {
    user-select: none;
    background: #F0F0F0;
    pointer-events: none;
}

div.dbselect > .dbselect-input > .custom-select {
    position: relative;
    text-align: left;
    outline: none;
    height: 30px;
    line-height: 30px;
}

div.dbselect > .dbselect-input > .custom-select div.selected {
    display: flex;
    align-items: center;
    border-radius: 6px;
    color: #000000;
    cursor: pointer;
    user-select: none;
    height: 100%;
    padding-inline-start: 10px;
    padding-inline-end: 25px;
}

div.dbselect > .dbselect-input > .custom-select div.selected span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #000;
    font-weight: 400;
    font-size: var(--font-size);
}

div.dbselect > .dbselect-input > .custom-select div.selected span pre {
    color: var(--primary-500);
    font-family: var(--font-family);
}

div.dbselect > .dbselect-input > .custom-select div.selected.placeholder {
    color: #585858;
}

div.dbselect > .dbselect-input > .custom-select div.selected img {
    margin-right: 10px;
}

div.dbselect > .dbselect-input > .custom-select div.selected.open {
    border-radius: 6px 6px 0 0;
}

div.dbselect > .dbselect-input > .custom-select div.items {
    color: #000;
    border-radius: 0 0 6px 6px;
    overflow: auto;
    background-color: #FFF;
    border-top: 1px solid #ddeaff;
    border-right: 1px solid #ddeaff;
    border-left: 1px solid #ddeaff;
    border-bottom: 1px solid #ddeaff;
    position: absolute;
    inset-inline-start: 0;
    top: 32px;
    inset-inline-end: 0;
    z-index: 22;
    max-height: 350px;
    -webkit-box-shadow: 0 0 5px 0 #d0cece;
    -moz-box-shadow: 0 0 5px 0 #d0cece;
    box-shadow: 0 0 5px 0 #d0cece;
    width: 100%;
}

div.dbselect > .dbselect-input > .custom-select div.items.top {
    top: unset;
    bottom: 35px;
}

div.dbselect > .dbselect-input > .custom-select div.item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

div.dbselect > .dbselect-input > .custom-select div.item > span {
    min-height: 30px;
    font-size: var(--font-size);
    color: var(--gs-black);
    padding: 0 8px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: start;
}

.dbselect-input .items .item .delete-icon {
    padding: 2px 3px;
    margin: 1px;
    border-radius: 5px;
}

.dbselect-input .items .item .delete-icon:hover {
    background-color: var(--hover-background-color);
}

.dbselect-input .items .item .delete-icon .dbicon.delete {
    -webkit-mask-size: 14px;
}

div.dbselect > .dbselect-input > .custom-select div.item:hover {
    background-color: var(--primary-50);
}

div.dbselect > .dbselect-input > .custom-select div.selectHide {
    display: none;
}

/* db-select Vue component */

/* popup Vue component */

.popup-container {
    position: relative;
}

.popup {
    display: flex;
    flex-direction: column;
    visibility: hidden;
    background-color: white;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    inset-inline-start: 0;
    top: calc(var(--popup-button-height) + 5px);
    z-index: 25 !important;
    box-shadow: rgb(99 99 99 / 20%) 0 2px 8px 0;
    user-select: none;
}

.popup.popup-right {
    inset-inline-start: unset;
    inset-inline-end: 0;
}

.popup-item:hover {
    color: var(--primary-600);
}

.popup.right {
    top: unset;
    inset-inline-start: 70px;
    bottom: 10px;
}

.popup button, .popup a {
    border: none;
    color: var(--gs-black);
    background-color: var(--gs-white);
    padding: 10px;
    width: 100%;
    text-align: start;
}

.popup button i.dbicon, .popup a i.dbicon {
    background-color: var(--primary-600);
}

.popup button:hover, .popup a:hover {
    background-color: #e8f1ff;
    border-radius: 5px;
    cursor: pointer;
}

.popup button:hover i, .popup a:hover i {
    background-color: var(--primary-500);
}

/* popup Vue component */

/* db-table component */
.dbtable table {
    table-layout: auto;
    border-spacing: 0;
    border-inline-end: 1px solid var(--primary-100);
    background-color: white;
}

.dbtable table thead th,
.dbtable table tbody td {
    border-block-end: 1px solid var(--primary-100);
    border-inline-start: 1px solid var(--primary-100);
    height: 50px;
}

.dbtable table tbody td {
    font-size: calc(var(--font-size) + 1px);
    font-weight: 500;
    height: 45px;
}

.dbtable table thead th {
    color: #000;
    font-size: calc(var(--font-size) + 1px);
    font-weight: var(--font-weight);
    border-top: 1px solid var(--primary-100);
}

.db-table thead.v-data-table-header > tr > th > div {
    display: inline-block;
    width: 90%;
}

.db-table thead.v-data-table-header > tr > th > div.v-input label {
    font-size: calc(var(--font-size) - 1px);
}

.db-table-td span.dbicon {
    display: inline-block;
    /* align-items: center; */
}

.dbtable .db-table-th.freeze,
.dbtable .db-table-td.freeze {
    position: -webkit-sticky;
    position: sticky;
    background-color: #fff;
}

.dbtable .db-table-th.freeze {
    z-index: 4;
    background-color: #F0F0F0 !important;
}

.dbtable .db-table-td.freeze,
.dbtable .v-row-group__header .db-table-th.freeze {
    z-index: 3;
}

.dbtable .db-table-th.freeze.right,
.dbtable .db-table-td.freeze.right {
    inset-inline-end: 0;
}

.dbtable .db-table-th.freeze.left,
.dbtable .db-table-td.freeze.left {
    inset-inline-start: 0;
    border-inline-end: 1px solid var(--primary-100);
    width: 3%;
}

.dbtable .db-table-tr.selected,
.dbtable .db-table-tr.selected .db-table-td.freeze {
    background: #f4f8ff;
}

.dbtable .db-table-tr:hover .db-table-td.freeze {
    background: #f4f8ff
}

.dbtable .db-table-th.freeze:before,
.dbtable .db-table-th.freeze:after,
.dbtable .db-table-td.freeze:before,
.dbtable .db-table-td.freeze:after {
    position: absolute;
    width: 100%;
    border-inline-start: 2px solid var(--primary-100);
    border-inline-end: 1px solid var(--primary-100);
    z-index: 2;
}

.dbtable .db-table-th.freeze:before,
.dbtable .db-table-td.freeze:before {
    top: 0;
    inset-inline-start: 0;
    bottom: 0;
    inset-inline-end: 0;
}

.dbtable .db-table-th.freeze:after,
.dbtable .db-table-td.freeze:after {
    top: 0;
    inset-inline-start: 0;
    bottom: 0;
    inset-inline-end: 0;
}

.dbtable .db-table-td span.tooltip:hover:before {
    top: 21px;
    inset-inline-start: 4px;
    border-inline-start: 5px solid transparent;
    border-inline-end: 5px solid transparent;
    border-bottom: 5px solid black;
}

.dbtable .db-table-td span.tooltip:hover:after {
    top: 30px;
    inset-inline-start: unset;
    inset-inline-end: -15px;
}

.dbtable .db-table-td a:hover {
    text-decoration: underline;
}

.dbtable .db-table-td-info span {
    margin: 0 10px;
}

.dbtable .table-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.dbtable .db-table-td-__actions .favorite,
.dbtable .db-table-td-__actions .favorite-filled {
    background-color: var(--primary-500);
}

.dbtable .db-table-td-__actions .delete {
    background-image: var(--func-danger-600);
}

.dbtable table thead th .row {
    flex-wrap: nowrap;
    margin: unset;
    justify-content: space-between;
}

.dbtable table thead th .row span.dbicon {
    margin-left: unset;
    background-color: #8c90a6;
}

.dbtable .v-label {
    color: #000;
    font-size: calc(var(--font-size) + 1px);
}

/* db-table component */

/** db-header-toolbar component */
.dbheader-toolbar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    background-color: var(--header-bg-color);
    color: var(--gs-white);
    -moz-box-shadow: 0 0 8px 0 #d0cece;
    -webkit-box-shadow: 0 0 8px 0 #d0cece;
    -o-box-shadow: 0 0 8px 0 #d0cece;
    box-shadow: 0 0 8px 0 #d0cece;
    position: absolute;
    top: 0;
    z-index: 22;
    width: 100%;
    height: 60px;
}

.dbheader-toolbar div, .dbheader-toolbar a {
    font-size: var(--font-size);
    font-weight: 500;
    margin-inline-start: 5px;
}

.dbheader-toolbar div.dbpopup-button {
    background-color: transparent;
}

.dbheader-toolbar div.dbpopup-button > i.dbicon {
    background-color: var(--gs-white);
}

.dbheader-toolbar div.dbpopup-button:hover {
    color: var(--primary-350);
}

.dbheader-toolbar div.dbpopup-button:hover > i.dbicon {
    background-color: var(--primary-350);
}

.dbheader-toolbar a {
    color: var(--gs-white);
}

.dbheader-toolbar a:hover {
    text-decoration: underline;
}

.dbheader-toolbar > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.dbheader-toolbar .db-popup-button {
    background: transparent;
}

.dbheader-toolbar .dbheader-action i.dbicon {
    background-color: var(--gs-white);
}

.dbheader-toolbar .dbheader-action:hover i.dbicon {
    background-color: var(--primary-350);
}

.dbheader-toolbar .dbbutton-secondary-borderless:not(.popup-item):hover {
    background-color: var(--primary-500) !important;
}

.dbheader-toolbar .dbbutton.dbbutton-secondary-borderless:not(.popup-item) > i.dbicon {
    background-color: var(--gs-white);
}

/** db-header-toolbar component */

/** db-header-action component */
.dbheader-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gs-white);
    cursor: pointer;
    gap: 5px;
}

.dbheader-action i {
    height: 20px;
    width: 20px;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-color: var(--gs-white);
}

.dbheader-action:hover {
    color: var(--primary-350);
}

.dbheader-action:hover i {
    background-color: var(--primary-350);
}

/** db-header-action component */

/** db-search-tree component */
.db-search-tree {
    border: 1px solid #CCE1FF;
    border-radius: 5px;
    min-height: 100px;
}

.db-search-tree .searchbox {
    border-width: 0;
    background-color: #F4F8FF;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.db-search-tree .v-treeview {
    height: 260px;
    overflow: auto;
    font-size: var(--font-size);
}

.db-search-tree .v-treeview .v-treeview-node__toggle.mdi-menu-down::before {
    color: #FFF;
    transform: rotate(-90deg);
    font-size: calc(var(--font-size) + 3px);
}

html[dir="rtl"] .db-search-tree .v-treeview .v-treeview-node__toggle.mdi-menu-down::before {
    transform: rotate(90deg);
}

html[dir="rtl"] .db-search-tree .v-treeview .v-treeview-node__toggle.mdi-menu-down.v-treeview-node__toggle--open::before,
.db-search-tree .v-treeview .v-treeview-node__toggle.mdi-menu-down.v-treeview-node__toggle--open::before {
    transform: none;
}

.db-search-tree .v-treeview .v-icon.v-icon {
    background-color: var(--primary-600);
    width: 16px;
    height: 16px;
    border-radius: 2px;
    z-index: 1;
}

.db-search-tree .v-treeview .v-icon.v-icon:after {
    background-color: transparent;
}

.db-search-tree .v-treeview .v-icon.v-icon.v-treeview-node__checkbox {
    background-color: transparent;
    margin-inline-start: 5px;
    color: var(--primary-500);
}

.db-search-tree .v-treeview .v-treeview-node__root div.v-treeview-node__level {
    width: 0;
}

.db-search-tree .v-treeview .v-treeview-node__root div.v-treeview-node__level:first-child {
    width: 24px;
    height: 1px;
    background-color: #E9E9EE;
}

.db-search-tree .v-treeview .v-treeview-node__children {
    margin-inline-start: 14px;
    border-inline-start: 1px solid #E9E9EE;
    position: relative;
}

.db-search-tree .v-treeview-node__children .v-treeview-node .v-treeview-node__children {
    margin-inline-start: 42px;
}

.db-search-tree .v-treeview .v-treeview-node__root {
    min-height: 0;
}

.db-search-tree .v-treeview-node:last-child .v-treeview-node__children::after {
    content: "";
    width: 1px;
    height: 12px;
    background-color: #FFF;
    display: block;
    bottom: 0;
    inset-inline-start: -1px;
    position: absolute;
    float: left;
}

.db-search-tree .v-treeview-node--click > .v-treeview-node__root:hover:before {
    opacity: 0 !important;
}

.db-search-tree .v-treeview-node--click > .v-treeview-node__root .v-treeview-node__content {
    padding: 5px 10px;
    border-radius: 4px;
}

.db-search-tree .v-treeview-node--click > .v-treeview-node__root .v-treeview-node__content .v-treeview-node__append {
    text-align: end;
}

.db-search-tree .v-treeview-node--click > .v-treeview-node__root:hover .v-treeview-node__content {
    background-color: var(--hover-background-color);
}

.db-search-tree .v-treeview-node--click > .v-treeview-node__root .v-treeview-node__content .suffix-icon {
    display: inline-block;
    height: 12px;
    width: 12px;
    mask-size: cover;
    -webkit-mask-size: cover;
}

.db-search-tree i.suffix-icon.icon-validate {
    background: url(../dbimages/ic-check-green.svg);
    padding-inline-start: 17px;
}

/** db-search-tree component */

/** db-calender component */

.db-calendar {
    border: 1px solid #BBD6FF;
    border-radius: 5px;
    background-color: #FFF;
    height: 444px;
}

.db-calendar .header {
    border-bottom: 1px solid #BBD6FF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.db-calendar .header h2 {
    color: var(--primary-600);
}

.db-calendar .header div {
    display: flex;
    align-items: center;
}

.db-calendar .header .btn-prev {
    margin-inline-end: 10px;
}

.db-calendar .header button {
    display: inline-block;
    width: 12px;
    height: 12px;
    mask-size: cover;
    -webkit-mask-size: cover;
    background-color: var(--primary-500);
}

.db-calendar .header .btn-prev {
    mask: url(../dbimages/ic-prev.svg) no-repeat center;
    -webkit-mask: url(../dbimages/ic-prev.svg) no-repeat center;
}

.db-calendar .header .btn-next {
    mask: url(../dbimages/ic-next.svg) no-repeat center;
    -webkit-mask: url(../dbimages/ic-next.svg) no-repeat center;
}

html[dir="rtl"] .db-calendar .header .btn-prev,
html[dir="rtl"] .db-calendar .header .btn-next {
    transform: scale(-1);
}

.db-calendar .v-calendar {
    padding-bottom: 10px;
    border-width: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.db-calendar .v-calendar .v-calendar-weekly__week .v-calendar-weekly__day:nth-last-of-type(-n+2) button {
    color: #8C90A6;
}

.db-calendar .v-calendar .v-calendar-weekly__day-label .v-btn {
    background-color: transparent;
    color: var(--primary-600);
}

.db-calendar .v-calendar .v-calendar-weekly__day-label .v-btn.v-btn--has-bg.primary {
    color: #FFF;
    background-color: var(--primary-500);
}

.db-calendar .v-calendar .v-calendar-weekly__day-label .v-btn.v-btn--has-bg:focus:before {
    opacity: 0;
}

.db-calendar .v-calendar .v-calendar-weekly__day,
.db-calendar .v-calendar .v-calendar-weekly__head-weekday {
    border-width: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.db-calendar .v-calendar .v-calendar-weekly__head-weekday {
    color: var(--primary-600) !important;
}

.db-calendar .v-calendar .v-calendar-weekly__head .v-calendar-weekly__head-weekday.v-outside {
    background-color: transparent;
}

.db-calendar div.calendar {
    width: initial;
}

/** db-calender component */

/** db-button-with-icons component */

.db-button-with-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--gs-white);
    border-radius: 6px;
    border: 1px solid var(--primary-100);
    width: fit-content;
    cursor: pointer;
    padding: 10px;
    height: 42px;
    user-select: none;
    font-size: var(--font-size);
    white-space: nowrap;
}

.db-button-with-icons:hover {
    background-color: var(--gs-background);
}

.db-button-with-icons.disabled {
    cursor: default;
}

.db-button-with-icons * {
    pointer-events: none;
}

.db-button-with-icons i {
    display: inline-block;
    width: 12px;
    height: 13px;
    background-color: var(--primary-600);
}

.db-button-with-icons i:last-child {
    margin-inline-start: auto;
}

.db-button-with-icons p {
    margin: 0;
}

/** db-button-with-icons component */

/** db-button-popup component */

.db-button-popup {
    position: relative;
    width: fit-content;
}

.db-button-popup > div.buttons {
    display: flex;
}

/** db-button-popup component */

/** db-table-action component */
/** db-popup-button component */
.dbpopup-button {
    border: 1px solid var(--primary-100);
    border-radius: 5px;
    padding: 0 20px 0 20px;
    cursor: pointer;
    background-color: var(--gs-white);
    position: relative;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.dbpopup-button > i.default {
    mask: url(../dbimages/ic-select.svg) no-repeat center center;
    mask-size: cover;
    -webkit-mask: url(../dbimages/ic-select.svg) no-repeat center center;
    -webkit-mask-size: auto;
    background-color: var(--primary-600);
}

.dbpopup-button .popup {
    display: flex !important;
    flex-direction: column;
}

.dbpopup-button > .label {
    flex: 1;
}

/** db-popup-button component */

/** db-multi-select component */

.db-multi-select {
    border: 1px solid var(--primary-100);
    border-radius: 5px;
    padding: 10px 10px 0;
}

.db-multi-select .v-text-field {
    margin-top: 0;
}

.db-multi-select .v-text-field__details {
    display: none;
}

.db-multi-select .v-input__slot {
    margin: 0;
}

.db-multi-select .mdi-menu-down::before {
    content: url(../dbimages/ic-select.svg);
    position: absolute;
    top: -22px;
    inset-inline-start: -5px;
}

.db-multi-select .v-text-field > .v-input__control > .v-input__slot:after,
.db-multi-select .v-text-field > .v-input__control > .v-input__slot:before {
    width: 0;
}

.db-multi-select .v-text-field .v-label {
    color: var(--secondary-500) !important;
    transform: translateY(-18px) scale(1);
    text-transform: uppercase;
    font-size: calc(var(--font-size) - 1px);
    font-weight: 600;
}

html[dir="rtl"] .db-multi-select .v-text-field .v-label {
    inset-inline-end: 0 !important;
    inset-inline-start: auto !important;
    left: unset !important;
    right: unset !important;
}

.db-multi-select .v-select__selection.v-select__selection--comma {
    font-size: var(--font-size);
}

.db-multi-select .v-select__selection.v-select__selection--comma.v-select__selection--disabled {
    color: rgba(0, 0, 0, 0.87);
}

.db-multi-select .v-menu__content {
    max-width: none;
}

/** db-multi-select component */

/* db-sidebar-right component */
.dbsidebar-right {
    display: flex;
    flex-direction: row;
    box-shadow: 0 4px 8px 0 #d0cece;
    background-color: #fff;
    z-index: 2;
}

.dbsidebar-right .dbsidebar-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dbsidebar-right .dbsidebar-content {
    position: relative;
    min-width: 450px;
    width: fit-content;
    box-shadow: 0 4px 8px 0 #d0cece;
}

.dbsidebar-right .dbsidebar-content .dbsidebar-footer {
    display: flex;
    gap: 5px;
    position: absolute;
    inset-inline-start: 0;
    inset-inline-end: 0;
    bottom: 0;
    box-shadow: 0 4px 8px 0 var(--gs-bold);
    background-color: var(--gs-white);
    padding: 10px;
    flex-direction: column;
}

.dbaction {
    padding: 20px;
    cursor: pointer;
}

/* db-sidebar-right component */
.dbbutton {
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: 6px;
    outline: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: var(--font-weight);
    font-size: var(--font-size);
}

.dbbutton:focus-visible {
    outline: 2px solid black;
}
/* Center all db-buttons with border */
.dbbutton-primary:not(.dbbutton-borderless), .dbbutton-primary-danger:not(.dbbutton-borderless),
.dbbutton-secondary:not(.dbbutton-borderless), .dbbutton-secondary-danger:not(.dbbutton-borderless) {
    justify-content: center;
}

.dbbutton-borderless {
    border: none !important;
}

.dbbutton.dbbutton-primary,
.dbbutton.dbbutton-primary:not(.dbbutton-disabled):active {
    color: var(--gs-white);
    background-color: var(--primary-500);
    border: 1px solid var(--primary-500);
}

.dbbutton.dbbutton-primary > i.dbicon {
    background-color: var(--gs-white);
}

.dbbutton.dbbutton-primary-danger,
.dbbutton.dbbutton-primary-danger:active {
    color: var(--gs-white);
    background-color: var(--func-danger-500);
    border: 1px solid var(--func-danger-500);
}

.dbbutton.dbbutton-primary-danger > i.dbicon,
.dbbutton.dbbutton-primary-danger > i.dbicon:active {
    background-color: var(--gs-white);
}

.dbbutton-primary-danger:not(.dbbutton-disabled):hover {
    background-color: var(--func-danger-600);
}

.dbbutton.dbbutton-primary:not(.dbbutton-disabled):hover {
    background-color: var(--primary-600);
}

.dbbutton.dbbutton-secondary {
    color: var(--primary-500);
    border: 1px solid var(--primary-500);
    background: none;
}

.dbbutton.dbbutton-secondary-danger {
    color: var(--func-danger-500);
    border: 1px solid var(--func-danger-500);
    background: none;
}

.dbbutton.dbbutton-secondary-danger > i.dbicon {
    background-color: var(--func-danger-500);
}

.dbbutton.dbbutton-secondary:not(.dbbutton-disabled):hover {
    background-color: var(--primary-50);
}

.dbbutton.dbbutton-secondary-danger:not(.dbbutton-disabled):hover {
    color: var(--gs-white);
    background-color: var(--func-danger-500);
}

.dbbutton.dbbutton-secondary-danger:not(.dbbutton-disabled):hover > i.dbicon {
    background: var(--gs-white);
}

.dbbutton.dbbutton-secondary-borderless {
    border: none !important;
}

.dbbutton.dbbutton-secondary-borderless:not(.dbbutton-disabled):not(.dbbutton-secondary-danger):hover {
    background-color: var(--primary-50);
}

.dbbutton.dbbutton-link-danger {
    color: var(--func-danger-500);
    border: none !important;
}

.dbbutton.dbbutton-link-danger:not(.dbbutton-disabled):hover {
    color: var(--gs-white);
    background-color: var(--func-danger-500);
}

.dbbutton.dbbutton-link-danger:not(.dbbutton-disabled):hover > i.dbicon {
    background-color: var(--gs-white) !important;
}

.dbbutton.dbbutton-disabled, .dbbutton.dbbutton-disabled, .dbbutton-disabled {
    cursor: not-allowed;
}

.dbbutton-primary.dbbutton-disabled,
.dbbutton-primary-danger.dbbutton-disabled {
    color: var(--gs-white);
    background-color: var(--secondary-350);
    border: 1px solid var(--secondary-350);
}

.dbbutton-primary.dbbutton-disabled i.dbicon,
.dbbutton-primary-danger.dbbutton-disabled i.dbicon {
    background-color: var(--gs-white);
}

.dbbutton-secondary.dbbutton-disabled,
.dbbutton-secondary-danger.dbbutton-disabled {
    color: var(--secondary-350);
    background: none;
    border: 1px solid var(--secondary-350);
}

.dbbutton-secondary.dbbutton-disabled i.dbicon,
.dbbutton-secondary-danger.dbbutton-disabled i.dbicon {
    background: var(--secondary-350);
}

.dbbutton.dbbutton-secondary-borderless.dbbutton-disabled {
    color: var(--secondary-350);
}

.dbbutton.dbbutton-secondary-borderless.dbbutton-disabled i.dbicon {
    background-color: var(--secondary-350);
}

.dbbutton.dbbutton-primary-create {
    color: var(--gs-white);
    background-color: var(--func-success-600);
}

.v-dialog:not(.v-dialog--fullscreen) {
    max-height: 95% !important;
}

.dbdialog {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    background-color: var(--gs-white);
    position: relative;
}

.dbdialog > .title {
    display: flex;
    user-select: none;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.dbdialog > .dbcontainer {
    padding: 20px;
}

.dbdialog .resize-handle {
    width: 16px;
    height: 16px;
    background-color: #000;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: se-resize;
    z-index: 10;
}

.dbdialog .v-dialog__content {
    overflow: hidden;
    position: relative;
}

#dbcontainer-sendmail {
    padding-top: 0;
    padding-bottom: 0;
}

.dbdialog > i {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 10px !important;
    -webkit-mask-size: 12px !important;
    cursor: pointer;
}

.dbdialog.confirmation .title,
.dbdialog.confirmation .description {
    display: flex;
    padding: 0 15px;
    font-weight: 500;
    font-size: calc(var(--font-size) + 3px);
    align-items: center;
    justify-content: space-between;
}

.dbdialog.confirmation .description {
    margin-top: 15px;
}

.dbdialog.confirmation .actions {
    padding: 10px;
    justify-content: end;
}

.dbdialog .actions {
    display: flex;
    border-top: 1px solid var(--primary-100);
    margin-top: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dbdialog .actions button {
    font-size: calc(var(--font-size) + 1px);
    padding: 5px 10px;
    margin: 5px;
}

.dbsort-popup .info {
    font-weight: 400;
    font-size: calc(var(--font-size) + 1px);
    line-height: 30px;
    margin-top: 10px;
    padding: 12px;
    border: 2px dashed var(--primary-100);
    background-color: var(--gs-background);
}

.dbsort-popup .sort-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.dbsort-popup .sort-row .dbselect .items {
    top: 45px !important;
}

.dbsort-popup .actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 8px;
    padding: 8px 0;
}

.dbsort-popup .actions .dbbutton {
    width: unset !important;
}

.dbsort-popup .actions .dbbutton i {
    margin-right: 8px !important;
}

/** db-treeview component */
.dbtreeview {
    width: 100%;
}

.dbtreeview > .v-treeview {
    background-color: #fff;
    height: 100%;
    width: 100%;
}

.dbtreeview > .v-treeview > .v-treeview-node {
    border: 1px solid var(--primary-100);
    border-radius: 5px;
    border-collapse: collapse;
    height: 100%;
    padding: 10px;
    overflow: auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.dbtreeview > .v-treeview > .v-treeview-node .v-treeview-node__root {
    padding-bottom: 10px;
}

.dbtreeview > .v-treeview > .v-treeview-node .v-treeview-node--leaf .v-treeview-node__root {
    border-inline-start: none;
}

.dbtreeview .v-treeview .v-treeview-node__toggle.mdi-menu-down::before {
    color: #FFF;
    transform: rotate(-90deg);
    font-size: calc(var(--font-size) + 3px);
}

html[dir="rtl"] .dbtreeview .v-treeview .v-treeview-node__toggle.mdi-menu-down.v-treeview-node__toggle--open::before,
.dbtreeview .v-treeview .v-treeview-node__toggle.mdi-menu-down.v-treeview-node__toggle--open::before {
    transform: none;
}

html[dir="rtl"] .dbtreeview .v-treeview .v-treeview-node__toggle.mdi-menu-down::before {
    transform: rotate(90deg);
}

.dbtreeview .v-treeview .v-treeview-node__toggle.mdi-menu-down.v-treeview-node__toggle--open::before,
html[dir="rtl"] .dbtreeview .v-treeview .v-treeview-node__toggle.mdi-menu-down.v-treeview-node__toggle--open::before {
    transform: none;
}

.dbtreeview .v-treeview .v-icon.v-icon:not(.v-treeview-node__checkbox) {
    background-color: var(--primary-600);
    width: 16px;
    height: 16px;
    border-radius: 2px;
    z-index: 1;
    margin-inline-end: 10px;
}

.dbtreeview .v-treeview .v-icon.v-icon:after {
    background-color: transparent;
}

.dbtreeview .v-treeview .v-treeview-node__root div.v-treeview-node__level {
    width: 0;
}

.dbtreeview .v-treeview .v-treeview-node__root div.v-treeview-node__level:first-child {
    width: 24px;
    height: 1px;
    background-color: #E9E9EE;
}

.dbtreeview .v-treeview .v-treeview-node__children {
    margin-inline-start: 14px;
    border-inline-start: 1px solid #E9E9EE;
    position: relative;
}

.dbtreeview .v-treeview-node__children .v-treeview-node .v-treeview-node__children {
    margin-inline-start: 42px;
}

.dbtreeview .v-treeview .v-treeview-node__root {
    min-height: 0;
}

.dbtreeview .v-treeview-node:last-child .v-treeview-node__children::after {
    content: "";
    width: 1px;
    height: 12px;
    background-color: #FFF;
    display: block;
    bottom: 0;
    inset-inline-start: -1px;
    position: absolute;
    float: left;
}

.dbtreeview .v-treeview-node--click>.v-treeview-node__root:hover:before {
    opacity: 0 !important;
}

.dbtreeview .v-treeview-node--click>.v-treeview-node__root .v-treeview-node__content {
    padding: 0 10px;
    border-radius: 4px;
}

.dbtreeview .v-treeview-node--click>.v-treeview-node__root .v-treeview-node__content .v-treeview-node__append {
    margin-inline-start: 5px;
}

.dbtreeview .v-treeview-node--click > .v-treeview-node__root:hover .v-treeview-node__content .v-treeview-node__label {
    border-radius: 5px;
}

.dbtreeview .v-treeview-node--click>.v-treeview-node__root .v-treeview-node__content .suffix-icon {
    display: inline-block;
    height: 12px;
    width: 12px;
    -webkit-mask-size: cover;
    mask-size: cover;
    float: right;
}
/** db-search-tree component */

/* db-modal component */

.modal {
    display: none;
    position: fixed;
    z-index: 35;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.2); /*#C3C5C8;*/
    cursor: default;
}

.modal .modal-content {
    background-color: #fff;
    padding: 0 20px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: visible;
}

.modal .modal-content .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal .modal-header .modal-addition-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal .modal-content .modal-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
}

.modal .modal-content .modal-body > * {
    margin: 0;
}

.modal .modal-content .modal-body p {
    color: #666666;
}

.modal .modal-content .modal-body p span {
    float: right;
    font-weight: 600;
}

.modal .modal-content .modal-body ul {
    list-style: none;
    padding: 20px;
    background-color: #F4F8FF;
    border-radius: 5px;
    border: 1px solid #BFD9FF;
    height: 420px;
    overflow: auto;
    scrollbar-width: none;
}

.modal .modal-content .modal-body ul::-webkit-scrollbar {
    display: none;
}

.modal .modal-content .modal-body ul li div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 5px;
}

.modal .modal-content .modal-body ul li hr {
    background-color: #BFD9FF;
    border: none;
    height: 1px;
}

.modal .modal-content .modal-body ul li div:hover {
    background-color: var(--hover-background-color);
    border-radius: 5px;
    cursor: pointer;
}

.modal .modal-content .modal-body ul li div p {
    color: #1A204D;
    font-weight: 500;
    font-size: calc(var(--font-size) + 1px);
    margin: 0;
}

.modal .modal-content .modal-footer {
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #BBD6FF;
    padding-bottom: 20px;
}

.modal-content .actions {
    display: flex;
    border-top: 1px solid var(--primary-100);
    padding-top: 10px;
    justify-content: end;
}

.modal-content .actions button {
    font-size: calc(var(--font-size) + 1px);
    padding: 5px 10px;
    margin: 5px;
    border: var(--primary-500) solid 1px;
}

.modal-content .actions button:last-child {
    margin-right: 0;
}

/* db-modal component */

/* db-searchbox component */
.searchbox {
    display: flex;
    padding: 5px 10px;
    background: #fff;
    position: relative;
    border-radius: 5px;
    border: 1px solid #CCE1FF;
    align-items: center;
}

.searchbox span.icon {
    position: absolute;
    display: flex;
    align-items: center;
}

.searchbox input {
    border: none;
    padding: 5px;
    padding-inline-start: 25px;
    padding-inline-end: 5px;
    width: 100%;
}

.searchbox input:focus {
    outline: none;
}

.searchbox .ic-remove:hover {
    background-image: var(--func-danger-600);
}

.searchbox .dbbutton {
    width: 15px;
    height: 25px;
}
/* db-searchbox component */

/* db-toast component */

.toast {
    display: flex;
    position: fixed;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #18B66A;
    min-width: 500px;
    max-width: 500px;
    min-height: 40px;
    font-size: 1.25rem;
    color: #FFF;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: 600;
    transform: translate(-50%);
    left: 50%;
    bottom: 50px;
    z-index: 500;
}

.toast > div:first-child {
    display: inherit;
    margin-inline-end: 10px;
}

.toast .toast-icon {
    margin-inline-end: 10px;
    display: flex;
    align-items: center;
}

.toast .toast-message {
    white-space: pre-line;
    word-break: break-word;
}

.toast .toast-close {
    background-color: transparent;
    color: #FFF;
    border: none;
    margin: 0;
    padding: 0;
}

.toast .toast-close > * {
    pointer-events: none;
}

.toast .toast-close:hover {
    color: #000;
    cursor: pointer;
}

/* db-toast component */

/* db-radio Vue component */
div.dbradio {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px;
}

div.dbradio label {
    color: var(--primary-600)
}

div.dbradio input[type=radio] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

/* db-radio Vue component */

.db-list-item {
    margin-bottom: 10px;
    padding: 5px 10px;
    min-height: 45px;
}

.db-list-item .db-list-item-title {
    display: flex;
    align-self: center;
    column-gap: 7px;
    width: 90%;
    white-space: normal;
    word-break: break-all;
}

.no-result-container {
    display: flex;
    justify-content: center;
}

button.btn-remove {
    display: flex;
    width: 26px;
    height: 26px;
    border-radius: 0.25em;
    align-items: center;
    justify-content: center;
}

.dbicon-remove {
    mask: url(../dbimages/ic-remove.svg) no-repeat center center;
    mask-size: auto;
    -webkit-mask: url(../dbimages/ic-remove.svg) no-repeat center center;
    -webkit-mask-size: auto;
    background-color: var(--gs-black);
}

button.btn-remove:hover {
    background-color: var(--func-danger-500);
}

button.btn-remove:hover > .dbicon-remove {
    background-color: var(--gs-white);
}

#mobile-toolbar-container {
    display: none;
}

#mobile-toolbar-container .right-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dbicon.hambuger {
    mask: url(../dbimages/ic-hambuger.svg) no-repeat center center;
    mask-size: 25px;
    -webkit-mask: url(../dbimages/ic-hambuger.svg) no-repeat center center;
    -webkit-mask-size: 25px;
    background-color: var(--gs-white);
}

#totp-2fa-setup-step-2 .v-progress-circular{
    margin: unset;
}

.dbicon.sort-asc {
    mask: url(../dbimages/ic-sort-asc.svg) no-repeat center center;
    mask-size: 8px;
    -webkit-mask: url(../dbimages/ic-sort-asc.svg) no-repeat center center;
    -webkit-mask-size: 25px !important;
    padding: 11px 19px;
    background-color: #000;
}

.dbicon.sort-desc {
    mask: url(../dbimages/ic-sort-desc.svg) no-repeat center center;
    mask-size: 20px !important;
    -webkit-mask: url(../dbimages/ic-sort-desc.svg) no-repeat center center;
    -webkit-mask-size: 25px !important;
    padding: 11px 19px;
    background-color: #000;
}

.dbbutton.btn-collapse,
.dbbutton.btn-expand {
    padding-left: 10px;
}

.dbicon.card-collapse {
    mask: url(../dbimages/ic-card-collapse.svg) no-repeat center center;
    mask-size: 20px !important;
    -webkit-mask: url(../dbimages/ic-card-collapse.svg) no-repeat center center;
    -webkit-mask-size: 25px !important;
    padding: 10px;
    background-color: #000;
}

.dbicon.card-expand {
    mask: url(../dbimages/ic-card-expand.svg) no-repeat center center;
    mask-size: 20px !important;
    -webkit-mask: url(../dbimages/ic-card-expand.svg) no-repeat center center;
    -webkit-mask-size: 25px !important;
    padding: 10px;
    background-color: #000;
}