@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");

body {
    background-color:#120a12;
    --bs-body-font-family: Sarabun, Verdana, system-ui, -apple-system, sans-serif;
    height:100%;
}
div {
    color: white;
}
.dz-upload {
    display: block; 
    background-color: red; 
    height: 10px;
    width: 0%;
}
.table-custom > tbody > tr > td {
    border: 0;
}
.full-row > td {
    border-bottom: 2px solid #ddd !important;
    border-top: 2px solid #ddd !important;
}
.row-down > td {
    border-bottom: 2px solid #ddd !important;
}
.row-up > td{
    border-top: 1px solid #ddd !important;
}
nav > h3 {
    color:#ddd;
    margin-left:5px;
}
nav > .card-group > .card {
    margin:0px 5px 0px 5px;
}
.dataTables_wrapper {
    margin: 5px;
}
.card-header > a {
    color: inherit;
    text-decoration: none;
}
.fullsize {
    height: 100%
}
.slideout-toggle {
    min-width:50px;
    max-width:75px;
    width:5%;
    height:100%;
}
[data-currency] {
}
.nav-list {
    list-style-type: none;
}
.nav-tile {
    height:100%;
    padding-top:10px;
    color:#fff;
    list-style-position:inside;
    border: 2px solid #B5B59C
}
nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
}
main {
    position: relative;
    top: 0;
}
header {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content {
    padding-top: 15px;
}
.btn-oauth-google {
    background:url('../images/btn_google_signin_dark_normal_web.png');
    border: 0px;
}
.btn-oauth-google:focus {
    background:url('../images/btn_google_signin_dark_focus_web.png');
     border: 0px;
}
.btn-oauth-google:active {
    background:url('../images/btn_google_signin_dark_pressed_web.png');
    border: 0px;
}
.brand-logo {
    height: 90px;
    margin: 10px;
    margin-left: 0px;
    vertical-align: middle;
}
.navbar-right {
    margin-top:40px !important;
}
.navbar {
    padding-top: 2%;
    padding-bottom: 2%;
    margin-bottom: 0;
}
.external-link-tile {
    font-size: 30px;
    text-decoration: none;
}
.white-text {
    color: #fff !important;
}
.white-link {
    color: #fff !important;
}
.white-link:hover, white-link:focus {
    color: #ff0000 !important;
}
.white-background {
    background-color: #fff;
    padding:20px;
    min-height:50%;
    position:relative;
}
.out_of_date {
    background-color: #ffaaaa;
}
.out_of_date > button.select {
    display:none;
}
.no-config, .no-global {
    background-color: #000000;
    opacity: 0.5;
}
.locked {
    background-color: #ffffaa;
}
.live {
    background-color: #aaffaa;
}
.navbar-inverse {
    background-color:#000 !important;
    background-image: none !important;
}
.body-footer{
    background-color:#222;
    padding-top:10px;
    padding-bottom:10px;
}
.site-container{
    background-color: #F3F3F3;
    padding-bottom: 10px;
}
.black-background{
    background-color:#000;
}
.section{
    /* border: 1px solid; */
    padding: 10px;
}
.heading{
    margin: -10px;
    margin-bottom: 20px;
    padding: 10px;
}
.file-header{
    border-top: 1px solid #666666;
    background-color: #fff;
    color: #000;
}
.modal-dialog:not(.modal-sm, .modal-md, .modal-lg, .modal-xl, .modal-fullscreen){
    width:90%;
    max-width:90%;
}
.modal-content {
    max-height: 80vh;
    overflow: auto;
}
th {
    text-align:center;
}
.cell-number {
    text-align: right;
}
.cell-text { 
    text-align: left;
}
table {
    table-layout: fixed;
}
.table-custom thead {
    background-color: white;
    right: 0;
}
.table-custom th, .table-custom td {
    padding-left: 0;
    padding-right: 0;
}
.endgroup {
    border-right: 0.25rem solid #222 !important;
}
.table-section{
    padding:0px;
}
.table-section > .heading {
    margin: 0px;
}

.file-breakdown tbody {
display:block;
max-height:300px;
overflow-y:scroll;
}
.file-breakdown thead, .file-breakdown tbody tr {
display:table;
width:100%;
table-layout:fixed;
}
.files-body > tr > td {
    border: 0px;
    border-top: 0px !important;
}
.files-body > tr {
    border: 0px;
}
.title {
    text-transform: uppercase;
}
.c-line {
    padding-top: 10px;
    vertical-align: middle;
}
.container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
    margin-left: 0px;
}

.spinner {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin: auto;
    width: 100vh;
    height: 100vh;
}


.center {
    text-align: center
}
.slideout-menu {
    background-color: #333 !important;
    height: 100%;
}
.position-fixed-x {
    position: relative;
    z-index: 999;
}
.position-fixed-y {
    position:  relative;
}
.table-custom .show-details, .table-custom .no-config, .no-global, .table-custom .linked, .table-custom .edit {
    vertical-align: middle;
    font-size: 2rem;
    border: none;
    padding: 0;
    margin: 0;
}
.table-custom .show-details, .table-custom .edit {
    background-color: transparent;
}
.table-custom .show-details, .table-custom .linked, .linked.no-config, .linked.no-global, .table-custom .edit {
    opacity: 0.3;
}
.table-custom .no-config, .table-custom .no-global, .table-custom .linked, .table-custom .edit {
    text-align: center;
}
.glyphicon {
    vertical-align: baseline;
}
input[type='checkbox'].pseudo-checkbox + label:before,
input[type='checkbox'].pseudo-checkbox + label:after {
    position: relative;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
input[type='checkbox'].pseudo-checkbox + label:before{
    content: "\e157";
}
input[type='checkbox']:checked.pseudo-checkbox + label:before{
    content: "\e067";
}
.header-row {
    white-space: nowrap;
    z-index: 9999;
}
.background-white {
    background-color: #fff;
}
.prod-config-value:empty {
    min-height: 1.2em
}
.grid-row {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    -webkit-transition: width 0.3s ease, margin 0.3s ease;
    -moz-transition: width 0.3s ease, margin 0.3s ease;
    -o-transition: width 0.3s ease, margin 0.3s ease;
    transition: width 0.3s ease, margin 0.3s ease;
}
.actions {
    margin-bottom: 15px;
}
.client-title {
    display: inline;
    margin: 0;
    padding: 0;
}
.client-code {
    font-size: x-large;
    float: left;
}
.new-permission-row, .sorts-and-filters {
    margin-bottom: 2rem;
}
.select-client, .search-client, #create-permission-client-code-select {
    -webkit-appearance: button;
    -moz-appearance: button;
    padding: 0.5rem 2rem 0.5rem 0.5rem;
    margin: 0;
    top: 0;
    right: 1rem;
    border: 1px solid black;
}
.select-client {
    border-right: 3rem solid #5a8cce;
}
.select-client-wrapper {
    float: left;
    margin: 0rem 1rem 0rem 1rem;
    position: relative;
}
.select-client-wrapper:after {
    font-size: xx-large;
    color: white;
    content: "\2304";
    position: absolute;
    right: 0.5rem;
    top: -1rem;
    pointer-events: none;
}
.tab {
    background-color: #5a8cce;
}
.active-tab {
    background-color: white;
}
#tabs {
    float: right;
}
.tooltips {
    padding: 0 1rem 0 1rem;
    font-style: italic;
    border-radius: 0.75rem;
    border-left: solid 2px #fff;
    position: relative;
}
.tooltips:before {
    position: absolute;
    left: -1.5rem;
    color: #fff;
    content: '\2014';
}
.info-icon {
    text-align: right;
    color: #fff;
}
.messages {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #B0C4DE;
    padding: 1rem;
    z-index: 99999;
}
.colgroup {
    display: inline-block;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    height: 4rem;
}
.selected_lettercode, .selected_service {
    font-size: small;
    text-overflow: ellipsis;
    padding: 0.5rem;
}
.property-label {
    text-align: right;
}
.btn-remove-item {
    display: inline-block;
}
.icon-button {
    font-size: xx-large;
    padding: 0;
    line-height: 0;
    background-color: transparent;
    border: none;
    outline: none;
}
.close-btn-col {
    text-align: right;
}
.add-client-wrapper {
    border: 2px solid #B5B59C;
    background-color: #EEE;
    padding: 1rem;
}
.cancel-add-client {
    text-align: right;
}
#confirm-add-client-msg {
    margin: 1rem;
}
.required > label:first-child:before {
    content: '*';
    color: #dc3545;
    font-size: large;
    right: 0.5rem;
    top: 0.1rem;
}
.light-text {
    font-weight: 100;
    font-style: italic;
    opacity: 0.5;
}
.contrast {
    display: inline-block;
    height: 3rem;
}
.batch-config-divider {
    margin-top: 1rem;
    background-color: #B0C4DE;
    padding: 1rem;
}
.finalize-config-section-divider {
    margin-top: 2rem;
    background-color: #B0C4DE;
    color: #000;
    padding: 1rem;
    font-size: 1.2rem;
}
.list-table, .list-sort-controls {
    display: block;
    width: 125rem;
}
.list-table {
    position: relative;
    overflow: scroll;
    height: 80vh;
}
.list-table tbody {
    height: 70vh;
    padding: 0 0 5rem 0;
}
.list-table tr:not(.list-sort-controls) {
    display: block;
    position: absolute;
}
/* tr.dirty td:nth-child(odd) {
    background-color: #e5d3bc !important;
}
tr.dirty td:nth-child(even) {
    background-color: #d4be9c !important;
} */
.list-table td, .list-sort-controls th {
    vertical-align: middle;
    padding: 1rem;
}
.list-table tr td:nth-child(odd), .list-sort-controls tr th:nth-child(odd) {
    background-color: #bccee5;
    width: 11rem;
}
.list-table tr td:nth-child(even), .list-sort-controls tr th:nth-child(even) {
    background-color: #9cb3d4;
    width: 11rem;
}
.list-table tr td:nth-child(4), .list-sort-controls tr th:nth-child(4) {
    width: 16rem;
}
.list-table tr td:first-child, .list-sort-controls tr th:first-child {
    width: 6rem;
    min-width: unset;
    text-align: right;
}
.wide-column {
    width: 17rem !important;
}
.list-sort-controls .btn-group>.btn {
    padding-left: .5rem;
    padding-right: .5rem;
}
.spacer-row-cell {
    display: none;
}
.update-btn:disabled {
    background: repeating-linear-gradient(
        45deg, #99a, #99a 10px, #889 10px, #889 20px
    );
}
.address-input {
    border: 1px solid transparent;
}
.not-valid {
    border: 1px solid #dc3545;
}
.key-input {
    word-wrap: break-word;
    word-break: break-all;
    font-size: smaller;
    height: 4rem !important;
}
.filter-client {
    width: 10rem;
}
#item-number-input {
    width: 4rem;
}
#password-response {
    font-size: larger;
}
#new-password {
    background-color: #ff9900;
    padding: .5rem;
    border-radius: .5rem;
    font-weight: bold;
}
.set-password-btn, .delete-password-btn {
    padding: .15rem;
    height: 3rem;
    font-size: x-small;
}
#password-response {
    height: 6rem;
    padding: 2rem;
}
.table-classic thead tr, .table-classic tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.table-classic tbody{
    height: inherit;
}
.table-classic {
    margin-bottom: 20px;
}
.table-classic>tbody>tr>td, .table-classic>tbody>tr>th, .table-classic>tfoot>tr>td, .table-classic>tfoot>tr>th, .table-classic>thead>tr>td, .table-classic>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
.table-classic>thead>tr>th {
    border-top: 0px;
}
.sticky-top {
    top: 0;
    position: sticky;
    z-index: 10;
}
.sticky-top-row-2 {
    top: 37px;
    position: sticky;
    z-index: 5;
    white-space: nowrap;
}
.sticky-left {
    left: 0;
    position: sticky;
    z-index: 5;
}
.background-grey {
    background-color: #c9c9c9;
}
.expand-header-cell {
    background-color: #333;
    color: #fff;
    font-size: 2em;
}
.service-group-cell, .service-cell{
    max-width: 8rem;
    width: 8rem;
}
.col-0 {
    width: 0px !important;
    max-width: 0px  !important;
}
.table-custom .group-header {
    width: 8rem;
    max-width: 8rem;
    overflow: hidden;
}
.table-custom {
    width: auto;
    max-width: initial;
}
.checkbox {
    height: 2rem;
}
.config-content {
    height: 780px;
    overflow-y: auto;
}

.col-121 {
    border: 1px solid black;
}

.custom-form-check {
    height: calc(2.25rem + 2px);
}
.property-body {
    max-height: 250px;
    overflow: auto;
}
.row.col-12.config-property:hover {
    background-color: #eee;
}

input:invalid {
    border-color: red;
}

.tooltip {
    pointer-events: none;
}

.nav-card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    line-break: normal;
    white-space: normal;
    min-width: 0;
    background-clip: border-box;
    border: none;
    color: #fff;
    background: #343a40;
    border-bottom: 1px solid #fff;
    text-align: center;
    .card-header {
        padding-left: 5px;
        padding-right: 5px;
        text-align: left;
        background: #3e464d;
        border: none;
    }
    .collapse {
        border: none;
        background: #383f45;
    }
    .list-group {
        border: none;
        background: #fff;
        color: #000;
    }
    .list-group-item {
        font-family: Verdana, sans-serif;
        font-size: 0.5rem;
        border: none;
        font-weight: bold;
        background: transparent;
        .btn {
            --bs-btn-color: #000;
            --bs-btn-hover-color: #000;
            --bs-btn-active-color: #000;
            --bs-btn-bg: #fff;
            --bs-btn-hover-bg: #ebf2f7;
            --bs-btn-active-bg: #c6d2dc;
        }
    }
    .btn {
        white-space: normal;
        --bs-btn-border-width: 0;
        --bs-btn-bg: transparent;
    }
    .nav-btn {
        white-space: normal;
        float: none;
        text-align: left;
        width: 100%;
        padding: 15px;
    }
    .dropdown-arrow {
        float: right;
        margin-left: auto;
        font-size: 16px;
        opacity: 100;
        *:has(>&):not(.td, th) {
            display: inline-flex;
            justify-content: center;
        }
    }
}

.dropdown-arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    margin-left: auto;
    &.expanded {
        transform: rotate(180deg);
    }
    *:has(>&) {
        display: inline-flex;
    }
    &:not(.expanded):before, &.expanded:after {
        content: '\00a0';
    }
}

.menu .col-2 {
    min-width: 220px;
}

.menu {
    --bs-offcanvas-width: 350px;
}

.hatt-table {
    margin-bottom: 10px;
    text-align: left;
    tr {
        border-bottom: 1px solid #999;
    }
    thead > tr {
        border-bottom: 1px solid #000;
    }
    tbody > *:last-child {
        border-bottom: none;
    }
    th {
        text-align: left;
        padding: 10px;
    }
    td {
        padding: 10px;
    }
}

.btn {
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #aaa;
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: transparent;
    --bs-btn-active-border-color: #fff;
}

.btn-stop {
    --bs-btn-bg: #A80800;
    --bs-btn-hover-bg: #8a0e08;
    --bs-btn-active-bg: #8a0e08;
}

.btn-submit {
    --bs-btn-bg: #00A809;
    --bs-btn-hover-bg: #0c7a12;
    --bs-btn-active-bg: #0c7a12;
}

.btn-neutral {
    --bs-btn-bg: #00326D;
    --bs-btn-hover-bg: #174f91;
    --bs-btn-active-bg: #1a4f88;
}

.btn-inverted-neutral {
    --bs-btn-bg: #fff;
    --bs-btn-color: #00326D;
    --bs-btn-border-color: #00326D;
    --bs-btn-hover-bg: #174f91;
    --bs-btn-active-bg: #1a4f88;
}

.card {
    overflow: hidden;
    margin-bottom: 1.5rem;
    --bs-card-bg: #00326D;
    --bs-card-border-color: #00326D;
    .card-header {
        --bs-card-cap-color: #fff;
        --bs-card-cap-bg: #00326D;
        font-family: Comfortaa, "Tahoma", sans-serif;
        vertical-align: middle;
        .card-title {
            margin: 0.5rem 0 0;
        }
    }
    .card-body {
        background-color: #fff;
        --bs-body-font-family: Sarabun, Verdana, sans-serif;
        --bs-body-font-size: 1.05rem;
    }
}

.modal {
    .modal-header {
        background-color: #00326D;
        color: #fff;
        display: flex;
        font-family: Comfortaa, "Tahoma", sans-serif;
    }
}

.btn-check {
    appearance: none;
}

.hatt-nav-tabs label, .hatt-nav-tabs button {
    display: block;
    padding: 0.5rem 1rem;
    margin: 0;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;

    --bs-btn-color: #000;

    font-family: Comfortaa, "Tahoma", sans-serif;

    background-color: #CCD6E2 !important;

    border: 1px solid #00326D;
    border-radius: 0;
}

.hatt-nav-tabs {
    position: relative;
    z-index: 10;
    &:focus-within {
    box-shadow: 0 0 0 0.1rem #000;
    }
}

.hatt-nav-tabs input[type=radio]:checked+label {
    border-color: #00326D !important;
    color: #fff;
    background-color: #00326D !important;
    cursor: default !important;
}

.side-panel-container {
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.side-panel-content {
    border: 1px solid #00326D;
    border-top: none;
    background-color: #fff;
    overflow: auto;
}

#side-panel-content {
    height: 90vh;
}

#config-screen-tabs {
    width: max-content;
}

.history-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.config-grid-container {
    flex-grow: 1;
    background-color: #CCD6E2;
}

.config-grid {
    background-color: #CCD6E2;
    overflow: auto;
    height: 90vh;
    position: relative;
    padding: 0;
    /*td.cell {*/
    /*    cursor: pointer;*/
    /*}*/
    thead tr {
        position: sticky;
        top: 0;
    }
    tr {
        background-color: #00326D;
    }
    .cell {
        min-width: 50px;
        max-width: 150px;
        height: 50px;
        padding: 0.5rem;
        font-family: Sarabun, Verdana, sans-serif;
        border: none;
        box-shadow:
            inset 1px   0   black,
            inset 0     1px black,
                  1px   0   black,
                  0     1px black,
                  1px   1px black;
    }
    th.cell {
        height: 115px;
        font-family: Comfortaa, Tahoma, sans-serif;
        font-weight: normal;
        background-color: #00326D;
        color: #fff;
        position: sticky;
    }
    .cell.blank {
        background-color: #CCD6E2;
        box-shadow: none;
        /*cursor: default;*/
    }
    .cell.blank:not(thead .cell.blank, .cell.blank + .cell.blank) {
        box-shadow: inset 1px 0 black;
    }
    th.cell.top {
        top: 0;
        z-index: 1;
    }
    th.cell.left {
        height: 50px;
        left: 0;
        vertical-align: middle;
    }
    .cell.unchanged.inherited {
        background-color: #CCEECE;
    }
    .cell.changed.inherited, .cell.removed.inherited:not(.unchanged), .cell.added.inherited:not(.unchanged) {
        background-color: #EECECC;
    }
    .cell.changed, .cell.removed:not(.unchanged), .cell.added:not(.unchanged) {
        background-color: #A80800;
        color: #fff;
    }
    .cell.deleted.inherited:not(.changed) {
        background-color: #CCCCCC;
        color: #444;
    }
    .cell.deleted:not(.changed) {
        background-color: #888888;
        color: #444;
    }
    .cell.unchanged {
        background-color: #00A809;
        color: #fff;
    }
    .deleted-lettercode {
        color: #888888;
    }
    .delete-lettercode-btn {
        position: absolute;
        right: 0;
        top: 0.5rem;
        color: #fff;
        background-color: transparent;
        border: none;
    }
}

.hatt-list-group-item {
    border-radius: 0 !important;
    background-color: #CCD6E2;
}

.config-history-list {
    overflow-y: auto;
    border-top: 1px solid #00326D;
}

.config-history-item {
    font-family: Sarabun, Verdana, sans-serif;
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: #00326D;
    border-radius: 0;
    text-align: left;
    padding: 0.75rem 0.75rem 0.75rem 1.5rem;
    background-color: #CCD6E2;
    line-height: 1.75rem;
    text-wrap: pretty;
}

.config-history-item:first-of-type {
    border-top: 1px transparent;
}

.config-history-item:last-of-type {
    border-bottom-color: #00326D;
}

.config-history-item.active {
    background-color: #00326D;
    color: #fff;
    cursor: none;
}

.config-history-item:focus-visible {
    box-shadow: 0 0 0 0.2rem #000 inset;
}

.config-history-item.highlighting {
    background-color: #fff;
    color: #000;
    transition: background-color 0.5s;
}

.config-history-item.highlight-remove {
    background-color: #CCD6E2;
    transition: background-color 0.5s;
}

.config-history-item.highlight-remove.active {
    background-color: #00326D;
    color: #fff;
    transition: background-color 0.5s;
}

#create-changeset-form #ticket-num::-webkit-outer-spin-button,
#create-changeset-form #ticket-num::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
}

#create-changeset-form #ticket-num {
    -moz-appearance: textfield;
}

.hatt-switch {
    cursor: pointer;
    position: relative;
    display: flex;
    input {
        display: none;
    }
}

.hatt-toggle {
    position: relative;
    top: 0.15rem;
    width: 2.5rem;
    height: 1.25rem;
    margin-right: 0.75rem;

    border-radius: 2rem;
    border: 1px solid #888;

    background-color: #fff;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.hatt-toggle:before {
    content: "";

    position: absolute;
    top: 0.1rem;
    left: 0.15rem;
    height: 0.9rem;
    width: 0.9rem;

    border-radius: 50%;
    background-color: #888;

    transition: 0.4s;
}

input:checked + .hatt-toggle {
    background-color: #0065A0;
    border-color: #0065A0;
}

input:checked + .hatt-toggle:before {
    -ms-transform: translateX(1.15rem);
    transform: translateX(1.15rem);
    background-color: #fff;
}

.btn.collapsed .fa-chevron-up, input[type=radio].collapsed+label>.fa-chevron-up {
    transform: rotate(180deg);
}

.finalize-modal {
    .modal-body {
        height: 60vh;
        overflow: hidden;
    }
    input[type=radio].confirmed+label, .service-btn.confirmed {
        background-color: #00A809;
        color: #fff;
    }
    .service-btn.loading {
        background-color: #777;
        cursor: default;
    }
    .lettercode-btn {
        display: flex;
        flex-wrap: nowrap;
    }
    .service-btn {
        display: block;
    }
    .lettercode-btn, .service-btn {
        padding: 0.5rem 1rem;
        margin: 0;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;

        font-family: Comfortaa, "Tahoma", sans-serif;

        background-color: #CCD6E2;

        border: 1px solid #00326D;
        border-radius: 0;
    }
    input[type=radio]:checked:not(.confirmed)+label {
        border-color: #00326D;
        color: #fff;
        background-color: #00326D;
        cursor: default;
    }
    #multi-config-details, #side-panel {
        overflow-y: scroll;
        overflow-x: hidden;
        height: 100%;
    }
    #confirm-checkbox {
        border-top: 1px solid #555;
        font-size: 1.3rem;
        input[type=checkbox] {
            width: 1.3rem;
            height: 1.3rem;
        }
    }
}

.loading-spinner {
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}

@-moz-keyframes spin {
    100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}

.service-description {
    color: white;
    width: max-content;
    background: #00326D;
    border-bottom-right-radius: var(--bs-modal-border-radius);
    padding: 0 1rem 0.5rem 1rem;
    div:has(>&) {
        margin-left: calc(0rem - var(--bs-modal-padding));
        margin-top: calc(0rem - var(--bs-modal-padding) - 1px);
        width: 100%;
    }
}

.manual-datalist {
    max-height: 80vh;
    overflow-y: auto;
    width: min-content;
    position: fixed;
    transform: none;
}

.manual-datalist-item {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.las:not([class*=la-chevron]) {
    /* fixes weird positioning */
    font-size: 24px;
    *:not(td, th):has(>&) {
        display: inline-flex;
    }
}

.tag-selector {
    .form-select {
        min-height: 4rem;
        cursor: text;
        div[contenteditable="true"] {
            outline: none !important;
            border: none !important;
            box-shadow: none !important;
        }
    }
    .dropdown-menu {
        overflow: hidden;
        &.show {
            display: flex;
        }
        &:not(:has(a:not(.d-none)))::after {
            content: "\00a0";
        }
    }
    .list-group {
        .list-group-item {
            border-top: none;
            border-right: none;
            border-left: none;
            &.active {
                box-shadow: 0 -1px #fff;
                border-bottom: 1px solid var(--bs-dropdown-link-active-bg);
                border-top: 1px solid var(--bs-dropdown-link-active-bg);
            }
            &:last-child {
                border-bottom: none !important;
            }
            &:focus-visible {
                outline: none;
                text-decoration: underline;
                background-color: #ebebeb;
                &.active {
                    background-color: #0953bf;
                }
            }
        }
    }
}

.form-control:disabled {
    border: 1px solid transparent;
    background: transparent;
}