.clickable-gallery--button > div {
    position: relative;
    color: black;
    background-color: rgba(255, 255, 255, .85);
    width: 2em;
    height: 2em;
    margin: .5em;
    padding: .5em;
    line-height: 1em;
    cursor: pointer;
}

.clickable-gallery--button {
    z-index: 5;
    grid-column: 1;
    grid-row: 1;
    display: block;
    justify-self: right;
}


.clickable-gallery--fullscreen>.clickable-gallery--item>.clickable-gallery--button>div {
    content: '✕';
}

.clickable-gallery--fullscreen {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 101;
}

.clickable-gallery--item.hidden {
    display: none;
}

.clickable-gallery--text, .clickable-gallery--overlay, .clickable-gallery--overlay-shadow, .clickable-gallery--image  {
  grid-column: 1; grid-row: 1;
  position: relative;
}

.clickable-gallery--text {
    color: transparent;
    transition: color 2s;
    text-align: center;
    display : flex;
    align-items : end;
    justify-content: center;
}

.clickable-gallery--text.over {
    color: #167291;
    transition: color .1s;
}

.clickable-gallery--overlay-shadow {
    box-shadow: 0px 0px 50px 5px rgba(255,255,255,0.0);
    transition: box-shadow 1s;
    z-index:4;
}

.clickable-gallery--overlay-shadow.over {
    box-shadow: 0px 0px 50px 5px rgba(255,255,255,1.0);
    transition: box-shadow .2s;
}


.clickable-gallery--overlay {
    background: rgba(117, 96, 151, 0.0);
    transition: background-color 1s;
    z-index:3;
}

.clickable-gallery--overlay.over {
    background: rgba(117, 96, 151, 0.2);
    transition: background-color 0.2s;
    z-index:3;
}

.clickable-gallery--item {
    display: grid;
    width: 100%;
    height: auto;
}
.clickable-gallery--image > figure {
    margin: 0;
}
.clickable-gallery--image > figure > img {
    width: 100%;
    height: auto;
}

