html {
    height: 100%;
}

body {
    background-color: #383838;
    color: white;
    height: 100%;
}

#sidebar-title {
    font-family: "Droid Sans";
    font-weight: bold;
    font-size: 1.3em;
    text-align: left;
    margin-top: 10px;
    min-width: 30%;
}

#editor-title {
    font-family: "Droid Sans";
    font-weight: bold;
    font-size: 1.3em;
    text-align: center;
    margin-top: 10px;
}

.block {
    background-color: rgb(50, 50, 50);
    border-radius: 5px;
    margin: 0.5%;
}

.task-button {
    width: 100%;
    background-color: #2e2f30;
    color: white;
    border: none;
    border-radius: 7px;
    margin-bottom: 1.5%;
}

.task-button:hover {
    background: #232324;
    color: #00000;
}

#container {
    height: 85%;
}

#tasks-container {
    overflow: auto;
    margin-top: 0.5%;
    width: 100%;
    height: 85%;
    text-align: center;
}

#left-sidebar {
    width: 30%;
    margin: 0.5%;
}

#left-sidebar-content {
    width: 100%;
    height: 100%;
}

#editor-block {
}

#editor {
    /* Auto transfer of strings */
    hyphens: auto;
    hyphenate-limit-chars: 6 3 2;
    /* ------------------------ */

    overflow-y: auto;
    width: 100%;
    height: 100%;
    resize: none;
    color: white;
    outline: none;
    border: 7px solid rgb(50, 50, 50);
    border-radius: 5px;
    background-color: rgb(50, 50, 50);
    box-sizing: border-box;
    margin-top: 1px;
}

#editor:focus {
    outline: none;
    border: 7px solid rgb(50, 50, 50);
}

#search-bar {
    min-height: 35px;
    max-height: 9%;
}

#search-input {
    background: rgb(50, 50, 50) !important;
    border: none;
    outline: none;
    border-radius: 5px;
    color: white;
    min-width: 60%;
}

.icon-search {
    margin: 3%;
    min-width: 18px;
    min-height: 18px;
    width: 18px;
    height: 18px;
    vertical-align: center;
}

#clear-search {
    background: transparent;
    border: none;
    color: white;
    margin: 5px;
    vertical-align: center;
    min-width: 16px;
    min-height: 16px;
}

#clear-search:hover {
    color: #848c93;
}

.bi-x-lg {
    min-width: 16px;
    min-height: 16px;
}

#controls {
    min-width: 100%;
    min-height: 5%;
}

#new-note-button {
    border: none;
    border-radius: 5px;
    background: transparent;
    color: white;
}

/* Login page */
#auth-dialog-body {
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: rgb(50, 50, 50)
}

.auth-form {
    max-width: 330px;
    padding: 15px;
}

.auth-form .form-floating:focus-within {
    z-index: 2;
}

.h3-title {
    font-family: "Droid Sans";
    font-weight: bold;
    font-size: 1.3em;
    text-align: center;
    margin-left: 5px;
    margin-top: 10px;
}

#authFormAlert {
    display: none;
}

/* *************** */

#logout {
    color: white;
    margin-top: auto;
    margin-left: 5px;
}

#logout:hover {
    color: #848c93;
}

#toolbox {
    width: 45px;
    border: none;
    border-color: rgb(50, 50, 50);
    border-radius: 5px;
}

.tool-btn {
    color: white;
    background-color: rgb(50, 50, 50);
    vertical-align: start;
    border: none;
    border-color: rgb(50, 50, 50);
    border-radius: 3px;
    margin: 10px;
}

.tool-btn:hover {
    color: #848c93;
}

#delete-note {
    color: red;
}

#delete-note:hover {
    color: #91020f;
}

.modal-content {
    color: white;
    background-color: rgb(50, 50, 50);
}

.btn-close {
    filter: invert(100%) sepia(0%) saturate(7498%) hue-rotate(152deg) brightness(112%) contrast(101%);
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

.textarea-field {
    color: white;
    background-color: #272727;
    outline: none !important;
    border: none;
    border-color: rgb(50, 50, 50);
    border-radius: 5px;
    resize: none;
    margin: 8px;
    margin-left: 0px;
    min-height: 130px;
}

#switchModeButton {
    display: none;
}

#show-password {
    border-color: #164993;
}
