
.notification {
    color: yellow;
}

#outerclient {
    display: flex;
    flex-direction: column;
}

#inputcontainer {
    font-size: 14px;
}

#qselector {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
}

#qselector button {
    min-width: 2em;
    font-size: 1em;
    width: 6.5em;
}

button#removeclue {
    min-width: 2em;
    width: 2em;
    height: 2em;
}

button#removeq, button#runquery, button#working {
    height: 100%;
    min-width: 3em;
    width: 3em;
    margin: 0;
/*    margin-bottom: .2em; */
    border: 2px #888888 solid;
}

#viewName {
    padding: .3em;
    width: 100%;
    margin-bottom: 0;
    border: 2px #888888 solid;
}

button#removeclue {
    margin-top: 9px;
    margin-right: 9px;
}


#clueinfo {
    padding-left: 1em;
    padding-right: 1em;
}

#clueouter {
    position: relative;
}

#cluebuttons {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    max-width: 20em;
    margin: auto;
    top: 2px;
    left: 0;
    right: 0;
}

#clueouter button {
    min-width: 4em;
    height: 2em;
}

#removeclueouter {
    position: absolute;
    right: 0em;
    z-index: 1;
}

#qhistorynum {
    font-size: 80%;
    text-align: center;
}

#qlogouter {
    margin-top: .5em;
    height: 7em;
    max-height: 7em;
    overflow-y: auto;
    width: 100%;
    background-color: hsl(240, 50%, 25%);
}

#querylog {
    padding: 0.5em;
}


.helpnote {
    background-color: #444444;
    margin: 1em;
    padding: .5em;
    border: 2px solid #999999;
}

.tabs div, header div, footer div {
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.tabs {
    display: flex;
}

.tabs {
    display: flex;
    justify-content: space-between;
}

#outputmux {
    padding: 0;
    margin-left: .5em;
    margin-right: .5em;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    height: 70.5ch;
    border: 5px gray solid;
    border-radius: 2px;
    resize: vertical;
}

#qresults {
    overflow-y: scroll;
    scrollbar-color: yellow black;
}

#download {
    padding-left: .5em;
    padding-bottom: .5em;
    align-items: center;
}

#queryinput {
    display: flex;
    gap: .5em;
    align-items: stretch;
    margin: .5em;
}

#sqlinput {
    width: 100%;
}

textarea#query {
    width: 100%;
    padding: .5em;
    border: 3px #888888 solid;
    background-color: var(--bgdark);
    margin: 0;
}

button {
    margin: 0.5em;
    min-width: 5em;
    height: 3em;
    border-radius: 3px;
}


/* query result table */

#outputmux table {
    margin-right: 1em;
    border-collapse: collapse;
    padding: .5em;
    white-space: nowrap;
}

#outputmux table td, table th {
    text-align: left;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 2px;
    padding-bottom: 2px;
}

#outputmux table th {
    color: black;
    background-color: #dddddd;
    border-bottom: 1px #444444 solid;
    border-right: 1px #333333 solid;
}

#outputmux table td {
    border-right: 1px #aaaaaa solid;
}

#outputmux table tr:nth-child(even) {
    background-color: #333333;
}

#outputmux table tbody tr:hover {
    background-color: #555599;
}

#outputmux table thead {
    position: sticky;
    top: 0;
}

#outputmux table tfoot {
    position: sticky;
    bottom: 0;
}

#gamenav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tabs {
    margin-left: 1em;
    display: flex;
    gap: 5px;
}

.tabs a {
  border: 2px solid #888;
  border-radius: 3px 3px 0 0;
  /* border-bottom: 0px; */
  display: block;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  transition: background-color 0.3s;
  color: #ffffff;
}

.tabs a:hover {
  background-color: #444;
  color: #000;
}

.tabs a.active {
  background-color: #aaa;
  color: #000;
}

#forms {
    width: 60%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#answerform {
    flex-direction: row;
    align-items: center;
    margin-left: 10px;
}

#formview {
    width: 100%;
    height: 3em;
    margin-bottom: 0.5em;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-items: stretch;
    justify-content: space-between;
    gap: .5em;
}

#solutionid {
    height: 3em;
    padding: .5em;
}

#queryname {
    width: 100%;
    padding: .5em;
}

#phonenumber {
    height: 3em;
}

#querylist {
    padding-left: 10px;
    width: 170px;
    overflow-y: scroll; /* vertical scrollbar if content overflows */
    height: 280px;
    border: 3px #888888 solid;
    scrollbar-width: auto;
    scrollbar-color: #ffeb3b #fffde7;
}

/* For webkit browsers */
#querylist::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
    width: 12px;
}

#querylist::-webkit-scrollbar-track {
    background: #fffde7; /* Track colour */
    border-radius: 6px;
}

#querylist::-webkit-scrollbar-thumb {
    background: #ffeb3b; /* Handle colour */
    border-radius: 6px;
}

#querylist::-webkit-scrollbar-thumb:hover {
    background: #555; /* Handle colour on hover */
}
@media (max-width: 420px) {
    #gamenav {
        flex-direction: column-reverse;
        align-items: start;
    }
