@charset "utf-8";

* {
	margin: 0;
	padding: 0;
}

body,
html {
	margin: 0;
	height: 100%;
	background: #fafafa;
}

ul {
	padding: 0;
	margin: 0;
}

ul li {
	list-style-type: none;
}

h2 {
	margin: 0;
}

p {
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
}

a {
	text-decoration: none;
	outline: none;
	color: #000;
}

.courselist-container {
	display: flex;
	flex-direction: row;
	margin: 20px auto;
	min-height: 100vh;
	width: 1140px;
	background: #f5f7fa;
}

.menu-wrap {
	padding: 30px;
	width: 270px;
	/* height: 536px; */
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0px 2px 6px #7c8db11a;
	box-sizing: border-box;
}

.menu__title {
	margin-bottom: 20px;
	width: 210px;
	height: 28px;
}

.top-nav {
	/* max-height: 428px; */
	overflow: auto;
}

.top-nav::-webkit-scrollbar {
	display: none;
}
.first_level {
	display: flex;
	/* position: relative; */
	margin-bottom: 14px;
	color: #3d424a;
	font-weight: 600;
	font-size: 20px;
	line-height: 28px;
	cursor: pointer;
}
.first_level a {
	display: inline-block;
}
.dropDownBox {
	position: relative;
	z-index: 1;
	flex: 1;
	height: 28px;
}

.first_level.active, .first_level:hover,
.first_level.active a, .first_level a:hover {
	color: #3385ff;
	font-weight: 600;
  font-size: 20px;
}
.top-nav .downtriangle .dropDownBox::after {
	position: absolute;
	display: block;
	content: '';
	width: 11px;
	height: 6px;
	background: url(/static-dist/app/img/new-index/xialacaidan_icon@2x.png) no-repeat center;
	background-size: 100%;
	top: 10px;
	left: 10px;
}
.top-nav .uptriangle .dropDownBox::after {
	position: absolute;
	display: block;
	content: '';
	width: 11px;
	height: 6px;
	background: url(/static-dist/app/img/new-index/xialacaidan_icon2@2x.png) no-repeat center;
	background-size: 100%;
	top: 10px;
	left: 10px;
}
.second-level {
	display: none;
	margin-top: 10px;
	margin-bottom: 14px;
	padding-left: 10px;
	border-left-style: solid;
	border-left-color: #ededed;
	border-left-style: 1px;
}

.second-item {
	padding-left: 10px;
	color: #adb0b5;
	font-weight: 400;
	font-size: 14px;
	line-height: 36px;
}
.second-item a {
	color: #adb0b5;
}

.second-item.active,
.second-item:hover {
	color: #414c5c;
	border-radius: 6px;
	background: #f6f6f6;
}

.second-item.active a,
.second-item:hover a {
	color: #414c5c;
}

.right-wrap {
	margin-left: 20px;
	width: 100%;
}

.right-top {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
}

.nav-type {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 4px;
	width: 188px;
	height: 34px;
	border-radius: 6px;
	border: 1px solid #ebebeb;
	box-sizing: border-box;
	background: #ffffff;
}

.nav-type li {
	display: inline-block;
	width: 60px;
	height: 26px;
	color: #9199a7;
	font-weight: 400;
	line-height: 26px;
	text-align: center;
	cursor: pointer;
}

.nav-type li.nav-type__active {
	border-radius: 4px;
	background: #3385ff;
	color: #ffffff;
	font-weight: 600;
}
.nav-type__active a {
	color: #ffffff;
}

.notice-wrap {
	position: relative;
	padding: 0 10px;
	padding-left: 25px;
	border-radius: 17px;
	background: #fff4e0;
	text-align: left;
	font-size: 12px;
	height: 32px;
	line-height: 32px;
	overflow: hidden;
}

.notice-wrap::before {
	content: "";
	position: absolute;
	width: 11px;
	height: 10px;
	background: url("/static-dist/app/img/new-index/notice@2x.png");
	-o-background-size: 100% 100%;
	background-size: 100% 100%;
	left: 10px;
	top: 10px;
}

.notice-wrap li {
	width: 234px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	color: #ff9257;
}

.notice-wrap li span {
	color: #949494;
}
.notice-wrap li a{
	color:#ff9257;
}
.course-row {
	display: none;
	padding: 0 20px;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0px 2px 6px #7c8db11a;
}

.course-cell {
	position: relative;
	padding: 20px 0px;
	display: flex;
	flex-direction: row;
	width: 100%;
	border-bottom: 1px solid #f1f1f1;
}

.course-cell__image {
	margin-right: 20px;
	width: 270px;
	height: 144px;
	border-radius: 8px;
}
.new-hotcourse-cell-tags {
  position: absolute;
  top: 26px !important;
  left: -8px;
  z-index: 1;
  border: 1px solid #ffffff;
  border-radius: 11px;
  padding: 4px 8px;
  line-height: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: bold !important;
}
.new-hotcourse-cell-tags.tags-free {
  background: linear-gradient(180deg, rgba(6, 191, 0, 1) 0%, rgba(0, 126, 17, 1) 100%);
}
.new-hotcourse-cell-tags.tags-new {
  background: linear-gradient(180deg, rgba(255, 188, 68, 1) 0%, rgba(255, 102, 19, 1) 100%);
}
.new-hotcourse-cell-tags.tags-doing {
  background: linear-gradient(180deg, rgba(68, 178, 255, 1) 0%, rgba(19, 116, 255, 1) 100%);
}
.new-hotcourse-cell-tags.tags-hot {
  padding-left: 21px;
  background: url('/static-dist/app/img/new-index/hot_icon@2x.png')top left no-repeat, linear-gradient(180deg, rgba(255, 0, 0, 1) 0%, rgba(218, 0, 0, 1) 100%);
  background-size: 18px 20px;
}

.mb10 {
	margin-bottom: 10px;
}

.course-cell-right {
	flex: 1;
}

.course-cell__title {
	max-width: 400px;
	color: #4a4a4a;
	font-weight: 600;
	font-size: 18px;
	line-height: 24px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
}

.course-cell-info {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.course-cell__desc {
	max-width: 364px;
	height: 36px;
	color: #aaaaaa;
	font-weight: 400;
	font-size: 12px;
	line-height: 18px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.course-cell__time {
	height: 18px;
	color: #aaaaaa;
	font-weight: 400;
	font-size: 12px;
	line-height: 18px;
}

.course-cell__button {
	margin-top: 10px;
	margin-bottom: 18px;
	display: block;
	width: 106px;
	height: 36px;
	mix-blend-mode: normal;
	border-radius: 18px;
	background: #3385ff;
	color: #ffffff;
	font-weight: 600;
	font-size: 14px;
	line-height: 36px;
	text-align: center;
	pointer-events: none;
}
.course-cell__apply {
	z-index: 99;
}
.course-cell__preset {
	color: #3385ff;
	border: 1px solid #3385ff;
	box-sizing: border-box;
	background: #f1f7ff;
}

.course-cell__over {
	color: #aaaaaa;
	background: #f8f8f8;
}

.course-cell-bottom {
	margin-top: 20px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.course-cell-bottom-person {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.course-cell__avatar {
	width: 26px;
	height: 26px;
	border: 1px solid #ffffff;
	border-radius: 50%;
}

.course-cell__name {
	margin-left: 6px;
	color: #31363f;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
}

.course-cell-bottom-right {
	display: flex;
	flex-direction: row;
	line-height: 25px;
	font-size: 12px;
}

.course-cell-bottom__num {
	color: #aaaaaa;
}

.course-cell-bottom__num span {
	color: #aaaaaa;
}

.course-cell-bottom__price {
	margin-left: 12px;
	color: #666666;
}

.course-cell-bottom__price .highlight {
	font-size: 18px;
}

.course-cell-bottom__price span {
	color: #E83D2C;
}

.course-cell-bottom__view {
	cursor: pointer;
	margin-left: 12px;
	color: #666666;
}

.course-cell-bottom__view:hover,
.course-cell-bottom__view:focus {
	text-decoration-line: underline;
}
.empty-row {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 553px;
	border-radius: 10px;
  background: #ffffff;
  box-shadow: 0px 2px 6px rgba(124, 141, 177, 0.1);
}
.empty-row p {
	margin-top: 10px;
	color: #414c5c;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

.clearfix:after {
	content: "";
	display: block;
	clear: both;
}

.clearfix {
	zoom: 1;
}
@media (max-width:767px) {
	.menu-wrap {
		display: none;
	}
	.courselist-container {
		flex-direction: column;
		width: 100%;
	}
	.mobile-menu {
		position: absolute;
		top: 80px;
		left: 0;
		width: 100vw;
		height: 40px;
		display: flex;
    align-items: center;
		background: #ffffff;
	}
	.top-nav {
		display: flex;
		flex-direction: row;
		width: 100%;
		height: 40px;
		white-space: nowrap;
		overflow-x: scroll;
		overflow-y: hidden;
		align-items: center;
		padding: 0 10px;
		box-sizing: border-box;
	}
	.top-nav li {
		flex: 1;
		padding-left: 0;
	}
	.top-nav li .first_level {
		margin-right: 20px;
	}
	.top-nav li:last-child{
		margin-right: 0px;
	} 
	.first_level {
		text-align: center;
		margin-bottom: 0;
		font-size: 14px;
		color: #999999;
		font-weight: 400;
	}
	.first_level a {
		font-size: 14px;
		color: #999999;
		font-weight: 400;
	}
	.top-nav .downtriangle .dropDownBox::after {
		border: 5px solid transparent;
  	border-top: 5px solid #8b8b8b;;
		background: none;
		top: 12px;
    left: 5px;
	}
	.top-nav .uptriangle .dropDownBox::after {
		border: 5px solid transparent;
  	border-bottom: 5px solid #8b8b8b;;
		background: none;
		top: 7px;
		left: 5px;
	}
	.first_level.active, .first_level:hover {
		font-size: 16px;
		color: #333333;
		font-weight: 600;
	}
	.dropDownBox {
		width: 31px;
		height: 28px;
	}
	.second-level {
		z-index: 9;
		position: absolute;
		top: 30px;
		padding: 0;
		width: 148px;
		text-align: center;
		border-radius: 6px;
  	background: #ffffff;
    border:none;
		border:1px solid #e7e7e7;
	}
	.first_level.active, .first_level:hover,
	.first_level.active a, .first_level a:hover {
		position: relative;
		color: #333333;
		font-size: 16px;
	}
	.first_level.active a::after {
		position: absolute;
		bottom:2px;
		left:50%;
		transform: translateX(-50%);
		content: "";
		display: inline-block;
		width: 25px;
		height: 3px;
		border-radius: 1.5px;
		background: #0081cc;
	} 
	ul::-webkit-scrollbar {
		display:none
	}
	.right-wrap {
		margin-left: 0px;
	}
	
	.course-row {
		padding: 0;
		box-shadow:none;
	}
	.course-cell {
		flex-direction: column;
		margin-bottom: 10px;
		padding: 0;
		background: #ffffff;
		border: none;
	}
	.new-hotcourse-cell-tags {
		top: 10px !important;
		left: -4px;
	}

	.course-cell__image {
		width: 100%;
		height: 200px;
		margin-right:0;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
	.course-cell-right {
		padding: 16px;
		border:1px solid #e7e7e7;
		border-top: none;
		border-bottom-left-radius: 8px;
		border-bottom-right-radius: 8px;
	}
}