#lbt-headertop,
#lbt-thumbnails {
    color: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: .3s
}

.lb-thumbnail-wrapper,
.lt-thumbnail-wrapper {
    /* background:rgb(33 37 44 / 88%); */
    left: 0;
    overflow: hidden;
    right: 0
}

.lbr-ToFixed {
    overflow-y: hidden
}

#lbt-loading {
    width: 100px;
    height: 100px;
    margin: 20px;
    display: inline-block;
    z-index: 9;
    top: calc(50% - 50px);
    transform: translate(0, -50%);
    position: fixed
}

#lbt-lightbox_imgs {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(31, 35, 42, .8);
    z-index: 9999
}

#lbt-lightbox-media>* {
    max-height: calc(100% - 225px);
    top: calc(50% - 50px);
    transform: translate(-50%, -50%);
    position: fixed;
    object-fit: cover;
    max-width: 70vw
}

#lbt-lightbox-media>.lbt-iframe-video {
    width: 100%;
    aspect-ratio: 16/9
}

#lbt-headertop {
    display: flex;
    width: 100%;
    height: 60px;
    position: relative;
    float: left;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

#lbt-thumbnails {
    display: flex;
    height: 130px !important;
    position: -webkit-sticky;
    position: sticky;
    align-items: center;
    justify-content: center
}

#lbt-thumbnails li {
    justify-content: flex-start
}

.lb-thumbnail-wrapper {
    position: absolute;
    bottom: 0
}

.lt-thumbnail-wrapper {
    position: absolute;
    top: 0
}

ul li img.lbr-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: .9;
    transition: opacity .2s;
    border: 6px solid #515e66;
    margin-right: 7px
}

ul li img.lbr-thumb.active {
    border: 6px solid #ffffff;
    opacity: 1
}

#lbt_next,
#lbt_previous {
    margin-top: 0;
    font-size: 40pt;
    background: #262a31;
    border-radius: 50%;
    z-index: 1;
    color: #fff;
    top: 50%;
    cursor: pointer
}

#lbt-close_lightbox {
    position: absolute;
    right: 20px;
    top: 30px;
    cursor: pointer
}

.lbt-image-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0
}

#lbt_next,
#lbt_previous,
#lbt_videoplayer #captions.active,
#lbt_videoplayer #settings.active {
    display: block
}

#lbt_next {
    position: absolute;
    right: 10px;
    width: 37px;
    padding-left: 25px
}

#lbt_previous {
    position: absolute;
    left: 10px;
    width: 40px;
    padding-left: 20px
}

video::cue {
    opacity: 0
}

#lbt_videoplayer {
    overflow: hidden
}

.box {
    box-sizing: padding-box;
    /*width: 22%;*/
    float: left;
    margin-bottom: 20px;
    /* box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5), 1px 1px 10px 1px rgba(0, 0, 0, 0.3); */
    opacity: 0.7;
}

#gallery .box:hover {
    opacity: 1;
    transition: transform 0.5s ease-in-out;
    z-index: 999999;
    /* transform: scale(1.05); */
}


@keyframes animate {
    0% {
        transform: translate(-50%, -50%) rotate(0)
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

#lbt_videoplayer .lbt_videoControls.active {
    transform: translateY(0)
}

@media (max-width:430px) {
    .container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center
    }

    .lbt_videoControls .icon {
        margin-left: 5px;
        margin-right: 5px;
        font-size: 24px
    }

    .lbt_fastForward,
    .lbt_videoAutoPlay,
    .lbt_videoPip,
    .lbt_videoVolume,
    .lbt_videoVolumeRange {
        display: none
    }
}

/*========--------- Responsive -------==========*/
@media(min-width: 668px) and (max-width: 1500px) {
    img.lbr-thumb {
        height: 100px !important;
        width: 150px !important;
    }
}
@media(max-width: 400px) {
  #lbt_next{
    display: none !important;
  }
  #lbt_previous{
    display: none !important;
  }
}

@media(max-width:830px) {
    .box {
        width: 29%;
    }
}

@media(max-width:637px) {
    .box {
        width: 42%;
    }
}

@media(max-width:450px) {
    #lbt_previous{
        display: none;
    }
    .box {
        width: 100%;
    }
}


.lead {
    font-size: 1.5rem;
    font-weight: 300;
}

/*.container {*/
/*    margin: 30px auto;*/
/*    max-width: 960px;*/
/*    text-align: center;*/
/*}*/