
.navbar.hidden {
    display: none;
}

/* SIDEBAR */
/* SECTION */

.sidebar {
    position: fixed;
    padding: 56px 0 0;
    top: 0;
    bottom: 0;
    left: 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}
.sidebar-sticky {
    position: relative;
    top: 0;
    height: 100vh;
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}
.file {
    position: absolute;
    left: calc((100% - 60%) / 2);
    top: 0;
    opacity: 0;
    width: 60%;
}
.nameInputGroup {
    width: 90%;
    margin: 0 auto;
}
.about {
    margin-left: 14px;
}

/* GALLERY */
/* SECTION */

#gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 0 4px;
}
.gcolumn {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}
.gcolumn img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    opacity: 0;
}
.gcolumn img:not(.initial) {
    transition: opacity 1s;
}
.gcolumn img.initial, .gcolumn img.loaded, .gcolumn img.error {
    opacity: 1;
}
.gcolumn img:not([src]) {
    visibility: hidden;
}

.card {
    margin-top: 8px;
    border: none;
    padding: 0;
}
.card-img-overlay {
    display: none;
    z-index: 100;
}
.card:hover:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}
.card-overlay-black:hover:after {
    background: rgba(0,0,0,.5);
}
.card:hover .card-img-overlay {
    display: block;
}
.card .card-select {
    display: none;
    position: absolute;
    right: 3%;
    top: 3%;
    text-align: center;
    padding-top: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 200;
}
.card .unselected {
    border: 3px solid white;
}
.card .selected {
    display: block;
    border: 2px solid white;
    background-color: #007bff;
    color: white;
}
.card:hover .card-select {
    display: block;
}

@media screen and (max-width: 800px) {
    .gcolumn {
        flex: 50%;
        max-width: 50%;
    }
}
@media screen and (max-width: 600px) {
    .gcolumn {
        flex: 100%;
        max-width: 100%;
    }
}

/* MODAL */
/* SECTION */

.modal {
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.modal.hidden {
    display: none;
}
.modContent {
    background: none;
    border: none;
}

#trashOne, #downloadOne, #trashMulti, #downloadMulti {
    margin-right: 15px;
    cursor: pointer;
}

.photoContent {
    padding: 0;
    display: flex;
    justify-content: center;
    height: 60vh;
    max-height: 80vh;
    width: 100%;
}
.photoContent figure {
    height: 100%;
    overflow: hidden;
}
.photoContent .galleryModalImg {
    width: 100%;
    height: auto;
    vertical-align: middle;
}
.photoContent figcaption {
    text-align: center;
}
.photoContent figcaption span {
    background-color: black;
    border: 10px solid black;
    border-bottom-left-radius: 25% 100%;
    border-bottom-right-radius: 25% 100%;
    border-top-left-radius: 25% 100%;
    border-top-right-radius: 25% 100%;
}
.photoContent .arrow {
    position: absolute;
    height: 100%;
    width: 50%;
    cursor: pointer;
}
.photoContent .leftArrow {
    left:0;
}
.photoContent .rightArrow {
    left: 50%;
}
.photoContent .leftArrow:hover:before {
    opacity: 1;
    content: "<";
    position: absolute;
    left: -30px;
    top: 40%;
    color: white;
    font-size: 50px;
}
.photoContent .rightArrow:hover:after {
    opacity: 1;
    content: ">";
    position: absolute;
    right: -30px;
    top: 40%;
    color: white;
    font-size: 50px;
}
