* {
  margin: 0;
  padding: 0;
}

body {
  padding: 2rem 0;
}

a {
  text-decoration: none;
}

#main * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

#main {
  font-size: 0.7rem;
  font-family: "AlibabaPuHuiTiRegular";
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: auto;
  background: url(../img/bg.jpg) repeat-y;
  background-size: 100%;
}

#main input,
#main select,
#main textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
}

#main i,
#main em {
  font-style: normal;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #f1f1f1 inset !important;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

table {
  width: 100%;
  text-align: center;
  /*文本居中*/
  border-collapse: collapse;
  /*表格的边框合并，如果相邻，则共用一个边框*/
  border-spacing: 0;
  /*设置行与单元格边框的间距。当表格边框独立（即border-collapse:separate;）此属性才起作用*/
}

table td {
  word-break: break-all;
  /*允许在字内换行,即单词可分*/
  word-wrap: break-word;
  /*允许长单词或URL地址换行*/
  border-right: 1px solid #939598;
  border-bottom: 1px solid #939598;
}

/* 滚动槽 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  display: none;
}

::-webkit-scrollbar-track {
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.06);
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08);
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.dis-f {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.dis-b {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dis-c {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn {
  cursor: pointer;
  text-align: center;
}
.tc {
  text-align: center;
}
.pr {
  position: relative;
}
.po {
  position: absolute;
}
.po-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
}

#main article {
  background: url(../img/banner.jpg) no-repeat;
  background-size: 100%;
  padding: 6.2rem 0.43rem 3rem;
}
#main .calculation {
  width: 100%;
  min-height: 15rem;
  background-color: #ebf5ff;
  box-shadow: 0rem 0rem 0.85rem 0rem rgba(5, 82, 166, 0.5);
  border-radius: 0.43rem;
  margin: 0 auto 2rem;
  padding: 0.63rem 0.43rem;
}
#main .calculation .typebox {
  margin-bottom: 0.8rem;
}
#main .calculation .type {
  width: 4.5rem;
  height: 1.53rem;
  background-color: #2076ff;
  border-radius: 0.13rem;
  font-family: "AlibabaPuHuiTiBold";
  background-color: #2076ff;
  font-size: 0.6rem;
  color: #ffffff;
  position: relative;
}
#main .calculation .type.active {
  background-color: #f3a000;
}
#main .calculation .type.active::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.3rem solid transparent;
  border-right: 0.3rem solid transparent;
  border-top: 0.3rem solid #f3a000;
}
#main .calculation .samepart {
  background-color: #ffffff;
  box-shadow: 0rem 0rem 0.65rem 0rem rgba(32, 118, 255, 0.15);
  border-radius: 0.13rem;
  padding: 0.6rem;
  margin-bottom: 0.4rem;
}
#main .calculation .samepart p {
  font-family: "AlibabaPuHuiTiBold";
  font-size: 0.65rem;
  line-height: 0.65rem;
  color: #000000;
  margin-bottom: 0.5rem;
}
#main .calculation .samepart li {
  height: 1.53rem;
  background-color: #ffffff;
  border-radius: 0.06rem;
  border: solid 0.02rem #cccccc;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
#main .calculation .samepart li:last-child {
  margin-bottom: 0;
}
#main .calculation .samepart input,
#main .calculation .samepart select {
  width: 100%;
  height: 100%;
  font-size: 0.55rem;
  padding-left: 0.55rem;
}
#main .calculation .selectbox li input:focus {
  border: 1px solid #2076ff;
  background-color: #f0f7ff;
}

#main .calculation .addselect input:focus {
  border: 1px solid #2076ff;
  background-color: #f0f7ff;
}
#main .calculation input[type="number"]::-webkit-outer-spin-button,
#main .calculation input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#main .calculation input[type="number"] {
  -moz-appearance: textfield;
}
#main .calculation .samepart input::placeholder {
  color: #999999;
}
#main .calculation .selectbox li select {
  color: #999999;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

#main .calculation .selectbox li select:focus {
  border: 1px solid #2076ff;
  background-color: #f0f7ff;
  color: #000000;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}
#main .calculation .btnbox {
  margin-top: 0.75rem;
  margin-bottom: 0.88rem;
}
#main .calculation .addbtn {
  font-size: 0.55rem;
  line-height: 0.55rem;
  color: #2076ff;
}
#main .calculation .reset {
  font-size: 0.55rem;
  line-height: 0.55rem;
  color: #999999;
}
#main .calculation .reset img {
  width: 0.5rem;
}
#main .calculation .calculate {
  width: 7.85rem;
  height: 1.88rem;
  background: url(../img/calculate.png) no-repeat;
  background-size: 100%;
  font-family: "AlibabaPuHuiTiBold";
  font-size: 0.75rem;
  color: #ffffff;
  margin: 0 auto 0.4rem;
  padding-bottom: 0.3rem;
}
#main .calculation .remark {
  font-size: 0.5rem;
  line-height: 0.5rem;
  color: #f3a000;
}
#main .calculation .remark em {
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid #f3a000;
  border-radius: 0.5rem;
  margin-right: 0.2rem;
}
#main .explanation .etitle {
  height: 1.6rem;
  margin-bottom: 0.6rem;
}
#main .explanation .etitle img {
  height: 100%;
}
#main .explanation .intr {
  background: rgba(129, 189, 255, 0.2);
  border-radius: 0.13rem 0.13rem 0 0;
  font-size: 0.55rem;
  color: #ffffff;
  line-height: 0.8rem;
  padding: 0.45rem 0.7rem;
}
#main .explanation .intr em {
  font-family: "AlibabaPuHuiTiMedium";
  color: #88ff31;
}
#main .explanation .xtintr {
  background-color: #ffffff;
  border-radius: 0 0 0.13rem 0.13rem;
  margin-bottom: 1.1rem;
  padding: 0.6rem 0.7rem 0.45rem;
}
#main .explanation .xtintr h2 {
  font-family: "AlibabaPuHuiTiMedium";
  font-size: 0.65rem;
  font-weight: normal;
  line-height: 0.65rem;
  color: #f3a000;
  margin-bottom: 0.35rem;
}
#main .explanation .xtintr p {
  font-size: 0.55rem;
  line-height: 0.8rem;
  color: #666666;
}
#main .explanation .xtintr p span {
  font-family: "AlibabaPuHuiTiBold";
  color: #333333;
}
#main .explanation .xtintr p em {
  color: #ff0000;
  cursor: pointer;
}

#main .explanation .method > div {
  margin-bottom: 1.13rem;
}
#main .explanation .method > div:last-child{
  margin-bottom: 0;
}
#main .explanation .method h3 {
  font-family: "AlibabaPuHuiTiBold";
  font-size: 0.65rem;
  font-weight: normal;
  line-height: 0.65rem;
  color: #ffffff;
  padding-left: 0.57rem;
  position: relative;
  margin-bottom: 0.55rem;
}
#main .explanation .method h3::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: #b9ed49;
  border-radius: 10px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
#main .explanation .method p {
  font-size: 0.55rem;
  line-height: 0.8rem;
  color: #ffffff;
  margin-bottom: 0.55rem;
}
#main .explanation .method-img {
  height: 3.23rem;
  background: url(../img/percentage.png) no-repeat;
  background-size: 100%;
}
#main .explanation .fourPoint .method-img {
  height: 6.55rem;
  background-image: url(../img/fourPoint.png);
}
#main .explanation .fivePoint .method-img {
  height: 6.55rem;
  background-image: url(../img/fivePoint.png);
}
#main .registerForm {
  position: fixed;
  top: 2rem;
  left: 0;
  width: 100%;
  height: calc(100% - 2rem);
  display: none;
}
#main .loginPage {
  width: 100%;
  background: linear-gradient(0deg, #fefcf7, #fffdf9);
  padding: 4rem 1.45rem 0;
  width: 100%;
  position: fixed;
  bottom: 0;
  padding: 1.6rem 1.7rem 6rem;
  background: #ffffff;
  border-radius: 0.6rem 0.6rem 0 0;
  box-shadow: 0 -0.1rem 1.5rem rgb(0 0 0 / 22%);
}
#main .registerForm .progress {
  text-align: center;
  align-items: stretch;
  position: relative;
  z-index: 1;
  margin-bottom: 5px;
}
#main .registerForm .progress::before {
  content: "";
  height: 10px;
  background-color: #d9d9d9;
  border-radius: 5px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
#main .registerForm .progress::after {
  content: "";
  width: 51%;
  height: 10px;
  background-color: #fbc270;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
}
#main .registerForm .progress li {
  font-family: "AlibabaPuHuiTiMedium";
  width: 3rem;
  font-size: 0.6rem;
  line-height: 0.8rem;
  color: #2076ff;
  position: relative;
  padding-top: 1rem;
  z-index: 2;
}
#main .registerForm .progress li:nth-child(1) {
  left: -1.5rem;
}
#main .registerForm .progress li::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  border: solid 3px #eaa344;
  position: absolute;
  top: -4px;
  box-sizing: border-box;
  border-radius: 18px;
  left: 50%;
  transform: translateX(-50%);
}
#main .registerForm .progress li:last-child:before {
  border: solid 3px #d9d9d9;
}
#main .registerForm .progress li:last-child {
  right: -1.5rem;
  color: #808080;
}
#main .registerForm h3 {
  font-family: "AlibabaPuHuiTiBold";
  text-align: center;
  font-weight: normal;
  font-style: italic;
  color: #2076ff;
  font-size: 0.9rem;
  line-height: 0.9rem;
}
#main .registerForm p {
  text-align: center;
  font-size: 0.55rem;
  line-height: 0.55rem;
  color: #666666;
  margin: 0.4rem auto 0.5rem;
}
#main .loginPage form {
  position: relative;
}
#main .loginPage .item {
  margin-bottom: 0.4rem;
  border: solid 1px #d9d9d9;
  overflow: hidden;
  height: 1.5rem;
  border-radius: 1.5rem;
}

#main .loginPage .item input {
  background-color: #ffffff;
  font-size: 0.55rem;
  padding-left: 1.5rem;
  width: 100%;
  height: 100%;
  background: url(../img/name.png) no-repeat;
  background-size: 0.6rem auto;
  background-position: 0.5rem center;
}
#main .loginPage .item.tel input {
  background-image: url(../img/tel.png);
}
#main .loginPage .item.yzm input {
  background-image: url(../img/code.png);
}
#main .loginPage .item input::placeholder {
  color: #939598;
}
#main .loginPage .item.yzm {
  margin-bottom: 0;
}
#main .loginPage .item.yzm > div {
  border: solid 1px #dddddd;
  background-color: #ffffff;
  height: 1.8rem;
  border-radius: 0.2rem;
  font-size: 0.55rem;
  width: 100%;
  padding-right: 0.4rem;
}
#main .loginPage .item.yzm span {
  color: #ffffff;
  flex-shrink: 0;
  background: #2076ff;
  width: 5rem;
  height: 100%;
  font-size: 0.55rem;
}
#main .loginPage .submit {
  font-family: "AlibabaPuHuiTiBold";
  width: 100%;
  height: 1.5rem;
  line-height: 1.5rem;
  font-size: 0.65rem;
  color: #ffffff;
  text-align: center;
  border-radius: 0.2rem;
  background-color: #eca94a;
  margin-top: 0.8rem;
}
#main .gpa-result-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
#main .gpa-result-modal .gpa-result-content {
  width: 83%;
  height: 13.6rem;
  background: url(../img/resuklt_lay.png) no-repeat;
  background-size: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
}
#main .gpa-result-modal p {
  width: 41%;
  height: 22%;
  position: absolute;
  top: 22%;
  right: 4%;
  font-family: "AvantiBold";
  font-size: 2rem;
  color: #1c82f1;
  line-height: 2.6rem;
  text-align: center;
}
#main .gpa-result-modal .result-close{
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
}
@font-face {
  font-family: "AvantiBold";
  src: url(https://m.igo.cn/zt/gaokao_product/font/AvantiBold.ttf);
}

@font-face {
  font-family: "AlibabaPuHuiTiBold";
  src: url(https://m.igo.cn/zt/gaokao_product/font/Alibaba-PuHuiTi-Bold_0.ttf);
}

@font-face {
  font-family: "AlibabaPuHuiTiRegular";
  src: url(https://m.igo.cn/zt/gaokao_product/font/AlibabaPuHuiTiRegular.ttf);
}

@font-face {
  font-family: "AlibabaPuHuiTiMedium";
  src: url(https://m.igo.cn/zt/gaokao_product/font/Alibaba-PuHuiTi-Medium.ttf);
}
