.navbar-dark .navbar-nav .active > .nav-link,
.navbar-vertical.navbar-expand-lg .navbar-collapse .dropdown-menu .dropdown-item.active
{
    color: #fff;
    background: var(--tblr-navbar-active-bg);
}

#subscriptions-accordion #heading-0 .accordion-button:after {
    background-image: none;
}
#subscriptions-accordion .accordion-item .form-check {
    margin-bottom: 0;
    margin-right: 30px;
}

th.pageable-header {
    text-align: right;
}

th.pageable-header span {
    margin-right: 10px;
}

th.sortable-header a {
    color: var(--tblr-muted);
}

.header-input {
    margin-left: 20px;
    width: 300px;
}

.disabled-button {
    pointer-events:none
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    border-color: transparent;
    pointer-events: auto;
}

i.disabled {
    opacity: 0.1;
    pointer-events: none;
}

/* Generation */

#generation .card-header .btn {
    margin: 0 5px;
}

#generation .card-header .btn:first-of-type {
    margin-left: 10px;
}

/* Generation Config */

#generation-config .draggable .remove {
    display: none;
}

#generation-config .draggable {
    cursor: move;
}

#generation-config #chosen-sections .draggable .remove {
    display: inline-block;
}

/* Records list */

#records-list td.state {
    min-width: 156px;
}

/* Subscriptions Accordion */
#heading-payment > button.accordion-button {
    position: relative;
}
#heading-payment .form-payment-info {
    position:absolute;
    right: 50px;
    display: none;
}

.accordion-checkbox .form-switch input.form-check-input {
    width: 40px;
    height: 25px;
}
.accordion-header.accordion-header-checkboxed {
    position: relative;
}

.accordion-header.accordion-header-checkboxed .accordion-button.accordion-checkbox {
    position:absolute;
    max-width: 80px;
    top: 0;
    bottom: 0;
    padding-right: 0;
}

.accordion-header.accordion-header-checkboxed .accordion-button.accordion-checkbox::after {
    display: none;
}

.accordion-header.accordion-header-checkboxed .accordion-button.accordion-title {
    width: calc(100% - 60px);
    margin-left: 60px;
}

.status-icon {
    width: 30px;
    height: 30px;
    border-radius: 15px;

    position: absolute;
    bottom: 24px;

    display: -webkit-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
}

.status-icon .spinner-border {
    width: 100%;
    height: 100%;
}

#heading-payment .form-payment-info img,
.form-payment .payment img {
    max-height: 30px;
}

/* Responsive table */

@media screen and (max-width: 600px) {
    table.responsive thead {
        visibility: hidden;
        height: 0;
        position: absolute;
    }

    table.responsive tr {
        display: block;
        margin-bottom: .625em;
    }

    table.responsive td {
        border-bottom: none;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    table.responsive td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table.responsive td:last-child {
        border-bottom: 1px solid rgba(97,104,118,.16);
    }
}

table.table th .sortable,
table.table th .asc,
table.table th .desc {
    color: #999fa4;
}

.template-item .section-name.form-control.disabled {
    color: #667382;
    background-color: #1b293a;
    opacity: 1;
}
.theme-dark .form-control:disabled {
    color: #667382;
    background-color: #1b293a;
    opacity: 1;
}

body.theme-dark .note-editor.note-frame .note-editing-area .note-editable {
    background-color: transparent;
}

body.theme-dark .note-editor.note-airframe, .note-editor.note-frame {
    border-color: #243049 !important;
}

body.theme-dark .note-toolbar {
    background-color: transparent !important;
}

body.theme-dark .note-toolbar .note-btn:hover {
    color: #f8fafc !important;
}

body.theme-dark .note-toolbar .note-btn, html.dark .note-toolbar .note-btn:focus, html.dark .note-toolbar .note-btn:active {
    background-color: transparent !important;
    color: #206bc4 !important;
    border-color: #206bc4 !important;
}

body.theme-dark .show > .btn-light.dropdown-toggle {
    background-color: #206bc4;
}

body.theme-dark .note-toolbar .dropdown-menu .dropdown-item {
    color: #206bc4;
}

body.theme-dark .note-toolbar .btn {
    color: #206bc4;
}

.note-color .note-btn.dropdown-toggle {
    width: 30px !important;
}
button.note-color-reset {
    background-color: transparent !important;
    border: 1px solid #206bc4 !important;
}
.note-holder-custom > .note-color-palette,
.note-color-select {
    display: none !important;
}
.note-group-image-url {
    margin-top: 20px;
}
.form-control-file {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    background-color: var(--tblr-bg-forms);
    border: var(--tblr-border-width) solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
    color: inherit;
    display: block;
    font-family: var(--tblr-font-sans-serif);
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.4285714286;
    padding: 0.4375rem 0.75rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    width: 100%;
}

#record-modal .note-editor {
    margin-top: 1rem;
}


.modal-section {
    border-top: 1px solid #243049;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}
#record-modal .modal-footer {
    border-top: 1px solid #243049;
    padding-top: 0.75rem;
}
#record-modal .modal-header h5 > label {
    margin-left: -1rem;
}

#record-modal .save-content {
    display: none;
}

#record-modal .note-toolbar {
    display: block !important;
}


#record-modal .modal-dialog,
#record-modal .modal-content {
    height: 92%;
}

.modal-body {
    /* 100% = dialog height, 120px = header + footer */
    max-height: 100%;
    overflow-y: auto;
}

.template-name {
    word-break: keep-all;
}

#submit-template-info {
    width: 160px;
    margin-top: 2px;
}

#submit-template-info i.submit-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

#export-template-button {
    margin-top: 5px;
}

.info-tooltip svg {
    width: 30px;
}

/* disables tabler's -webkit-autofill */
input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s;
}

/* disables offcanvas overlay */
.offcanvas-backdrop {
    display: none;
}

#cookie-banner {
    background-clip: padding-box;
    background-color: rgb(29, 39, 59);
    bottom: 0;
    color: var(--tblr-offcanvas-color);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    outline: 0;
    position: fixed;
    transition: var(--tblr-offcanvas-transition);
    visibility: visible;
    z-index: 1;
    border-top: 1px solid #243049;
    left: 0;
    right: 0;
}

#cookie-banner .offcanvas-body {
    padding: 1.5rem;
}

#cookie-banner.security {
    background: #f1f5f9;
    border-top-color: #e6e7e9;
}
.record-parameters a {
    margin-bottom: 5px;
}

.theme-dark #descriptions-generator > a {
    background-color: #1d273b;
}
#descriptions-generator > a {
    border-width: 1px;
    border-style: solid;
    border-color: #314264;
    color: rgba(255, 255, 255, 0.7);
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#descriptions-generator:hover > a,
#descriptions-generator:hover > a > svg,

#descriptions-generator.active > a,
#descriptions-generator.active > a > svg,

#descriptions-generator a:hover svg,
#descriptions-generator a:hover i,
#descriptions-generator a:hover,

#descriptions-generator.active a.active,
#descriptions-generator.active a.active svg,
#descriptions-generator.active a.active i {
    background-color: rgba(32, 107, 196, 0.04);
    border-color: #206bc4;
    color: #206bc4;
}