/* if not enabled */
[data-dnt-embed] {
  height: 100%;
  width: 100%;
  max-width: 100%;
  border: 0;
}

/* if enabled */
.dnt-embed {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  max-width: 100%;
  position: relative;
  font-size: 1rem;
}

/* styles for when the embed ui is shown, which is removed once iframe is loaded */
.dnt-embed--active {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: #FEFEFE;
  background-color: #111;
  position: relative;
  padding: 1.5em;
  overflow: hidden;
}

.dnt-embed--active::after {
  z-index: 1;
  content: "";
  opacity: 0.5;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #111;
}

.dnt-embed__thumbnail {
  z-index: 0;
  position: absolute;
  top: -5px;
  right: -5px;
  bottom: -5px;
  left: -5px;
  filter: blur(2.5px);
  background-size: cover;
}

.dnt-embed__text,
.dnt-embed__button {
  font-size: 19px;
  z-index: 2;
  display: block;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
}

.dnt-embed__text {
  text-align: center;
  text-shadow: 0 0 10px #111;
  margin-bottom: 2em;
  line-height: 1.5;
}

.dnt-embed__button {
  margin-left: auto;
  margin-right: auto;
  font-family: inherit;
}

/* Used to indicate iframe is loading */
.dnt-embed__loader {
  z-index: 3;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
}

.dnt-embed__loader__pip {
  width: 0.8em;
  height: 0.8em;
  margin-right: 0.3em;
  margin-left: 0.3em;
  background-color: currentColor;
  border-radius: 100%;
  display: inline-block;
  animation: dnt-embed__loader__pip 1.4s infinite ease-in-out both;
}

.dnt-embed__loader__pip:first-child {
  animation-delay: -0.32s;
}

.dnt-embed__loader__pip:nth-child(1) {
  animation-delay: -0.16s;
}

@keyframes dnt-embed__loader__pip {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}
/* Announcer is only used for assistive technologies, so hide from view */
.dnt-embed__announcer {
  position: absolute;
  left: -9999em;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Dont show outlines for elements used to give context for assistive technologies */
.dnt-embed [tabindex="-1"]:focus {
  outline: none !important;
}

/* Not all browsers hide the 'hidden' attribute */
.dnt-embed [hidden] {
  display: none !important;
}

@media (max-width: 500px) {
  .dnt-embed {
    font-size: 4vw;
    padding-top: 0;
    padding-bottom: 0;
  }
  .dnt-embed__text {
    margin: 0;
  }
}
.videoWrapper {
  position: relative;
  height: 298px;
  width: 530px;
  overflow: hidden;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .videoWrapper {
    padding-bottom: 56.25%;
    height: 0;
    max-width: 100%;
  }
}
.videoWrapper > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#submission-progress {
  display: block;
  margin-bottom: 1em;
  line-height: 1;
}
#submission-progress:focus {
  outline: none;
}
#submission-progress .spinner {
  width: 28px;
  height: 28px;
  border: 4px solid #b1b4b6;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  vertical-align: middle;
  margin-right: 7px;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion) {
  #submission-progress > span.spinner {
    display: none;
  }
}
@media (min-width: 40.0625em) {
  #submission-form:after {
    content: "";
    display: block;
    clear: both;
  }
  #submission-form > .govuk-button[disabled] {
    float: left;
    margin-right: 1em;
  }
  #submission-form > .active {
    display: inline-block;
    padding-top: 8px;
  }
  #submission-form > .active .spinner {
    margin-top: -8px;
  }
}
.app-store-link {
  display: inline-flex;
  border-radius: 8px;
}
.app-store-link:focus {
  border: 4px solid #ffdd00;
  box-shadow: 0 0 0 1px #0b0c0c;
  outline: none;
}
.app-store-link img {
  display: block;
}