h1#network,
h1#other,
h1#uzamaki {
    background-repeat: no-repeat;
    height: 120px;
}
#imagelightbox-caption,
#imagelightbox-imgtitle {
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    text-align: center;
    color: #fff;
    background-color: #666;
    left: 0;
    right: 0;
    padding: 0.625em;
}
html {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}
/*
h1#timeline {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    margin: 3em auto 1em;
    text-align: center;
    opacity: 0.75;
    background-image: url(../img/gallery/timelinegraphic-title.png);
    background-repeat: no-repeat;
    height: 475px;
    width: 799px;
}
*/
h1#drawing,
h1#network,
h1#other,
h1#trees,
h1#uzamaki,
h1#venutians,
h1#white, 
h1#novaroma,
h1#bottle,
h1#old,
h1#y2025,
h1#y2024,
h1#y2023,
h1#y2022,
h1#y2021 {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    margin: 3em auto 1em;
    text-align: center;
    opacity: 0.75;    
}
h1#novaroma {
    background-image: url(../img/title/novaromatitle.png);
    background-repeat: no-repeat;
    height: 120px;
    width: 581px;
}
h1#white {
    background-image: url(../img/title/whitetitle.png);
    background-repeat: no-repeat;
    height: 120px;
    width: 831px;
}
h1#drawing {
    background-image: url(../img/title/drawingtitle.png);
    background-repeat: no-repeat;
    height: 165px;
    width: 533px;
}
h1#trees {
    background-image: url(../img/title/treestitle-1.png);
    background-repeat: no-repeat;
    height: 233px;
    width: 600px;
}
h1#uzamaki {
    background-image: url(../img/title/uzamakititle.png);
    width: 491px;
}
h1#venutians {
    background-image: url(../img/title/venustiantitle.png);
    background-repeat: no-repeat;
    height: 131px;
    width: 558px;
}
h1#other {
    background-image: url(../img/title/misctitle.png);
    width: 251px;
}
h1#network {
    background-image: url(../img/title/liminaltitle.png);
    height: 165px;
    width: 786px;
}
h1#bottle {
    background-image: url(../img/title/bottletitle.png);
    height: 165px;
    width: 846px;
}
h1#old {
    background-image: url(../img/title/pastworktitle.png);
    height: 100px;
    width: 482px;
    opacity: .85;
}

h2#old {
    background-image: url(../img/title/uzamakititle-smaller.png);
    height: 40px;
    width: 163px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    /* margin: 3em auto 1em; */
    margin: 1em 1em 1em .5em;
    text-align: left;
    opacity: 0.75;
}
h3#old {
    background-image: url(../img/title/venustiantitle-smaller.png);
    height: 40px;
    width: 170px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    /*margin: 3em auto 1em;*/
    margin: 1em 1em 1em .5em;
    text-align: left;
    opacity: 1;
}

h4#old {
    background-image: url(../img/title/spacetitle-smaller.png);
    height: 55px;
    width: 103px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    /*margin: 3em auto 1em;*/
    margin: 1em 1em 1em .5em;
    text-align: left;
    opacity: 0.75;
}

h1#y2025 {
    background-image: url(../img/year/title/2025.png);
    height: 140px;
    width: 389px;
}

h1#y2024 {
    background-image: url(../img/year/title/2024.png);
    height: 140px;
    width: 420px;
}

h1#y2023 {
    background-image: url(../img/year/title/2023.png);
    height: 140px;
    width: 469px;
}

h1#y2022 {
    background-image: url(../img/year/title/2022.png);
    height: 140px;
    width: 486px;
}

h1#y2021 {
    background-image: url(../img/year/title/2021.png);
    height: 140px;
    width: 434px;
}

div.backdiv {


}

#gallerycontainer.yeargallery {
margin-top: 100px;
}

a.yearback {
    position: absolute;
    display: inline-block;
    left: 50%;
    transform: translate(-258px);


    float: none;
    text-decoration: none;
    background-image: url(../img/year/timeline-back.png);
    background-repeat: no-repeat;
    height: 50px;
    width: 517px;
    opacity:  .7;
}
/*a.yearback {
    position: absolute;
    float: left;
    text-decoration: none;
    background-image: url(../img/year/back.png);
    height: 80px;
    width: 244px;
    background-image: url(../img/year/back.png);
    opacity:  .7;
}
*/
a.yearback:hover {
    opacity: 1;
}

div#background {
    position: absolute;
    height: 1600px;
    width: 100%;
    top: 0;
    left: 0;
    background: url(../img/background/chalkboard.jpg);
    background-repeat: no-repeat, no-repeat;
    background-position: top center, top center;
}
#gallerytitle {
    margin: 70px 0 0;
}
/*#gallerycontainer {
    width: 49em;
    height: auto;
    text-align: left;
    padding: 0;
    margin: 0 auto;
}
*/


#gallerycontainer {
    width: 59em;
    height: auto;
    text-align: left;
    padding: 0;
    margin: 0px auto;
}
#gallerycontainer ul {
    padding: 0;
    margin: 0;
}
#gallerycontainer li {
    display: inline-block;
    margin: 0.625em;
}
#gallerycontainer img#thumb {
    width: 10em;
    height: 10em;
    margin: 0 auto;
    border: 0.1em solid rgba(255, 255, 255, 0.5);
    position: relative;
    -webkit-box-shadow: 0 0 1em rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.7);
    -webkit-transition: -webkit-box-shadow 0.3s ease, border-color 0.3s ease;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
#gallerycontainer img#thumb:focus,
#gallerycontainer img#thumb:hover {
    border-color: #fff;
    -webkit-box-shadow: 0 0 1.5em rgba(0, 0, 0, 1);
    box-shadow: 0 0 1.5em rgba(0, 0, 0, 1);
}
#imagelightbox {
    cursor: pointer;
    position: fixed;
    z-index: 10000;
    -ms-touch-action: none;
    touch-action: none;
    -webkit-box-shadow: 0 0 10em rgba(0, 0, 0, 1);
    box-shadow: 0 0 10em rgba(0, 0, 0, 1);
}
#imagelightbox-loading,
#imagelightbox-loading div {
    top: 50%;
    left: 50%;
    position: fixed;
    border-radius: 50%;
    width: 1.25em;
    height: 1.25em;
    background-color: #fff;
    -webkit-animation: imagelightbox-loading 0.5s ease infinite;
    animation: imagelightbox-loading 0.5s ease infinite;
}
#imagelightbox-loading {
    width: 2.5em;
    height: 2.5em;
    background-color: #444;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10003;
    top: 50%;
    left: 50%;
    padding: 0.625em;
    margin: -1.25em 0 0 -1.25em;
    -webkit-box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 2.5em rgba(0, 0, 0, 0.75);
}
@-webkit-keyframes imagelightbox-loading {
    from,
    to {
        opacity: 0.5;
        -webkit-transform: scale(0.75);
    }
    50% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}
@keyframes imagelightbox-loading {
    from,
    to {
        opacity: 0.5;
        transform: scale(0.75);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}
#imagelightbox-overlay {
    background-color: #fff;
    background-color: rgba(255, 255, 255, 0.4);
    position: fixed;
    z-index: 9998;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
#imagelightbox-close {
    width: 4em;
    height: 4em;
    border: 0;
    text-align: left;
    background-color: #2f2f2f;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    position: fixed;
    z-index: 10002;
    top: 2.5em;
    right: 2.5em;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}
#imagelightbox-close:focus,
#imagelightbox-close:hover {
    background-color: #111;
}
#imagelightbox-close:after,
#imagelightbox-close:before {
    width: 2px;
    background-color: #fff;
    content: "";
    position: absolute;
    top: 20%;
    bottom: 20%;
    left: 50%;
    margin-left: -1px;
}
#imagelightbox-caption,
#imagelightbox-imgtitle,
#imagelightbox-nav,
.imagelightbox-arrow {
    position: fixed;
    z-index: 10001;
}
#imagelightbox-close:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
#imagelightbox-close:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#imagelightbox-imgtitle {
    background-color: rgba(0, 0, 0, 0.7);
    top: 0;
    font-size: 1.25em;
}
#imagelightbox-caption {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    font-size: 0.875em;
}
#imagelightbox-nav {
    background-color: #444;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    left: 50%;
    bottom: 3.75em;
    padding: 0.313em;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
#imagelightbox-nav button {
    width: 1em;
    height: 1em;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    display: inline-block;
    margin: 0 0.313em;
}
#imagelightbox-nav button.active {
    background-color: #fff;
}
.imagelightbox-arrow {
    vertical-align: middle;
    top: 50%;
    width: 0;
    margin: 0;
    padding: 0;
    border-bottom: 6em solid transparent;
    border-top: 6em solid transparent;
    background-color: transparent;
}
.imagelightbox-arrow-left {
    left: 2.5em;
    border-left-width: 0;
    border-right: 3em solid #2f2f2f;
    border-right: 3em solid rgba(0, 0, 0, 0.7);
}
.imagelightbox-arrow-right {
    right: 2.5em;
    border-right-width: 0;
    border-left: 3em solid #2f2f2f;
    border-left: 3em solid rgba(0, 0, 0, 0.7);
}
.imagelightbox-arrow-left:active,
.imagelightbox-arrow-left:focus,
.imagelightbox-arrow-left:hover {
    border-right: 3em solid #fff;
}
.imagelightbox-arrow-right:active,
.imagelightbox-arrow-right:focus,
.imagelightbox-arrow-right:hover {
    border-left: 3em solid #fff;
}
#imagelightbox-caption,
#imagelightbox-close,
#imagelightbox-loading,
#imagelightbox-nav,
#imagelightbox-overlay,
.imagelightbox-arrow {
    -webkit-animation: fade-in 0.25s linear;
    animation: fade-in 0.25s linear;
}
@-webkit-keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@media screen and (max-width: 943px) {
    h1#drawing,
    h1#network,
    h1#other,
    h1#trees,
    h1#uzamaki,
    h1#venutians,
    h1#white,
    h1#novaroma,
    h1#bottle,
    h1#old,
    h1#y2025,
    h1#y2024,
    h1#y2023,
    h1#y2022,
    h1#y2021,
    h1#y2020 {
        background-repeat: no-repeat;
        height: 70px;
    }
    #gallerycontainer {
        width: 100%;
    }
    #gallerycontainer img#thumb {
        width: 7em;
        height: 7em;
    }
    .imagelightbox-arrow {
        border-bottom: 3em solid transparent;
        border-top: 3em solid transparent;
    }
    .imagelightbox-arrow-left {
        left: 1.5em;
        border-right: 1.5em solid #2f2f2f;
        border-right: 1.5em solid rgba(0, 0, 0, 0.7);
    }
    .imagelightbox-arrow-right {
        right: 1.5em;
        border-left: 1.5em solid #2f2f2f;
        border-left: 1.5em solid rgba(0, 0, 0, 0.7);
    }
    .imagelightbox-arrow-left:active,
    .imagelightbox-arrow-left:focus,
    .imagelightbox-arrow-left:hover {
        border-right: 1.5em solid #fff;
    }
    .imagelightbox-arrow-right:active,
    .imagelightbox-arrow-right:focus,
    .imagelightbox-arrow-right:hover {
        border-left: 1.5em solid #fff;
    }
    h1#novaroma {
        background-image: url(../img/title/novaromatitle-small.png);
        width: 339px;
    }
    h1#white {
        background-image: url(../img/title/whitetitle-small.png);
        width: 485px;
    }
    h1#drawing {
        background-image: url(../img/title/drawingtitle-small.png);
        width: 226px;
    }
    h1#trees {
        background-image: url(../img/title/treestitle-small.png);
        width: 147px;
    }
    h1#uzamaki {
        background-image: url(../img/title/uzamakititle-small.png);
        width: 286px;
    }
    h1#venutians {
        background-image: url(../img/title/venustiantitle-small.png);
        width: 298px;
    }
    h1#other {
        background-image: url(../img/title/misctitle-small.png);
        width: 146px;
    }
    h1#network {
        background-image: url(../img/title/liminaltitle-small.png);
        width: 333px;
    }
    h1#bottle {
        background-image: url(../img/title/bottletitle-small.png);
        width: 359px;
    }
    h1#old {
        background-image: url(../img/title/pastworktitle-small.png);
        width: 337px;
    }
    h1#y2025 {
        background-image: url(../img/year/title/2025_small.png);
        width: 195px;
    }
    h1#y2024 {
        background-image: url(../img/year/title/2024_small.png);
        width: 210px;
    }
    h1#y2023 {
        background-image: url(../img/year/title/2023_small.png);
        width: 235px;
    }
    h1#y2022 {
        background-image: url(../img/year/title/2022_small.png);
        width: 243px;
    }
    h1#y2021 {
        background-image: url(../img/year/title/2021_small.png);
        width: 217px;
    }
    h1#y2020 {
        background-image: url(../img/year/title/2020_small.png);
        width: 235px;
    }




    div.backdiv {
        position: relative;
        float: none;
        text-decoration: none;
        height: 40px;
        width: 100%;
        margin-top: 0px;
        opacity:  .7;
    }
    a.yearback {
       position: absolute;
        display: inline-block;
        left: 50%;
        transform: translate(-50%);


        float: none;
        text-decoration: none;
        background-image: url(../img/year/back-small.png);
        background-repeat: no-repeat;
        width: 148px;
        opacity:  .7;
    }

    #imagelightbox-imgtitle {
        font-size: 1em;
    }
    #imagelightbox-caption {
        font-size: 0.75em;
    }
}
@media screen and (max-width: 550px) {
    #gallerycontainer {
        text-align: center;
    }
    #gallerycontainer img#thumb {
        width: 6em;
        height: 6em;
    }
    .imagelightbox-arrow-left {
        left: 0;
    }
    .imagelightbox-arrow-right {
        right: 0;
    }
    #imagelightbox-close {
        width: 3em;
        height: 3em;
        border: 0;
        top: 2.5em;
        right: 1em;
    }
}
