/* 學生線上選課全CSS版型 */
/* 【選課】 淺色 = #CCFFCC ； 中間色 = #009933 ； 深色 = #006600 */
/* 【重修】 淺色 = #FFFFCC ； 中間色 = #FF6600 ； 深色 = #006600 */
/* 【暑修】 淺色 = #CCFFFF ； 中間色 = #0099CC ； 深色 = #0066FF */

body {
	font-family: sans-serif, Helvetica, Arial, "Microsoft JhengHei", monospace, "Courier New", "Lucida Grande";
	font-size: 14px;
	color: #000000;
	text-align: center;
	margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 800px) {
	body {
		width: 500px;
		font-size: 100%;
	}
}

@media only screen and (min-width: 800px) {
	body {
		/*width: 1024px;*/
		width: 75%;
	}
}    

a:link, a:visited, a:hover, a:active {
	color: #0000FF;
	text-decoration: none;
}

a:hover {
	/* color: #FF0000; */
	/* font-weight: bold; */
	text-decoration: underline;
	background-color: #FFFF00;
}

label {
	width: 80%;
	text-align: left;
}

p {
	width: 100%;
	font-size: 100%;
}

h1, h2, h3, h4, h5, h6 {
	width: 100%;
	font-weight: bold;
	color: #006600;
	text-align: center;
	margin: 0 0 20px 0;
}

h1 {font-size: 23px;}
h2 {font-size: 21px;}
h3 {font-size: 19px;}
h4 {font-size: 17px;}
h5 {font-size: 15px;}
h6 {font-size: 13px;}

ol, ul {
	text-align: left;
}

ol li, ul li {
	line-height: 1.5em;
	margin: 5px 0;
}

input[type="submit"], input[type="button"], input[type="reset"] {
	padding: 12px 15px;
	margin: 2px;
}

input[type="text"], input[type="password"] {
	padding: 5px;
	font-family: Helvetica, Arial, monospace, sans-serif;
	font-size: 110%;
	background-color: #CCFFCC;
	border: 1px solid #009933;
}

select,textarea {
	padding: 10px;
	font-family: "courier new", Helvetica, Arial, monospace, sans-serif;
	background-color: #FFFFFF;
	border: 1px solid #009933;
	text-align:left;
}

option {
	padding-left: 10px;
	text-align:left;
}

/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.TP_Base {
	width: 100%;
	height: 100%;
	border: 1px solid #000000;
	background-color: #CCFFCC;
	padding-top: 30px;
	text-align: center;
	margin-left: auto;
    margin-right: auto;
}

.TP_Header {
	width: 100%;
	text-align: center;
	background-color: #009933;
	border: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
}

.TP_Header tr, TP_Header td {
	padding: 0px;
	margin: 0px;
	border: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
}

.TP_HeaderA {
	width: 100px;
	text-align: right;
}

.TP_HeaderB {
	font-size: 150%;
	text-align: left;
	position: relative;
	top: -10px;
	padding: 30px 0 0 10px;
}

.TP_HeaderB h3 {
	font-size: 130%;
	color: #FFFFFF;
	font-weight: bold;
	text-align: left;
}

.TP_HeaderC {
	width: 150px;
}

.TP_HeaderD {
	width: 150px;
	background-color: #006600;
}

.TP_Footer {
	width: 90%;
	background-color: #FFFFFF;
	border-top: 1px dotted #555555;
	border-left: 1px dotted #555555;
	border-right: 1px dotted #555555;
	padding: 10px 0;
	color: #000000;
	text-align: center;
	margin-left: auto;
    margin-right: auto;
}

.TP_Block {
	width: 100%;
	margin: 15px 0;
	overflow: hidden;
}

.TP_Block input[type="text"] {
	width: 25%;
	padding: 10px 10px;
	background-color: #FFFFFF;
}

.TP_Block option {
	padding:0px;	
}

/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

#TP_Login {
	border: 2px solid #009933;
	padding: 10px;
	margin:10px 0;
	text-align: center;
	margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 800px) {
	#TP_Login {
		width: 80%;
		}
	}

@media only screen and (min-width: 800px) {
	#TP_Login {
		width: 450px;
	}
}  

#TP_Login table {
	width: 95%;
	border: 0px;
	text-align: center;
	border-collapse: separate;
	border-spacing: 4px; /*cellspacing */
}

#TP_Login th {
	width: 30%;
	font-size: 120%;
	border: 0px;
	text-align: center;
	border-collapse: separate;
	border-spacing: 2px; /*cellspacing */
	padding: 2px 2px 2px 5px;
}

#TP_Login td {
	font-size: 110%;
	text-align: left;
	border: 0px;
	border-collapse: separate;
	border-spacing: 2px; /*cellspacing */
	color: #009933;
	padding: 2px 2px 2px 5px;
	/* border: 1px solid #FF0000; */
}

.TP_BG {
	width: 90%;
	height: 100%;
	background-color: #FFFFFF;
	border-left: 1px dotted #555555;
	border-right: 1px dotted #555555;
	padding: 30px 0;
	color: #000000;
	text-align: center;
	margin-left: auto;
    margin-right: auto;
}

/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.TP_BGIn {
	width: 95%;
	text-align: center;
	margin-left: auto;
    margin-right: auto;
	display: block;
	padding: 0px;
}

.TP_BGIn hr {
    width: 100%;
	border: 0;
    border-bottom: 1px dashed #ccc;
    background: #999;
	margin: 20px 0 20px 0;
}

.TP_BGIn table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0px; /*cellspacing */
	border: 1px solid #006600;
	margin: 0 0 20px 0;
	text-align: center;
	margin-left: auto;
    margin-right: auto;
}

.TP_BGIn th {
	background-color: #009933;
	text-align: center;
	color: #FFFFFF;
	padding: 10px;
	border: 1px solid #006600;
}

.TP_BGIn td {
	text-align: center;
	padding: 10px;
	border: 1px solid #006600;
}

@media only screen and (min-width: 800px) {
	.TP_BoxL {
		/*width:65%;*/
		text-align: left;
		display: inline-block;
		padding: 10px 0;
		float: left;
	}

	.TP_BoxR {
		/*width:34%;*/
		text-align: right;
		display: inline-block;
		padding: 10px 0;
		float: right;
	}
}

@media only screen and (max-width: 800px) {
	.TP_BoxL {
		width:100%;
		text-align: left;
		display: inline-block;
		padding: 10px 0;
	}

	.TP_BoxR {
		width:100%;
		text-align: left;
		display: inline-block;
		padding: 10px 0;
	}
}

.TP_BoxL input[type="text"] {
	background-color: #FFFFFF;
	padding: 10px;
	margin: 0px;
}

.TP_BoxR input[type="text"] {
	background-color: #FFFFFF;
	padding: 10px;
	margin: 0px;
}

.TP_BoxL input[type="reset"] {
	padding: 10px;
	margin: 0px;
}

.TP_BoxR input[type="reset"] {
	padding: 10px;
	margin: 0px;
}

.TP_BoxL input[type="submit"] {
	padding: 10px;
	margin: 0px;
}

.TP_BoxR input[type="submit"] {
	padding: 10px;
	margin: 0px;
}
	
/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.MenuBT {
	width:100%;
	border:0px;
	padding:5px;
	text-align: center;
	margin-left: auto;
    margin-right: auto;
}

.MenuBT table {
	/* width: 80%; */
	border:0px;
	text-align: center;
	border-collapse: separate;
	border-spacing: 4px; /*cellspacing */
}

.MenuBT th {
	/* width:30%; */
	font-size: 120%;
	border:0px;
	text-align: center;
	border-collapse: separate;
	border-spacing: 1px; /*cellspacing */
}

.MenuBT td {
	font-size: 120%;
	text-align: center;
	border: 0px;
	border-collapse: separate;
	border-spacing: 1px; /*cellspacing */
	color: #006600;
}

.MenuBT input[type="submit"] {
	width: 100%;
	padding: 10px 20px;
}

.MenuBlock {
	width: calc(100%/2.2);
	display: inline-block;
	margin: 8px 15px;
	padding: 2px;
}

.MenuBlock input[type="submit"] {
	width: 100%;
	padding: 10px 20px;
}

.MenuBlock input[type="text"] {
	width: calc(91.5%);
	padding: 10px 10px;
	background-color: #FFFFFF;
}

.MenuBlock select {
	width: 100%;
	padding: 10px 12px;
}
/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.DTB {
	display: table;
	text-align: center;
	width: 100%;
	border-collapse: collapse;
	background-color: #FFFFFF;
}

.DTB_Strong {
	color: #0000FF;
	font-weight: bold;
	font-size: 100%;
}


.DTB_row {
	display: table-row;
}

.theader {
	display: table-row;
	text-align: center;
}

.DTB_header {
	display: table-cell;
	border: #006600 1px solid;
	background-color: #009933;
	color: #FFFFFF;
	padding: 10px;
	font-weight: bold;
	vertical-align: middle;
}

.DTB_header:first-child {
	border-left: #006600 1px solid;
}

.DTB_header:last-child {
	border-right: #006600 1px solid;
}

.DTB_header2 {
	display: table-cell;
	border: #006600 1px solid;
	background-color: #009933;
	color: #FFFFFF;
	padding: 15px;
	font-weight: bold;
	vertical-align: middle;
}

.DTB_header2:first-child {
	border-left: #006600 1px solid;
}

.DTB_header2:last-child {
	border-right: #006600 1px solid;
}

.DTB_small {
	display: table-cell;
	border: #006600 1px solid;
	vertical-align: middle;
}

.DTB_row > .DTB_small > .DTB_cell:nth-child(odd) {
	display: none;
	background-color: #009933;
	padding: 5px;
}

.DTB_row > .DTB_small > .DTB_cell {
	padding: 10px;
}

.DTB_row > .DTB_small:first-child > .DTB_cell {
	/* vertical-align: middle; */
}

.DTB_row > .DTB_small:last-child > .DTB_cell {
	/* vertical-align: middle; */
}

.DTB_row:last-child > .DTB_small:last-child > .DTB_cell:last-child {
	/* vertical-align: middle; */
}

.DTB_row:last-child > .DTB_small:first-child > .DTB_cell:last-child {
	/* vertical-align: middle; */
}

.DTB_row:nth-child(2n+3) {
	/* background: #F6F6F6; */
	background-color: #FFFFFF;
}

@media screen and (max-width: 800px) {
	.DTB {
		width: 100%;
		border: 0px;
		font-size: 100%;
	}
}

@media screen and (max-width: 800px) {
	.DTB {
		display: block;
	}
	.DTB_row:nth-child(2n+3) {
		background: none;
	}
	.theader {
		display: none;
		width: 25%;
	}
	.DTB_row > .DTB_small > .DTB_cell:nth-child(odd) {
		display: table-cell;
		/* width: 50%; */
		vertical-align: middle;
	}
	.DTB_cell {
		display: table-cell;
		/* width: 50%; */
		vertical-align: middle;
	}
	.DTB_row {
		display: table;
		width: 100%;
		border-collapse: collapse;
		padding-bottom: 20px;
		margin: 5% auto 0;
		text-align: left;
	}
	.DTB_small {
		display: table-row;
	}
	.DTB_row > .DTB_small:first-child > .DTB_cell:last-child {
		border: #006600 1px solid;
	}
	.DTB_row > .DTB_small > .DTB_cell:first-child {
		border: #006600 1px solid;
	}
	.DTB_row > .DTB_small:first-child > .DTB_cell:first-child {
		border: #006600 1px solid;
	}
	.DTB_row > .DTB_small:first-child > .DTB_cell:last-child {
		border: #006600 1px solid;
	}
	.DTB_row > .DTB_small:last-child > .DTB_cell:first-child {
		border: #006600 1px solid;
	}
	.DTB_row > .DTB_small > .DTB_cell:last-child {
		border: #006600 1px solid;
	}
	.DTB_row > .DTB_small:last-child > .DTB_cell:first-child {
		border: #006600 1px solid;
	}
	.DTB_row > .DTB_small:last-child > .DTB_cell:last-child {
		border: #006600 1px solid;
	}
	.BRIGHT {
		font-weight: bold;
		color: #FFFFFF;
		width: 30%;
  }
}

/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.Note {
	width: 95%;
	text-align: center;
	margin-left: auto;
    margin-right: auto;
	display: block;
	padding: 0px;
}

.Note table, .Note th, .Note td {
	border: 0px;
	vertical-align: top;
	text-align: left;
}

.Note b {
	color: #006600;
	font-weight: bold;
}

/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.ChgRed {
	color: #FF0000;
}

.ChgBlue {
	color: #0000FF;
}

.ChgGreen {
	color: #00FF00;
}

.ChgMagenta {
	color: #FF00FF;
}

.ChgYellowBG {
	background-color: #FFFF99;
}

.ChgGreyBG {
	background-color: #E5E5E5;
}

.ChgRedBG {
	background-color: #FF0000;
}

.ChgStrong {
	font-weight: bold;
}

.ChgLeft {
	text-align: left;
}

.ChgRight {
	text-align: right;
}

.ChgInLine {
	display: inline;
}

.BackToTop {
    display: block;
	padding: 10px 20px;
	color: #FFFFFF;
	background-color: #006600;
	border: 1px solid #006600;
    position: fixed;
    bottom: 5px;
    right: 5px;
	z-index: 1;
	opacity: 0.8;
}

/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.TabBar {
	width: 100%;
	text-align: left;
	padding-bottom: 5px;
}

.TabBlock {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid #006600;
	background-color: #009933;
	color: #FFFFFF;
	margin: 0 1px 5px 1px;
	border-radius: 3px;
	text-align: center;
	font-size: 90%;
	width: 19.5%;
}

.TabBlock a:link, .TabBlock a:visited, .TabBlock a:hover, .TabBlock a:active {
	color: #FFFFFF;
	text-decoration: none;
}

.TabBlock a:hover, .TabBlock:hover {
	/* color: #FF0000; */
	font-weight: normal;
	background-color: #FF0000;
}

/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.dropbtn {
	background-color: #009933;
	border: 1px solid #006600;
	color: white;
	padding: 15px 60px;
	font-size: 95%;
	border: 1px solid #006600;
	cursor: pointer;
	margin: 0 1px 5px 1px;
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #F9F9F9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	text-align: left;
}

.dropdown-content a {
	color: black;
	padding: 12px 25px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	background-color: #FF0000;
	color: #FFFFFF;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.dropdown:hover .dropbtn {
	background-color: #3e8e41;
}

/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
/*＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.FBlock {
	width: 100%;
}

.FTitle {
	width: 30%;
	padding: 5px;
}

.FContent {
	width: 69%;
	display: inline;
	padding: 5px;
}