html {
	height: 100%;
}
body {
    padding: 0;
    margin: 0;
    background-color: #FFF;
    font-family: arial,helvetica,verdana,"Lucida Grande",sans-serif;
    font-size: 0.85em;
	/*background-color: #BEBEBE;*/
	height: 100%;
}
h1 {
	margin: 0;
	font-size: 80%;
}
h3 {
	font-size: 100%;
	font-weight: bold;
	margin: 5px 0;
}
a {

	font-size: 95%;
	padding: 2px;
	color: #0078EF;
}
a:visited {
	color:#0078EF;
}
a:hover {
	text-decoration: none;
	color: #59A5EF;
}
a.arrow {
	padding:0;
}
a.link-button {
	background: url(../images/button.gif) no-repeat;
	display: block;
	width: 50px;
	height: 24px;
	padding: 4px 5px 5px 5px;
	float: right;
	font-weight: bold;
	text-decoration: none;
	outline: none;
	color: #FFF;
	text-align: center;
	margin: 6px 5px 0 0;
	font-size: 90%;
}

a.link-button:hover {
	background: url(../images/button_h.gif) no-repeat;
}

a.back-button {
	background: url(../images/back.gif) no-repeat;
	display: block;
	width: 55px;
	height: 24px;
	padding: 4px 0 0 10px;
	float: left;
	font-weight: bold;
	text-decoration: none;
	outline: none;
	color: #FFF;
	text-align: center;
	margin: 6px 0 0 5px;
	font-size: 90%;
	cursor: pointer;
}

a.back-button:hover {
	background: url(../images/back_h.gif) no-repeat;
}

ul {
	margin: 0;
}

label {
	display: block;
	margin: 8px 0 0 5px;
	font-size: 90%;
	color: #25457F;
}

input.text {
	border: 1px solid #6E83A2;
	padding: 5px;
	width: 99%;
	color: #555;
	font-size: 90%;
	font-weight: bold;
	display: block;
	margin: 0 auto;
	margin-bottom: 4px;
}
input.text:focus {
	background-color: #E8EDF3;
}

select.select{
	border: 1px solid #6E83A2;
	padding: 5px;
	width: 99%;
	color: #555;
	font-size: 90%;
	font-weight: bold;
	display: block;
	margin: 0 auto;
	margin-bottom: 4px;
	background-color: #E8EDF3;
}

input.button {
	border: 0 none;
	outline: none;
	background: url(../images/submit.gif) no-repeat;
	width: 82px;
	height: 26px;
	font-weight: bold;
	color: #FFF;
	text-align: center;
	font-size: 80%;
	cursor: pointer;
	float: right;
	margin: 5px 10px 5px 5px;
}

input.submit-up {
	border: 0 none;
	background:url(../images/arrow-up.gif);
	width: 32px;
	height: 16px;
	cursor:pointer;
}
input.submit-down {
	border: 0 none;
	background:url(../images/arrow-down.gif);
	width: 32px;
	height: 16px;
	cursor:pointer;
}
input.file {
	background-color: #E8EDF3;
	padding: 5px;
	width: 99%;
	color: #555;
	font-size: 90%;
	font-weight: bold;
	display: block;
	margin: 0 auto;
	margin-bottom: 4px;
}
hr {
	background-color: #C9D7F1;
	color: #C9D7F1;
	height: 1px;
	margin: 8px 0;
}

img {
	border: 0 none;
}

#wrapper {
	position: relative;
	min-height: 95%;
}

#title {
	background: url(../images/title_bg.jpg) repeat-x;
	padding: 4px;
	text-align: center;
}
#tool-bar {
	background: url(../images/toolbar_bg.jpg) repeat-x;
	height: 36px;
}
#content {
	text-align: center;
	padding: 20px;
	min-height: 360px;
}

#foot {
	background: url(../images/foot_bg.jpg) repeat-x;
	font-size: 80%;
	color: #ddd;
	text-align: center;
	width: 100%;
	padding: 4px 0 4px 0;
	margin-top: 5px;
	clear: both;
}

#copyright {
	margin: 6px 0;
}

#list {
    margin-top: 5px;
}

#new table {
	font-size: 90%;
}
#edit table {
	font-size: 90%;
}

#msg {
	margin: 0 auto;
	width: 80%;
	background-color: #25457F;
	border: 2px solid #FFF;
	-moz-border-radius: 8px;
	padding: 10px 4px;
	color: #FFF;
	font-size: 90%;
	text-align: center;
}

div.err {
	margin: 0 auto;
	width: 80%;
	background-color: #FFFFDD;
	border: 2px solid #FFCC00;
	-moz-border-radius: 8px;
	padding: 10px 4px;
	color: #000;
	font-size: 90%;
}
div.err ul{
	list-style-type: circle;
}

div.info {
	margin: 0 auto;
	width: 80%;
	background-color: #25457F;
	border: 2px solid #FFF;
	-moz-border-radius: 8px;
	padding: 10px 4px;
	color: #FFF;
	font-size: 90%;
}

div.info ul{
	list-style-type: circle;
}

.li {
	border-bottom: 1px solid #E8EDF3;
	padding: 10px;
	cursor: pointer;
}
div.li:hover {
	background-color: #E8EDF3;
}

.lia {
	font-weight: bold;
	color: #25457F;
	margin-left: 4px;
	float: left;
}

a.sub-link {
	float: right;
	padding: 2px 10px;
	background-color: #ddd;
	color: #25457F;
	text-decoration: none;
	font-size: 80%;
	-moz-border-radius: 2px;
}
a.sub-link:hover {
	background-color: #FFF;
}
a.sub-link:visited {
	color: #25457F;
}

.clear {
	height: 0;
	margin: 0;
	padding: 0;
	clear: both;
}

.attendance-title {
	width: 98%;
	padding: 4px;
	margin: 0 auto 4px;
	background: url(../images/thead.gif) repeat-x;
	border: 1px solid #808080;
	cursor: pointer;
	-moz-border-radius: 3px;
}
.attendance-title input{
	float: left;
}
.attendance-title label{
	float: left;
	color: #555;
	font-weight: bold;
	font-size: 90%;
	margin-top: 3px;
}

.attendance {
	border: 1px solid #c0c0c0;
	padding: 4px;
	width: 98%;
	margin: 0 auto 2px;
	cursor: pointer;
	-moz-border-radius: 3px;
}

.attendance input{
	float: left;
}

.attendance label{
	float: left;
	color: #333;
	font-weight: bold;
	font-size: 90%;
	margin-top: 3px;
	cursor: pointer;
}

.attendance a{
	float: right;
}

div.attendance:hover{
	background-color: #E8EDF3;
}

.attendance-foot {
	width: 98%;
	padding: 6px;
	margin: 0 auto 4px;
	/*background-color: #7C92AA;
	-moz-border-radius: 3px;*/
}

.table {
	border: 1px solid #c0c0c0;
	padding: 4px;
	width: 98%;
	margin: 0 auto 2px;
	cursor: pointer;
	-moz-border-radius: 3px;
}

div.table:hover {
	cursor: pointer;
	background: #E0E0E0 url(../images/table.gif) repeat-x;
}

.ltd {
	float: left;
}
.rtd {
	float: right;
	padding: 10px 0;
}

label.big {
	font-size: 110%;
	font-weight: bold;
	margin: 2px;
}
label.small {
	font-size: 80%;
	color: gray;
	display: inline;
}

#view {
	border: 1px solid #c0c0c0;
	padding: 6px;
	width: 98%;
	margin: 0 auto;
	margin-top: 5px;
	-moz-border-radius: 3px;
}
#view td {
	border-bottom: 1px dotted #c0c0c0;
}
#view tr:hover {
	background-color: #E8EDF3;;
}

a.del-link {
	padding: 2px 8px;
	background-color: #900;
	color: #FFF;
	text-decoration: none;
	font-size: 80%;
	border: 1px solid #900;
	-moz-border-radius: 3px;
	margin: 2px;
}
a.del-link:visited {
	color: #FFF;
}
a.del-link:hover {
	background-color: #FFF;
	color: #900;
}

a.edit-link {
	padding: 2px 8px;
	background-color: #25457F;
	color: #FFF;
	text-decoration: none;
	font-size: 80%;
	border: 1px solid #25457F;
	-moz-border-radius: 3px;
	margin: 2px;
}

a.edit-link:visited {
	color: #FFF;
}

a.edit-link:hover {
	background-color: #FFF;
	color: #25457F;
}

/*** Validation ***/
label.error {
	color: red;
	font-style: italic;
	font-size: 80%;
	display: inline;
	padding: 0;
}
input.error {
	border: 1px dotted red;
}

/*** Log ***/
a#log-trigger {
	text-decoration: none;
}
a#log-trigger:hover {
	text-decoration: underline;
	background: none;
}
.log{
	font-family: "Courier New";
	font-size: 96%;
	text-align: left;
	width: 99%;
	padding: 6px;
	height: 100px;
	margin-top: 10px;
	display: none;
	border: 1px solid #c0c0c0;
	-moz-border-radius: 4px;
	background-color: #efefef;
	color: #000;
}
#menu{
	width:100%;
	padding:4px 0px;
	text-align:right;
	background:#efefef;
	border-bottom:1px solid #c1c1c1;
}
a.nav-link{
	text-decoration:none;
}
a.this{
	color:#2F2F2F;
}
