/** Default styles for CVP Player **/

.cvp-outer {
    display: block;
    height: auto !important;
    position: relative;
    width: 100% !important;
}
.cvp-wrapper {
    padding-top: 56.25%;
}
.cvp-inner {
    bottom: 0;
    height: 100%;
    left: 0;
    line-height: normal;
    position: absolute !important;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1;
}

/** Resolution with theme layer styles **/

.cvp-inner button,
.cvp-inner div {
    -webkit-font-smoothing: initial;
}
.cvp-inner .row {
    margin-left: 0;
}

.cvui-button {
    padding: 0;
}

/** Overlays **/
.cvui-overlay-btn {
    background: rgba(100, 100, 100, 0.5);
    border: .5px solid hsla(0, 0%, 100%, .5);
    border-radius: 5px;
    color: #fff;
    font-size: 11px;
    margin: 10px;
    padding: 10px;
    position: absolute;
    /* Player top gradient is 99 */
    z-index: 150;
    cursor: pointer;
}
.cvui-unmute-btn {
    font-family: Arial, Helvetica, sans-serif;
    left: 0;
    top: 0;
}
.cvui-unmute-btn:before {
    content: "\f12d";
    font-family: CVUIFont;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    margin-right: 5px;
    position: relative;
    top: 2px;
}


/** Endslate **/

.end-screen-overlay {
    background: rgba(0, 0, 0, 0.8);
    background: -webkit-linear-gradient(-90deg, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0));
    height: 100%;
}
.end-screen-outer {
    background-size: contain;
    color: #fff;
    height: 100%;
    font-size: 1.2em;
    line-height: 1.5;
    padding: 10px 12px;
    word-wrap: break-word;
    z-index: 1;
}
.end-screen-outer > form {
    box-sizing: inherit;
    font-size: inherit;
    color: inherit;
}
.end-screen-outer > form > h1,
.end-screen-outer > form > h2 {
    background: none;
    color: #fff;
    line-height: 1.33333;
    font-weight: bold;
    padding: 0;
}
.end-screen-outer > form > h1 {
    font-size: 14px;
    padding: 0 0 5px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.end-screen-outer > form > h2 {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.end-screen-outer > form > label {
    line-height: 25px;
    margin-bottom: .33333em;
    width: 100%;
    float: left;
    font-size: 10px;
}
.end-screen-outer > form > label > input {
    border: 0;
    color: #333;
    display: block;
    font-size: 12px;
    min-height: 30px;
    padding: 0 .5em;
    width: 100%;
}
.end-screen-outer > form > button {
    background: rgba(100, 100, 100, 0.5);
    border: 0;
    border-radius: 5px;
    color: inherit;
    cursor: pointer;
    display: block;
    font-size: 12px;
    line-height: inherit;
    margin: 0 auto;
    overflow: visible;
    outline: 0;
    padding: 5px 10px;
    position: relative;
    text-transform: none;
    text-decoration: none;
    top: 5px;
    transition: none;
    -webkit-appearance: none;
}

/** Ad Blocked Message **/

.cvp-ad-blocked {
    position: absolute;
    display: none;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 400px;
    text-align: center;
    font-size: 12px;
    line-height: 14px;
    background: #000;
    color: #fff;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 20px;
}

@media screen and (min-width: 768px) {
    .end-screen-outer {
        padding: 20px 24px;
    }
    .end-screen-outer > form > label {
        line-height: 30px;
        font-size: 12px;
    }
    .end-screen-outer > form > button {
        font-size: 14px;
        top: 20px;
    }
    .end-screen-outer > form > h1 {
        font-size: 16px;
        padding: 0 0 10px;
        white-space: initial;
    }
    .end-screen-outer > form > h2 {
        padding: 0 0 10px;
        white-space: initial;
    }
    .cvp-ad-blocked {
        font-size: 16px;
        line-height: 18px;
    }
}

avia-unmute-cta {
  top: 10px;
  border-radius: 22px;
  height: 45px;
  width: auto;
  margin: 0px;
  border-style: none;
  opacity: .8;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.65);
}

.avia-slider-handle {
  margin: 0;
}

avia-unmute-cta avia-button avia-text {
  color: white;
  font-size: 16px;
  font-weight: bold;
  font-family: "ProximaNova-Regular", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  vertical-align: middle;
  visibility: hidden;
}

avia-unmute-cta avia-button avia-text::after {
  content: 'TAP TO UNMUTE';
  position: absolute;
  left: 6px;
  visibility: visible;
}

@media screen and (min-width: 1599px) {
  avia-unmute-cta avia-button {
    width: 255px;
    position: relative;
  }
  avia-unmute-cta avia-button avia-text {
    margin-left: 14px;
  }

}

.avia-ad-control-container {
  display: flex;
  width: 146px;
  height: 45px;
  margin: 0 0 -4px 0;
  padding: 2px 10px 0 5px;
  border-radius: 22px;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: space-around;
  box-sizing: border-box;
}

@media screen and (min-width: 768px) {
  avia-unmute-cta avia-button avia-text {
    visibility: visible;
  }

  avia-unmute-cta avia-button avia-text::after {
    visibility: hidden;
  }

}
