﻿body {
    margin: 0;
    padding: 0;
    font-family: Arial, "微軟正黑體";
    -webkit-overflow-scrolling: touch;
    background: url("../images/bodyBG.jpg") no-repeat #262626;
	background-size: cover;
}

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    box-sizing: border-box;
}

a {
    border: 0;
    /*取消a標籤的虛線*/
    outline: none; /* for Firefox */
    hlbr: expression(this.onFocus=this.blur()); /* for IE */
	cursor: pointer;
}

img {
    border: 0;
}

ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 320px) {
	body {
		font-size: .9em;
	}
}

@media (min-width: 400px) {
	body {
		font-size: 1em;
	}	
}

@media (min-width: 768px) {
	body {
		font-size: 1.1em;
	}	
}

.PCmd, .pcstyle {display: none;}

.psfixed {
	position: fixed;
}

/*MBmd mobile*/
.bg_header {
	height: 47px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 2%;
}

.bg_header li {
	width: 33.3%;
	display: flex;
	justify-content: center;
}

.bg_header li:last-child {
	justify-content: flex-end;
}

.logo {
	display: flex;
	justify-content: center;
	align-items: center;
}

	.logo img {
		width: 100px;
	}

.btn_login {
	display: flex;
	justify-content: center;
	align-items: center;
	background: url("../images/btn_loginM.png") no-repeat center;
	background-size: 100% auto;
	width: 112px;
	height: 47px;
	color: #221f1c!important;
	font-weight: bold;
	line-height: 1;
}

.btn_login:active {
	-webkit-filter: brightness(1.1); /* Safari */
    filter: brightness(1.1);
}

/*漢堡選單*/ /*-*/
.btn_menu {
	width: 32px;
    height: 20px;
    background: url(../images/btn_menu.svg) no-repeat left 7px center;
    background-size: auto 100%; 
}

.menuBox {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 98;
    box-sizing: border-box;
    padding: 0;
}

    .menuBox.on {
        display: block;
    }

    .menuBox ul {
        position: absolute;
        left: 0;
        top: 47px;
        bottom: -100px;
        width: 70%;
		max-width: 300px;
        background-color: rgba(0,0,0,.8);
        display: flex;
        flex-flow: column;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .menuBox li {
		width: 92%;
		margin: 0 auto;
        font-size: 1em;
        color: #eed0ae;
        max-height: 64px;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 5px 2%;
        box-sizing: border-box;
		border-bottom: 1px solid #5d5144;
    }

    .menuBox li:before {
		content: '';
		display: block;
		width: 20px;
		height: 32px;
		margin-right: 12px;
	}

    .menuBox li.login:before {
		background: url("../images/icon_login.svg") no-repeat center;
		background-size: 100% auto;
	}

    .menuBox li.join:before {
		background: url("../images/icon_join.svg") no-repeat center;
		background-size: 100% auto;
	}

    .menuBox li.service:before {
		background: url("../images/icon_service.svg") no-repeat center;
		background-size: 100% auto;
	}

	.menuBox li:active {		
		-webkit-filter: brightness(1.2); /* Safari */
		filter: brightness(1.2);
	}

.mainArea {
	width: 100%;	
}

.picBox {
	width: 100%;
	height: 38.5vw;
	overflow: hidden;
    display: flex;
	justify-content: center;
	background: url("../images/loadingMBG.jpg");
}

	.picBox img {
		width: 100%;
		height: auto;
	}

.container_main {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	padding: 20px 0;
	position: relative;
	box-sizing: border-box;
}

	.container_main:before {
		content: '';
		display: block;
		position: absolute;
		width: 50%;
		height: 100%;
		left: 0;
		top: 0;
		background: url("../images/imgpic_MBG.png") no-repeat center;
		background-size: auto 100%;
		z-index: 1;
	}

.webEntrance {
	width: 90%;
	max-width: 400px;
	height: 26vw;
	background: url("../images/portal_BG.png") no-repeat top center;
	background-size: 100% 100%;
	margin-right: 10px;
	margin-bottom: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-left: 15%;
	z-index: 3;
}

	.webEntrance:last-child {
		margin-bottom: 0px;
	}

.icon_web {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 26vw;
}

.icon_web img {
	width: 100%;
	margin: 0 auto;
}

.textbox {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	align-content: center;
	height: 100%;
	width: 43vw;
	margin: 0 4vw 0 10vw;
}

.title {
	display: block;
	text-align: center;
	width: 100%;
	font-size: 1em;
	line-height: 1;
	margin-bottom: 5px;
	color: #fff;
	font-weight: bold;
}

.btn_web {
	display: flex;
	justify-content: center;
	align-items: center;
	background: url("../images/btn_webM.png") no-repeat center;
	background-size: 100% auto;
	height: 30px;
	width: 170px;
	font-size: 1em;
	position: relative;
	border: 0;
	font-weight: bold;
	cursor: pointer;
}

	.btn_web:before {
		content: '';
		display: flex;
		align-items: center;
		position: absolute;
		width: 11px;
		height: 13px;
		right: 3vw;
		background: url("../images/icon_arrow.svg") no-repeat center;
		background-size: 100% auto;
	}

	.btn_web:hover, .btn_web:active, .webEntrance:active .btn_web {
		-webkit-filter: brightness(1.1); /* Safari */
		filter: brightness(1.1);
	}

.menu_select {
	width: 100%;
	overflow: hidden
}

.menu_select ul {
	white-space: nowrap;
	overflow: hidden;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	-webkit-overflow-scrolling: auto;
	scrollbar-width: none;
	background-color: rgba(255,255,255,.05);
}

.menu_select ul::-webkit-scrollbar {
	display: none
}

.menu_select ul li {
	position: relative;
	display: inline-table;
	padding: 0 15px;
	text-align: center;
	height: 50px;
	line-height: 50px;
	color: #d6b38b;
}

	.menu_select ul li:active {
		color: #f5d5b1;
	}

.footer {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0 2%;
	position: relative;
	bottom: 0;
}

.footer img {
	width: 100%;
	max-width: 400px;
	height: auto;
}

/*--loading 智能線路選擇--*/
.loading {
	width: 100%;
	height: 100%;
	background: url("../images/loadingMBG.jpg") no-repeat center;
	background-size: 100% 100%;
	z-index: 99;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;	
	display: none;
	box-sizing: border-box;
}

	.loading.lodinVerify {
		background-image: none;
		background-color: rgba(0,0,0,.45);
	}

	.lodinVerify .loadingBox img {
		border-radius: 5px;
		width: 270px;
	}

.loadingBox {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.loadingBox img {
	width: 60%;
	height: auto;
}

.loginBox {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;
	width: 100%;
	height: 100%;
}

.btnBox {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;
	background: url("../images/loginBg.png") no-repeat center;
	background-size: 100%;
	width: 150px;
	height: 150px;
	margin: 5% 50px;
	cursor: pointer;
}

	.btnBox img {
		width: 60px;
		height: 60px;
	}

	.btnBox:hover, .btnBox:active {
		-webkit-filter: brightness(1.05); /* Safari */
		filter: brightness(1.05);
	}

.btnBox span {
	width: 80%;
	text-align: center;
	margin-top: 12px;
	font-weight: bold;
	font-size: 1.3em;
	line-height: 1;
}

@media (min-width: 375px) {
    .menuBox li {
		width: 90%;
    }
}

@media (min-width: 400px) {
	.btn_menu {
		height: 24px;
	}
	
	.btn_login {
		width: 125px;
	}
	
    .menuBox li {
        padding: 5px 5%;
    }
	
	.container_main {
		padding: 26px 0;
	}
	
	.webEntrance {
		height: 26.5vw;
	}

	.textbox {
		width: 62vw;
	}

	.title {
		margin-bottom: 10px;
	}
	
	.btnBox {
		width: 160px;
		height: 160px;
	}

		.btnBox img {
			width: 66px;
			height: 66px;
		}
}

@media(min-width: 470px) {
	.btn_web:before {
		right: 15px;
	}
	
	.loadingBox img {
		width: 250px;
	}
}

@media(min-width: 500px) {
	.container_main {
		padding: 30px 0;
	}
	
	.container_main:before {
		left: 5%;
	}
	
	.webEntrance {
		height: 112px;
		margin-bottom: 20px;
		padding-left: 13%;
	}
	
	.icon_web {
		width: 25%;
	}
	
	.textbox {
		width: 66%;
		margin: 0 3%;
	}
	
	.loginBox {
		padding: 0 20%;
	}
}

@media(min-width: 600px) {
	.container_main:before {
		left: 8%;
	}
	
	.webEntrance {
		padding-left: 10%;
	}	
}

@media(min-width: 768px) {	
	.container_main {
		padding: 30px 20%;
	}
	
	.container_main:before {
		left: 12%;
	}
	
	.webEntrance {
		padding-left: 15%;
	}
	
	.btn_web:before {
		right: 10px;
	}
	
    .menuBox ul {
        max-width: 310px;
    }
	
    .menuBox li {
		max-height: 75px;
    }
	
		.menuBox li:before {
			width: 26px;
		}
	
	.btnBox {
		width: 210px;
		height: 210px;
	}

		.btnBox img {
			width: 85px;
			height: 85px;
		}

		.btnBox span {
			margin-top: 18px;
		}

	.loadingBox img {
		width: 280px;
	}
	
	.mstyle {
		display: none;
	}
	
	.pcstyle {
		display: block;
	}

	.footer img {
		max-width: 760px;
		margin: 10px 0;
	}
	
	.menu_select ul{
		display: flex;
		justify-content: center;
		min-width: 768px;
	}
}

@media(min-width: 870px) {	
	.webEntrance {
		padding-left: 12%;
	}
}

@media(min-width: 1024px) {
	body {
		font-size: 1.3em;
	}
	
	.bg_header {
		height: 55px;
	}
	
	.logo img {
		width: 130px;
	}
	
	.btn_login {
		height: 55px;
		width: 155px;
	}
	
    .menuBox ul {
        max-width: 350px;
    }
	
	.webEntrance {
		max-width: 600px;
		height: 168px;
		padding-left: 13%;
	}	
	
	.icon_web {
		width: 26%;
	}
	
	.textbox {
		width: 66%;
		margin: 0 3%;
	}
	
	.btn_web {
		width: 210px; 
		height: 40px;
	}
	
	.btn_web:before {
		right: 15px;
	}
	
	.menu_select ul{
		min-width: 1024px;
	}
	
	.menu_select ul li {
		height: 55px;
		padding: 0 20px;
	}
	
	.footer img {
		max-width: 1000px;
	}
}

@media(min-width: 1200px) {
	.PCmd {
		display: block;
	}
	
	.MBmd {
		display: none;
	}

	.picBox {
		min-width: 1100px;
		height: 310px;
	}

	.mainMenu {
		display: flex;
		width: 1100px;
		height: 60px;
		margin: 0 auto;
		justify-content: space-between;
	}

	.logo img {
		width: 136px;
		height: auto;
	}

	.menu {
		display: flex;
		height: 60px;
		justify-content: space-between;
		align-content: center;
		align-items: center;
	}

	.menu a {
		color: #eed0ae;
		margin-left: 60px;
		font-size: 16px;
		cursor: pointer;
	}

	.menu a:hover, .btmMenuM a:hover, .menu a:active, .btmMenuM a:active {
		color: #fbecdb;
	}

	.btn_login {
		background: url("../images/btn_login.png") no-repeat;
		background-size: auto 42px;
		width: 126px;
		height: 42px;
	}

		.webEntrance:hover .btn_web, .menu a.btn_login:hover, .btn_web:hover, .menu a.btn_login:active, .btn_web:active {
			filter: brightness(1.1);
			color: #000!important;
		}
	
	.picBox img {
		width: 1920px;
	}

	.container_main {
		min-width: 1100px;
		height: 430px;
		background: url("../images/img_BG.jpg") no-repeat center;
		background-size: cover;
		padding: 0;	
		flex-wrap: nowrap;
		padding: 0 10px;
	}
	
		.container_main:before {
			display: none;
		}

	.webEntrance {
		width: 240px;
		height: 510px;
		background: url("../images/portalPC_BG.png") no-repeat top center;
		background-size: 100% auto;
		position: relative;
		margin: 0 20px;
		justify-content: center;
		padding: 0;
		cursor: pointer;
	}

	.webEntrance:first-child {
		margin-left: 0;
	}

	.webEntrance:last-child {
		margin-right: 0;
	}

	.title {
		width: 70%;
		font-size: 25px;
		margin-top: 55px;
		line-height: 1.2;
		margin-bottom: 70px;
	}

	.btn_web {
		background: url("../images/btn_web.png") no-repeat center;
    background-size: 100% auto;
		height: 60px;
		width: 240px;
		font-size: 22px;
		position: absolute;
		bottom: 55px;
	}

	.btn_web:before {
		right: 20px;
        width: 15px;
		height: 100%;
    }

	.icon_web {
		width: 100%;
		flex-wrap: wrap;
	}

	.icon_web img {
		width: 130px;
		height: auto;
	}

	.btmMenu {
		width: 100%;
		min-width: 1100px;
		background-color: rgba(255,255,255,.08);
		height: 48px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.btmMenuB {
		width: 1100px;
		display: flex;
		justify-content: center;
	}

	.btmMenuB a {
		display: block;
		margin: 0 30px;
		color: #eed0ae;
		font-size: 16px;
	}
   
	.footer {
		min-width: 1100px;
		height: 75px;
	}
   
	.footer img {
		width: auto;
		height: 48px;
	}
	
	.loading {
		background: url("../images/loadingBG.jpg") no-repeat center;
		background-size: cover;
	}
	
	.btnBox {
		width: 238px;
		height: 238px;
	}

	.btnBox img {
		width: auto;
		height: 90px;
	}

	.btnBox span {
		font-size: 20px;
		margin-top: 30px;
	}

	.loadingBox img {
		width: 367px;
	}
}



