@import url("base.css");
@import url("responsive.css");
@import url("header.css");
@import url("footer.css");

:root {
  --color-main: #1c479a;
  --encolor-main: #cbcbcb;
  --b2--color: #b2b2b2;
}

.mr-1200 {
  width: 1200px;
  margin: 0 auto;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-st {
  display: flex;
  justify-content: start;
  align-items: center;
}

.flex-bw {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-bw1 {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
}

.flex-bw2 {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.flex-ar {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.flex-col-bw {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.flex-col-bw1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.clear {
  clear: both;
}

.shadow1 {
  box-shadow: 0 0 10px #e6e4e4;
  border-radius: 10px;
}

.fontlight {
  font-family: Barlow;
  font-size: 20px;
  color: #cbcbcb;
}

.en-title {
  font-family: Barlow;
  font-size: 20px;
  color: #cbcbcb;
}

.zh-title {
  font-family: 微软雅黑;
  font-weight: bold;
  font-size: 20px;
  color: #252525;
}

/* 单行文字溢出省略号 */
.line-clamp1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-clamp2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.line-clamp3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.line-clamp4 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.half-pixel-line {
  height: 1px;
  /* 或者你需要的长度 */
  background-color: #cbcbcb;
  /* 或你想要的颜色 */
  transform: scaleY(0.5);
  /* 对高度进行垂直方向的缩放 */
}

/* 公共样式 */
.backtop {
  /* display: none; */
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 999;
  background: rgb(0, 0, 0);
  opacity: 0.6;
  border-radius: 7px;
  box-sizing: border-box;
  text-align: center;
}

.backtop:hover {
  opacity: 1;
  transition: 0.2s;
}
