html {
  font-size: 20px;
}

body {
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h5,
h6 {
  margin: 0;
  font-weight: 900;
  color: #1d2088;
}

h3 {
  font-size: 18px;
}

h6 {
  top: -28px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.view_pc {
  display: flex;
  width: 100%;
}

/** 顶部登录按钮*/
.top-button {
  position: absolute;
  top: 23px;
  right: 21px;
}

.top-button .btn {
  min-width: 111px;
  height: 38px;
  border-radius: 3px;
  font-size: 12px;
}

/**侧边栏 */
aside {
  flex: 0 0 220px;
  padding-top: 160px;
  border-right: 2px dashed #e5e5e5;
}

@media only screen and (max-width: 1200px) {
  body {
    padding: 0 10px;
  }

  aside {
    display: none;
  }
}

aside ul li {
  list-style: none;
  font-size: 18px;
  font-weight: 900;
  color: #1d2088;
}

#li_first,
#li_end {
  cursor: pointer;
}

.li-card {
  display: none;
  flex-wrap: wrap;
  margin-top: 15px;
}

.li-card > a {
  margin-bottom: 20px;
}

.li-card span {
  display: inline-flex;
  padding: 10px;
  margin: 0 15px 15px 0;
  width: 230px;
  min-height: 100px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  color: #000000ff;
  background: #f2f2f2ff;
}

/** main*/
main {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 60px;
}

@media only screen and (max-width: 576px) {
  main {
    margin-bottom: 100px;
  }
}

nav,
section {
  margin: 0 auto;
  max-width: 1000px;
}

nav h1 {
  font-size: 48px;
}

#Examples p {
  font-size: 12px;
  color: #000000;
}

#Examples .item {
  width: 33%;
  padding: 7.5px 7.5px 6px;
  height: 100px;
  font-size: 12px;
  line-height: 1.2;
  border-radius: 6px;
  color: #000000;
  background: #f2f2f2;
  overflow: hidden;
}

/* 中医案例标签样式 */
#Examples .item.tcm-tag {
  width: auto;
  height: auto;
  min-height: 32px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: visible;
}

#Examples .item:hover {
  cursor: pointer;
  background: #1d208819;
}

/** 输入框*/
.form-control {
  resize: none;
  font-size: 12px;
  color: #000000;
}

.form-control:focus {
  color: #000000;
}

/** 按钮*/
.btn {
  box-shadow: none !important;
  border-color: #1d2088ff !important;
  background: #1d2088 !important;
}

.btn-custom-large {
  margin-left: 29px;
  padding: 0 12px;
  min-width: 130px;
  height: 50px;
  font-size: 18px;
  background: #1d2088 !important;
}

.btn-custom-middle {
  margin-bottom: 14px;
  width: 240px;
  height: 48px;
  border-radius: 4px;
  background: #1d2088ff !important;
}

.btn-code {
  flex-shrink: 0;
  position: absolute;
  right: 48px;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  flex-shrink: 0;
  min-width: 80px;
  height: 24px;
  font-size: 12px;
  border-radius: 4px;
  border: none;
  color: #fff;
  background: #1d2088ff !important;
}

.btn-disabled {
  cursor: not-allowed;
  background: #1d208833 !important;
}

/** 输入框*/
.cus-input {
  border: none;
  padding-left: 40px;
  margin-right: 24px;
  border-radius: 0;
  font-size: 16px;
  border-bottom: 1px solid #d9d9d9;
}

.cus-input:focus {
  box-shadow: none;
  border-bottom: 1px solid #d9d9d9;
}

.cus-input:-moz-placeholder {
  color: #1d208833;
}

.cus-input:-ms-input-placeholder {
  color: #1d208833;
}

.cus-input::-webkit-input-placeholder {
  color: #1d208833;
}

input[type='number'].without_number::-webkit-inner-spin-button,
input[type='number'].without_number::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/**表单额外信息*/
.invalid-tooltip {
  left: 24px;
  font-size: 12px;
  padding: 2px 10px;
}

.cus-tooltip {
  left: 0;
}

.was-validated .form-control:invalid,
.was-validated .form-control:valid {
  background: none;
  border-bottom: 1px solid #d9d9d9;
}

.cus-validated .form-control:invalid {
  border-bottom: 1px solid #dc3545;
  /* border-color: #dc3545 !important; */
}

.cus-form .form-control:focus,
.cus-form .was-validated .form-control:valid:focus {
  border-color: #e7e8ed !important;
  box-shadow: 0 0 0 0.2rem #e7e8ed !important;
}

.cus-validated .form-control:valid {
  border-color: #e7e8ed;
  box-shadow: 0 0 0 0.2rem #e7e8ed;
}

/**图片 */
.cus-img {
  position: relative;
  left: 31px;
}

/**modal */

.modal-dialog {
  width: 395px;
}

.cus-modal-header {
  text-align: center;
  margin-bottom: 30px;
  font-size: 12px;
  color: #707070ff;
}

.modal-content {
  border-radius: 12px;
}

.modal-body {
  padding: 20px 16px 36px 36px;
}

/** p*/
.cus-p {
  padding-right: 24px;
  font-size: 12px;
  color: #707070ff;
}

/** form-check-label*/
.custom-label {
  margin-bottom: 0;
  font-size: 12px;
  color: #000000ff;
}

.custom-control {
  padding: 0;
}

/**loading */
.spinner-border {
  margin-right: 6px;
  height: 18px;
  width: 18px;
}

.spinner-border-show {
  display: none !important;
}

/**Table */
.table_pc {
  margin: 78px auto 0;
  padding-bottom: 40px;
  width: 1000px;
  border-right: 1px solid #e8e8e8ff;
}

.table_pc thead th {
  text-align: center;
  font-weight: 700;
  background: #f8f9fdff;
}

.table_pc tbody td {
  border-bottom: 1px solid #e8e8e8ff;
}

.table_pc thead th,
.table_pc tbody td {
  padding: 9px 9px;
  border-left: 1px solid #e8e8e8ff;
  border-color: #e8e8e8ff;
  border-width: 1px;
  font-size: 12px;
  line-height: 18px;
}

/**arrow */

.arrow {
  cursor: pointer;
  top: calc((100vh - 36px) / 2);
  left: 202px;
}

.arrow-active {
  left: 622px;
  transform: rotateZ(180deg);
}

/**footer */
footer {
  position: absolute;
  text-align: center;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  font-size: 12px;
  color: rgb(151, 151, 151);
}

footer a {
  text-decoration: none !important;
  color: rgb(151, 151, 151);
}

footer a:hover {
  color: #1d2088 !important;
}

/**轮播图 */
.cus-indicators {
  margin-bottom: 0;
  bottom: -6px;
}

.cus-indicators li {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  border: none;
  background: #ccccccff;
}

.carousel-indicators .active {
  background: #1d2088;
}

/**tab*/
.tab {
  display: flex;
  align-items: center;
  padding: 0 0 0 24px;
  list-style: none;
  font-size: 14px;
}

.tab ul {
  cursor: pointer;
  margin: 0 12px;
  padding: 2px 7px;
}

.tab .activeTab {
  border-radius: 4px;
  color: #fff;
  background: #1d2088;
}
