@charset "utf-8";

/* reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
dl,
dt,
dd,
ul,
ol,
li,
p,
blockquote,
pre,
hr,
figure,
table,
caption,
th,
td,
form,
fieldset,
legend,
input,
button,
textarea,
menu {
  margin: 0;
  padding: 0;
}

header,
footer,
section,
article,
aside,
nav,
hgroup,
address,
figure,
figcaption,
menu,
details {
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th {
  text-align: left;
  font-weight: normal;
}

html,
body,
fieldset,
img,
iframe,
abbr {
  border: 0;
}

i,
cite,
em,
var,
address,
dfn {
  font-style: normal;
}

[hidefocus],
summary {
  outline: 0;
}

li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
small {
  font-size: 100%;
}

sup,
sub {
  font-size: 83%;
}

pre,
code,
kbd,
samp {
  font-family: inherit;
}

q:before,
q:after {
  content: none;
}

select {
  outline: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

input,
textarea {
  overflow: auto;
  resize: none;
  font-family: "Microsoft YaHei", Arial;
}

label,
summary {
  cursor: default;
}

a,
button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
em,
strong,
b {
  font-weight: bold;
}

del,
ins,
u,
s,
a,
a:hover {
  text-decoration: none;
}

/* CSS Document */
body {
  font-family: "Microsoft YaHei", Arial;
  font-weight: 300;
}

html,
body {
  font-size: 20px;
}

/* @media only screen and (max-width:1480px) {
  html,
  body {
    font-size: 14px;
  }
}

@media only screen and (max-width:1280px) {
  html,
  body {
    font-size: 12px;
  }
} */

.fl {
  float: left;
}

.fr {
  float: right;
}

.margin {
  margin: 0px auto;
}

.hidden {
  overflow: hidden;
}

img {
  max-width: 100%;
  max-height: 100%;
}


/* 新增样式 */
.query_container {
  box-sizing: border-box;
  max-width: 750px;
  min-height: 100vh;
  height: 100%;
  padding: 50px 0;
  background: url(images/bg.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.query_header {
  width: 95%;
}

.query_footer {
  width: 95%;
}

.query_box {
  box-sizing: border-box;
  width: 95%;
  padding: 20px;
  background: rgba(255, 255, 255, .5);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.query_form,
.query_result {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.query_input {
  width: 100%;
  background: none;
  border: solid 2px #000;
  height: 38px;
  text-align: center;
  font-size: 16px;
  color: #000;
}

.query_btn {
  border-radius: 10px;
  border: none;
  background-color: #ff0000;
  color: #fff;
  font-size: 16px;
  padding: 6px 20px;
}

.query_result_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.query_result_item h3 {
  font-size: 16px;
  margin-top: 15px;
  /* text-shadow: 
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000; */
  /* letter-spacing: 2px; */
}

.text_uppercase {
  text-transform: uppercase;
}

/* .query_result_item h3 span {
  color: #fff;
} */

.query_result_item h3.green {
  color: #33cc33;
}

.query_result_item h3.red {
  color: #ff0000;
}

.query_result_text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 错误提示框 */
.error_tooltip {
  display: none;
  background: #FF6B00;
  color: black;
  padding: 8px;
  border-radius: 3px;
  margin-top: 5px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}