﻿.video {
  position: relative;
  margin-top:60px;
}

.text-box
{
    background-color: rgb(255 255 255 / 79%);
    position: absolute;
    left: 0;
    top: 45px;
    z-index: 999;
	margin:auto;
	width:515px;
	height:300px;
	padding:35px;
}

.title-box
{
	color:#0d0d0d;
	font-size:35px;
	margin-bottom:3px;
	font-weight:700;
}


.p-box
{
	    overflow: hidden;
	color:#0d0d0d;
	font-size:14px;
	margin-bottom:-20px;
	font-weight:400;
}

.p-box p {
    font-size: 16px;
}

.videoWrapper {
  position: relative;
  width: 100%;
  height: 0;
  background-color: #000;
  overflow: hidden;
}

.videoWrapper169 {
  height: 390px;
}

.videoIframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 390px;
  background-color: transparent;
  overflow: hidden;
}

.videoWrapperActive .videoPoster {
  opacity: 0;
  height: 0;
  transition-delay: 0s, 0.8s;
}

.videoPoster {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 390px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  border: 0;
  outline: none;
  background-position: 50% 50%;
  background-size: 100% 100%;
  background-size: cover;
  text-indent: -999em;
  overflow: hidden;
  opacity: 0.9;
  transition: opacity 0.8s ease, height 0s ease;
  transition-delay: 0s, 0s;
}

.videoPoster:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin: -25px 0 0 -14px;
  border-left: 40px solid rgba(7, 112, 114, 0.75);
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 0 5px 0 transparent;
}

.home-video-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-100%);
  display: block;
  line-height: 0;
  display: inline-block;
  padding: 20px 10px;
  font-size: 3em;
  font-weight: 700;
  color: white;
  cursor: pointer;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: ease-in-out 0.15s all;
}

.home-video-close.is-hidden {
  display: block;
  transform: translateY(0);
}

#js-pointer-detector {
  display: none;
}

@media (pointer: coarse) {
  #js-pointer-detector {
    display: block;
  }

  .js-videoPoster {
    display: none;
  }
}
