body {
    margin: 0px;
    font-family: Arial;
    font-size: 13px;
    color: #484848;
    background: #E8EEF0 url(/images/bg.gif);
}

label {
    cursor: pointer;
}

iframe{
    border: medium none;
}

textarea {
	height: 200px;
	resize: vertical;
}

table.datatable tr.header:hover{
    background: #708090;
}

table.datatable tr.void:hover{
    background: none;
}

table.datatable tr:hover {
    background-color: #c8c9db;
}

table.admin_form tr td {
	padding:4px;
}

table.dataTable tr.header:hover{
    background: #708090;
}

table.dataTable tr.void:hover{
    background: none;
}

table.dataTable .odd:hover {
    background-color: #c8c9db;
}

table.dataTable .even:hover {
    background-color: #c8c9db;
}

a {
    color: #11489d;
    text-decoration: underline;
    outline: none;
}

a img {
    text-decoration: none;
	vertical-align: middle;
}

img[src^="/media/captcha.php"] {
	padding:0 4px;
}

a:hover {
    text-decoration: none;
}

/* ----- Wrapper -----*/
#wrapper {
    width: 1024px;
    margin: 0 auto;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* ------------------- Header --------------------*/
#header {
    width: 100%;
    height: 200px;
    margin-bottom: 5px;
    text-align: center;
    background: url(/images/header/header.jpg);
}

#header a img {
    text-decoration: none;
}

/* ------------------- Auth ----------------------*/
#auth {
    display: inline-block;
    float: right;
    padding: 3px;
}

#auth ul {
    list-style: none;
    text-align: right;
}

#auth ul li a:hover, #auth {
    color: #475100;
}

#authform input[type=text] {
    width: 98%;
}

/* --------------- Custom Auth Form ------------*/

#loginForm {
    padding: 5px 5px;
    margin: 0 auto;
    font: 14px/18px Arial, Tahoma, sans-serif;
}

#loginForm .field {
    margin: 5px 0px 4px;
    text-align: center;
}

#loginForm .field label {
    display: block;
    margin: 0 0 3px;
}

#loginForm .field .input {
    border-radius: 0;
}

#loginForm .field input {
    font: 13px Arial, Tahoma, sans-serif;
    color: #adadad;
    width: 180px;
    padding: 5px;
    border: 1px solid #D2D9DC;
    box-shadow: inset 2px 2px 6px #EBEBEB, 0 0 0 5px #faf9f7;
    outline: none;
}

#loginForm .field input:active {
    color: #000000;
}

#loginForm .field input:focus {
    border-color: #B7D4EA;
    box-shadow: inset 2px 2px 6px #EBEBEB, 0 0 4px #f6dbd0, 0 0 0 5px #fcf7f2;
    color: #000000;
}

#loginForm .bottom {
    width: 100%;
    padding: 0px 0px 6px 0px;
}

#loginForm .bottom .href {
    width: 100%;
}

#loginForm  .registration,
#loginForm .forgot {
    display: inline-block;
    font-size: 11px;
    color: #ababab;
    margin: 0;
    clear: both;
    text-decoration: none;
    text-align: center;
    padding-top: 4px;
}

#loginForm .registration:hover,
#loginForm .forgot:hover {
    color: #444;
    text-decoration: underline;
}

#loginForm .forgot {
    display: inline-block;
    clear: none;
    padding-top: 1px;
}

#loginForm .bottom .submit {
    text-align: center;
    overflow: hidden;
    margin: 0px 0;
    padding: 4px 0px;
    font-size: 11px;
}

#remember {
    display: block;
    margin: 5px 0 0;
    cursor: pointer;
}

#remember input {
    margin: 0 4px 0 0;
    vertical-align: middle;
}

#loginForm .submit input {
    height: 28px;
    width: 100%;
    max-width: 150px;
    color: #fff;
    font-weight: bold;
    border: 0px;
    background-color: #179F62;
    cursor: pointer;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.15);
    outline: none;
}

#loginForm .submit input:hover {
    background-color: #108A53;
}

.submit_hover {
    background: #108A53;
}

#loginForm .submit input::-moz-focus-inner {
    border: 0
}

#error {
    color: red;
    font-size: 11px;
}

input[type="submit"],
.button a {
	margin: 5px 0;
	padding: 5px 10px;
	min-width: 150px;
	display: inline-block;
    color: #fff;
    text-align: center;
    text-decoration:none;
    font-weight: bold;
	cursor: pointer;
	outline: none;
    border: 0px;
    background: #179F62;
}

input:hover[type="submit"],
.button a:hover {
    background: #108A53;
}

.bt_finish {
    height: 22px;
	margin:5px 0;
	padding:0 10px;
	color: #fff;
    font-weight: bold;
	text-align: center;
	cursor: pointer;
	outline: none;
    border: 0px;
    background: #AC4A4A;
    background: -moz-linear-gradient(top, #AC4A4A, #770000); /* FF */
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #770000), color-stop(1, #AC4A4A)); /* Safari Chrome */
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#AC4A4A', endColorstr='#770000'); /* IE 6-7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#AC4A4A', endColorstr='#770000')"; /* IE8 */
    text-shadow: 0 -1px rgba(0, 0, 0, 0.15);
}

.bt_finish a {
    color: #fff;
	text-decoration:none;
	vertical-align: middle;
}

.bt_finish:hover {
    background: #AC4A4A;
    background: -moz-linear-gradient(top, #bc6666, #770000); /* FF */
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #770000), color-stop(1, #bc6666)); /* Safari Chrome */
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#bc6666', endColorstr='#770000'); /* IE 6-7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#bc6666', endColorstr='#770000')"; /* IE8 */
}

.transition,
input {
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
}

.hr {
	border-top: 1px solid #ccc;
}

.hr_button{
	border-top: 1px solid #ccc;
}

/* ------------------- Menu --------------------*/
#menu-right {
    width: 224px;
    float: right;
}

.menu {
    font-family: Arial;
    font-size: 13px;
    margin: 0px 0 10px 0;
    background: #fff;
    font-weight: bold;
    -moz-border-radius: 0px 0px 8px 0; /* Firefox */
    -webkit-border-radius: 0px 0px 8px 0; /* Safari, Chrome */
    -khtml-border-radius: 0px 0px 8px 0; /* KHTML */
    border-radius: 0px 0px 8px 0; /* CSS3 */
    min-height: 30px;
}

.menu_botom {
    width: 200px;
    height: 39px;
    float: left;
    background: url(/images/ugolok.png) bottom right no-repeat;
    margin: -40px 0 0px 0;
}

.menu a {
    text-decoration: none;
    color: #655249;
	width: 100%;
	padding: 7px 0 7px 5px;
	display: block;
}

.menu a:hover {
    color: #46362f;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
    text-decoration: none;
    color: #212121;
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.menu li:hover {
    background-color: #eee;
}

.menu li:hover ul, .menu li.over ul {
    display: block;
}

.menu .all_course {
	width:100%;
	padding: 2px 0;
	border: none;
	text-align: center;
	color:#770000;
	background: #eecdcd;
	-moz-border-radius: 0 0 5px 0; /* Firefox */
	-webkit-border-radius: 0 0 5px 0; /* Safari, Chrome */
	-khtml-border-radius: 0 0 5px 0; /* KHTML */
	border-radius: 0 0 5px 0; /* CSS3 */
}

.menu ul li ul {
    position: absolute;
    left: 160px;
    display: none;
    top: 0;
    margin: 0;
}

.menu ul li ul li {
    background-color: #5ddbff;
}

.menu ul li ul li:hover {
    background-color: #fff1d8;
}

.menu-header {
    font-family: Arial;
    font-size: 13px;
    text-align: center;
    color: #fff;
    width: 100%;
    background: #11489d;
    font-weight: bold;
    padding: 8px 0;
}

.menu-header a {
    display: block;
    margin: 0;
    text-decoration: none;
    color: #fff;
}

/* ------------------- Section ------------------ */
/* ------------------- Content ------------------ */

#wrapper2 {
    overflow: hidden;
}

#content {
    min-height: 600px;
    width: 785px;
    background-color: #fff;
    padding: 5px;
    float: left;
	line-height:20px;
}

div.spoiler {
    color: #B3613C;
    background-color: #FFEDCF;
    text-align: left;
    padding: 2px;
    -moz-border-radius: 5px; /* Firefox */
    -webkit-border-radius: 5px; /* Safari, Chrome */
    -khtml-border-radius: 5px; /* KHTML */
    border-radius: 5px; /* CSS3 */
    behavior: url(/css/main/border-radius.htc); /* IE6,7,8 */
}

.datatable {
    width: 100%;
}

.datatable td.data {
    width: 70px;
    text-align: center;
}

.datatable td b {
    font-size:120%;
}

.datatable tbody tr {
    background-color: 'cycle values=' #eeeeee, #d0d0d0d ' name=' row '';
	height: 22px;
}

.datatable .header {
	color:#000;
	background:#708090;
	font-weight:bold;
}

.datatable .header td {
	padding: 5px;
}

.datatable .void {
	height:10px;
}

.dataTable tbody tr {
    background-color: 'cycle values=' #eeeeee, #d0d0d0d ' name=' row '';
	height: 22px;
}

.dataTable .header {
	color:#000;
	background:#708090;
	font-weight:bold;
}

.dataTable .header th {
	padding: 3px;
	border: none;
}

.dataTable .header td {
	padding: 3px;
	border: none;
}

table  .header {
	color:#000;
	background:#708090;
	font-weight:bold;
}

span.error, div.error :not(div, input,select) {
    display: block;
    width: 100%;
    text-align: center;
    color: red;
    font-weight: bold;
}

input[type="text"].error, input[type="password"].error {
    border: solid 1px red;
}

.new {
    height: 16px;
    float: right;
    text-align: right;
    padding: 0 5px 0 20px;
    margin: 6px 0 0 0;
    background: url(/images/add.png) left center no-repeat;
}

td.users {
    background-color: #FFEDCF;
    -moz-border-radius: 5px; /* Firefox */
    -webkit-border-radius: 5px; /* Safari, Chrome */
    -khtml-border-radius: 5px; /* KHTML */
    border-radius: 5px; /* CSS3 */
}

td.users div {
    min-height: 100px;
    max-height: 400px;
    width: 100%;
    padding: 2px;
    overflow: auto;
}

ul.groups {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ------ ------*/
#mce {
    width: 100%;
    height: 500px;
}

.last-users {
    padding: 8px;
    background: #ccc;
}

/* ------ Footer ------*/
#footer {
    width: 100%;
    padding: 10px 0;
    color: #fff;
	font-size: 12px;
    text-align: center;
    background: #11489d;
    box-shadow: inset 0 1px #D4EBF7, 0 1px 1px #B8BEBE;
}

#footer a {
    color: #fff;
}

#breadcrumbs {
    margin: -5px -5px 0 -5px;
    padding: 8px;
    background: #179f62;
    color: #fff;
	line-height: normal;
}

#breadcrumbs a {
    color: #fff;
}

.youare {
    padding: 8px 10px;
    background: #179f62;
    text-align: right;
    color: #fff;
}

.youare a,
.youare span a {
    color: #fff;
	text-decoration:none;
}

.youare span {
    font-size: 14px;
    font-weight: bold;
}

.youare .urls {
    margin: 0 0px;
    float: left;
    color: #fff;
}

.youare .urls span {
    margin: 0 8px;
    font-size: 12px;
    color: #fff;
}

.youare .urls span a {
    color: #fff;
    font-weight: normal;
    text-decoration: underline;
}

.youare .urls span a:hover {
    text-decoration: none;
}

.youare .urls span b {
    font-size: 80%;
    text-decoration: none;
}

/* -- comm list -- */
#comms {
    margin-bottom: 4px;
}

.comm {
    display: inline-block;
    margin: 0 2px;
    -moz-border-radius: 4px; /* Firefox */
    -webkit-border-radius: 4px; /* Safari, Chrome */
    -khtml-border-radius: 4px; /* KHTML */
    border-radius: 4px; /* CSS3 */
    background-color: #FFEDCF;
    padding: 3px 4px;
    margin-bottom: inherit;
}

.comm:hover {
    background-color: #FFBD69;
}

.comm div {
    display: inline-block;
    background-color: #475100;
    width: 15px;
    text-align: center;
    -moz-border-radius: 3px; /* Firefox */
    -webkit-border-radius: 3px; /* Safari, Chrome */
    -khtml-border-radius: 3px; /* KHTML */
    border-radius: 3px; /* CSS3 */
    margin-right: 2px;
}

.comm div:hover {
    background-color: brown;
    color: white;
}

.comm div a {
    font-family: Arial;
    font-size: 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    vertical-align: 10%;
}

/* AVATAR */
#avatar {
    display: none;
    position: absolute;
    background-color: #ffffcc;
    border: 1px solid #736D6B;
}

/* WIDW TABLES*/
.wide-table {
    width: 90%;
}

.wide-table input[type="text"], .wide-table select {
    width: 80%;
}

#print {
    text-align: right;
}

.button-right {
    margin-top: 10px;
    margin-right: -5px;
    padding: 6px 0 6px 10px;
    float: right;
    text-align: right;
    border-radius: 5px 0 0 5px;
    background-color: #f9f9f9;
    background: linear-gradient(90deg, rgb(238, 238, 238) 0%, rgb(249, 249, 249) 100%);
}

.button-right a {
    margin-right: 7px;
}

.link {
    float: left;
    margin: 0 20px;
}

.dowload-file-noprint {
    float: left;
}

.uploaded-file-noprint {
    margin: 35px 0 0 0;
}

span.register-not-required{
    color: darkseagreen;
}

div.info{
    border: 2px solid #770000;
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

/*commented by DV - не всегда удобно, например когда один голый инпут шириной на всю страницу?*/
/*textarea {*/
/*width: 98%;*/
/*font-size: 14px;*/
/*}*/

/*input[type=text],input[type=email], input[type=password] {*/
/*width: 98%;*/
/*}*/

/*select {*/
/*width: 100%;*/
/*}*/

/*--------------------- DV styles ----------------------*/
.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

/* BLOCK LESSONS */

.block_info {
	border:1px solid #ccc;
	margin:2px 0;
}

.block_info .title {
	margin:0;
	text-align:right;
}

.block_info .title span {
	padding:1px 3px 2px 3px;
	float:right;
	background:#ccc;
}

.total {
	height:22px;
	width:100%;
	margin:10px 0;
	text-align:right;
}

.total h4 {
	margin:0;
	padding:2px 0px 2px 15px;
	float:right;
	background:#ccc;
}

.block_bottom {
	padding:0 0 0 5px;
	border:1px solid #ccc;
}

.block_bottom .title {
	margin:0;
	text-align:center;
}

.block_bottom .title b {
	height:16px;
	width:16px;
	padding:2px;
	float:right;
	background:#ccc;
	font-size:14px;
}

.testtable {
	border:1px solid #ccc;
	margin:2px 0;
}

.edit_lessons {
	width:794px;
	text-align:right;
	
}
.edit_lessons a {
	padding:0 5px 3px 5px;
	text-decoration:none;
	background:#708090;
}

.progress {
	display:inline-block;
	float:right;
}

.progress span {
	font-size:18px;
}

.statistic-table {
	border:1px solid #708090;
}

.statistic-table td {
	border:1px solid #708090;
}

#user-rates {
	border:1px solid #708090;
}

#user-rates td {
	border:1px solid #708090;
}

.registration_input {
	width:100%;
}

#title {
	width:97%;
}
