html, body {
    margin: 0;
    padding: 0;
}

#root {
    margin: 8px;
}

table {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #CDCDCD;
    margin: 10px 0 15px;
    font-size: 8pt;
    width: 100%;
    text-align: left;
}

th {
    background-color: #e6EEEE;
    border: 1px solid #FFF;
    font-size: 8pt;
    padding: 4px;
    cursor: pointer;
}

td {
    color: #3D3D3D;
    padding: 3px;
    background-color: #FFF;
    border: 1px solid #FFF;
    vertical-align: top;
}

.odd td {
    background-color:#F0F0F6;
    border: 1px solid #F0F0F6;
}

.sort {
    background-color: #396580;
    color: white;
    position: relative;
}

.sort .arrow {
    color: transparent;
    user-select: none;
}

.sort:after {
    color: silver;
    content: ' ▲';
    position: absolute;
    right: 4px;
}

.sort.desc:after {
    content: ' ▼';
}

.un-sortable {
    cursor: default;
    color: navy;
    background-color: #ACBECA;
}

.un-sortable:after {
    color: #9494CA;
}

.cell-binary.checked {
    font-size: 200%;
    text-align: center;
}

td.cell-name img {
    vertical-align: middle;
    width: 12px;
    height: 12px;
    margin-left: 0.25em;
}

.footer {
    display: flex;
    justify-content: space-between;
    font-size: 80%;
    color: #999;
}

.last-modified {
    text-align: right;
    font-family: Verdana, Tahoma, Arial, sans-serif;
}

.filter-result {
    font-family: monospace;
    white-space: pre;
}

.filter-result .clear {
    display: inline-block;
    margin-left: 1em;
}

.view-switcher {
    font-family: monospace;
    text-align: center;
}

.text-link {
    color: royalblue;
    cursor: pointer;
    text-decoration: underline;
}

.no-data {
    text-align: center;
}

.tech-name {
    cursor: pointer;
}

.hidden {
    display: none;
}

@media screen and (max-width: 600px) {
    .workplace {
        display: none;
    }
    
    .location {
        display: none;
    }
    
    .position .period {
        margin-top: 0;
    }
    
    .filter-result {
        display: none;
    }
    
    .view-switcher {
        display: none;
    }
    
    .last-modified {
        flex: 1
    }
}

.project .content {
    display: flex;
    gap: 1.5em;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.project .content:has(.thumbnail) {
    margin-top: 0.64em;
}

.project .content .thumbnail {
    flex: 0 0 196px;
    margin-bottom: 1em;
    text-align: center;
}

.project .title img {
    vertical-align: middle;
    margin-left: 0.25em;
}

.project .content img {
    max-width: 196px;
    max-height: 196px;
}

.position .period {
    margin-top: 0;
}

.project .position {
    grid-template-columns: auto 5em;
}

.project .technologies {
    color: gray;
    font-size: 0.8em;
}

@media screen and (max-width: 600px) {
    .project .content {
        margin-top: 1em;
        flex-direction: column;
        gap: 0.5em;
    }

    .project .content .thumbnail {
        flex: initial !important;
        margin: 0 auto;
    }
}

body #cli.cli.cli-panel {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

kbd {
    background-color: #eee;
    border-radius: 3px;
    border: 1px solid #b4b4b4;
    box-shadow:
            0 1px 1px rgba(0, 0, 0, 0.2),
            0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
    color: #333;
    display: inline-block;
    font-size: 0.85em;
    font-weight: 700;
    line-height: 1;
    padding: 2px 4px;
    white-space: nowrap;
    margin: 0 0.5em;
}

code {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.85em;
    margin: 0.5em 0.5em;
    padding: 0.25em 0.5em;
    display: inline-block;
}
