.gallery {
    /*width: 100%;*/
    /*!*height: 50%;*!*/
    width: 60%;
    height: 80%;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*background-color: #fff;*/
    padding: 20px;
    z-index: 9999;
}

.gallery-container {
    align-items: center;
    display: flex;
    height: 100%;
    /*height: 100%;*/
    margin: 0 auto;
    /*max-width: 1000px;*/
    position: relative
}

.gallery-item {
    height: 20%;
    opacity: .4;
    position: absolute;
    transition: all .3s ease-in-out;
    width: 20%;
    z-index: 0;
    display: grid;
    align-content: center;
}

.gallery-item-img {
    /*width: 100%;*/
    /*height: 100%;*/
    object-fit: contain;
}

.gallery-item.gallery-item-selected {
    /*box-shadow: 0 0 30px rgba(255, 255, 255, .6), 0 0 60px rgba(255, 255, 255, .45), 0 0 110px rgba(255, 255, 255, .25), 0 0 100px rgba(255, 255, 255, .1);*/
    height: 75%;
    opacity: 1;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    z-index: 2
}

.gallery-item.gallery-item-previous, .gallery-item.gallery-item-next {
    height: 50%;
    opacity: 1;
    width: 50%;
    z-index: 1
}

.gallery-item.gallery-item-previous {
    left: 30%;
    transform: translateX(-50%)
}

.gallery-item.gallery-item-next {
    left: 70%;
    transform: translateX(-50%)
}

.gallery-item.gallery-item-first {
    left: 15%;
    transform: translateX(-50%)
}

.gallery-item.gallery-item-last {
    left: 85%;
    transform: translateX(-50%)
}

.gallery-controls {
    display: flex;
    justify-content: center;
    /*margin: 30px 0*/
}

.gallery-controls button {
    width: 15%;
    border: 0;
    cursor: pointer;
    font-size: 16px;
    margin: 0 20px;
    padding: 0 12px;
    text-transform: capitalize
}

.gallery-controls button:focus {
    outline: none
}

.gallery-controls button {
    width: 30%;
    padding: 1.5%;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: #000;
    background-color: #fff;
    border: none;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
}

.gallery-controls button:hover {
    background-color: #23c483;
    box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
    color: #fff;
    transform: translateY(-7px);
}

.gallery-controls button:active {
    transform: translateY(-1px);
}


/*.gallery-controls-previous {*/
/*    position: relative*/
/*}*/

/*.gallery-controls-previous::before {*/
/*    border: solid #000;*/
/*    border-width: 0 2px 2px 0;*/
/*    content: '';*/
/*    display: inline-block;*/
/*    height: 4px;*/
/*    !*left: -10px;*!*/
/*    left: -20%;*/
/*    padding: 2px;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    transform: rotate(135deg) translateY(-50%);*/
/*    transition: left .15s ease-in-out;*/
/*    width: 4px*/
/*}*/

/*.gallery-controls-previous:hover::before {*/
/*    !*left: -18px*!*/
/*    left: -40%*/
/*}*/

/*.gallery-controls-next {*/
/*    position: relative*/
/*}*/

/*.gallery-controls-next::before {*/
/*    border: solid #000;*/
/*    border-width: 0 2px 2px 0;*/
/*    content: '';*/
/*    display: inline-block;*/
/*    height: 4px;*/
/*    padding: 2px;*/
/*    position: absolute;*/
/*    !*right: -10px;*!*/
/*    right: -20%;*/
/*    top: 50%;*/
/*    transform: rotate(-45deg) translateY(-50%);*/
/*    transition: right .15s ease-in-out;*/
/*    width: 4px*/
/*}*/

/*.gallery-controls-next:hover::before {*/
/*    !*right: -18px*!*/
/*    right: -40%;*/
/*}*/

.gallery-nav {
    bottom: -15px;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    position: absolute;
    width: 100%
}

.gallery-nav li {
    background: #ccc;
    border-radius: 50%;
    height: 10px;
    margin: 0 16px;
    width: 10px
}

.gallery-nav li.gallery-item-selected {
    background: #555
}