@charset "UTF-8";

#mainimg {
	background-image:url(../img/colk.jpg);
	background-position:center center;
	height:400px;
}
#mainimg p {
	width:1200px;
	height:400px;
	margin:0 auto;
}
#lesson {
	background-color:#67c696;
	padding:30px 0;
}

#news {
	position:relative;
	overflow:hidden;
	line-height:1.7;
	width:100%;
}
#news ul {
	position:relative;
	float:left;
	left:50%;
}
#news li {
	position:relative;
	float:left;
	left:-50%;
	width:270px;
	margin-right:40px;
}
#news li:last-child {
	margin-right:0;
}
#news li h3 {
	width:270px;
	height:270px;
	background-image:url(../img/noimg.jpg);
	background-position:center center;
	background-size:cover;
	margin:0 auto 10px;
}
#news li p {
	width:270px;
	margin:0 auto;
}
#news li p.date {
	font-size:0.84em;
	color:#999;
}
#news li a {
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-color:#fff;
	opacity:0;
	transition: opacity 0.5s;
}
#news li a:hover {
	opacity:0.4;
}

.news_bottom {
	height:20px;
	background-color:#faae69;
	border-radius:0 0 20px 20px;
	-webkit-border-bottom-right-radius:20px;
	-webkit-border-bottom-left-radius:20px;
	-moz-border-radius-bottomright:20px;
	-moz-border-radius-bottomleft:20px;
}

@media screen and (max-width: 499px) {
#mainimg {
	background-image:none;
	height:auto;
}
#mainimg p {
	width:100%;
	height:auto;
}
#lesson {
	padding:20px;
	color:#ffffcc;
	font-size:1.24em;
	font-weight:bold;
}

#news ul {
	position:relative;
	float:none;
	left:0;
}
#news li {
	float:none;
	left:0;
	width:100%;
	margin-right:0;
	padding-bottom:20px;
	margin-bottom:20px;
	border-bottom:1px dotted #faae69;
}
#news li:last-child {
	margin-bottom:0;
	padding-bottom:0;
	border-bottom:0;
}
#news li:after {
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}
#news li h3 {
	float:left;
	width:100px;
	height:100px;
	margin:0 auto;
}
#news li p {
	width:auto;
	margin-left:120px;
}
}
