
.htmega-video-gallery-filter-wrapper{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0!important;
  }
  .htmega-video-gallery-filter-wrapper .htmega-flex-column{
    flex: 0 0 33.333%;
    max-width: 33.333%;
    /* padding-left:10px;
    padding-right:10px; */
    width: 33.333%;
  }
.htmega-video-gallery-items-wrapper {
    margin: -10px;
}
/* Filter Menu */
.htmega-video-gallery-filter-menu {
    margin-bottom: 23px;
}

.htmega-video-gallery-filter-menu button {
    color: #333333;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    margin: 0  0 0 15px;
    position: relative;
    padding: 0;
    text-transform: capitalize;
    position: relative;
    outline: none;
    background:transparent;
    border: none;
}
.htmega-video-gallery-filter-menu button:first-child {
    margin-left: 0;
}


.htmega-video-gallery-filter-menu button.is-checked {
    color: #D43A6B;
}

.htmega-video-gallery-filter-menu button:focus {
    outline: none;
}
.htmega-video-gallery-filter-item{
    width: 20%;
}
.mfp-content{
    max-width: 800px; /* Adjust this value to your desired width */
    margin: auto;
}

.mfp-image-holder .mfp-close, 
.mfp-iframe-holder .mfp-close{
  width: auto !important;
  border: none;
}
.mfp-image-holder .mfp-close:hover, 
.mfp-iframe-holder .mfp-close:hover{
    background:transparent;
}
.htmega-video-gallery-item {
    position: relative;
    line-height: 0;
    overflow: hidden;
}
a.htmega-video-popup-link {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    color: red;
    font-size: 60px;
    line-height: 0;
    transition: all 0.3s ease-in-out;
    z-index: 2;
}
.htmega-video-popup-link svg {
    width: 60px;
}

.htmega-video-gallery-caption .htmega-video-title {
    font-size: 16px;
    margin: 0;
    color: #444;
    margin-top: 15px;
    display: inline-block;
}
.htmega-video-gallery-caption .htmega-video-description {
    font-size: 15px;
    margin: 0;
    color: #444;
    line-height: 28px;
}
.htmega-video-gallery-thumbnail {
    position: relative;
    overflow: hidden;
}
.htmega-video-gallery-thumbnail::after {
	background: #0000002e;
	position: absolute;
	content: '';
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	z-index: 0;
}
.htmega-video-gallery-button-onhover-yes .htmega-video-popup-link {
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.htmega-video-gallery-button-onhover-yes .htmega-video-gallery-thumbnail:hover .htmega-video-popup-link {
    opacity: 1;
}