.ce-videoplayer {
  margin-bottom: -9px;
}
.ce-videoplayer video {
  width: 100%;
  height: auto;
  box-sizing: border-box;
}
.ce-videoplayer-inner {
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}
.ce-videoplayer .video-trigger {
  cursor: pointer;
}
.ce-videoplayer svg {
  width: 100%;
}
.ce-videoplayer svg .logo {
  transform: scaleX(-1) translateX(-30px);
}
.ce-videoplayer svg .logo-small {
  transform: scaleX(-1) translateX(-35px);
}
@media (max-width: 730px) {
  .ce-videoplayer svg {
    max-height: 450px;
  }
}
@media (max-width: 500px) {
  .ce-videoplayer svg {
    max-height: 300px;
  }
}
.ce-videoplayer .video-popup {
  display: none;
}
.ce-videoplayer .video-popup-content video {
  width: 100%;
  height: auto;
  display: block;
}
.ce-videoplayer .mfp-content {
  max-width: 1000px !important;
}
.video-popup {
  max-width: 960px;
  margin: 20px auto;
  position: relative;
  width: 90%;
}
.video-popup video {
  width: 100%;
  height: auto;
  display: block;
}
.mfp-container {
  padding: 0 8px;
  box-sizing: border-box;
}
.mfp-content {
  position: relative;
  margin: 0 auto;
  vertical-align: middle;
  display: inline-block;
  text-align: left;
  z-index: 1045;
}
.mfp-inline-holder .mfp-content {
  width: 100%;
  cursor: auto;
}
.mfp-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.mfp-fade.mfp-bg {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
  transform: translateY(0);
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
  transform: translateY(-20px);
}
.safari .ce-videoplayer svg foreignObject {
  display: none !important;
}
