.mini-player {
  position: fixed !important;
  bottom: 20px;
  right: 30px;
  z-index: 999;
}

.close-btn {
  position: absolute;
  top: -170px;
  right: 5px;
}
.mini-player-close {
  height: 24px;
  width: 24px;
  position: absolute;
  right: -25px;
  top: -25px;
}

.select-wrapper {
  position: relative;
  display: flex;
  background: #2c3e50;
  overflow: hidden;
  width: 20rem;
  z-index: -99;
  transform: translateY(100%);
  opacity: 0;
  transition: opacity 0.3s !important;
}
.mini-select-wrapper {
  max-width: 15rem;
  font-size: 16px;
  z-index: -99;
  transform: translateY(-100%);
}

.show-select {
  z-index: 9 !important;
  transform: translateY(0px) !important;
  opacity: 1;
  transition: opacity 0.3s !important;
}
.room-picker {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 !important;
  background: #2c3e50;
  background-image: none;
  width: 100%;
  text-align: center;
  background: #2c3e50;
  flex: 1;
  padding: 0 0.5em;
  color: #fff;
  cursor: pointer;
}
.select-wrapper::after {
  content: "\25BC";
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 1em;
  background: #34495e;
  cursor: pointer;
  pointer-events: none;
  -webkit-transition: 0.25s all ease;
  -o-transition: 0.25s all ease;
  transition: 0.25s all ease;
}
/* Transition */
.select-wrapper:hover::after {
  color: #497728;
}
.button-wrapper {
  transform: translateY(calc(-100% - 10px));
  display: flex;
  text-align: center;
  max-width: 640px;
  margin-top: 10px;
  height: 0;
}
.show-button {
  z-index: 9 !important;
  transform: translateY(0px) !important;
  opacity: 1 !important;
  transition: opacity 0.3s !important;
  height: 100% !important;
}
.show-button .redirect_button {
  opacity: 1 !important;
  transition: opacity 0.3s !important;
  z-index: 10 !important;
}

.redirect_button {
  font-family: Lato, sans-serif;
  background: #3b7e2e;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-top: 0;
  width: 100%;
  padding: 15px;
  border-radius: 5px;
  z-index: -99;
  position: relative;
  opacity: 0;
  transition: opacity 0.3s !important;
  margin-bottom: 10px;
}

.is_mini_menu {
  transform: translateY(100%);
  transition: opacity 0.3s;
}
.is_no_menu {
  transform: translateY(-100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.actions-wrapper {
  display: flex;
  max-width: 640px;
  justify-content: space-between;
}
.actions-wrapper-mini {
  max-width: 400px;
}

.is_mini_menu {
  margin-bottom: 5px;
}

.no-rooms {
  display: none !important;
}

.jw-icon-fullscreen {
  display: none !important;
}

.player-is-live {
  filter: drop-shadow(0 0 0.2rem #b20000) !important;
  border: 1px solid red !important;
}
/* Live Flashing Button */

.live-button {
  -webkit-border-radius: 10px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: Arial;
  font-size: 16px;
  padding: 3px 8px;
  text-align: center;
  text-decoration: none;
  -webkit-animation: glowing 3000ms infinite;
  -moz-animation: glowing 3000ms infinite;
  -o-animation: glowing 3000ms infinite;
  animation: glowing 3000ms infinite;
  display: none;
  position: absolute;
  max-width: 55px;
  z-index: 9999;
  margin-top: 5px;
  margin-left: 5px;
  background-color: #b20000;
}
.live-button-wrap {
  max-width: 640px;
  margin: auto;
}
.is-live {
  display: block;
}

@-webkit-keyframes glowing {
  0% {
    background-color: #b20000;
    -webkit-box-shadow: 0 0 3px #b20000;
  }
  25% {
    background-color: #ff0000;
    -webkit-box-shadow: 0 0 10px #ff0000;
  }
  50% {
    background-color: #b20000;
    -webkit-box-shadow: 0 0 3px #b20000;
  }
}

@-moz-keyframes glowing {
  0% {
    background-color: #b20000;
    -moz-box-shadow: 0 0 3px #b20000;
  }
  25% {
    background-color: #ff0000;
    -moz-box-shadow: 0 0 10px #ff0000;
  }
  50% {
    background-color: #b20000;
    -moz-box-shadow: 0 0 3px #b20000;
  }
}

@-o-keyframes glowing {
  0% {
    background-color: #b20000;
    box-shadow: 0 0 3px #b20000;
  }
  25% {
    background-color: #ff0000;
    box-shadow: 0 0 10px #ff0000;
  }
  50% {
    background-color: #b20000;
    box-shadow: 0 0 3px #b20000;
  }
}

@keyframes glowing {
  0% {
    background-color: #b20000;
    box-shadow: 0 0 3px #b20000;
  }
  25% {
    background-color: #ff0000;
    box-shadow: 0 0 10px #ff0000;
  }
  50% {
    background-color: #b20000;
    box-shadow: 0 0 3px #b20000;
  }
}

.mini-player .jwplayer {
  max-width: 400px !important;
  max-height: 220px !important;
}
@media only screen and (min-width: 786px) {
  .mini-player .jwplayer {
    width: 400px !important;
    height: 220px !important;
  }
}

@media only screen and (max-width: 500px) {
  .mini-player-close {
    right: -1%;
    top: -19px;
  }
  .mini-player {
    bottom: 10px;
    right: 1%;
    left: 1%;
  }
  .mini-player .live-button {
    margin-left: 5%;
  }
}
