/*
 *This is a manifest file that'll automatically include all the stylesheets available in this directory
 *and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
 *the top of the compiled file, but it's generally better to create a new file per style scope.
 *= require_self
 
*/
a, a:hover {
	text-decoration: none;
	outline:none;
}
html,body {
	height:100%;
	margin:0;
	font-family: Helvetica, '微軟正黑體';
	overflow-x:hidden
}
ul {
	list-style:none;
	list-style-image:none;
	margin:0;
	padding:0;
}
input{
	border:none;
	padding:5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
input:focus, select:focus, textarea:focus {
	outline:none;
	-moz-outline-radius: 0;
}
.clear:after {
	content:".";
	clear:both;
	height:0;
	display:block;
	visibility:hidden;
}
#content{
	height:100%;
}
#sidebar {
	position:fixed;
	top:0;
	left:0;
	height: 100%;
	width:220px;
	/*background-color:rgba(245,245,245,1);*/
	background:url(<%= asset_path '75.png' %>) repeat left top;
	-moz-box-shadow: 3px 0px 4px #472a12; /* Firefox */
	-webkit-box-shadow: 3px 0px 4px #472a12;/* Safari 和 Chrome */
	box-shadow: 3px 0px 4px #472a12; /* Opera 10.5 + */
}
#search {
	background:url(<%= asset_path 'search_block_bg.jpg' %>) repeat-x left top;
	margin-top:43px;
	padding:15px 12px;
	height:20px;
}
#search input {
	background:url(<%= asset_path 'search_bg.png' %>) no-repeat left top;
	border:none;
	width:154px;
	height:20px;
	padding: 0 20px;
	font-family:Helvetica;
}
h1 {
	background:url(<%= asset_path 'h1_bg.png' %>) repeat-x left top;
	margin:0;
	line-height:21px;
	height:21px;
	font-size:12px;
	padding-left:10px;
	font-weight:normal;
	text-shadow:0px -1px 0px #000;
	color:#FFF;
	border-top:1px solid #424344;
	border-bottom:1px solid #1b1b1b;
}
#user_list .member_setup ul li.set_1 {
	background-position:left bottom;
	border-top:1px solid #406cc3;
	border-bottom:1px solid #242628;
}
#roles_list .member_setup ul li.set_2 {
	background-position:left bottom;
	border-top:1px solid #406cc3;
	border-bottom:1px solid #242628;
}
#user_list .member_setup ul li.set_1 a span {
	background-position:left bottom;
	color:#eeeeee;
}
#roles_list .member_setup ul li.set_2 a span {
	background-position:left bottom;
	color:#eeeeee;
}
.member_setup ul {
	color:#fff;
	font-size:12px;
	background:url(<%= asset_path 'line.png' %>) repeat-x left bottom;
}
.member_setup ul li {
	background:url(<%= asset_path 'sidebar_li.jpg' %>) repeat-x left top;
/*	line-height:31px;*/
	border-top:1px solid #424344;
	border-bottom:1px solid #000000;
}
.member_setup ul li:hover {
	background-position:left bottom;
	border-top:1px solid #406cc3;
	border-bottom:1px solid #242628;
}
.member_setup ul li a {
	display: block;
    padding: 7px 0 6px 12px;
	color:#c4c4c4;
}
.member_setup ul li a span {
	background:url(<%= asset_path 'add_mamber.png' %>) left top no-repeat;
	text-shadow: 0px 1px 0px #000;
	line-height: 18px;
	padding: 2px 0 1px 35px;
}
.member_setup ul li a:hover span {
	background-position:left bottom;
	color:#eeeeee;
}
#main{
	position: relative;
	margin-left: 260px;
	padding-right: 40px;
	height:100%;
}
.main_list {
	padding-top:70px;
}
.main_list li {
	background:url(<%= asset_path '75.png' %>) repeat left top;
	margin-bottom:20px;
}
.main_list li span {
	display:inline-block;
	float:left;
	padding-left:20px;
	color:#fff;
	font-size:14px;
	line-height:40px;
	width:18%;
}
.main_list li.list_head {
	background:none;
	margin-bottom:10px;
}
.main_list li.list_head span {
	font-size:16px;
	line-height:inherit;
	text-shadow: 0px 1px 1px #3e2914;
}
.main_list li.list_item {
	position:relative;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0px 0px 6px #291508; /* Firefox */
	-webkit-box-shadow: 0px 0px 6px #291508;/* Safari 和 Chrome */
	box-shadow: 0px 0px 6px #291508; /* Opera 10.5 + */
}
.main_list li.list_item:hover {
	border:1px solid #3699dd;
}
.main_list li.list_item:hover span {
	line-height:38px;
}
.main_list li .roles {
}
.main_list li .name {
}
.main_list li .email {
}
.main_list li .admin{
}
.main_list li .action{
	float: right;
	width:10%;
}
#main .action a{
	background-image:url(<%= asset_path 'icon.png' %>);
	text-indent:-9999px;
	display:inline-block;
	width:19px;
	height:19px;
	margin-top:8px;
	margin-right:10px;
}
#main .action a.show{
	background-position:left top;
}
#main .action a.edit{
	background-position:-19px top;
}
#main .action a.delete{
	background-position:-38px top;
}
#main .action a.show:hover{
	background-position:left -19px;
}
#main .action a.edit:hover{
	background-position:-19px -19px;
}
#main .action a.delete:hover{
	background-position:-38px -19px;
}
#main .list_item .roles {
	background-image:url(<%= asset_path 'roles_type.jpg' %>);
	background-repeat:repeat-x;
	border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px;
	-webkit-border-radius: 5px 0 0 5px;
}
#roles_list .roles_block .action a{
	margin-top:0;
	margin-right:0;
}
.student {
	background-position:0 -5px;
}
.teacher {
	background-position:0 -54px;
}
#add_new a {
	background-position:-54px -17px;
}
#add_new a:hover {
	background-position: -54px 3px;
}
#confirm a{
	background-position:4px -70px;
}
#confirm a:hover{
	background-position: 4px -51px;
}
.buttom a {
	margin-bottom: 20px;
	background-image:url(<%= asset_path 'icon.png' %>);
	background-repeat:no-repeat;
	font-size:12px;
	color:#FFF;
	float:right;
	display:inline-block;
	padding:0 10px 0 25px;
	background-color: rgba(0, 0, 0, 0.75);
	line-height:24px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 3px 0px 4px #180902; /* Firefox */
	-webkit-box-shadow: 3px 0px 4px #180902;/* Safari 和 Chrome */
	box-shadow: 3px 0px 4px #180902; /* Opera 10.5 + */
}
.buttom a:hover {
	color:#000;
	font-weight:bold;
	background-color: rgba(255, 255, 255, 1);
}
#porfile{
	padding-top:100px;
}
#porfile h2 {
    color: #FFFFFF;
    font-weight: normal;
    margin: 0;
    padding: 0;
    text-shadow: 0 3px 2px #000000;
	position:absolute;
	top:-30px;
}
#porfile label {
	display:block;
	text-shadow: 0 1px 0 #FFFFFF;
	background:url(<%= asset_path 'upload_but.png' %>) repeat-x left top;
    height: 25px;
	width:110px;
	padding: 0 0 0 18px;
	border:1px solid #d8d8d8;
	margin-top:10px;
	color:#666666;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#porfile label:hover{
	background-position:left bottom;
	color:#000;
	border:1px solid #a6a6a6;
}
#porfile label input {
	border:none;
	margin: 6px 15px 0 0;
	float:left;
}
#porfile label span {
	display:block;
	float:left;
	line-height:27px;
	font-size:12px;
}
.roles_block {
	min-width:710px;
	margin-bottom:50px;
	position:relative;
	padding-bottom: 20px;
	background:url(<%= asset_path '75.png' %>) repeat left top;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0px 0px 4px #180902; /* Firefox */
	-webkit-box-shadow: 0px 0px 4px #180902;/* Safari 和 Chrome */
	box-shadow: 0px 0px 4px #180902; /* Opera 10.5 + */
}
#user_list .roles_block {
	margin-left:180px;
}
#person {
	left: 265px;
	position: fixed;
	top: 75px;
}
#person img {
	background-color:#FFF;
	padding:5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0px 0px 4px #180902; /* Firefox */
	-webkit-box-shadow: 0px 0px 4px #180902;/* Safari 和 Chrome */
	box-shadow: 0px 0px 4px #180902; /* Opera 10.5 + */
}
#upload, #edit{
	display:block;
	text-shadow: 0 1px 0 #FFFFFF;
	background:url(<%= asset_path 'upload_but.png' %>) repeat-x left top;
    height: 25px;
	line-height:27px;
	color:#666666;
	width:128px;
	text-align:center;
	font-size:12px;
	border:1px solid #d8d8d8;
	margin-top:10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#upload:hover{
	background-position:left bottom;
	color:#000;
	border:1px solid #a6a6a6;
}
#main hr{
	height:8px;
	border:none;
	margin:0;
	border-radius: 5px 5px 0px 0px;
	-moz-border-radius: 5px 5px 0px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	border-bottom:1px solid #000;
}
#basic_block hr{
	background-color:#666666;
}
#teacher_block hr{
	background-color:#0071a9;
}
#student_block hr{
	background-color:#af0045;
}
.info_input {
	padding:10px 20px;
}
.info_input table {
	color:#fff;
	width:100%;
	font-size:14px;
}
.info_input table td {
	padding:5px 10px 5px 0;
	width: 10%;
}
.info_input .list_head {
	background:url(<%= asset_path 'line.png' %>) left bottom repeat-x;
}
.info_input .list_head td {
}
.info_input .list_item {
	color:#AEAEAE;
}
.info_input .add {
	display:block;
	padding-left:22px;
	font-size:12px;
	line-height:21px;
	height:19px;
	background:url(<%= asset_path 'icon.png' %>) no-repeat -59px 0;
	margin-top: 10px;
	color: #DDDDDD;
}
.info_input .add:hover {
	color:#FFF;
	background-position:-59px -19px;
}
.info_input li {
	height:30px;
	margin-bottom: 5px;
}
.info_input li span {
	display:inline-block;
	float:left;
	color:#fff;
	font-size:14px;
	line-height:30px;
	margin-right:10px;
}
#user_list .info_input li span {
	width: 25%;
}
#roles_list .info_input li span {
	width:15%;
}
.info_input li span:last-child {
}
#person select {
	background:url(<%= asset_path 'upload_but.png' %>) repeat-x left top;
	border:1px solid #d8d8d8;
	margin-top: 10px;
	width: 130px;
	padding:3px 6px 3px 14px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border:none;
}