html { 
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; 
    background: #eee; 
    padding: 1rem; 
}
body { margin: 0 auto; background: white; }
h1 { color: #377ba8; margin: 1rem 0; }
a { color: #377ba8; }
hr { border: none; border-top: 1px solid lightgray; }
nav { 
    margin-top: 1em;
    background: rgb(233, 233, 233); 
    display: block; 
    align-items: center; 
    padding: 0.5rem;
}
.content { padding: 0 1rem 0.01rem; }
.content > header { border-bottom: 1px solid lightgray; display: flex; align-items: flex-end; }
.content > header h1 { flex: auto; margin: 1rem 0 0.25rem 0; }
.flash { margin: 1em 0; padding: 1em; background: #cae6f6; border: 1px solid #377ba8; }
.content:last-child { margin-bottom: 0; }
.content form { margin: 0em 0 1em 0; display: block; flex-direction: column; }
.content label { margin-bottom: 0.5em; }
.content input, .content textarea { margin-bottom: 1em; }
.content textarea { min-height: 12em; resize: vertical; }

#lnk_products {
    position: absolute;
    top: 1em;
    right: 1em;
    margin: 2em 1em 0.5em 0;
}

#uuid_list {
    margin: 1em 0;
    padding: 0.5em;
    /* border: 1px solid lightgray; */
}

#uuid_list li {
    list-style: inherit;
}

#uuid_list table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid lightgray;
}

#uuid_list table th {
    background-color: #f2f2f2;
    text-align: left;
}

#uuid_list table th, #uuid_list table td {
    border: 1px solid lightgray;
    padding: 0.5em;
}

#uuid_list table tr:nth-child(even) {
    background-color: #f2f2f2;
}

input.danger { color: #cc2f2e; }
input[type=submit], input[type=button].download, .btnonoff {
    align-self: start;
    min-width: 10em; 
    margin: 0.5em 1em 0.5em 0;
    border: 2px solid #377ba8;
    background-color: #377ba8;
    border-radius: 0.25em;
    cursor: pointer;
    padding: 0.8em 1.2em 0.8em 1em;
    transition: all ease-in-out 0.2s;
    font-size: 16px;
    font-weight: bold;
    color: white;
}
input[type=submit]:hover, input[type=button].download:hover, .btnonoff:hover, .btnonoff.pressed:hover {
    background-color: #1da0d8;
    border-color: #1da0d8;
}

.btnonoff {
    min-width: unset;
    margin: 0.25em 0.5em 0.25em 0;
    padding: 0.25em 0.5em;
    border: 2px solid #c5c5c5;
    background-color: #c5c5c5;
    font-weight: normal;
    display: initial;
}

.btnonoff.pressed {
  border: 2px solid #377ba8;
  background-color: #377ba8;
  color: white;
  box-shadow: 2px 2px 10px rgba(55, 123, 168, 0.5);
}



li { list-style: none; }

#source_div, #stac_div {
    border: 1px solid lightgray;
    /* padding: 0.5em; */
    margin: 1em 0;
    width: 49%;
    display: block;
}
#source_div > ul, #stac_div > ul {
    padding-left: 1em;
    height: calc(100vh - 350px);
    overflow: auto;
}
#source_div {
    float: left;
}
#stac_div {
    float: right;
}

img {
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    margin: 0 0.2em;
}
img.clickable {
    cursor: pointer;
}
hr {
    clear: both;
}

div#spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
}
div#spinner > img {
    width: 10em;
    height: 10em;
    animation: spin 3s steps(8) infinite;
    align-items: center;
    justify-content: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

