body {
  background-color: #f7f7f7;
  /* background-image: url('/front/static/xuexiao.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed; */
}

.bg {
  background-image: url('/front/static/new-1-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 30px 0;
}
.bg2 {
  background-image: url('/front/static/new-2-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 30px 0;
}

.bg3 {
  background-image: url('/front/static/bottom.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 30px 0;
}

#new1{
  height: 498px;
}
.rownew3{
  height: 609px;
}


/* #carousel1 .carousel-item .bg {
  min-height: 100%;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transition: 1s linear 2s;
  transform: translate(-50%, -50%) scale(1.1, 1.1);
}

#swiper1 .carousel-item .active .bg {
  transition: 5s linear;
  transform: translate(-50%, -50%) scale(1, 1);
} */

.image-container {
  overflow: hidden;
}

.image-container img {
  transition: transform 0.5s ease-in-out;
  /* 添加过渡动画 */
}

.image-container:hover img {
  transform: scale(1.2);
  /* 图片放大动画 */
}

.fc-bt {
  text-align: center;
  width: 100%;
  background-image: url(/front/static/fc-bt.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  height: 40px;
  padding-bottom: 5px;
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.textnewtitle {
  font-size: 15px;
  padding: 0.2rem 1rem;
}

.newclass {
  background-color: white;
  color: black;
  padding: 0.4rem 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.newclass-select {
  background-color: #BB1C21;
  color: white;
}

.red-dot:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background-color: #BB1C21;
  border-radius: 50%;
}
.dot {
  width: 3px;
  height: 10px;
  /* border-radius: 50%; */
  background-color: #BB1C21;
}

#header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  /* max-width: 1300px; */
}

.xxjj {
  background-color: #BB1C21;
  color: white;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 30px;
  width: 600px
}

#carousel1 img {
  /* height: 950px; */
}

#carousel2 img {
  height: 400px;
  object-fit: cover;
}

#carousel3 img {
  height: 370px;
}

#carousel2 {
  width: 450px;
}

/* #carousel2 .carousel-item {
  width: 450px;
} */

.container,
.container-lg {
  padding-left: 0;
  padding-right: 0;
}

.notice {
  height: 1.5rem;
  line-height: 1.5rem;
  flex: 1;
  margin-left: 2rem;
  font-size: 1rem;
}

.trapezoid {
  width: max-content;
  height: 0;
  border-bottom: 50px solid #BB1C21;
  /* border-left: 50px solid transparent; */
  border-right: 50px solid transparent;
}

.trapezoid-text {
  height: 50px;
  line-height: 50px;
  color: white;
  font-size: 25px;
  padding: 0 10px;
}

.card {
  border: none;
}

.list-group-item {
  border: none;
}

.iconbox {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 18px;
}

.icon1 {
  display: inline-block;
  /* 让超链接显示为块元素 */
  background: url('/front/static/概括1.png') no-repeat;
  /* 原始图片作为背景 */
  width: 80px;
  height: 79px;
}

.iconbox:hover .icon1 {
  background: url('/front/static/概括2.png') no-repeat;
  /* 新图片作为背景 */
}

.icon2 {
  display: inline-block;
  /* 让超链接显示为块元素 */
  background: url('/front/static/班主任之窗.png') no-repeat;
  /* 原始图片作为背景 */
  width: 80px;
  height: 79px;
}

.iconbox:hover .icon2 {
  background: url('/front/static/班主任之窗2.png') no-repeat;
  /* 新图片作为背景 */
}

.icon3 {
  display: inline-block;
  /* 让超链接显示为块元素 */
  background: url('/front/static/学生会.png') no-repeat;
  /* 原始图片作为背景 */
  width: 80px;
  height: 79px;
}

.iconbox:hover .icon3 {
  background: url('/front/static/学生会2.png') no-repeat;
  /* 新图片作为背景 */
}

.icon4 {
  display: inline-block;
  /* 让超链接显示为块元素 */
  background: url('/front/static/社团活动.png') no-repeat;
  /* 原始图片作为背景 */
  width: 80px;
  height: 79px;
}

.iconbox:hover .icon4 {
  background: url('/front/static/社团活动2.png') no-repeat;
  /* 新图片作为背景 */
}

.icon5 {
  display: inline-block;
  /* 让超链接显示为块元素 */
  background: url('/front/static/学生1.png') no-repeat;
  /* 原始图片作为背景 */
  width: 80px;
  height: 79px;
}

.iconbox:hover .icon5 {
  background: url('/front/static/学生2.png') no-repeat;
  /* 新图片作为背景 */
}

.icon6 {
  display: inline-block;
  /* 让超链接显示为块元素 */
  background: url('/front/static/校园之星.png') no-repeat;
  /* 原始图片作为背景 */
  width: 80px;
  height: 79px;
}

.iconbox:hover .icon6 {
  background: url('/front/static/校园之星2.png') no-repeat;
  /* 新图片作为背景 */
}

.icon7 {
  display: inline-block;
  /* 让超链接显示为块元素 */
  background: url('/front/static/学生资助.png') no-repeat;
  /* 原始图片作为背景 */
  width: 80px;
  height: 79px;
}

.iconbox:hover .icon7 {
  background: url('/front/static/学生资助2.png') no-repeat;
  /* 新图片作为背景 */
}

.icon8 {
  display: inline-block;
  /* 让超链接显示为块元素 */
  background: url('/front/static/招生招聘.png') no-repeat;
  /* 原始图片作为背景 */
  width: 80px;
  height: 79px;
}

.iconbox:hover .icon8 {
  background: url('/front/static/招生招聘2.png') no-repeat;
  /* 新图片作为背景 */
}

.new2-item {
  height: 3rem;
  line-height: 2rem;
  align-items: center;
}

.img3 {
  width: 100%;
  height: 315px;
  max-width: 100%;
  object-fit: cover;
}

.redmask {
  background-color: #BB1C21;
  opacity: 0.5;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  display: none;
  z-index: 9;
}

.masktitle {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  display: flex;
  z-index: 10;
  color: white;
  font-size: 30px;
  font-weight: bold;
  justify-content: center;
  align-items: center;
}

a:hover .redmask {
  display: block !important;
}

/* a:hover .masktitle {
  display: flex !important;
} */


.newclass {
  cursor: pointer;
}
.newborder{
  padding: 5px;
  border: 1px dashed #BB1C21;
}
#carousel3imgs img,#zhuanti img,#biaoyu img{
  object-fit: cover;
}
.morenotice{
  height: 60px;
  line-height: 60px;
  padding: 0 20px;
  background: #BB1C21;
  color: white;
  cursor: pointer;
}

small.twoline{
  height: 42px;
}
.swiper-container {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}
.fc{
  width: 100%;
}
.fc-lun {
	padding: 0 49px;
	box-sizing: border-box;
	position: relative;
	margin-top: 27px;
	margin-bottom: 5px;
}
#swiper-fc {
	width: 100%;
}
#swiper-fc .swiper-slide {
	background-color: rgba(255,255,255,0.6);
}
#swiper-fc .swiper-slide .img {
	width: 100%;
	height: 172px;
	overflow: hidden;
}
#swiper-fc .swiper-slide .img img {
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-ms-transition: all 0.8s;
	transition: all 0.8s;
}
#swiper-fc .swiper-slide p {
	box-sizing: border-box;
	padding: 0 20px;
	width: 100%;
	height: 40px;
	line-height: 40px;
	position: relative;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-break: keep-all;
	overflow: hidden;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	transition: all 0.3s;
}
#swiper-fc .swiper-slide p::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	transform: scale(0.1,0.5);
	opacity: 0;
	background-color: rgba(187, 28, 33, 0.7);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	transition: all 0.3s;
}
#swiper-fc .swiper-slide p span {
	font-size: 0.875rem;
	color: #131110;
	position: relative;
	z-index: 5;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	transition: all 0.3s;
}
#swiper-fc .swiper-slide:hover p::before {
	border-radius: 0;
	transform: scale(1,1);
	opacity: 1;
}
#swiper-fc .swiper-slide:hover .img img {
	transform: scale(1.2,1.2);
}
#swiper-fc .swiper-slide:hover p span {
	color: #FFFFFF;
}
.fc-lun > img {
	position: absolute;
	top: 88px;
	opacity: 0.7;
	z-index: 5;
	cursor: pointer;
}
.fc-lun > img:hover {
	opacity: 1;
}
.fc-lun .prev {
	left: 0;
}
.fc-lun .next {
	right: 0;
}
.newtitle{
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: #BB1C21;
}
.newtitle img{
  width: 30px;
}
/* 教研动态 */
.teacher {
	width: 100%;
	height: 400px;
	margin-top: 1rem;
	background: white;
}

.teacher #swiper4 {
	height: 100%;
}

#swiper4 li {
	padding: 0 12px;
	width: 100%;
}

#swiper4 a {
	font-size: 0.875rem;
	color: #333333;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
	width: 100%;
	margin-top: 10px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	transition: all 0.3s;
}

#swiper4 span {
	display: inline-block;
	font-size: 12px;
	color: #666666;
	margin-top: 0px;
	padding-left: 20px;
	position: relative;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	transition: all 0.3s;
}

#swiper4 span::before {
	position: absolute;
	content: "";
	width: 16px;
	height: 15px;
	left: 0px;
	top: 1px;
	background: url(/front/static/rq.png) no-repeat;
	background-size: cover;
	background-position: center;
}

#swiper4 li:hover a {
	padding-left: 10px;
}

#swiper4 li:hover span {
	margin-left: 15px;
}
@media (max-width: 986px) {

  #header,
  .xxjj {
    position: relative;
  }

  .xxjj {
    width: 100%;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .sm-mt-3 {
    margin-top: 1rem;
  }
  #new1,.rownew3{
    height: 100%;
  }
}
