/* ── GimCore Pages Enterprise UI ── */
.gim-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 4px 0 20px;
}

.gim-page-header h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: .01em;
}

.btn-new-page {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: .87rem;
    letter-spacing: .02em;
}

.gim-status-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}

.gim-status-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: .77rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: opacity .15s, box-shadow .15s;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
}

.gim-status-tab:hover {
    opacity: .82;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
    text-decoration: none;
}

.gim-status-tab .cnt {
    background: rgba(255, 255, 255, .3);
    border-radius: 10px;
    padding: 0 7px;
    font-size: .72rem;
    font-weight: 800;
}

.gim-bulk-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9fb;
    border: 1px solid #e4e8ef;
    border-radius: 10px;
    margin-bottom: 16px;
}

.gim-bulk-bar select.form-control {
    font-size: .84rem;
    height: 34px;
    border-radius: 7px;
    min-width: 160px;
}

.gim-bulk-bar .btn {
    font-size: .83rem;
    height: 34px;
    border-radius: 7px;
    padding: 0 15px;
}

.gim-search-box {
    margin-left: auto;
}

.gim-search-box .form-control {
    font-size: .85rem;
    border-right: none;
}

.gim-search-box .input-group {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.gim-search-box .input-group .form-control {
    border: none;
    border-radius: 8px 0 0 8px;
    box-shadow: none;
    font-size: .87rem;
}

.gim-search-box .input-group .form-control:focus {
    box-shadow: none;
}

.gim-search-box .input-group .input-group-text {
    border: none;
    border-radius: 0 8px 8px 0;
    background: #fff;
    border-left: 1px solid #e5e7eb;
}

/* Table */
.gim-pages-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.gim-pages-table thead tr {
    background: #f1f4f9;
}

.gim-pages-table thead th {
    font-size: .71rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    padding: 10px 13px;
    border-bottom: 2px solid #dde3ee;
    white-space: nowrap;
}

.gim-pages-table tbody tr {
    border-bottom: 1px solid #edf0f7;
    transition: background .12s;
}

.gim-pages-table tbody tr:last-child {
    border-bottom: none;
}

.gim-pages-table tbody tr:hover {
    background: #f5f7fc;
}

.gim-pages-table td {
    padding: 9px 13px;
    vertical-align: middle;
    font-size: .87rem;
}

/* Title cell */
.gim-page-row-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.gim-page-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .8rem;
    color: #1a56db;
}

.gim-page-name {
    font-weight: 600;
    color: #1a56db;
    font-size: .9rem;
    text-decoration: none;
}

.gim-page-name:hover {
    color: #1140a8;
    text-decoration: underline;
}

.gim-page-name.trashed {
    text-decoration: line-through;
    color: #9ca3af;
}

.gim-page-name.archived {
    color: #7c3aed;
}

/* Space vs Page color distinction */
.gim-page-name.is-space {
    color: #0e7490;
    font-style: italic;
}

/* teal-ish for spaces */
.gim-page-icon.is-space {
    background: #cffafe;
    color: #0e7490;
}

.space-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 1px 6px;
    border-radius: 4px;
    background: #cffafe;
    color: #0e7490;
    vertical-align: middle;
    margin-left: 5px;
}

/* Row action dropdown */
.gim-action-btn {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    border: 1px solid #e2e6ed;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
    transition: background .12s, color .12s;
    font-size: 1rem;
}

.gim-action-btn:hover {
    background: #f1f5f9;
    color: #1a56db;
    border-color: #c7d2e0;
}

.gim-action-menu {
    min-width: 180px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    padding: 5px 0;
}

.gim-action-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .82rem;
    padding: 7px 14px;
    color: #374151;
    transition: background .1s;
}

.gim-action-menu .dropdown-item:hover {
    background: #f1f5f9;
    color: #1a56db;
}

.gim-action-menu .dropdown-item .di-icon {
    width: 18px;
    text-align: center;
}

.gim-action-menu .dropdown-item.item-danger {
    color: #dc2626;
}

.gim-action-menu .dropdown-item.item-danger:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.gim-action-menu .dropdown-divider {
    margin: 4px 0;
}

/* Inputs */
.order-input {
    width: 54px;
    text-align: center;
    font-size: .84rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 3px 6px;
    color: #374151;
    transition: border-color .15s;
    background: #fff;
}

.order-input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, .2);
}

/* Badges */
.gpill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .71rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 3px 10px;
    border-radius: 20px;
}

.gpill-pub {
    background: #d1fae5;
    color: #065f46;
}

.gpill-draft {
    background: #fef3c7;
    color: #92400e;
}

.gpill-arch {
    background: #ede9fe;
    color: #4c1d95;
}

.gpill-trash {
    background: #fee2e2;
    color: #991b1b;
}

.gpill-page {
    background: #f1f5f9;
    color: #475569;
}

.gim-pager {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .gim-bulk-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .gim-search-box {
        margin-left: 0;
        width: 100%;
    }
}

/*===== Vertical Timeline =====*/
/*@import url("https://fonts.googleapis.com/css?family=Oswald|Roboto:400,700");*/
/*@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);


/* Global Custom Scrollbar system-wide */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/** {
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
}*/

.dropdown-item {
    padding: .25rem .5rem !important;
}

.dropdown-menu>li>a {
    padding: 5px 20px 5px 10px !important;
}

.note-toolbar .dropdown-style {
    line-height: 0.5 !important;
    padding-left: 10px !important;
}

.note-toolbar .dropdown-style>li {
    padding: 5px !important;
    min-width: 200px !important;
}

.note-toolbar .dropdown-style>li>a {
    padding: 5px !important;
}

.page-tree-view .fa-angle-right,
.fa-angle-down {
    margin-right: 5px;
    cursor: pointer;
}

.has-feedback {
    position: relative;
}

.form-control-feedback {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}


.timeline-item {
    padding: 3em 2em 2em;
    position: relative;
    color: rgba(0, 0, 0, 0.7);
    border-left: 2px solid rgba(0, 0, 0, 0.3);
}

.timeline-item p {
    font-size: 1em;
}

.timeline-item::before {
    content: attr(date-is);
    position: absolute;
    left: 2em;
    font-weight: bold;
    top: 10px;
    display: block;
}

.timeline-item::after {
    width: 10px;
    height: 10px;
    display: block;
    top: 1em;
    position: absolute;
    left: -6px;
    border-radius: 10px;
    content: '';
    border: 2px solid rgba(0, 0, 0, 0.3);
    background: white;
}

.timeline-item:first-child {
    -o-border-image: linear-gradient(to top, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
    border-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
    border-image: linear-gradient(to top, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
}

.timeline-item:last-child {
    -o-border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
    border-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
    border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
}

/*===== // Resonsive Vertical Timeline =====*/

/*===== // SQL Condition Rules*/
.rule-container::after {
    content: 'AND';
    position: absolute;
    left: 2em;
    font-weight: bold;
    top: 10px;
    display: block;
}

.typeahead-w-100p .twitter-typeahead {
    width: 100% !important;
}

.twitter-typeahead .tt-menu {
    min-width: 200px;
    margin-top: 2px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.twitter-typeahead .tt-suggestion {
    padding: 3px 10px;
}

/*typeahead markup*/
.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
    margin-bottom: 0;
}

.twitter-typeahead .tt-hint {
    display: none;
}

.tt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    cursor: pointer;
}

.tt-open {
    z-index: 10000;
}

.tt-suggestion {
    /*display: block;*/
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333333;
    white-space: normal;
}

.tt-suggestion:hover,
.tt-suggestion:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #007bff;
}

/*End type ahead*/

/*table responsive*/
/*.table-responsive tr:nth-child(even) {
    background: #FFF
}

.table-responsive tr:nth-child(odd) {
    background: #F9F9F9;
}*/

.table-responsive {
    border: solid 0px #e5ecf9;
    border-collapse: collapse;
}

.table-responsive td {
    border: solid 1px #e5ecf9;
    color: #016783;
    padding: 7px;
}

/*@media(max-width:800px) {*/
/* Force table to not be like tables anymore */
/*.table-responsive table,
    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive th,
    .table-responsive td,
    .table-responsive tr {
        display: block;
    }*/

/* Hide table headers (but not display: none;, for accessibility) */
/*.table-responsive tr.thead {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-responsive tr {
        border-bottom: 1px solid #ccc;
        margin-top:10px;
    }

    .table-responsive td {*/
/* Behave  like a "row" */
/*border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-top:5px;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
        vertical-align: middle;
        min-height: 35px;
        width:100%;
    }

    .table-responsive td:before {*/
/* Now like a table header */
/*position: absolute;*/
/* Top/left values mimic padding */
/*top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }*/

/*Label the data*/
/*.table-responsive td:before {
        content: attr(data-label);
    }
}*/
.page-tree-view>ul {
    padding-left: 0;
    padding-right: 10px;
    list-style: none;
    margin: 0;
}

.page-tree-view ul:not(:first-child) {
    padding-left: 15px;
}

.page-tree-view .glyphicon {
    position: relative;
    top: -1px;
    font-size: 10px;
    padding-right: 7px;
    color: #9f9a9a;
    cursor: pointer;
}

.page-tree-view .single {
    position: relative;
    top: -2px;
    font-size: 10px;
    padding-left: 2px;
    padding-right: 10px;
    color: #9f9a9a;
}

.page-tree-view .single:before {
    content: 'o'
}

.page-tree-view li {
    padding: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-tree-view li.actived>a {
    font-weight: bold;
}

/*Assignee dropdown image*/
.img-30 {
    max-width: 30px !important;
}

.img-25 {
    max-width: 25px !important;
}

.hover-scroll {
    overflow: hidden;
}

.hover-scroll:hover {
    overflow: auto;
}

.hover-scroll-x {
    overflow: hidden;
}

.hover-scroll-x:hover {
    overflow-y: auto;
}

.hover-scroll-y {
    overflow: hidden;
}

.hover-scroll-y:hover {
    overflow-y: auto;
}

.alert {
    margin-top: 10px;
}

/*hide select arrow*/
.select-hide-arrow {
    overflow: hidden;
}

.select-hide-arrow select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
}

/*Tabs*/
.screen-tabs a {
    padding: 5px !important;
    background-color: #5bc0de;
    color: #fff;
}

.screen-tabs li.active a {
    color: #fff;
    background-color: #007bff;
}

.issue-screen-tabs {
    border-bottom: none;
}

.screen-tabs li {
    margin-top: 5px;
    margin-right: 2px;
    /*border-bottom: solid 1px #d4d4d4;*/
}

/*Override bootstrap tooltip color*/
.tooltip .tooltip-inner {
    background-color: #34495E;
    color: white;
}

.tooltip.top .tooltip-arrow {
    border-top-color: #34495E;
}

/*Page Content Layout*/
/*.page-content-path-container span:first-child{
    padding-left: 0px !important;
}*/
.page-content-left {
    overflow: hidden;
    position: relative;
    width: fit-content;
    block-size: fit-content;
}

.page-content-left-resizer {
    cursor: col-resize;
    height: 100%;
    right: 0;
    top: 0;
    width: 10px;
    position: absolute;
}

@media(max-width:700px) {
    .page-content-left {
        width: 100%;
        max-height: 500px;
        overflow-y: auto;
        margin-bottom: 30px;
    }

    .hideLeft {
        display: none;
    }
}

@media(min-width:701px) {
    .page-content-container {
        display: table;
        width: 100%;
    }

    .page-content-left {
        /*        min-width: 300px;
        max-width: 300px;*/
        width: 300px;
        display: table-cell;
        vertical-align: top;
        min-height: 100vh;
    }

    .page-content-right {
        display: table-cell;
        vertical-align: top;
    }
}

#highlight_menu {
    font-size: 18px;
    color: #fff;
    border-radius: 5px;
    /*background: rgba(0,0,0,.5);*/
    position: absolute;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    z-index: 1;
}

#highlight_menu ul {
    list-style-type: none;
    padding: 0px;
}

#highlight_menu li {
    float: left;
    padding: 1px;
}

.highlight_menu_animate {
    transition: top 75ms ease-out, left 75ms ease-out;
}

#highlight_menu .caret {
    border-style: solid;
    border-width: 10px 10px 0px 10px;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-top-color: rgba(0, 0, 0, .5);
    border-right-color: transparent;
    width: 0px;
    height: 0px;
    display: block;
    position: absolute;
    top: 35px;
    left: 72px;
}

/*End Page Content Layout*/

/*large radio*/
.radio-middle {
    height: 20px;
    width: 20px;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    background: #FFF;
    /*border: 1px solid #d2d2d2;*/
    border-radius: 100%;
}

.radio-large {
    height: 25px;
    width: 25px;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    background: #FFF;
    /*border: 1px solid #d2d2d2;*/
    border-radius: 100%;
}

.checkbox-middle {
    height: 15px;
    width: 15px;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    background: #FFF;
    /*border: 1px solid #d2d2d2;*/
    border-radius: 100%;
}

.checkbox-large {
    height: 20px;
    width: 20px;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    background: #FFF;
    /*border: 1px solid #d2d2d2;*/
    border-radius: 100%;
}

/*custom autocomplete*/
.gt-autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-top: none;
    background-color: #fff;
    z-index: 10000;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.gt-autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.gt-autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

/*script edit - remove central line*/
.ace_print-margin {
    display: none;
}

/*wizard steps*/
.wizard {
    display: flex;
    text-align: center;
}

.wizard__step {
    /* Make all steps have the same width */
    flex: 1;
}

.wizard__dot {
    /* Center the content */
    align-items: center;
    display: flex;
    justify-content: center;
}

.wizard__connector {
    flex: 1;
    height: 1px;
    background-color: rgba(0, 0, 0, .3);
}

.wizard__step:first-child .wizard__connector,
.wizard__step:last-child .wizard__connector {
    /*background-color: transparent;*/
}

.wizard__number {
    /* Center the content */
    align-items: center;
    display: flex;
    justify-content: center;
    /* Rounded border */
    /*background-color: rgba(0, 0, 0, 0.3);*/
    background-color: #eee !important;
    border-radius: 9999px;
    height: 25px;
    width: 25px;
    /*    border: solid 1px #abc;*/
    /* OPTIONAL: Spacing between it and connectors */
    margin-left: 4px;
    margin-right: 4px;
    padding: 0 5px 0 5px;
    /*    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-border-radius: 5px;*/
}

.wizard__number.active {
    background-color: #5cb85c !important;
    color: #fff;
}

/*dropboxsearch*/
/*:not(.input-group) > .dropboxsearch.form-control:not([class*=col-]) {
    width: 100%;
}
.dropboxsearch:not(.input-group-btn), .dropboxsearch[class*=col-] {
    float: none;
    display: inline-block;
    margin-left: 0;
}*/
/*.btn-secondary {
    background-color: #eee;
    border-color: #eee;
}

.btn-group > .btn.btn-secondary.radius-left {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.btn-group > .btn.btn-secondary.radius-right {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}*/
.btn-secondary {
    color: #333;
    background-color: #fff;
    border-color: #ccc
}

.btn-secondary.focus,
.btn-secondary:focus {
    color: #333;
    background-color: #e6e6e6;
    border-color: #8c8c8c
}

.btn-secondary:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad
}

.btn-secondary.active,
.btn-secondary:active,
.open>.dropdown-toggle.btn-secondary {
    color: #333;
    background-color: #e6e6e6;
    background-image: none;
    border-color: #adadad
}

.btn-secondary.active.focus,
.btn-secondary.active:focus,
.btn-secondary.active:hover,
.btn-secondary:active.focus,
.btn-secondary:active:focus,
.btn-secondary:active:hover,
.open>.dropdown-toggle.btn-secondary.focus,
.open>.dropdown-toggle.btn-secondary:focus,
.open>.dropdown-toggle.btn-secondary:hover {
    color: #333;
    background-color: #d4d4d4;
    border-color: #8c8c8c
}

.btn-secondary.disabled.focus,
.btn-secondary.disabled:focus,
.btn-secondary.disabled:hover,
.btn-secondary[disabled].focus,
.btn-secondary[disabled]:focus,
.btn-secondary[disabled]:hover,
fieldset[disabled] .btn-secondary.focus,
fieldset[disabled] .btn-secondary:focus,
fieldset[disabled] .btn-secondary:hover {
    background-color: #fff;
    border-color: #ccc
}

.btn-secondary .badge {
    color: #fff;
    background-color: #333
}

.dropboxsearch.form-control {
    margin-bottom: 0;
    padding: 0 0 0 2px;
    /*border: none;*/
}

.dropboxsearch>select {
    position: absolute !important;
    bottom: 0;
    left: 50%;
    display: block !important;
    width: .5px !important;
    height: 100% !important;
    padding: 0 !important;
    opacity: 0 !important;
    border: none;
}

.dropboxsearch>.dropdown-toggle {
    position: relative;
    width: 100%;
    height: 34px;
    padding-top: 4px;
    padding-bottom: 4px;
    z-index: 1;
    text-align: right;
    white-space: nowrap;
    border: none;
    background: transparent;
    box-shadow: none;
    outline: none;
}

.dropboxsearch .dropboxsearch-option.validation-error {
    border: 2px solid red;
    border-radius: 4px;
    z-index: -1;
}

.dropboxsearch .dropdown-toggle .dropboxsearch-option {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: inherit;
    padding-right: inherit;
    padding-bottom: inherit;
    padding-left: inherit;
    height: 100%;
    width: 100%;
    text-align: left;
}

.dropboxsearch .dropdown-toggle .dropboxsearch-option-inner {
    padding-right: inherit;
}

.dropboxsearch .dropdown-toggle .dropboxsearch-option-inner-inner {
    overflow: hidden;
}

.dropboxsearch .dropboxsearch-search {
    margin: 10px 10px 0px 10px;
}

.dropboxsearch .dropboxsearch-search a {
    padding: 0px 0px 5px 0px;
}

.dropboxsearch .dropboxsearch-result {
    margin: 0px 0px 5px 10px;
}

.dropboxsearch .dropboxsearch-selected {
    padding: 0px 5px 0px 0px;
    width: 100%;
    box-sizing: border-box;
}

.dropboxsearch .dropboxsearch-suggestion {
    overflow-y: auto;
    padding: 0px 5px 0px 0px;
    width: 100%;
    box-sizing: border-box;
}

.dropboxsearch>.dropdown-toggle.placeholder,
.dropboxsearch>.dropdown-toggle.placeholder:active,
.dropboxsearch>.dropdown-toggle.placeholder:focus,
.dropboxsearch>.dropdown-toggle.placeholder:hover {
    color: #999;
}

.dropboxsearch .item:hover {
    background-color: #fcf7ef;
    color: #42526e;
}

.dropboxsearch .item {
    margin-bottom: 0px;
    padding: 3px;
    cursor: pointer;
    border-bottom: solid 1px #eee;
    color: #25383C;
}

.dropboxsearch i,
.dropboxsearch img {
    font-size: 14px;
    max-width: 16px;
    max-height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.dropboxsearch span {
    display: inline-block;
    vertical-align: middle;
}

.dropboxsearch .item.disabled {
    background-color: #e5e5e5;
    color: #777;
}

.dropboxsearch .item.disabled:hover {
    background-color: transparent;
    cursor: not-allowed;
}

/* Fix excessive vertical gap below field labels in the Issue Detail View */
.formScreen .field-item .field-label {
    margin-bottom: 2px !important;
}

.formScreen .field-item .field-label+div,
.formScreen .field-item .field-label+div[style] {
    margin-top: 0px !important;
    padding-top: 0px !important;
}

.formScreen .field-item .field-label+div .gt-h-min-35,
.formScreen .field-item .field-label+div>div {
    margin-top: 0px !important;
    padding-top: 0px !important;
}

.dropboxsearch .item.checked {
    background-color: #08c;
    color: #fff;
}

.dropboxsearch .btn-secondary {
    border: none;
}

/*remove time input icon*/
input[type="time"]::-webkit-calendar-picker-indicator {
    /*    background: none;
    display: none;*/
    right: 10px;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*begin customize for tiny fa font and macro*/
.mce-ico.mce-i-fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*.panel-heading .accordion-toggle {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    content: "\f107";
}
.panel-heading .accordion-toggle:after {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.panel-heading .accordion-toggle.collapsed:after {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}*/
/*li > * {
    vertical-align: text-top;
}*/
li p {
    margin: 0px;
}

/*end customize for tiny fa font and macro*/

/*custom macro tab height*/
.tab-title a {
    padding: 5px 15px !important;
}

/*.tab-title.active{
    border-top: 1px solid black;
}*/
/*end custom macro tab height*/

/*User avatar & Inline Task*/
.user-avatar,
.inline-task-temp {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 8px 3px 6px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    line-height: 1.2;
}

.user-avatar:hover {
    background: #e2e8f0;
    color: #334155;
    text-decoration: none;
}

.user-avatar.me {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.user-avatar.me:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.user-avatar.bg-success,
.user-avatar.bg-success.me {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border-color: #a7f3d0 !important;
}

.user-avatar.bg-success:hover,
.user-avatar.bg-success.me:hover {
    background: #d1fae5 !important;
    color: #047857 !important;
}

.user-avatar.bg-danger,
.user-avatar.bg-danger.me {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border-color: #fecaca !important;
}

.user-avatar.bg-danger:hover,
.user-avatar.bg-danger.me:hover {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

.user-avatar>.mention-task {
    font-size: 14px;
    margin: 0;
    top: 0;
}

.inline-comment-temp,
.inline-comment {
    background-color: rgba(250, 204, 21, 0.25);
    border-bottom: 2px solid #facc15;
    padding: 2px 0;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
    color: inherit;
}

.inline-comment:hover {
    background-color: rgba(250, 204, 21, 0.4);
}

#page-comment {
    border-left: solid 3px #facc15;
}

.site-footer .row {
    margin-right: auto;
    margin-left: auto;
}

.macro-title-hidden {
    display: none;
}

.fa-6x {
    font-size: 6em !important;
}

.fa-7x {
    font-size: 7em !important;
}

.fa-8x {
    font-size: 8em !important;
}

.fa-9x {
    font-size: 9em !important;
}

.fa-10x {
    font-size: 10em !important;
}

.hideTextPart-100 {
    overflow: hidden;
    max-height: 100px;
}

.hidden {
    display: none !important;
}

.hide {
    display: none !important;
}

.hide-display {
    width: 0px !important;
    border: 0px !important;
    padding: 0px !important;
    bottom: 0px !important;
    position: absolute !important;
}

.label {
    display: inline;
    padding: 0.2em 0.6em 0.3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25em;
}

.label-info {
    background-color: #5bc0de;
}

/*bootstrap 3.4*/
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.collapse.show {
    display: block;
}

/* BS5 modal close button polyfill */
.modal-header .close,
.modal-header .btn-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: .5;
    cursor: pointer;
}

.modal-header .close:hover,
.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-header {
    position: relative;
}

/* BS5 default select styling (Issue 3) */
select.form-control {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

/* BS4 input-group-prepend/append polyfill for BS5 */
.input-group-prepend,
.input-group-append {
    display: flex;
}

.input-group-prepend .btn,
.input-group-append .btn {
    position: relative;
    z-index: 2;
}

.input-group-prepend .btn+.btn,
.input-group-append .btn+.btn {
    margin-left: -1px;
}

/* BS4 form-inline polyfill for BS5 */
.form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 0.5rem;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.form-inline .input-group {
    width: auto;
}

/* BS4 navbar-right polyfill for BS5 */
.navbar-right {
    margin-left: auto !important;
}

/* BS4 float polyfill (for DB-stored classes) */
.float-right {
    float: right !important;
}

.float-left {
    float: left !important;
}

/* BS4 badge classes polyfill */
.badge-primary {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
}

.badge-secondary {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
}

.badge-success {
    background-color: var(--bs-success) !important;
    color: #fff !important;
}

.badge-danger {
    background-color: var(--bs-danger) !important;
    color: #fff !important;
}

.badge-warning {
    background-color: var(--bs-warning) !important;
    color: #212529 !important;
}

.badge-info {
    background-color: var(--bs-info) !important;
    color: #fff !important;
}

/* BS4 close button polyfill */
.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    background-color: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.close:hover {
    opacity: .75;
}

/* FINAL BS4 -> BS5 FIXES (Form Spacing, Links, Layout) */

/* Restore link non-underlined state from BS4 */
a:not([class*="btn"]) {
    text-decoration: none;
}

a:not([class*="btn"]):hover {
    text-decoration: underline;
}

/* Links in navbar should not underline */
.navbar a:hover {
    text-decoration: none;
}

/* Restore form-group spacing from BS4 */
.form-group {
    margin-bottom: 1rem;
}

/* Ensure FontAwesome icons work properly inside BS5 .btn classes */
.fa,
.fas {
    font-family: FontAwesome !important;
}

/* Ensure input-group buttons properly align their border colors with inputs */
.input-group>.btn {
    border-color: #ced4da;
}

.input-group>.btn-primary {
    border-color: #0d6efd;
    /* Keep primary buttons blue */
}

.input-group>.btn-danger {
    border-color: #dc3545;
    /* Keep danger buttons red */
}

.input-group>.btn-success {
    border-color: #198754;
    /* Keep success buttons green */
}

/* Customize form control heights to approximate BS4 */
.form-control,
.bootstrap-select>.dropdown-toggle {
    min-height: 36px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

select.form-control {
    padding: .375rem .75rem;
}

/* GimCore Layout Flex Hooks */
.gt-flex {
    display: flex;
}

.gt-flex-col {
    display: flex;
    flex-direction: column;
}

.gt-flex-wrap {
    flex-wrap: wrap;
}

.gt-h-min-100 {
    min-height: 100%;
}

.gt-w-100p {
    width: 100%;
}

/* Fix AroGantt inside forms */
.childlist-container .js-gantt-bar-task span,
.childlist-container .js-gantt-bar-project span,
.childlist-container .js-gantt-bar-summary span {
    display: inline-block !important;
}

.childlist-container .ag-planning-label {
    display: inline-block !important;
}

.childlist-container .js-gantt-bar-task,
.childlist-container .js-gantt-bar-project,
.childlist-container .js-gantt-bar-summary {
    flex-wrap: nowrap !important;
    font-weight: 400 !important;
}

/* Fix font weight override from .formScreen .field-item */
.formScreen .field-item .childlist-container * {
    font-weight: 400;
}