.image-wrapper {
  position: relative;
  clear: both;
  margin-bottom: 30px;
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 100%;
}
.image-wrapper a:not(.bg-hover) {
  display:block;
  position:  absolute;
  top:  0;
  left:  0;
  bottom:  0;
  right: 0;
}

.image-wrapper img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit:  cover;
}
.image-title {
    position: absolute;
    bottom: 12px;
    left: 10px;
    z-index: 1;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    top: 0;
    font-weight: 700;
}
.image-wrapper:hover .image-title {
  opacity: 1
}
.image-hover {
     width: 100%;
     height: 100%;
     position: absolute;
     left: 0;
     right: 0;
     margin-left: auto;
     margin-right: auto;
     top: 0;
     opacity: 0;
}
.image-hover>img {
    display: block;
    -webkit-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    width: 47px;
    height: 47px;
    position: absolute;
    top: 50%;
    margin: 0 auto;
    left: 0;
    right: 0;
}
.image-hover i[class*=icon-] {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -20px 0 0 -20px;
  font-size: 42px;
  line-height: 42px;
  overflow: hidden;
  color: #fff;
  opacity: 0;
  -webkit-transition: opacity-color .5s ease;
  -moz-transition: opacity-color .5s ease;
  transition: opacity-color .5s ease
}
.fancybox-gallery:hover .image-hover {
    background-color: #000000;
    opacity: .65;
}
/* File */
.item-download {
    height: 150px;
    overflow: hidden;
    background-color: #f0f0f0;
    position: relative;
    margin-bottom: 20px;
}
.item-download .media {
    margin: 0;
    padding: 0;
    border: none;
}
.item-download .media-body {
    padding: 15px;
}
.list-download .media-heading {
    line-height: 17px;
    font-weight: bold;
}
.bottom-download {
    margin-bottom: 20px;
}
.item-download:before {
    right: 15%;
}
.item-download:after {
    right: 33%;
}
.item-download:before, .item-download:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 1px;
    background-color: #ddd;
    top: 0;
}
.file-download, .btn-download {
    text-align: center;
    margin-top: 50px;
}
.file-download .file-name {
    max-height: 35px;
    line-height: 17px;
    overflow: hidden;
}

/* Video */
#video-gallery .nh-video-item {
    padding-top: 56.6667%;
    width: 100%;
    position:  relative;
}
#video-gallery .nh-video-item .fancybox-gallery {
  position:  absolute;
  top: 0;
  left:  0;
  right:  0;
  bottom: 0;
  padding: 0;
}
.title-page {
    font-weight: bold;
    font-size: 20px;
    margin: 30px 0;
}
.box-project .image-wrapper {
    padding-top: 150%;
}
.example-image-link {
    width: 20%;
    float: left;
    position: relative;
    padding-top: 20%;
}
.example-image-link>a>img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 3px;
}
.content-image {
    max-width: 900px;
    margin: 30px auto 0;
}
.content-detail {
    margin-bottom: 50px;
    float: left;
    width: 100%;
}
.image-wrapper:hover .bg-hover .image-hover {
    opacity: 1;
    background: rgb(0 0 0 / 0.5);
}
.image-wrapper:hover .bg-hover .image-title {
    opacity: 1;
}
@media(min-width:1024px){
    .box-project .light-gallery:nth-child(5), .box-project .light-gallery:nth-child(6) , .box-project .light-gallery:nth-child(8){
        width: 66.6666667%;
    }
    .box-project .light-gallery:nth-child(5) .image-wrapper, .box-project .light-gallery:nth-child(6) .image-wrapper, .box-project .light-gallery:nth-child(8) .image-wrapper {
        padding-top: 72%;
    }
    
}
@media(max-width:992px){
  .image-title {
      opacity: 1;
      position: relative;
      color: #333;
      bottom: unset;
      padding: 0;
  }
  a.bg-hover {
      float: left;
      margin: 5px 0 35px;
  }
}