
@import url(../fonts/font-awesome/font-awesome.min.css);
@import url(../fonts/flaticon/flaticon.css);
@import url(index_header.css);
@import url(index_footer.css);



/*========================================================
                      	 內頁框架
=========================================================*/

.content {
	background-color: #fff;
}
.content-box {
	background-color: #f5f5f5;
	border: 1px solid #e1e1e1;
	margin: 30px auto 30px;
	padding: 20px 30px;
}
.content-main {
	position: relative;

}

.login-box {
	background-color: #f5f5f5;
	border: 1px solid #e1e1e1;
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 20px 30px;
}



h1.title {
	color: #000;
	margin: 0 0 20px 0;
	padding: 0 0 10px 0;
	text-align: left;
	position: relative;
	border-bottom: 1px solid #c3c3c3;
	font-size: 24px;	
}
h1.title:before {
	content: "";
	width: 140px;
	position: absolute;
	left: 0;
	bottom: -1px;
	z-index: 9;
	border-bottom: 1px solid #333;
}
h1.title span {
	color: #C00;
	margin: 0 3px;
}


h3.title {
	font-size: 18px;
	margin: 40px 0 30px 0;
	position: relative;
	min-height: 20px;
}
h3.title:after {
	content: "";
	position: absolute;
	left: 0;
	top: 15px;
	z-index: 1;
	display: block;
	width: 100%;
	height: 1px;
	border-bottom: 1px dashed #999;
	overflow: hidden;
}
h3.title span {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;	
	background-color: #333;
	padding: 6px 20px 7px 10px;
	color: #fff;
	border-radius: 5px;
}
h3.title span:before {
	content: "";
	width: 0;
	height: 0;
    border-top: 6px solid transparent;
    border-left: 6px solid #fff;
    border-bottom: 6px solid transparent;
    display: inline-block;
	margin: 0 5px 0 0;
}	


/*========================================================
                         內部設定
=========================================================*/


/* 新增頁面 */
.form-add [class *= col-] {
	padding-left: 0;
	padding-right: 0;
}
.form-add .col-md-2 {
	color: #333;
	font-weight: bold;
}
.form-add .col-md-2 span {
	color: #C00;
}
.form-add [class *= col-] select {
	height: 30px;
}
.form-add .form-input {
	text-decoration: none;
	border: 1px solid #c7c7c7;
	width: 100%;
	height: 29px;
	padding: 5px 5px;
	margin-bottom: 10px;
}


/* 資料頁面 */
.form-info {
	position: relative;
}
.form-info [class *= col-] {
	overflow: hidden;
}
.form-info .col-md-2 {
	background-color: #c5c5c5;
	padding-top: 3px;
	padding-bottom: 3px;
	color: #333;
	text-align: left;
	font-weight: bold;
}


/*頁碼*/

.pagination > li > a{
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #575757!important;
    text-decoration: none;
    background-color: #fff!important;
    border: 1px solid #ddd!important;
}
.pagination > .active > a {
	color: #fff!important;
    background-color: #575757!important;
    border-color: #575757!important;
}

.pagination > li > a{
    color: #575757!important;
    border: 1px solid #575757!important;
}



.pagination > li > a:hover,
.pagination > li > span:hover{
    background-color: #575757!important;
	border-color: #575757!important;
    color: #fff!important;
}


.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    color: #575757!important;
    background-color: #fff!important;
    border-color: #575757!important;
}



/*========================================================
                           表格
=========================================================*/

.table1 {
	background-color: #fff;
	border-width: 1px;
	border-color: #999;
	border-style: solid;
	border-collapse: collapse;
	text-align: center;	
	margin: 0 0 20px 0;
}

.table1 tr:nth-of-type(2n+1){
	background-color: #f0f0f0;
}
.table1 th {
	background: #575757;
	color: #fff;
	font-weight: bold;
	padding: 10px 5px;
	text-align: center;
	border-right: 1px solid #fff;	
}
.table1 th:last-of-type {
	border-right: none;	
}
.table1 td {
	padding: 0 5px;
	border-right: 1px solid #999;		
}
.table1 td:last-child{
	border-right: none;
}
.table1 td.left {
	text-align: left;	
}
.table1 td .fa-pencil {
	color: #417fc2;
}	
.table1 td .fa-times {
	color: #bc2828;
}	

/*========================================================
                           按鈕
=========================================================*/

.btn-box {
	text-align: right;
}
.btn-box2 {
	margin-bottom: -30px;
}

.btn {
	color: #fff;
}
.btn:hover {
	color: #fff;
}

.btn-white {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fefefe), color-stop(1, #e6e6e6) );
	background:-moz-linear-gradient( center top, #fefefe 5%, #e6e6e6 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#e6e6e6');
	background-color:#e6e6e6;
	color:#333333;
	border:1px solid #b3b3b3;
}
.btn-white:hover {
	color:#333333;
}

.btn-black {
	-moz-box-shadow:inset 0px 1px 0px 0px #6a6a6a;
	-webkit-box-shadow:inset 0px 1px 0px 0px #6a6a6a;
	box-shadow:inset 0px 1px 0px 0px #6a6a6a;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #424242), color-stop(1, #222222) );
	background:-moz-linear-gradient( center top, #424242 5%, #222222 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#424242', endColorstr='#222222');
	background-color:#424242;
	border:1px solid #303030;
}
.btn-gray {
	-moz-box-shadow:inset 0px 1px 0px 0px #bcbcbc;
	-webkit-box-shadow:inset 0px 1px 0px 0px #bcbcbc;
	box-shadow:inset 0px 1px 0px 0px #bcbcbc;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9e9e9e), color-stop(1, #787878) );
	background:-moz-linear-gradient( center top, #9e9e9e 5%, #787878 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9e9e9e', endColorstr='#787878');
	background-color:#787878;
	border:1px solid #595959;
	color: #000;
}
.btn-red {
	-moz-box-shadow:inset 0px 1px 0px 0px #f8afaf;
	-webkit-box-shadow:inset 0px 1px 0px 0px #f8afaf;
	box-shadow:inset 0px 1px 0px 0px #f8afaf;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #cd3131), color-stop(1, #eb5b5b) );
	background:-moz-linear-gradient( center top, #cd3131 5%, #eb5b5b 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#cd3131', endColorstr='#eb5b5b');
	background-color:#cd3131;
	border:1px solid #832727;
}
.btn-blue {
	-moz-box-shadow:inset 0px 1px 0px 0px #8ab9ee;
	-webkit-box-shadow:inset 0px 1px 0px 0px #8ab9ee;
	box-shadow:inset 0px 1px 0px 0px #8ab9ee;	
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #569be9), color-stop(1, #0e63d8) );
	background:-moz-linear-gradient( center top, #569be9 5%, #0e63d8 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0e63d8', endColorstr='#569be9');
	background-color:#569be9;
	border:1px solid #17549b;
}
.btn-green {
	-moz-box-shadow:inset 0px 1px 0px 0px #82d082;
	-webkit-box-shadow:inset 0px 1px 0px 0px #82d082;
	box-shadow:inset 0px 1px 0px 0px #82d082;	
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #61c261), color-stop(1, #51a351) );
	background:-moz-linear-gradient( center top, #61c261 5%, #51a351 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#61c261', endColorstr='#51a351');
	background-color:#51a351;
	border:1px solid #52a552;
}
.btn-orange {
	-moz-box-shadow:inset 0px 1px 0px 0px #fcc272;
	-webkit-box-shadow:inset 0px 1px 0px 0px #fcc272;
	box-shadow:inset 0px 1px 0px 0px #fcc272;	
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fbb24c), color-stop(1, #f89507) );
	background:-moz-linear-gradient( center top, #fbb24c 5%, #f89507 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb24c', endColorstr='#f89507');
	background-color:#f89507;
	border:1px solid #e1962d;
}


/*========================================================
                           宇型
=========================================================*/

.text-red {
	color:#cd3131;
}
.text-blue {
	color:#569be9;
}
.text-green {
	color:#51a351;
}
.text-orange {
	background-color:#f89507;
}
.fwb {
	font-weight: bold;
}

/*========================================================
                           頁數
=========================================================*/

#pager {
	text-align: center;
}
#pager span {
	color: #C00;
	font-weight: bold;
}


/*========================================================
                         	尺寸設定
=========================================================*/

/* xs尺寸設定 大於640 */

@media (min-width: 640px) {

}


/* sm尺寸設定 大於768 */

@media (min-width: 768px) {

	h1.title {
		font-size: 24px;
	}
	.form-add [class *= col-] {
		padding-left: 15px;
		padding-right: 15px;
	}
	.form-add .col-md-2 {
		background-color: #c5c5c5;
		padding-top: 3px;
		padding-bottom: 3px;
		color: #333;
		text-align: center;
		font-weight: bold;
	}
	.form-add .form-input {
		width: 50%;
		margin-bottom: 0;
	}
	.btn-box2 {
		position: absolute;
		right: 10px;
		top: 0px;
		z-index: 9;
	}
	.form-info .col-md-2 {
		text-align: center;
	}
		
	

}

/* md尺寸設定 大於992 */

@media (min-width: 992px) {

}


/* lg尺寸設定 大於1200 */

@media (min-width: 1200px) {

	h1.title {
		font-size: 28px;
	}
}



