@import 'https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css';
@import 'https://fonts.googleapis.com/css2?family=Hepta+Slab:wght@1..900&display=swap';
@import 'https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css';
@import url('https://fonts.googleapis.com/css2?family=Hepta+Slab:wght@1..900&display=swap');
.sortable-list-item {

}

.sortable-list-item .controls {
    display: inline-block;
    margin-right: 10px;
}

.sortable-list-item .content {
    display: inline-block;
    margin-right: 10px;
}

.sortable-list-item button {
    all: unset;
    outline: revert;
    padding: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 5px;

    border: 1px solid #ccc;
}

.sortable-list-item:first-child [data-action="move-up"] {
    color: #ccc;
    pointer-events: none;
}

.sortable-list-item:last-child [data-action="move-down"] {
    color: #ccc;
    pointer-events: none;
}

.flexible-row {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.flexible-row .flexible-heading {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 5px;
}

.flexible-row .flexible-title {
    flex-grow: 1;
}

.flexible-row .flexible-controls {

}

.flexible-row .flexible-content {
    padding: 5px;
}


.backdrop {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

/** Dialog **/
.dialog.open {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    border-radius: 10px;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "title   buttons"
        "content content"
        "footer  footer "
    ;
}

.dialog .dialog-title {
    grid-area: title;
    font-weight: bold;
    border-bottom: 1px solid #777;
}

.dialog .dialog-header-buttons {
    grid-area: buttons;
    font-weight: bold;
    border-bottom: 1px solid #777;
    text-align: right;
}

.dialog .dialog-content {
    grid-area: content;
    padding: 10px;
}

.dialog .dialog-footer {
    grid-area: footer;
    font-size: 0.8rem;
    text-align: right;
}

/** Browser **/
.browser-layout {
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "search"
        "results"
    ;
}

.browser-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr 200px;
    grid-template-areas:
        "search  search "
        "results sidebar"
    ;
}

.browser .search {
    grid-area: search;
}

.browser .results {
    grid-area: results;
}

.browser .sidebar {
    grid-area: sidebar;
}

.browser-layout .sidebar {
    display: none;
}

.browser-results {
    height: 300px;
    overflow-y: auto;
    margin: 10px 0;
}

.browser-results > * {
    margin: 10px;
}

.browser-results-layout-grid {
    display: flex;
    flex-wrap: wrap;
}


.row {
    display: flex;
    flex-wrap: wrap;
}

.col {
    padding: 5px;
}

.col-1 {
    width: calc(1% * (100 / 12));
}

.col-2 {
    width: calc(2% * (100 / 12));
}

.col-3 {
    width: calc(3% * (100 / 12));
}

.col-4 {
    width: calc(4% * (100 / 12));
}

.col-5 {
    width: calc(5% * (100 / 12));
}

.col-6 {
    width: calc(6% * (100 / 12));
}

.col-7 {
    width: calc(7% * (100 / 12));
}

.col-8 {
    width: calc(8% * (100 / 12));
}

.col-9 {
    width: calc(9% * (100 / 12));
}

.col-10 {
    width: calc(10% * (100 / 12));
}

.col-11 {
    width: calc(11% * (100 / 12));
}

.col-12 {
    width: calc(12% * (100 / 12));
}

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

body {
    /* 3. Add accessible line-height */
    line-height: 1.5;
    /* 4. Improve text rendering */
    -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input, button, textarea, select {
    font: inherit;
}

/* 7. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

/*
  9. Create a root stacking context
*/
#root, #__next {
    isolation: isolate;
}

.field {
    display: block;
    margin-bottom: 10px;
    padding: 0 10px 0 0;
}

.field .label {
    display: block;
}

.field input[type="text"],
.field input[type="number"],
.field input[type="password"],
.field input[type="date"],
.field input[type="datetime-local"],
.field select,
.field textarea {
    all: unset;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px;
}

.field .error {
    color: var(--danger-color);
}


/*
body {
    font-family: "Hepta Slab", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}
*/
