/* width */
::-webkit-scrollbar {
    width: 4px;
}
  
  /* Track */
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}
   
  /* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.7);
}
  
  /* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #111;
    color: #eee;
    padding: 0 5%;
}

table {
    padding: 0;
    margin: 20px 0;
    display: block;
    max-height: 70vh;
    overflow-x: hidden;
    overflow-y: auto;
}

table tbody {
    display: block;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    width: 100%;
}

table tr {
    display: block;
    padding: 2px;
    width: 100%;
}

table tr th {
    display: block;
    color: #eee;
    padding: 8px 10px;
    margin: 5px 2px;
    font-size: 14px;    
}

table tr td {
    display: inline-block;
    color: #eee;
    background-color: rgba(50, 50, 50, 0.3);
    border-radius: 3px;
    padding: 8px 10px;
    margin: 8px;
    margin-top: 0;
    font-size: 14px;
    -webkit-transition: all 0.15s;
            transition: all 0.15s;
}

table tr:hover td {
    background-color: rgba(50, 50, 50, 0.3);
}

table tr:active td {
    background-color: rgba(255, 255, 255, 0.7);
    color: #222;
}

input {
    width: 70%;
    filter: invert(1);
    padding: 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    font-size: 16px;
    background-color: #eee;
}

.loader {
    border: 6px solid #222; /* Light grey */
    border-top: 6px solid #777; /* Blue */
    border-radius: 50%;
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    top: 8px;
    right: 8px;
    animation: spin 2s linear infinite;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.loading input {
    visibility: hidden;
}

body h1 {
    visibility: hidden;
}

body.loading h1 {
    text-align: center;
    visibility: visible;
    margin: 10% auto;
}

#results span {
    color: #8ac58f;
    font-weight: bold;
}

.notice,
.notice:active,
.notice:hover,
.notice:visited {
    position: fixed;
    bottom: 30px;
    right: 10px;
    color: #ddd;
    padding: 10px;
    border-radius: 12px;
    z-index: 9999;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-transition: all 0.15s;
            transition: all 0.15s;
}

.notice:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.notice:active {
    background-color: rgba(220, 220, 220, 0.7);
    color: #000;
}
