/* Sections
   ========================================================================== */

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
}

.wrapper {
  position: relative;
  min-height: 100%;
  margin-bottom: -56px;
}

.container {
  width: 1200px;
  height: 100%;
  min-height: 850px;
  padding-bottom: 56px;
}

div,dl,dt,dd,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,blockquote,th,td,p {
  margin: 0;
  padding: 0;
}


/* Forms
   ========================================================================== */

button,
input,
optgroup,
select,
textarea {
  font-family: '微軟正黑體', "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
  font-size: 100%; 
  line-height: 1.15; 
  margin: 0; 
}

.form{
  width: 300px;
  margin: 0 auto;
}

.form label{
  display: inline-block;
  vertical-align: middle;
  color: #cccccc;
}

.form input[type="text"],
.form input[type="password"]{
  padding: 8px 34px;
  display: inline-block;
  border: 1px solid #cccccc;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  vertical-align: middle;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 16px;
  background-color: inherit;
  color: #666666;
}

.form input[type="text"]:focus,
.form input[type="password"]:focus{
  outline: 0;
  border: 1px solid #4CA7A7;
  border-top: 0;
  border-right: 0;
  border-left: 0;
}

.form input[type="text"]::-ms-clear,
.form input[type="password"]::-ms-reveal{
  display:none
 }

.form input[type="tel"],
.form input[type="tel"]:focus{
  padding: 3px 2px;
  display: inline-block;
  border: 1px solid #cccccc;
  vertical-align: middle;
  box-sizing: border-box;
  width: 95%;
  background-color: inherit;
  color: #666666;
  outline: 0;
}

.form input[type="checkbox"]{
  box-sizing: border-box; 
  padding: 0; 
  vertical-align: middle;
  border: 1px solid #cccccc;
}

/* BTN */
input[type=button].btn_login {
  display: inline-block;
  width: 100%;
  padding: 9px 0;
  margin: 5px 0% 5px;
  border: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 50px;
  outline: 0;
  background: #007c7d;
  font-size: 16px;
  color: #FFF;
  cursor: pointer;
}

input[type=button].btn_login:hover {
  background: #17a2b8;
}

input[type=button].btn_rule {
  display: inline-block;
  width: 100%;
  padding: 9px 0;
  margin: 5px 0% 5px;
  border: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 50px;
  outline: 0;
  background: #ed7100;
  font-size: 16px;
  color: #FFF;
  cursor: pointer;
}

input[type=button].btn_rule:hover  {
  background: #f49e17 ;
}

input[type=button].btnform-veri {
	display:block;
	width:15%;
	/*min-width: 20%;*/
	min-width:80px;
	padding:11px 0;
	margin: 2px 0% 10px;
	border: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: 0;
	/*background: linear-gradient(180deg, #F5515F 0%, #9F041B 100%);*/
	background: linear-gradient(180deg, #6795e1 0%, #557dbf 100%);
	font-size:12px;
	color: #FFF;
	cursor: pointer;
}
input[type=button].btnform-veri:hover {
	background: linear-gradient(180deg, #6795e1 10%, #6795e1 10%);
}

/*-------------------------*/
/* $Color 
---------------------------*/
/* background color */
.bg-color-primary{background-color: #007d7d;}
.bg-color-secondary{background-color: #4CA7A7;}
.bg-color-orange{background-color: #ed7100;}
.bg-color-grey{background-color: #cccccc;}
.bg-color-white{background-color: #fefefe;}

/* text color */
.color-primary{color: #007d7d;}
.color-grey{color: #cccccc;}
.color-white{color: #fefefe;}
.color-orange{color: #ed7100;}

/*-------------------------*/
/* $Typography 
---------------------------*/

body {
	font-family: '微軟正黑體', "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	box-sizing: border-box;
	line-height: 1.15;
}

/* heading */
h1,h2,h3,h4,h5,h6{
  margin: 0;
}

p{
  font-size: 15px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0;
  margin-bottom: 16px;
}

/* link */
a{
  color: #484848;
  text-decoration: none;
}
a:hover,
a:active,
a:fucus{
  color: #484848;
  text-decoration: none;
}

/* list */
ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

/*-------------------------*/
/* $Utility 
---------------------------*/

.push-right {float: right;}
.pull-left {float: left;}
.text-center {text-align: center;}
.text-left {text-align: left;}
.text-right {text-align: right;}
.text-underline {text-decoration: underline;}
.mb-cancel{margin-bottom: 0;}
.w-100 {width: 100%;}
.w-50 {width: 49%;display: inline-block;}
.mt-20 {margin-top: 20px;}

/*-------------------------*/
/* $Elements
---------------------------*/

/* background */
.bg_green {
  position: absolute;
  width: 100%;
  min-width: 640px;
  height: 300px;
  background-color: #007d7d;
  top: 50%;
  transform: translateY(-50%);
}

.bg_building {
  position: absolute;
  width: 100%;
	height: 180px;
  background: url(../images/home/building.png) bottom center repeat-x;
  bottom: -1px;
  opacity: 0.2;
}

/* card */
.main {
  position: absolute;
  background-color: #FFF;
  width: 435px;
  height: 520px;
  border-radius: 20px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  /* top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%); */
  top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
} 

/* logo */
.logo {
  margin: 35px 0 15px 0;
}

h3.title {
  font-size: 30px;
  margin-bottom: 30px;
}

/* input */
.user, .password{
  position: relative;
  display: inline-block;
  width: 100%;
}

.user img, .password .lock{
  position: absolute; 
  left: 3px;
  top: 6px;
  width: 20px;
}

/* .user input, .password input{
  text-indent: 20px;
} */

.password .eye{
  width: 25px;
  position: absolute; 
  right: 3px;
  top: 6px;
  cursor: pointer;
}

.pw_forgot {
  text-decoration: underline;
  font-size: 14px; 
  color: #666666;
}

/* Verification code */
.veri_code {
  width: 95%;
}

/* sign in */
hr {
  width: 80%;
  background-color: #cccccc;
  opacity: 0.5;
}

.hero {
  position: absolute;
  bottom: calc((100% - 520px) / 2 - 70px);
  right: calc((100% - 435px) / 2 - 180px); 
}

/* footer */
.footer {
  width: 100%;
  min-width: 640px;
  background-color: #e8e8e8;
}

.footer p {
  margin-bottom: -16px;
  padding-top: 12px;
  padding-bottom: 12px;
}




/* Step
   ========================================================================== */
  
.container_step {
  position: relative;
  width: 1000px; 
  white-space: nowrap;
  margin: 0 auto
}


/* Index
   ========================================================================== */

.system_white {
  display: inline-block;
  position: relative;
  width: 200px;
  height: 245px;
  background-color: #fff;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
  margin: 16px 8px;
  vertical-align: top;
}

.system_green {
  width: 200px;
  height: 125px;
  background-color: #007d7d;
}

.test img {
  width: 38px;
  height: 38px;
  margin-top: 25px;
}

.system_green p {
  color: #FFF;
  font-size: 20px;
  margin-top: 8px;
}

.system_content {
  padding: 24px 14px;
}

.subtitle-w {
  display: inline-block;
  width: 65%;
}

.btn-w {
  display: inline-block;
  width: 35;
}

.system_content p{
  font-size: 14px;
  margin-bottom: 0;
}

.system_content .btn_complete {
  width: 65px;
  height: 22px;
  background-color: #ed7100;
  border-radius: 10px;
  color: #FFF;
  font-size: 12px;
  padding: 2px 6px;
}

.system_content .btn_apply {
  width: 65px;
  height: 22px;
  background-color: #007d7d;
  border-radius: 10px;
  color: #FFF;
  font-size: 12px;
  padding: 2px 6px;
}

.system_content .btn_complete p{
  color: #FFF;
}

.system_content .btn_undone {
  width: 65px;
  height: 22px;
  background-color: #666;
  border-radius: 10px;
  color: #FFF;
  font-size: 12px;
  padding: 2px 6px;
}

/* board */
.board_gray {
  display: inline-block;
  width: 280px;
  height: 245px;
  background-color: #ccc;
  margin: 16px 8px;
}

.board_title {
  width: 280px;
  height: 55px;
  background-color: #666;
}

.board_gray img {
  width: 20px;
  height: 20px;
  margin-bottom: -5px;
  margin-top: 10px;
}

.board_title span {
  font-size: 14px;
  color: #FFF;
}

.board_content {
  display: block;
  width: 265px;
  height: 198px;
  background-color: #fff;
  margin: -15px auto 0 auto;
  padding: 10px;
  white-space: normal;
}

.board_content p {
  max-width: 250px;
  font-size: 12px;
  line-height: 16px;
}

.box-model {
	display: none;
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.3);
	/*顯示動畫效果*/
	-webkit-animation-name: fadeIn;
	-webkit-animation-duration: 0.4s;
	animation-name: fadeIn;
	animation-duration: 0.4s;
}
.box-model .box-popup,  .box-model .box-alert {
	position: relative;
	/*margin: 10% auto;*/
	margin: 7% auto;
	padding: 0;
	width: 470px;
	height: auto;
	/*overflow-y: no-display;*/
	background-color: #FFF;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #BEBEBE;
	box-shadow: 0 0 15px 0 rgba(0,0,0,0.5);
	padding-bottom: 56px;
	font-size: 15px;
}
.box-model .box-popup .popup-icon {
	display: inline-block;
	/* background: url('../images/form_alert.svg') no-repeat 0 0; */
	margin: 7px 0 0 12px;
	/* padding-left: 40px; */
	/*width: 30px;*/
	height: 30px;
	z-index: 1;
}
.box-model .box-alert .popup-icon {
	display: inline-block;
	background: url('../images/form_alert.svg') no-repeat 0 0;
	margin: 7px 0 0 12px;
	padding-left: 40px;
	/*width: 30px;*/
	height: 30px;
	z-index: 1;
}.box-model .box-popup .popup-icon span, .box-model .box-alert .popup-icon span {
	/*顯示在icon旁邊的文字*/
	line-height: 24px;
	width: 100%;
}

/*資安登出訊息視窗*/
.box-model .box-alert .logout-popup-icon {
	display: inline-block;
	background: url('../images/form_clock.svg') no-repeat 0 0;
	margin: 7px 0 0 12px;
	padding-left: 40px;
	/*width: 30px;*/
	height: 30px;
	z-index: 1;
}
/*資安登出訊息視窗*/
.box-model .box-alert .logout-popup-icon span {
	/*顯示在icon旁邊的文字*/
	line-height: 30px;
	width: 100%;
}
.box-model .popup-title {
	display: inline-block;
	/* margin: 7px; */
	/* padding-left: 10px; */
	height: 30px;
	line-height: 30px;
}
.box-alert .popup-title {
	color: #E70112;
}
.box-model .box-popup .row,  .box-model .box-alert .row {
	display: inline-block;
	padding: 7px 12px;
	float: right;
	margin-right: 0px;
	margin-left: 0px;
}
.box-model .box-popup .row span,  .box-model .box-alert .row span {
	display: inline-block;
	padding: 3px;
	color: #848484;
	opacity: 0.7;
	cursor: pointer;
}
.box-model .box-popup .row span:hover,  .box-model .box-alert .row span:hover {
	text-decoration: none;
	opacity: 1;
	cursor: pointer;
}
.box-model .box-popup .text,  .box-model .box-alert .text {
	clear: both;
	font-size: 15px;
	line-height: 20px;
	padding: 10px 19px;
	color: #393939;
}
.box-model .box-popup hr {
	width: 100%;
	border: 0;
	height: 0;
	margin: 0;
	border-top: 6px solid #8ADEDE;
	float: left;
}
.box-model .box-alert hr {
	width: 100%;
	border: 0;
	height: 0;
	margin: 0;
	border-top: 6px solid #E70112;
	float: left;
	opacity: 1;
}

/*表單按鈕--------------------------------------------------------*/
input[type=button].btnform-submit {
	display: inline-block;
	width: 100%;
	/*min-width: 20%;*/
	min-width: 120px;
	padding: 12px 0;
	margin: 5px 0% 5px;
	border: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: 0;
	background: linear-gradient(180deg, #F5515F 0%, #9F041B 100%);
	font-size: 16px;
	color: #FFF;
	cursor: pointer;
}
input[type=button].btnform-submit:hover {
	background: linear-gradient(180deg, #F5515F 10%, #F5515F 10%);
}
input[type=button].btnform-enter {
	display: inline-block;
	width: 100%;
	/*min-width: 20%;*/
	min-width: 120px;
	padding: 12px 0;
	margin: 5px 0% 5px;
	border: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: 0;
	/*background: linear-gradient(180deg, #F5515F 0%, #9F041B 100%);*/
	background: linear-gradient(180deg, #4CA7A7 0%, #007C7C 100%);
	font-size: 16px;
	color: #FFF;
	cursor: pointer;
}
input[type=button].btnform-enter:hover {
	background: linear-gradient(180deg, #46A4A4 10%, #46A4A4 10%);
}
input[type=button].btnform-veri {
	display:block;
	width:15%;
	/*min-width: 20%;*/
	min-width:80px;
	padding:11px 0;
	margin: 2px 0% 10px;
	border: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: 0;
	/*background: linear-gradient(180deg, #F5515F 0%, #9F041B 100%);*/
	background: linear-gradient(180deg, #6795e1 0%, #557dbf 100%);
	font-size:12px;
	color: #FFF;
	cursor: pointer;
}
input[type=button].btnform-veri:hover {
	background: linear-gradient(180deg, #6795e1 10%, #6795e1 10%);
}

/*有icon的button*/
.btn-group {
	position: relative;
	display: inline-block;
	margin: 0 10px;
}
.btn-group button.btnicon {
	position: relative;
	background: linear-gradient(180deg, #4CA7A7 0%, #007C7C 100%);
	display: inline-block;
	border: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-size: 15px;
	color: #FFF;
	width: 100%;
	min-width: 120px;
	margin: 5px 0% 5px;
	padding: 14px 0 14px 13%;
	text-align: left;
	outline: none;
	cursor: pointer;
}
.btn-group button.btnicon:hover {
	background: linear-gradient(180deg, #46A4A4 10%, #46A4A4 10%);
}
.btn-group button.btnicon.arrow-r::after {
	content: '';
	background: url(../images/btn-arrow-r.svg) no-repeat 50% 50%;
	position: absolute;
	right: 0;
	top: 0;
	/*box-sizing: border-box;*/
	background-color: rgba(0,0,0,0.1);
	width: 48px;
	height: 100%;
	-webkit-border-radius: 0 3px 3px 0;
	-moz-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
}
.btn-group button.btnicon.download::after {
	content: '';
	background: url(../images/btn-dowload.svg) no-repeat 50% 50%;
	position: absolute;
	right: 0;
	top: 0;
	/*box-sizing: border-box;*/
	background-color: rgba(0,0,0,0.1);
	width: 48px;
	height: 100%;
	-webkit-border-radius: 0 3px 3px 0;
	-moz-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
}
input[type=button].btnform-cancel, input[type=button].btnform-previous {
	display: inline-block;
	width: 100%;
	/*min-width: 20%;*/
	min-width: 120px;
	padding: 12px 0;
	margin: 5px 0% 5px;
	border: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: 0;
	/*background-color: #848484;*/
	background: linear-gradient(180deg, #848484 0%, #848484 0%);
	font-size: 16px;
	color: #FFF;
	cursor: pointer;
}
input[type=button].btnform-insert, input[type=button].btnform-delete, input[type=button].btnform-deleteall, input[type=button].popup-ok, input[type=button].popup-index, input[type=button].popup-stay {
	display: inline-block;
	width: 100%;
	/*min-width: 20%;*/
	min-width: 120px;
	/*padding: 5px 2px;*/
	padding: 8px 2px;
	border: 1px solid #BEBEBE;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: 0;
	/*background-color: #F5F5F5;*/
	background: linear-gradient(180deg, #F5F5F5 0%, #F5F5F5 0%);
	font-size: 15px;
	line-height: 15px;
	color: #007C7C;
	cursor: pointer;
}
input[type=button].popup-cancel {
	display: inline-block;
	width: 100%;
	/*min-width: 20%;*/
	min-width: 120px;
	padding: 5px 2px;
	border: 0;
	outline: 0;
	background-color: transparent;
	font-size: 15px;
	line-height: 15px;
	color: #007C7C;
	cursor: pointer;
}
input[type=button].btnform-insert:hover, input[type=button].btnform-delete:hover, input[type=button].btnform-deleteall:hover, input[type=button].popup-ok:hover, input[type=button].popup-index:hover, input[type=button].popup-stay:hover {
	background-color: #E9E9E9;
}
/*網頁處理載入動畫*/
.loader-wrap {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0,0,0,0.3);
}
.loader-wrap .loader {
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	border-top: 10px solid #007B7C;
	border-right: 10px solid #50ADAD;
	border-bottom: 10px solid #84DADB;
	border-left: 10px solid #CAF2F2;
	width: 48px;
	height: 48px;
	-webkit-animation: spin 0.8s linear infinite;
	-moz-animation: spin 0.8s linear infinite;
	-ms-animation: spin 0.8s linear infinite;
	-o-animation: spin 0.8s linear infinite;
	animation: spin 0.8s linear infinite;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}
.loader-wrap .loader .loadimg {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}
/*載入動畫轉圈設定*/
@-webkit-keyframes spin {
	0% {
		/*-webkit-transform: rotate(0deg);*/
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		/*-webkit-transform: rotate(360deg);*/
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes spin {
	0% {
		/*-webkit-transform: rotate(0deg);*/
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
		}
	100% {
		/*-webkit-transform: rotate(360deg);*/
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
