html {
    scrollbar-width: thin;
    /*scrollbar-color: var(--uks-dark-meganta);*/
    scrollbar-color: darkgrey;
}

body {
    --uks-dark-grey: #575757;
    --uks-mid-grey: #9d9d9d;
    --uks-light-grey: #dadada;
    --uks-dark-meganta: #9a0c46;
    --uks-mid-meganta: #c71052;
    --uks-light-meganta: #f3d8dd;
    --uks-dark-green: #153824;
    --uks-mid-green: #c4d20f;
    --uks-light-green: #4aac96;
    --uks-gold: #eac372;
    --uks-disabled: rgba(218, 218, 218, 0.5);
    font-family: Roboto, sans-serif;
    background-color: white;
    width: 95%;
    margin: 0 auto;
}

#chat-div {
    overflow-y: hidden;
    margin-inside: 0;
    scrollbar-width: thin;
    /*scrollbar-color: var(--uks-dark-meganta);*/
    scrollbar-color: darkgrey;
}
#messages {
    position: sticky;
    display: flex;
    flex-direction: column;
    padding: 10px 10px 20px 10px;
    overflow-y: auto;
    background: transparent;
}
#form {
    padding: 0;
    margin-bottom: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    background-color: white;
}

#message-input {
    /*background-color: var(--uks-light-grey);*/
    background-color: lightgray;
    color: black;
    border: none;
    padding: 0 1rem;
    margin: auto;
    border-radius: 1rem;
    outline: none;
    font: inherit;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 2em;
}
#message-input:focus {
    outline: none;
}
.form-control:disabled {
    background: var(--uks-disabled)!important;
}

#button-chat {
    /*background: var(--uks-dark-meganta);*/
    background: darkgrey;
    height: 2rem;
    color: white;
    border: none;
    padding: 0 1rem;
    margin: 0.25rem;
    border-radius: 1rem;
    outline: none;
    font: inherit;
    line-height: inherit;
}
#button-chat:hover {
    /*background: var(--uks-mid-meganta);*/
    background: grey;
}
#button-chat:disabled {
    /*background: var(--uks-light-meganta);*/
    background: lightgray;
}
#chat-header {
    background: white;
    border: solid;
    /*color: var(--uks-dark-meganta);*/
    color: darkgrey;
    padding: 0 1rem;
    margin: .25rem;
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    text-align: center;
}
.quick-replies > .button {
    /*background: var(--uks-dark-meganta);*/
    background: darkgrey;
    color: white;
    border: none;
    padding: 0 1rem;
    margin: .25rem;
    border-radius: 1rem;
    outline: none;
    font: inherit;
    line-height: 2rem;
}
.button:hover {
    /*background: var(--uks-mid-meganta);*/
    background: gray
;
}
.button:active {
    /*background: var(--uks-mid-meganta);*/
    background: grey;
}
.nav-link {
    background: none;
    /*color: var(--uks-dark-meganta);*/
    color: darkgrey;
}
.nav-link:hover {
    /*background: var(--uks-light-meganta);*/
    background: lightgray;
    /*color: var(--uks-mid-meganta);*/
    color: black;
}
.nav-link.active {
    /*background: var(--uks-dark-meganta) !important;*/
    background: darkgrey !important;
    color: white !important;
}
.nav-link.dropdown-toggle {
    /*color: var(--uks-dark-meganta);*/
    color: darkgrey;
    border: 1px solid;
    /*border-color: var(--uks-dark-meganta);*/
    border-color: darkgrey;
    background: white;
    margin: .25rem;
    padding: .25rem;
    border-radius: .25rem;
}
.nav-link.dropdown-toggle:hover {
    /*color: var(--uks-mid-meganta);*/
    /*border-color: var(--uks-mid-meganta);*/
    /*background: var(--uks-light-meganta);*/
    color: grey;
    border-color: grey;
    background: lightgray;
}
.nav-link.dropdown-toggle[aria-expanded="true"] {
    /*color: var(--uks-mid-meganta);*/
    /*border-color: var(--uks-mid-meganta);*/
    /*background: var(--uks-light-meganta);*/
    color: grey;
    border-color: grey;
    background: lightgray;
}
/* scroll bar CSS webkit */
::-webkit-scrollbar {
    width: 0.4em;
    /*background-color: var(--uks-light-grey);*/
    background-color: lightgray;
    border-radius: 1em;
}
::-webkit-scrollbar-thumb {
    /*background-color: var(--uks-dark-meganta);*/
    background-color: darkgrey;
    border-radius: 1em;
}
/* CHAT CSS --- DO NOT DELETE */
.message {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    word-wrap: break-word;
    max-width: calc(100% - 40px - 32px);
    margin-bottom: 10px;
}
.message_received {
    /*background: var(--uks-light-grey);*/
    background-color: lightgray;
    color: black;
    border-bottom-left-radius: 0;
    align-self: flex-start;
}
.message_sent {
    /*color: white;*/
    /*background: var(--uks-light-meganta);*/
    background-color: lightgray;
    color: black;
    border-bottom-right-radius: 0;
    align-self: flex-end;
}
.quick-replies {
    display: flex;
    align-self: flex-end;
    height: 2.5rem;
    box-sizing: border-box;
}
#qscoreBarOuter {
    width: 100%;
    height: 2rem;
    background-color: #f2f2f2;
    color: black!important;
    display: none;
    position: relative;
    padding: unset;
    margin: auto;
    border-radius: 1rem;
    outline: none;
    font: inherit;
    flex-grow: 1;
}
#qscoreBarInner {
    height: 2rem;
    border-radius: 1rem;
    outline: none;
    font: inherit;
    flex-grow: 1;
}

#pbar-tooltip {
    display: none;
    /*background: var(--uks-dark-meganta);*/
    background: darkgrey;
    color: white;
    border: none;
    padding: 0 1rem;
    margin: 0.25rem;
    border-radius: 1rem;
    outline: none;
    font: inherit;
    line-height: inherit;
    height: 2rem;
}
#pbar-tooltip:hover {
    /*background: var(--uks-mid-meganta);*/
    background: grey;
}

.tooltip-arrow::before {
    /*border-color: transparent transparent transparent var(--uks-dark-meganta) !important;*/
    border-color: transparent transparent transparent darkgrey !important;
}
.tooltip-inner {
    /*background: var(--uks-light-meganta);*/
    background: lightgray;
    /*color: var(--uks-dark-meganta);*/
    color: darkgrey;
    border: solid 1px;
    /*border-color: var(--uks-dark-meganta);*/
    border-color: darkgrey;
    font-size: larger;
}

#qscoreBarText {
    position: absolute;
    width: 100%;
    color: black!important;
    text-outline: white 1px;
    border: white 1px;
}

.qscore-bar-inner {
    color: black;
    /*background: var(--uks-mid-meganta);*/
    background: grey;
}

.qscore-bar-outer {
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 1rem;
}

/* Styling for the overlay and message */
.overlay-outer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    z-index: 1000;
}
.overlay-inner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.overlay-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    text-align: center;
    z-index: 1001;
    font-weight: bold;
    font-size: larger;
    color: black;
}

.dropdown-item.disabled {
    pointer-events: all;
}
.dropdown-item.disabled:hover {
    background: var(--uks-light-grey);
    border: var(--uks-dark-grey);
    color: var(--uks-dark-grey);
    pointer-events: inherit;
    cursor: not-allowed;
}
.dropdown-item.disabled:active {
    pointer-events: inherit;
}
*:disabled {
    cursor: not-allowed;
}
.disabled {
    cursor: not-allowed;
}

#nav-header {
    margin-bottom: 1rem;
}

.navbar-brand {
    margin-right: 1rem!important;
}

/*.youtube-embed .ytp-share-button,*/
/*.youtube-embed .ytp-pause-overlay {*/
/*    display: none !important;*/
/*}*/
