﻿table.maintable 
{
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
    table-layout: fixed;
    border-collapse: collapse;
    background-color: #f3f9f9;
	width: 98%;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 11px;
	position: relative;
}

table.maintable.admin
{
    background-color: #fbf2d2;
}

table.maintable > a:link
{
	text-decoration: none;
	color: black;
	font-weight: bold;
}

table.maintable > a:hover
{
	text-decoration: none;
	color: white;
	font-weight: bold;
}

table.maintable > thead
{
    background: url(../image/maintable_header_bg.png) repeat-x;
}

table.maintable.admin > thead
{
    background: url(../image/maintable_header_bg_admin.png) repeat-x;
}

table.maintable > thead > tr, table.maintable > tbody > tr
{
    height: 28px;
}

table.maintable > thead tr th, table.maintable > thead tr td
{
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 5px;
    border-top: 1px solid #6eaede;
    border-bottom: 1px solid #6eaede;
    border-right: 1px solid #6eaede;
    text-align: left;
}

table.maintable.admin > thead tr th, table.maintable.admin > thead tr td
{
    border-top: 1px solid #f88f6f;
    border-bottom: 1px solid #f88f6f;
    border-right: 1px solid #f88f6f;
}

table.maintable > thead tr th.user:hover
{
	background: url(../image/maintable_header_bg_over.png) repeat-x;
}

table.maintable > thead tr th.click
{
	background: url(../image/maintable_header_bg_over.png) repeat-x;
	color: darkblue;
}

table.maintable.admin > thead tr th.user:hover
{
	background: url(../image/maintable_header_bg_admin.png) repeat-x;
}

table.maintable.admin > thead tr th.click
{
	background: url(../image/maintable_header_bg_admin.png) repeat-x;
	color: darkblue;
}

table.maintable > thead tr th:first-child
{
    border-left: 1px solid #6eaede;
}

table.maintable.admin > thead tr th:first-child
{
    border-left: 1px solid #f88f6f;
}

table.maintable > tbody tr:hover td
{
	background-color: lightblue;
}

table.maintable.admin > tbody tr:hover td
{
	background-color: #ffa68b;
}

table.maintable > tbody tr.nobackground:hover td
{
    background: none;
}

table.maintable > tbody tr th
{
    text-align: left;
}

table.maintable > tbody tr td, table.maintable > tbody tr th
{
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 1px solid #a6cee5;
    border-right: 1px solid #a6cee5;
}

table.maintable.admin > tbody tr td, table.maintable.admin > tbody tr th
{
    border-bottom: 1px solid #f88f6f;
    border-right: 1px solid #f88f6f;
}

table.maintable > tbody tr td:first-child, table.maintable > tbody tr th:first-child
{
    border-left: 1px solid #a6cee5;
}

table.maintable.admin > tbody tr td:first-child, table.maintable.admin > tbody tr th:first-child
{
    border-left: 1px solid #f88f6f;
}

table.maintable > tbody tr.teacher > td
{
    border: 1px solid #1cab00;
    background-color: #c3ffc3;
}

table.maintable > tbody tr.teacher:hover > td
{
	background-color: #64dd4c;
}

table.maintable > tbody tr.admin > td
{
    border: 1px solid #f88f6f;
    background-color: #fbf2d2;
}

table.maintable > tbody tr.admin:hover > td
{
	background-color: #ffa68b;
}

img.staff
{
	border: 1px solid rgb(220, 218, 203);
	padding: 6px;
	margin: 7px;
	background-color: rgb(255, 255, 255);
	box-shadow: 0px 0px 4px rgb(220, 218, 203);
}