﻿body {
    margin: 0;
    padding: 0;
    font-family: Arial, "微軟正黑體";
    -webkit-overflow-scrolling: touch;
}

* {
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}

a {
    border: 0;
    /*取消a標籤的虛線*/
    outline: none; /* for Firefox */
    hlbr: expression(this.onFocus=this.blur()); /* for IE */
}

img {
    border: 0;
}

/* 遮罩 */
.mask_all {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 999999998;
    overflow: auto;
    display: block;
    top: 0;
    bottom: 0;
}
.mask_all2 {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 999999999;
    overflow: auto;
    display: block;
    top: 0;
    bottom: 0;
}

/*彈跳視窗*/
.popup_container {
    display: flex;
	justify-content: center;
	align-items: center;
    width: 100%;
    height: 100%;
}

.popupBox {
    display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
    width: 100vw;
    height: auto;
	max-width: 491px;
	max-height: 510px;
    z-index: 2;	
}

.popupBox img {
	width: 100%;
	height: auto;	
	margin: 0 auto;
}

.btn_line {
    display: block;
    position: absolute;
    background: url("/ku-regx/images/93_line04.png") no-repeat center;
    background-size: auto auto;
    width: 135px;
    height: 85px;
    bottom: -20px;
    right: 48px;
    cursor: pointer;
}

.btn_join {
    display: block;
    position: absolute;
    background: url("/ku-regx/images/btn_join.png") no-repeat center;
    background-size: auto 100%;
    width: 56%;
    height: 60px;
    bottom: 0px;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
}

.btn_join:active, .btn_join:hover {
    background-image: url("/ku-regx/images/btn_joinB.png");
}

@media (orientation: landscape) {
	.popupBox {
		width: auto;
		min-width: 250px;
		height: 100%;
	}
	
	.popupBox img {
		width: auto;
		height: 100%;
	}
}


@media (orientation: landscape) and (max-height: 460px) {
	.btn_join {
		height: 50px;
		bottom: 5px;
    	width: 84%;
	}
}

@media (max-width: 460px) {
	.popupBox img {
		width: 115%;
	}
	.btn_join {
    	width: 70%;
	}
}

@media (max-width: 393px) {
	.btn_join {
    	width: 66%;
		background-size: 100% auto;
		background-position: center bottom;
	}
}
