.full-screenable.full-screen-api.full-screen,
.full-screenable.full-screen-non-api.full-screen {
    margin: 0;
    padding: 5px;
}

.full-screenable.full-screen-api.full-screen {
    background: white;
    overflow-y: scroll;
}
.full-screenable.full-screen-non-api.full-screen {
    background: rgba(255,255,255,.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.full-screenable img {
    cursor: pointer;
}
.full-screenable img:hover {
    border: 1px solid deeppink;
}
.full-screenable.full-screen img {
    width: 98%;
    cursor: unset;
    border: unset;
}

.full-screen-close-mark {
    display: none; /* initially hide */

    position: fixed;
    top: 20px;
    right: 20px;

    background: rgba(200,200,200,.5);

    font-size: 30px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius:  15px;
    font-family: sans-serif;
    white-space: pre;
    color: black;

    margin: 0 !important;
    padding: 0 !important;

    cursor: pointer;

    transition: transform ease-in 1s;
}
.full-screen-close-mark:hover {
    transform: rotate(180deg);
}

.full-screen-api .full-screen-close-mark, .full-screen-non-api .full-screen-close-mark {
    display: inherit;
}