/*
Theme Name: Sing Tao Gloabl Theme 2017
Theme URI: http://www.aitsolution.ca
Description: Customized by Accountable IT　Solutions
 
Author: AIT
Version: 1.0
Tags: news cms
*/

nav.pagination-bar ul.pagination li.more-cats a{
	width: 100px;
    color: #ffffff;
    background-color: #06c8b8;
    border-color: #06c8b8;
}

.sidebar .ad_banner,
.hot-topics .ad_banner{
	margin-bottom: 10px;
}
/** la region common style **/
.la .mini_news_widget {   
    margin-bottom: 15px;
}

.ad_banner{
    margin-top: 5px;
    margin-bottom: 5px;
}

@media (max-width: 991px) and (min-width: 768px){
	.la .main.index .block.daily {
		margin-bottom: 15px;
	}
}
@media (max-width: 767px){
	.la .ad_banner img {
		width: 100%;
	}
}

.la .boxbox {
    display: inline-block;
    width: 100px;
    margin-right: 15px;
    font-size: 18px;
    vertical-align: top;
}
.la .main_inside{
	background-color: #fff;
    font-size: 16px;
    line-height: 30px;
    padding: 6px 15px;
    width: 100%;
    border: 1px;
    border-style: solid;
    border-color: #e6e6e6;
    font-family: 'Helvetica Neue',Helvetica,Tahoma,Arial,Georgia,'Xin Gothic','Hiragino Sans GB','Droid Sans Fallback','Microsoft YaHei New','Microsoft Yahei','Microsoft JhengHei',SimSun,STXihei,sans-serif;
}
.la .seperator {
    display: inline-block;
    width: 1px;
    background-color: #ccc;
    margin-right: 15px;
    height: 100%;
}
.la .boxlong {
    display: inline-block;
    width: 220px;
    margin: 15px;
    color: #3372B0;
    font-size: 18px;
    vertical-align: top;
}
@media (max-width: 1259px) and (min-width: 992px){
	.la .boxbox {
		margin-right: 0;
	}
	.la .seperator {
		margin-right: 0;
	}
	.la .boxlong {
		width: 210px;
		margin: 0;
	}
}
/** end la region common style **/


/** sf region common style **/
.sf .sidebar > .row > div {
    margin-bottom: 3px;
}

.sf .footer-wrapper.icon-bar {
	text-align: center;
}
.sf .footer-wrapper.icon-bar div {	
	width: 150px;
	height: 45px;
	text-align: center;
	display: inline-block;
}
.sf .footer-wrapper.icon-bar div img {
	max-height: 100%;
	max-width: 100%;
}

.sf .STV_icon {
	background: url(images/app_icon_STV.png) center center !important;
}
.sf .CG_icon {
	background: url(images/app_icon_cg.png) center center !important;
}
.sf .footer .info dl.follow dd i.fa {
	width: 65px;
	height: 65px;
	line-height: 67px;
	border-radius: 6px;
	font-size: 42px;
	color: #fff;
	-webkit-transition: .25s ease-out;
	transition: .25s ease-out;
}
.sf .follow i.qrcode {
	border-radius: 0px !important;
}
.sf .follow .qrcode {
	margin-left: 15px;
}
.sf .follow .facebook .icon_seperator {
	border-color: #4c69ba;
}
.sf .icon_seperator {
	width: 2px;
	height: 35px;
	border-left: 2px solid black;
	display: inline-block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.sf .follow dd {
	position: relative;
}
.sf .follow .facebook i.qrcode {
	background: rgba(51, 51, 51, 1) url(images/facebook-qr.png) no-repeat center right;
	background-size: 65px 65px;
}
.sf .follow .wechat .icon_seperator {
	border-color: #2dc100;
}
.sf .follow .wechat i.qrcode {
	background: rgba(51, 51, 51, 1) url(images/wechat-qr.jpg) no-repeat center right;
	background-size: 65px 65px;
}
.sf .fa-weixin {
	background-color: #2dc100 !important;
}

.sf .footer .info dl.st-apps dd a.ios_tv {
	width: 130px;
	background: rgba(51, 51, 51, 1) url(images/apps-STV-apple.png) no-repeat center right;
	background-size: 65px 65px;
}
.sf .footer .info dl.st-apps dd a.and_tv {
	width: 130px;
	background: rgba(104, 159, 56, 1) url(images/apps-STV-android.png) no-repeat center right;
	background-size: 65px 65px;
}
.sf .footer .info dl.st-apps dd a.ios_cg {
	width: 130px;
	background: rgba(51, 51, 51, 1) url(images/apps-chineseguide-ios.jpg) no-repeat center right;
	background-size: 65px 65px;
}
.sf .footer .info dl.st-apps dd a.and_cg {
	width: 130px;
	background: rgba(104, 159, 56, 1) url(images/apps-chineseguide-android.jpg) no-repeat center right;
	background-size: 65px 65px;
}

@media (min-width: 1260px){
	.sf .icon-bar>div {
		margin-left: 45px;
	}
	.sf .footer .info .other {
		margin-right: 0px;
	}
}
@media (max-width: 767px){
	.sf .mobile-hide {
		display: none;
	}	
	.sf .ad_banner img {
		width: 100%;
	}
}
@media (max-width: 991px){
	.sf .sidebar iframe {
		margin-left: auto;
		margin-right: auto;
		display: block;
		
	}
}


@media (min-width: 768px){
	.sf .other div {
		display: inline-block;
		vertical-align: top;
	}
	.sf .footer .info .other>div:not(:first-child) {
		margin-left: 50px;
	}
	
	.sf .other .follow {
		margin-top: 0 !important;
		margin-left: 15px !important;
	}
	.sf .follow i.fa {
		margin-right: 15px !important;
		vertical-align: bottom;
	}
	.sf .desktop-hide {
		display: none;
	}
}

@media (max-width: 1260px), (max-width: 991px){
	.sf .main.index .main-wrap.morning .sidebar .finance {
		position: initial;
		margin: 0 auto 10px auto;
		width: auto;
	}
	.sf .main.index .block.daily {
		margin-bottom: 0;
	}
}

/** end sf region common style **/


/** ny region common style **/
@media (max-width: 991px) and (min-width: 768px){
	.ny .main.index .main-wrap.morning .sidebar .news-list.ad3 {
		position: absolute;
		top: 575px;				
	}
}

	.ny_wechat_icon {
		width: 48px;
		height: 48px;
		margin-left: -5px;
		margin-top: -5px;
		vertical-align: text-top
	}

	.ny_qrcode_singdao {
		width: 130px;
		height: 130px;
		vertical-align: text-top
	}



/** end ny region common style **/

.city-top, .city-btm-one, .city-btm-two{
	 display: none;
}
.header ul.nav{
	height: 1px;
}
@media (min-width:0px) and (max-width:992px) {
	.city-top {
		display: block;
		position: absolute;
		z-index: 100;
		top: 90px;
		background-color: rgb(240, 240, 240);
		width: 270px;
		height: 50px;
		border-bottom: 1px solid rgb(200, 200, 200);
		font-size: 1.3em;
		padding: 12px 20px;
	}

	.city-top:active, .city-btm-one:active, .city-btm-two:active {
		background-color: white;
	}

	.city-btm-one {
		display: none;
		position: fixed;
		left: 0;
		bottom: 50px;
		background-color: rgb(240, 240, 240);
		width: 270px;
		height: 50px;
		border-bottom: 1px solid rgb(200, 200, 200);
		font-size: 1.3em;
		padding: 12px 30px;
	}

	.city-btm-two {
		display: none;
		position: fixed;
		left: 0;
		bottom: 0px;
		background-color: rgb(240, 240, 240);
		width: 270px;
		height: 50px;
		border-bottom: 1px solid rgb(200, 200, 200);
		font-size: 1.3em;
		padding: 12px 30px;
	}
	.city-nav-list{
		background-color:white; width:100%; height:auto;
	}
	.mob-sidebar-left-nav-wrapper{
		background-color: white;
	}
	.nav{
		margin-left: 100px !important;
		padding-top: 50px !important;
		padding-bottom: 110px !important;
		float: none;
	}
	.header ul.nav{
		height: auto;
	}
}

/* Subscription Page */
#subscription-selection-box {
	border: 1px solid #f1f1f1;
	background-color: #fbfbfb;
	box-shadow: 4px 4px 7px #ececec;
}

.sub-form {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 35px;
	margin-top: 88px;
}
.sub-form > h3 {
	text-align: center;
	margin-bottom: 35px;
}
.sub-form > label {
	padding-left: 9px;
}
.sub-form > input[type=radio] {
	margin: 14px 0 0;
}

.btn-sub {
	margin: 8px;
	padding: 16px 10px;
	background-size: 200% auto;
	color: white;
	box-shadow: 0 0 20px #eee;
	border-radius: 30px;
	display: block;
	min-width: 290px;
}

.btn-sub1 {
	background-image: linear-gradient(to right, #5C258D 0%, #4389A2 51%, #5C258D 100%);
}

.btn-sub2 {
	background-image: linear-gradient(to right, #134E5E 0%, #71B280 51%, #134E5E 100%);
}

.btn-sub3 {
	width: 108px;
	border-radius: 30px;
	border: rgb(223, 112, 112) solid 2px;
	color: rgb(223, 112, 112);
	background: transparent;
	font-weight: bold;
	padding: 10px 10px;
	margin-bottom: 60px;
}

.btn-sub3:hover {
	background-color: rgb(223, 112, 112);
	color: #fff;
	transition: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.btn-logout {
	border: #f4f4f4 1px solid;
	font-size: 12px;
	padding: 2px 8px 2px 9px;
	text-decoration: none;
	color: #fff;
	border-radius: 14px;
	background-color: #a0dcd1;
}

.flexres {
	display: flex;
}

#display-user-name {
	align-items: center; 
	justify-content: flex-end; 
	color: #808080; 
	font-size: 13px; 
	display: -webkit-box; 
	display: -webkit-flex; 
	display: -moz-box; 
	display: -ms-flexbox; 
	display: flex;
	line-height:20px;
}

#btn-user-profile {
	background-color:white;
	border:none;
	display: -webkit-box; 
	display: -webkit-flex; 
	display: -moz-box; 
	display: -ms-flexbox; 
	display: flex;
}

#btn-user-profile i{
	color: #808080;
	padding-right: 4px;
	line-height:20px;
}

@media (max-width: 441px) {
	.flexres {
		display: unset;
	}
	.btn-sub1, .btn-sub2 {
		margin: 30px auto;
	}
	.btn-sub3 {
		width: 100px;
	}
	#subscription-selection-box {
		width: 100% !important;
	}
	.sub-form {
    width: 88% !important;
		margin-top: 70px !important;
	}
	#user-account {
		margin: 5px 0 5px 0;
		float: none!important;
	}
}

.subscription_selectbox {
	height: 44px;
    width: 100%;
    padding: 10px;
	margin-bottom: 20px;
	font-size:15px;
}
#display-user-expiry-date {
	line-height: 20px;
    margin-right: 5px;
    color: #808080;
}

