/** gallery-section **/

.gallery-section{
  position: relative;
}

.gallery-section .items-container{
  margin: 0 -15px;
}

.gallery-section .masonry-item{
  float: left;
  padding: 0 15px;
  margin-bottom: 30px;
}

.gallery-block-one{
  position: relative;
  display: block;
  width: 100%;
}

.gallery-block-one .inner-box{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 500ms ease;
}

.gallery-block-one .inner-box:hover{
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transform: translateY(-5px);
}

.gallery-block-one .inner-box .image-box{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.gallery-block-one .inner-box .image-box img{
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  transition: all 500ms ease;
}

.gallery-block-one .inner-box:hover .image-box img{
  transform: scale(1.05);
}

.gallery-block-one .inner-box .content-box{
  position: relative;
  padding: 20px;
  background: #fff;
  border-radius: 0 0 10px 10px;
}

.gallery-block-one .inner-box .content-box span{
  position: relative;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #ff6b35;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.gallery-block-one .inner-box .content-box h3{
  position: relative;
  display: block;
  font-size: 18px;
  line-height: 28px;
  color: #222;
  font-weight: 600;
  margin-bottom: 8px;
  transition: all 500ms ease;
}

.gallery-block-one .inner-box:hover .content-box h3{
  color: #ff6b35;
}

.gallery-block-one .inner-box .content-box p{
  position: relative;
  font-size: 14px;
  line-height: 24px;
  color: #777;
  margin: 0;
}

/* Video and View Buttons */
.gallery-block-one .inner-box .video-btn,
.gallery-block-one .inner-box .view-btn{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background: rgba(255,107,53,0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 500ms ease;
  z-index: 2;
}

.gallery-block-one .inner-box:hover .video-btn,
.gallery-block-one .inner-box:hover .view-btn{
  transform: translate(-50%, -50%) scale(1);
}

.gallery-block-one .inner-box .video-btn a,
.gallery-block-one .inner-box .view-btn a{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 20px;
  line-height: 60px;
  transition: all 500ms ease;
}

.gallery-block-one .inner-box .video-btn a:hover,
.gallery-block-one .inner-box .view-btn a:hover{
  background: rgba(255,107,53,1);
  border-radius: 50%;
}

/* Video Block Specific Styles */
.gallery-block-one.video-block .inner-box .image-box::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
  opacity: 0;
  transition: all 500ms ease;
}

.gallery-block-one.video-block .inner-box:hover .image-box::before{
  opacity: 1;
}

/* Isotope Filter Styles */
.sortable-masonry .filters{
  position: relative;
  text-align: center;
}

.sortable-masonry .filters .filter-tabs{
  position: relative;
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sortable-masonry .filters .filter-tabs li{
  position: relative;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #777;
  line-height: 30px;
  text-transform: capitalize;
  margin: 0 20px 10px 0;
  padding: 8px 20px;
  border: 2px solid #e5e5e5;
  border-radius: 30px;
  cursor: pointer;
  transition: all 500ms ease;
}

.sortable-masonry .filters .filter-tabs li:hover,
.sortable-masonry .filters .filter-tabs li.active{
  color: #fff;
  background: #ff6b35;
  border-color: #ff6b35;
}

/* Responsive Styles */
@media only screen and (max-width: 767px){
  .gallery-block-one .inner-box .image-box img{
    height: 200px;
  }
  
  .gallery-block-one .inner-box .content-box{
    padding: 15px;
  }
  
  .gallery-block-one .inner-box .content-box h3{
    font-size: 16px;
    line-height: 24px;
  }
  
  .sortable-masonry .filters .filter-tabs li{
    font-size: 14px;
    margin: 0 10px 10px 0;
    padding: 6px 15px;
  }
}

@media only screen and (max-width: 480px){
  .gallery-block-one .inner-box .image-box img{
    height: 180px;
  }
  
  .sortable-masonry .filters .filter-tabs li{
    font-size: 12px;
    margin: 0 5px 8px 0;
    padding: 5px 12px;
  }
}