/* @font-face {
  font-family: 'TufuliArabic';
  src:
    url('../fonts/TufuliArabic.woff2') format('woff2'),
    url('../fonts/TufuliArabic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
 */
.moplyer-container {
  margin: 0 !important;
  direction: rtl;
}


/* -----------------------VIDEO PLAYER--------------------- */

.moplyer-container {
  position: relative;
  margin-bottom: 20px;
  background-color: rgb(0, 0, 0);
  margin: 10px;
  min-height: 100%;
}

.subscribe-buttons {
  display: flex;
  justify-content: space-between;
  padding: 1px;
  pointer-events: auto;
  position: absolute;
  z-index: 999999;
  width: 100%;
  box-sizing: border-box;
}

.subscribe-btn {
  background-color: #004aad;
  cursor: pointer;
  font-size: 14px;
  float: left;
  display: block;
  border-radius: 4px;
  height: 25px;
  text-align: center;
  line-height: 22px;
  text-shadow: 0 1px 1px #000;
  color: #fff;
  padding: 0 10px;
  font-weight: 700 !important;
  position: relative;
}

.subscribe-btn:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Banner container */
#yt-subscribe-banner {
  background: rgba(255, 0, 0, 0.95);
  position: absolute;
  z-index: 999;
  bottom: 50px;
  right: 20px;
  width: 48px;
  height: 48px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;

}

/* Text and link */
#yt-message {
  text-align: right;
  position: absolute;
  bottom: 62px;
  right: -10px;
  width: 200px;
  padding: 10px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgb(0 0 0);
  transition: opacity .5s ease-in;
  font-family: 'Frutiger';
}

#yt-message::before,
#yt-message::after {
  content: '';
  position: absolute;
  bottom: -21px;
  right: 25px;
  border-style: solid;
  height: 0;
  width: 0;
  border-width: 10px;
  border-color: transparent;
  border-top-color: #fff;
  bottom: -18px;
}


#yt-message p {
  letter-spacing: -.5px;
  margin: 5px 0 0;
  font-size: 11px;
  color: #8e8e8e;
  text-align: right;
  font-family: 'Frutiger';
}

#yt-message a {
  margin: 6px 6px 0 0;
  color: #FFF;
  background: rgba(255, 0, 0, 0.95);
  border-radius: 5px;
  display: inline-block;
  padding: 2px 7px;
  text-decoration: none;
  font-family: 'Frutiger';
}

/* Close button */
.close-subscribe {
  position: absolute;
  left: -10px;
  top: -10px;
  border-radius: 50%;
  cursor: pointer;
  background: #fff;
  font-size: 10px;
  width: 20px;
  height: 20px;
  border: solid 1px #d9d9d9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #000;
}

/* Responsive tweaks */
@media (max-width: 400px) {
  #yt-message {
    width: 52vw;
    right: -3vw;
    bottom: 55px;
    font-size: 12px;
    padding: 8px;
  }

  #yt-message a {
    padding: 3px 8px;
    font-size: 12px;
  }

  #yt-subscribe-banner {
    width: 40px;
    height: 40px;
    bottom: 50px;
    right: 20px;
  }

  #yt-svg {
    height: 24px;
    width: 24px;
    margin-top: 6px;
  }

  .close-subscribe {
    width: 18px;
    height: 18px;
    font-size: 12px;
    top: -8px;
    left: -8px;
  }
}

.moplyer-menu {
  display: flex;
  clear: both;
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #000;
  box-sizing: border-box;
  padding: 2px 5px;
  margin: 0;
  list-style: none;
  gap: 4px;
  color: #ffffff4d;
}

.ch-link {
  text-align: center;
  font-size: 1rem;
  height: 28px;
  border-radius: 1px;
  /* background: #552a86; */
  padding: 3px .9rem;
  color: #fff !important;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
  box-shadow: 0 0 0 #d6d6d6;
  width: 100%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.moplyer-menu li {
  text-align: center;
  width: 100%;
  margin: 0;
  position: relative;
  white-space: nowrap;
  z-index: 3;
  flex: 1;
  border: 1px solid #004aad;
  border-radius: 6px;
}

.ch-link.active,
.ch-link:hover {
  background: #651e1e;
  transition: .3s all cubi;
  color: #fff !important;
}


#player {
  width: 100%;
  height: 92vh !important;
}

@media (max-width: 800px) {
  #player {
    width: 100%;
    height: 89vh;
  }

}

@media (max-width: 400px) {
  #player {
    width: 100%;
    height: 90vh;
  }

}

@media (min-width: 1200px) {
  #player {
    width: 100%;
    height: 96vh;
  }

}

.subscribe-buttons {
  display: flex;
  flex-direction: row;
  gap: 1px;
  align-items: flex-end;
  position: absolute;
  width: 28px;
  margin: 4px 5px;
  direction: rtl;
  left: 0;
  right: auto;
}

.subscribe-buttons a {
  display: inline-flex;
  cursor: pointer;
}

.subscribe-buttons a svg {
  display: block;
}

.stm-act {
  flex: 0 0 auto !important;
  width: auto !important;
  background-color: transparent;
  border: 1px solid #004aad;
  border-radius: 6px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.showrefresh {
  transition: transform 0.3s ease-in-out;
  position: relative;
}

.share-ifr {
  position: relative;
  top: 0.5px;
}

.showrefresh svg {
  transform-origin: center center;
  transform-box: fill-box;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.showrefresh:hover svg {
  transform: rotate(30deg);
}

.stm-act:hover {
  transform: scale(1.02);
}

.stm-br {
  position: fixed;
  bottom: 31px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  /* background-color: rgba(0, 0, 0, 0.5); */
  color: #fff;
  padding: 6px 10px;
  border-radius: 0;
  /* optional, no rounded corners on full width */
  z-index: 999;
  gap: 8px;
  direction: ltr;
  font-family: 'Frutiger', 'Arial Narrow', Arial, sans-serif;
  font-size: 25px;
  justify-content: center;
}

.stm-br img {
  height: 69px;
  width: auto;
}


.stream-embed,
.stream-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.stream-embed {
  position: relative;
}

@media (max-width: 600px) {
  .stm-br {
    bottom: 96px;
    font-size: 13px;
    z-index: 0;
  }

  .stm-br img {
    height: 30px;
    width: auto;
  }

  .stream-embed {
    max-width: 100%;
    padding-top: 75%;
    /* maybe taller aspect on phones */
  }

  .stream-embed {
    position: relative;
    width: 100%;
    height: 208px;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
  }

  .stream-embed iframe,
  .stream-embed>* {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

}

.moplyer-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  /* full viewport */
}

.moplyer-menu {
  flex: 0 0 auto;
  /* fixed height by content */
}

.player-wrapper {
  flex: 1 1 auto;
  position: relative;
  /* player fills remaining space */
}

#player {
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.twitter-embed-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 107% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 480px) {
  .twitter-embed-player {
    top: 76px !important;
  }
}

@media (min-width: 700px) {
  .twitter-embed-player {
    width: 90% !important;
    left: 50px;
    top: -10px;
  }
}