h1 {
	text-align: center;
	margin-top: 3rem;
	margin-bottom: 2rem;
}

h3 {
	margin: 0;
}

.p-color {
	color: var(--primary-color);
}

.bold {
	font-weight: bold;
}

.red {
	color: red;
}

.blue {
	color: blue;
}

.recommend-img {
	text-align: center;
	margin-top: 2rem;
}
.banner {
	position: relative;
}
.banner-bg {
	width: 100%;
}
.banner-bg img {
	width: 100%;
}

h1 span {
	/* background-image: url('../images/title-bg.png');
  background-size: 100% 100%; */
	display: inline-block;
	/* min-width: 320px; */
	line-height: 1.6;
	font-size: 2rem;
	/* color: #f7ecc2; */
	font-weight: 700;
}

.table-head {
	color: var(--white);
	font-weight: bold;
	font-size: 2.2rem;
	background: var(--primary-color);
}

.table-head th {
	line-height: 1.5;
}

em {
	font-weight: bold;
	font-style: normal;
}

table {
	line-height: 1.5;
	border-left: 1px solid var(--table-border);
	border-top: 1px solid var(--table-border);
}

table tr td,
table tr th {
	border-right: 1px solid var(--table-border);
	border-bottom: 1px solid var(--table-border);
}
.course-head {
	font-size: 1.5rem;
	line-height: 2;
	display: flex;
	justify-content: space-between;
	text-align: center;
	margin-bottom: 1em;
}
.course-head div {
	width: 30%;
	cursor: pointer;
	background-color: #ffebe7;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
}
#course1.course-head div {
	width: 22%;
}
.course-head div.active {
	background-color: var(--primary-color);
	color: var(--white);
	position: relative;
}
.course-head div.active::before {
	--width: 0.5em;
	position: absolute;
	bottom: calc(var(--width) * -1);
	left: calc(50% - var(--width));
	content: '';
	border-right: var(--width) solid var(--primary-color);
	border-bottom: var(--width) solid var(--primary-color);
	border-top: var(--width) solid transparent;
	border-left: var(--width) solid transparent;
	transform: rotate(45deg);
}
.course th {
	padding-top: 0.8rem;
	padding-bottom: 0.8rem;
	margin-top: 0.3rem;
	background-color: var(--primary-color);
	color: var(--white);
}

.course td {
	padding: 1rem 0.5rem;
}
.course-date td {
	padding: 0.5rem;
}
.course-sub {
	font-size: 1rem;
}

.course a.btn {
	line-height: 2;
	text-align: center;
	font-weight: bold;
	color: var(--white);
	background-color: var(--primary-color);
	line-height: 2;
	display: inline-block;
	border-radius: 1rem;
	padding: 0 1rem;
	margin-top: 0.3rem;
}

.course .qrcode {
	display: inline-block;
	text-align: center;
}
.course .qrcode:not(:last-child) {
	margin-right: 2em;
}
.course .qrcode img {
	width: 8rem;
}

.emphasis ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.emphasis ul li {
	width: calc(25% - 2rem);
	line-height: 3.5;
	text-align: center;
	color: var(--primary-color);
	font-weight: bold;
	background: url(../images/bg-2.png) center no-repeat;
	background-size: 100% 100%;
	cursor: pointer;
	margin: 1rem;
}

.emphasis ul li.active {
	background-image: url(../images/bg-1.png);
	color: #ffe7c9;
}

.emphasis-detail {
	border: 3px solid var(--primary-color);
	padding: 2rem;
	display: none;
	line-height: 2;
	margin-top: 1rem;
}

#strength {
	border-radius: 1.5rem;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	background-color: var(--white);
	line-height: 1.6rem;
	margin-bottom: 2rem;
	box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.2);
}
#strength > div {
	width: 25%;
	box-sizing: border-box;
	padding: 1em;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding-top: 4rem;
	height: 20rem;
}
.strength-title {
	position: absolute;
	top: 1rem;
	width: 100%;
	left: 0;
	line-height: 2em;
	text-align: center;
	font-size: 1.3rem;
	font-weight: bold;
}
#strength > div:nth-child(3),
#strength > div:nth-child(1),
#strength > div:nth-child(8),
#strength > div:nth-child(6) {
	background-color: rgba(255, 0, 0, 0.05);
}
.strength-title img {
	height: 1.5em;
	vertical-align: -0.35em;
	margin-right: 5px;
	font-size: inherit;
}

/* 师资 */
#teacher {
	position: relative;
}

#teacher .swiper-slide {
	color: var(--white);
	position: relative;
	height: 100%;
}

#teacher .swiper-slide > div {
	margin: auto;
	overflow: hidden;
	border-radius: 0.8em;
	position: relative;
}

#teacher .swiper-slide > div > div:first-child > img {
	width: 100%;
}

#teacher .swiper-slide > div:hover .teacher-info {
	display: block;
}

.teacher-info {
	display: none;
	position: absolute;
	top: 0;
	height: 100%;
	border-radius: 0.8em;
	background-color: rgba(87, 66, 64, 0.8);
	z-index: 2;
}

.teacher-title {
	margin-top: 0.5em;
	font-size: 1.5em;
}

.teacher-divider {
	border-top: 1px solid var(--white);
	margin: 0.5em 0;
}

.teacher-introduction {
	font-size: 0.9em;
	padding: 0 1em;
	text-align: left;
}

.stu-table {
	box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.2);
}
.stu-table-title {
	display: flex;
	justify-content: space-between;
	text-align: center;
}
.stu-table-title div {
	background-color: var(--primary-color);
	color: var(--white);
	font-size: 1.2rem;
	line-height: 2;
}
.stu-table-title div:not(:last-child) {
	border-right: 1px solid var(--white);
}
.stu-table-title div:nth-child(1),
.stu-table-title div:nth-child(4) {
	width: 15%;
}
.stu-table-title div:nth-child(2),
.stu-table-title div:nth-child(5) {
	width: 25%;
}
.stu-table-title div:nth-child(3),
.stu-table-title div:nth-child(6) {
	width: 10%;
}
.stu-table .swiper-slide {
	width: 50%;
	border-bottom: 1px dashed rgba(0, 0, 0, 0.6);
	line-height: 3rem;
	transition-timing-function: linear;
	box-sizing: border-box;
}
.stu-table .swiper-slide div:nth-child(1) {
	display: inline-block;
	width: 30%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.stu-table .swiper-slide div:nth-child(2) {
	display: inline-block;
	width: 50%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.stu-table .swiper-slide div:nth-child(3) {
	display: inline-block;
	width: 20%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.stu-extra {
	display: flex;
	justify-content: space-between;
	margin-top: 2rem;
}
.stu-extra a {
	display: inline-block;
	font-size: 1.2rem;
	border: 2px solid var(--primary-color);
	background-color: #ffebe7;
	color: var(--primary-color);
	font-weight: bold;
	padding: 0.8rem 3rem;
	border-radius: 0.5rem;
	text-align: center;
}
/* 教学风采 */

.pics-items {
	--margin: 2rem;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: var(--margin);
	margin-right: var(--margin);
}

.pics-items img {
	display: block;
	margin-left: var(--margin);
	width: calc(25% - var(--margin));
}

.pics-items img:nth-child(n + 5) {
	margin-top: var(--margin);
}

.contact {
	padding: 2rem;
	height: 100%;
	display: flex;
	flex-flow: column;
	justify-content: space-around;
	box-sizing: border-box;
	text-align: center;
	color: var(--white);
	line-height: 2;
}

.contact img {
	width: 10rem;
}

.t1 {
	position: relative;
}
.t1 img {
	max-width: 90%;
	z-index: 2;
	position: relative;
}

.swiper-free-mode > .swiper-wrapper {
	transition-timing-function: linear;
}

.qrcode-block {
	display: flex;
	justify-content: center;
	text-align: center;
	font-weight: bold;
}
.qrcode-block > div {
	max-width: 12rem;
	margin: 0 2rem;
}

.qrcode-block .qrcode img {
	width: 8rem;
}

.history {
	display: flex;
	justify-content: space-between;
}
.history a {
	width: 18%;
	display: inline-block;
	box-sizing: border-box;
	font-size: 1.2rem;
	border: 2px solid var(--primary-color);
	background-color: #ffebe7;
	color: var(--primary-color);
	font-weight: bold;
	padding: 0.8rem 1rem;
	border-radius: 0.5rem;
	text-align: center;
}

#department-category {
	display: flex;
	text-align: center;
	background-color: var(--white);
	border: 2px solid var(--primary-color);
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	justify-content: center;
}
#department-category > div {
	width: calc((100% / 8) - 0.8rem);
	margin: 0 auto;
	position: relative;
	padding: 0.8rem 0;
	cursor: pointer;
}
#department-category > div:not(:last-child)::after {
	position: absolute;
	content: '';
	height: 70%;
	right: -6px;
	top: 15%;
	width: 2px;
	background-color: var(--primary-color);
}
#department-category img {
	display: block;
	margin: 0 auto;
	width: 3rem;
	margin-bottom: 0.4rem;
}
#department-category > div.active::before {
	position: absolute;
	content: '';
	bottom: 0;
	width: 80%;
	left: 10%;
	height: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background-color: var(--primary-color);
}
.department-info {
	background-color: var(--white);
	border-radius: 1.2rem;
	box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.2);
	margin-top: 1em;
	position: relative;
	display: none;
	line-height: 1.8;
}
.department-info > div {
	padding: 1.875rem;
	position: relative;
}
.department-info h3 {
	margin: 0.5em;
}
.department-info p {
	margin: 0.2em;
	text-indent: 2em;
}
.department-info::before {
	content: '';
	position: absolute;
	top: -0.6rem;
	width: 1.2rem;
	height: 1.2rem;
	box-shadow: -0.2rem -0.2rem 0.4rem rgba(0, 0, 0, 0.1);
	background-color: var(--white);
	transform: rotate(45deg);
}
.department-info .department-info-close {
	display: none;
}
.department-info:nth-child(1)::before {
	left: 5.5%;
}
.department-info:nth-child(2)::before {
	left: 18.1%;
}
.department-info:nth-child(3)::before {
	left: 30.5%;
}
.department-info:nth-child(4)::before {
	left: 43%;
}
.department-info:nth-child(5)::before {
	left: 55.5%;
}
.department-info:nth-child(6)::before {
	left: 67.9%;
}
.department-info:nth-child(7)::before {
	left: 80.4%;
}
.department-info:nth-child(8)::before {
	left: 92.8%;
}
#swiper4 {
	height: calc(23rem + 10px);
}
#swiper4 .swiper-slide {
	height: 11.5rem;
}
#swiper4 img {
	/* max-width: 20rem; */
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 768px) {
	.red-block {
		font-weight: bold;
		color: red;
	}
}
@media screen and (min-width: 768px) {
	.red-block {
		display: inline-block;
		padding: 0.2em 0.3em;
		background: var(--primary-color);
		color: white;
		border-radius: 1em;
		font-weight: bold;
	}
}

.newSpan {
	font-size: 0.9em;
}
