
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dmsans/v15/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* fallback */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v244/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzazHD_dY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2');
}

/*
  .shaka-video-container * {
    font-family: "Lexend Deca", "Mulish", "Roboto", sans-serif;
  }
  */


.material-icons-round {
  font-family: 'Material Symbols Outlined' !important;
}

.youtube-theme label>b+span {
  margin-right: auto;
}

.youtube-theme * {
  font-family: 'DM Sans', serif;
  -webkit-tap-highlight-color: transparent;
}

.shaka-fast-forward-container, .shaka-rewind-container {
  background-color: #00000070 !important;
}

.youtube-theme ::-webkit-scrollbar {
  width: 10px;
  /* Set the width of the scrollbar */
}

.youtube-theme ::-webkit-scrollbar-track {
  background: #00000000;
  /* Set the track color */
}

.youtube-theme ::-webkit-scrollbar-thumb {
  background: #525252;
  /* Set the thumb color */
  border-radius: 5px;
  /* Optional: Round the corners of the thumb */
}

.youtube-theme .shaka-overflow-button label .material-icons-round,
.youtube-theme .shaka-tooltip label .material-icons-round {
  padding-left: 13px;
}

.youtube-theme #shaka-player-ui-time-container {
  background-color: rgba(27, 27, 27, 0.48);
  border: none;
  box-shadow: none;
  /* border: 1px solid #000; */
  border-radius: 5px;
  color: #ebebeb;
  overflow: hidden;
  position: absolute;
  font-size: 18px;
  padding-bottom: 3px;
  top: -38px !important;
  /* visibility: hidden; */
  z-index: 1;
}

.youtube-theme .shaka-bottom-controls {
  width: 100%;
  padding: 0;
  padding-bottom: 0;
  z-index: 1;
}

.youtube-theme .shaka-bottom-controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.youtube-theme .shaka-ad-controls {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}

.youtube-theme .shaka-controls-button-panel {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  height: 40px;
  padding: 0 10px;
}

.youtube-theme .shaka-range-container {
  margin: 4px 10px 4px 10px;
  top: 0;
}

.youtube-theme .shaka-small-play-button {
  -webkit-box-ordinal-group: -2;
  -ms-flex-order: -3;
  order: -3;
}

.youtube-theme .shaka-mute-button {
  -webkit-box-ordinal-group: -1;
  -ms-flex-order: -2;
  order: -2;
}

.youtube-theme .shaka-controls-button-panel>* {
  margin: 0;
  padding: 3px 8px;
  color: #eee;
  height: 40px;
}

.youtube-theme .shaka-controls-button-panel>*:focus {
  outline: none;
  /*
    -webkit-box-shadow: inset 0 0 0 2px rgba(27, 127, 204, 0.8);
    box-shadow: inset 0 0 0 2px rgba(27, 127, 204, 0.8);
    */
  color: #fff;
}

.youtube-theme .shaka-current-selection-span {
  padding-right: 14px;
}

.youtube-theme .shaka-pip-button .shaka-current-selection-span {
  padding-right: 22px !important;
}

.youtube-theme .shaka-controls-button-panel>*:hover {
  color: #fff;
}

.youtube-theme .shaka-controls-button-panel .shaka-volume-bar-container {
  position: relative;
  z-index: 10;
  left: -1px;
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
  opacity: 0;
  width: 0px;
  -webkit-transition: width 0.2s cubic-bezier(0.4, 0, 1, 1);
  height: 3px;
  transition: width 0.2s cubic-bezier(0.4, 0, 1, 1);
  padding: 0;
}

.youtube-theme .shaka-controls-button-panel .shaka-volume-bar-container:hover,
.youtube-theme .shaka-controls-button-panel .shaka-volume-bar-container:focus {
  display: block;
  width: 50px;
  opacity: 1;
  padding: 0 6px;
}

.youtube-theme .shaka-mute-button:hover+div {
  opacity: 1;
  width: 50px;
  padding: 0 6px;
}

.youtube-theme .shaka-play-button {
  max-width: 10px;
  max-height: 10px;
}

.youtube-theme .shaka-current-time {
  padding: 0 10px;
  padding-left: 7px;
  font-size: 14px;
}

.youtube-theme .shaka-seek-bar-container {
  height: 3px;
  position: relative;
  top: -1px;
  border-radius: 3px;
  margin-bottom: 0;
}

.youtube-theme .shaka-seek-bar-container .shaka-range-element {
  opacity: 0;
}

.youtube-theme .shaka-seek-bar-container:hover {
  height: 5px;
  top: 0;
  cursor: pointer;
}

.youtube-theme .shaka-seek-bar-container:hover .shaka-range-element {
  opacity: 1;
  cursor: pointer;
}

.youtube-theme .shaka-seek-bar-container input[type="range"]::-webkit-slider-thumb {
  background: #ff0000;
  cursor: pointer;
}

.youtube-theme .shaka-seek-bar-container input[type="range"]::-moz-range-thumb {
  background: #ff0000;
  cursor: pointer;
}

.youtube-theme .shaka-seek-bar-container input[type="range"]::-ms-thumb {
  background: #ff0000;
  cursor: pointer;
}

.youtube-theme .shaka-video-container .material-icons-round {
  font-family: 'Material Symbols Outlined';
}

.youtube-theme .shaka-overflow-menu,
.youtube-theme .shaka-settings-menu {
  border-radius: 12px;
  background: rgba(28, 28, 28, 0.9);
  text-shadow: 0 0 2px rgb(0 0 0%);
  -webkit-transition: opacity 0.1s cubic-bezier(0, 0, 0.2, 1);
  transition: opacity 0.1s cubic-bezier(0, 0, 0.2, 1);
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  right: 10px;
  bottom: 50px;
  padding: 8px 0;
}

/* Default for smaller screens */
.youtube-theme .shaka-overflow-menu,
.youtube-theme .shaka-settings-menu {
  min-width: 275px;
}

/* Medium screens */
@media (min-width: 600px) {

  .youtube-theme .shaka-overflow-menu,
  .youtube-theme .shaka-settings-menu {
    min-width: 300px;
  }
}

/* Larger screens */
@media (min-width: 1095px) {

  .youtube-theme .shaka-overflow-menu,
  .youtube-theme .shaka-settings-menu {
    min-width: 320px;
  }
}

.youtube-theme .shaka-settings-menu {
  padding: 0 0 8px 0;
}

.youtube-theme .shaka-settings-menu button {
  font-size: 12px;
}

.youtube-theme .shaka-settings-menu button span {
  margin-left: 33px;
  font-size: 13px;
}

.youtube-theme .shaka-settings-menu button[aria-selected="true"] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.youtube-theme .shaka-settings-menu button[aria-selected="true"] span {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  margin-left: 0;
}

.youtube-theme .shaka-settings-menu button[aria-selected="true"] i {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
  font-size: 18px;
  padding-left: 5px;
}

.youtube-theme .shaka-overflow-menu button {
  padding: 0;
}

.youtube-theme .shaka-overflow-menu button i {
  display: none !important;
}

.youtube-theme .shaka-overflow-menu button .shaka-overflow-button-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: default;
  outline: none;
  height: 48px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
}

.youtube-theme .shaka-overflow-menu button .shaka-overflow-button-label span {
  -ms-flex-negative: initial;
  flex-shrink: initial;
  padding-left: 21px;
  font-size: 13px;
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.youtube-theme .shaka-overflow-menu span+span {
  color: #fff;
  font-weight: 400 !important;
  font-size: 12px !important;
  padding-left: 0 !important;
}

.youtube-theme .shaka-overflow-menu span+span:after {
  content: "navigate_next";
  font-family: "Material Symbols Outlined";
  font-size: 20px;
}

/** .youtube-theme .shaka-overflow-menu .shaka-pip-button span+span {
  padding-right: 15px !important;
} **/

.youtube-theme .shaka-overflow-menu .shaka-pip-button span+span:after {
  content: "";
}

.youtube-theme .shaka-no-propagation button {
  height: 45px;
}

.youtube-theme .shaka-back-to-overflow-button {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  color: #eee;
}

.youtube-theme .shaka-back-to-overflow-button .material-icons-round {
  font-size: 15px;
  padding-right: 10px;
}

.youtube-theme .shaka-back-to-overflow-button span {
  margin-left: 3px !important;
}

.youtube-theme .shaka-overflow-menu button:hover,
.youtube-theme .shaka-settings-menu button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.youtube-theme .shaka-overflow-menu button:hover label,
.youtube-theme .shaka-settings-menu button:hover label {
  cursor: pointer;
}

.youtube-theme .shaka-overflow-menu button:focus,
.youtube-theme .shaka-settings-menu button:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  outline: none;
}

.youtube-theme .shaka-overflow-menu button,
.youtube-theme .shaka-settings-menu button {
  color: #eee;
}

.youtube-theme .shaka-captions-off {
  color: #bfbfbf;
}

.youtube-theme .shaka-overflow-menu-button {
  margin-right: 5px;
}

.youtube-theme .shaka-fullscreen-button:hover {
  font-size: 25px;
  -webkit-transition: font-size 0.1s cubic-bezier(0, 0, 0.2, 1);
  transition: font-size 0.1s cubic-bezier(0, 0, 0.2, 1);
}