:root {
    --foottext-height: 50px;
}
.content > .full_image
{
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    box-sizing: border-box;
    padding: 25px;
    z-index: 25;
    background-color: rgb(157 157 157);
}
.full_image .image_container
{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s linear;
}
.full_image .image_container .hidden
{
    opacity: 0;
}
.full_image .image_container .image_viewer
{
    position: relative;
    padding: 0px;
    margin: auto;
    display: flex;
    justify-content: center;
}
.full_image .image_container .image
{
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}
.full_image .image_container .outer_text .copyright
{
    position: absolute;
    right: 5px;
    bottom: 5px;
    color: rgb(255, 255, 255, 0.4);
    font-family: "American Typewriter";
}
/*
.full_image .image_container.with_text .image
{
    max-height: calc(100% - var(--foottext-height));
}
.full_image .image_container .text_container
{
    height: var(--foottext-height);
    position: relative;
}
.full_image .image_container:not(.with_text) .text_container
{
    display: none;
}

.full_image .image_container .text_container.fixed_width
{
    margin-left: auto;
    margin-right: auto;
}
.full_image .image_container .outer_text
{
    overflow: hidden;
    max-height: var(--foottext-height);
    background-color: rgba(0, 0, 0, 1);
    position: absolute;
    bottom: 0px;
    transition: max-height 0.5s;    
    width: 100%;
}
*/
.full_image .image_container .text
{
    color: white;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 1em;
    padding-bottom: 1em;
    font-family: "American Typewriter";
    text-align: justify;
}
.full_image .image_container .outer_text
{
    position: absolute;
    bottom: 0px;
    background: rgb(92, 92, 92);
    width: 100%;    
    transition: max-height 0.5s ease-in;
    max-height: 1000px;
    display: none;
    overflow: hidden;
}
.full_image .image_container.with_text .outer_text
{
    display: block;
}
.full_image .image_container .outer_text.hidden
{
    transition: max-height 0.5s ease-out;
    max-height: 0px;
}
.full_image .image_container .text p
{
    margin-bottom: 1px;
    margin-top: 1px;
}
.full_image .image_container .text p:first-child
{
    margin-top: 0px;
}
.full_image .image_container .expand
{
    color: white;
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}    
.content > .full_image.visible
{
    display: block;
}
.content > .full_image .full_image_close
{
    position: absolute;
    right: 25px;       
}

.full_image_close,
.prev,
.next 
{
    cursor: pointer;
    color: orange;
    transition: background-color 0.5s;
    padding: 16px;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 100;
}
.prev,
.next 
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
}

.prev 
{
    left: 25px;
}
.next
{
    right: 25px;
    border-radius: 3px 0 0 3px;
}

.full_image_close:hover,
.prev:hover,
.next:hover 
{
    background-color: rgba(0, 0, 0, 0.8);
}

.full_image_close.stopped,
.prev.stopped,
.next.stopped 
{
    background-color: rgba(0, 0, 0, 0.8);
}
