body {
	margin: 0;
	padding: 0;
	text-align: center;
	color: #3a5a66;
	background: #cbdee8 url("../images/body_top_bg.png") repeat-x;
	_background: #C4DAE5 url("../images/body_top_bg.png") repeat-x;
	font-family: "Trebuchet MS", Tahoma, "Geneva CE", lucida, sans-serif;
}

img {
	border: none;
}

a {
	color: #F47E27;
}

small {
	font-size: 0.85em;
}

abbr {
	color: green;
	cursor: help;
}

.clear {
	clear: both;
	overflow: hidden;
	font-size: 0;
	height: 0;
}

.break {
	height: 15px;
	overflow: hidden;
}

.break15 {
	height: 15px;
	overflow: hidden;
}

.niceBreak {
	overflow: hidden;
	height: 1px;
	background: #cccccc;
	margin: 20px 0 15px 0;
	width: 670px;
}

.break5 {
	height: 5px;
	overflow: hidden;
}

.fLeft {
	float: left;
}

#nick {
	margin-right: 5px;
}

.fRight {
	float: right;
}

.mRight {
	margin-right: 20px !important;
}

.mTop {
	margin-top: 12px !important;
	display: block;
}

.tableImg {
	margin: 15px;
}

#main {
	width: 950px;
	height: auto;
	margin: 16px auto 0 auto;
	_margin: 17px auto 0 auto;
	text-align: left;
	position: relative;
}

#topPart {
	width: 100%;
	height: 72px;
	position: relative;
}

hr {
	color: #c3d3da;
	border: 0 none;
	border-top: 1px solid #c3d3da;
	height: 1px;
	margin: 0.5em 0 0.5em 0;
}

#logo {
	width: 236px;
	height: 72px;
	float: left;
}

#logo_print {
	display: none;
}

ul#mainMenu {
	height: 72px;
	margin: 0 0 0 5px;
	_margin: 0 0 -1px 5px;
	padding: 0 0 0 0;
	list-style: none;
	float: left;
	vertical-align: bottom;
	position: absolute;
	top: 0;
	left: 237px;
	_left: 230px;
}

ul#mainMenu li {
	width: 99px;
	height: 63px;
	margin: 9px 0 0 10px;
	padding: 0;
	display: block;
	float: left;
	vertical-align: top;
	
}

ul#mainMenu li.active a{
	background: url("../images/menu_bg_active.png") no-repeat;
}

ul#mainMenu li a {
	width: 79px;
	height: 53px;
	padding: 10px 10px 0 10px;
	font-size: 14px;
	font-weight: bold;
	color: #72848a;
	text-decoration: none;
	display: block;
	background: url("../images/menu_bg_passive.png") no-repeat;
}

ul#mainMenu li a:hover {
	color: #000000;
}

ul#mainMenu li.active a {
	color: #f89828;
}


#contentHolder {
	width: 950px;
	padding: 0 0 0 0;
	height: auto;
	background: #ffffff;
}

#contentHolderTop {
	width: 950px;
	height: 15px;
	background: url("../images/holder_top.gif") no-repeat;
	overflow: hidden;
	padding: 0;
	margin: 0;
}

#contentHolderBottom {
	width: 950px;
	height: 15px;
	background: url("../images/holder_bottom.gif") no-repeat;
	overflow: hidden;
	padding: 0;
	margin: 0;
	vertical-align: top;
}

#mainContent {
	width: 920px;
	_width: 920px;
	margin: 0 15px 0 15px;
	background: url("../images/submenu_content_bg.gif") repeat-y;
	position: relative;
}

.mainContentTop {
	width: 920px;
	height: 15px;
	background: url("../images/submenu_top_bg.gif") no-repeat;
	overflow: hidden;
}

.mainContentBottom {
	width: 920px;
	height: 13px;
	background: url("../images/submenu_bottom_bg.gif") no-repeat;
	overflow: hidden;
}


ul#mainMenu li ul {
	position: absolute;
	left: -227px;
	_left: -220px;
	top: 100px;
	width: 220px;
	float: left;
	margin: 0;
	padding: 0;
	border-top: 1px #ffffff solid;
	background: url("../images/submenu_top_bg.gif") no-repeat;
	list-style: none;
}

ul#mainMenu li ul li {
	width: 100%;
	height: 37px;
	margin: 0;
	padding: 0;
	border-bottom: 1px #ffffff solid;
	background: url("../images/submenu_content_bg.gif") repeat-y;
}

ul#mainMenu li ul {
	display: none;
}

ul#mainMenu li.active ul {
	display: block;
}

ul#mainMenu li.active ul li a {
	background: none;
}

ul#mainMenu li.active ul li a {
color: #72848a;
}

ul#mainMenu li ul li a {
	width: 100%;
	height: 37px;
	line-height: 37px;
	margin: 0;
	padding: 0;
	font-weight: bold;
	text-decoration: none;
	font-size: 0.8em;
	text-indent: 12px;
	display: block;
	background: none;
	color: #72848a;
}

ul#mainMenu li ul li a:hover {
	color: #000000;
}

ul#mainMenu li ul li.active a {
	color: #000000;
	background: url("../images/sub_bg.png") no-repeat;
	background-color: #ffffff;
	
}

ul#mainMenu ul ul, ul#mainMenu ul ul li {
	display: none;
}



#rightContent {
	float: right;
	width: 670px;
	margin-right: 13px;
	_margin-right: 5px;
	overflow: hidden;
}

#text {
	float: left;
	min-height: 350px;
	_height: 350px;
	width: 666px;
}

#text h1 {
	font-size: 1.2em;
	margin: 0 0 10px 0;
	padding: 0;
	width: 450px;
}

#text h2 {
	font-size: 1em;
	margin: 0 0 4px 0;
	padding: 4px 0 0 0;
}

#text h3 {
	font-size: 0.95em;
	margin: 0 0 4px 0;
	padding: 2px 0 0 0;
}

#text h4 {
	font-size: 0.8em;
	margin: 0 0 4px 0;
	padding: 2px 0 0 0;
}

#text p {
	font-size: 0.8em;
	margin: 0 0 14px 0;
	padding: 0;
	text-align: justify;
	line-height: 1.4em;
}

#text ul {
	margin: 0 0 6px 15px;
	padding: 0 0 0 0;
	_padding: 0 0 0 15px;
	list-style: none;
	_list-style: disc;
}


#text ul li {
	font-size: 0.8em;
	padding: 2px 0 2px 15px;
	_padding: 2px 0 2px 0;
	background: url("../images/li.gif") 0 9px no-repeat;
	_background: none;
}

#text ol {
	margin: 0 0 6px 15px;
	padding: 0 0 0 10px;
}

#text ol li {
	font-size: 0.8em;
	padding: 2px 0 2px 5px;

}

#text ul li ul, #text ol li ol, #text ol li ul, #text ul li ol {
	margin: 0 0 0 0;
	padding: 0 0 0 15px;
	list-style: none;
	_list-style: disc;
}


#text ol li ol li {
	font-size: 0.9em;
	padding: 2px 0 2px 12px;
	_padding: 2px 0 2px 0;
	_background: none;
}

#text ul li ul li, #text ol li ul li {
	font-size: 0.9em;
	padding: 2px 0 2px 12px;
	_padding: 2px 0 2px 0;
    background: url("../images/li.gif") 0 9px no-repeat;
	_background: none;
}

#text table {
	font-size: 0.7em;
	border-color: #eaf3f8;
	border-width: 1px 1px 0 1px !important;
	border-style: solid;
}

table th {
	text-align: left;
}

table#mess {
	margin: 5px 0 10px 0;
	width: 666px;
}

table#mess td {
	vertical-align: middle !important;
}

table#mess td img {
	vertical-align: middle !important;
}

.back {
	font-size: 0.9em;
}

#text table tr th {
	padding: 1px 2px 1px 5px;
	background-color: #3a5a66;
	color: #ffffff;
}

#text table tr td {
	padding: 1px 2px 1px 5px;
	border-color: #eaf3f8;
	border-width: 0 0 1px 0;
	border-style: solid;
	vertical-align: middle;
}

.perex a {
	font-size: 0.9em;
}

.perex .flag {
	margin-left: 5px;
}

.perex p span.perexMiniText {
	font-size: 0.9em;
	color: silver;
	display: block;
}

.perex .lang {
	font-size: 0.7em;
	color: silver;
}

.perex p span.perexMiniText a {
	font-size: 1em;
	color: silver;
}

#teacher {
	width: 680px;
	height: 160px;
	background: url("../images/teacher_bubble.gif") right top no-repeat;
}

#teacher img {
	width: 120px;
	height: 160px;
	float: left;
}

#teacher p {
	width: 458px;
	height: 108px;
	float: right;
	margin: 26px 45px 0 0;
	_margin: 26px 22px 0 0;
	font-size: 0.7em;
}

form {
	padding: 0;
	margin: 0;
}

form table {
	border: none !important;
}

form table tr td {
	border: none !important;
}

table tr td.bold {
	font-weight: bold;
}

.messContent {
	padding: 15px !important;
}

table tr.dark td {
	background: #F0F5F9 !important;
}

form table tr td label {
	width: 120px;
	display: block;
}

form.noWidth label {
	width: auto !important;
}

form table tr td input {
	padding: 0;
	border: 1px #c3d3da solid !important;
}

form table tr td textarea {
	padding: 0;
	border: 1px #c3d3da solid !important;
	height: 120px;
}

form table tr td select {
	padding: 0;
	border: 1px #c3d3da solid !important;
}

form table tr td select option {
	padding: 0 0 0 5px;
}

form table tr td .w60 {
	width: 60px;
}

form table tr td .w100 {
	width: 100px;
}

form table tr td .w120 {
	width: 120px;
}

form table tr td .w180 {
	width: 180px;
}

form table tr td .w240 {
	width: 240px;
}

form table tr td .w360 {
	width: 360px;
}

form table {
	margin-bottom: 15px;
}

form input.button {
	border: 1px #c3d3da solid !important;
	font-size: 12px;
	padding: 1px 3px 2px 13px;
	_padding: 1px 0px 2px 8px !important;
	color: #3a5a66;
	background: #F0F5F9 url("../images/button_bg.gif") 6px 4px no-repeat;
	cursor: pointer;
}

form input.button:hover {
	border: 1px #3a5a66 solid !important;
}

form input.button2 {
	border: 1px #c3d3da solid !important;
	font-size: 12px;
	padding: 1px 3px 2px 13px;
	_padding: 1px 0px 2px 8px !important;
	color: #3a5a66;
	background: #F0F5F9 url("../images/button2_bg.gif") 6px 4px no-repeat;
	cursor: pointer;
}

form input.button2:hover {
	border: 1px #3a5a66 solid !important;
}

.error {
	color: red !important;
}

.ok {
	color: green !important;
}

#userInfo {
	position: absolute;
	top: -3px;
	right: 0;
	z-index: 5;
	text-align: right;
	font-size: 0.7em;
	color: gray;
}

#loginForm {
	background: url("../images/login_bg.gif") no-repeat;
	width: 317px;
	height: 143px;
	padding: 22px 0 0 25px;
	margin: 25px 0 0 140px;
}

#loginForm label {
	width: 60px;
}

.perform {
	width: 636px;
	height: 165px;
	padding: 8px 15px 8px 15px;
	margin: 15px 0 0 0;
	background: url("../images/perform_bg.gif") no-repeat;
	position: relative;
}

.remove {
	position: absolute;
	right: 15px;
	top: 7px;
}

.remove input{
	width: 16px;
	height: 14px;
	_width: 20px;
	_height: 16px;
	background: url("../images/ico_remove.gif") 1px -1px no-repeat !important;
}

.removeLast {
	position: absolute;
	right: 38px;
	top: 7px;
}

.removeLast input {
	width: 16px;
	height: 14px;
	_width: 20px;
	_height: 16px;
	background: url("../images/ico_remove_last.gif") 1px -1px no-repeat !important;
}

.perform h3 {
	float: left;
}

.perform span {
	font-size: 0.7em;
	float: left;
	display: block;
	margin: 4px 0 0 10px;
	color: #999999;
}

.perform .graph {
	width: 636px;
	height: 135px;
}

.perform .column {
	width: 35px;
	height: 135px;
	background: url("../images/graph_bg.gif") no-repeat;
	float: left;
	overflow: hidden;
	margin: 0 2px 0 2px;
	position: relative;
}

.perform .top {
	width: 35px;
	position: relative;
	background: #f8fbfd;
}

.perform .date {
	font-size: 10px;
	color: #f2f2f2;
	position: absolute;
	width: 33px;
	text-align: center;
	bottom: 2px;
	left: 2px;
}

.perform .elo {
	font-size: 10px;
	color: #000000;
	position: absolute;
	width: 35px;
	text-align: center;
	bottom: 0;
	left: 0;
}

#newMess {
	width: 651px;
	_width: 630px;
	height: 235px;
	padding: 15px 0 0 15px;
	margin: 0 0 10px 0 !important;
	background: url("../images/mess_bg.gif") no-repeat;
}

table#mess a !important {
	color: #000000;
}

#footer {
	text-align: right;
	font-size: 0.7em !important;
	padding: 5px 5px 0 0;
	color: #3a5a66 !important;
}

#footer span a {
	color: #3a5a66 !important;
}

.table {
	margin: 5px 15px 8px 0;
	float: left;
}

.table p {
	display: block;
	font-size: 0.7em;
	width: 241px;
	padding: 0;
	margin: 0 !important;
}

.numbers {
	font-size: 1.1em;
}

.numbers a, .numbers span{
	padding: 0 4px 0 4px;
	margin: 2px 0;
	border: 1px #C3D3DA solid;
    display: inline-block;
	font-weight: bold;
}

/*-Login---------------------------------------------------------------------*/

#login {
    width: auto;
    padding: 0;
    position: absolute;
	top: 0;
	right: 0;
	z-index: 5;
	height: 23px;
	font-family: "Trebuchet MS", Tahoma, "Geneva CE", lucida, sans-serif;
}

#login form {
    padding: 0;
}


#loginLeft {
    width: 6px;
    height: 23px;
    float: left;
    background: url("../images/login_left.gif") no-repeat;
}

#loginContent {
    width: auto;
    height: 19px;
    float: left;
    padding: 2px 4px 0 4px;
    font-size: 11px;
    border-top: 1px #dfebf1 solid;
    border-bottom: 1px #dfebf1 solid;
    line-height: 10px; 
}

#loginContent input {
    width: 50px;
    border: none;
    border-bottom: 1px #e7e8e8 solid;
    border-right: 1px #e7e8e8 solid;
    font-size: 11px;
    color: #3a5a66;
}

#loginRight {
    width: 6px;
    height: 23px;
    float: left;
    background: url("../images/login_right.gif") no-repeat;
}

.logoff {
    width: 40px !important;
	border: none !important;
	padding: 1px 0 0 0;
	font-size: 11px !important;
	color: #F47E27 !important;
	background: #ffffff;
	cursor: pointer;	
}

.reg {
    text-decoration: none;
}

#lang {
	width: 18px;
	height: 12px;
	position: absolute;
	bottom: 12px;
	right: 20px;
}

#lang a {
	width: 18px;
	height: 12px;
	display: block;
	float: left;
}

.cs {
	background: url("../images/flags/lang_cs.gif") 0 0 no-repeat;
}

.csL {
	background: url("../images/flags/lang_cs_light.gif") 0 0 no-repeat;
}

.csL:hover {
	background: url("../images/flags/lang_cs.gif") 0 0 no-repeat;
}

.en {
	background: url("../images/flags/lang_en.gif") 0 0 no-repeat;
}

.enL {
	background: url("../images/flags/lang_en_light.gif") 0 0 no-repeat;
}

.enL:hover {
	background: url("../images/flags/lang_en.gif") 0 0 no-repeat;
}

#lang span {
	display: none;
}


#leftPartHP {
	width: 220px;
	position: absolute;
	left: 15px;
	top: 13px;
	font-size: 0.85em;
}

.coopTitle {
	font-size: 0.9em !important;
	margin: 0;
	padding: 0 0 5px 15px;
	float: left;	
}

.usersOnline {
    background: #fff;
    font-size: 0.9em;
    padding: 4px 2px 5px 6px !important;
    margin-bottom: 12px;
    clear: both;
}

ul.coop {
	width: 205px;
	float: left;
	margin: 0 0 15px 0 !important;
	_margin: 0 0 15px 0 !important;
	padding: 0 !important;
	list-style: none !important;
	border-top: 1px #ffffff solid;
}

.new {
	width: 195px !important;
	border-top: none !important;
	background: #fff;
	border-left: 3px red solid;
}

.new li span, .new li a {
	display: block;
	margin-left: 5px !important;
}

ul.coop li {
	width: 100%;
	margin: 0 !important;
	padding: 3px 0 3px 0 !important;
	font-size: 0.7em;
	border-bottom: 1px #ffffff solid;
    background: none !important;	
}

ul.coop li a {
	font-size: 1.1em;
}

#tableOkUsers {
	float: left;
}

/*--LESSONS--------------------------------------------------------*/

#deskDiv
{
	width: 490px;
	height: 470px;
	background: url("../scripts/images/stable.jpg") no-repeat #fff;
	position: relative;
}

.number
{
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	cursor: default;
	display: block;
}

#nextStoneCell {
    position: relative;
    line-height: 26px;
}

#nextStone {
    position: absolute;
    left: 80px;
    top: 0;
}

#nextStoneNumber {
    width: 20px;
    text-align: center;
    position: absolute;
    left: 84px;
    top: 2px;
    z-index: 5;
}

.darkTd td {
    padding: 8px;
}

.lightTd td {
    padding: 8px;
}

#lessonsPanel label {
    display: block;
    padding-bottom: 3px; 
}

/*--DISCUSSION---------------------------------------------------------*/

#discussion {
	width: 370px;
	float: right;
}

.lesson {
	width: 100% !important;
}

#discussion #mainForm  {
	margin-bottom: 5px;
	padding: 10px 5px 0 5px;
	border-top: 2px #3a5a66 solid;
	border-bottom: 2px #3a5a66 solid;
	background: #F0F5F9;
}

#discussion table td  {
	padding: 2px;
}

#discussion #message {
	height: 60px;
	font-size: 11px;
	font-family: Arial;
}

#discussion #subject {
	font-size: 11px;
	font-family: Arial;
}

#discussion .w200 {
	width: 200px;
}

#messages {
    border-top: none;
    margin-bottom: 5px;
    border-bottom: 1px #4b66a7 solid;
}

#messages tr td {
    padding: 6px 10px 6px 10px !important;
    border-top: 1px #4b66a7 solid;
    vertical-align: top;
}

#messages tr td span {
    color: #000;
}

.paging {
    border-top: 2px #4b66a7 solid;
    margin-bottom: 5px;
}

.paging input {
    width: 80px;
}

#discussion .numbers {
    padding: 4px;
}

#newMessIco {
    float: left;
    margin-right: 5px;
}

#loginHolder {
    float: left;
}

.paging {
    border-top: 2px #4b66a7 solid;
}

.paging input {
    width: 80px;
}

.paging td {
    border: none;
    height: 20px;
}

.paging .numbers {
    text-align: center;
    padding: 4px !important;
}

.paging .buttonFirst {
	width: 80px;
	text-align: left;
}

.paging .buttonPrevious {
	width: 80px;
	text-align: left;
}

.paging .buttonNext {
	width: 80px;
	text-align: right;
}

.paging .buttonLast {
	width: 80px;
	text-align: right;
}


#messages tr td {
    padding: 6px 10px 6px 10px;
    vertical-align: top !important;
}

#messages tr td span {
    color: #000;
}

#tables {
	float: right;
}

#tables table {
	width: 260px;
	margin-bottom: 15px;
}

#links {
	width: 360px;
	float: left;
}

.description {
	font-style: italic;
}

#tableAndDescription img {
	float: left;
}

#tableAndDescription .descr {
	width: 185px;
	float: right;
	padding-top: 13px;
}

.spaceTable th {
	padding: 1px 10px 1px 10px !important;
	vertical-align: top !important;
}

.spaceTable td {
	padding: 3px 10px 3px 10px !important;
	vertical-align: top !important;
}

.buttons td {
	padding: 3px !important;
}

.author {
    padding: 10px 0 10px 0;
}

.authorRight {
    width: 606px;
    float: right;
}

.authorRight ul{
    margin-left: 0px !important;
}

.mLeft {
    margin-left: 20px;
}

.mBottom {
    margin-bottom: 15px;
}

.renjuOpen {
	float: left;
	margin: 0 20px 20px 0;
}

.renjuOpen img {
	vertical-align: top;
}

.renjuOpen h3 {
	padding: 0;
	margin: 0;
	text-align: center;
}

.renjuOpen h3 a {
	font-size: 0.85em !important;
}

.hpPerex {
    margin-bottom: 15px;
}

.hpPerex p {
    text-align: left !important;
}

.date {
    color: #B9C0C7;
    font-weight: normal;
    font-size: 0.85em;
}

.level2 {
    padding-left: 20px;
}

.red {
    color: red !important;
}

.pink {
    color: #a554a6 !important;
}

.print {
    font-size: 0.7em;
}

.print a {
    color: red;
}

.taskHeader {
    border-bottom: 1px #c3d3da solid;
    margin-bottom: 10px;
}

.taskInfo {
	padding-bottom: 8px;
}

.taskInfo .difficulty {
	font-size: 0.7em;
	color: grey;
}

.tasksAuthor {
	font-size: 0.7em !important;
	color: grey;
}

.otherTasks {
    font-size: 0.7em !important;
}

.taskInfo, .taskLeft {
	float: left;
	width: 450px;
}

.taskPaging {
	padding-top: 20px;
}

.taskPaging, .taskRight {
	float: right;
	width: 200px;
}

.descr {
	margin-bottom: 8px !important;
}

#quickAsk {
	padding: 3px;
	border: 1px #c3d3da solid !important;
	width: 192px;
    height: 54px;
    margin-bottom: 3px;
    font-family: "Trebuchet MS", Tahoma, "Geneva CE", lucida, sans-serif;
    font-size: 12px;
}

a.buttonLeft {
	width: 72px;
	border: 1px #c3d3da solid !important;
	font-size: 14px;
	padding: 4px 5px 4px 18px;
	color: #3a5a66;
	background: #F0F5F9 url("../images/button2_bg.gif") 6px 50% no-repeat;
	cursor: pointer;
	text-decoration: none;
	color: #F47E27;
	float: left !important;
}

a.buttonRight {
	width: 72px;
	border: 1px #c3d3da solid !important;
	font-size: 14px;
	padding: 4px 18px 4px 5px;
	color: #3a5a66;
	background: #F0F5F9  url("../images/button_bg.gif") 81px 50% no-repeat;
	cursor: pointer;
	text-decoration: none;
	color: #F47E27;
	float: right !important;
}

a.buttonLeft:hover, a.buttonRight:hover {
	border: 1px #3a5a66 solid !important;
}

.rightSolution {
	width: 185px;
	padding-top: 8px;
	float: right;
}

.mainInfo {
    float: left;
}

.quickMessage {
    float: right;
}

.quickMessage #quickAsk {
    width: 300px;
    display: block;
}

/*--INQUIRY-------------------------------------------------------------*/

.inquiry {
	width: 170px;
	margin: 0;
	border: none !important;
}

.inquiry td {
	border: none !important;
	padding: 1px 0;
}

.inquiry td.number {
	text-align: right;
	color: #3a5a66;
	font-size: 1em;
}

.inquiry td.overall {
	padding: 5px 0 2px 0;
}

.inquiry td.graph span {
	min-width: 10px;
	display: block;
	font-size: 0;
	height: 5px;
}

.inquiry td.graph span img {
	width: 10px;
	height: 8px;
	vertical-align: top;
}

.inquiry td.graph span.color2 {
	background: #00A435;
}

.inquiry td.graph span.color1 {
	background: #000066;
}

.inquiry td.graph span.color3 {
	background: #950F18;
}

.inquiry td.graph span.color4 {
	background: #7A1256;
}

.adsence {
	padding: 20px 10px;
}

.textInfo {
    width: 550px;
    float: left;
}

.top10 {
    float: right;
}

.clean {
    width: 100%;
    height: 0;
    clear: both;
    overflow: hidden;
    font-size: 0;
}
