
/*蓋版廣告*/
.modal3-open {
	overflow: hidden;
}
.modal3 {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
}
.modal3 {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2120;
	/*display: none;
	overflow: hidden;*/
	outline: 0;
}
.modal3-body img {
    width: 100%;
}

.modal3.fade .modal3-dialog {
	transition: -webkit-transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
	transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
	-webkit-transform: translate(0, -25%);
	transform: translate(0, -25%);
	/*width: 99%;*/
}

.modal3.show .modal3-dialog {
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}

.modal3-open .modal3 {
	overflow-x: hidden;
	overflow-y: auto;
}
.modal3-dialog.newsletter-popup {
    width: 600px;
    margin-top: 10%;
    border-radius: 3px 0px 3px 3px;
}
.modal3-dialog {
	margin: 60px auto 30px;
	margin-top: 10%;
}

.modal3-content {
	position: relative;
	display: -ms-flexbox;
	/*display: flex;*/
	-ms-flex-direction: column;
	flex-direction: column;
	pointer-events: auto;
	background-clip: padding-box;
}
.bottom_bg {
	border: 1px solid #C4C4C4;
	border-radius: 0.3rem;
	outline: 0;
	margin: 15px 10px;
	background-color: #fff;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.19);
	display: block;
	float: left;
}
.modal3-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3040;
	background-color: #000000;
}

.modal3-backdrop.fade {
	opacity: 0;
}

.modal3-backdrop.show {
	opacity: 0.5;
}

.modal-header {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: start;
	align-items: flex-start;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 15px;
	border-bottom: 1px solid #e9ecef;
	border-top-left-radius: 0.3rem;
	border-top-right-radius: 0.3rem;
}

.modal3-header .close {
	padding: 15px;
	margin: 0rem 0.8rem 0rem 0rem;
}
@media (max-width: 576px) {	
.modal3-dialog.newsletter-popup {
    position: relative;
	width: auto;
	margin: 10px;
	pointer-events: none;
	margin-top: 20%;
}

}
/*蓋版*/

.close3 {
	background: #ff4800 none repeat scroll 0 0;
	cursor: pointer;
	/*font-weight: 300;*/
	position: absolute;
	right: 0;
	text-align: center;
	text-transform: uppercase;
	top: -40px;
	/*font-size: 26px;*/
	letter-spacing: 1px;
	color: #fff;
	opacity: 1;
	/*border-radius: 20px;*/
	width: 40px;
	height: 40px;
	font-weight: bold;
}

.close3:focus, .close3:hover {
	color: #fff;
	outline: none;
}

button.close3 {
	padding: 1px 4px 4px;
	border: 0;
	-webkit-appearance: none;
}
/*下方廣告*/
@media (max-width: 576px) {	
.close2 {
	float: right;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .8;
}

.close2:focus, .close2:hover {
	color: #000000;
	text-decoration: none;
	opacity: .75;
}

button.close2 {
	padding: 1px 4px 4px;
    background-color: #B5B5B5;
	border: 0;
	-webkit-appearance: none;
}

.modal2-open {
	overflow: hidden;
}

.modal2 {
	position: fixed;
	/*top: 0;*/
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3051;
	/*display: none;*/
	overflow: hidden;
	outline: 0;
}
.modal2-body img {
    max-width: 100%;
}

.modal2.fade .modal2-dialog {
	transition: -webkit-transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
	transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
	-webkit-transform: translate(0, -25%);
	transform: translate(0, -25%);
	width: 100%;
}

.modal2.show .modal2-dialog {
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}

.modal2-open .modal2 {
	overflow-x: hidden;
	overflow-y: auto;
}

.modal2-dialog {
	position: relative;
	width: auto;
	/*margin: 10px;*/
	pointer-events: none;
}

.modal2-content {
	position: relative;
	display: -ms-flexbox;
	/*display: flex;*/
	-ms-flex-direction: column;
	flex-direction: column;
	pointer-events: auto;
	background-clip: padding-box;
}
.bottom_bg {
	border: 1px solid #C4C4C4;
	border-radius: 0.3rem;
	outline: 0;
	margin: 15px 10px;
	background-color: #fff;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.19);
	display: block;
	float: left;
	width: 94%;
}
.modal2-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3040;
	background-color: #000000;
}

.modal2-backdrop.fade {
	opacity: 0;
}

.modal2-backdrop.show {
	opacity: 0.5;
}

.modal-header {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: start;
	align-items: flex-start;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 15px;
	border-bottom: 1px solid #e9ecef;
	border-top-left-radius: 0.3rem;
	border-top-right-radius: 0.3rem;
}

.modal2-header .close {
	padding: 15px;
	margin: 0rem 0.8rem 0rem 0rem;
}
.up_img {
	width: 40%;
	float: left;
}
.up_p01 {
	width: 49%;
	float: left;
}


/******************************************
2. Newsletter Popup
******************************************/
.modal2-dialog.newsletter-popup {
	height: inherit;
	margin-top: 46%;
	width: 95%;
}
/*.modal-dialog.newsletter-popup {
	background: rgba(0, 0, 0, 0) url("../images/newsletter.jpg") repeat scroll 0 0;
	width: 775px;
	height: 375px;
	margin-top: 10%;
	border-radius:3px 0px 3px 3px;
}*/
.newsletter-popup .modal-content {
	background: inherit;
	box-shadow: none;
	border: none;
	margin-top: 45%;
}
.newsletter-popup .close {
	background: #ff4800 none repeat scroll 0 0;
	cursor: pointer;
	/*font-weight: 300;*/
	position: absolute;
	right: 0;
	text-align: center;
	text-transform: uppercase;
	top: -40px;
	/*font-size: 26px;*/
	letter-spacing: 1px;
	color: #fff;
	opacity: 1;
	/*border-radius: 20px;*/
	width: 40px;
	height: 40px;
	font-weight: bold;
}
.newsletter-popup .close:hover, .close:focus {
	/*background: #fe0100;*/
	color: #fff;
	outline: none;
}
.newsletter-popup h4.modal-title {
	font-size: 26px;
	line-height: 1;
	margin-bottom: 0;
	margin-top: 60px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #fff;
}
.newsletter-popup .modal-body {
	/*padding-left: 35px;*/
}
#newsletter-form .content-subscribe {
	overflow: hidden
}
.form-subscribe-header label {
	color: #eee;
	font-size: 14px;
	font-weight: normal;
	line-height: normal;
	margin: 20px 0;
	max-width: 72%;
}
#newsletter-form .input-box, #newsletter-form .content-subscribe .actions {
	display: block;
}
#newsletter-form .input-box .input-text {
	border: 1px solid #ddd;
	height: 50px;
	line-height: 50px;
	margin: 0 0 15px;
	padding-left: 15px;
	width: 380px;
	color: #333333;
	border-radius: 3px;
	margin-right: 10px;
}
.subscribe-bottom input[type=checkbox] {
	vertical-align: sub;
}
#newsletter-form .actions .button-subscribe {
	background-color: #1e4d9d;
	border: medium none;
	color: #fff;
	font-size: 14px;
	padding: 12px 18px;
	text-transform: uppercase;
	border-radius: 3px;
}
#newsletter-form .actions .button-subscribe:hover {
	background: #000;
	color: #fff;
}
.subscribe-bottom {
	color: #eee;
	display: block;
	margin-top: 15px;
	overflow: hidden;
}
.subscribe-bottom label {
	color: #333333;
	font-size: 12px;
	margin-bottom: 0;
}
#dont_show {
	margin: 0;
	vertical-align: middle;
}
.modal2-open .modal2 {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
}
}