html {
    scroll-behavior: smooth;
}

.news-header {
    width: 100%;
	height: 420px;
    margin-bottom:32px;
    position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-header:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0.95;
	background-image: url("/assets/images/banner/news-01.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.news-header .container .title {
	color: white;
	text-transform: uppercase;
	font-size: 22px;
}

#news-leftbanner{
	margin-top: 18px;
	position: relative;
	height:100vh;
	flex: 0 0 240px;
	background-image: url("/assets/images//new1-01.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#news-header-overlay{
	width: 100%;
	height: 100%;
	background: rgba(20,20,20,0.7);
	padding-top:42px;
	padding-bottom:42px;
	
	flex-direction: column;
	align-items: center;
	justify-content:center
}	
#news-header-overlay .title{
		text-align: center;
		font-size:1.75em !important;
		font-weight: 600;
		color:white;
		margin-top:0px;
		margin-bottom:0px;
	}
#news-header-overlay .content{
	text-align: center;
		font-size:1.125em !important;
		font-weight: 200;
		color:white;
		margin-top:24px;
		margin-bottom:24px;
	
}

#news-list{
	flex: 1 1 0;
	margin: 0 auto;
	margin-top:18px;
	padding-left:18px;
	padding-right:18px;
}
.showmorebutton{
	margin-top: 20px;
	color: rgb(1, 175, 206);
	cursor: pointer;	
}
#showmorebutton{
	margin-top: 20px;
	color: rgb(1, 175, 206);
	cursor: pointer;
}

#showmorebutton:hover {
	color: #0072FF;
}

#news-list-number {
	margin-top: 5px;
	color: #949494;
	font-size: smaller;
	float: right;
}

.news-row-header{
	display: flex;
	background:#2A86B7;
	color:#f9f9f9!important;
	padding:12px 6px;
	border-radius: 4px 4px 0px 0px;
}
.news-row-header .header-type{
	flex: 0 0 140px;
	font-size:0.95em !important;
	font-weight: bold;
}
.news-row-header .header-date{
	flex: 0 0 140px;
	font-size:0.95em;	
	font-weight: bold;
}
.news-row-header .header-title{
	flex: 1 1 0;
	font-size:0.95em;	
	font-weight: bold;
}

.news-row{
	display: flex;
	padding:18px 6px;
	border-bottom: 1px solid #dddddd;
	
}
.news-row:nth-child(even){
	background:#f6f6f6;
}

.news-row .type{
	flex: 0 0 140px;
	font-size:0.875em !important;
	color:#444444;
}
.news-row .date{
	flex: 0 0 140px;
	font-size:0.875em !important;
	color:#444444;
}
.news-row .title{
	flex: 1 1 0;
	color:#222222;
	margin-bottom:8px;
	font-size:0.95em !important;
	font-weight: bold;
}
.news-row .title a{
	color: #0072FF;
	text-decoration: underline;
}
.news-row .desc{
	flex: 1 1 0;
	font-size:0.875em !important;
	color:#444444;
	line-height: 18px;
}

#news-container{
	max-width: 1200px;
	margin: 0 auto;
	margin-top:24px;
	justify-content: space-around;
	flex-wrap: wrap;
	padding:0px;
}

.news-title {
	color: #005469;
	font-size: 24px;
	margin-bottom: 20px;
}

.max-width {
	margin: auto;
	max-width: 1600px;
}

.news-type {
	text-transform: uppercase;
	color: #868686;
	font-size:smaller;
}

.news-date {
	color: #868686;
	font-size:smaller;
}

#news-hr {
	margin:0;	
}

.news-img {
	margin-top: 20px;
}

.news-shortdesc{
	color:#666666;
	font-size: smaller;
	text-align: justify;
	font-size:15px;
	line-height: 20px;
	margin-top:12px;
	
}

.news-content {
	text-align: justify;
	margin-top: 20px;
	color:#222222;
	line-height: 24px;
	max-height: 120px;
	overflow-y: hidden;
}



.news-prev-next-btn{
	width: 150px;
	color: #02a8c5;
	display: inline-block;
	padding: 12px 30px;
	border-radius: 50px;
	box-shadow: 1px 1px 5px rgb(143, 143, 143);
	margin: 16px 0 30px 0;
	cursor: pointer;
}

.news-prev-next-btn:hover {
	color:#005469;
}

#prev-news:after {
	content: "";
	position: absolute;
	left: -100%;
	top: 53px;
	width: 300%;
	height: 0;
	border-bottom: 1px solid rgb(166, 186, 206);
	
}

#next-news:before {
	content: "";
	position: absolute;
	left: -100%;
	top: -13px;
	width: 300%;
	height: 0;
	border-top: 1px solid rgb(166, 186, 206);
}

.new {
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin-bottom: 10px;
	cursor: pointer;
	padding: 10px 5px 10px 5px;
	border-radius: 5px;
}

.disabled-btn {
	color: #868686 !important;
	cursor: unset !important;
}

.current-new {
	background-color: #e1effc;
}

.new:hover {
	background-color:#e1effc;
}
.news-infomation {
	flex: 1 1 70%;
}

.one-line {
	max-width:780px;
	display:flex;
	justify-content: space-between;
	margin-bottom: 10px;
	flex-direction: column-reverse;
}

.news-title2 {
	width: 100%;
	text-align: left;
}

.news-date2{
	font-size: smaller;
	width:150px;
}

.news-shortdesc2 {
	font-size: smaller;
	color: #636363;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
	width: 95%;
}

#thenews{
	width: 50%;
	padding:12px;
}
.news-recommend-list-container {
	width: 50%;
	padding:12px;

}
#news-showmore{
	display: none;
}
.news-img2 {
	height:100%;
	max-width:100px;
	margin-right: 20px;
	flex:1 1 30%;
	display: block;
}
@media screen and (max-width: 800px) {
	#thenews{
		width: 100%;
	}
	.news-recommend-list-container {
		width: 100%;
	}	
	.news-img2 {
		display: none;
	}
}
@media screen and (max-width: 1200px) {
	.news-header {
		height: 240px;
		margin-bottom: 0px;
	}

	#news-leftbanner{
		display:none;
	}
	.news-row{
		display: flex;
		padding:18px 6px;
		flex-direction: column;
		border-bottom: 1px solid #dddddd;
		
	}
	.news-row-header{
		display: none;
	}
	.news-row .type{
		flex: 0 0 32px;
		font-weight: bold;
		font-size:18px!important;
		color:#444444;
	}
	.news-row .date{
		flex: 0 0 24px;
		color:#444444;
	}
	.news-row .title{
		flex: 1 1 0;
		color:#222222;
		margin-bottom:8px;
		font-size:0.95em !important;
		font-weight: bold;
	}
	#news-list{
		padding-left:4px;
		padding-right:4px;
	}
}
#news-container li {
	padding-left: 15px;
	margin-bottom: 5px;
	margin-left: 10px;
	list-style-type: none;
	background-image: url("https://www.emsd.gov.hk/filemanager/template/common/images/bullet_lv1.png");
	background-repeat: no-repeat;
	background-position: left 0.2em;
}
