#ark_pre-roll, #ark_pre-roll.ark-preroll-container {
  position: relative !important;
  width: 100% !important;
  margin: auto !important;
  transform: none !important;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  transition: background-color .5s ease-out;
}

#ark_pre-roll.playing {
  background: black;
}

h4 + #ark_pre-roll {
  height: auto !important;
}

#ark-preroll-placeholder {
  z-index: 10000;
}

#ark_pre-roll[class*='fullScreen'] {
  height: auto !important;
}

.vast-media {
  margin: auto;
  aspect-ratio: 16/9;
  position: relative;
  display: flex;
  max-width: 100%;
  height: calc(100% - 38px);
  max-height: calc(100% - 38px);
}

.vast-media > video {
  margin: auto;
  transition: opacity 1s linear;
}

.vast-media > .video-ad-container {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: 100%;
  height: 100%;
}

div.ark-mute-button {
  cursor: pointer;
  padding: 1px;
  width: 24px;
  height: 24px;
  transition: filter 0.5s ease-in;
}
div.ark-mute-button.active img {
  filter: invert(50%) sepia(100%) saturate(2300%) hue-rotate(25deg) brightness(115%) contrast(100%);
}

div.ark-skip-button {
  visibility: hidden;
  opacity: 0;
  margin: 0 5px;
  color: white;
  background-color: #00825A;
  cursor: pointer;
  font-family: Field, sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  line-height: 28px;
  height: 28px;
  width: 110px;
  border-radius: 14px;
  transition: opacity .5s ease-out;
}

div.ark-skip-button.visible {
  visibility: visible;
  opacity: 1;
}


div.ark-mute-button > img {
  display: block;
  width: 32px;
  height: 32px;
}

div.ark-ad-display-container {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16/9;
}

div.ark-ad-end-message {
  font-weight: bold;
  display: block;
  text-align: center;
  font-size: 1.25em;
  margin-top: 1em;
}

div.video-player-container {
  position: relative;
  width: 100%;
  height: inherit;
  cursor: pointer;
}

.video-player-container > svg {
  width: 140;
  height: 42;
  transform: scale(3, 3);
  border: 1px solid black;
}

div.ark-ad-main {
  display: block;
  width: 100%;
  height: 100%;
  font-family: Roboto-Regular, sofia-pro, sans-serif;
  color: #4d4d4d;
  position: relative;
}

div.ark-ad-main.mobile-player {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 9999;
}

div.ark-cta {
  z-index: 10000;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  align-items: center;
  flex-wrap: wrap;
}

div.arkcom-ad-inner {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  align-items: center;
  flex-wrap: wrap;
}

div.ark-ad-cta-row {
  display: flex;
  flex-direction: row;
}

div.ark-cta-col-left {
  display: block;
}

div.ark-cta-col-right {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.ark-cta-loader {
  margin: 5px;
}
.ark-cta-buttons {
  text-align: center;
}
.ark-cta-loading .ark-cta-loader {
  display: block;
}
.ark-cta-loading .ark-cta-play-button {
  display: none !important;
}
.ark-cta-loaded .ark-cta-play-button {
  display: block;
}
.ark-cta-loaded .ark-cta-loader {
  display: none;
}

div.ark-ad-message {
  color: black;
  max-width: 200px;
  min-width: 200px;
  text-align: center;
  text-transform: uppercase;
  margin: 10px;
  font-weight: 400;
  font-size: 13px;
  line-height: 25px;
  word-spacing: 2px
}

#preroll-container div.ark-ad-message {
  color: white;
}

div.ark-ad-button {
  text-align: center;
  text-transform: uppercase;
  margin: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  background-color: #2eb82e;
  color: #fff;
  line-height: 35px;
  cursor: pointer;
  transition: 100ms ease all;
  z-index: 10000 !important;
}

div.ark-ad-button:hover {
  background-color: #00b300;
}

div.ark-ad-button-text {
  padding: 0 25px;
  margin-bottom: -3px;
  font-size: 14px;
  font-weight: 500;
}

div.ark-ad-button-arrow {
  height: 35px;
  width: 35px;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-items: center;
  background-color: #248f24
}

button.ark-ad-button {
  border: none;
  text-align: center;
  text-transform: uppercase;
  margin: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  background-color: #2eb82e;
  color: #fff;
  line-height: 35px;
  cursor: pointer;
  transition: 100ms ease all;
}

button.ark-ad-button:hover {
  background-color: #00b300;
}

button.ark-ad-button-text {
  padding: 0 25px;
  margin-bottom: -3px;
  font-size: 14px;
  font-weight: 500;
}

button.ark-ad-button-arrow {
  height: 35px;
  width: 35px;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-items: center;
  background-color: #248f24
}

.video-play-button {
  margin-left: 5px !important;
  margin-bottom: -1px !important;
  opacity: 1 !important;
}

@media screen and (max-width: 700px) {
}

@media screen and (max-width: 490px) {
  div.ark-cta {
      flex-direction: column;
  }
  div.ark-ad-message {
      border-right: none;
  }
}
