:root {
  --body-bg-color: #455164;
}

#viewport {
  padding: 4px;
  padding-left: 0;
}

#viewport.menu-open {
  /* On desktop view, .menu-open means menu is closed... */
  padding-left: 4px;
}

#viewport #loading, /* ... except on pages without a menu */
#viewport #sign-in {
  margin-left: 4px;
}

/* Sidebar and footer */

#sidebar .scrollable-area {
  padding-top: 10px;
}

#sidebar .chan {
  transition: color 0.2s;
}

#footer {
  background: rgba(0, 0, 0, 0.06);
  margin: 0 4px;
  border-radius: 2px;
}

#footer button {
  color: #9ca5b4;
}

#sidebar .chan:hover,
#footer button:hover,
#sidebar .active,
#sidebar .active:hover {
  background: transparent;
}

/* End sidebar and footer */

#windows .window::before {
  background: #f4f4f4;
  background-image: linear-gradient(#f4f4f4, #ececec);
  border-bottom: 1px solid #d7d7d7;
  content: " ";
  height: 10px;
  flex-shrink: 0;
}

#windows .window {
  border-radius: 2px;
}

#windows {
  border-radius: 2px;
  overflow: hidden;
}

/* Message input */

#form {
  background: #eee;
  border-top: 1px solid #ddd;
  padding: 5px;
}

#windows #form .input {
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 0;
}

#form #nick {
  display: block;
}

#form #submit {
  color: #9ca5b4;
}

/* End message input */

/* Header icon buttons */

#viewport .lt,
#viewport .rt,
#chat button.menu {
  color: #ccc;
}

/* End header icon buttons */

/* Previews */

#chat .toggle-content {
  border-radius: 2px;
  box-shadow: none;
}

#chat .toggle-thumbnail,
#chat .toggle-content .toggle-text {
  padding: 6px;
}

#chat .toggle-content .toggle-text {
  padding-left: 0;
}

#chat .toggle-content .thumb {
  max-width: 48px;
  max-height: 38px;
}

/* End previews */

kbd {
  background-color: #fcfcfc;
  background-image: none;
  border: solid 1px #ccc;
  border-bottom-color: #bbb;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #bbb;
  color: #555;
  font-size: 12px;
  min-width: 20px;
  padding: 3px;
}

@media (max-width: 768px) {
  #viewport,
  #viewport.menu-open {
    padding: 0;
  }

  #viewport #loading,
  #viewport #sign-in {
    margin: 0;
  }

  #footer {
    margin: 0;
    border-radius: 0;
  }

  #windows .window::before {
    display: none;
  }

  #windows .window {
    border-radius: 0;
  }
}

/* spots adds */

@font-face {
  font-family: "Topaz";
  src: url(/packages/thelounge-theme-amiga/alternative-font.woff2) format("woff2");
}

:root {
  --body-bg-color: #aaaaaa;
}

#viewport {
  padding: 4px;
  padding-left: 0;
}

#viewport.menu-open {
  /* On desktop view, .menu-open means menu is closed... */
  padding-left: 4px;
}

#viewport #loading, /* ... except on pages without a menu */
#viewport #sign-in {
  margin-left: 4px;
}

/* Sidebar and footer */

#sidebar .scrollable-area {
  padding-top: 0px;
}

#sidebar .chan {
  transition: color 0.2s;
}

#footer {
  background: rgba(0, 0, 0, 0.06);
  margin: 0 4px;
  border-radius: 2px;
  height: 29px;
}

#footer button {
  color: #9ca5b4;
}

#sidebar .chan:hover,
#footer button:hover,
#sidebar .active,
#sidebar .active:hover {
  background: transparent;
}

#viewport.menu-open #sidebar {
    display: flex;
    width: 175px;
}

#viewport.menu-open {
    padding-left: 0px;
}

/* End sidebar and footer */

#windows .window::before {
  background: #f4f4f4;
  background-image: linear-gradient(#f4f4f4, #ececec);
  border-bottom: 1px solid #d7d7d7;
  content: " ";
  height: 10px;
  flex-shrink: 0;
}

#windows .window {
  border-radius: 2px;
}

#windows {
  border-radius: 2px;
  overflow: hidden;
}

/* Message input */

#form {
  background: #eee;
  border-top: 1px solid #ddd;
  padding: 5px;
}

#windows #form .input {
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 0;
}

#form #nick {
  display: block;
}

#form #submit {
  color: #9ca5b4;
}

/* End message input */

/* Header icon buttons */

.channel-list-item .badge {
    background: none;
    border-radius: none;
    color: #000;
    font-size: 16px;
    padding: 0;
    transition: none;
}

.channel-list-item[data-type=lobby] .add-channel:before {
    font-size: 16px;
    /* font-weight: 400; */
    display: inline-block;
    line-height: 16px;
    text-align: center;
    content: "+";
    color: #000;
}

.channel-list-item[data-type=lobby] .add-channel {
    border-radius: 0px;
    width: 16px;
    height: 16px;
    opacity: 1;
    transition: none;
}

#viewport .lt,
#viewport .rt,
#chat button.menu {
  color: #ccc;
}

.window{
  background: #aaaaaa !important;
}
/* End header icon buttons */

/* Previews */

.input {
    background-color: #ababab;
    border: 1px solid #cdd3da;
    border-radius: 2px;
    color: #000000;
    font-size: 16px;
    margin: 2px 0 10px;
    padding: 0 10px;
    transition: border-color .2s,box-shadow .2s;
    width: 100%;
    height: 35px;
    line-height: 35px;
    border-left: 2px solid #000;
    border-top: 2px solid #000;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-radius: 0;
}

.input:not(:disabled):focus, .input:not(:disabled):hover {
}

.btn:disabled, .btn:focus {
    background: #ababab;
    color: #000;
    opacity: 1;
    border-left: 2px solid #000;
    border-top: 2px solid #000;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.btn:hover {
    background: #ababab;
    color: #000;
    opacity: 1;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
}

.input:not(:disabled):focus, .input:not(:disabled):hover {
    border-left: 2px solid #000;
    border-top: 2px solid #000;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.btn:active, .btn:focus, .input:focus {
    outline: 0;
    box-shadow: none;
}

.btn:active {
    outline: 0;
    border-left: 2px solid #000 !important;
    border-top: 2px solid #000 !important;
    border-right: 2px solid #fff !important;
    border-bottom: 2px solid #fff !important;}

.channel-list-item:before, .context-menu-item:before, .jump-to-input:before, .password-container .reveal-password span {
    display: none;
}

.channel-list-item .close:before {
    content: "×";
    color: #000;
}

#chat .msg[data-type=mode] .from:before, #chat .msg[data-type=mode_channel] .from:before {
    content: "\f05a";
    color: #777;
}

#chat .from {
    color: #777;
}

#chat .msg[data-type=unhandled] .from {
    color: #767676;
    color: var(--body-color-muted);
    text-overflow: ellipsis;
    visibility: hidden;
}


#chat .msg[data-command=help] .from:before, #chat .msg[data-command=info] .from:before, #chat .msg[data-command=motd] .from:before, #chat .msg[data-type=action] .from:before, #chat .msg[data-type=away] .from:before, #chat .msg[data-type=back] .from:before, #chat .msg[data-type=ctcp] .from:before, #chat .msg[data-type=ctcp_request] .from:before, #chat .msg[data-type=invite] .from:before, #chat .msg[data-type=join] .from:before, #chat .msg[data-type=kick] .from:before, #chat .msg[data-type=mode] .from:before, #chat .msg[data-type=mode_channel] .from:before, #chat .msg[data-type=nick] .from:before, #chat .msg[data-type=part] .from:before, #chat .msg[data-type=plugin] .from:before, #chat .msg[data-type=quit] .from:before, #chat .msg[data-type=raw] .from:before, #chat .msg[data-type=topic] .from:before, #chat .msg[data-type=whois]
{
    color: #777;
}

#chat .msg[data-type=part] .from:before, #chat .msg[data-type=quit] .from:before {
    color: #777;
}

#chat .date-marker:before {
    border-top: 2px solid #777;
}

#chat .date-marker-text:before {
    content: attr(aria-label);
    background-color: #ababab !important;
    background-color: var(--window-bg-color);
    color: #777;
    padding: 0 10px;
}

#chat .unread-marker:before {
    border-top: 2px solid #777;
  }

#chat .unread-marker-text:before {
    content: "New messages";
    background-color: #ababab;
    color: #777;
}

#sidebar .join-form .btn {
    display: block;
    width: 100%;
    margin: auto;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    border-radius: 0;
    color:  #000;
}

#sidebar .collapse-network-icon:before{
    color: #000 !important;
    border: none !important;
    line-height: 1;
}

#sidebar .network .collapse-network-icon:before {
    content: "\f0d7";
    line-height: 1;
    color: #fff;
}

#chat .toggle-content {
  border-radius: 2px;
  box-shadow: none;
    border-left: 2px solid white;
    border-top: 2px solid white;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 0;
}

#chat .toggle-thumbnail,
#chat .toggle-content .toggle-text {
  padding: 6px;
}

#chat .toggle-content .toggle-text {
  padding-left: 0;
}

#chat .toggle-content .thumb {
  max-width: 48px;
  max-height: 38px;
}

#chat .userlist {

  background-color: #aaa;
  border-left: 2px solid #000;
  padding: 0px;
  position: relative;
  margin: 0 auto;
  border-bottom: 2px solid #000;
  border-top: 2px solid #fff;
  font-size: 16px;
}

#chat .userlist:before {
    background: none;
    border-left: 2px solid #fff;
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 4px;
    bottom: 0px;
    pointer-events: none;
}

#sidebar {
    background-color: #aaa;
    box-shadow:
    inset -2px 0px 0px 0px  #fff,
    inset -4px 0px 0px 0px #000;
}

#scrollable-area {
    background-color: #aaa;
    box-shadow:
    inset -2px 0px 0px 0px  #fff,
    inset -4px 0px 0px 0px #000;
}

#chat .self .content {
    color: #000;
}

#sidebar .logo-container {
    display: none;
}

#sidebar .empty {
    color: #000;
}

.channel-list-item[data-type=lobby] {
    color: #000;
    font-size: 16px;
    font-weight: normal;
}


.channel-list-item {
    color: #000;
    font-size: 16px;
}

.channel-list-item[data-type=lobby].active, .channel-list-item[data-type=lobby]:hover {
    color: #000;
}

.channel-list-item .parted-channel-icon:before, .channel-list-item:before {
    border: 0px;
    font-size: 10px;
    color: #777;
}

.jump-to-input {
    display: none;
}

#footer button {
    color: #000;
    border-left: 2px solid white;
    border-top: 2px solid white;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 0;
    height: 29px;
    width: 55px;
}

input[type="radio" i] {
    border-left: 2px solid white;
    border-top: 2px solid white;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
}

#settings > form > div:nth-child(3){
  display: none;
}

h1, h2, h3 {
  font-size: 16px !important;
}

#settings h2 .extra-help {
    display:  none;
}

#settings .extra-help {
    display:  none;
}

.window h2 {
    color: #000;
    border-bottom: 0px;
    margin: 20px 0 0px;
    padding-bottom: 7px;
}


 #chat button.mentions:before, #chat button.menu:before, #chat button.search:before, #connect .extra-help, #footer .icon, #form #upload:before, #help .documentation-link:before, #help .report-issue-link:before, #help .website-link:before, #image-viewer .next-image-btn:before, #image-viewer .open-btn:before, #image-viewer .previous-image-btn:before, #settings #play:before, #settings .extra-help, #sidebar .collapse-network-icon:before, #version-checker:before, #viewport .lt:before, #viewport .rt:before, .channel-list-item .not-connected-icon:before, .channel-list-item .parted-channel-icon:before, .channel-list-item:before, .context-menu-item:before, .jump-to-input:before, .password-container .reveal-password span {
    color: #000;
    border-left: 2px solid white;
    border-top: 2px solid white;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 0;
    height: 29px;
    line-height: 1.8;
}

 #form #submit:before{
  border: 0;
 }

#theme-select{
    color: #000;
    border-left: 2px solid white;
    border-top: 2px solid white;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 0;
    height: 29px;
    line-height: 1.8;
}
.btn {
    color: #000;
    border-left: 2px solid white;
    border-top: 2px solid white;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 0;
    height: 29px;
    line-height: 0.8;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 0px;
    margin: 0;
    padding: 0;
    text-transform: initial;
    transition: none;
    word-spacing: 0px;
    cursor: pointer;
}

.header {
    line-height: 29px;
    height: 29px;
    font-size: 16px;
    padding: 0;
}

.header .topic{
    font-size: 16px;
}

#viewport #chat .lt {
    margin: 0;
}

#chat button.close, #chat button.mentions, #chat button.menu, #chat button.search, #viewport .lt, #viewport .rt {
    color: #000 !important;
    margin: 0;
}

#form #submit, #form #upload {
    color: #000;
    border-left: 2px solid white;
    border-top: 2px solid white;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 0;
    height: 29px;
    margin-bottom: 4px;
    position: relative;
    top: 9px;
}

#footer button:hover{
    color: #ededed;
}

footer button.active, .channel-list-item.active {
    background-color: transparent !important;
    color: #ededed !important;
}

.channel-list-item:hover{
      color: #fff;
      background: transparent;
}

#footer{
  background: #aaa;
  margin: 0px 8px 0px 4px;
}


#form {
    background: #aaa;
    border-top: 1px solid #ddd;
    padding-top: 9px;
    border-top: 2px solid #fff;
    height: 35px;
    padding-left: 0;
    padding-right: 0;
}

#form #input {
    background: transparent;
    border: none;
    font: inherit;
    /* min-height: 25px; */
    height: 29px !important;
    max-height: 29px;
    line-height: 25px;
    outline: none;
    margin: 0px;
    padding: 0;
    resize: none;
    flex: 1 0 auto;
    align-self: center;
    touch-action: pan-y;
    border-left: 2px solid #000;
    border-top: 2px solid #000;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    padding-left: 8px;
    padding-left: 8px;
    margin-right: 4px;
}


.channel-list-item {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    padding-bottom: 0;
    height: 20px;
}

span.not-secure-icon::before {
    font-size: 10px !important;
    border: none !important;   
    display: none;
}

#chat .userlist .search {
    background: #aaa;
    border-left: 2px solid white;
    border-top: 0px solid white;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    padding-left: 8px;
    height: 29px;
}

#chat .userlist .count {
    height: 29px;
}

.channel-list-item[data-type=lobby] {
    color: #000;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 2px;
}

div.channels{
  margin-left: 26px;
}

#chat .count:before {
    line-height: 31px;
    color: #000;
}

#chat .content{
  border-left: 2px solid #777;
}

.window {
    border-radius: 5px;
    box-shadow: none;
}
.public #form #nick {
    display: block;
    color: #000;
    background: #aaa;
    border-left: 2px solid white;
    border-top: 2px solid white;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 0;
    top: 9px;
    position: relative;
    height: 29px;
}

#viewport #chat .lt {
    position: relative;
}

#viewport .lt, #viewport .rt, #chat button.menu {
    color: #000;
}


#chat button.close, #chat button.mentions, #chat button.menu, #chat button.search, #viewport .lt, #viewport .rt {
    color: #000 !important;
}

#chat .user {
    color: #000;
}

#chat .user-mode:before {
    background: transparent;
    color: #fff;
    display: block;
    font-size: 16px;
    line-height: 16px;
    padding: 5px 16px;
    position: relative;
    top: 0;
}

#chat .chat {
    border-bottom: 2px solid #000;
    border-top: 2px solid #fff;
}

#chat .msg[data-type=monospace_block] .text {
    background: #ababab;
    display: inline-block;
    border-radius: 4px;
    padding: 0px;
    font-size: 16px;
    font-family: system-ui;
    color: #ffffff;
}

#chat .header {
    border-bottom: 2px solid black;
    border-bottom: 2px solid black;
    height: 36px;
    padding-top: 2px;
    padding-left: 4px;
}

#chat .msg[data-type=topic] .from:before {
    content: "\f0a1";
    color: #777;
}

.channel-list-item .not-connected-tooltip, .channel-list-item .not-secure-tooltip, .channel-list-item .parted-channel-tooltip {
    border: none;
}

#chat .content {
    font-size: 16px;
}

#chat .msg[data-type=join] .from:before {
    content: "\f2f6";
    color: #777;
}

a, a:focus, a:hover {
    color: #4c7fc4;
    text-decoration: none;
}

::-webkit-scrollbar-track {
    border-right: 1px solid black !important;    
    border-left: 2px solid black !important;    

}

::-webkit-scrollbar-thumb {
    background-color: #000 !important;
    border: 4px solid transparent !important;
    border-radius: 0px !important;
    background-clip: content-box !important;
}


::-webkit-scrollbar {
    width: 25px;
}

::-webkit-scrollbar-track {
    background-color: #ababab;
}




