/****** CSS by Alex  May 21, 2012 *****/



/**********************************************
   整體版面配置
**********************************************/

body{
	background: #C0DEED;
}

input{
	color: #444;
}

.container {
	max-width: 1200px !important;
	min-width: 960px !important;;
	width: 96% !important;
}

.container > .content { /* 中間主內容白底陰影區 */
	width: auto;
	background-color: #fff;
	padding: 0;
	margin: 25px auto 0 auto; /* negative indent the amount of the padding to maintain the grid system */
	-webkit-border-radius: 0 0 6px 6px;
	   -moz-border-radius: 0 0 6px 6px;
			border-radius: 0 0 6px 6px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
	   -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
			box-shadow: 0 1px 2px rgba(0,0,0,.15);
	overflow: hidden;
	height: auto;
}

.container > .content > .list-wrapper{ /* 列表區 */
	width: 33%;
	float: left;
	border-right: 1px solid #999;
	overflow: hidden;
}

.container > .content > .main-wrapper{ /* 列表點選後的內容區 */
	width: 65%;
	float: right;
}

.container > .content > .wide-wrapper{ /* 列表點選後的內容區 */
	width: 65%;
	min-width: 800px;
	margin: 0 auto;
}

.container > .content > .full-wrapper{ /* 列表點選後的內容區 */
	width: 95%;
	margin: 0 auto;
}


/* 上方黑色主選單 */
.navbar-inner{
	background: url(../images/top-background.png);
	height: 40px;
}

.logo-top{
	padding-top: 6px;
	float: left;
}

.nav-top > li{
	padding: 0 15px;
}

.nav-top > li a:hover i{
	background-image: url("../img/glyphicons-halflings-white.png");
}

.nav-top > li.active i{
	background-image: url("../img/glyphicons-halflings-white.png");
}

.navbar .nav .active,
.navbar .nav .active :hover{
  color: #ffffff;
  text-decoration: none;
  background-color: #222222;
}

.subnav{
	margin-bottom: 30px;
}

.subnav .nav > li > a,
.subnav .nav > li > a:link,
.subnav .nav > li > a:visited{
	color: #444;
}

.subnav .nav > li > a{
	padding-left: 30px;
	padding-right: 30px;
}

/* 每頁上方的標題 Header */
.page-header {
	background-color: #f5f5f5;
	padding: 20px 30px;
	margin-bottom: 0;
	height: 35px;
	background: #f0f0f0;
	border-bottom: 5px solid #afd500;
}

.page-header h1{
	text-shadow: 0 -2px 1px #FFF;
}

.sub-menu{
	float: right;
	margin-top: -28px;
}

.sub-menu a{
	margin-right: 10px;
}


/* 左方選單 項目 */

.list-panel-wrapper{
	background: url(../images/bg-list-panel.png) bottom;
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #868686;
	height: 45px;
}

.list-wrapper li.fluid{
	min-height: 60px;
	border-bottom: 1px solid #e8e8e8;
	border-top: 1px solid #FFF;
}

.list-wrapper li.fluid :hover{
	background: #f7f7f7;
	cursor: pointer;
}

.list-wrapper li.fluid img.icon-top-star{
	float: right;
}

.sortable li{
	cursor: pointer;
}

.sortable li:hover{
	background: #EEE;
	border: 1px solid #BBB;
}

.list-wrapper li.active,
.list-wrapper li.active :hover,
.sortable li.active,
.sortable li.active :hover{
	color: #FFF;
	background-color: #0074cc;
	background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
	background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
	background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
	background-image: -o-linear-gradient(top, #0088cc, #0055cc);
	background-image: linear-gradient(top, #0088cc, #0055cc);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);
	border-color: #0055cc #0055cc #003580;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	*background-color: #0055cc;
	/* Darken IE7 buttons by default so they stand out more given they won't have borders */

	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}



.list-wrapper li.active > .content > p,
.list-wrapper li.active > .content > p:hover,
.list-wrapper li.active > .content > span,
.list-wrapper li.active > .content > span:hover,
.list-wrapper li.active > .content > h4,
.list-wrapper li.active > .content > h4:hover{
	color: #FFF !important;
	background: none !important;
	text-decoration: none;
}

.list-wrapper li.fluid > .content{
	padding: 12px 15px;
}

.list-wrapper li.fluid > .content > h4{
	font-size: 16px;
	margin-bottom: 8px;
}

.list-wrapper li.fluid > .content > p{
	font-size: 12px;
	line-height: 18px;
	margin: 0;
	color: #888;
}

.list-wrapper li.fluid > .content > span{
	float: right;
	color: #4297e6;
	font-size: 12px;
	z-index: 9999;
}


/* 左方選單 頁數 */
.pagination{
	width: 100%;
	text-align: center;
	margin: 0 auto;
	padding: 16px 0;
}

.pagination > ul{
	background: #FFF;
}


/* 新聞編輯區 */

.news-edit-zone{
	margin: 20px;
}

.news-edit-zone ul.news-post-setting {
	float: right;
	width: auto;
	padding-right: 25px;
	padding-top: 6px;
}

.news-edit-zone ul.news-post-setting > li{
	float: right;
	margin-left: 20px;
	text-align: right;
	width: 70px;
}

.news-edit-zone ul.news-post-setting > li a:hover{
	text-decoration: none;
}

.news-edit-zone ul.news-post-setting > li a.active{
	color: #111;
}

.news-edit-zone input,
.news-edit-zone textarea{
	width: 95%;
	margin-bottom: 16px;
	color: #444;
}

.news-edit-zone textarea.fix-height{
	height: 100px;
}

.news-edit-zone .date-wrapper input{
	width: 20%;
}

.news-edit-zone input.thin{
	width: 30%;
}


/* 建立新聞 */
.w7-left{
	float: left;
}

/* 產品編輯 */
.product-list-wrapper{
	width: 100%;
}

table.product-table tr td:first-child{
	width: 17%;
}

table.product-table td{
	cursor: pointer;
	padding: 12px 20px;
}

table.product-table tr{
	border-left: 3px solid #FFF;
}

table.product-table tr:hover{
	border-left: 3px solid #ffc00f;
}

table.product-table tr:hover img{
    border: 3px solid #FFF;
    -webkit-box-shadow:  0px 0px 1px 1px #888;
    box-shadow:  0px 0px 1px 1px #888;
}


table.product-table td img{
	max-width: 80px;
    border: 3px solid #FFF;
    -webkit-box-shadow:  0px 0px 1px 1px #BBB;
    box-shadow:  0px 0px 1px 1px #BBB;
}

table.product-table tr td h4{
	margin-bottom: 10px;
}

table.product-table tr td p{
	font-size: 12px;
	color: #999;
}

textarea.product-content{
	height: 300px;
}





/* 聯絡我們 */
.btn-group{
	float: right;
	margin-top: -2px;
}

table.list-table th{
	border-bottom: 1px solid #eeb342;
	background: #fcefd7;
}


/* 技術支援 */
.news-edit-zone .logo{
	float: right;
	margin-top: 90px;
}


/* 很明顯的就是 Footer */
.footer{
	margin: 50px auto;
	text-align:center;
}








/**********************************************
   通用 Style for all
**********************************************/

.hidden-div{
	display: none;
}

.button-wrapper{
	clear: both;
	text-align: center;
	padding: 20px 40px 40px 40px;
}

.button-wrapper button{
	margin-right: 10px;
}

.btn-small{
	margin: -9px 10px 0 10px;
}

.cancel-edit{
	font-size: 12px;
}

.cancel-edit a:link,
.cancel-edit a:visited{
	font-size: 12px;
	color: #666;
}

.cancel-edit a:hover{
	color: #f26522;
	text-decoration: none;
}


#noty{
	padding: 10px;
	margin-top: 40px;
	width: 100%;
	height: 23px;
	background: #FFF; 
	text-align: center;
	background: url(../images/noty-background.png);
	color: #FFF;
	text-shadow: 0 1px #666;
	display: none;
	font-size: 15px;
}

#noty span a,
#noty span a:link,
#noty span a:visited{
	color: #FFF !important;
	font-weight: normal;
	text-decoration: none;
}

#noty span a:hover{
	text-decoration: underline;
}

#close-noty{
	position: relative;
	float: right;
	padding: 8px 10px;
	background: #444;
	right: 30px;
	left: auto;
	margin-top:-15px;
	-webkit-border-radius: 0 0 6px 6px;
	   -moz-border-radius: 0 0 6px 6px;
			border-radius: 0 0 6px 6px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
	   -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
			box-shadow: 0 1px 2px rgba(0,0,0,.15);
	cursor: pointer;
}

#close-noty:hover{
	padding: 10px 10px 8px 10px;
	background: #222;
}








