#gallery .build-next {
    text-align: left;
    border: 2px solid #474B4E;
    border-radius: 10px;
    background-color: #212529;
    color: #d6d7d9;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}
#gallery .build-next:hover {
    background-color: #191c1f;
}
#gallery .build-next .fa-plus {
    margin-right: 10px;
}

.ShowBoxContainer {
    position: relative;
}
#ShowBox{
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    left: 0px;
    right: 0px;
    top: 0px;
    padding-bottom: 20px;
    background-color: rgba(0,0,0,0.9);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 2000 !important;
    text-align: center;
    transition: 0.5s;
    
    font-size: 40px;
}
#ShowBox > img{
    display: block;
    width: auto;
    max-height: 85%;
    max-width: 100%;
    position: absolute;
    /*margin-top: 50px;*/
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #191C1F;
}

#ShowBoxControl{
    display: inline-block;
    /*margin-left: 150px;
    margin-right: 150px;
    margin-top: 10px;*/
    cursor: pointer;
    color: #ffffff;
    background-color: #35393c;
    position: absolute;
    right: 40px;
    top: 20px;
    z-index: 10;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
    
    transition: 0.3s;
}

#Next, #Previous{
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    /*margin-top: 20%;*/
    top: 50%;
    cursor: pointer;
    color: #ffffff;
    background-color: #35393c;
    position: absolute;
    z-index: 10;
    padding-left: 10px;
    padding-right: 10px;
    
    transition: 0.1s;
}

#Next {
    /*margin-left: 300px*/
    right: 30px; /*150px;*/
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

#Previous {
    /*margin-left: -300px*/
    left: 30px; /*150px;*/
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#Next:hover, #Previous:hover, #ShowBoxControl:hover {
    /*color: #ffc800;*/
    background-color: #191C1F;
}

.pictureBox {
    position: relative;
    width: 100%;
    text-align: center;
}
.pictureBox img {
    cursor: pointer;
}
.pictureBox .container {
    position: relative;
}
.pictureBox .title {
    position: absolute;
    bottom: 11px;
    left: 0px;
    right: 0px;
}
.row.pictureBox {
    --bs-gutter-x: 0rem;
}
.picture {
    /*height: 200px;*/
    max-width: 350px;
    max-height: 200px;
    margin: 10px;
    /*border: 1px solid #191C1F;*/
    border-bottom: 6px solid #ffffff;/*#ffc800;*/
    transition: 0.2s;
    /*box-shadow: 0px 0px 3px 2px rgba(0,0,0,0);*/
}
.picture:hover {
    /*box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.5);/*0px 0px 3px 2px rgba(0,0,0,0.5);*/
    border-bottom-color: var(--c-red);
}
#showingIMG {
    transition: 0.3s;
    opacity: 0;
}

.showName {
    vertical-align: top;
    display: inline-block;
    margin-bottom: 50px;
    margin-left: 10px;
    margin-right: 10px;
}
.showName > div {
    text-align: center;
}

@media screen and (max-width: 1020px) {
    .picture {
        height: 155px;
    }
    
    #ShowBoxControl {
        right: 10px;
        top: 10px;
        font-size: 30px;
    }
    
    #Next, #Previous {
        /*top: 15%*/
        margin-top: -15px;
        padding-left: 1px;
        padding-right: 1px;
        font-size: 30px;
    }
    
    #Next {
        right: 0px;
        padding-right: 3px;
    }

    #Previous {
        left: 0px;
        padding-left: 3px;
    }
}
