.vjs-afk-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 2%;
    width: 50%;
    height: 45%;
    max-height: 230px;
    min-height: 130px;
    background: rgba(10, 12, 14, 0.75);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    z-index: 999;

}
@media (max-width: 473px) {
.vjs-afk-container {
    top: -25px;
    width: 65%;
    max-height: 230px;
    min-height: 115px;
  }
}
.vjs-afk-container.hidden {
    display: none !important;
}
.vjs-afk-container h1 {
    font-size: 2.5em;
    text-align: center;
    text-shadow: 2px 2px 8px #333;
    color: #fff;
    margin-top: 0;
}
.vjs-afk-button.afk-button {
    display: block;
    margin: 2% auto;
    padding: 2% 4%;
    width: 60%;
    background: rgba(100,100,100,0.4);
    border: 1px solid #31373A;
    font-size: 1.5em;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.vjs-afk-button.afk-button:hover {
    background: rgba(9, 127, 214, 0.5);
}

@media (min-width: 784px) and (max-width: 979px) {
.vjs-afk-container {
      min-height: 145px;
}

