/* Defaults */
body {
  background: #f9f9f9;
  color: #465665;
}

a {
  color: #5b7083;
  transition: all .25s ease-in-out;
}

/* The title */
.title {
  font-weight: 700;
}

/* The description */
.desc {
  font-size: 1em;
  font-style: italic;
  font-family: Georgia, serif;
}

/* Text-centering */
.title,
.desc,
.intro {
  text-align: center;
}

/* Intro section */
.intro {
  margin: 1.75em 0 .75em;
  border-bottom: 3px double rgba(0, 0, 0, 0.05);
  margin-bottom: 1.75em;
}

.intro a {
  opacity: .7;
}

.intro a:hover {
  opacity: 1;
}

.intro h3 {
  font-size: .825em;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin: .25em .75em .75em;
}

.intro h3 a {
  font-weight: 400;
}

/* Masonry grid */
.masonry {
  transition: all .5s ease-in-out;
  column-gap: 15px;
  column-fill: initial;
}

/* Masonry item */
.masonry .brick {
  margin-bottom: 15px;
  display: inline-block; /* Fix the misalignment of items */
  vertical-align: top; /* Keep the item on the very top */
  border-radius: 20px;
}

/* Masonry image effects */
.masonry .brick img {
  transition: all .5s ease-in-out;
  backface-visibility: hidden; /* Remove Image flickering on hover */
  border-radius: 20px;
}

.masonry .brick:hover::after{
    content: '';
    background-image: url('../images/gallery/zoom_icon.png');
    background-size: 60px;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    width: 100%;
    z-index: 9;
    background-color: #4e7f83a3;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
}

/* Bordered masonry */
.masonry.bordered {
  column-rule: 1px solid #eee;
  column-gap: 50px;
}

.masonry.bordered .brick {
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
}

/* Gutterless masonry */
.masonry.gutterless {
  column-gap: 0;
}

.masonry.gutterless .brick {
  margin-bottom: 0;
}

/* Masonry on tablets */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .masonry {
    column-count: 2;
  }
}

/* Masonry on big screens */
@media only screen and (min-width: 1024px) {
  .desc {
    font-size: 1.25em;
  }

  .intro {
    letter-spacing: 1px;
  }

  .masonry {
    column-count: 3;
  }
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 1.8rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.video-play-button img {
    width: 100%;
    height: 100%;
    position: relative;
    left: 4px;  
}

.slider-video {
    width: 100%;
    height: auto;
    display: block;
}


.video-thumb {
    position: relative;
    cursor: pointer;
}
.video-thumb img {
    width: 100%;
    display: block;
}
.video-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    color: white;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 10px 15px;
}

.on_thumbnail {
    width: 70px;
    height: 70px;
    padding: 19px;  
}

.on_thumbnail img {
  border-radius: 0 !important;
}


.filter_tabs {
  margin-bottom: 3rem;
}

.filter_tabs ul {
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  list-style: none;
}

.filter_tabs ul li a {
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: .4s ease-in-out;
  background: transparent;
}

.filter_tabs ul li a:hover {
  background: transparent linear-gradient(125deg, #4CB8C4 0%, #3CD3AD 100%);
}

.filter_tabs ul li .active {
  background: transparent linear-gradient(125deg, #4CB8C4 0%, #3CD3AD 100%);
}