.main .container{
    margin-top: 15rem;
}
.video-box {
    display: grid;
    grid-template-columns: repeat(1, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 10rem;
}


.video-box-item {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-box-item .video-box-item-details {
    position: absolute;
    bottom: 1rem;
    right: 0;
    width: 100%;
    z-index: 111;
    color: #fff;
}

.video-box-item .video-box-item-details .video-detail {
    background-color: rgba(12, 12, 12, 0.73);
    padding: .1rem .7rem;
    border-radius: .7rem;
}


.video-box-item video {
    width: 100%;
    height: 100%;
}

/*.video-box-item:before {*/
/*    content: "";*/
/*    background-image: url("/_template/new/erp-redesign-front/assets/img/bg3-.jpg");*/
/*    background-size: cover;*/
/*    background-repeat: no-repeat;*/
/*    position: absolute;*/
/*    right: 0;*/
/*    top: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: 11;*/
/*    filter: brightness(95%);*/
/*}*/

.video-box-item:after {
    content: "\f144";
    text-shadow: 0px 2px 2px black;
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    font-size: 6rem;
    color: #fff;
    z-index: 111;
    font-family: "FA";
}

.bg-none {
    background-color: transparent !important;
    box-shadow: unset !important;
    border: unset !important;
}

.video-list-box {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    background-color: #f2f2f2;
    max-height: 367px;
    overflow-y: auto;
    width: 100%;
}

.video-list-box::-webkit-scrollbar {
    width: .4em;
}

.video-list-box::-webkit-scrollbar,
.video-list-box::-webkit-scrollbar-thumb {
    overflow: visible;
    border-radius: 4px;
}

.video-list-box::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .2);
}


.video-list-box .video-list-img {
    aspect-ratio: 16/9;
    width: 100px;
}

.video-list-box-hedaer {
    position: -webkit-sticky;
    background-color: #f2f2f2;
    position: sticky;
    top: 0;
    right: -11px;
    left: 0;
    width: 100% !important;
    box-shadow: 0px -8px 13px black;
    padding: 1rem;
}

.video-list-box-hedaer button:hover {
    background-color: #797979;
    color: #fff;
    border-radius: 10rem;
}

.video-list-box-hedaer button {
    border-radius: 10rem;
    transition: .15s ease-in;
}

.video-list-box-hedaer button.active {
    background-color: #797979;
    color: #fff;
    border-radius: 10rem;
}

.video-list-item.active {
    background-color: #9595955e;
}

.video-list-item.active .active-play span {
    display: none;
}

.video-list-item.active .active-play i {
    display: block;
    font-size: 0.95rem !important;
}

.video-list-item .active-play i {
    display: none;
}


#videoModal .video-creator {
    background-color: #e1e1e1;
}

#videoModal .video-detail {
    background-color: #f2f2f2;
}

#videoModal .plyr {
    border-radius: 1rem;

}

#videoModal {
    overflow-y: auto;
}

#videoModal .modal-dialog {
    margin-bottom: 14rem;
}

.video-list-btn a {
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 5rem;
}

.video-next, .video-prev {
    font-size: 3rem;
    z-index: 1111;
    top: 0;
}


@media (min-width: 0px) {
    #videoModal .plyr {
        position: sticky;
        top: 2rem;
    }

    #videoModal .video-creator {
        position: sticky;
        top: 29rem;
    }

    .video-next {
        right: 0;
    }

    .video-prev {
        left: 0;
    }

}


@media (min-width: 576px) {

    #videoModal .plyr {
        position: relative;
        top: unset !important;
    }

    #videoModal .video-creator {
        position: unset !important;
        top: unset !important;
    }

    .video-list-btn a {
        padding: 1rem 1.5rem;
    }

    .video-box {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    #videoModal .modal-dialog {
        width: 90%;
    }


}

@media (min-width: 768px) {

    .video-box {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
        gap: 2rem;
    }

}

@media (min-width: 992px) {
    .video-next, .video-prev {
        top: 50%;
        transform: translateY(50%);
        position: absolute;

    }

    .video-next {
        right: -2rem;
    }

    .video-prev {
        left: -2rem;
    }

    .video-next {
        right: -5rem;
    }

    .video-prev {
        left: -5rem;
    }

    .video-list-box {
        max-width: 38rem;
    }

    .video-box {
        grid-template-columns: repeat(4, minmax(100px, 1fr));
    }

}

@media (min-width: 1200px) {
    .video-next {
        right: -7rem;
    }

    .video-prev {
        left: -7rem;
    }


    .video-box {
        grid-template-columns: repeat(5, minmax(100px, 1fr));
    }

    #videoModal .modal-dialog {
        width: 1000px;
    }


}

.plyr button, .plyr input, .plyr optgroup, .plyr select, .plyr textarea {
    direction: unset !important;
}


.gallery-filter {
    position: absolute;
    top: -49px;
    right: 50%;
    transform: translateX(50%);
    background-color: #f1f1f5a3;
    border-radius: var(--border-lg);
    z-index: 112;
    box-shadow: var(--mainshadow);
    backdrop-filter: saturate(180%) blur(20px);
}


.gallery-filter button {
    background-color: #fff4;
    border-radius: 100%;
    outline: none;
    border: none;
    font-size: 2.5rem;
    padding: 0;
    text-align: center;
    margin: auto;
    box-shadow: var(--mainshadow);
    transition: .25s ease-in-out;
}

.gallery-filter span {
    transition: .25s ease-in-out;
    bottom: -2rem;
    position: absolute;
    white-space: nowrap;
    right: 50%;
    transform: translateX(50%);
    text-align: center;
}

.gallery-filter button:hover {
    background-color: #fff8;
}

.gallery-filter .active ~ span {
    bottom: -5rem;
    opacity: 1;
    color: #fff;
    background-color: var(--blackgray);
    padding: 1rem;
    border-radius: 1rem;
    font-weight: 600;
}

.gallery-filter .active {
    background-color: #fff;
}

.gallery-filter i {
    padding: 2rem;
}


.gallery-filter div {
    display: flex;
    flex-direction: column;
}

#videoModal video{
    max-width: 100%;
    min-width: 100%;
    width: 100%;
}

@media (min-width: 0px) {
    .gallery-filter span {
        color: #fff;
        bottom: -4rem;
    }

    .gallery-filter button {
        width: 5rem;
        height: 5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .gallery-filter {
        padding: 2rem 3.5rem;
    }

    .gallery-filter span {
        font-size: 1.2rem;
        background: #00000036;
        padding: .5rem;
        border-radius: 1rem;
    }
    .next-gallery-pg,.prev-gallery-pg{
        top: 3rem;
        font-size: 2rem;
    }

    .next-gallery-pg{
        right: -7px;
    }

    .prev-gallery-pg{
        left: -7px;
    }

}

@media only screen and (min-width: 300px) {


    .gallery-filter i {
        padding: 1rem;
    }


}

@media only screen and (min-width: 380px) {

    .gallery-filter i {
        padding: 1rem;
    }
}

@media only screen and (min-width: 480px) {
    .gallery-filter span {
        font-size: 1.5rem;
    }

    .gallery-filter {
        gap: 4rem;
    }
}

@media only screen and (min-width: 576px) {

    .gallery-filter span {
        opacity: 0;
    }

    .gallery-filter button:hover ~ span {
        opacity: 1;
        color: #fff;
        bottom: -5rem;
    }

    .gallery-filter {
        padding: 2rem 6rem;
    }

    .gallery-filter button {
        width: 7rem;
        height: 7rem;
    }
    .next-gallery-pg,.prev-gallery-pg{
        top: 3.5rem;
        font-size: 2rem;
    }

    .next-gallery-pg{
        right: 0px;
    }

    .prev-gallery-pg{
        left: 0px;
    }


}


