@charset "utf-8";
/* CSS Document */

@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	line-height: normal;
	font-size: 62.5%;
}
body {
	height: 100%;
	font-family:"微軟正黑體", "Helvetica Neue", Helvetica, "Microsoft YaHei", "微软雅黑", sans-serif;
	-webkit-text-size-adjust: none;
	appearance:none;
	-moz-appearance:none;
	-webkit-appearance:none; 
	color: #000;
	background-color: #fff;
	background-image: url(../images/dust_scratches.png);
	background-position: left top;
	background-repeat: repeat;
}
* {
	box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
     font-family: 'Noto Sans TC', "微軟正黑體", "Helvetica Neue", Helvetica, sans-serif;
     font-weight: inherit; 
     margin: 0 0; 
}
p {
	display: block;
	font-size: 1.6rem;
	line-height: 2;
}
a{
	color: #977961;
	outline: none;
	font-family: 'Noto Sans TC', "微軟正黑體", "Helvetica Neue", Helvetica, "Microsoft YaHei", "微软雅黑", sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.4s;
}
a:hover{
	color: #333;
}
a.btn {
	display: block;
	padding: 10px 20px;
	font-size: 1.4rem;
	color: #fff;
	text-align: center;
	background-color: #977961;
	border: 1px solid #977961;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
a.btn:hover{
	color: #000;
	background-color: rgba(151,121,97,0.25);
	text-decoration: none;
}
input{
	height: 36px;
	line-height: 36px;
	font-size: 1.5rem;
	border-radius: 0;
	background-color: transparent;
	border: 0px;
	border-bottom:1px solid #000;
	transition: all 0.4s;
}
input:focus{
	border-bottom:1px solid #3c8dbc;
	background-color: #eee;
}
textarea:focus{
	border: 1px solid #3c8dbc;
	background-color:#eee;
}
select{
	appearance:none;
	-moz-appearance:none;
	-webkit-appearance:none; 
	background: url("../images/select_arrow.png") no-repeat right 5px center transparent;
	height: 36px;
	line-height: 36px;
	font-size: 1.5rem;
	padding-left: 5px;
	padding-right: 20px;
	border-radius: 0;
	border: 0px;
	border-bottom:1px solid #000;
	transition: all 0.4s;
	cursor: pointer;
	outline: none;
}
select:focus{
	border-bottom:1px solid #3c8dbc;
	background-color: #eee;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #aaa;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #aaa;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #aaa;
}
.wrap {
	min-height: 100%;
	*display: table; /* For IE7 Hack */
	*height: 100%; /* For IE7 Hack */
}
.main { 
	overflow:auto; 
	padding: 10px 10px 45px 10px; }
footer {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: -45px; /* negative value of footer height */
	height: 45px;
	clear:both;
	border-top: 1px solid #a0733d;
	background-color: #333;}
.copyright{
	color: #fff;
	font-size: 1.3rem;
}
.br-break{
	display: none;
}
.modal_box {
    /*width: 40%;*/
	width: 760px;
    text-align: left;
    min-width: 300px;
    min-height: 250px;
    margin: auto;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 50px 30px 30px 30px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    box-shadow: 0px 6px 16px 0px rgb(0,0,0,12%);
}
.modal_box .w3-btn, .modal_box .w3-button {
	font-family: 'Noto Sans TC', "微軟正黑體", "Helvetica Neue", Helvetica, sans-serif;
    background-color: transparent;
    width: 36px;
    height: 36px;
    font-size: 2.2rem;
    line-height: 0.9;
    FONT-WEIGHT: 100;
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    border-radius: 18px;
    padding: 7px;
	transition: all 0.4s;
	-o-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-webkit-transition: all 0.4s;
}
.modal_box .w3-btn:hover, .modal_box .w3-button:hover{
	background-color: #eee !important;
}
.w3-display-topright{
	top: 10px;
	right: 10px;
}
.bg_close {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
}
label.selectall{
	color: #977961;
}
/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0); /* Black w/ opacity */
	-webkit-animation-name: fadeIn; /* Fade in the background */
	-webkit-animation-duration: 0.4s;
	animation-name: fadeIn;
	animation-duration: 0.4s;
}

/* Modal Content */
.modal-content {
	position: fixed;
	right: 20px;
	bottom: 10px;
	background-color: #fefefe;
	width: 300px;
	padding: 10px 15px 5px 15px;
	border-top: 6px solid #938880;
	border-right: 1px solid #938880;
	border-bottom: 1px solid #938880;
	border-left: 1px solid #938880;
	-webkit-animation-name: slideIn;
	-webkit-animation-duration: 0.4s;
	animation-name: slideIn;
	animation-duration: 0.4s;
	box-shadow: 0px 6px 16px 0px rgba(0,0,0,0.12);
}

/* The Close Button */
.close {
	position: absolute;
	top: 0px;
	right: 2px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 36px;
	color: #000;
	float: right;
	font-size: 28px;
	font-weight: bold;
	order: 2;
	z-index: 9999;
}

	.close:hover,
	.close:focus {
		color: #000;
		text-decoration: none;
		cursor: pointer;
	}

.modal-header {
	position: relative;
	display: flex;
	flex-direction: row;
	margin-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

h3.tips_title {
	order: 1;
	font-size: 1.6rem;
	font-weight: 500;
	margin-bottom: 5px;
	background-color: transparent;
	background: transparent;
}

	h3.tips_title:before {
		margin: 2px 5px 0 0;
		content: " ";
		display: inline-block;
		width: 22px;
		height: 22px;
		background: url(../images/warning.png);
		background-size: contain;
		background-repeat: no-repeat;
		vertical-align: middle;
	}

.modal-body {
	/*padding: 2px 16px;*/
}

	.modal-body p {
		font-size: 1.4rem;
		color: #333;
		line-height: 1.5;
		margin-bottom: 10px;
	}

.modal-footer {
	padding: 2px 16px;
	background-color: #5cb85c;
	color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
	from {
		right: -500px;
		opacity: 0
	}

	to {
		right: 20px;
		opacity: 1
	}
}

@keyframes slideIn {
	from {
		right: -500px;
		opacity: 0
	}

	to {
		right: 20px;
		opacity: 1
	}
}

@-webkit-keyframes fadeIn {
	from {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

@keyframes fadeIn {
	from {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

.loader_bg {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background-color: rgba(0, 0, 0, 0.35);
}

.loader_wrap {
	position: fixed;
	width: 300px;
	height: 115px;
	margin-left: -150px;
	margin-top: -58px;
	left: 50%;
	top: 50%;
	border: 0px solid #FFFFFF;
}

.load_img {
	position: relative;
	width: 50px;
	margin: 0 auto;
	margin-bottom: 10px;
}

.loader {
	background-color: #ffffff;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	box-shadow: inset 0px 6px 6px 0px rgba(0,0,0,0.18), 0px 6px 16px 0px rgba(0,0,0,0.25);
}

	.loader img {
		width: 50px;
		height: 50px;
	}

.loader_wording {
	width: 300px;
	font-family: "微軟正黑體", "Microsoft JhengHei UI", "新細明體", Arial, HelveticaNeue, sans-serif;
	font-size: 16px;
	color: #ffdb2d;
	line-height: 24px;
	text-align: center;
}

.wait {
	letter-spacing: 2px;
	font-size: 20px;
	color: #fff;
}
.line-notify-wrap{
    position: fixed;
    right: 0px;
    bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    z-index: 9999;
}
.line-notify-box{
    width: 280px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin: 5px;
    padding: 10px;
    box-shadow: 0px 6px 12px 0px rgba(0,0,0,0.12);
}
.notify-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.notify-title{
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}
.notify-title:before{
    margin:-3px 3px 0 0;
    content:" ";
    display:inline-block;
    width:20px;
    height:20px;
    background:url("../images/icon-notify.png"); 
    background-size:contain;
    vertical-align:middle;
}
.close-notify{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    
}
.close-notify a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 15px;
}
.close-notify a:hover{
    background-color: #ddd;
}
.close-notify a img{
    width: 10px;
    height: 10px;
}
.notify-content{
    font-size: 1.3rem;
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.notify-submit{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
.notify-submit a{
    display: block;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
    background-color: #977961;
    padding: 5px 10px;
    border: 1px solid #977961;
    border-radius: 6px;
}
.notify-submit a:hover{
    color: #000;
    background-color: rgba(151,121,97,0.25);
    border: 1px solid #977961;
    text-decoration: none;
}
@media screen and (max-width: 1366px) {
.modal_box {
    width: 60%;
}
}
@media screen and (max-width: 1024px) {
.modal_box {
    width: 65%;
}
}

@media screen and (max-width: 768px) {
.modal_box {
    width: 85%;
}
}

@media screen and (max-width: 576px) {

.wrap{
	height: auto;
}

.br-break{
	display: block;
}
.copyright{
	text-align: center;
}
.modal_box{
	padding: 50px 20px 20px 20px;
}
}