.wvgl-main-container {
  float: left;
  width: 100%;
  position: relative;
  display: block;
}

.wvgl-main-container:before{
  z-index: 9;
}

.wvgl-main-container.wvgl-loader{
  pointer-events: none;
  opacity: 0.6;
}


.wvgl-container {
  width: 100%;
  position: relative;
}

.wvgl-row {
  display: flex;
  flex-wrap: wrap; /* Important for wrapping images to the next line */
  width: 100%; /* Or a specific width */
}

.wvgl-image-container {
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.wvgl-image-container img{
	width: 100%;
  max-width: 100%; /* Prevent images from overflowing their containers */
  height: auto;   /* Maintain aspect ratio */
  display: block; /* Prevents small vertical spacing issues below images */
}

.wvgl-image-50 {
  width: 50%;
}

.wvgl-image-33 {
  width: 33.33%;
}

.wvgl-image-100 {
  width: 100%;
}

.wvgl-image-container.has-video div.wvgl-image-wrapper{
    position: relative;
    /* display: block; */
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* flex-direction: row; */
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: flex;
    /* flex-direction: row; */
    justify-content: center;
    align-items: center;
}

.wvgl-image-container.has-video div.wvgl-image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.2;
    margin: 0;
    padding: 0;
    z-index: 9;
}

.wvgl-image-container.has-video div.wvgl-image-wrapper::after {
    /* content: "\F236"; */
    content: "\f148";
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
    position: absolute;
    font-family: dashicons;
    background-color: transparent;
    font-size: 30px;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1;
    z-index: 9;
}


/* Responsive Styles */
.wvgl-for-small{
  display: none;
}

@media screen and (max-width: 900px){
  .wvgl-for-desktop{
    display: none;
  }
  .wvgl-for-small{
    display: block;
  }
}

/* Mobile Slider Styles  */

.wvgl-small-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto 1.618em;
}

.wvgl-small-container ul.slides{
  margin: 0 !important;
}

.wvgl-small-container ul.slides li > a img{
  margin: 0 !important;
  width: 100%;
}

.wvgl-small-container ul.slides, 
.wvgl-small-container ul.slides > li, 
.wvgl-small-container .flex-control-nav, 
.wvgl-small-container .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wvgl-small-container .flex-control-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.wvgl-small-container .flex-control-nav {
    text-align: center;
    padding: 5px;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.wvgl-small-container .flex-control-nav li {
  display: inline-block;
}

.wvgl-small-container .flex-control-nav a {
  display: block;
  background-color: rgba(255, 255, 255, 0.5); /* Default bullet color */
  border-radius: 50%; /* Makes it a circle */
  text-indent: -9999px; /* Hides the number text */
  cursor: pointer;
}

.wvgl-small-container .flex-control-nav a.flex-active {
  background-color: #ffffff; /* Active bullet color */
}

/* YITH Badge Support */
.wvgl-image-wrapper{
  position: relative;
  display: block;
}
/*.wvgl-image-container .container-image-and-badge {
    position: relative !important;
    display: block !important;
}*/

/*.wvgl-small-container .flex-direction-nav .flex-prev {
    left: -50px;
    text-align: left;
}

.wvgl-small-container .flex-direction-nav  .flex-next {
    right: -50px;
    text-align: right;
}

.wvgl-small-container .flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 40px;
    height: 40px;
    margin: -20px 0 0;
    position: absolute;
    top: 50%;
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.wvgl-small-container .flex-direction-nav a:before {
    font-size: 25px;
    display: inline-block;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.wvgl-small-container .flex-direction-nav a.flex-prev:before {
  content: '\2190';
}

.wvgl-small-container .flex-direction-nav a.flex-next:before {
  content: '\2192';
}

.wvgl-small-container:hover .flex-direction-nav .flex-prev {
    opacity: 0.7;
    left: 10px;
}

.wvgl-small-container:hover .flex-direction-nav .flex-next {
    opacity: 0.7;
    right: 10px;
}*/