html{	
	font-size: 14px;
}

body{
	margin: 0;
	padding: 0;
	font-family: "微軟正黑體", Arial;
	height: 100%;	
	background: #FFF;		
}

header{
	position: fixed;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
	width: 100%;
	max-width: 1024px;
	height: auto;	
	/*background-color: #5982ae;*/
	z-index: 100;
	padding: 15px 20px 5px;
	text-align: center;
	border-bottom: 1px solid #999;
	background: #FFF;
	/*box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); */
}

header div{
	position: relative;
	float: left;
	padding: 5px 10px;
	margin: 0 10px;
}
header .title{
	font-size: 24px;
	font-weight: bold;
	color: #5982ae;
}
header .menu{	
	cursor: pointer;
	margin-top: 5px;
	background-color: #d2e2f3;
	border: 1px solid #999;
}
header .menu:hover{ background-color: #5982ae; color: #FFF;}
header .menu:active{ background-color: #5982ae; color: #FD0; font-weight: bold;}

header .logout{	
	float: right;
}

header .info{	
	float: right;	
	padding: 5px 0;
	margin: 5px 0;
}






section{
	position: relative;
	width: 100%;	
	height: 100%;
	margin: 100px auto 20px;
}

section .container{
	position: relative;
	width: 80%;
	min-width: 800px;
	max-width: 1000px;
	height: auto;
	margin: 100px auto;
	padding: 20px 40px 40px;
	border: 1px solid #999;
		
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); 
	/* css3 border radius */ 
	border-radius: 5px;
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px; 		
}

.login-form{
	position: fixed;
	width: 340px;
	height: auto;
	/*margin: 200px auto 20px;*/
	padding: 40px;
	border: 1px solid #999;
	
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); 
	/* css3 border radius */ 
	border-radius: 5px;
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px; 	
}
.login-form .field{
	margin: 20px auto;
}
.login-form input{
	width: 300px;	
	padding: 4px;
	font-size: 16px;	
	border: 1px solid #999;
}
.login-form input[type='button']{
	margin-left: 65px;
	width: 200px;	
}
.login-form label{
	width: 60px;
	display: inline-block;
	font-size: 18px;
	text-align: right;
}


.application-form{
	position: relative;
	width: 800px;
	height: auto;
	margin: 100px auto 20px;
	padding: 20px 40px;
	border: 1px solid #999;
	
	/*top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);*/
	
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); 
	/* css3 border radius */ 
	border-radius: 5px;
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px; 	
}
.application-form select{
	height: 30px;
	font-size: 14px;
}


.application-form input[type='text']{
	width: 220px;
	padding: 4px;
	font-size: 14px;
	border: 1px solid #999;
	margin: 2px 0;
}

.application-form input[type='text']:read-only{
	background-color: #EEE;
	color: #999;
}
.application-form input[type='button']{
	position: relative;
	width: 200px;
	height: 40px;
	float: right;
	
	/*transform: translate(-50%, 0);*/
	margin-top: 20px;	
	margin-left: 80px;
	padding: 10px;
}

.application-form .professorBtn{
	position: relative;
	width: 100px;
	height: 30px;
	float:none;	
	/*transform: translate(-50%, 0);*/
	margin-top: 0;	
	margin-left: 0;
	padding: 0;
}

.application-form #btn_upload{
	width: 140px;
	height: 30px;
	float: none;
	margin: 5px auto;
	padding: 2px;
}
.application-form .icon{
	position: relative;
	float: right;
	bottom: 0;
	width: 40px;
	padding: 2px;
	margin-left: 5px;
	font-size: 12px;
	text-align: center;
	border: 1px solid #999;
	color: #fff;
	background: #8DAFD3;
	cursor: pointer;
	display: inline-block;
}

.application-form .icon:active{
	background: #5982ae;
}

.application-form .uploadTable tr td{
	width: 500px;
}

.application-form a{
	color: #2E53A8;	
	text-decoration:none;
}
.application-form a:hover{
	color: #9C070A;
	text-decoration: underline;	
}



table#application{	
	width: auto;
	border-collapse: collapse;
	margin-bottom: 20px;
	margin: 0 auto;
}
table#application caption {
	font-size: 20px;
	font-weight: bold;
	color: #5982ae;
	margin-bottom: 10px;		
}
table#application th,table#application td {
	height: 30px;
	font-size: 14px;
	padding: 8px;
	border: 1px solid #999;
}
table#application th {
	width: 80px;
	font-weight: bold;
	white-space: nowrap;
	/*text-align: right;*/
	background: #EEE;
}
table#application td {
	width: 300px;
}

/*table#application ul{
	margin:0 0 0 -20px;;
	list-style-type:decimal;
}*/
table#application span{
	color: #f00;
	font-weight: bold;
	margin-left: 2px;
}

/* 申請表 注意事項*/
.application_note{
	margin:0 0 0 -20px;;
	/*list-style-type:cjk-ideographic;*/
	list-style-type:decimal;
	line-height: 24px;
}
.application_note_sun{
	margin:0 0 0 -24px;;
	list-style-type:lower-latin;
}


table#datalist{	
	border-collapse: collapse;
	margin-bottom: 20px;
	margin: 0 auto;
}
table#datalist caption {
	font-size: 20px;
	font-weight: bold;
	color: #5982ae;
	margin-bottom: 10px;		
}
table#datalist th, table#datalist td{
	height: 35px;
	font-size: 14px;
	padding: 4px 8px;
	border: 1px solid #999;
	text-align: center;
}
table#datalist th {
	font-weight: bold;
	/*white-space: nowrap;*/
	background: #EEE;
}
table#datalist .icon{
	position: relative;
	bottom: 0;
	width: 40px;
	padding: 2px;
	font-size: 12px;
	text-align: center;
	border: 1px solid #999;
	color: #fff;
	background: #8DAFD3;
	cursor: pointer;
	display: inline-block;
}

table#datalist .icon:active{
	background: #5982ae;
}

table#datalist a{
	color: #2E53A8;	
	text-decoration:none;
}
table#datalist a:hover{
	color: #9C070A;
	text-decoration: underline;	
}


.date-table{	
	border-collapse: collapse;
	margin: 15px auto;
}
.date-table caption {
	font-size: 16px;
	font-weight: bold;
	color: #5982ae;	
	text-align: left;
	margin-bottom: 5px;
}
.date-table th, .date-table td{
	height: 35px;
	font-size: 14px;
	padding: 4px 8px;
	border: 1px solid #999;
	text-align: center;
}
.date-table th{
	width: 150px;
}
.date-table td{
	width: 100px;
}
.date-table th {
	font-weight: bold;
	/*white-space: nowrap;*/
	background: #EEE;
}








footer{
	position: fixed;
	width: 100%;
	max-width: 1024px;
	height: 25px;	
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 0);
	text-align: center;
	padding: 10px;
	border-top: 1px solid #999;
	background: #FFF;
	/*box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); */
}




/* ----------------------------------------------------- */
/* 對話視窗*/
#dialog{ 
	position:fixed;
	left: 50%;
	top: 0;
	width: 100%;
	height: 100%;
	transform: translate(-50%, 0);
	/*-webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	-o-transform: translate(-50%, 0);*/

	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	
	z-index:1001;
}
#dialog .content{
	position: absolute;
	width: auto;
	min-width: 250px;
	max-width: 90%;
	height:auto;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	/*-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);	*/
	/* css3 drop shadow */ 
	/*-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); 
	-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); */
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); 
	/* css3 border radius */ 
	border-radius: 5px;
	/*-webkit-border-radius: 5px; 
	-moz-border-radius: 5px; 	*/
	 
	background:#eee;
	
	border: 1px solid #999;
	padding:15px 0; 
}
#dialog .message{ 
	font-size: 16px; 
	margin: 20px 20px 40px;
}
#dialog .button{
	position: relative;
	display: block; 
	width:50px; 
	padding: 5px 10px;
	margin:10px auto 0 auto; 	
	background-color: #5982ae; 	
	color: #fff; 
	font-size: 16px; 
	text-align:center; 
	text-decoration: none; 
	font-weight: bold; 
	line-height: 1; 
	/* css3 implementation :) */ 
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px; 
	
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5); 
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5); 
	
	text-shadow: 0 -1px 1px rgba(0,0,0,0.25); 
	
	border-bottom: 1px solid rgba(0,0,0,0.25); 
}



#dialog-waiting{ 
	position:fixed;
	left: 50%;
	top: 0;
	width: 100%;
	height: 100%;
	transform: translate(-50%, 0);
	/*-webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	-o-transform: translate(-50%, 0);*/

	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	
	z-index:1000;
}

#dialog-waiting .content{
	position: absolute;
	width: 50px;
	height:50px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);		
}

#dialog-waiting img{
	width: 100%;
}

#update-waiting{
	position:fixed;
	left: 50%;
	top: 0;
	width: 100%;
	height: 100%;
	transform: translate(-50%, 0);
	-webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	-o-transform: translate(-50%, 0);

	background-color: rgba(255, 255, 255, 0.5);
	display: none;
	
	z-index:100;
	
}


#popup-professor{ 
	position:fixed;
	left: 50%;
	top: 0;
	width: 100%;
	height: 100%;
	transform: translate(-50%, 0);
	/*-webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	-o-transform: translate(-50%, 0);*/

	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	
	z-index:200;
}

#popup-professor .content{
	position: absolute;
	width: 800px;
	height:500px;
	background-color: #FFF;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);		
}



.both{display:block; height:0px; clear:both; visibility:hidden;}




