/* Colour reference chart *

highlight           hl      #ff6a00
darker highlight    hld     #0eb294
darest highlight    hlde    #04705c
border              bo      #ededed
*/
/* hide url after printing */
a[href]:after {
	content: none !important;
}

html {
	/* position: relative;*/
	/* min-height: 100%; */
}

body {
	overflow-x: hidden;
	background: #F5F6F7;
	font-size: 15px;
	/* Margin top by top navbar */
	margin-top: 60px;
	/* Margin bottom by footer height */
	margin-bottom: 40px;
}

iframe {
	border: 0px;
}

/* change gutter size */
@media (min-width: 992px) {
	#wrapper>div[class^="col"] {
		padding-left: 5px;
		padding-right: 5px;
	}
}

@media(max-width:980px) {
	body {
		font-size: 14px;
		background: #fff
	}

	#wrapper {
		padding: 0px !important;
		margin: 0px !important;
	}

	*:not([class^="col"])>.panel {
		border: 0px;
		border-radius: 0px;
		box-shadow: none;
		padding: 0px !important;
		margin: 0px !important;
	}

	*:not([class^="col"])>.panel>.panel-heading {
		border-radius: 0px;
		background-color: #fff !important;
	}

	.breadcrumb {
		background: #fff
	}

	#catlist {
		border: 0px !important;
		top: 50px !important;
	}

	#navbar.navbar-collapse {
		background-color: white;
	}

	#catlist.well {
		border-radius: 0px;
	}

	#sidebar {
		height: 100vh;
	}

	#sidebar .list-group-root {
		width: 100% !important;
		height: 100%;
		height: 100vh;
		background: #fff;
		overflow-y: auto;
		border-right: 1px solid #ddd !important;
		/*box-shadow: 3px 0px 0px rgba(0,0,0,0.3);*/
	}

	#sidebar .list-group-item {
		background: #fff !important;
		border-color: #ddd !important;
		border-left: 0px;
		border-radius: 0px;
		font-size: 14px;
	}

	#sidebar .list-group-item:hover {
		background: #1e75aa !important;
		color: #fff !important;
	}

	#sidebar .list-group-item:hover a {
		color: #fff !important;
	}

	#sidebar .list-group-item a:hover,
	#sidebar a.list-group-item:hover {
		text-decoration: underline;
	}

	#sidebar .list-group.list-group-root>.list-group>.list-group-item {
		background: #1e75aa !important;
		border-color: #1e75aa !important;
		color: #fff !important;
	}

	#sidebar .banner {
		display: none;
	}

	#footer .col-md-2 {
		display: none;
	}

	h4 {
		font-size: 13px !important;
		line-height: 18px !important;
	}

	h3 {
		font-size: 14px !important;
		line-height: 20px !important;
	}

	h2 {
		font-size: 16px !important;
		line-height: 22px !important;
		font-weight: normal
	}

	h2.black a {
		color: black;
	}

	h1 {
		font-size: 18px !important;
		line-height: 24px !important;
		font-weight: normal;
	}

	.topiclist>hr {
		padding-top: 15px !important;
		padding-bottom: 0px !important;
		margin: 0px !important;
		border: 0px;
	}

	.topiclist h3 a {
		max-height: 24px;
		overflow: hidden
	}

	.panel-heading .btn {
		font-size: 14px;
		padding: 3px 10px;
	}

	/*ul.dropdown-menu li a { color:#fff !important }*/
}

#sidebar {
	display: none;
	position: absolute;
	z-index: 99;
	height: 100%;
}

@media(min-width:980px) {
	#wrapper {
		position: static !important;
		width: auto !important;
		left: 0px !important;
	}

	/* 
	#sidebar:not(.hideWhenFull) {
		display: block !important;
		position: inherit;
		left: 0px !important;
	} */

	#sidebar .banner {
		display: block;
	}

	.hideWhenFull {
		display: none !important;
		position: static;
	}

	#overlay {
		display: none !important;
	}
}

@media(min-width:728px) {
	.topiclist>.item.grid {
		padding: 7.5px !important;
	}
}

@media(max-width:728px) {

	body,
	html {
		overflow-x: hidden !important;
	}

	.topiclist.panel-body {
		padding: 5px !important;
	}

	.topiclist hr {
		padding-top: 5px !important;
	}

	.topiclist .thumb {
		height: 180px !important;
	}

	.col-md-8.col-sm-9.col-xs-7 {
		padding-left: 10px !important;
		padding-right: 15px !important;
	}

	.navbar-brand.subitem {
		display: block !important;
	}
}

#overlay {
	background: rgba(0, 0, 0, 0.4);
	position: fixed;
	left: 0px;
	right: 0px;
	bottom: 0px;
	top: 0px;
	z-index: 99;
	display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0px !important;
	padding: 0px !important;
	font-weight: normal !important;
}

h4 {
	font-size: 15px;
	line-height: 20px;
}

h3 {
	font-size: 17px;
	line-height: 22px;
}

h2 {
	font-size: 20px;
	line-height: 28px;
	font-weight: normal
}

h2.black a {
	color: black;
}

h1 {
	font-size: 24px;
	line-height: 32px;
	font-weight: normal;
}

td {
	vertical-align: middle !important;
}

label {
	font-weight: normal !important;
}

hr {
	margin: 15px 0px;
}

/* navbar */
.navbar-md {
	max-height: 50px !important;
}

.navbar-md .navbar-brand {
	color: #fff;
}

.navbar-md button.navbar-toggle {
	height: 36px;
	line-height: 36px;
	padding: 0px 10px;
	margin: 7px 15px;
	/* background: #ec690c; */
	/* color:#fff; */
	/* border-color:#ec690c; */
}

/*
.navbar-md button:not(.btn):hover,.navbar-md button:not(.btn):focus {
	background: #af570a !important;
}*/
.navbar-md button:hover,
.navbar-md button:focus {
	/* background: #ec690c !important; */
}

.navbar-md .navbar-toggle .icon-bar {
	background: #1e75aa
}

.navbar-brand.subitem {
	position: relative !important;
	z-index: 1 !important;
	display: none
}

.navbar-brand.subitem:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	top: 0;
	margin: auto;
	height: 50%;
	width: 1px;
	border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar {
	/* background: #ff6a00; */
}

.navbar ul li a {
	/* color: #fff !important; */
}

.navbar ul li a i {
	margin: 0px 5px;
}

.navbar ul li a:not(.hasbtn):hover {

	text-decoration: none;
}

.navbar-brand:hover,
.navbar-brand:focus {
	/* color: #fff !important; */
}

.navbar-collapse {
	/* background: #ff6a00; */
	border-color: transparent !important;
}

.navbar-collapse form {
	border-color: transparent !important;
}

#navbar-container {
	max-width: 1200px !important
}

@media(min-width:980px) {
	ul.dropdown-menu li a {
		color: #000 !important
	}
}

.navbar-default .navbar-nav>.open>a {
	/* background: #ec690c !important; */
}

/* pagination override */
.pagination {
	margin: 0px !important;
}

.pagination a {
	color: #000 !important;
}

.pagination li.active a {
	/* color: #fff !important;
	background: #ff6a00 !important;
	border-color: #ff6a00 !important */
}

/* affix */
.affix-bottom {
	position: absolute;
}

/* alert */
.alert {
	margin: 0px !important;
}

/* button */
.btn-default.custom {
	color: #fff !important;
	background-color:
		/*hl*/
		#1e75aa !important;
	box-shadow: 0 4px
		/*hlde*/
		#027465;
	border: none;
}

.btn-default.custom:focus {
	outline: none !important
}

.btn-default.custom:hover {
	background:
		/*hld*/
		#01ae97 !important;
}

.btn-default.custom:active {
	outline: none !important;
	background-color:
		/*hld*/
		#1e75aa !important;
	box-shadow: 0 2px
		/*hlde*/
		#027465 !important;
	transform: translateY(2px);
}

/* fix double border */
.btn-group-justified .btn {
	border-right-width: 0px
}

.btn-group-justified .btn:last-of-type {
	border-right-width: 1px
}

/* fundamental */
.success {
	background: #1e75aa !important;
}

.btn-success {
	background: #1e75aa !important;
	border-color: #1e75aa !important;
}

.btn-success:hover {
	background: #1e75aa !important;
	border-color: #1e75aa !important;
}

a {
	color: #1e75aa
}

a:hover {
	color: #1e75aa
}

a.notalink,
.notalink {
	color: #000;
	text-decoration: none;
}

a.f-red,
.f-red {
	color: #c90927;
}

a.f-orange,
.f-orange {
	color: #f17627;
}

a.f-green,
.f-green {
	color: #1e75aa;
}

a.f-grey,
.f-grey {
	color: #999;
}

a.f-black,
.f-black {
	color: #000;
}

.b-red {
	background: #c90927;
	color: #fff;
	border-color: #c90927 !important;
}

.b-grey {
	background: #F5F6F7
}

.b-green {
	background: #1e75aa;
	color: #fff;
	border-color: #1e75aa !important;
}

.b-orange {
	background: #f17627;
	color: #fff;
	border-color: #f17627 !important;
}

.t-border {
	border-top: 1px solid #EEEEEE;
}

.cursor {
	cursor: pointer;
	cursor: hand;
}

.display-table {
	display: table;
	table-layout: fixed;
}

.display-cell {
	display: table-cell;
	vertical-align: middle;
	float: none;
}

.headlight {
	background:
		/*hl*/
		#F5F6F7;
	border-radius: 5px
}

.center {
	margin: auto;
}

.shadow {
	box-shadow: 0px 1px 2px #ddd;
}

.xs-pad {
	padding: 5px !important;
}

.s-pad {
	padding: 10px !important;
}

.m-pad {
	padding: 15px !important;
}

.l-pad {
	padding: 20px !important;
}

.xl-pad {
	padding: 25px !important;
}

.ovf {
	overflow: hidden;
	height: 100%;
}

.none {
	display: none
}

.spacer {
	padding: 5px;
	margin: 0px;
	font-size: 0px;
	line-height: 5px;
}

.inline-block {
	display: inline-block
}

.lean {
	padding: 0px !important;
	margin: 0px !important;
}

.thumb {
	width: 100%;
	display: block;
	height: 220px;
}

.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* close / times button */
.close {
	/*position: absolute;*/
	right: 0px;
	top: 30px;
	width: 22px;
	height: 30px;
	opacity: 1.0;
}

.close:hover {
	opacity: 1;
}

.close:before,
.close:after {
	position: absolute;
	left: 10px;
	content: ' ';
	height: 30px;
	width: 2px;
	background-color: #1e75aa;
}

.close:before {
	transform: rotate(45deg);
}

.close:after {
	transform: rotate(-45deg);
}

/* */
#catlist a {
	color: #000 !important;
}

#catlist a:hover {
	color: #999 !important;
}

#wrapper {
	max-width: 1200px;
	padding: 0px 10px;
	margin: auto;
}


#sidebar ul {
	margin: 0px;
	padding: 0px;
}

#sidebar ul a {
	display: block;
}

#sidebar .list-group.list-group-root {
	padding: 0;
	overflow: hidden;
}

#sidebar .list-group.list-group-root .list-group {
	margin-bottom: 0;
}

#sidebar .list-group.list-group-root .list-group-item {
	border-radius: 0;
	border-width: 1px 0 0 0;
}

#sidebar .list-group.list-group-root>.list-group-item:first-child {
	border-top-width: 0;
}

#sidebar .list-group.list-group-root>.list-group>.list-group-item {
	padding-left: 30px;
	background: #F5F6F7
}

/* footer */
#footer {
	background: #fff !important;
	border-top: 1px solid #ddd;
	font-size: 14px;
	/* position: absolute; */
	bottom: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	/* height: 40px; */
}

#footer .cont {
	background: #fff;

}

#footer .row {
	max-width: 1200px;
	margin: auto;
}

#footer ul,
#footer li {
	margin: 0px !important;
	padding: 0px !important
}

#footer #more-footer {
	background: #fff;
}


/* topic list */
.topiclist>.item.grid {
	padding: 5px 5px 0px 5px;
}

.topiclist>.item.grid>.itemcontainer {
	border: 1px solid #ccc;
	display: inline-block;
	max-width: 100%;
	width: 100%;
	border-radius: 10px;
}

.topiclist>.item.grid .col-md-4.col-sm-3.col-xs-5 {
	width: 100%;
	padding: 0px;
}

.topiclist>.item.grid .col-md-4.col-sm-3.col-xs-5>.row {
	padding: 0px 15px !important;
}

.topiclist>.item.grid .col-md-4.col-sm-3.col-xs-5 .thumb {
	min-height: 150px;
	margin-bottom: 5px;
}

.topiclist>.item.grid h3,
.topiclist>.item.grid a {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.topiclist>.item.grid .col-md-8.col-sm-9.col-xs-7 {
	width: 100%;
}

.topiclist>.item.grid .row>[class*='col-sm-'] {
	width: 100% !important;
	display: block;
	float: none;
	padding: 0px 10px;
	text-align: left
}

.topiclist .infoline {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/*app banner*/
.appad {
	position: fixed;
	bottom: 0px;
	z-index: 4;
	width: 100%;
	background: white;
	border-top: 1px solid #ddd;
	max-height: 68px;
	display: none;
}

.appad a {
	text-decoration: none
}

.appad a:hover {
	text-decoration: none
}

.appad_close {
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	display: inline-block !important
}

.appad_desc {
	padding: 10px 0px 10px 30px;
	overflow: hidden
}

.appad_desc img {
	border-radius: 12px;
	margin-right: 10px
}

.appad_open {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	display: inline-block !important
}

.appad_open span {
	display: inline-flex;
	align-items: center;
	min-height: 100%;
	color: #1e75aa
}


.visible-xl {
    display: none!important;
}
@media (min-width: 1500px)
{
.visible-xl {
    display: block!important;
}
}
