/* Mist Weather Media 2024 Website (Mobile) */
/* Depending on who you ask, this code stinks. */
/* Made by PicelBoi */
/* Thank god for all these CSS tutorials and such! */
/* P.S to Hainesnoids on the WR Streaming CSS - I agree, fuck mobile */

/* Global stuff that require changes for mobile usability */

/* Common variables - use this more often! */

:root {
  --main-color: #5296ab;
  --darker-color: #07151e;
  --glow-color: #a1dffd;
  --glow2-color: #95d9eeef;
  --bg-color: #16252f;
  --light-color: #ffffff;
  --dark-color: #000;
  --text-color: #000000;
  --grey-color: #6e6e6e;
  --darkgrey-color: #101010;
  --blacktranslucent-color: #00000080;
  --blacksemitranslucent-color: #000000a0;
  --bluesemitranslucent1-color: #40737e55;
  --gap: 1%;
}

body,
html {
  height: 100%;
  min-height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  font-size: 1em;
  text-rendering: optimizeLegibility;
  background-color: #16252f;
  background-color: var(--bg-color);
  color: #ffffff;
  color: var(--light-color);
  overflow: hidden;
  behavior: url(PIE.htc);
}

input[type="text"] {
  height: 2em;
}

/* checkbox styling */

.checkboxtext {
  /* Checkbox text */
  display: flex;
  float: right;
  align-items: center;
  height: 100%;
  margin: auto;
}

.checkbox-container {
  display: flex;
  align-items: center;
}

.checkbox-container label {
  cursor: pointer;
  display: flex;
  font-size: 0.4em;
}

.checkbox-container input[type="checkbox"] {
  cursor: pointer;
  opacity: 0;
  position: absolute;
}

.checkbox-container label::before {
  content: "";
  width: 0.7em;
  height: 0.7em;
  border-radius: 0.15em;
  margin-right: 0.5em;
}

.checkbox-container input[type="checkbox"]:disabled + label,
.checkbox-container input[type="checkbox"]:disabled {
  cursor: default;
}

.checkbox-container input[type="checkbox"]:checked + label::before {
  content: "\002714";
  display: flex;
  justify-content: center;
  align-items: center;
}

.mistbutton {
  background: #5296ab;
  background: var(--main-color);
  border: 0px;
  color: #ffffff;
  color: var(--light-color);
  padding: 2%;
  font-family: "Rubik";
  font-weight: bold;
  font-size: 1.5em;
  border-radius: 5px;
  text-shadow: 5px 5px 5px #000;
  box-shadow: 3px 3px 3px #000;
  transition: font-size 0.3s, box-shadow 0.3s;
}

.mistbutton:hover {
  box-shadow: 0px 0px 5px #a1dffd;
  box-shadow: 0px 0px 5px var(--glow-color);
}

a,
a:hover,
a:visited,
a:active {
  color: inherit;
  text-decoration: none;
}

select {
  /* Bunch of stuff to remove most of the default select stuff... */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  padding: 0 1em 0 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  outline: none;
  background-color: #16252f;
  background-color: var(--bg-color);
  color: #ffffff;
  color: var(--light-color);
  flex: 1;
  font-size: 3vw;
}

/* IE Support Stuff! */
select::-ms-expand {
  display: none;
}

.select {
  width: 100%;
  border: 3px solid #a1dffd;
  border: 3px solid var(--glow-color);
  cursor: pointer;
  background-color: #16252f;
  background-color: var(--bg-color);
  box-shadow: 0 0 5px #a1dffd;
  box-shadow: 0 0 5px var(--glow-color);
  padding: 1%;
  border-radius: 10px;
}

.select-back {
  color: #a1dffd;
  color: var(--glow-color);
  font-size: 1.5vw;
  pointer-events: none;
}

/* mobile navbar */

.topnav {
  display: none;
}

#mobilenav {
  width: 100vw;
  flex: 0.35 0.35;
  background: #5296ab;
  background: linear-gradient(#5296ab, #07151e);
  background: linear-gradient(var(--main-color), var(--darker-color));
  color: #ffffff;
  color: var(--light-color);
  bottom: 0;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 0 10mm #000;
  z-index: 90;
  white-space: nowrap;
  align-content: center;
}

#mobilenav a {
  cursor: pointer;
}

#mobilenavtop {
  padding-left: 1%;
  padding-right: 1%;
  display: inline-block;
  width: 98%;
}

#mobilenavbottom {
  padding-left: 1%;
  padding-right: 1%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 3cqmax;
}

#hamburger {
  float: right;
  cursor: pointer;
  margin-right: 3vw;
  margin-top: 0.5vh;
  z-index: 91;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: #ffffff;
  background-color: var(--light-color);
  margin: 6px 0;
  transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

/* Fade out the second bar */
.change .bar2 {
  opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

#mobilewxinfo {
  margin-top: 0;
}

#mistlogomobile {
  float: left;
  font-size: 20px;
  width: 0;
  margin-left: 3vw;
  transition: -webkit-filter 0.3s;
  transition: filter 0.3s;
  transition: filter 0.3s, -webkit-filter 0.3s;
}

#mistlogomobile:hover {
  -webkit-filter: drop-shadow(0px 0px 7px #a1dffd);
  -webkit-filter: drop-shadow(0px 0px 7px var(--glow-color));
  filter: drop-shadow(0px 0px 7px #a1dffd);
  filter: drop-shadow(0px 0px 7px var(--glow-color));
}

.MobileIcon {
  position: relative;
  height: 3cqh;
  width: auto;
  top: 0.7cqh;
  transition: -webkit-filter 0.3s;
  transition: filter 0.3s;
  transition: filter 0.3s, -webkit-filter 0.3s;
}

.MobileIcon:hover {
  -webkit-filter: drop-shadow(0px 0px 7px #a1dffd);
  -webkit-filter: drop-shadow(0px 0px 7px var(--glow-color));
  filter: drop-shadow(0px 0px 7px #a1dffd);
  filter: drop-shadow(0px 0px 7px var(--glow-color));
}

.IconSelected {
  -webkit-filter: drop-shadow(0px 0px 7px #a1dffd);
  -webkit-filter: drop-shadow(0px 0px 7px var(--glow-color));
  filter: drop-shadow(0px 0px 7px #a1dffd);
  filter: drop-shadow(0px 0px 7px var(--glow-color));
}

#weatherscan {
  font-weight: 700;
  font-size: 4cqh;
  transition: -webkit-filter 0.3s;
  transition: filter 0.3s;
  transition: filter 0.3s, -webkit-filter 0.3s;
}

#weatherscan:hover {
  -webkit-filter: drop-shadow(0px 0px 7px #a1dffd);
  -webkit-filter: drop-shadow(0px 0px 7px var(--glow-color));
  filter: drop-shadow(0px 0px 7px #a1dffd);
  filter: drop-shadow(0px 0px 7px var(--glow-color));
}

@keyframes mmenuup {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes mmenudown {
  from {
    transform: translateY(0%);
    opacity: 1;
  }

  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.mmenuup {
  animation: mmenuup 0.5s;
}

.mmenudown {
  animation: mmenudown 0.5s;
}

#mobilemenu {
  position: absolute;
  height: 92vh;
  width: 100vw;
  top: 0;
  overflow: hidden;
  z-index: 80;
  opacity: 1;
  transform: translateY(100%) scale3d(1, 1, 1);
  border-spacing: 100px;
  pointer-events: none;
  will-change: transform, opacity, height;
}

#timeandwx {
  position: absolute;
  height: 12cqh;
  top: 50cqh;
  width: 100vw;
  background: #5296ab;
  background: linear-gradient(#5296ab, #07151e);
  background: linear-gradient(var(--main-color), var(--darker-color));
  text-align: center;
  font-size: 1.3vh;
  align-content: center;
  pointer-events: auto;
}

#mobilemenuhoverbg {
  position: absolute;
  top: 0;
  height: 92cqh;
  width: 100vw;
  background-color: #5296ab;
  background-color: var(--main-color);
  background-color: color-mix(in srgb, var(--main-color) 80%, transparent);
  padding-top: 1%;
  padding-left: 1%;
  padding-right: 4%;
  padding-bottom: 68cqh;
  word-wrap: break-word;
  overflow: hidden;
  font-family: "LiberationMono", monospace;
  font-size: 2em;
  text-shadow: 2px 2px 0 black;
  z-index: 79;
  transform: translate3d();
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

#hoverbgvis {
  height: 50cqh;
  width: 98vw;
  overflow-x: hidden;
  overflow-y: scroll;
  word-wrap: break-word;
  will-change: height;
}

#buttonsmm {
  pointer-events: auto;
  position: absolute;
  height: 30cqh;
  top: 62cqh;
  width: 100vw;
  background-image: linear-gradient(
      to right,
      var(--bluesemitranslucent1-color) 3px,
      transparent 3px
    ),
    linear-gradient(
      to bottom,
      var(--bluesemitranslucent1-color) 3px,
      transparent 3px
    ),
    linear-gradient(
      var(--blacksemitranslucent-color),
      var(--blacksemitranslucent-color)
    ),
    url("images/bg.webp");
  background-position: center;
  background-size: cover;
  overflow-x: hidden;
  overflow-y: scroll;
}

.buttonmm {
  background-color: var(--dark-color);
  height: 12vh;
  width: 100cqw;
  overflow: hidden;
  font-size: 0.6rem;
  cursor: pointer;
}

.buttonbgmm {
  margin: 0;
  width: 100vw;
  height: 12vh;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: #07151e;
  background-color: var(--darker-color);
  overflow: hidden;
  -webkit-filter: blur(2px);
  filter: blur(2px);
}

.buttontextmm {
  position: relative;
  z-index: 2;
  top: -12vh;
  left: 4%;
}

.buttonbgiconmm {
  position: relative;
  height: 12vh;
  width: 12vh;
  object-fit: contain;
  object-position: center;
  float: right;
  right: 4%;
  -webkit-filter: brightness(45%);
  filter: brightness(45%);
}

#buttonbghome {
  background: linear-gradient(
      var(--blacksemitranslucent-color),
      var(--blacksemitranslucent-color)
    ),
    url("images/mobilebuttonbg/home.webp");
  background-size: cover;
  background-position: center;
}

#buttonbgguide {
  background: linear-gradient(
      var(--blacksemitranslucent-color),
      var(--blacksemitranslucent-color)
    ),
    url("images/mobilebuttonbg/guide.webp");
  background-size: cover;
  background-position: center;
}

#buttonbgfrostcast {
  background: linear-gradient(
      var(--blacksemitranslucent-color),
      var(--blacksemitranslucent-color)
    ),
    url("images/mobilebuttonbg/frostcast.webp");
  background-size: cover;
  background-position: center;
}

#buttonbgbulletin {
  background: linear-gradient(
      var(--blacksemitranslucent-color),
      var(--blacksemitranslucent-color)
    ),
    url("images/mobilebuttonbg/bulletin.webp");
  background-size: cover;
  background-position: center;
}

#buttonbgpanel {
  background: linear-gradient(
      var(--blacksemitranslucent-color),
      var(--blacksemitranslucent-color)
    ),
    url("images/mobilebuttonbg/panel.webp");
  background-size: cover;
  background-position: center;
}

#buttonbgsims {
  background: linear-gradient(
      var(--blacksemitranslucent-color),
      var(--blacksemitranslucent-color)
    ),
    url("images/mobilebuttonbg/sims.webp");
  background-size: cover;
  background-position: center;
}

#buttonbgdiscord {
  background: linear-gradient(
      var(--blacksemitranslucent-color),
      var(--blacksemitranslucent-color)
    ),
    url("images/mobilebuttonbg/discord.webp");
  background-size: cover;
  background-position: center;
}

#buttonbglastplayed {
  background: linear-gradient(
      var(--blacksemitranslucent-color),
      var(--blacksemitranslucent-color)
    ),
    url("images/mistbg2025.webp");
  background-size: cover;
}

#buttonbgsettings {
  background: linear-gradient(
      var(--blacksemitranslucent-color),
      var(--blacksemitranslucent-color)
    ),
    url("images/mobilebuttonbg/settings.webp");
  background-size: cover;
  background-position: center;
}

/* Mist Weather Media Guide (THIS IS PAIN) */

#timeanddate {
  display: none;
}

#guidebg {
  background: #5296ab;
  background: linear-gradient(-130deg, #000, #000, #5296ab);
  background: linear-gradient(-130deg, #000, #000, var(--main-color));
  background: linear-gradient(
    -130deg,
    var(--dark-color),
    var(--dark-color),
    var(--main-color)
  );
  width: 100%;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex: 4;
  display: flex;
  font-size: 2em;
}

#guidedybg {
  position: absolute;
  width: 100%;
  height: 92vh;
  z-index: 0;
  -o-object-fit: cover;
  object-fit: cover;
  background-size: cover;
  -webkit-filter: blur(4px);
  filter: blur(4px);
  overflow-y: scroll;
}

#guidedybgold {
  position: absolute;
  width: 100%;
  height: 92vh;
  z-index: 1;
  -o-object-fit: cover;
  object-fit: cover;
  background-size: cover;
  -webkit-filter: blur(4px);
  filter: blur(4px);
}

#ad {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 70cqw;
  margin: auto;
  margin-top: 2%;
  margin-bottom: 2%;
  overflow-x: hidden;
  position: relative;
}

#guidead {
  position: relative;
  width: 70cqw;
}

#guideadold {
  position: absolute;
  width: 70cqw;
}

@-webkit-keyframes slide-in {
  from {
    left: 70cqw;
  }

  to {
    left: 0cqw;
  }
}

@keyframes slide-in {
  from {
    left: 70cqw;
  }

  to {
    left: 0cqw;
  }
}

@-webkit-keyframes slide-out {
  from {
    right: 0cqw;
  }

  to {
    right: 70cqw;
  }
}

@keyframes slide-out {
  from {
    right: 0cqw;
  }

  to {
    right: 70cqw;
  }
}

.slidein {
  -webkit-animation: slide-in 1s;
  animation: slide-in 1s;
}

.slideout {
  -webkit-animation: slide-out 1s;
  animation: slide-out 1s;
}

#guide {
  position: absolute;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 92vw;
  height: 88vh;
  background: #5296ab;
  background: #5296aba0;
  background: color-mix(in srgb, var(--main-color) 60%, transparent);
  background-size: cover;
  flex: 1;
  padding: 4%;
  overflow-x: hidden;
  overflow-y: scroll;
}

#guide::after {
  content: " "; /* Older browser do not support empty content */
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

#MSLogo {
  font-size: 0.6rem;
}

.rightsidechannel {
  float: right;

  flex-direction: column;
  width: 80%;
  height: 100%;
  text-align: left;
}

.leftsidechannel {
  float: left;
  width: 20%;
  height: 100%;
  display: flex;
}

.channelinfo {
  color: #ffffff70;
  font-size: 0.8rem;
}

.channelimage {
  width: 2em;
  height: 2em;
  -o-object-fit: contain;
  object-fit: contain;
  margin: auto;
}

.channeltitle {
  font-size: 1.5rem;
  z-index: 2;
}

.channelbg {
  height: 100%;
  aspect-ratio: 16/9;
  float: right;
  display: none;
}

#guidewrapper {
  width: 100%;
  height: 100%;
  opacity: 100%;
}

#leftsideguide {
  width: 100%;
}

#rightsideguide {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#channels {
  position: absolute;
  overflow: hidden;
  width: 90vw;
}

#channellist {
  width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  display: block;
  margin-bottom: 2vh;
}

#channelfilter {
  flex: 1;
}

#MWMFilterStream {
  width: 19em;
}

#MWMbottomselect {
  display: flex;
  flex-direction: row;
  margin-top: 1%;
  width: 100%;
}

.channel {
  background: #16252f;
  background: var(--bg-color);
  border-radius: 15px;
  border: 1mm solid #5296ab;
  border: 1mm solid var(--main-color);
  width: 97%;
  margin: 1%;
  height: 20cqh;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
}

#status {
  height: 10px;
  width: 100%;
  margin-bottom: 0%;
  font-size: 1rem;
}

.normal {
  font-size: 95%;
}

#description {
  height: 3cqh;
  width: 96.5%;
  display: flex;
  text-align: left;
  margin-bottom: 1%;
  padding: 2%;
  border-radius: 0.6em;
  overflow-y: scroll;
  overflow-x: hidden;
  background-color: #00000080;
}

#descriptionpara {
  font-size: 2em;
  margin-top: auto;
  margin-bottom: auto;
  font-family: "standardregular";
}

#chatdivider {
  margin: 0.4%;
}

#chatwindow {
  background-color: #5296ab;
  background-color: #5296aba0;
  background-color: color-mix(in srgb, var(--main-color) 55%, transparent);
  border-radius: 15px;
  border: 1mm solid #5296ab;
  border: 1mm solid var(--main-color);
  padding: 2%;
  width: 95%;
  overflow: hidden;
}

#innerchat {
  overflow: auto;
  height: 5cqh;
  font-size: 0.5em;
  background-color: #00000000;
}

#chatinput {
  width: 95%;
  margin: auto;
  line-height: 1cqh;
  color: #606060;
}

#GuideShowUnavailable {
  float: right;
  margin: 2%;
}

#chattype {
  width: 98.5%;
}

.channelselected {
  position: relative;
  border: 2mm solid #a1dffd;
  border: 2mm solid var(--glow-color);
  box-shadow: 0 0 20px #a1dffd;
  box-shadow: 0 0 20px var(--glow-color);
  width: 80vw;
  left: 2.55vw;
}

.channelunavailable {
  background: #202020;
  border: 0mm solid #a1dffd;
  border: 0mm solid var(--glow-color);
  color: #303030;
}

#viewcount {
  display: inline;
  float: right;
  color: #ffffff70;
  margin-bottom: 1%;
  font-family: "standardregular";
}

#chaninfoid {
  display: inline;
  float: left;
  margin-bottom: 1%;
  font-family: two_weekend_gosemibold;
}

#info {
  width: 100%;
  clear: both;
  font-size: 0.6rem;
}

#video {
  position: relative;
  height: 30cqh;
}

#timeanddate {
  position: relative;
  clear: both;
  width: 100%;
}

#time {
  display: inline-block;
  font-size: 2vw;
}
#date {
  display: inline;
  font-size: 2vw;
  font-weight: lighter;
  float: right;
}

#MSLogo {
  font-size: 1em;
}

#GuideLoading {
  font-size: 1em;
}

.channelinfo2 {
  position: relative;
  float: left;
  height: 100%;
}

.guideselectname {
  position: relative;
  font-size: 1rem;
}

.guideselect {
  font-size: 2rem;
}

.guideselectwrapper {
  width: 93vw;
}

#CategorySelectWrapper {
  width: 86vw;
}

#SortSelectWrapper {
  width: 86vw;
}

#chat {
  position: relative;
  height: 30%;
}

.chatname {
  display: inline;
}

.chatmsg {
  display: inline;
}

#chattext {
  box-sizing: border-box;
  width: 100%;
}

/* Disable weather widget on mobile */
#WeatherWidget {
  display: none;
}

.WXForecast {
  display: none;
}

.WXForecastTemps {
  display: none;
}

#FTHigh {
  display: none;
}

#FTLow {
  display: none;
}

#WIconWidget {
  display: none;
}

#WXMistLogo {
  display: none;
}

#WXMistLogoWrapper {
  display: none;
}

#WX15DayForecast {
  display: none;
}

#WXMistLogo {
  display: none;
}

#WXTempNow {
  display: none;
}

#WXConditionNow {
  display: none;
}

#WXLongConditions {
  display: none;
}

.WXForecastIcon {
  display: none;
}

#fifteendayforecast {
  display: none;
}

#WXHeader {
  display: none;
}

#WXWidgetCredits {
  display: none;
}

#PLEASEFUCKINGHIDEONMOBILEGODDAMNIT {
  display: none;
}

/* Disable footer */
#footerdiv {
  display: none;
}

/* Mist Mobile Home Page */

#page {
  flex: 4;
  width: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
}

#mmedia {
  display: none;
}

#gettothetop {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 70%, #000000),
    linear-gradient(rgba(63, 84, 94, 0.5), rgba(63, 84, 94, 0.5)),
    url(images/mistbg2025.webp);
  width: 100%;
  min-height: 80cqh;
  background-size: cover;
  color: white;
  overflow: hidden;
  -webkit-animation: 0.5s ease-in-out 1 fadein;
  animation: 0.5s ease-in-out 1 fadein;
  position: relative;
}

#homepagemobilecenter {
  display: flex;
  flex-direction: column;
  padding: 4%;
  justify-content: center;
}

#motto {
  font-size: 4em;
  font-family: "Rubik";
}

#welcomeheading {
  font-size: 3em;
}

#welcomeparagraph {
  font-size: 1em;
}

#WTSLink {
  position: absolute;
  top: 6vh;
  left: 70vw;
  font-size: 1em;
}

#welcomebutton {
  background: radial-gradient(rgb(255, 255, 255), rgb(200, 200, 200));
  text-align: center;
  color: #5296ab;
  color: var(--main-color);
  border-radius: 10px;
  vertical-align: middle;
  font-family: "Rubik";
  padding: 1%;
}
#welcomebutton:hover {
  background: #5296ab;
  background: radial-gradient(#5296ab, #16252f);
  background: radial-gradient(var(--main-color), var(--bg-color));
  text-align: center;
  color: #ffffff;
  border-radius: 10px;
  vertical-align: middle;
  font-family: "Rubik";
}
#welcomebutton a {
  color: inherit;
  text-decoration: none;
}
#welcomebutton a:hover {
  color: #ffffff;
  text-decoration: none;
}
#welcomebuttontext {
  vertical-align: middle;
  font-size: 2vh;
}

#showcaseheading {
  margin-left: 0.5em;
  font-size: 2em;
}

#mttheader {
  margin-left: 0.5em;
  font-size: 2em;
}

#meettheteam {
  padding-top: 0.5%;
  padding-bottom: 10%;
}

partnerlogo {
  -o-object-fit: contain;
  object-fit: contain;
}

.partnerlist {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 1%;
  overflow: hidden;
  min-width: 100%;
}

.partnercopy {
  height: 12vh;
  flex-shrink: 0;
  float: left;
  display: flex;
  flex-direction: row;
  min-width: 100%;
  justify-content: space-around;
  -webkit-animation: movepartners 60s linear infinite;
  animation: movepartners 60s linear infinite;
  overflow: hidden;
}

#partnerlist1 {
  margin-top: 1%;
}

#partners {
  display: flex;
  flex-direction: column;
  overflow: visible;
  min-width: 0px;
  background-color: rgb(0, 0, 0, 0.35);
}

#TheTeam {
  font-size: 1em;
}

.MTTLogo {
  height: 0.8em;
  width: auto;
}

#partners {
  display: flex;
  flex-direction: column;
  overflow: visible;
  min-width: 0px;
  margin-bottom: 8vh;
  /*animation: movepartners 25s linear infinite;*/
}

#partnerwrapper {
  overflow: hidden;
}

/* Frostcast CSS */

#MistFC {
  display: flex;
  background: #16252f;
  background: linear-gradient(#16252f, #5296ab);
  background: linear-gradient(var(--bg-color), var(--main-color));
  flex: 4;
  flex-direction: column;
}
#MistFCVisualizer {
  width: 100cqw;
  height: 70cqh;
  background: linear-gradient();
  position: absolute;
  top: 0;
}

#MistFCDynBG {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  background-color: #16252f;
  background-color: var(--bg-color);
  -webkit-filter: blur(16px);
  filter: blur(16px);
}

#MistFCDynBGGrid {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  background-size: 40px 40px;
  background-image: #5296ab;
  background-image: linear-gradient(to right, var(#5296ab) 3px, transparent 3px),
    linear-gradient(to bottom, var(#5296ab) 3px, transparent 3px);
  background-image: linear-gradient(
      to right,
      var(--main-color) 3px,
      transparent 3px
    ),
    linear-gradient(to bottom, var(--main-color) 3px, transparent 3px);
  opacity: 60%;
}

#MistFCInfo {
  position: absolute;
  z-index: 2;
  top: 10%;
  left: 50%;
  right: 50%;
  transform: translate(-50%, -5%);
  font-size: 2vw;
  margin-inline: auto;
  width: 90%;
  font-size: 0.8rem;
}
#MistFCContent {
  width: 100%;
}

#MistFCCover {
  width: 15vw;
  height: 15vw;
  margin: 1px;
}

.duration-bar {
  width: 100%;
  height: 1vh;
  background-color: #444;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: black 1px 0 10px;
  position: relative;
  margin-top: 10px;
  z-index: 1;
}

.duration-bar .progress {
  background-color: white;
  height: 100%;
  width: 0;
}

.audio-visualizer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0.5;
  background-color: transparent;
  z-index: 2;
}

canvas {
  width: 100%;
  height: 100%;
}

#MistFCChannels {
  position: absolute;
  bottom: 8vh;
  width: 100vw;
  height: 22cqh;
  background-color: #5296ab;
  background-color: linear-gradient(#5296ab, #07151e);
  background: linear-gradient(var(--main-color), var(--darker-color));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: scroll;
  overflow-y: hidden;
  flex-direction: row;
}

#MistFCChannelsWrapper {
  min-width: 12cqw;
  height: 20cqh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: hidden;
  overflow-x: hidden;
}

.station {
  position: relative;
  height: 80%;
  min-width: 15cqw;
  flex-shrink: 0;
  flex-basis: 80%;
  background: #5296ab;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 10px 10px 10px var(--blacksemitranslucent-color);
  min-height: -webkit-min-content;
  min-height: -moz-min-content;
  min-height: min-content;
}

.stationimage {
  height: 8cqh;
  width: 8cqh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.stationinfo {
  position: absolute;
  text-align: center;
  background: var(--blacksemitranslucent-color);
  font-size: 1cqh;
  width: 100%;
  height: 100%;
  margin: 1%;
}

.stationselected {
  border: solid 7px #a1dffd;
  border: solid 7px var(--glow-color);
  box-shadow: 0 0 12px #a1dffd;
  box-shadow: 0 0 12px var(--glow-color);
}

.MistFCLogo {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
  font-size: 2em;
  text-align: center;
  opacity: 10%;
}

/* Mist Bulletin CSS */
.MistBLButton {
  width: 90%;
  height: 20%;
  background-color: #07151e;
  background-color: var(--darker-color);
  border: solid 4px #5296ab;
  border: solid 4px var(--main-color);
  border-radius: 1cqw;
  margin: auto;
  margin-bottom: 1%;
  overflow: hidden;
  padding: 1%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  font-size: 1em;
}

#BulletinHeader {
  font-size: 3em;
}
#BulletinSubheader {
  font-size: 1em;
}

.MistBLBG {
  height: 100%;
  aspect-ratio: 16/9;
  float: left;
}

.MistBLInfo {
  float: right;
}

.LeftSideBulletin {
  float: left;
  text-align: left;
  vertical-align: top;
}

.RightSideBulletin {
  text-align: right;
}

.BulletinBanner {
  position: relative;
  height: 40vh;
  width: 100%;
  background-image: url(images/bg.webp);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.BulletinBannerText {
  margin: auto;
  height: auto;
}

.BulletinText {
  width: 60%;
  margin: auto;
  text-justify: auto;
  text-align: justify;
  font-size: 1em;
}

.BulletinDate {
  font-size: 15cqw;
  text-align: center;
  z-index: 0;
  color: #ffffff70;
  margin-bottom: 0.1em;
}

.mistbuttonbulletin {
  font-size: 1.5em;
}

#BulletinTitle {
  font-size: 2em;
}

#BulletinDescription {
  font-size: 1em;
}

#bulletin {
  overflow-y: scroll;
  flex: 4;
}

/* MWM Panel CSS */

#MistPanel {
  padding: 1%;
  flex: 4;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#MistPanelContent {
  display: flex;
  overflow-y: scroll;
  overflow-x: hidden;
  flex-direction: column;
  flex-shrink: 1;
  flex-grow: 0;
  min-height: 0;
  min-width: 0;
}

#MistPanelLeft {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#panelvideo {
  border: solid 0.2vw #506070;
  margin-bottom: 1vw;
  height: 30cqh;
}

#mistinnerchat {
  overflow: auto;
  height: 100%;
  font-size: 1cqh;
  height: 3cqh;
}

#mistchatinput {
  margin: auto;
  line-height: 1cqh;
  color: #606060;
}

#mistchattype {
  width: 100%;
}

#mistchatwindow {
  background-color: #36454f80;
  border-radius: 15px;
  border: 1mm solid #36454f;
  padding: 2%;
  overflow: hidden;
}

#MistPanelRight {
  width: 100%;
  margin-top: 1cqh;
}

#MistPanelInfo {
  background-color: #36454f80;
  padding: 2%;
  border-radius: 15px;
  border: 1mm solid #36454f;
  position: relative;
}

#MPIRight {
  float: right;
}

#CIconPanel {
  width: 10cqh;
}

#MistPanelEditTitle {
  font-size: 1.5rem;
  width: 100vw;
}

#PanelEditButton {
  position: relative;
  float: right;
  color: #ffffffaa;
}

#paneldescription {
  width: 96.5%;
  background: #16252f;
  background: var(--bg-color);
  display: flex;
  text-align: left;
  padding: 2%;
  border-radius: 15px;
  overflow-y: scroll;
  overflow-x: hidden;
}

#paneldescriptionpara {
  width: 100%;
  font-size: 1em;
  margin-top: auto;
  margin-bottom: auto;
  font-family: "standardregular";
}

#MistPanelEditDescription {
  width: 100%;
  font-size: 1em;
}

/* Loading */
#loading {
  padding: 1%;
}

#loading h1 {
  font-size: 3em;
}

#loading h3 {
  font-size: 1em;
  text-align: center;
}

#loading {
  padding: 1%;
}

#loadingin {
  pointer-events: none;
}

#loadingin h1 {
  font-size: 3em;
}

#loadingin h3 {
  font-size: 1em;
  text-align: center;
}

/* Icons */
.MistyLoading {
  width: 1em;
  height: auto;
}
.MistyLoadingBig {
  width: 6em;
  height: auto;
}

/* Simulator page */

#SimDiv {
  flex: 4;
  overflow: scroll;
}

.SimButton {
  font-size: 2cqh;
}

.grid {
  grid-template-columns: minmax(-webkit-fit-content);
  grid-template-columns: minmax(fit-content);
  grid-template-rows: auto auto auto auto;
}

/* Homepage featured partners and products */
#feaprodheader {
  margin-left: 0.5em;
  font-size: 2em;
}

#featured {
  padding-top: 0.1%;
  padding-bottom: 5%;
  background-color: #00000040;
}

#featuredchannels {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.featuredChannel {
  padding: 1%;
  text-align: center;
  background: linear-gradient(#000000bb, #000000bb),
    url(https://cdn-preview2.weatherscan.net/snapshot_zachnet-ch1.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: 8px 8px 0 #000000a0;
  border-radius: 10px;
  transition: text-shadow 500ms, box-shadow 500ms, padding 500ms;
}

.featuredChannel:hover {
  text-shadow: 0 0 3px #a1dffd;
  box-shadow: 4px 4px 0 #a1dffda0;
  padding: 0.5%;
}

.fCIcon {
  width: 20vw;
  height: 20vw;
  -o-object-fit: cover;
  object-fit: cover;
}

#featuredheading {
  margin-left: 0.5em;
  font-size: 2em;
}

/* Stream with us page */
#streamwithus {
  display: flex;
  width: 100%;
  flex: 4;
  align-items: center;
  justify-content: center;
}

#swuwindow {
  width: 80vw;
}

/* Settings */
#settingspage {
  flex: 4;
  overflow-x: auto;
  overflow-y: scroll;
}

/* credits */
#credits {
  flex: 4;
  overflow-y: scroll;
}
