@import url('admin.css');
@import url(https://fonts.googleapis.com/css?family=Roboto);
/* CSS Document */
 * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	line-height: 150%;
}
body {
	margin: 0;
	padding: 0;
	font-family:"微軟正黑體", Microsoft JhengHei, Arial, helvetica;
	line-height: 150%;
	position: relative;
	background: #f5f5f5;
}
.white_bg{
	background: #fff;
}
a {
	outline: none;
	hlbr: expression(this.onFocus=this.blur());
	text-decoration: none;
}
a:hover {
	text-decoration: none;
	color: #ccc;
}
*, *:before, *:after {
	box-sizing: border-box;
}
button:focus{
	outline: none;
}
.btn:not(:disabled):not(.disabled){
	cursor: default;
}
button.btn, button.btn:not(:disabled):not(.disabled),a.btn:not(:disabled):not(.disabled){
	cursor: pointer;
}
img,  a img {
	border: none;
	vertical-align: middle;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family:"微軟正黑體", Microsoft JhengHei, Arial, helvetica;
}
input[type="text"], input[type="password"], input[type="file"]{
	border-radius: 0;
}
input[type="text"], input[type="password"], input[type="file"], input[type="button"], input[type="submit"], input[type="reset"], select{
	border: none;
	border-bottom: 1px solid #ccc;
	background: transparent;
}
textarea{
	width:100%;
	background: transparent;
}
input[type="file"]{
	border:none;
	margin: 10px 0;
}
ol, ul, dl {
	padding: 0 0 0 1rem;
	margin: 1rem 0;
}
ol li, ul li, dl dd {
	margin: 1rem 0;
}
.relative{
	position: relative;
}
.float_r{
	float: right;
}
/*login*/
.card{
	border-radius: 2px;
	border: none;
	box-shadow: 0 1px 5px rgba(0,0,0,.2), 0 2px 2px rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.12);
}
#login-logo {
	text-align: center;
}
#login-logo img{
	max-width: 100%;
	display: block;
	margin: 15px auto;
}
#logo-text {
	font-size: 36px;
	font-weight: bold;
	text-align: center;
	display: block;
	margin: 0 0 20px 0;
	font-family: 微軟正黑體;
}
#login-title {
	padding:10px;
	font-size:18px;
	font-weight:bold;
}
.text-muted{
	font-size: 15px;
}
/*header*/
header.app-header{
	background: #000;
	color:#fff;
	box-shadow: 0 2px 4px rgba(0,0,0,.2);
	border:none;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
	color: #fff;
}
.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link:focus{
	color:#949a9f;
}
.navbar-nav .nav-link i{
	font-size: 19px;
	margin: 0 10px 0 0;
}
.app-header .navbar-nav{
	margin: 0;
}
header.app-header a.dropdown-item {
	color: #000;
}
.card-title {
	min-height: 40px;
	line-height: 150%;
}
.card-footer .card-title{
	min-height: auto;
}
.brand-minimized .app-header .navbar-brand {
	width: 80px;
}
/*breadcrumb*/
.breadcrumb {
	margin: 0;
	margin-bottom: 1.5rem;
}
ol.breadcrumb li {
    margin: 0;
}
/*sidebar*/
.sidebar{
	background: #fff;
	color: #536c79;
	box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);
}
.sidebar .nav{
	margin: 0;
}
.sidebar .nav-link {
	color: #536c79;
}
.sidebar .nav-dropdown.open {
	background: #efefef;
}
.sidebar .nav-dropdown.open .nav-dropdown-toggle{
	background: #20a8d8;
}
.sidebar .nav-dropdown.open a.nav-link.active{
	background: #cce4ed;
	color: #3a4248;
}
.sidebar .nav-link .nav-icon{
	color:inherit;

}

.sidebar .nav-link.active .nav-icon{
	color: #3a4248;
}
.sidebar .nav-dropdown.open .nav-link {
	color: #595757;
}
.sidebar .nav-dropdown.open .nav-link:hover{
	color: #fff;
}
.sidebar .nav-dropdown.open .nav-dropdown-toggle {
	background: #20a8d8;
	color: #fff;
}
.sidebar-minimized .sidebar .nav-link a ,.sidebar-minimized .sidebar .nav-link{
	color: #fff;
}
/*card*/
.card-header{
	font-size: 1rem;
	font-weight: bold;
}
/*tab*/
.tab-content{
    margin-top: -1px;
    background: transparent;
    border: 0;
}
/*table*/
table tbody tr:hover {
	-webkit-box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
	box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
	z-index: 1;
}
table tr{
	transition: background .3s cubic-bezier(.25,.8,.25,1);
	will-change: background;
}
table tr:not(:last-child) {
	border-bottom: 1px solid rgba(0,0,0,.05);
}
table tr:not(:last-child) {
	border-bottom: 1px solid rgba(0,0,0,.12);
}
.table.noborder th, .table.noborder td ,table.noborder tr:not(:last-child), table.noborder tr:not(:last-child){
	border: none;
}
table.nobordered tr:not(:last-child), table.nobordered tr:not(:last-child) ,.table.nobordered th, .table.nobordered td {
	border:none;
}
/*ul,ol*/
.card-footer ul, .card-footer ol {
	padding: 0 20px;
}
.card-footer ul li , .card-footer ol li{
	margin: 0 0 10px 0;
	font-size: 15px;
}
.form-inline .form-group{
	margin: 0 1rem 0 0;
}
.form-inline .form-group .material_input{
	width: auto;
}
.form-group h6{
    font-size: 1rem;
}
.form-group img{
	max-width: 300px;
}
.form-group .img img {
	width: 350px;
	max-width: 100%;
	margin: 10px 10px 10px 0;
	background: #efefef;
	padding: 15px;
}

/* 分頁 */
.total{
	display: block;
	text-align: center;
}
/*input*/
.form-input {
	margin: 20px 0;
	width: 100%;
}
.form-input label {
	position: relative;
	display: block;
	width: 100%;
	min-height: 45px;
}
.form-input .placeholder {
	position: absolute;
	display: block;
	top: 23px;
	z-index: 2;
	font-size: 16px;
	transition: all 200ms ease-in-out;
	width: 100%;
	cursor: text;
}
.form-input input {
	position: absolute;
	top: 22px;
	z-index: 1;
	width: 100%;
	font-size: 17px;
	border: 0;
	border-bottom: 1px solid #ccc;
	transition: border-color 200ms ease-in-out;
	outline: none;
	padding: 0;
	margin: 0;
}
.form-input input {
	height: 30px;
}
.form-input input:focus, .form-input input:valid {
	border-bottom: 2px solid #009efb;
}
.form-input input:focus + .placeholder, .form-input input:valid + .placeholder{
	top: 0;
	cursor: inherit;
	font-size: 15px;
	color: #009efb;
}
.form-inline .form-group.mark-date{
	margin: 0;
}
.form-inline .form-group.mark-date label{
	justify-content: left;
}
.col-form-label {
	font-weight: bold;
	padding-top: 0;
	padding-bottom: 0;
	text-align: right;
}
.time_style select{
	width: 70%;
	display: inline;
	margin: 0 10px 0 0;
}
/* select */
select.form-control{
	border:none;
	border-bottom: 1px solid #ccc;
	border-radius: 0;
}
select.form-control:focus{
	 box-shadow: 0 0 0 0.1rem rgba(32, 168, 216, 0.2);
}
/* input2 */
.group {
	position:relative;
}
.material_input{
	width:100%;
	padding: 0.375rem 0.75rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #5c6873;
	background-clip: padding-box;
	border:none;
	border-bottom:1px solid #ccc;
	max-width:100%;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.material_input.with_auto{
	width: auto;
}
input.material_input:focus {
	outline: none;
	border-bottom: none;
}
/* active state */
input.material_input:focus ~ label, input.material_input:valid ~ label {
	top:-20px;
	font-size:14px;
	color:#20a8d8;
}
.bar {
	position:relative;
	display:block;
}
.bar:before, .bar:after{
	content:'';
	height:2px;
	width:0;
	bottom:1px;
	position:absolute;
	background:#20a8d8;
	transition:0.2s ease all;
	-moz-transition:0.2s ease all;
	-webkit-transition:0.2s ease all;
}
.bar:before {
	left:50%;
}
.bar:after {
	right:50%;
}
input.material_input:focus ~ .bar:before, input:focus ~ .bar:after {
	width:50%;
}
.highlight {
	position:absolute;
	height:60%;
	width:100px;
	top:25%;
	left:0;
	pointer-events:none;
	opacity:0.5;
}
input.material_input:focus ~ .highlight {
	-webkit-animation:inputHighlighter 0.3s ease;
	-moz-animation:inputHighlighter 0.3s ease;
	animation:inputHighlighter 0.3s ease;
}
/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
	from { background:#20a8d8; }
	to { width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
	from { background:#20a8d8; }
	to { width:0; background:transparent; }
}
@keyframes inputHighlighter {
	from { background:#20a8d8; }
	to{ width:0; background:transparent; }
}
/* radiobox */
.md-radio {
	margin: 8px 0;
}
.md-radio.md-radio-inline {
	display: inline-block;
}
.md-radio input[type="radio"] {
	display: none;
}
.md-radio input[type="radio"]:checked + label:before {
	border-color: #337ab7;
	animation: ripple 0.2s linear forwards;
}
.md-radio input[type="radio"]:checked + label:after {
	transform: scale(1);
}
.md-radio label {
	display: inline-block;
	height: 20px;
	position: relative;
	padding: 0 15px 0 30px;
	margin-bottom: 0;
	cursor: pointer;
	vertical-align: bottom;
}
.md-radio label:before, .md-radio label:after {
	position: absolute;
	content: '';
	border-radius: 50%;
	transition: all .3s ease;
	transition-property: transform, border-color;
}
.md-radio label:before {
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(0, 0, 0, 0.54);
}
.md-radio label:after {
	top: 5px;
	left: 5px;
	width: 10px;
	height: 10px;
	transform: scale(0);
	background: #337ab7;
}
/*checkbox*/
.md-checkbox {
	position: relative;
	margin:.5em 0;
	text-align: left;
	display: inline-block;
}
.md-checkbox.md-checkbox-inline {
	display: inline-block;
}
.md-checkbox label {
	cursor: pointer;
	display: inline;
	line-height: 1.1em;
	vertical-align: top;
	clear: both;
	padding-left: 10px;
	font-size: .9rem;
}
.md-checkbox label:not(:empty) {
	padding-right: 0.75em;
}
.md-checkbox label:before, .md-checkbox label:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
}
.md-checkbox label:before {
	width: 1.25em;
	height: 1.25em;
	background: #fff;
	border: 2px solid rgba(0, 0, 0, 0.54);
	border-radius: 0.125em;
	cursor: pointer;
	transition: background .3s;
}
.md-checkbox input[type="checkbox"] {
	outline: 0;
	visibility: hidden;
	width: 1.5em;
	margin: 0;
	display: block;
	float: left;
	font-size: inherit;
}
.md-checkbox input[type="checkbox"]:checked + label:before {
	background: #337ab7;
	border: none;
}
.md-checkbox input[type="checkbox"]:checked + label:after {
	transform: translate(0.25em, 0.3365384615em) rotate(-45deg);
	width: 0.75em;
	height: 0.375em;
	border: 0.125em solid #fff;
	border-top-style: none;
	border-right-style: none;
}
.md-checkbox input[type="checkbox"]:disabled + label:before {
	border-color: rgba(0, 0, 0, 0.26);
}
.md-checkbox input[type="checkbox"]:disabled:checked + label:before {
	background: rgba(0, 0, 0, 0.26);
}
/*button*/
.form-center{
	text-align:center;
}
.form-right{
	text-align: right;
}
.btn_content {
	align-items: center;
	border-radius: inherit;
	color: inherit;
	display: flex;
	height: 100%;
	flex: 1 0 auto;
	justify-content: center;
	margin: 0 auto;
	padding: 0 16px;
	transition: .3s cubic-bezier(.25,.8,.25,1);
	white-space: nowrap;
}
.google_btn{
	display: inline-block;
	height: 40px;
	width: 40px;
	border-radius: 50%;
	min-width: 0;
	padding: 0;
	margin: 0 auto;
	will-change: box-shadow;
	box-shadow: 0 3px 5px -1px rgba(0,0,0,.1), 0 6px 10px rgba(0,0,0,.11), 0 1px 18px rgba(0,0,0,.11);
}
a.google_btn:not([href]):not([tabindex]) {
	color: #fff;
}
.google_plus {
	position: absolute;
	right: 1%;
	top: 0;
}
.seal{
	width: 50px;
	height: 50px;
	background:transparent;
	border: none;
	font-size: 12px;
	line-height: 140%;
	border-radius: 100%;
}
.finish{
	color:#f5302e;
	border: 2px solid #f5302e;
}
.finish:hover{
	box-shadow: 2px 3px 8px rgba(0%,0%,0%,0.3);
	background: #f5302e;
	color:#fff;
}
.notyet{
	color:#ccc;
	border:2px solid #ccc;
}
/*icon*/
td.icon_i{
	font-size: 25px;
}
/*datepicker*/
.datepicker table{
	width: 100%;
}
.dropdown-menu {
	min-width: 15rem;
	border: 1px solid #efefef;
}
.datepicker td, .datepicker th{
	padding: 5px;
}
.datepicker {
	z-index: 1151 !important;
}
/*table*/
.table-th th{
	background: #efefef;
	width: 125px;

}
.table-th img{
	max-width:300px;
	height: auto;
}
thead{
	border:none;
}
/* editor */
#editor.ql-container{
	height: auto;
	min-height: 200px;

}
.icon_item div:hover{
	background: #efefef;
	box-shadow: 0 1px 5px rgba(0,0,0,.2), 0 2px 2px rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.12);
}
/*tabs*/
.nav-tabs {
	font-size: 16px;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin: 0 0 20px 0;
	background: #EFEFEF;
	box-shadow: 0 2px 3px rgba(0,0,0,.3);
}
.nav-tabs .nav-item {
	margin: 0;
}
.nav-tabs .nav-link{
	color: #000;
	display: block;
	padding: 0.6em 2em;
	outline: none;
	border:none;
	border-bottom: 3px solid transparent;
	text-decoration: none;
	opacity: 0.8;
	border-radius: 0;
}
.nav-tabs .nav-link.active {
	border-bottom: 3px solid #20a8d8;
	opacity: 1;
}
.fa-check-circle{
	color:#4dbd74;
	font-size: 1.5rem;
}
.fa-times-circle{
	color: #f86c6b;
	font-size: 1.5rem;
}
/* 文字定義 */
.s1201 { font-size:12px; color:#000; }
.s1201B { font-size:12px; color:#000; font-weight:bold; }
.s1202 { font-size:12px; color:#666; }
.s1203 { font-size:12px; color:#fff; }
.s1205 { font-size:12px; color:#00f; }
.s1212 { font-size:12px; color:#F00; }
.s1401T { font-size:14px; color:#000; text-decoration:line-through; }
.s1412 { font-size:14px; color:#F00; }
.s1501 { font-size:15px; color:#000; }
.s1505 { font-size:15px; color:#00f; }
.s1512 { font-size:15px; color:#F00; }
.s1601 { font-size:16px; color:#000; }
.s1601B { font-size:16px; color:#000; font-weight:bold; }
.s1605B { font-size:16px; color:#00F; font-weight:bold; }
.s1612B { font-size:16px; color:#F00; font-weight:bold; }
.s1801 { font-size:18px; color:#000; }
.s1801B { font-size:18px; color:#000; font-weight:bold; }
.s1802 { font-size:18px; color:#666; }
.s2401B { font-size:24px; color:#000; font-weight:bold; }
.s2412 { font-size:24px; color:#F00; }
.red{
	color:#f00;
}
@media screen and (max-width:768px) {
	/*table*/
	.col-form-label{
		text-align: left!important;
	}
	.table thead th {
		min-width: 120px;
	}
	.table th{
		min-width: 120px;
	}
	.table-hover tbody tr:hover{
		background: #fffdf4;
	}
	/*btn*/
	.google_plus {
		position: relative;
		right: auto;
		top: auto;
		text-align: right;
		width: 100%;
		margin: 0 0 20px 0;
	}
	.google_btn {
		display: inline-block;
	}
	/*form*/
	.form-inline .form-group {
		margin: .5rem 1rem 0 0;
	}
	/*img*/
	.form-group .img img, .form-group img {
		width: 100%;
		max-width: 100%;
	}

}
@media screen and (max-width:767px) {
	/*header*/
	.app-header .navbar-nav {
		margin: 0 10px 0 0;
	}
	#life-count-down{
		display: none;
	}
	.main .container-fluid{
		padding: 0 10px;
	}
	/*footer*/
	.app-footer{
		font-size: .7rem;
	}
	.card-footer {
		padding: 0.75rem 1.25rem;
		background-color: #efefef;
		border-top: none;
	}
	/*content*/
	.card-body {
		padding: .7rem;
	}
	/*btn*/
	.google_plus {
		position: absolute;
		right: 5%;
		top: 0;
	}
	/*form*/
	.form_top .form-group{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	.form_top .form-group label{
		min-width: 90px;
	}
	.form_top .form-inline .form-group .group{
		width: 100%;
	}
	.form_top .form-inline .form-group .group .material_input{
		width: 100%;
	}
	.form_top .form-inline .form-group.flex-wrap{
		flex-wrap: wrap;
	}
	.form-inline {
		flex-wrap: wrap;
	}
	.form-inline .form-group {
		margin: 0 0 1rem 0;
		width: 100%;
	}
	.form-control {
		display: inline-block;
		width: 82%;
	}
	.form-inline .form-group input#date_start ,.form-inline .form-group input#date_end {
		width: 35%;
	}
	.form_top .form-group .btn{
		width: 100%;
	}
	.form-group.row select {
		width: 100%;
	}
	.col-md-1 .group{
		margin: 0 0 10px 0;
	}
	.form-flex .row{
		flex-wrap: nowrap;
	}
	.form-flex.form .col-md-1 {
		width: 132px;
	}
	.form-flex .col-sm-2, .form-flex .col-md-2 {
		min-width: 100px;
		max-width: 100px;
	}
	.form-flex .col-sm-10 ,.form-flex .col-md-1{
		width: auto;
	}
	.form-group.row.no-wrap{
		flex-wrap: nowrap;
	}
	.mark-date .col-md-5{
		width:156px;
	}
	.mark-date .col-md-4{
		width: 50%;
	}
	.form-inline .form-group.mark-date .col-md-4 input#date_start{
		width: 100%;
	}
	.mark-date .col-md-3{
		text-align: left;
		margin: 10px 0 0 0;
		padding: 0;
	}
	/*table*/
	.table th{
		min-width: 108px;
	}
	.table .thead-light th{
		min-width: 100px;
	}
	td.text-center.p-5 {
		padding: 3rem 0 !important;
	}
	.card.long_table .text-center{
		text-align: left !important;
	}
	.card.long_table{
		background: transparent;
		box-shadow: none;
	}
	.card.long_table .table-responsive-sm thead{
		display: none;

	}
	.card.long_table .table-responsive-sm tbody{
		display: block;
	}
	.card.long_table .table-responsive-sm tbody tr {
		margin-bottom: 10px;
		padding: 10px;
		display: block;
		background: #fff;
		border: none;
		box-shadow: 0 1px 5px rgba(0,0,0,.2), 0 2px 2px rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.12); */
	}
	.card.long_table .table-responsive-sm tbody tr td {
		border: 0;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		text-align: left;
		padding: 5px 0;
	}
	.card.long_table .table-responsive-sm tbody td:before {
		min-width: 6em;
		max-width: 6em;
		content: attr(data-title);
		margin-right: 10px;
		white-space: nowrap;
		text-align: right;
	}
	.card.long_table .google_btn{
		margin: 0;
	}
}
@media screen and (max-width:375) {
	.form-right button.btn.btn-secondary:nth-child(4n+1){
		float: left;
		margin: 10px 0;

	}
}
@media screen and (max-width:320px) {
	.mark-date .col-md-4 {
		width: 100%;
		padding: 0;
	}
}
