.jamoji-element-gallerybox-styleone .ttm-gallerybox-image {
    width: 100%;
}

.jamoji-element-gallerybox-styleone .ttm-gallerybox-wrapper{
    border-radius: var(--border-radius-box);
    overflow: hidden;
    background-color: var(--ttm-bordercolor);
}

.jamoji-element-gallerybox-styleone .ttm-gallerybox-content-wrap{
    display: none;
}
 

.jamoji-element-gallerybox-styleone .ttm-gallerybox-wrapper img,
.jamoji-element-gallerybox-styleone .ttm-gallerybox-wrapper .ttm-gallerybox-media{
    max-height: 319px;
    object-fit: cover;
}

.jamoji-element-gallerybox-styleone .ttm-gallerybox-wrapper .ttm-gallerybox-media video,
.jamoji-element-gallerybox-styleone .ttm-gallerybox-wrapper img{
    aspect-ratio: 16/9;
    object-fit: cover;
}

.jamoji-element-gallerybox-styletwo .ttm-gallerybox-icon-link svg {
    height: 56px;
    width: 56px;
    transition: inherit;
}

.jamoji-element-gallerybox-styletwo .ttm-gallerybox-icon-link i {
    font-size: 19px;
    transition: inherit;
}

 
.jamoji-element-gallerybox-styletwo .ttm-gallerybox-icon-link{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    height: 50px;
    width: 50px;
}
.jamoji-element-gallerybox-styletwo .ttm-gallerybox-content{
    width: fit-content !important;
    height: fit-content !important;
} 

.jamoji-element-gallerybox-styletwo .ttm-gallerybox-content-wrap{
    padding: 15px;
    border-radius: 100%;
    background-color: var(--ttm-greycolor);
    position: absolute;
    top: 50%;
    left: 50%;
    transform:  translate(-50%, -50%) scale(0);
    z-index: 1;
    transition: all .3s ease-in-out;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jamoji-element-gallerybox-styletwo .ttm-gallerybox-wrapper{
    position: relative;
    z-index: 1;
}


.jamoji-element-gallerybox-styletwo .ttm-gallerybox-wrapper::before{
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0,.5);
    transition: all .3s ease-in-out;
    opacity: 0;
}

.jamoji-element-gallerybox-styletwo .ttm-gallerybox-wrapper:hover::before{
    opacity: 1;
}

.jamoji-element-gallerybox-styletwo .ttm-gallerybox-wrapper:hover .ttm-gallerybox-content-wrap{
    transform: translate(-50%, -50%)  scale(1);
}

.jamoji-element-gallerybox-styletwo .ttm-gallerybox-wrapper .ttm-gallerybox-content-wrap:hover{
    background-color: var(--ttm-skincolor);
}

.jamoji-element-gallerybox-styletwo .ttm-gallerybox-icon-link:hover i,
.jamoji-element-gallerybox-styletwo .ttm-gallerybox-icon-link:hover svg {
    color: var(--ttm-secondarycolor);
    fill: var(--ttm-secondarycolor);
    transform: scale(1.1);
}

.jamoji-element-gallerybox-styletwo .ttm-gallerybox-video video {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
}

.jamoji-element-gallerybox-styletwo  .ttm-gallerybox-wrapper{
    overflow: hidden;
}
 

/* gallery page */


.ttm-gallery-radius .jamoji-element-gallerybox-styleone  .ttm-gallerybox-wrapper {
    border-radius: 999px 999px 0 0 !important;
}
 
.ttm-gallery-radius .jamoji-element-gallerybox-styleone  .ttm-gallerybox-wrapper:hover  .ttm-gallerybox-image-link img,
.ttm-gallery-radius .jamoji-element-gallerybox-styleone  .ttm-gallerybox-wrapper:hover  .ttm-gallary-lightbox-link img{
    scale: 1.1 !important;
}

.ttm-gallery-radius .jamoji-element-gallerybox-styleone  .ttm-gallerybox-wrapper img,
.ttm-gallery-radius .jamoji-element-gallerybox-styleone  .ttm-gallerybox-wrapper video{
    transition: all .3s ease-in-out;
    aspect-ratio: 1/1;
    object-fit: cover;
    max-height: unset;
}

.jamoji-element-gallerybox-styletwo  .ttm-gallerybox-wrapper img,
.jamoji-element-gallerybox-styletwo  .ttm-gallerybox-wrapper video{
    transition: all .3s ease-in-out;
    aspect-ratio: 1/1;
    object-fit: cover;
    max-height: unset;
}