@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:ital@1&display=swap');

body {
  font-family: 'Fira Sans Condensed', sans-serif;
  background: rgb(0, 0, 0);
  background: radial-gradient(80% 30% ellipse at center top, #261226 0%, rgba(0, 0, 0, 0) 100%), radial-gradient(80% 40% ellipse at center bottom, #261226 0%, #100a1c 100%);
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  background-attachment: fixed;
}

.items {
  display: grid;
  border: 1px solid #3d3d3d;
  justify-items: center;
  margin: 1px 0;
  /* font-size: min(max(10px, 2vw), 14px); */
  background: #0d0d0d;
  transition: all 150ms ease-in-out;
  width: 100%;
  height: 100px;
  overflow: hidden;
  align-items: center;
  background: linear-gradient(90deg, #00000000 0%, #00000080 50%, #00000000 100%);
}

.center_content {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 265px;
  display: flex;
  align-items: center;
}

.material-symbols-outlined {
  margin: 0 2px 0 0
}

.items[now_live="true"] {
  display: none;
}

.last_broadcast_noformatted,
.last_broadcast_formatted {
  color: #989898;
}

.last_broadcast_noformatted[last_broadcast="invalidData"],
.last_broadcast_formatted[last_broadcast="invalidData"] {
  display: none;
}

#online,
#planned,
#offline,
#credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: black;
  box-shadow: 0 19px 38px rgb(0 0 0 / 30%), 0 15px 12px rgb(0 0 0 / 22%);
}

#online {
  border: 3px solid #ff4e45;
  border-radius: 20px;
}

#offline {
  border: 3px solid #808080;
  border-radius: 20px;
}

#credits {
  margin-top: 20px;
  border: 3px solid #808080;
  border-radius: 20px;
  /* font-size: min(max(10px, 2.5vw), 14px); */
}

.credits_container {
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 15px 0;
}

.credits_h2 {
  text-align-last: center;
  margin-top: 5px;
  margin-bottom: 5px;
  background: url(https://maper.info/n0pierd0nada);
}

.text_credits {
  color: #bebebe;
  text-decoration: none;
  font-weight: bold;
}

.text_credits_p {
  line-height: 1.5;
  display: flex;
  flex-direction: row;
  margin: 0;
}

/* 
*/
img {
  width: 45px;
  height: 45px;
  border-radius: 50px;
}

.data {
  /* padding: 20px 40px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1;
}



.flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1.8vh 10vw;
  overflow: hidden;
}

.channel_avatar {
  padding-right: 15px;
}

.hvr:hover {
  background: #363636;
  color: #000;
}

.container {
  margin: 0 0 0 0;
}


/* @media (min-width: 1170px) {
  .container {
    margin: 0 30% 0 30%;
  }
} */



/*           MOBILE        */
@media (max-width: 850px) {
  .checkBox_preview {
    visibility: hidden;
  }

  .container {
    margin: 0 0 0 0;
  }

  .text_credits_p {
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    margin: 0;
  }

}

@media (min-width: 850px) {
  img {
    width: 60px;
    height: 60px;
    border-radius: 50px;
  }

  .container {
    width: 825px;
    margin: auto;
  }
}

.text_ec {
  text-decoration: none;
  color: #fff;
  font-size: 1em;
}

.view_сount {
  color: #989898;
  font-size: 14px;
}

.liveStreamStarted {
  color: #989898;
  font-size: 14px;
}

.text__time__no__format {
  font-size: 14px;
  color: #838383;
}

.text__time__format {
  font-size: 14px;
  color: #989898;
}

.center_status {
  /* font-size: min(max(14px, 2.5vw), 30px); */
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.all_offline {
  padding: 20px;
  background: radial-gradient(circle,
      rgba(56, 56, 56, 1) 0%,
      rgba(21, 21, 21, 0) 79%);
  border-radius: 10px;
  text-align: center;
  /* font-size: min(max(10px, 1.8vw), 16px); */
}

::-webkit-scrollbar-thumb {
  background-color: rgb(39, 39, 39);
  border: 2px solid #232323;
  border-radius: 30px;
}

::-webkit-scrollbar {
  background: black !important;
  z-index: 12;
  overflow: visible;
}

.container_loader {
  display: flex;
  height: 10vh;
  align-items: center;
}

.loader {
  border: 5px solid;
  border-top: 5px solid;
  border-color: #4f4f4f;
  border-top-color: white;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  -webkit-animation: spin 1s ease infinite;
  animation: spin 1s ease infinite;
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#loadingStatus {
  position: fixed;
  right: 5px;
  bottom: 5px;
  padding: 6px 6px;
  background: #1313138c;
}

#loadingStatus .loader {
  width: 10px;
  height: 10px;
}

.blob.red {
  background: #ff5252;
  box-shadow: 0 0 0 0 rgb(255 82 82);
  animation: pulse-red 2s infinite;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  margin: 10px;
}

@keyframes pulse-red {
  0% {
    /* transform: scale(0.95); */
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
  }

  70% {
    /* transform: scale(1); */
    box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
  }

  100% {
    /* transform: scale(0.95); */
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}

.preview {
  top: -800px;
}

.preview-init {
  display: block;
  -webkit-transition: height 1s;
  -o-transition: height 1s;
  transition: height 1s;
  opacity: 1;
  background-color: #000;
  position: fixed;
  top: 10px;
  right: 10px;
  width: 360px;
  height: 240px;
  width: calc(360 * 90vw *.001);
  height: calc(204 * 90vw *.001);
}

.preview-hide {
  -webkit-transition: height 2s, right 2s, opacity 2s;
  -o-transition: height 2s, right 2s, opacity 2s;
  transition: height 2s, right 2s, opacity 2s;
  -webkit-transition-delay: .5s;
  -o-transition-delay: .5s;
  transition-delay: .5s;
  right: -800px;
  opacity: 0
}

.preview-unsupported {
  width: 100%;
  height: 100%;
  background-size: 50%
}

.preview-unsupported span {
  font-weight: 700;
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: 25px;
  width: 100%
}

.checkbox_enable_preview {
  width: 15px;
  height: 15px;
}

.checkBox_preview {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 0 10px 0;
  margin-top: -32px;
}

.iframe_preview {
  border-radius: 10px;
  padding: 0 2px 0px 2px;
}

#preview-box {
  border: 1px solid black;
  border-radius: 10px;
  padding: 0px 5px 0px 0px;
  z-index: 1488;
}

.notification {
  width: auto;
  height: auto;
  background: #0e0e0e;
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 1488;
  cursor: pointer;
  border: 1px solid #777;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: min(max(10px, 2vw), 14px);
  flex-direction: row;
  gap: 10px;
  transition: all 1s;
}

.btn-top {
  display: none;
  cursor: pointer;
  position: fixed;
  bottom: 0px;
  z-index: 1488;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #0c0c0c33;
  color: #fff;
  border: 1px solid #fff;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(5px);
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {

  input[type=checkbox],
  input[type=radio] {
    --active: #275EFE;
    --active-inner: #fff;
    --focus: 2px rgba(39, 94, 254, .3);
    --border: #BBC1E1;
    --border-hover: #275EFE;
    --background: #1f0f23;
    --disabled: #F6F8FF;
    --disabled-inner: #E1E6F9;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--bc, var(--border));
    background: var(--b, var(--background));
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
  }

  input[type=checkbox]:after,
  input[type=radio]:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
  }

  input[type=checkbox]:checked,
  input[type=radio]:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: .3s;
    --d-t: .6s;
    --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
  }

  input[type=checkbox]:disabled,
  input[type=radio]:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
  }

  input[type=checkbox]:disabled:checked,
  input[type=radio]:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
  }

  input[type=checkbox]:disabled+label,
  input[type=radio]:disabled+label {
    cursor: not-allowed;
  }

  input[type=checkbox]:hover:not(:checked):not(:disabled),
  input[type=radio]:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
  }

  input[type=checkbox]:focus,
  input[type=radio]:focus {
    box-shadow: 0 0 0 var(--focus);
  }

  input[type=checkbox]:not(.switch),
  input[type=radio]:not(.switch) {
    width: 21px;
  }

  input[type=checkbox]:not(.switch):after,
  input[type=radio]:not(.switch):after {
    opacity: var(--o, 0);
  }

  input[type=checkbox]:not(.switch):checked,
  input[type=radio]:not(.switch):checked {
    --o: 1;
  }

  input[type=checkbox]+label,
  input[type=radio]+label {
    font-size: 14px;
    line-height: 21px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    margin-left: 4px;
  }

  input[type=checkbox]:not(.switch) {
    border-radius: 7px;
  }

  input[type=checkbox]:not(.switch):after {
    width: 5px;
    height: 9px;
    border: 2px solid var(--active-inner);
    border-top: 0;
    border-left: 0;
    left: 7px;
    top: 4px;
    transform: rotate(var(--r, 20deg));
  }

  input[type=checkbox]:not(.switch):checked {
    --r: 43deg;
  }

  input[type=checkbox].switch {
    width: 38px;
    border-radius: 11px;
  }

  input[type=checkbox].switch:after {
    left: 2px;
    top: 2px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: var(--ab, var(--border));
    transform: translateX(var(--x, 0));
  }

  input[type=checkbox].switch:checked {
    --ab: var(--active-inner);
    --x: 17px;
  }

  input[type=checkbox].switch:disabled:not(:checked):after {
    opacity: 0.6;
  }
}