body {
  background-image: url("/static/images/bg.png");
  background-position: center top;
  background-repeat: repeat-y;
  background-attachment: fixed;
  background-size: cover;
}

/* Content panel styling (Bootstrap 5 compatible) */
.content-panel {
  min-height: 20px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Sidebar panel styling (Bootstrap 5 compatible) */
.sidebar-panel {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.content-panel-secondary {
  background-color: #f8f9fa;
}

.table th {
  text-align: center;
  vertical-align: middle;
}

body,
a {
  cursor: url("/static/maplestory.cur"), default;
}

.yt-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
}
.yt-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

p.reset_timer {
  font-weight: bold;
}

h2.page-title {
  text-align: center;
}

section.notice {
  width: 100%;
  position: fixed; /*Set to "absolute" to leave the notice bar at the top only.*/
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
  text-align: center;
  height: 27px;
}

marquee,
span.notice {
  margin-top: 3px;
  font-weight: normal;
  font-family: arial;
  letter-spacing: 0px;
  font-size: 15px;
  color: #ffff22;
}

span.sensitive-data-span {
  background-color: black;
  color: black;
}

.hidden_form_element {
  display: none;
}

html {
  height: 100%;
}

.site-logo {
  z-index: -1;
}

.standalone_btn_div {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  text-align: center;
}

.standalone_btn_div > a {
  width: auto;
  display: inline;
  margin: auto;
}

.recaptcha_warning_div {
  text-align: center;
}

.recaptcha_warning {
  margin: auto;
  margin-top: 25px;
}

.wrong {
  color: red;
}

.promocode_textbox {
  background-color: #c9fdc9;
}

.g-recaptcha > div {
  margin: auto;
}

.discord-widget {
  min-height: 80px;
}

.character_name {
  color: #6699ff;
  text-decoration: none !important;
}

.donor_name {
  color: #ffb366;
}

.guild_name_link {
  color: #000000;
  text-decoration: none !important;
}

.class_link {
  color: #000000;
  text-decoration: none !important;
}

section.streamtitle {
  width: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2;
  text-align: center;
  height: 27px;

  color: #ffffff;
  font-weight: bold;
}

section.streamsubtitle {
  width: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2;
  text-align: center;
  height: 27px;
  bottom: 0px;

  color: #ffffff;
  font-weight: bold;
}

.streamsubtitle > marquee,
.streamsubtitle > div > span.notice {
  color: #ffffff;
  font-weight: bold;
}

.twitch_container:hover > .overlay {
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.5;
}

.youtube_container:hover > .overlay {
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.5;
}

a.stream_link {
  text-decoration: none !important;
}

.no_border_on_focus:focus {
  outline: 0px;
}

.notice-tooltip.tooltip-inner {
  max-width: 100% !important;
  font-size: 15px;
}

.loading-container {
  display: none;
  text-align: center;
}

a:hover,
button:hover {
  animation: link_cursor 0.54s infinite;
}

@keyframes link_cursor {
  0% {
    cursor: url("/static/cursor/link_cur1.cur"), auto;
  }
  22.22% {
    cursor: url("/static/cursor/link_cur2.cur"), auto;
  }
  50% {
    cursor: url("/static/cursor/link_cur3.cur"), auto;
  }
  77.77% {
    cursor: url("/static/cursor/link_cur4.cur"), auto;
  }
  100% {
    cursor: url("/static/cursor/link_cur1.cur"), auto;
  }
}

@import url("//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700");

/* Bootstrap 5 navbar styling to match Bootstrap 3 appearance */
.navbar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 50px;
  margin-bottom: 21px;
}

/* Bootstrap 5 navbar-dark link color override (Bootswatch Cosmo fix) */
.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 15px !important;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
  color: rgba(255, 255, 255, 1) !important;
}

.navbar-dark .navbar-brand {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-dark .dropdown-toggle::after {
  border-top-color: rgba(255, 255, 255, 0.85);
}
