/* CSS Document */
@charset "utf-8";
body
{
	margin: 0 auto 0 auto;
	padding: 0;

	line-height: 1.5;
	font-family: 微軟正黑體;
	font-size: 1.0em;
}

a:link, a:visited
{
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
	color: #ff6600;
}

a img
{
	border: 0 none #fff;
	color: #fff;
}

h2
{
	margin: 10px 0;
	font-size: 2.0em;
	font-weight: normal;
	color: #646464;
}

h3
{
	margin: 5px 0;
	font-size: 1.2em;
	font-weight: normal;
	color: #646464;
}

input, select, textarea
{
	font-family: 微軟正黑體;
}

#content_login
{
	padding-top: 150px;
	text-align: center;
}

#content_login h1
{
	margin: 0 auto;
}

#content_login form
{
	position: relative;
	width: 360px;
	margin: 0 auto;
}

#content_login table
{
	padding-right: 92px;
}

#content_login table td
{
	padding: 4px;
}

#content_login input.field
{
	width: 240px;
	height: 22px;
	border: 1px solid #d9d9d9;
	padding: 0 5px;
	line-height: 22px;
}

#content_login input.valid_code
{
	width: 142px;
	height: 22px;
	border: 1px solid #d9d9d9;
	padding: 0 5px;
	line-height: 22px;
}

#content_login img.valid_code
{
	margin-left: 10px;
	vertical-align: middle;
}

#content_login input.button_submit
{
	position: absolute;
	top: 6px;
	right: 0;
	width: 92px;
	height: 92px;
	border: 0;
	padding: 0;
	font-size: 1.5em;
	color: #fff;
	background-color: #006da2;
}

#title
{
	position: relative;
	margin: 10px 15px;
}

#title h1
{
	margin: 0;
	padding: 0;
}

#title h1 img
{
}

#title p.login_status
{
	position: absolute;
	top: 0px;
	right: 0px;
	margin: 0;
	padding: 0;
	color: #646464;
}

#title p.login_status a
{
	color: #646464;
}

#title p.login_status a:hover
{
	text-decoration: underline;
	color: #ff6600;
}

#menu
{
	height: 45px;
	margin: 0;
	padding: 0;
	background-color: #006da2;
	list-style: none;
	overflow: auto;
}

#menu li.menu_item
{
	float: left;
	border-right: 1px solid #fff;
	padding: 0 15px;
	line-height: 45px;
	color: #fff;
}

.active ul.sub_menu
{
	display: block;
}

ul.sub_menu
{
	display: none;
	position: absolute;
	margin: 0 0 0 -15px;
	border: 1px solid #dcddde;
	padding: 0;
	list-style: none;
	background-color: #fff;
}

ul.sub_menu li
{
	width: 220px;
	margin: 5px 0;
	border: 1px solid #fff;
	padding: 5px 0 5px 20px;
	line-height: 1.0;
}

ul.sub_menu li.active
{
	border: 1px solid #2daded;
	background-color: #f6f7f8;
}

ul.sub_menu li, ul.sub_menu li a
{
	color: #646464;
}

ul.sub_menu li a:hover
{
	text-decoration: none;
}

#content
{
	margin: 15px;
}

#content fieldset.data, #content fieldset.search, #content fieldset.add, #content fieldset.edit
{
	margin: 0;
	border: 1px solid #ccc;
	padding: 15px 50px 26px 50px;
	background-color: #fdfdfd;
}

#content fieldset.search, #content fieldset.add, #content fieldset.edit
{
	margin-bottom: 15px;
}

#content fieldset.page_ctrl
{
	margin: 15px 0;
	border: 0;
	padding: 0;
}

#content fieldset.page_ctrl input.button
{
	margin-right: 5px;
}

#content fieldset div.field
{
	padding: 3px 5px;
}

#content fieldset .subject
{
	display: block;
}

#content fieldset ul
{
	padding: 0;
	list-style: none;
}

#content fieldset ul li
{
	display: inline;
	padding-right: 15px;
}

#content fieldset input, #content fieldset select, #content fieldset textarea
{
	border: 1px solid #d9d9d9;
	font-size: 1.0em;
}

#content fieldset select
{
	padding: 5px;
}

#content fieldset input.content, #content fieldset textarea.content, #content fieldset select.content
{
	width: 100%;
	padding: 10px 5px;
}

#content fieldset input.search_content
{
	margin-right: 5px;
	padding: 5px;
}

#content fieldset input.search_date
{
	width: 100px;
	margin-right: 5px;
	margin-left: 5px;
	padding: 5px;
	text-align: center;
}

#content fieldset input.search_order
{
	width: 50px;
	margin-right: 5px;
	padding: 5px;
	text-align: center;
}

#content fieldset input.page_content
{
	width: 35px;
	margin-right: 5px;
	margin-left: 5px;
	padding: 5px;
	text-align: center;
}

#content fieldset input.video_no
{
	width: 105px;
	margin-right: 5px;
	padding: 5px;
}

#content fieldset input.video_subject
{
	width: 525px;
	margin-right: 5px;
	padding: 5px;
}

#content fieldset input.button
{
	margin-right: 5px;
	padding: 4px 5px;
}

#content fieldset input.page_submit
{
	margin-left: 5px;
	padding: 4px 5px;
}

#content fieldset img.content
{
	margin: 10px 5px 0 0;
	border: 1px solid #d9d9d9;
	padding: 5px;
}

form .buttons
{
	margin-top: 15px;
}

form .buttons input
{
	margin-right: 10px;
}

form .buttons input.add_file
{
	height: 43px;
	border: 1px solid #646464;
	padding: 0 10px 0 46px;
	line-height: 43px;
	font-size: 1.0em;
	color: #646464;
	background-color: #fff;
	background-image: url("images/icon_add_file.png");
	background-position: 12px 8px;
	background-repeat: no-repeat;
}

form .buttons input.edit_file
{
	height: 43px;
	border: 1px solid #646464;
	padding: 0 10px 0 46px;
	line-height: 43px;
	font-size: 1.0em;
	color: #646464;
	background-color: #fff;
	background-image: url("images/icon_edit_file.png");
	background-position: 12px 8px;
	background-repeat: no-repeat;
}

form .buttons input.submit
{
	height: 43px;
	border: 1px solid #646464;
	padding: 0 10px 0 46px;
	line-height: 43px;
	font-size: 1.0em;
	color: #646464;
	background-color: #fff;
	background-image: url("images/icon_submit.png");
	background-position: 12px 8px;
	background-repeat: no-repeat;
}

form .buttons input.previous
{
	height: 43px;
	border: 1px solid #646464;
	padding: 0 10px 0 46px;
	line-height: 43px;
	font-size: 1.0em;
	color: #646464;
	background-color: #fff;
	background-image: url("images/icon_previous.png");
	background-position: 12px 8px;
	background-repeat: no-repeat;
}

form .buttons input.next
{
	height: 43px;
	border: 1px solid #646464;
	padding: 0 10px 0 46px;
	line-height: 43px;
	font-size: 1.0em;
	color: #646464;
	background-color: #fff;
	background-image: url("images/icon_next.png");
	background-position: 12px 8px;
	background-repeat: no-repeat;
}

table.data_list
{
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid #eaeaea;
	border-right: 1px solid #eaeaea;
}

table.data_list th, table.data_list td
{
	border-bottom: 1px solid #eaeaea;
	border-left: 1px solid #eaeaea;
	padding: 10px 6px;
}

table.data_list th
{
	text-align: center;
	color: #fff;
	background-color: #666;
}

table.data_list tr.odd td
{
	background-color: #eaeaea;
}

table.data_list tr.even td
{
	background-color: #fff;
}

table.data_list td.subject
{
	width: 100px;
	text-align: center;
	background-color: #f0f0f0;
}

table.data_list td input
{
	border: 1px solid #d9d9d9;
}

td.name
{
	width: 90px;
	text-align: center;
}

td.account, td.banner
{
	text-align: center;
}

td.level, td.order, td.status , td.counter
{
	width: 90px;
	text-align: center;
}

td.order input
{
	text-align: center;
}

td.date
{
	width: 90px;
	text-align: center;
}

td.date_time
{
	width: 180px;
	text-align: center;
}

td.ip
{
	width: 100px;
	text-align: center;
}

td.video_url
{
	width: 400px;
}

td.function
{
	width: 50px;
	text-align: center;
	white-space: nowrap;
}

td.function input
{
	margin: 0 5px;
}

ul#news_imgs
{
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: auto;
}

ul#news_imgs li
{
	float: left;
	width: 257px;
	height: 368px;
	margin-right: 5px;
	overflow: hidden;
}

.frame {
    height: 25px;      /* equals max image height */
    width: 160px;
    border: 1px solid red;
    white-space: nowrap;
    
    text-align: center; margin: 1em 0;
}

ul#news_imgs li p.image
{
	width: 247px;
	height: 247px;
	margin: 15px 0 0 0 ;
	padding: 5px;
	text-align: center;
	background-color: #d9d9d9;
}

ul#news_imgs li p.image:before
{
	content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

ul#news_imgs li p.image img
{
	max-width: 247px;
	max-height: 247px;
	vertical-align: middle;
}

ul#news_imgs li p.subject
{
	margin: 10px 0 0 0;
}

ul#news_imgs li p.subject input
{
	width: 253px;
	border: 1px solid #d9d9d9;
	font-size: 1.0em;
}

ul#news_imgs li p.function
{
	margin: 10px 0 0 0;
}

ul#news_imgs li p.function input
{
	margin-right: 10px;
	border: 1px solid #d9d9d9;
}

#footer
{
	height: 45px;
	text-align: center;
	line-height: 45px;
	font-size: 0.8em;
	color: #fff;
	background-color: #666;
}