
#video-wrap:not(.active) {
  opacity: 0;
  visibility: hidden;
}
#video-wrap .video-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
#video-wrap .video-container {
  width: 95%;
  transition: all 0.3s ease-in-out;
  transform: scale(0.9);
}
#video-wrap .close-video {
  background-color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 5%;
  top: 5%;
  width: 42px;
  height: 42px;
  border-radius: 100%;
  border: solid 2px #000;
  padding: 0;
  transition: all 0.3s ease-in-out;
  z-index: 150;
}
#video-wrap .close-video:before, #video-wrap .close-video:after {
  content: "";
  width: 60%;
  height: 3px;
  background-color: #000;
  position: absolute;
  transition: all 0.3s ease-in-out;
}
#video-wrap .close-video:before {
  transform: rotate(42deg);
}
#video-wrap .close-video:after {
  transform: rotate(-42deg);
}
#video-wrap .close-video:focus {
  outline: none;
}
#video-wrap .close-video:hover {
  background-color: #000;
}
#video-wrap .close-video:hover:before, #video-wrap .close-video:hover:after {
  background-color: #fff;
}
#video-wrap video,
#video-wrap iframe {
  position: relative;
  z-index: 10;
  border-radius: 12px;
  box-shadow: 0 0 19px rgba(0, 0, 0, 0.16);
  width: 100%;
  height: 100vh;
  max-height: 85vh;
  background-color: #000;
}
#video-wrap video {
}

@media screen and (max-width: 575px) {
	#video-wrap video {
      width: 100%;
      height: auto;
      object-fit: none;
  }

  #video-wrap iframe {
    width: 100%;
    height: 400px;
  }
}

#video-wrap.active {
  opacity: 1;
  visibility: visible;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 12px;
  height: 100vh;
  display: flex;
  transition: all 0.3s ease-in-out;
  z-index: 9991;
  align-items: center;
  justify-content: center;
}


#video-wrap.active .video-container {
  transform: scale(1);
}
@media (max-width: 1659px) and (min-width: 1330px) {
  #video-wrap .video-container {
    max-width: 978px;
  }
}
@media (min-width: 1660px) {
  #video-wrap .video-container {
    max-width: 1431px;
  }
}


#toTop {
  position: fixed;
  bottom: 10px;
  right: 15px;
  cursor: pointer;
  display: none;
  z-index: 10;
}

@media (min-width: 768px){
#toTop {
  right: 30px;
}
}

.back-top {
  background-color: #ca0248;
  border: 1px solid #ca0248;
  padding: 7px 9px;
  height: 34px;
  width: 34px;
  border-radius: 50% !important;
  color: #fff;
}
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

[class^="ti-"], [class*=" ti-"] {
  font-family: 'themify';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}