*{
	box-sizing: border-box;
}
.container{
width:100%; position:relativ; margin:0 autho; padding:5px;	
}
/*錯誤訊息*/
label.error{
	color: #FF0000;
}

/*彈出表單dialog*/
#dialog {display:none;}
#dialog p{
	margin: 10px 0;
}

/*tab 分頁樣式*/
ul, li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.abgne_tab {
}
ul.tabs {
	width: 100%;
	height: 32px;
	border-bottom: 1px solid #999;
	border-left: 1px solid #999;
}
ul.tabs li {
	float: left;
	height: 31px;
	line-height: 31px;
	overflow: hidden;
	position: relative;
	margin-bottom: -1px;	/* 讓 li 往下移來遮住 ul 的部份 border-bottom */
	border: 1px solid #999;
	border-left: none;
	background: #e1e1e1;
}
ul.tabs li a {
	display: block;
	padding: 0 20px;
	color: #000;
	border: 1px solid #fff;
	text-decoration: none;
}
ul.tabs li a:hover {
	background: #ccc;
}
ul.tabs li.active  {
	background: #fff;
	border-bottom: 1px solid#fff;
}
ul.tabs li.active a:hover {
	background: #fff;
}
div.tab_container {
	clear: left;
	width: 100%;
	border: 1px solid #999;
	border-top: none;
	background: #fff;
}
div.tab_container .tab_content {
	padding: 20px;
}
div.tab_container .tab_content h2 {
	margin: 0 0 20px;
}
.login-box{
	width: 300px;
	margin: 0 auto;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 1px 1px 1px 0 rgba(204, 204, 204, 0.59);}
.sider-bar-box{
	float: left;
	width: 145px;
	padding: 10px 10px 10px 0;
	margin-top: 20px;}
.sider-bar-box ul{}
.sider-bar-box ul li{
	padding: 6px 0;}
.sider-bar-box ul li a{
	display: block;
	text-decoration: none;
	padding: 10px;
	background-color: #eee;
	border-radius: 3px;
	color:#fff;
	text-shadow: 0 1px 0 #ccc, 

               0 2px 0 #c9c9c9,

               0 3px 0 #bbb,

               0 4px 0 #b9b9b9,

               0 5px 0 #aaa,

               0 6px 1px rgba(0,0,0,.1),

               0 0 5px rgba(0,0,0,.1),

               0 1px 3px rgba(0,0,0,.3),

               0 3px 5px rgba(0,0,0,.2),

               0 5px 10px rgba(0,0,0,.25),

               0 10px 10px rgba(0,0,0,.2),

               0 20px 20px rgba(0,0,0,.15);
	font-size: 51px;
	font-weight: bold;
	text-align: justify;
}
.sider-bar-box ul li a:after{
	content: '';
	display: inline-block;
	width: 100%;
}
.sider-bar-box ul li:hover a{
	background-color: rgba(13, 0, 123, 0.45);
	color: #fff;
}
.content-box{
	width: calc(100% - 145px);
	float: left;
	padding-top: 16px;
}
.menu-box{
	width: calc(100% - 145px);
	float: left;
}
.cus-table{
	margin: 10px 0;
	border-collapse: collapse;}
.cus-table caption{
	font-weight: 600;
	font-size: 18px;
	line-height: 1.4;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 15px 20px;
	margin-bottom: 0;
	border-radius: 8px 8px 0 0;
	text-align: left;
	position: relative;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cus-table caption::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background: rgba(255,255,255,0.3);
	border-radius: 0 2px 2px 0;
}
.cus-table tr:hover td{
	background-color: rgba(0, 221, 27, 0.12);
}
.cus-table td{
	border: 1px solid #ccc;
	padding: 5px 6px;}
.cus-btn{
	text-decoration: none;
	background-color: #ccc;
	padding: 4px 8px 1.5px;
	font-size: 12px;
	border-radius: 3px;
	color: #333;
	white-space: nowrap;
	display: inline-block;
	position: relative;
	overflow: hidden;
}
.cus-btn:hover{
	color: #fff;
	background-color: #f00;}
.cus-btn:hover span{
	color: #fff!important;
}
.cus-btn-green, .cun-btn-green:hover{
	background-color: #58c57a;
	color: #fff;}
.cus-btn-black, .cun-btn-black:hover{
	background-color: #000000;
	border-color: #333333;
	color: #ffffff;}
.disabled, .disabled:hover{
	color: #9E9E9E;
	background-color: #ccc;
	text-shadow: 0 1px 0px #fff;
}

#task{
	padding: 6px 10px;}
.pager{
	padding: 10px 0;}
.pager strong, .pager a{
	border: 1px solid #ccc;
	height: 25px;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	line-height: 25px;
	padding: 0 10px;;}
.pager strong{}
.pager a{}

.mailed:after{
	content:'\21D2';
	display: inline;
}
.invoiced:before{
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 10px 0 0;
	border-color: #007bff transparent transparent transparent;
	position: absolute;
	left: 0;
	top: 0;;;;;
	
}
.control-box{
	margin-top: 20px;}
.control-item{
	display: inline-block;
	padding: 0px 30px;
	background-color: #fff;
	border: 1px solid #eaeaea;
	text-decoration: none;
	font-size: 20px;
	border-radius: 0px 10px 0 10px;
	box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.58);
	margin-right: 20px;
	width: 33.333%;
    line-height: 7em;
    text-align: center
	}
.control-item:hover{
	background: #673AB7;
	color: #fff;
	border: 1px solid #673ab7;}

.hide{display: none!important;}
td.notify-month{
	background-color: rgba(140, 178, 213, 0.378);
}


/*-------------AI產生的CSS----------*/
.cus-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 14px;
}

.cus-table caption {
	font-size: 18px;
	font-weight: bold;
	text-align: left;
}

.cus-table th,
.cus-table td {
	padding: 8px 12px;
	border: 1px solid #ddd;
	text-align: left;
}

.cus-table th {
	background-color: #f5f5f5;
	font-weight: bold;
}

.cus-table tr:hover {
	background-color: #f9f9f9;
}

.cus-btn {
	display: inline-block;
	padding: 4px 8px;
	margin: 2px;
	border-radius: 3px;
	text-decoration: none;
	color: #333;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
}

.cus-btn:hover {
	background-color: #e5e5e5;
	color: #333;
}

.cus-btn-green {
	background-color: #dff0d8 !important;
	border-color: #d6e9c6 !important;
	color: #3c763d !important;
}

.cus-btn-green:hover {
	border-color: #3c763d !important;
}

.cus-btn-black {
	background-color: #000000;
	border-color: #333333;
	color: #ffffff;
}

.cus-btn-black:hover {
	background-color: #e5e5e5;
	color: #333;
}

.cus-btn-red {
	background-color: #f2dede !important;
	border-color: #ebccd1 !important;
	color: #a94442 !important;
}

.cus-btn-red:hover {
	border-color: #a94442 !important;
}

.cus-btn-orange {
	background-color: #fcf8e3 !important;
	border-color: #faebcc !important;
	color: #8a6d3b !important;
}

.cus-btn-orange:hover {
	border-color: #8a6d3b !important;
}

.cus-btn-blue {
	background-color: #d9edf7 !important;
	border-color: #bce8f1 !important;
	color: #31708f !important;
}

.cus-btn-blue:hover {
	border-color: #31708f !important;
}

.notify-month {
	background-color: #fcf8e3;
	color: #8a6d3b;
}

.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.red {
	color: #d9534f;
}

.content-box {
	padding: 20px;
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

#form_search {
	margin-bottom: 20px;
	padding: 15px;
	background-color: #f5f5f5;
	border-radius: 4px;
}

#form_search input[type="text"],
#form_search select {
	padding: 6px 12px;
	margin-right: 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
}

#form_search input[type="submit"] {
	padding: 6px 12px;
	background-color: #337ab7;
	color: white;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}

#form_search input[type="submit"]:hover {
	background-color: #286090;
}

.ui-tooltip {
	background: #fff;
	border: 1px solid #ccc;
	padding: 8px;
	border-radius: 4px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}