a{
  color: #000000;
  outline: none;
  cursor: pointer;
  outline: 0;
  text-decoration: none;
  -webkit-transition: all 0.5s ease-out 0s;
  -moz-transition: all 0.5s ease-out 0s;
  -ms-transition: all 0.5s ease-out 0s;
  -o-transition: all 0.5s ease-out 0s;
  transition: all 0.5s ease-out 0s;
}

a:focus {
  outline: none;
  box-shadow: none;
}

a:hover {
  color: #d4452e;
  text-decoration: none;
  -webkit-transition: all 0.5s ease-out 0s;
  -moz-transition: all 0.5s ease-out 0s;
  -ms-transition: all 0.5s ease-out 0s;
  -o-transition: all 0.5s ease-out 0s;
  transition: all 0.5s ease-out 0s;
}

ul,
ol {
  margin: 0px;
  padding: 0px;
}

li {
  list-style: none;
}

.our-work-box {
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
  -webkit-transition: all 0.5s ease-out 0s;
  -moz-transition: all 0.5s ease-out 0s;
  -ms-transition: all 0.5s ease-out 0s;
  -o-transition: all 0.5s ease-out 0s;
  transition: all 0.5s ease-out 0s;
}

.our-work-box img {
  height: 350px;
  width: 100%;
  object-fit: cover;
}

.our-work-box .our-work-content {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  /* height: 50%; */
  padding: 10px 10px;
  height: 70px;
  background: #efefef;
  text-align: center;
  -webkit-transition: all 0.5s ease-out 0s;
  -moz-transition: all 0.5s ease-out 0s;
  -ms-transition: all 0.5s ease-out 0s;
  -o-transition: all 0.5s ease-out 0s;
  transition: all 0.5s ease-out 0s;
}

.our-work-box:hover .our-work-content {
  bottom: 0;
  z-index: 11;
}

.our-work-box .our-work-content h4 {
  font-size: 16px;
  color: #000000;
}

.our-work-box .our-work-content p {
  color: #8b8a8e;
}

.gallery-inner-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  background: #ffffff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 100%;
  text-align: center;
}

.our-work-box:hover .gallery-inner-container {
  top: 30%;
}

.gallery-inner-container svg {
  width: 16px;
  height: 16px;
  position: relative;
  top: -2px;
  right: -1px;
}

/* our-work-section */


.catalog .media-extention.pdf {
  background-color: #d4452e;
}

.catalog .media-extention {
  position: absolute;
  top: 10%;
  right: -0.5rem;
  padding: .5rem 1rem;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.our-work-box .download {
  width: 100%;
  bottom: -30px;
  display: block;
  position: absolute;
  background: #313131;
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 5px 0;
  -webkit-transition: bottom .2s cubic-bezier(0.19, 0.26, 0.17, 0.99);
  -moz-transition: bottom .2s cubic-bezier(0.19, 0.26, 0.17, 0.99);
  -ms-transition: bottom .2s cubic-bezier(0.19, 0.26, 0.17, 0.99);
  transition: bottom .2s cubic-bezier(0.19, 0.26, 0.17, 0.99);
}

.our-work-box:hover .download {
  bottom: 0px;
}

.download {
  width: 100%;
  bottom: -30px;
  display: block;
  position: absolute;
  background: #ffc7c7;
  color: #000000;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 0;
  -webkit-transition: bottom .2s cubic-bezier(0.19, 0.26, 0.17, 0.99);
  -moz-transition: bottom .2s cubic-bezier(0.19, 0.26, 0.17, 0.99);
  -ms-transition: bottom .2s cubic-bezier(0.19, 0.26, 0.17, 0.99);
  transition: bottom .2s cubic-bezier(0.19, 0.26, 0.17, 0.99);
}

.download svg {
  width: 12px;
  height: 12px;
  margin-right: 6px;
}

.media-extention-pdf {
  font-size: 12px;
  font-weight: 500;
  color: #000000;
  position: absolute;
  top: 8px;
  right: 0;
  padding: 6px 12px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 5px;
  background-color: #ffc7c7;
}
figure.has-back-image {
    background: #f3f3f3;
    border: 1px solid #f3f3f3;
}
