/*初始化样式*/
h1,
h2 {
	text-align: center;
	font-weight: bold;
	/* color: var(--white); */
	color: #222;
}
h2 .title-icon {
	height: 0.7em;
	vertical-align: 0.04em;
	margin: 0 1rem;
}
.red {
	color: red;
}
.blue {
	color: blue;
}
.yellow {
	color: #fff149;
}
.bold {
	font-weight: bold;
}
p {
	margin: 0;
}
.main {
	padding-top: 1rem;
	position: relative;
	/* background-color: var(--primary-color); */
}
.btnRow {
	display: flex;
	align-items: center;
	justify-content: center;
}
.btn3 {
	margin: 0 20px 15px;
	line-height: 2;
	text-align: center;
	font-weight: bold;
	color: var(--white);
	/* background-color: #eee; */
	line-height: 2;
	display: inline-block;
	border-radius: 3rem;
	padding: 0 1rem;
	cursor: pointer;
	width: 30%;
	height: 40px;
	line-height: 40px;
	color: #000;
	border: 2px solid firebrick;
	font-size: 14px;
}
.pink {
	background-color: var(--primary-color);
	color: white;
}
.banner {
	/* color: #fff; */
	/* text-align: center; */
	/* font-size: 3.2rem;
	font-weight: bold;
	padding-bottom: 20%;
	display: flex;
	justify-content: center;
	align-items: center; */
	/* background-image: url('../images/banner-bg.png'); */
	/* background-size: 100% 100%; */
	position: relative;
	/* --animate-delay: 0.5s; */
}
.banner-bg {
	width: 100%;
}
/* .banner img {
	position: absolute;
} */
/* .banner img:nth-child(1) {
	width: 29%;
	top: 20%;
}
.banner img:nth-child(2) {
	width: 34.4%;
	top: 60%;
} */
.list {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
	text-align: center;
}
.list .item {
	box-shadow: 0px 1px 0.5rem 0px rgba(1, 1, 1, 0.2);
	border-radius: 0.5rem;
	margin: 0 2.5rem;
	padding: 1.5rem 2rem;
	width: 14rem;
	box-sizing: border-box;
}
.list .item-text {
	color: #666;
}
.list .item img {
	width: 3rem;
}
.list .item-title {
	border-bottom: 1px solid #ddd;
	font-size: 1.5rem;
	font-weight: bold;
	margin-top: 0.2rem;
	padding-bottom: 0.8rem;
	margin-bottom: 0.8rem;
}
.list .item:hover {
	background-image: linear-gradient(to right, #3a50da, #4b76f8);
}
.list .item:hover .item-text {
	color: var(--white);
}
.list .item:hover .item-title {
	border-bottom-color: var(--white);
	color: var(--white);
}
.list .item:hover:nth-child(1) img {
	content: url('../images/item1-1.png');
}
.list .item:hover:nth-child(2) img {
	content: url('../images/item2-1.png');
}
.list .item:hover:nth-child(3) img {
	content: url('../images/item3-1.png');
}

.course {
	border-radius: 0.6rem;
	margin-bottom: 2rem;
	background-color: var(--white);
	/* font-weight: bold; */
}
.course-title {
	text-align: center;
	color: #222;
	font-size: 1.8rem;
}
.course-table table {
	border-collapse: collapse;
	border: 1px solid var(--table-border);
	border-width: 1px 0 0 1px;
	text-align: center;
	margin: -1px 0;
}
.course-table th {
	line-height: 1;
	padding: 0.7rem 0;
}
.course-table td,
.course-table th {
	border: 1px solid var(--table-border);
	border-width: 0 1px 1px 0;
}
.course-table-head tr {
	position: relative;
	background: var(--primary-color);
	color: var(--white);
	font-size: 1rem;
	line-height: 2.3;
}
.table-td {
	display: inline-block;
	text-align: left;
}
.course-table-body td {
	padding: 0.5rem 1.5rem;
	line-height: 2rem;
}
.course-table-body .table-flex {
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.course-table-body a.btn {
	display: inline-block;
	font-weight: bold;
	min-width: 6rem;
	line-height: 2;
	text-align: center;
	background: #d2151a;
	border-radius: 2rem;
	color: var(--white);
}
.course .qrcode {
	display: inline-block;
	margin-left: 2em;
	text-align: center;
}
.course .qrcode img {
	width: 6rem;
}

.discount {
	border-radius: 0.6rem;
	box-shadow: 0px 1px 0.5rem 0px rgba(1, 1, 1, 0.2);
	background: var(--white);
	position: relative;
	padding: 2rem 3rem;
	margin: 1px 0;
}
.discount h2 {
	font-size: 1.6rem;
}
.discount h2:first-child {
	margin-top: 0;
}
.discount-title {
	line-height: 1.5;
	text-align: center;
	color: #222;
}
.discount-list p {
	border-bottom: 1px dashed #efe6d9;
	padding: 0.4em 0;
	font-size: 1rem;
	margin: 0 2rem;
}
.discount-list p:last-child {
	border-bottom: none;
}

/* 师资 */
#teacher {
	position: relative;
	margin-bottom: 2rem;
}
#teacher .swiper-wrapper {
	justify-content: space-between;
}
#teacher .swiper-slide {
	color: var(--white);
	position: relative;
	height: 100%;
	width: 30%;
}
#teacher .swiper-slide > div {
	width: 90%;
	margin: auto;
	overflow: hidden;
	border-radius: 12px;
	position: relative;
	border: 1px solid var(--table-border);
}
#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: 10px;
	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.8em;
	padding: 0 1em;
	text-align: left;
	/*line-height: 26px;*/
}
.teacher-bottom {
	position: absolute;
	bottom: 0px;
	width: 100%;
	background-color: var(--white);
	color: #000;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	line-height: 4;
	font-size: 16px;
}
.teacher-bottom img {
	width: 16px;
	vertical-align: -0.3em;
}
.teacher-bottom span {
	color: #999;
}
.teacher-bottom .teacher-bottom-divider {
	background-color: #999;
	display: inline-block;
	width: 1px;
	height: 1em;
	vertical-align: -0.16em;
	margin: 0 2px;
}

.contact-us {
	margin: 0 auto;
	background-image: url('../images/lxwm.jpg');
	background-size: 100% 100%;
	padding: 13% 12% 6%;
	font-weight: bold;
	font-size: 1.3rem;
	max-width: 978px;
	box-sizing: border-box;
}
.contact-us p {
	margin: 1.75rem 0;
	position: relative;
}
.contact-us .icon {
	width: 2.5rem;
	text-align: center;
	display: inline-block;
}
.contact-us .icon img {
	height: 1.5rem;
	vertical-align: -0.2em;
}
.contact-us .code {
	margin-top: 5%;
}
.btitle {
	width: 718px !important;
	height: 296px !important;
	position: absolute;
	top: 114px;
	left: 50%;
	transform: translate(-50%);
}
.centerBg {
	width: 100%;
}
.centerBox {
	position: relative;
	width: 732px;
	height: 328px;
	transform: translate(-50%);
	margin-bottom: 34px;
	top: 0;
	left: 50%;
	margin-top: -5%;
}
.centerBox2 {
	position: relative;
	width: 100%;
	height: 100%;
	transform: translate(-50%);
	margin-bottom: 14px;
	top: 0;
	left: 50%;
	margin-top: 10px;
}
.borderBox {
	transform: translate(-50%);
	margin-bottom: 48px;
	margin-left: 50%;
	position: relative;
}

.inner {
	position: absolute;
	top: 107px;
	left: 50%;
	transform: translate(-50%);
}
.row {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
.icon {
	width: 72px;
	height: 76px;
}
.text {
	width: 790px;
	height: 74px;
	background: #ffe5c2;
	border-radius: 8px;
	padding: 0 15px;
	text-indent: 2rem;
	display: flex;
	align-items: center;
}
.class {
	margin-left: 50%;
	transform: translate(-50%);
	margin-bottom: 30px;
}

.swiper-free-mode > .swiper-wrapper {
	transition-timing-function: linear;
}

.image-preview {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000001;
	visibility: hidden;
}

.previewed-image {
	max-width: 80%;
	max-height: 80%;
}

.close {
	position: absolute;
	top: 10px;
	right: 10px;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
}

.topic {
	position: relative;
}
.topic:not(:last-child) {
	margin-bottom: 20px;
}

.topic-title {
	background-image: url('../images/bg-topic.svg'),
		linear-gradient(to right, #4159e7, #4a76f8);
	background-position: 20px center, 0 0;
	background-repeat: no-repeat;
	background-size: auto 80%, cover;
	color: var(--white);
	padding: 20px;
	border-radius: 10px;
	position: relative;
	z-index: 1;
	cursor: pointer;
}

.topic-content {
	border: 1px solid #ccc;
	text-indent: 2em;
	line-height: 2;
	overflow: hidden;
	display: none;
	margin-top: -10px;
	padding: 20px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}
