:root {
  --border: 1px solid #eeeeee;
}

@font-face {
  font-family: nexa;
  src: url(https://www.dianomi.com/fonts/nexa/Fontfabric-Nexa_Light.otf)
    format("opentype");
  font-weight: 300;
}

body {
  margin: 0;
}

div[id^="dv_"].dianomi_video {
  position: relative;
  border: var(--border);
  box-sizing: border-box;
}

div[id^="dv_"].dianomi_video.programmatic {
  display: flex;
  flex-direction: column;
}

div[id^="dv_"] .openclose {
  font-size: 20px;
  height: 14px;
  font-weight: 700;
  line-height: 10px;
  color: #333333;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: 0.7;
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
  position: absolute;
  right: 3px;
  position: absolute;
  bottom: 3px;
  top: auto;
  z-index: 9999;
}

div[id^="dv_"] .footer {
  font-size: 10px;
  color: #a8a8a8;
  font-family: arial, sans-serif;
  margin: 0px 0;
  display: flex;
  justify-content: flex-start;
  border-top: var(--border);
  padding: 3px;
  position: relative;
}

div[id^="dv_"] .footer img {
  height: 10px;
  width: 50px;
  cursor: pointer;
  top: 1px;
  position: relative;
  left: 2px;
}

div[id^="dv_"] .footer img.ad-choices-logo {
  width: 12px;
  height: 12px;
  margin-left: 5px;
}

div[id^="dv_"] button:focus {
  outline: none !important;
}

div[id^="dv_"] button {
  font-family: arial, sans-serif;
}

.dianomi-video-body {
  width: 100%;
  background: #bbbbbb;
  box-sizing: border-box;
  overflow: hidden;
  transition: max-height 0.15s ease-in;
  transition: all 500ms;
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
}

.dianomi-video-body-native {
  margin: 0;
}

.dianomi-video-body-native {
  position: relative;
}

.dianomi-vast-cta-container {
  position: absolute;
  width: 100%;
  padding: 10px;
  color: #ffffff;
  z-index: 999999;
  box-sizing: border-box;
  display: flex;
  justify-content: right;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0));
  font-family: arial, sans-serif;
  pointer-events: none;
}

.dianomi-video-body:hover .dianomi-vast-cta-button {
  background-color: #ffffff;
  color: #000000;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s ease;
  pointer-events: none;;
}

.dianomi-video-body:hover .dianomi-vast-cta-button:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}


div[id^="dv_"] .dianomi-text-wrapper {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  border-bottom: var(--border);
}

.dianomi-text-wrapper.dianomi-text-wrapper-advertiser {
  flex-direction: column;
}

.dianomi-header-container {
  border-bottom: 1px solid #555;
  padding: 5px;
  min-height: 32px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}

.dianomi-header-text {
  font-size: 12px;
  color: #999999;
  -webkit-font-smoothing: antialiased;
  font-family: arial, sans-serif;
  font-weight: 400;
  min-height: 32px;
  max-height: 50px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.dianomi-header-text span {
  font-size: 12px;
  line-height: 18px;
  font-family: arial, sans-serif;
  color: #999;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

.dianomi-header-text .dianomi-header-text-provider {
  font-weight: 800;
  padding-left: 5px;
}

.header-image-container img {
  max-height: 35px;
  width: 100%;
  padding: 5px 5px 5px 10px;
  box-sizing: border-box;
}

.header-image-container.native-logo img {
  width: auto;
}

div[id^="dv_"] .dianomi-main-container {
  display: flex;
  padding: 5px 2px;
}

div[id^="dv_"] .dianomi-main-text {
  font-weight: bold;
  display: flex;
  align-items: center;
  vertical-align: middle;
  font-family: arial, sans-serif;
  cursor: default;
  font-size: 16px;
  box-sizing: border-box;
  position: relative;
  padding-right: 20px;
  flex: 1;
}

div[id^="dv_"] .dianomi-cta-text {
  border: 1px solid #222;
  background: white;
  font-weight: bold;
  font-family: arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #555;
  font-size: 16px;
  line-height: 20px;
  min-width: 130px;
  max-width: 44%;
  border-radius: 0;
  cursor: pointer;
  height: min-content;
  float: right;
  position: relative;
  display: flex;
  align-content: flex-start;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: 2px;
}

div[id^="dv_"] .dianomi-main-text a {
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  color: #555;
  font-family: arial, sans-serif;
  font-size: 17px;
  line-height: 19px;
  text-align: left;
  vertical-align: middle;
  position: relative;
  text-decoration: none;
}
div[id^="dv_"]:not(.dianomi-vast-video) .dianomi-main-text a {
  cursor: pointer;
}

div[id^="dv_"] .dianomi-cta-text a {
  padding: 5px;
  display: block;
  text-align: center;
  box-sizing: border-box;
  height: auto;
  color: #333333;
}

div[id^="dv_"] .dianomi-cta-text a:hover {
  text-decoration: none;
  background: #ffffff;
  color: #000;
}

/*FLOWPLAYER */
div[id^="dv_"] .flowplayer {
  background-color: transparent;
  aspect-ratio: 16/9;
}

div[id^="dv_"].programmatic .flowplayer {
  height: 100%;
}

div[id^="dv_"] .flowplayer .has-poster {
  width: 100%;
  overflow: hidden;
  background-size: cover;
}

div[id^="dv_"] .flowplayer .fp-color {
  background-color: #ee3224 !important;
}

.flowplayer .ad-indicator,
.fp-title,
.fp-switch .fp-play,
.fp-switch .fp-pause,
.fp-left-zone,
.fp-right-zone {
  display: none !important;
}

.flowplayer .is-touched .fp-ui {
  background: none !important;
}

.flowplayer .fp-header {
  cursor: pointer;
}

.flowplayer .fp-timeline {
  cursor: inherit !important;
}

.flowplayer .fp-middle,
.flowplayer .fp-header,
.flowplayer .fp-controls {
  z-index: 2;
}

.is-mobile.flowplayer .fp-togglable {
  opacity: 1;
}

.is-mobile.flowplayer .fp-togglable .fp-timeline,
.is-mobile.flowplayer .fp-togglable .fp-duration {
  opacity: 0;
}

.dianomi-video-overlay {
  color: #ffffff;
  font-family: "nexa", arial, helvetica, sans-serif;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1000;
  cursor: pointer;
  display: none;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
}

div.dianomi-video-background {
  background-size: cover;
  position: absolute;
  width: 100%;
  height: calc(100% - 30px);
  background-position: center center;
  -webkit-filter: blur(5px) brightness(0.7);
  -moz-filter: blur(5px) brightness(0.7);
  -ms-filter: blur(5px) brightness(0.7);
  -o-filter: blur(5px) brightness(0.7);
  filter: blur(5px) brightness(0.7);
  transform: scale(1.1);
}

div.dianomi-video-overlay.podcast-overlay {
  display: flex;
  height: 60px;
  bottom: 0px;
}

.video-minimum .dianomi-audio.dianomi-video-body-native .podcast-overlay {
  height: 100%;
  bottom: 0;
}

.video-minimum
  .dianomi-audio.dianomi-video-body-native
  .dianomi-video-overlay--replay {
  flex-direction: column;
}

.video-minimum
  .dianomi-audio.dianomi-video-body-native
  .dianomi-video-overlay--replay
  img {
  height: 60px;
  margin-right: 0;
}

.dianomi-video-play .dianomi-video-overlay--learn-more {
  display: none;
}

.dianomi-video-play .dianomi-video-overlay--replay div:first-of-type {
  display: flex;
  justify-content: center;
}

div[class^="dianomi-video-overlay--"] {
  width: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
  max-height: 70px;
}

.video-minimum div[class^="dianomi-video-overlay--"] {
  height: 30%;
  font-size: 0.8em;
}

.podcast-overlay div[class^="dianomi-video-overlay--"] {
  height: 60%;
}

div[class^="dianomi-video-overlay--"] div:first-child {
  display: flex;
  justify-content: flex-end;
  max-height: 70px;
  max-width: 70px;
  height: 100%;
  aspect-ratio: 1/1;
  align-items: center;
}

div[class^="dianomi-video-overlay--"] img {
  margin-right: 5px;
  max-width: 70px;
  width: 100%;
  height: auto;
}

.dianomi-audio .fp-header {
  display: none;
}

.dianomi-audio .flowplayer {
  height: 100%;
}

.dianomi-audio .fp-controls {
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
  visibility: visible !important;
  z-index: 100;
}

#dianomi-audio-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
  opacity: 0.15;
}

.dianomi-audio .flowplayer.is-audio-player {
  background-size: contain;
}

.dianomi-click-overlay {
  height: 80%;
  width: 100%;
  position: absolute;
  z-index: 200;
}

.video-max-height,
.video-max-height .subhero {
  display: flex;
  flex-direction: column;
}

.video-max-height-non-native {
  height: 100%;
}

.video-max-height .dianomi-video-body {
  flex: 1;
}

@media screen and (max-width: 460px) {
  div[id^="dv_"] video::-webkit-media-controls {
    display: none !important;
  }

  div[id^="dv_"] .dianomi-main-text {
    line-height: 14px;
    height: auto;
    padding: 2px;
    width: 100%;
    min-height: 22px;
  }

  div[id^="dv_"] .dianomi-cta-text {
    display: block;
    border: 1px solid #555;
    font-weight: bold;
    font-family: arial, sans-serif;
    color: #555;
    font-size: 16px;
    line-height: 18px;
    min-width: 105px;
    font-size: 13px;
    line-height: 14px;
    max-width: 50%;
  }

  .dianomi-text-wrapper {
    min-height: auto;
  }

  .dianomi-header-text span {
    font-size: 10px;
    line-height: 16px;
    /* text-align: center; */
  }

  .dianomi-header-text {
    font-size: 10px;
    line-height: 1em;
    min-height: 32px;
  }

  div[id^="dv_"] .openclose {
    bottom: 3px;
    right: 3px;
  }

  div[id^="dv_"].dianomi_video {
    margin: 0;
    box-sizing: border-box;
    background: #fff;
  }

  div[id^="dv_"] .footer img {
    display: inline;
    margin: 0;
    margin-top: -3px;
    height: auto;
    width: 43px;
    cursor: default;
  }
}

@media screen and (min-width: 349px) and (max-width: 460px) {
  div[id^="dv_"] .dianomi-main-text a {
    display: table-cell;
    height: 31px;
    vertical-align: middle;
    line-height: 17px;
  }
}

@media screen and (max-width: 350px) {
  .dianomi-header-text {
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-image-container img {
    padding: 5px;
  }
}

@media screen and (max-width: 260px) {
  div[class^="dianomi-video-overlay--"] {
    height: 30%;
    font-size: 0.8em;
  }
}

