@charset "utf-8";
* {
    margin: 0;
    padding: 0;
}
ul, li {
    list-style-type: none;
}
a {
    text-decoration: none;
}
.swiper-button-prev{
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23b22222'%2F%3E%3C%2Fsvg%3E");
}
.swiper-button-next {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23b22222'%2F%3E%3C%2Fsvg%3E");
}

header {
	background-color: firebrick;
	padding-top: 5px;
	position: relative;
	top: 0;
	width: 100%;
	z-index: 100;
}

footer {
	clear: both;
	padding: 20px 0;
	background-color: #f2f2f2;
	line-height: 40px;
	text-align: center;
}
header>div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
header>div, footer>div, .main {
	max-width: 1024px;
	margin: auto;
}



footer .sign{
	height: 80px;
	width: 80px;
	margin: auto;
	float: left;
}
footer br{
	display: none;
}

@media screen and (min-width:600px) and (min-height:600px) {
	header{
		position: sticky;
	}
}
@media screen and (max-width:800px) {
	footer {
		padding:10px 0;
		line-height: 20px;
	}
	footer .sign{
		float: none;
	}
	footer br{
		display: unset;
	}
}

header>div:after{
	content: '术业宜从勤学始 韶华不为少年留';
	order: 2;
	flex: 1;
    color: #FFF;
    font-size: 20px;
    font-family: '楷体';
}

header .logo {
	order: 1;
}
header .logo img {
	height: 65px;
}



.media-icons {
	order: 3;
}
.media-icons a::before {
	color: firebrick;
	padding: 5px;
	background-color: #FFFFFF;
	display: block;
}

.media-icons img {
	position: absolute;
	left: -50px;
	display: none;
	top: calc(100% + 10px);
}

.media-icons a {
	font-size: 16px;
	position: relative;
}

.media-icons .popup:hover img {
	display: block;
}

.media-icons .popup::after {
	border: transparent 10px solid;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin: auto;
	border-top: none;
	border-bottom-color: #FFF;
}

.media-icons .popup:hover::after {
	content: '';
}


@media screen and (max-width:600px) {

	header {
		padding-top: 0;
	}
	header>div:after{
		content: '';
	}
	.media-icons {
		order: 0;
		width: 100%;
		border-bottom: 1px solid #FFF;
	}
	.media-icons a::before {
		background: none;
		color: #FFF;
	}
}












.menu {
    color: firebrick;
    background-color: #FFFFFF;
    padding: 7px;
    display: none;
    float: right;
}


nav {
	order: 4;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border-top: 1px crimson solid;
	text-align: center;
	clear: both;
	font-size: 15px;
	position: relative;
	z-index: 10;
	width: 100%;
}
nav a {
	display: block;
	color: #FFFFFF;
}
nav a:hover {
	color: #f4930a;
}

nav > ul {
	width: 100%;
	display: flex;
	margin: 0 auto;
	white-space: nowrap;
	line-height: 60px;
}

nav > ul >li {
	flex: 1;
	position: relative;
}


nav ul ul {
	display: none;
	position: absolute;
	text-align: center;
	top: 100%;
	left: 50%;
	background-color: #FFFFFF;
	color: firebrick;
	box-shadow: 0px 0px 5px #666;
	line-height: 40px;
	min-width: 200px;
	transform: translate(-50%, 0);
}
nav ul li:hover ul{
	display: block;
}
nav ul ul::before {
	content: '';
	position: absolute;
	display: block;
	bottom: 100%;
	left: 0;
	right: 0;
	margin: auto;
	border: transparent 10px solid;
	border-bottom-color: #FFF;
	width: 0;
	box-sizing: content-box;
}


nav ul ul li a {
	color: firebrick;
	padding: 0 10px;
}



@media screen and (max-width:600px) {
	.menu {
		order: 4;
		display: block;
	/*	margin: auto;	*/
		width: 40px;
		height: 40px;
		text-align: center;
		line-height: 40px;
		margin-left: auto;
	}
	nav> ul {
		display: block;
		height: auto;
		flex-direction: column;
		transition: transform .5s;
		transform-origin: top;
		position: absolute;
	}
	header.close-nav-menu nav> ul{
		transform: scaleY(0);
	}
	nav> ul > li {
		position: relative;
		display: block;
		background-color: firebrick;
		float: none;
		line-height: 40px;
		overflow: hidden;
		/*
		max-height: 100px;
		*/

	}
	nav ul ul {
		display: block;
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		white-space: nowrap;
		overflow: auto;
		line-height: 60px;
		transform: none;
		min-width: auto;
	}
	nav ul ul::before {
		content: none;
	}
	nav>ul>li::before, nav>ul>li::after {
		content: '';
		position: absolute;
		top: 40px;
		width: 80px;
		bottom: 0;
		margin: 0;
		border: none;
		right: auto;
		z-index: 1;
		pointer-events: none;
	}
	nav>ul>li::before {
		background-image: linear-gradient(90deg, #FFF, transparent);
		left: 0;
	}
	nav>ul>li::after {
		background-image: linear-gradient(-90deg, #FFF, transparent);
		right: 0;
	}
	
	nav ul ul li {
		display: inline-block;
		min-width: 100px;
	}
	
	nav ul ul li a {
		color: firebrick;
	}
}


.news-inline-item {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-inline-item:hover {
    color: #F80;
}
.news-inline-item::before {
    content: attr(data-date);
    float: right;
}
.news-inline-item:hover::before {
    content: none;
}



.list-base {
}
.list-base > *{
	display: inline-block;
}

.list-center {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.list-center > * {
	flex: 1;
}
.list-column {
	display: flex;
	flex-direction: column;
}
.list-column > * {
	flex: 1;
}


.position {
    font-size: 14px;
}

.pagelist {
    text-align: center;
    font-size: 16px;
}
.pagelist li {
    line-height: 20px;
    font-size: 16px;
    display: inline;
}

.file{
    width: 300px;
	margin: 10px;
	max-width: 300px;
}
.file:hover {
    outline: solid #ff9724 1px;
}
.file * {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.file img{
	width: 48px;
	height: 48px;
	float: left;
	margin: 6px;
	transition: .5s;
}

.file :hover img{
	width: 60px;
	height: 60px;
	float: left;
	margin: 0;
}

.file h1, .file p, .file time{
	height: 20px;
	line-height: 20px;
	font-size: 14px;
}
.file p, .file time{
	color: #AAA;
}




.book{
    width: 240px;
	margin: 10px;
	max-width: 240px;
}
.book * {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: center;
}
.book img{
	width: 240px;
	height: 327px;
}

.book h1{
	height: 30px;
	line-height: 30px;
	font-size: 18px;
}
.file p{
	height: 20px;
	line-height: 20px;
	font-size: 14px;
}
.flex-ves {
	display: flex;
	   flex-wrap: wrap;
	   justify-content: space-around;
	   letter-spacing: 1px;
   }