.np-video-loop-hero_section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.np-video-loop-hero {
  position: relative;
  display: flex;
  margin: auto;
  overflow: hidden;
  /* z-index: 10; */
}

/* Prevent multiple videos in one section */
.np-video-loop-hero_section .np-video-loop-hero_section,
.np-video-loop-hero_section .np-video-loop-hero_section .np-video-loop-hero {
  display: none;
}

.np-video-loop-hero_section
  .np-video-loop-hero_section[data-shopify-editor-block] {
  display: flex;
  background: red;
}
.np-video-loop-hero_section
  .np-video-loop-hero_section[data-shopify-editor-block]:before {
  content: "Only 1 Video block is allowed per section.";
  color: white;
  text-align: center;
  padding: 1em;
  padding-bottom: 0;
}
.np-video-loop-hero_section
  .np-video-loop-hero_section[data-shopify-editor-block]:after {
  content: "Remove this block and add a new section for mutlitple videos.";
  color: white;
  text-align: center;
  padding: 1em;
  padding-top: 0;
  font-size: 0.75em;
}

/* Device display */
@media screen and (max-width: 640px) {
  .np-desktop {
    display: none;
  }
}
@media screen and (min-width: 640px) {
  .np-mobile {
    display: none;
  }
}

.np-no-margin {
  margin: 0 !important;
}
.np-no-padding {
  padding: 0 !important;
}

/* Theme inspector modes */
[data-block-handle="np-text"],
[data-block-handle="np-button"],
[data-block-handle="np-image"],
[data-block-handle="np-play"] {
  pointer-events: none;
}
.np-video-loop-hero--editing [data-shopify-editor-block] {
  pointer-events: auto !important;
}

.np-block-warning {
  position: absolute;
  background: rgba(255, 0, 0, 0.8);
  color: white;
  left: 0;
  font-size: 12px;
  max-width: 40em;
  line-height: 1.2;
  padding: 1em;
  text-align: left;
}
