body{
	margin:0;
	padding:0;
	/* min-width:768px; */
}
body.fontsize_small {
    font-size: 16px;
}
body.fontsize_normal {
    font-size: 18px;
}
body.fontsize_large {
    font-size: 20px;
}
body.zh-hk li#mZHHK, body.en li#mEN, body.zh-cn li#mZHCN {
    display: none;
}
body.fontsize_small #mFontS, body.fontsize_normal #mFontM, body.fontsize_large #mFontL{
      display: none;
}
body.lock{
	overflow: hidden;
}
#bg_s1 video {
  /*width: auto    !important;
  height: 100%   !important;*/
}
.comma:lang(en) {
    font-family: sans-serif;
}
#mainWrapper {
	width: 100%;
	min-width: 320px;
	max-width: 1920px;
	left: 0;
	right: 0;
	margin: 0 auto;
	/* 	position: relative;
	overflow: hidden; */
	/* overflow: hidden; */
}
#sc>a {
    width: 38px;
    height: 38px;
    background-repeat: no-repeat;
    display: block;
    background-position: 0 0;
    margin-bottom: 10px;
    cursor: pointer;
}

#footer a:active {
    color: inherit;
    text-decoration: none;
}

#footer a:visited {
    color: inherit;
    text-decoration: none;
}


#footer a:link {
    color: inherit;
    text-decoration: none;
}

#footer .coming { position: relative; }
#footer .coming span { display: none; position: absolute; bottom: -30px; width: 80px; height:29px; z-index:1; background: url(../images/comingsoon.png) no-repeat 0 0 ; }
#footer .coming span:lang(en) {
    display: none;
    position: absolute;
    bottom: -30px;
    width: 126px;
    height: 34px;
    z-index: 1;
    background: url(../../en/images/comingsoon.png) no-repeat 0 0;
}
#footer .coming:hover span { display: block; }

#footerApp {
    background-color: #403030;
    width: 100%;
    padding: 30px 0;
    text-align: center;
}
ul#storeList {
    padding: 0;
    margin-left: initial;
}
ul#storeList li {
    display: inline-block;
    width: 162px;
    height: 54px;
    /* background-color: red; */
}
ul#storeList li:hover{
    cursor: pointer;
}
li#androidApp {
    background-image: url(../../common/images/google_play.png);
}

li#iosApp {
    background-image: url(../../common/images/app_store.png);
}
ul#storeList li a{
	width: 100%;
	height: 100%;
	display: block;
}
#footer2>p#f1 {
    margin: 0;
}
#footer2>#f2 {
   padding: 0;
   margin-left: initial;
}
.middle {
    display: table;
    width: 100%;
    height: 100%;
}

.middle .middle-helper {
    vertical-align: middle;
}

.middle .middle-content {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
    /* line-height: 200px; */
}
.middle .middle-content.aboutGrid{
    /* line-height: 200px; */
}

.clearfix:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

.third_layer>.mask {
    background-color: #403030;
    opacity: .9;
}
#sc>a:hover .scIcon {
    display: block;
    position: absolute;
    left: -94px;
}
a#btnTopS {
    margin-bottom: 0;
	transition:all 0.4s;
}
a#btnMapS {
    position: relative;
    right: 0;
    background-image: url(../images/TSM_Home-24.png);
    display: block;
	transition:all 0.4s;
}
a#btnMapS:hover {
    background-image: url(../images/TSM_Home-27.png);
}
a#btnOnlineB {
    position: relative;
    right: 0;
    background-image: url(../images/TSM_Home-33.png);
    display: block;
	transition:all 0.4s;
}
a#btnOnlineB:hover {
    background-image: url(../images/TSM_Home-38.png);
}
a#btnCalendarS {
    position: relative;
    right: 0;
    background-image: url(../images/TSM_Home-25.png);
    display: block;
	transition:all 0.4s;
}
a#btnCalendarS:hover {
    background-image: url(../images/TSM_Home-28.png);
}
a#btnTopS.active, a#mbtnTopS.active {
    position: relative;
    right: 0;
    background-image: url(../images/TSM_Home-26.png);
    display: block;
}
a#btnTopS:hover, a#mbtnTopS:hover {
    background-image: url(../images/TSM_Home-29.png);
}
#s4FeatureGallery .gallery-cell{
	width: 100%;
	height: 900px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
#galleryWrapper {
    position: absolute;
    top: 0;
    width: 100%;
    height: 900px;
}
#galleryWrapper .mask {
    top: 0;
    opacity: .6;
}
#s4 #slide1 {
    background-image: url(../images/home/TSM_Home-11.jpg);
}
#s4 #slide2 {
    background-image: url(../images/home/TSM_Home-12.jpg);
}
#s4 #slide3 {
    background-image: url(../images/home/TSM_Home-13.jpg);
}
#s4 #slide4 {
    background-image: url(../images/home/TSM_Home-14.jpg);
}

/*.banner_title:lang(en){*/
.banner_title{
    /*left: 50%;
    position: relative;
    color: #fff;
    width: 330px;
    letter-spacing: 20px;
    writing-mode: horizontal-tb; 
    font-size: 22px;
    margin-left: -146px;
    height: 30px;
    top: 42px;*/
    /* top: 0; */
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    color: #fff;
    letter-spacing: 20px;
    font-size: 22px;
}

#banner {
    height: 422px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
#subMenuWrapper {
    max-width: 90%;
    left: 0;
    right: 0;
    margin: 0 auto;
    overflow: hidden;
}
ul#catList>li {
    display: inline-block;
    margin-right: 115px;
    left: 0;
    right: 0;
    padding-bottom: 16px;
    /* width: 32%; */
    padding-top: 16px;
    /* float: left; */
    list-style-type: none;
}

ul#catList>li:lang(en){
	margin-right: 80px;
}

ul#catList>li:last-child {
    margin-right: 0;
}

ul#catList {
    text-align: center;
    /* margin: 0; */
    /* width: 570px;  */
    margin: 0 auto;
    padding: 0;
    white-space: nowrap;
    /* width: 100%; */
}

div#catBar {
    /* padding-top: 10px; */
    background-color: #EFEBE0;
    border-bottom: 1px #986A50 solid;
    height: 58px;
    width: 100%;
}

ul#catList>li.active {
    border-bottom: 3px solid #986A50;
}

ul#catList>li:hover {
    cursor: pointer;	
	color: #986A50;
	transition:all 0.8s;
}
#subMenuLeft, #subMenuRight{
	display: none;
}

#origin {
    /* border-top: 1px #986A50 solid; */
}
.sectionHeader {
    padding-top: 110px;
    line-height: 2em;
}
@-webkit-keyframes listIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(50px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0px);
  }
}
@keyframes listIn {
  0% {
    opacity: 0;
    -moz-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
  }
}

#mainWrapper.fix {
    /* position: fixed; */
    /* overflow: hidden; */
}


body.fontsize_normal #footer>ul>li:first-child{
	font-size:21px;
}
body.fontsize_large #footer>ul>li:first-child{
	font-size:23px;
}
body.fontsize_small #footer>ul>li:first-child{
	font-size:19px;
}
a#btnTopS.inactive, a#mbtnTopS.inactive {
    display: none;
}
#mmenuWrapper.dmode{
	/* display: none; */
}
#googleMap{
	width: 100%;
	height: 380px;
}
.mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, .mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, .mCS-dark.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar, .mCS-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .mCS-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar, .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {

    background-color: #986A50;
}

#subMenuWrapper .mCSB_horizontal.mCSB_inside > .mCSB_container{
	margin-bottom: 0;
}
#subMenuWrapper .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	background-color: rgba(0,0,0,0.4);
}
#subMenuWrapper .mCSB_scrollTools .mCSB_draggerRail{
    background-color: rgba(255,255,255,0.75);
}
#subMenuWrapper	.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
#subMenuWrapper	.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
	background-color: rgba(0,0,0,0.4);
}
.fb_iframe_widget span {
    margin-bottom: 20px;
}
@media screen and (max-width: 780px) {
	ul#catList>li {
		/* display: inline-block; */
		/* margin-right: 60px; */
		/* left: 0; */
		/* right: 0; */
		/* padding-bottom: 6px; */
		/* width: 32%; */
		margin-right: 15%;
	}
}

@media screen and (max-height: 900px) {
	#instantsNewsWrapper{
		    position: absolute;
    bottom: 0;
	}
}
@media screen and (max-width: 779px) {
	body{
		overflow-x:auto !important;
	}
}

@media screen and (min-width: 768px) {
	#sc {
		position: fixed;
		top: 0;
		right: 30px;
		z-index: 15;
		height: 182px;
		bottom: 0;
		margin: auto 0;
	}
}
@media screen and (max-width: 767px) {
	/*.banner_title:lang(en) {*/
		/* width: initial; */
		/* font-size: 20px; */
		/* margin-left: initial; */
		/* left: initial; */
		/* text-align: center; */
	/*}*/
	#mmenuWrapper.mmode{
		display: block;
		-webkit-transition: margin-top .2s linear;
		-moz-transition: margin-top .2s linear;
		-ms-transition: margin-top .2s linear;
		transition: top .2s linear;
	}
	body.menuOpen #mmenuWrapper.mmode.pinned{
		top: 0;
		left: 280px;
	}
	#mmenuWrapper.mmode.unpinned{
		top: -50px;
	}
	.section{
		overflow: hidden;
	}
	#s1.section{
		height: auto !important;
		max-width: 1920px;
		left: 0;
		right: 0;
		margin: 0 auto;
	}
	#sc {
		position: fixed;
		right: 10px;
		z-index: 10;
		height: 38px;
		bottom: 10px;
	}
	#subMenuLeft, #subMenuRight{
		display: none;
	}
	#subMenuLeft.active, #subMenuRight.active{
	 /* 	display: block;
		width: 12px;
		height: 18px;
		position: absolute;  */
	}
	#subMenuLeft.active{
		background-image: url(../images/sub_menu_left_btn.png);
		left: 5px;
		top: 0;
		bottom: 0;
		margin: auto 0;
	}
	#subMenuRight.active{
		background-image: url(../images/sub_menu_right_btn.png);
		right: 5px;
		top: 0;
		bottom: 0;
		margin: auto 0;
	}
	#subMenuWrapper {
    /* width: 80%; */
    /* position: relative; */
    /* overflow: hidden; */
    /* overflow-x: scroll; */
    /* left: 0; */
    /* right: 0; */
    /* margin: 0 auto; */
 }
	a#mbtnTopS.active, a#btnTopS.active {
		bottom: 10px;
		position: fixed;
		right: 20px;
		width: 38px;
		height: 48px;
		z-index: 15;
	}
}