.form-check-custom {
    display: flex;
    flex: 1;
}

.custom_switch input {
    position: relative ;
    flex: 1;
}

.custom_switch span {
    position: relative;
    flex: 1;
    display: inline-block;
    padding-left: 5rem;
}

.gallery-filter ul {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .gallery-filter ul .filter-item {
    line-height: 46px;
    text-transform: capitalize;
    cursor: pointer;
    color: #282828 !important;
    font-weight: 600;
    border-radius: 0;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    padding: 0.7rem 0;
    margin-right: 1.5rem;
  }
  .gallery-filter ul .filter-item:hover {
    color: #195a2b !important;
    border-bottom: 2px solid #195a2b;
  }
  .gallery-filter ul .filter-item.current {
    color: #195a2b !important;
    border-bottom: 2px solid #195a2b;
  }
  
  .gallery-box {
    overflow: hidden;
    position: relative;
    padding: 0;
    border-radius: 3px;
    margin-bottom: 30px;
    transition: transform 0.8s;
  }
  .gallery-box .gallery-preview {
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  .gallery-box .gallery-preview img {
    transition: all 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  .gallery-box .gallery-preview:after {
    content: " ";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0;
    transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1);
  }
  .gallery-box .gallery-content {
    opacity: 0;
    color: #ffffff;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    overflow: hidden;
    transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1);
  }
  .gallery-box .gallery-content p {
    margin-bottom: 0;
    color: #ccc;
    font-size: 15px;
  }
  .gallery-box .gallery-content h5 {
    margin-bottom: 0;
    margin-top: 5px;
  }
  .gallery-box .gallery-content h5 a {
    font-size: 18px;
    color: #ffffff;
  }
  .gallery-box:hover {
    transform: scale(1.1);
  }
  .gallery-box:hover .gallery-preview img {
    transform: scale(1.1);
  }
  .gallery-box:hover .gallery-preview:after {
    background: rgba(110, 129, 220, 0.8);
  }
  .gallery-box:hover .gallery-content {
    transform: translateY(-100%);
    z-index: 3;
    opacity: 1;
  }