body {
  background-color: black;
  color: white;
  position: relative;
  margin: 0;
}
* {
	font-family: 'Noto Sans SC';
}
p {
	margin: 0;
}
big {
	font-size: 150%;
}
#qihooai-assistant-root{ /* anti qihoo ai*/
	display: none !important;
}
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/notosanssc/v36/k3kCo84MPvpLmixcA63oeAL7Iqp5IZJF9bmaG9_FnYw.ttf) format('truetype');
}
#popup {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #0006;
  z-index: 2;

  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;

  transition: transform, opacity;
  transition-duration: 0.5s;
}

#popup-ctn {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px;
  transform: translate(-50%, -50%);
  width: 360px;
  border-color: rgb(118, 118, 118);
  background-color: rgb(0, 0, 0);
  border-style: solid;
  border-radius: 10px;
}

#popup-html {
  min-height: 100px;
  max-height: 400px;
  padding: 5px;
  overflow-y: auto;
}

#popup-btns {
  display: flex;
  flex: 1;
}

#popup-btns > button {
  min-width: 100px;
  min-height: 30px;
  width: 100%;
  background-color: rgba(255, 255, 255, 75%);
  border-radius: 2px;
  transition-duration: 0.5s;
  border-style: solid;
}
#popup-btns > button:hover {
  transform: scale(1.06);
}
#popup-btns > button:active {
  transform: scale(0.94);
}
.popup-input,
#popup-input {
  width: calc(100% - 10px);
  height: auto;
  text-align: left;
  resize: none;
  color: #fff;
  background: rgba(128, 128, 128, 0.5);
  border-radius: 4px;
}

#popup.popup-show {
  pointer-events: all;
  opacity: 1;
  transform: scale(1);
}

.main-sidebar {
  min-height: 50vh;
  overflow-y: hidden;
  min-width: 110px;
  
  padding-left: 1vw;
  padding-right: 1vw;
  z-index: 1;
  text-decoration: none;
  color: white;
  background: #333;
  display: inline-block;
}
.menu {
  padding-left: 0px;
}
.right {
  position: absolute;
  margin-left: calc(110px + 1vw * 2);
  padding-left: 0px;
  top: 0px;
  width: calc(100% - 110px);
  z-index: 1;
  border: 1px;
}
.nav-item {
  display: block;
  height: 24px;
  text-align: center;
  color: #eee;
  list-style: none;
  padding-top: 4px;
  padding-bottom: 4px;
}
.nav-item:hover {
  color: #fff;
  background-color: #555;
}

.nav-item-subtab {
  display: block;
  height: 18px;
  font-size: 80%;
  text-align: center;
  color: #eee;
  list-style: none;
  padding-top: 4px;
  margin-left: 25px;
  padding-bottom: 4px;
  background: #000;
}
.nav-item-subtab:hover {
  color: #fff;
  background-color: #444;
}

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

.hide {
	display: none;
}


.buildrow{ 
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
}
.resource{
  display: flex;
                  justify-content: start;
                  align-items: center;
                  min-width: 300px;
}

button {
  min-height: 30px;
  background-color: rgba(255, 255, 255, 75%);
  border-radius: 2px;
  transition-duration: 0.5s;
  border-style: solid;
}
button:hover {
  transform: scale(1.06);
}
button:active {
  transform: scale(0.94);
}

/*
.news{
  padding-left: 0px;
  top: 0px;
  text-decoration: none;
  border: 1px solid #777;
  background: #333;
  
  color: white;
  overflow: hidden;
  display: inline-block;
  height: 20px; 
  background-color: #333;
}
*/
#newsText {
  white-space: nowrap;
}

.news {
color: white;
width: 100%;
top: 0px;
height: 30px;
background-color: #171717;
overflow: hidden;
display: flex;  
margin-left: 1px;
align-items: center;
}







.img_btn {
	cursor: pointer;
	background-color: #444;
	transition-duration: 0.15s;
}




.light_red {
	color: lightcoral;
}

.red {
	color: red;
}

.orange {
	color: orange;
}

.yellow {
	color: yellow;
}

.limegreen {
	color: #00ff00;
}

.green {
	color: #00bb00;
}

.light_green {
	color: lightgreen;
}

.sky {
	color: skyblue;
}

.cyan {
	color: #07f;
}

.magenta {
	color: magenta;
}

.gray {
	color: gray
}


#main_upg_msg{
  text-align: center;
}
#main_upg_1_div{
  text-align: center;
}


.img_btn:not(.locked):not(.bought):hover {
	background-color: #555
}
.img_btn.bought {
	background-color: #00520b;
	cursor: default;
}