/** @format */

body {
  font-family: 'Droid Sans', sans-serif;
  color: white;
  background: black;
}

a,
.link {
  color: #e66;
  text-decoration: underline;
  cursor: pointer;
}

a:hover,
.link:hover {
  color: #ffcaca;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#no-webgl {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  margin-top: 20px;
  display: none;
}

#canvas {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#canvas-holder {
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

#load-cover {
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#loader {
  background: black;
  cursor: default;
  color: white;
  position: absolute;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 250px;
  height: 50px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
}

#loader-text {
  display: inline-block;
  vertical-align: text-bottom;
  line-height: 50px;
}

#spinner {
  display: inline-block;
  height: 50px;
  width: 50px;
  position: relative;
}

#sat-hoverbox {
  background: black;
  cursor: default;
  color: white;
  position: absolute;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 99999999;
}

#sat-infobox {
  background: black;
  cursor: default;
  color: white;
  position: absolute;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  right: 0px;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  height: 225px;
  min-width: 200px;
  display: none;
}

#all-objects-link {
  font-size: 12px;

  margin: 5px 0;
}

#sat-info-title {
  text-align: center;
  margin-bottom: 5px;
  font-size: 18px;
}

.sat-info-row {
  text-align: center;
  margin-bottom: 5px;
  height: 18px;
}

.sat-info-key,
.sat-info-value {
  display: inline-block;
  height: 18px;
}

.sat-info-key {
  font-size: 14px;
  color: #aaa;
  float: left;
  padding-right: 20px;
}

.sat-info-value {
  float: right;
}

.search-hilight {
  font-weight: bold;
  color: #faa;
}

.search-result {
  padding: 5px;
  height: 28px;
  line-height: 28px;
}

.search-result:hover {
  background: #c33;
  cursor: pointer;
}

.search-result-intldes {
  font-size: 12px;
  height: 28px;
  float: right;
  margin-right: 10 px;
}

#search {
  background: rgba(0, 0, 0, 0);
  border: none;
  border-bottom: 1px solid white;
  color: white;
  font-family: 'Droid Sans', sans-serif;
  font-size: 16px;
  outline: none;
}

.menubar {
  width: 300px;
  height: 30px;
  position: absolute;
  top: 5px;
  left: 0;
  z-index: 99999;
}

#constellation-name {
  width: 100%;
  line-height: 30px;
  text-align: center;
  font-size: 16px;
}

#search-holder {
  width: 100%;
  line-height: 30px;
  padding-left: 10px;
  position: relative;
  display: flex;
  align-items: center;
}

/* #search-holder #search {
  padding: 0 10px;
} */


#lang-toggle {
  height: 30px;
  line-height: 30px;
  background: black;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

#lang-toggle img {
  width: 14px;
  height: 14px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

#search-results {
  display: none;
  position: absolute;
  width: 300px;
  background: black;
  color: white;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 14;
  top: 80px;
  bottom: 0;
  overflow: auto;
  max-height: 100%;
}

.copyright {
  width: 100%;
  color: #fff;
  line-height: 20px;
  font-size: 14px;
  text-align: right;
  position: fixed;
  bottom: 0;
  right: 10px;
  z-index: 99999999;
}


#tableNum {
  display: flex;
  height: auto;
  position: absolute;
  bottom: 40px;
  right: 5px;
  z-index: 10;
  margin: 0;
  padding: 0 10px;
  list-style: none;
}

#tableNum .liNum {
  box-sizing: border-box;
  padding-left: 28px;
  color: #ffffff;
  line-height: 20px;
  font-size: 14px;
  position: relative;
  text-align: left;
}

#tableNum .liNum .colorActive {
  width: 4px;
  height: 4px;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}

.elHeader {
  width: 100%;
  height: 70px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9;
  display: flex;
  justify-content: right;
}

.elHeader .headTitle {
  color: #fff;
  position: relative;
  text-align: center;
  font-size: 22px;
  line-height: 70px;
}

.elHeader .line {
  width: 3px;
  height: 30px;
  background: #fff;
  float: left;
  margin: 20px;
}

.elHeader .logo {
  width: 283px;
  height: 40px;
  background: url('../images/mapper.png') no-repeat;
  background-size: 100% 100%;
  margin-right: 26px;
  margin: auto 0;
}

.lang-btn {
  padding: 5px 15px;
  border: 1px solid #ccc;
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background-color: rgba(255, 255, 255, 1);
  border-color: #666;
}

.elHeader {
  position: relative;
}

.menubox {
  cursor: default;
}

.menu-title {
  height: 30px;
}

.submenu {
  display: none;
  background: black;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  margin: 0;
  overflow: hidden;
  position: absolute;
}

.dropdown {
  width: 200px;
}

.menubox {
  padding: 10px;
}

.dropdown>li {
  display: block;
  padding: 5px 10px;
}

.dropdown>li:hover {
  background: #c33;
  font-weight: bold;
}

.dropdown>li:active {
  background: #511;
}

.dropdown>li.clear-option {
  background: #511;
  display: none;
}

#zoom-controls {
  position: absolute;
  right: 20px;
  bottom: 70px;
  width: 40px;
  background: black;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zoom-button {
  height: 35px;
  width: 40px;
  font-size: 14px;
  font-weight: bold;
  line-height: 35px;
  text-align: center;
  cursor: pointer;

  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.zoom-button:hover {
  background: #c33;
}

.zoom-button:active {
  background: #511;
}

#zoom-in {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#zoom-out {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#about-box {
  right: 10px;
  width: 500px;
  height: 335px;
}

#help-box {
  right: 70px;
  width: 200px;
  height: 225px;
}

.box-header {
  font-size: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
}

#legend li {
  height: 25px;
  line-height: 25px;
  margin-top: 5px;
  magin-bottom: 5px;
}

.dot {
  vertical-align: middle;
  margin-right: 5px;
}

#controls-info {
  margin-top: 10px;
}

#controls-info>li {
  margin-top: 10px;
}

#bg {
  width: 100%;
  height: 100%;
  background: url('../images/sky.png') no-repeat;
  background-size: 100% 100%;
  position: fixed;
  z-index: 99999999999 !important;
  display: none;
}

#bg .title {
  width: 20%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  line-height: 30px;
}

#bg .title .titleBut {
  width: 100%;
  text-align: right;
  line-height: 60px;
}

#bg .title .titleHead {
  line-height: 60px;
  font-size: 20px;
}

#bg .title .titleText {
  line-height: 24px;
  font-size: 14px;
}

#bg .title .titleBut button {
  width: 60px;
  height: 30px;
  line-height: 30px;
  box-shadow: none;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background-color: rgba(0, 81, 255, 0.1) !important;
  border: 1px solid rgba(0, 81, 255, 0.4) !important;
  color: #fff;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: 0.1s;
  font-weight: 500;
  /* //禁止元素的文字被选中 */
  font-size: 14px;
  border-radius: 4px;
}

#bg .title .titleBut button:hover {
  background-color: rgba(0, 81, 255, 0.2) !important;
}

@media (max-width: 900px) {
  .copyright {
    line-height: 16px;
    font-size: 12px;
    bottom: 0;
    right: 0;
  }

  .menubar {
    height: 30px;
    position: absolute;
    top: 60px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    align-content: stretch;
  }

  .elHeader {
    width: 100%;
    height: 70px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9;
    display: flex;
    justify-content: right;
  }

  .elHeader .headTitle {
    color: #fff;
    position: relative;
    text-align: center;
    font-size: 18px;
    line-height: 70px;
  }

  .elHeader .line {
    width: 2px;
    height: 30px;
    background: #fff;
    float: left;
    margin: 20px;
  }

  .elHeader .logo {
    width: 223px;
    height: 34px;
    background: url('../images/mapper.png') no-repeat;
    background-size: 100% 100%;
    margin-right: 26px;
    margin: auto 0;
  }
}

/* 过期数据样式 */
.search-result-expired {
  color: red !important;
}

.expired-tag {
  margin-left: 5px;
  font-size: 12px;
  color: red;
  background: rgba(255, 0, 0, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid red;
}

.search-result-expired:hover {
  color: #fff !important;
}

.search-result-expired:hover .expired-tag {
  color: #fff !important;
  border: 1px solid #fff !important;
}