
/*------------------------- HEADER -------------------------*/
/*-------------------- PRELOADER --------------------*/

.row-gallery {
  margin: -1.132%;
}

.gallery-item {
  padding: 1.132%;
}
.gallery-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  color: #fff;
}
.gallery-item a:before {
  content: "\f0a6";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.719);
  opacity: 0;
  z-index: 1;
  color: rgb(255, 0, 0);
  font-size: 30px;
  font-family: "FontAwesome";
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-transition: 0.4s ease;
}
.gallery-item a:after {
  content: "";
  position: absolute;
  width: 95%;
  height: 95%;
  left: 50%;
  top: 50%;
  opacity: 0;
  margin-top: 40px;
  transform: translate(-50%, -50%);
  border: 7px solid #f23849;
  transition: 0.4s ease-in-out;
  pointer-events: none;
  z-index: 3;
}
.gallery-item a img {
  display: block;
  width: 100%;
  max-width: 100%;
  position: relative;
  transition: 0.7s linear;
  object-fit: cover;
}
.gallery-item a:hover:before {
  opacity: 1;
}
.gallery-item a:hover:after {
  opacity: 1;
  margin-top: 0;
}
.gallery-item a:hover .gal-item {
  opacity: 0;
  transform: translateY(30px);
}
.gallery-item .gal-item {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    #000000 64%
  );
  padding: 20px 20px 15px 20px;
  transition: 0.4s ease;
}
.gallery-item .gal-item p {
  font-size: 14px;
}
.gallery-item .gal-item .title {
  text-transform: capitalize;
}

.grid-sizer,
.gallery-item {
  width: 25%;
}

/* --------------------- MEDIA ---------------------- */


@media (max-width: 1366px) {
  
}
@media (max-width: 1280px) {
  .crossfit-banner-right .text-bottom {
    font-size: 36px;
  }
  .crossfit-banner-right .text-top {
    font-size: 34px;
  }
  .crossfit-banner-right h2 {
    font-size: 6em;
  }

  .crossfit-banner-left {
    height: 450px;
    background-position: center;
  }

  .s-related-posts .post-item-cover .post-content,
  .s-related-posts .post-item-cover .post-footer {
    padding: 0 30px;
  }
}
@media (max-width: 1199px) {
 
  .gallery-item .gal-item p {
    font-size: 12px;
  }
  .gallery-item .gal-item .title {
    font-size: 16px;
  }


}

@media (max-width: 767px) {
  

  .grid-sizer,
  .gallery-item {
    width: 33.33%;
  }
}
@media (max-width: 575px) {
  

  .grid-sizer,
  .gallery-item {
    width: 100%;
  }

  .gallery-item .gal-item p {
    display: none;
  }

 

  .gallery-item .gal-item .title {
    font-size: 14px;
  }

 
}


