BODY {
    background-color: #ffffff; 
	font-family: Arial, sans-serif;
	padding: 0px 5px;
	margin: 0px;
}
BODY, TD, TH, INPUT, TEXTAREA, SELECT {
	font-size: 12px;
}

IMG {
	border: 0px;
}
P {
	margin: 0;
	padding: 1;
}

HR {
	border: none; 
	border-top: 1px solid #416EBB; 
	height: 1px;
}

/* General header styles */
h1, h2, h3, h4 {
    font-weight: bold;
    color: #CC6600;
}

h1 { 
	font-size: 150%; 
	color:green;
	border-bottom: 1px dotted darkgreen;	
}

h2 { 
	font-size: 140%; 
	border-bottom: 1px dotted #996666;	
}
h3 { font-size: 120%; }
h4 { font-size: 100%; }


code, pre, tt {
	font-family: Courier, "Courier New", monospace;
}

li{
	margin-bottom: 10px;
}

/**
 * layout table
 */
TABLE.layout {
 width: 100%;
}

TD.contentbar {
padding-left:5px;
padding-right:5px;
padding-top:2px;
padding-bottom:10px;
margin-left: 0px;
}

A:visited {
	color: blue;
}


/*-----------------------------------------------------------------------------
 *
 * Definicja styli dla naglowka
 */
TABLE.userline TD A {
	color: black;
	text-decoration: none;
	padding: 5px;
}


/*-----------------------------------------------------------------------------
 *
 * Definicja styli dla stopki
 */
P.footer {
	margin: 0px;
	padding: 0px;
	font-weight: bold;
	font-size: 8px;
	text-align: center;
	color: #d0d0d0;	
}
HR.footer {
	margin: 5px 0px 0px 0px;
	padding: 0px;
	border-top: 1px solid #d0d0d0;	
	height: 1px;
}

/*-----------------------------------------------------------------------------
 *
 * Definicja styli dla komunikatu bledu
 */
DIV.errors, .warn {
    border: 1px dashed #666600;
    color: #660000;
    background: #ffeeee;
}

.error {
	color:red;
}


/*-----------------------------------------------------------------------------
 *
 * Definicja styli dla tabelek z materialem (np. courses.php)
 */

.nowrap {
	white-space: nowrap;
}

TABLE.list TD.checkbox, TABLE.list TH.checkbox {
	width: 1%;
}
TABLE.list .checkbox INPUT, INPUT.checkbox {
	border: none;
}


/*-----------------------------------------------------------------------------
 *
 * Definicja styli dla dodawania stron do MyLesson (mylesnodes.php)
 */
TABLE.mylesAddNode A {
	text-decoration: none;
}
TABLE.mylesAddNode TD.selected A {
	font-weight: bold;
	color: black;
}
TABLE.mylesAddNode TD.selectable A {
	color: green;
}
TABLE.mylesAddNode TD.flo A {
	color: gray;
}
TABLE.mylesAddNode TD.disabled A {
	color: green;
	text-decoration: line-through;
}
TABLE.mylesAddNode TD.normal {
	font-style: italic;
	color: gray;
}

TABLE.cs TD {
	white-space: nowrap;
}
TABLE.cs TR.section TD {
	background: #E2E9F3;
}
TABLE.cs TR.page TD {
	color: #1D1DFF;
}
TABLE.cs TD.result {
	font-size: smaller;
	padding-right: 5;
	text-align: right;
}
TABLE.cs TD.imgresult {
	text-align: center;
}
TABLE.cs TD.time {
	font-size: smaller;
	padding-left: 10;
	text-align: center;
}
TABLE.cs TABLE.progress {
	width: 50px;
	border: 1px solid #338833;
}
TABLE.cs TD.mistakes {
	font-size: smaller;
	text-align: center;
}
TABLE.cs TD.hints {
	font-size: smaller;
	text-align: center;
}
TABLE.cs TABLE.progress TABLE.fill {
	background: #b2d8b2;
}
TABLE.cs TABLE.progress TABLE.fill IMG {
	height: 6px;
}
TABLE.cs TD A, TABLE.cs TD A:visited {
	text-decoration: none;
	color: black;
}
TABLE.cs TD A:hover {
	text-decoration: underline;
	color: black;
}
TABLE.cs TR.disabled TD {
	color: gray;
	font-style: italic;
}
TABLE.cs TR.level0disabled TD {
	font-weight: bold;
}
TABLE.cs TR.level0 TD {
	font-weight: bold;
}
TABLE.cs TR.disabled TD A {
	color: gray;
}

TABLE.classstudents {
	width: 100%;
}
TABLE.classstudents TD {
	vertical-align: top;
}

SELECT.wide {
	width: 350px;
}

HR {
	color: #d0d0d0;
	margin-top: 10px;
	margin-bottom: 10px;
}

FORM {
	padding: 0;
	margin: 0;
}

/* banner */
TABLE.banner {
	_1border: 1px solid black;
	font-weight: bold;
}
TABLE.banner A, TABLE.banner A:visited {
	color: black; /*#212639;*/
	text-decoration: none;
	font-size: large;
}
TABLE.banner TD.name {
	padding: 10px;
}


/* infoline */

TABLE.infoline {
	margin: 2px 0;
}
TABLE.infoline TD {
	font-size: 11px;
}
TABLE.infoline TD.date {
	text-align: right;
}


/* tabs */

DIV.tabs {
	margin-bottom: 5px;
}
TABLE.tabs A, TABLE.tabs A:visited {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 12px;
	font-family: Tahoma;
}
TABLE.tabs A:hover {
	color: #C8DFFF;
}
TABLE.tabs TD.tabspace {
	width: 1px;
}
TABLE.tabs TD.tabselected A, TABLE.tabs TD.tabselected A:visited {
	color: #3E72C5;
}
TABLE.tabs TD {
	border-bottom: 1px solid #4E81CB;
	white-space: nowrap;
}
TABLE.tabs TD.tab TD {
	border-bottom: none;
}
TABLE.tabs TD.tabselected {
	border-bottom: none;
}
TABLE.tabs TD.tabselected TD {
	border-bottom: none;
}
TABLE.tabs TD.tabspace {
	width: 1px;
}
TABLE.tabs TD.tabspace IMG{
	width: 1px;
}
TABLE.tabs TD.tabemptyleft  IMG{
	width: 1px;
}
TABLE.tabs TD.tabemptyright {
	width: 99%;
	text-align: right;
}
TABLE.tabs TD.tabemptyright A, TABLE.tabs TD.tabemptyright A:visited {
	color: blue;
	text-decoration: underline;
}


/* navibar */

TD.navibar {
	padding: 15px 5px;
	margin: 0px;
	background: #e2eaFe; /*#CfDcf8;*/
}
TD.navibar A, TD.navibar A:visited {
	text-decoration: none;
	color: #416EBB;
}
TD.navibar A:hover {
	text-decoration: none;
	color: black;
}
TD.navibar B {
	color: #416EBB;
}


/* pagepath */

TABLE.pagepath {
	background: #e2eaFe; /*#CfDcf8;*/
	margin:0px; 
	padding:5px;
	color: #416EBB;
	font-size: 140%;
}
TABLE.pagepath TD.pagepath {
	font-size: 16px;
	font-weight: bold;
}
TABLE.pagepath TD A, TABLE.pagepath TD A:visited {
	color: #416EBB;
}

TABLE.pagepath TD.taburls, TABLE.pagepath TD.taburls A, TABLE.pagepath TD.taburls A:visited {
	color: #CC6600;
}

INPUT, TEXTAREA, SELECT{
	color: #214E9B;
	background: #e8efFF;
	border: 1px solid #214E9B;
}
INPUT.btn {
	_color: #e8efFF;
	color: white;
	background: #6B96D5;
	border: 1px solid #214E9B;
}

/* lists */
TABLE.list {
	width: 100%;
}
TABLE.list TH {
	background: #E2E9F3;
}
TABLE.list TD {
	background: #F3F4F8;
}

/* data */
TABLE.data TH {
	text-align: left;
	vertical-align: top;
	font-weight: normal;
	color: #CC6600;
	padding-right: 10px;
}

TABLE.contentadd TD {
	text-align: left;
}

/* headersec */
TABLE.headersec {
	width: 100%;
	border-bottom: 1px dotted #996666;	
	padding: 0px 0px 3px 0px;
	margin: 10px 0px 5px 0px;
}
TABLE.headersec TD {
	vertical-align: bottom;
	white-space: nowrap;
}
TABLE.headersec TD.text {
	font-size: 140%;
	font-weight: bold;
    color: #CC6600;
}
TABLE.headersec TD.buttons {
	text-align: right;
	width: 99%;
	padding-left: 10px;
}

TABLE.headersectable TD {
	vertical-align: middle;
}

/* progress */
SPAN.progress SPAN IMG {
	border: 1px solid #416EBB;
}
SPAN.progress SPAN.fill IMG {
	background: #A4BADE;
	border-right: none;
}
SPAN.progress SPAN.empty IMG {
	border-left: none;
}


TABLE.img TD.img IMG {
	border: none;
}
TABLE.img TD.img {
	text-align: center;
}
TABLE.img TD.name {
	font-size: smaller;
	color: gray;
	text-align: center;
}

SPAN.exists {
	color: green;
}
SPAN.noexists {
	color: red;
}

TABLE.mainitemlist {
	padding-left: 15px;
}
TABLE.mainitemlist IMG {
	vertical-align: middle;
}
TABLE.mainitemlist A, TABLE.mainitemlist A:visited {
	color: #E7E8F7;
	text-decoration: none;
}

TD.bar A, TD.bar A:visited {
	color: #6575A7;
	text-decoration: none;
}

TD.service TABLE {
	width: 100%;
	height: 100%;
}
TD.service TABLE TD {
	text-align: right;
	vertical-align: bottom;
	padding-bottom: 25px;
	padding-right: 40px;
	font-size: 11px;
}
TD.service, TD.service A, TD.service A:visited {
	color: #B66E49;
	text-decoration: none;
}

TD.content_item {
	background: #F7F8FC;
	width: 100%;
	padding: 20px 0 0 20px;
	margin: 0;
	color: #6E6FA5;
	vertical-align: top;
	height: 300px;
}
TD.content_item H2 {
	color: #A3ADC8;
	text-decoration: none;
	padding: 0;
	margin: 0 0 10px 0;
	border: none;
}
TD.content_item A, TD.content_item A:visited {
	color: #64789D;
	text-decoration: none;
}
TD.content_item IMG {
	vertical-align: middle;
	padding-right: 5px;
}
TD.content_item IMG.icon {
	padding: 0 0 6px 0;
}
TD.content_item TABLE.items {
	margin-left: 10px;
}
TD.content_item TABLE.items TD.item {
	text-align: center;
	padding: 6px;
}
TD.content_item TABLE.images TD {
	padding: 5px;
}
TD.content_item TABLE.files TD {
	padding: 5px;
}

TR.header_bottom {
	height: 5px;
	background: #FF9868;
}

TD.leftmenu {
	padding-top: 10px;
	padding-right: 5px;
	background-color: #E7EBF4;
}
TD.leftmenu A, TD.leftmenu A:visited {
	color: #64789D;
	text-decoration: none;
}
TABLE.leftmenu TR.level0 TD {
	font-size: 14px;
}
TABLE.leftmenu TD {
	white-space: nowrap;
	padding-left: 20px;
}
TABLE.leftmenu TD IMG {
	padding-right: 8px;
}
TABLE.leftmenu TD.selected {
	font-weight: bold;
}
SPAN.nofile {
	color: red;
}
SPAN.newsdate {
	font-size: smaller;
}

TABLE.main_bottom TD {
	font-family: Tahoma, Arial;
	color: #FF916A;
	font-size: 26px;
	text-align: center;
}
TABLE.main_bottom TD A, TABLE.main_bottom TD A:visited {
	color: #FF916A;
	text-decoration: none;
}
TABLE.item_body TD A, TABLE.item_body TD A:visited {
	text-decoration: underline;
}
TD#banner {
	background: #FFFAEC;
}