.hackbox-with-video {
  max-width: 400px;
  margin: auto;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-color: #ececec;
}
.hackbox-with-video img {
  height: 100%;
  width: 100%;
  display: block;
}
.hackbox-with-video .play-video {
  position: absolute;
  left: 0;
  width: 100%;
  background-color: transparent;
  height: 100%;
  display: block;
  border: 0;
  top: 0;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 15;
  padding: 0;
}
.hackbox-with-video .play-video:before, .hackbox-with-video .play-video:after {
  content: "";
  display: block;
  position: absolute;
  transition: all 0.3s ease-in-out;
  left: 50%;
  top: 50%;
  box-sizing: border-box;
}
.hackbox-with-video .play-video:before {
  width: 66px;
  height: 66px;
  border: solid 3px #088445;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  margin-left: -33px;
  margin-top: -33px;
}
.hackbox-with-video .play-video:after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 20px;
  border-color: transparent transparent transparent #088445;
  margin-left: -6px;
  margin-top: -14px;
}
.hackbox-with-video .play-video:focus {
  outline: none;
}
.hackbox-with-video .play-video:hover:before {
  transform: scale(1.1);
}
.hackbox-with-video .play-video:hover:after {
  transform: scale(1.1);
}
.hackbox-with-video .cbtn {
  position: absolute;
  bottom: 10px;
  width: auto;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  font-family: "Open Sans";
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.48);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: #088445;
  padding: 8px 30px;
  font-size: 12px;
  border: solid 2px #fff;
  z-index: 15;
}
.hackbox-with-video .cbtn:hover {
  background-color: rgba(195, 169, 115, 0.8);
}
.hackbox-with-video .video-modal {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}
.hackbox-with-video .video-modal video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hackbox-with-video.launched .play-video {
  opacity: 0;
  visibility: hidden;
}
.hackbox-with-video.launched .video-modal {
  opacity: 1;
  visibility: visible;
}
.hackbox-with-video.launched .cbtn {
  bottom: auto;
  top: 5px;
  left: auto;
  right: 5px;
  transform: none;
}
.hackbox-with-video .closehv {
  position: absolute;
  left: 0;
  top: 0;
  border: 0;
  background-color: rgba(195, 169, 115, 0.06);
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.hackbox-with-video .closehv:before, .hackbox-with-video .closehv:after {
  content: "";
}
.hackbox-with-video .closehv:before, .hackbox-with-video .closehv:after,
.hackbox-with-video .closehv i {
  display: block;
  height: 2px;
  width: 20px;
  background-color: #088445;
  transition: all 0.3s ease-in-out;
  position: relative;
}
.hackbox-with-video .closehv i {
  margin: 3px auto;
}
.hackbox-with-video .closehv:before {
  margin-left: auto;
}
.hackbox-with-video .closehv:after {
  margin-right: auto;
}
.hackbox-with-video .closehv:hover {
  background-color: rgba(195, 169, 115, 0.3);
}
.hackbox-with-video .closehv:focus {
  outline: none;
}
.hackbox-with-video .closehv.launched i {
  width: 0;
  opacity: 0;
}
.hackbox-with-video .closehv.launched:before {
  transform: rotate(220deg) translate(-2px, -4px);
}
.hackbox-with-video .closehv.launched:after {
  transform: rotate(-220deg) translate(-3px, 5px);
}