
h5 {
    margin-bottom: .8em;
}

.artist {
    width: 100%;
    margin-bottom: 3em;
}

.artist p {
    display: block;
}

.statement {
    text-align: left;
    font-size: .8em;
    max-width: 35em;
    padding-left: 1.7em;
    margin-bottom: 3em;
}

.statement .unfold {
    display: block;
    width: 100%;
    margin: .5em;
    margin-top: 1.5em;
    opacity: .5;
    font-size: .8em;
    text-align: right;
}

.statement .folded {
    display: none;
}

@media (max-width: 500px) {
    .statement {
        padding: 0 1em;
    }
}

table.timeline {
    text-align: left;
    font-size: .8em;
    margin: auto;
}

table.timeline td {
    padding: .1em 1em;
}

@media (max-width: 767px) {
    table.timeline td {
        display: block;
        padding: .1em 1em;
    }
    table.timeline tr td:first-child {
        margin-top: 1em;
    }
}


/* ****************************************************** connections */

#connection-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.connection {
    position: absolute;
    border-radius: 50%;
    background-color: #000;
    cursor: pointer;
    opacity: 1;
    transform: scale(1);
    transition: left 0.5s, top 0.5s, opacity 0.5s, width 0.2s, height 0.2s;
}


/* ****************************************************** grid list */

.thumb-grid {
    text-align: left;
}

.thumb-grid .item {
    position: static;
    display: inline-table;
    float: none;
    clear: none !important;
    box-sizing: border-box;
    padding: .2rem;
    margin-bottom: 2rem;
    list-style: none;
}

.thumb-grid .item { width: 25%; }
@media (max-width: 1199px) { .thumb-grid .item { width: 33.3%} }
@media (max-width: 767px)  { .thumb-grid .item { width: 50%  } }
@media (max-width: 575px)  { .thumb-grid .item { width: 100% } }

.thumb-grid .tr {
    display: table-row;
}

.thumb-grid .tr a {
    display: block;
}

.thumb-grid .item img {
    margin-bottom: .3rem;
    vertical-align: baseline;
}

.thumb-grid .item p small {
    display: inline-flex;
    line-height: 1.3em;
}

.thumb-grid .item .intro {
    display: block;
    margin-top: .7em;
}

.thumb-grid .item .works {
    list-style: none;
    padding: 0;
    margin-top: .7em;
    font-size: .7em;
}

.thumb-grid .item .intro a,
.thumb-grid .item .works a {
    display: inline-block;
    font-style: italic;
}

.press_list {
    margin-bottom: 6em;
}

.press_list > p {
    margin-bottom: .5em;
}


.text-selected, .text-all {
    display: none;
}

div[data-select="false"] .text-selected,
div[data-select="true"] .text-all {
    display: inline;
}

div[data-select="true"] > .item:not([data-selected-item]) {
    display: none;
}
