p,
li {
  color: var(--primary-text);
  font-size: 0.9rem;
}

.subpage-subt {
  text-transform: uppercase;
  padding-top: 1em;
}

.sub,
#system-holder {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--primary-text);
  opacity: 0.8;
}

.smaller-text {
  font-size: 0.8rem;
}

.smallerer-text {
  font-size: 0.7rem;
}

.center-text {
  text-align: center;
}

.italic {
  font-style: italic;
}

.underline {
  text-decoration: underline;
}

.bold {
  font-weight: bold;
}

.disclaimer {
  font-style: italic;
  font-size: 0.6rem;
  opacity: 0.6;
}

/* title section */

/* nav bar */
nav {
  font-size: 0.9rem;
  width: 100%;
}

nav li,
nav li a {
  font-size: 0.85rem;
  text-transform: capitalize;
}

.dropdown-item {
  font-size: 0.7rem;
}

.dropdown-menu {
  white-space: normal;
}

.navbar-mod {
  margin-left: 0;
  margin-right: 0;
  padding-right: 0;
}

.img-navbar {
  width: 65px;
  height: 65px;
  object-fit: cover;
  vertical-align: middle;
  border-radius: 50%;
  box-shadow: 0 0 14px 3px rgba(255, 113, 0, .7);
}

.nav-logo-sd {
  display: contents;
}

.nav-logo-hd {
  display: none;
}

@media (min-width: 768px) and (min-resolution: 1.5dppx) {
  .nav-logo-hd {
    display: inline;
  }
  .nav-logo-sd {
    display: none;
  }
}

.nav-logo-hd.nav-logo-phone {
  display: inline;
}

.nav-logo-phone + .nav-logo-sd {
  display: none;
}

.nav-item {
  padding-left: 7px;
  padding-right: 7px;
}

.top-navbar {
  background-color: var(--primary-dark);
}

#navbarNav .menu911 {
  /* text-shadow: 2px 2px 3px var(--primary-highlight); */
  color: var(--primary-highlight);
  opacity: 0.9;
  font-weight: 600;
}

#currTime {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--primary-text);
  opacity: 0.8;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 576px) {
  #currTime {
    font-style: normal;
    font-size: 0.6rem;
    margin-left: 0;
  }

  /* fix issue of navbar pushed to the right on mobile */
  .navbar {
    padding-left: 0;
  }
  .navbar-brand {
    margin-right: 0;
  }
}

/* end nav bar */

/* title */

#title h1 {
  padding-top: 2%;
}

#title h2 {
  font-size: 1rem;
  margin: 20px auto;
  color: var(--primary-text);
  text-transform: none;
}

#title h2.subhead {
  font-weight: 400;
}

#button-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 36.75rem;
  gap: .6rem;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: auto;
  margin-right: auto;
}

#button-container .btn-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .6rem;
}

#button-container .btn-row > a > button {
  width: 100%;
  padding-left: .6em;
  padding-right: .6em;
  text-align: center;
  white-space: nowrap;
}

@media (576px < width < 768px) {
  #button-container .btn-row > a > button {
    font-size: .7rem;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  #button-container .btn-row > a > button {
    font-size: .72rem;
    letter-spacing: .05em;
  }
}

@media (min-width: 1200px) and (max-width: 1313.98px) {
  #button-container .btn-row > a > button {
    font-size: .9rem;
  }
}

@media (max-width: 468.98px) {
  #button-container .btn-row-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

#button-container .home-btn {
  margin-right: 0;
}

#button-container .btn-sos {
  color: #ff9b9b;
  background:
    linear-gradient(90deg, rgba(255, 59, 59, .34), rgba(255, 59, 59, .11) 75%),
    repeating-linear-gradient(-45deg, rgba(255, 59, 59, .2) 0 4px, transparent 4px 8px),
    var(--hud-panel, #14141a);
  border-color: rgba(255, 59, 59, .78);
}

#button-container .btn-sos:hover,
#button-container .btn-sos:focus-visible {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 59, 59, .48), rgba(255, 59, 59, .2) 75%),
    repeating-linear-gradient(-45deg, rgba(255, 59, 59, .28) 0 4px, transparent 4px 8px),
    var(--hud-panel, #14141a);
  border-color: #ff6262;
  box-shadow: 0 0 12px rgba(255, 59, 59, .4);
}

.fp-cta {
  position: relative;
  overflow: hidden;
  animation: fp-glow 3.5s ease-in-out infinite;
}

.fp-cta::after,
.dropdown-item.menu-new::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: fp-sweep 3.5s ease-in-out infinite;
}

.dropdown-item.menu-new {
  position: relative;
  overflow: hidden;
}

.nv-new {
  display: inline-block;
  margin-left: .6em;
  padding: .1em .45em;
  font-size: .78em;
  letter-spacing: .14em;
  line-height: 1.3;
  color: #ff8a2a;
  border: 1px solid rgba(255, 138, 42, .7);
  border-radius: 2px;
  vertical-align: .08em;
  text-shadow: 0 0 6px rgba(255, 113, 0, .45);
}

.dropdown-item.menu-new::after {
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .2) 50%, transparent 70%);
}

@keyframes fp-sweep {
  0% { transform: translateX(-120%); }
  45%, 100% { transform: translateX(120%); }
}

@keyframes fp-glow {
  0%, 45%, 100% { box-shadow: 0 0 8px rgba(255, 113, 0, .25); }
  22.5% { box-shadow: 0 0 15px rgba(255, 113, 0, .5); }
}

@media (prefers-reduced-motion: reduce) {
  .fp-cta,
  .fp-cta::after,
  .dropdown-item.menu-new::after {
    animation: none;
  }

  .fp-cta::after,
  .dropdown-item.menu-new::after {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  #title button {
    font-size: 0.7rem;
    padding: 0.5em;
  }

  #button-container {
    width: 100%;
  }
}


.headimage {
  width: 100%;
  margin: 3% auto;
}
/* end title */

.card-body a:hover {
  text-decoration: none;
}

/* faction */
#faction {
  text-align: center;
  margin-top: 5em;
}

.last-section {
  margin-bottom: 6em;
}




/* ******************** */
/* footer               */
/* ******************** */
#footer {
  background-color: var(--footer-bg);
  padding: 3% 13%;
  margin: auto 0 0 0;
}

#footer p {
  font-size: 0.8rem;
}

#footer h5 {
  margin-top: 0;
  padding-top: 0;
}

#footer li {
  font-size: 0.8rem;
  padding: 2px;
}

#footer a {
  color: var(--primary-text);
}

/* ******************** */
/* markdown styles      */
/* ******************** */
#md-wrapper {
  margin-left: 8%;
  margin-right: 8%;
  margin-top: 50px;
  margin-bottom: 4rem;
}

#md-wrapper img {
  display: block;
  max-width: 70%;
  margin: 2rem auto 3rem auto;
  border-radius: 8px;
}

#md-wrapper table {
  max-width: 85%;
  margin: 2rem auto 3rem auto;
  border-style: solid;
  background-color: var(--primary-dark);
  box-shadow: 3px 3px 5px var(--primary-dark);
}

@media screen and (max-width: 576px) {
  #md-wrapper table {
    max-width: 100% !important;
    font-size: 0.6rem;
    overflow-wrap: break-word;
  }


  #md-wrapper img {
    max-width: 100%;
  }
}

#md-wrapper td {
  padding: 2px 5px;
  text-align: left;
  border-style: solid;
  border-width: 1px;
}

#md-wrapper th {
  padding: 2px 5px;
  text-align: left;
  border-style: solid;
  border-width: 1px;
  background-color: var(--primary-highlight);
}

iframe {
  display: block;
  text-align: center;
  margin: auto;
}

/* back to top */
#back-top {
  background-color: var(--primary-highlight);
  color: var(--primary-text);
  position: fixed;
  bottom: 20px;
  right: 30px;
  text-align: center;
  display: none;
  font-size: 0.9rem;
  padding-left: 15px;
  padding-right: 15px;
}

#back-top:hover {
  background-color: var(--primary-dark);
  color: var(--primary-text);
}
/* end back to top */
/* ********************* */
/* ********************* */

/* let icon wrapper be 80x850 pixels */

/* ******************** */
/* subpage general */
/* ******************** */
#wrapper {
  margin-left: 8%;
  margin-right: 8%;
  margin-top: 50px;
}

#wrapper section {
  margin-top: 3rem;
}

.subpage-head {
  text-transform: uppercase;
  font-weight: bold;
  color: var(--primary-text);
  margin-top: 0.5rem;
}

.subpage-subt-highlight {
  text-transform: uppercase;
  color: var(--primary-highlight);
  padding-top: 1rem;
}

.build-container {
  background-color: var(--primary-dark);
  border: 8px solid var(--primary-light);
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
}

.build-container a {
  font-size: 0.8rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}


.build-button {
  width: 80%;
  background-color: var(--primary-highlight);
  color: var(--primary-text) !important;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  padding: 5px;
  font-size: 0.75rem;
  transition: all 0.3s;
}

.build-button:hover {
  text-decoration: none !important;
  color: var(--primary-dark) !important;
  background-color: var(--primary-text);
}

.image-wrapper {
  margin-right: auto;
  margin-left: auto;
  margin-top: 10px;
  margin-bottom: 40px;
  max-width: 80%;
  text-align: center;

  display: flex;
  justify-content: center;
  align-items: center;
}

.icon {
  max-width: 80px;
  margin: 5px 20px;
}

.img-article {
  max-width: 30%;
  border-radius: 5px;
}

.img-article-lg {
  max-width: 90%;
  border-radius: 8px;
}

.back-to-top {
  font-size: 0.5rem;
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* news stuff */
.date-stamp {
  font-size: 0.6rem;
  margin-top: -5px;
  padding-top: 0;
}

.news-image {
  width: 150px;
  height: 100px;
  object-fit: cover;
  margin-top: 1rem;
}

.news-image.is-placeholder {
  object-fit: contain;
}

.news-sub {
  text-transform: capitalize;
  color: var(--primary-highlight);
  font-size: 1rem;
}

.news-a {
  color: var(--primary-highlight);
}

/* ******************** */
/* combat */
/* ******************** */

/* combat */
/* #pvecombat {
  max-width: 1366px;
  margin-left: auto;
  margin-right: auto;
}

#pvecombat,
#pvpcombat {
  padding: 6% 15%;
} */

.combat-card-text {
  font-size: 0.8rem;
}

.list-group-item {
  padding: 2%;
}

.build-col-left {
  padding-right: 3rem;
  text-align: right;
}

.build-col-right {
  padding-left: 3rem;
  text-align: left;
}

@media screen and (max-width: 568px) {
  .build-col-left {
    text-align: center;
    padding: 0;
  }

  .build-col-right {
    text-align: center;
    padding: 0;
  }
}

/* ******************** */
/* overrides */
/* START TEMP BUILD       */
/* ******************** */
button.nav-link {
  color: var(--primary-highlight);
}

button.nav-link:hover {
  color: var(--primary-highlight);
}

button.nav-link.active {
  background-color: var(--primary-highlight);
}

.nav-tabs {
  border-bottom: 2px solid #dee2e6;
}

.nav-link.active {
  border: 1px solid red;
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

.build-button2 {
  background-color: var(--primary-highlight);
  color: var(--primary-text) !important;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  padding: .5em 2em;
  font-size: 0.75rem;
  transition: all 0.3s;
  margin: auto 1em;
}

.build-button2:hover {
  text-decoration: none !important;
  color: var(--primary-dark) !important;
  background-color: var(--primary-text);
}
/* ******************** */
/* END TEMP BUILD       */
/* ******************** */


/* ******************** */
/* construction, 404 */
/* ******************** */
.construction-image {
  display: block;
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8%;
  margin-bottom: 8%;
}

@media screen and (max-width: 568px) {
  .construction-image {
    display: block;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20%;
    margin-bottom: 20%;
  }
}


@media (max-width: 991.98px) {
  .head-left { order: 2; }
  .headimage { margin-bottom: 1.5rem; }
}
.container-const {
  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;

  min-height: 600px;

  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8%;
  margin-bottom: 8%;

  background-image: url(../images/loading_bar.png);
  background-position: center;
  background-size: 60%;
  background-repeat: no-repeat;
}

#discord_login_logo {
  height: 50px;
  box-shadow: none;
  margin: 1%
}

.container-const h2 {
  text-shadow: 1px 2px 20px var(--secondar-text);
  color: var(--secondar-text);
  text-transform: uppercase;
}

@media screen and (max-width: 568px) {
  .container-const {
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    min-height: 500px;

    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    margin-bottom: 5%;

    background-image: url(../images/loading_bar.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .container-const h2 {
    text-shadow: 1px 2px 20px var(--secondar-text);
    color: var(--secondar-text);
    text-transform: uppercase;
    font-size: 1rem;
  }
}

ul.no-bullets {
  list-style-type: none; /* Remove bullets */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margins */
}
/* hero: squadron panel pinned to the bottom of the left column */
@media (min-width: 992px) {
  .head-left { display: flex; flex-direction: column; align-items: stretch; }
  .head-left .sq-live { margin-top: auto; margin-bottom: 0; align-self: center; }
  .head-left #button-container { margin-bottom: 1.25rem; align-self: center; }
}
@media (min-width: 992px) {
  .headimage { height: 100%; margin: 0; display: flex; }
  .hud-frame.headimage img { height: 100%; width: 100%; object-fit: cover; object-position: center 40%; }
}
