html,body{
	padding:0;
	margin:0;
}
img {
    border: 0 none;
}
a img{
	border:none;
}
.main{
	max-width:1280px;
	margin:0 auto;
	min-height:900px;
	position: relative;
}
.borderdown img, .menumain img, .video_text img{
	height:20px;
}
.detail img, .langbox img{
	height:15px;
}
.eng .link3_6 img{
	height:29px;
}
.sub-nav img{
	height:16px;
}
.chi .footer{
	font-family:"微軟正黑體","新細明體";
}
.footer{
	position:absolute;
	bottom:0;
	left:0;
	width: 100%;
	margin:12px 0;
}
.footer{
	font-size:11px;
	font-family:arial;
}
.footer a{
	color:#000000;
	text-decoration:none;
}
.footer a:hover{
	text-decoration:underline;
}
.footer p{
	margin:0;
	text-align:center;
}
.bg{
	background: #0b56a5 url('../common/images/desktop_bg.jpg') no-repeat center bottom;
}
.container{
    margin: 0;
    padding: 0;
	height: 1%;
}
.container:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.container_left{
    float: left;
    margin: 0;
    padding: 0;
    width: 384px;
}
.container_left .inside{
	padding: 50px 0 0 0;
	margin-right: 84px;
}
.logo{
	padding-left:60px;
}
.nav{
	margin-top:45px;
}
.menu{
	margin: 4px 0;
    padding-bottom: 5px;
}
.menu2{
	margin: 5px 0 0 0;
    padding-bottom: 5px;
}
.menu3{
	margin: 0;
    padding-bottom: 5px;
}
.bb{
	border-bottom:1px solid #ffffff;
}
.container_middle{
    float: left;
    margin: 0;
    padding: 115px 0 0 0;
    width: 496px;
	text-align:center;
}
.chi .container_middle{
	padding: 148px 0 0 0;
}
.headtitle{
	padding-bottom:25px;
}
.container_right{
    float: right;
    margin: 0;
    padding: 0;
    width: 384px;
}
.container_right .inside{
	padding:50px 0 0 130px; 
}
/*dev hidden*/
.video_text{
	padding-bottom:5px;
	margin-bottom:15px;
}
.container_right .wrapper{
	
}
.video{
	margin-bottom:10px;
}

.wrapper {
	position:relative;
	width: 220px;
	margin-bottom:10px;
}
.checkclick{
	width:100%;
	position:absolute;
	top:0;
	left:0;
	z-index:1099;
	cursor:pointer;
}
#fancybox-left, #fancybox-right{
	bottom:30px !important;
}
#fancybox-left-ico, #fancybox-right-ico{
	margin-top:15px !important;
}

.language_con{
    margin: 0 0 46px 0;
    padding: 0;
	height: 1%;
	width:167px;
}
.language_con:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.langbox img{
	vertical-align: sub;
}
.langbox{
    float: right;
    margin: 0;
    padding: 0;
	font-family:arial;
	color:#ffffff;
}
.langbox a{
	text-decoration:none;
	color:#ffffff;
	font-size:14px;
}
a.active{
	text-decoration:underline;
}
.langbox a:hover{
	/*text-decoration:underline;*/
}
a.eng{
	font-family:arial;
}
a.chi, a.sc{
	font-family:"微軟正黑體";
}
#fancybox-content div{
	overflow:hidden;
}
.wrapper a{
	display:flex;
}

.nav ul{
	list-style-image: none;
    list-style-type: none;
	margin:0;
	padding:0;
}
.nav ul ul{
	padding:0;
}
.nav ul > li{
	margin:0;
	padding:5px 0;
}
.nav ul li a{
	display:block;
}
.desktop .section, .mobile .section{
	padding: 5px 0 5px 60px;
}
.desktop .fordesktop, .mobile .formobile{
	display:block;
}
.desktop .formobile, .mobile .fordesktop{
	
}

.desktop .down a{
	background: url("../common/images/drop-down.png") no-repeat right 7px;
	padding:5px 0 5px 0;
	display:block;
}
.desktop .down .section, .mobile .down .section{
	padding-right:137px;
	padding-left:60px;
}
.mobile .down .section{
	padding-right:0px;
	position:relative;
	z-index:2;
	width:76%;
}
.nav ul li.selected > a {
    /*background: #345f9a;*/
}
.nav ul li.selected.down > a {
	
}
.desktop .nav ul li.selected.down > a {
    background: #345f9a url("../common/images/drop-up.png") no-repeat right 7px;
}
.desktop .dropdown{
	display:none;
}

.menumain a{
	display:block;
	padding: 8px 0 6px 60px;
}

.desktop .selected > a {
    background: #345f9a;
}

.menumain.selected > a {
    background: #345f9a;

}
.selected .sub-nav{
	border-top:1px solid #ffffff;
}
.borderdown{
	border-bottom:1px solid #ffffff;
}

.nav ul li.selected ul li a , .nav ul li ul li a{
    background: none;
}

.nav ul li ul{
	margin:4px 0 0 0;
	padding:3px 0 0 0;
}
.desktop .sub-nav li a, .mobile .sub-nav li a{
	padding: 3px 0 0 65px;
}
.nav .sub-nav li.selected{
	background:#348fce;
}
.mobile_container{
	display:none;
}
.mobile .sebg{
	height:30px;
	background:#345f9a;
	display:none;
	position:absolute;
	top: 6px;
    width: 100%;
    z-index: 1;
}
.mobile .selected .sebg{
	display:block;
}
.dropdown{
	width:25px;
	height:30px;
	position:absolute;
	top:0px;
	right:10px;
	z-index: 999;
	cursor:pointer;
	padding:5px;
}
.down.borderdown{
	position:relative;
}
.dropdown.down{
	background: url("../common/images/drop-down.png") no-repeat center center;
}
.dropdown.up{
	background: url("../common/images/drop-up.png") no-repeat center center;
}
.vcontainer{
	margin-bottom:10px;
	padding:0 11%;
}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.mejs-container .mejs-controls.enterfull{
	background:none !important;
	height:26px !important;
}
p.detail{
	margin-top:0;
	color:#ffffff;
	font-family:arial,"微軟正黑體";
	font-size:14px;
	padding-top:3px;
}

/*Any Mobile*/
@media (max-width:1280px){
	.container_middle{
		display:none;
	}
	.mobile_container{
		text-align:center;
		padding-top:40px;
		display:block;
	}
	.container_left, .container_middle, .container_right{
		float:none;
		width:100%;
	}
	.main{
		min-height: 1700px !important;
	}
}

/*ipad landscape*/
@media (min-width:768px) and (max-width:1024px){
	.ipad .vcontainer {
		padding: 0 36%;
	}
	
	.mobile .wrapper{
		width:280px !important;
		height:157px !important;
	}
	.main{
		min-height: 1850px !important;
	}
}
/*ipad portrait*/
@media (min-width:479px) and (max-width:768px){
	.ipad .vcontainer {
		padding: 0 32%;
	}
	.mobile .wrapper{
		width:280px !important;
		height:157px !important;
	}

	.checkclick{
		
	}
}


@media only screen and (max-width: 320px) and (min-width: 220px) {
	.main{
		min-height: 1300px !important;
	}
}
/*iphone5*/
@media only screen and (max-width: 420px) and (min-width: 320px) {
	.mobile .main{
		min-height: 1600px !important;
	}
	.desktop .main{
		min-height: 1300px !important;
	}
}


/*iphone6*/
@media only screen and (max-width: 500px) and (min-width: 375px) {
	.desktop .main{
		min-height: 1500px !important;
	}
	.mobile .main{
		min-height: 1700px !important;
	}
}

/*All Mobile phone*/
@media only screen and (max-width: 550px) and (min-width: 220px) {
	
	.container_middle img, .mobile_container img{
		width:100%;
	}
	.mobile .wrapper{
		width:280px !important;
		height:157px !important;
	}
}

@media only screen and (max-width: 500px) and (min-width: 220px) {
	.bg{
		background: #1E5BAB url('../common/images/mobile_bg.jpg') no-repeat center bottom;
	}
	.logo{
		padding-bottom:5px;
	}
	.logo img{
		width:150px;
	}
	
}

@media only screen and (max-width: 550px) and (min-width: 410px) {
	
}


/*ipad*/
@media (min-width:220px) and (max-width:1280px){
	.container_left .inside {
		padding: 25px 0 0;
		margin-right:0;
	}
	.language_con{
		position:absolute;
		top:20px;
		right:20px;
		
	}
	.headtitle, .enter{
		padding:0 40px;
	}
	.enter{
		padding-top:20px;
	}
	.container_middle{
		padding-top:20px;
	}
	.container_right .inside{
		padding:40px 0 0 0;
	}
	
	.video{
		text-align: center;
	}
	.wrapper{
		margin:0 auto;
		width:220px;
		margin-bottom:10px;
	}
	.video_text{
		padding-left: 60px;
	}
	.menu {
		max-width: 100%;
	}
}
