.repository-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0;
    margin-bottom: 40px;
}

.repository-list > p {
    flex-basis: calc(100% - 120px);
    text-align: left;
    line-height: 40px;
    margin: 0 0 20px 0;
}

.repository-list > a {
    flex-basis: 100px;
    background: #f1f1f1;
    line-height: 40px;
    font-size: 0.75em;
    font-weight: bold;
    margin: 0 0 20px 20px;
}

.repository-item {
    flex: 0 1 calc(25% - 10px);
    padding: 20px 0px;
}

.exhibit-list .repository-item, #repo-artwork .repository-item {
    flex: 0 1 calc(50% - 10px);
}

.repository-item a.edit, .repository-item a.delete, .repository-item a.preview {
    float: right;
    background-size: contain;
    width: 20px;
    height: 20px;
    text-indent: -99999px;
    border: 8px solid #fff;
    opacity: 1;
    display: block;
    margin: 10px 10px -20px auto;
}

.repository-item a.edit:hover, .repository-item a.delete:hover, .repository-item a.preview:hover {
    opacity: 0.7;
}

.repository-item a.edit {
    background: url(../images/icons/edit.png) no-repeat center center;
    background-size: contain;
}

.repository-item a.delete{
    background: url(../images/icons/delete.png) no-repeat center center;
    background-size: contain;
}

.repository-item a.preview {
    background: url(../images/icons/preview.png) no-repeat center center;
    background-size: contain;
}

#repo-artwork .repository-item {
    flex: 0 1 calc(33% - 10px);
    background: url(../images/icons/fill.png);
    background-position: 100% 20%;
    margin-bottom: 30px;
}

.exhibit-list .repository-item, .exhibit-detail-box {
    background: url(../images/icons/fill.png), #e6e6e6;
    margin-bottom: 25px;
    padding: 0;
}

#repo-marker.repository-list.flex,
#repo-object.repository-list.flex {
    justify-content: flex-start;
}

#repo-marker.repository-list.flex .repository-item,
#repo-object.repository-list.flex .repository-item {
    flex: 0 1 calc(25%);
}

#repo-marker .repository-item a.delete, #repo-object .repository-item a.delete {
    margin: -20px 0 0 85px;
    position: absolute;
}

#repo-marker .repository-item a.edit, #repo-object .repository-item a.edit {
    margin: -20px 0 -30px 40px;
    position: absolute;
}

.artwork-elements a.edit, .artwork-elements a.delete, .artwork-elements a.preview {
    margin: 10px 10px -40px auto;
}

.artwork-elements a.delete {
    margin: 10px 10px -40px 0;
}

h1.exhibit-name {
    margin: 0 0 10px 0;
    padding: 0 15px;
    max-width: calc(100% - 30px);
    max-height: 50px;
    font-size: 0.85em;
    font-weight: bold;
    color: #5b0058;
    background: #b019a650;
    overflow: hidden;
    text-shadow: rgba(255,255,255,0.3) 1px 1px 2px;
    overflow-wrap: initial;
}

h1.exhibit-name:hover {
    background: #b019a670;
    color: #af00a9;
}

p.exhibit-slug, a.edit, a.delete{
    font-size: 0.65em;
}

p.by {
    text-align: center;
    display: block;
    width: 100%;
    margin: 0 10px;
}

p.by, p.exbDate, p.exhibit-about {
    font-size: 0.75em;
    margin: 0 0 0 10px;
}

p.by, p.exbDate {
    color: #868686;
}

p.exbDate {
    padding: 0 15px 0 0;
    text-align: right;
}

a.gotoExb {
    background: #f9d7fa70;
    color: #af00a9;
    font-size: 0.65em;
    clear: both;
    padding: 5px 25px 5px 10px;
    margin: -5px 15px 0 10px;
    text-align: right;
    flex-basis: 100%;
    opacity: 0.75;
    line-height: 20px;
}

a.gotoExb:hover {
    background: #f9d7fa90;
    opacity: 0.9;
    color: #5b0058;
}

a.gotoExb:after {
    content: "";
    height: 25px;
    width: 25px;
    background: url(../images/icons/icoCamPurp.png) no-repeat;
    background-size: contain;
    position: absolute;
    margin: -5px 0px 0px 5px;
    opacity: 0.7;
}

a.gotoExb:hover a.gotoExb:after {
    opacity: 0.9;
}

p.exhibit-about {
    font-weight: bold;
    margin: 10px 10px 10px 0;
}

.artwork-elements.flex {
    justify-content: space-evenly;
}

a.seeall  {
    margin: -20px auto 55px;
    display: block;
    font-weight: bold;
    font-size: 1em;
    text-align: right;
    line-height: 2.5em;
    border-top: 3px rgba(0, 0, 0, 0.025) solid;
}

p.url {
    clear: both;
    margin: 10px auto 10px 25px;
    display: block;
    flex: 1 100%;
    text-align: left;
}

p.url span {
    font-size: 1.25em;
    font-weight: bold;
}

.exhibit-detail-box p.by, .exhibit-detail-box a.gotoExb {
    flex: 1 100%;
    margin: 10px 25px 20px;
}

/********* Media Queries ***********/
@media all and (min-width: 800px) {
    p.by {
        flex-basis: calc(75% - 55px);
        text-align: left;
        margin: 0;
    }

    p.by, p.exhibit-about {
        text-align: left;
        padding: 0 0 0 15px;
    }

    p.exbDate {
        flex-basis: calc(25% - 15px);
        margin-left: 25px;
    }

    p.exhibit-about {
        margin-top: 5px;
        margin-bottom: 5px;
        flex-basis: calc(33% - 15px);
    }

    a.gotoExb {
        margin: 0 15px 0 0;
        flex-basis: calc(60% - 75px);
    }

    .exhibit-detail-box p.by, .exhibit-detail-box a.gotoExb {
        flex: 1 35%;
    }
}