html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* end boilerplate */




:root {
    --toolbar-height: 70px;
    --toolbar-background: rgba(229, 247, 236, 0.82);
    --toolbar-button-background: #fff;
    --toolbar-border: #dce5df;
}

#editorToolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    min-height: var(--toolbar-height);
    padding: 8px 18px 8px 12px;

    display: flex;
    align-items: center;
    gap: 24px;

    background: var(--toolbar-background);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.toolbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.jaunty-logo {
    width: 179px;
    height: 42px;
    object-fit: contain;
}

.hamburger-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    padding: 0;

    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    font-size: 27px;
    cursor: pointer;
}

.toolbar-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-left: auto;
}

.category-button {
    border: 1px solid var(--toolbar-border);
    border-radius: 24px;
    padding: 7px 17px;

    background: var(--toolbar-button-background);
    color: #222;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.category-button:hover,
.category-button.show {
    background: #f0f5f1;
}

.category-button.dropdown-toggle::after {
    display: none;
}

.save-button {
    flex-shrink: 0;
    min-width: 20px;
    padding: 4px 20px;
    border: 3px solid #164e22;
    border-radius: 34px;
    background: #fff;
    color: #111;
    font-size: 18px;
    line-height: 1em;
    cursor: pointer;
}

.save-button:hover {
    background: #e9f5ea;
}

.toolbar-user {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    color: #111;
}

.toolbar-user a {
    color: inherit;
    text-decoration: none;
}

/* Sliding place-search sidebar */

#placeSidebar {
    position: fixed;
    top: var(--toolbar-height);
    left: 0;
    bottom: 0;
    z-index: 999;

    width: 340px;
    max-width: 90vw;
    padding: 18px;

    background: #fff;
    box-shadow: 3px 0 14px rgba(0, 0, 0, 0.16);

    transform: translateX(-105%);
    transition: transform 220ms ease;
    visibility: hidden;
}

#placeSidebar.open {
    transform: translateX(0);
    visibility: visible;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.sidebar-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

/* Narrow screens */

@media (max-width: 1200px) {
    #editorToolbar {
        gap: 12px;
    }

    .toolbar-categories {
        gap: 5px;
    }

    .category-button {
        padding: 6px 11px;
        font-size: 13px;
    }
}

@media (max-width: 850px) {
    #editorToolbar {
        flex-wrap: wrap;
        padding: 8px;
    }

    .toolbar-categories {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .toolbar-user {
        margin-left: auto;
    }
}
