* {
	margin: 0;
	padding: 0;
}

body {
	font-family: Tahoma, Arial, Trebuchet MS, Verdana, sans-serif;
	font-size: 13px;
    color: #002173;
    height: 100%;
    line-height: 1;
    /*min-width: 1330px;*/
    padding-bottom: 35px;
    background: #ffffff url(../img/kropki1.png) center bottom no-repeat;
}

.clear {
	clear: both;
}

.hidden {
	display: none;
}

.bold {
    font-weight: bold;
}

.nowrap {
    white-space: nowrap;
}

#header {
	width: 100%;
    height: 254px;
    position: relative;
}

#header .headl, #header .headr {
    width: 50%;
    height: 39px;
    position: absolute;
    top: 0;
    z-index: -2;
}
#header .headl {
    left: 0;
    background: url(../img/bg_top_left.png) repeat-x;
}
#header .headr {
    right: 0;
    background: url(../img/bg_top_right.png) repeat-x;
}

#header .cont {
    margin: 0 auto;
    width: 980px;
    height: 254px;
    position: relative;
    box-sizing: content-box;
}

#header .cont .left, #header .cont .right {
    width: 175px;
    height: 245px;
    position: absolute;
    top: 0;
}
#header .cont .left {
    background: url(../img/top_left.png) no-repeat;
    left: -175px;
}
#header .cont .right {
    background: url(../img/top_right.png) no-repeat;
    right: -175px;
}

#header .logo {
	display: block;
    width: 286px;
    height: 254px;
    background: url(../img/headerl1.png) no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    outline: none;
}

#header ul {
    background: url(../img/headerp.png) no-repeat;
    width: 694px;
    height: 118px;
    list-style-type: none;
    margin: 0;
    padding: 136px 0 0 0;
    position: absolute;
    top: 0;
    right: 0;
}

#header ul li {
    display: block;
    float: left;
    height: 58px;
    margin-right: 10px;
}

#header ul a {
    display: block;
    color: #002173;
    text-decoration: none;
    height: 16px;
    padding: 22px 14px 20px 14px;
    font-size: 14px;
}
#header ul a:hover {
    background: url(../img/menu_btn.gif) no-repeat;
    color: #fee000;
}

#main {
	margin: 30px auto 0 auto;
	width: 980px;
	min-height: 500px;
}

#content {
	float: left;
	width: 729px;
    margin-left: -1px;
    margin-bottom: 60px;
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}

#sidebar {
	float: left;
	width: 250px;
}

#sidebar p {
	margin-bottom: 20px;
}

#footer {
	margin: 0 auto;
	width: 996px;
	height: 66px;
	background: url(../img/stopka.png) no-repeat;
}

#footer p {
	text-align: right;
	font-size: 11px;
	color: #ffffff;
    padding: 24px 30px 0 0;
}
#footer em {
    font-style: normal;
    color: #002173;
}

h1 {
	font-size: 25px;
	font-weight: normal;
	color: #000000;
	margin-bottom: 30px;
    border-bottom: 1px solid #afafaf;
    padding-bottom: 10px;
}

h2 {
	font-size: 14px;
	font-weight: bold;
	color: #000000;
	margin-bottom: 10px;
	text-decoration: underline;
}

h3 {
    margin-bottom: 6px;
    font-size: 1.1em;
}

h4 {
	background: url(../img/kropka.gif) no-repeat left center;
	color: #ff8000;
	font-size: 18px;
	font-weight: bold;
	padding: 5px 0 5px 10px;
}

h5 {
	padding: 11px 5px 5px 10px;
	height: 21px;
	margin-bottom: 1px;
	background: url(../img/h4.png) repeat-x;
	color: #ffffff;
	font-size: 13px;
	font-weight: bold;
}

#content a {
	color: #145db8;
	text-decoration: none;
}

#content a:hover {
	color: #d97a06;
	text-decoration: underline;
}

#content>.top {
    width: 729px;
    height: 5px;
    background: url(../img/line_long_top.png) no-repeat;
}
#content>.page {
    width: 729px;
    background: url(../img/bg_regular_page_txt.png) no-repeat left bottom;
    padding-bottom: 200px;
}
#content>.page>.txt {
    padding: 20px;
    min-height: 300px;
}

ul.menu {
	list-style-type: none;
	margin-bottom: 20px;
    padding-bottom: 13px;
    width: 250px;
    background: url(../img/menu_bg_bottom.png) no-repeat left bottom;
}

ul.menu a {
	display: block;
    width: 236px;
    height: 42px;
	padding-left: 14px;
	color: #002173;
	text-decoration: none;
	font-size: 14px;
    background: url(../img/menu_li_off.png) no-repeat;
    line-height: 42px;
}

ul.menu a:hover {
	color: #ffffff;
	background-image: url(../img/menu_li_on.png);
}

table {
	width: 100%;
	margin-bottom: 20px;
}

th {
	color: #ffffff;
	background: url(../img/h4.png) repeat-x;
    white-space: nowrap;
}

td {
	border-bottom: 1px solid #cccccc;
    white-space: nowrap;
}

td.wrap {
    white-space: normal;
}

td, th {
	padding: 10px;
	text-align: left;
	line-height: 16px;
}

td.expand, th.expand {
	width: 99%;
}

td.mid, th.mid {
    width: 49%;
}

td.shrink, th.shrink {
	width: 30px;
	max-width: 30px;
}

td.num {
	font-weight: bold;
	font-size: 20px;
	text-align: center;
}

.btn {
	cursor: pointer;
	color: #145db8;
	text-decoration: none;
	display: inline-block;
	padding: 1px 0 0 22px;
	margin-right: 10px;
	height: 15px;
}

.btn:hover {
	color: #d97a06;
	text-decoration: underline;
}

.btn2, .icon {
	cursor: pointer;
	display: inline-block;
	margin-right: 5px;
	width: 16px;
	height: 16px;
}

.icon {
	cursor: default;
	position: relative;
	margin-right: 1px;
	top: 3px;
}

.edit {
	background: url(../img/edit.png) no-repeat;
}
.save {
	background: url(../img/save.png) no-repeat;
}
.remove {
	background: url(../img/remove.png) 3px 2px no-repeat;
}
.add {
    background: url(../img/add.png) 1px 2px no-repeat;
    padding-bottom: 2px;
}
.up {
	background: url(../img/up.png) no-repeat;
}
.down {
	background: url(../img/down.png) no-repeat;
}
.time {
	background: url(../img/time.png) no-repeat;
}
.swap {
	margin-left: 10px;
	background: url(../img/swap.png) no-repeat;
}
.question {
    background: url(../img/question.png) no-repeat;
}
.sort {
    background: url(../img/sort.png) no-repeat;
}

.nowrap {
	white-space: nowrap;
}

#content>.page>.txt>p, #content form>p, p.warn {
	line-height: 20px;
	margin-bottom: 20px;
	text-align: justify;
}

input[type="text"], input[type="password"], 
input[type="submit"], textarea, select, .submit {
	padding: 5px;
	min-width: 250px;
	max-width: 450px;
    min-height: 1.3em;
	border-width: 1px;
	border-style: solid;
	border-color: #dddddd #cccccc #cccccc #dddddd;
	font-family: inherit;
	font-size: inherit;
	background-color: #ffffff;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	box-shadow: 0 1px 2px #eeeeee;
	color: #000000;
}

select.small {
    width: auto;
    min-width: 60px;
}

td .submit {
	display: inline-block;
	padding: 8px;
}

input.small {
	min-width: 0;
	width: 38px;
	text-align: center;
}

input[type="submit"], .submit {
	min-width: 0;
	padding: 5px;
	cursor: pointer;
}

input[type="submit"]:hover, .submit:hover {
	background-color: #efefef;
	text-decoration: underline;
}

ul.radio {
	list-style-type: none;
}

ul.radio li {
	clear: left;
}

ul.radio input, ul.radio label {
	float: left;
	display: block;
	margin: 0 5px 5px 0;
}

.validate {
	position: relative;
}

.validate .arr {
	background: url(../img/arr.png) 0 0 no-repeat;
	width: 10px;
	height: 7px;
	position: absolute;
	left: 10px;
	top: 23px;
	display: none;
}

.validate .msg {
	background-color: #cc3333;
	color: #ffffff;
	font-size: 11px;
	padding: 5px;
	position: absolute;
	left: 0;
	top: 30px;
	min-width: 100px;
	max-width: 300px;
	white-space: normal;
	z-index: 10;
	text-align: center;
	display: none;
}

.validate.invalid:hover .msg, .validate.invalid:hover .arr {
	display: block;
}

.validate.invalid input, .validate.invalid select {
	border: 2px solid #ee0000;
	padding: 4px;
}

.submit {
	padding: 6px;
}

p.info, p.warn {
	color: #ffffff;
	padding: 8px 8px 8px 40px;
	cursor: pointer;
}

p.info {
    background: #789600 url(../img/info.png) no-repeat 0 -1px;
}
p.warn {
    background: #cc3333 url(../img/warn.png) no-repeat 0 -2px;
}

.show {
	background: url(../img/show.png) 8px 4px no-repeat;
}
.hide {
	background: url(../img/hide.png) 8px 4px no-repeat;
}

.load {
	background: url(../img/load.gif) no-repeat;
	padding-left: 20px;
	margin-left: 10px;
	font-weight: bold;
	height: 16px;
	display: inline-block;
}

ul.admin {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.admin li {
    display: block;
    float: left;
    text-align: center;
    width: 120px;
    margin: 0 15px 20px 0;
}

ul.admin li a:hover {
    text-decoration: none !important;
}

ul.admin li i {
    display: block;
    font-size: 80px;
    color: #000000;
    margin-bottom: 5px;
}

ul.admin li span {
    font-size: 15px;
}

ul.admin li a:hover span {
    text-decoration: underline;
}

td.ans p {
    margin-bottom: 5px;
}

td.ans em {
    display: inline-block;
    font-style: normal;
    width: 20px;
}

td.ans input[type="radio"] {
    margin-left: 10px;
}

h3 img {
    margin-right: 6px;
}

ul.lang {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.lang li {
    display: block;
    float: left;
    text-align: center;
    width: 128px;
    margin-right: 30px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

ul.lang li:hover {
    text-decoration: underline;
}

ul.lang li img {
    display: block;
}

ul.lang li p {
    line-height: 1.2em;
    position: relative;
    top: -10px;
}

ul.lang li a {
    outline: none;
}

h3.lang {
    font-size: 20px;
    margin-bottom: 30px;
}
h3.lang img {
    position: relative;
    top: 8px;
    margin-right: 10px;
}

.quest {
    margin-bottom: 30px;
    line-height: 1.3em;
}
.quest.small {
    margin-bottom: 20px;
}

.quest em {
    font-weight: bold;
    font-style: normal;
}

.quest p.text {
    font-size: 16px;
    margin-bottom: 5px;
}
.quest.small p.text {
    font-size: 14px;
}

.quest p.ok {
    font-weight: bold;
    color: #259b24;
}
.quest p.err {
    font-weight: bold;
    color: #e51c23;
}

.quest p.text .blank {
    display: inline-block;
    width: 80px;
    height: 1em;
    border-bottom: 2px solid #e51c23;
    position: relative;
    top: 4px;
}
.quest.small p.text .blank {
    width: 60px;
}

.quest ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 1.4em;
}

.result {
    font-size: 20px;
}
.result em {
    font-weight: bold;
    font-style: normal;
}

.red {
    color: #e51c23;
}
.green {
    color: #259b24;
}

.passh {
    cursor: pointer;
}
.passh .text {
    display: none;
}
.passh .cover {
    color: #145db8;
}
.passh .cover:hover {
    color: #d97a06;
    text-decoration: underline;
}

p.hint {
    margin-top: 2px;
    font-size: 11px;
    color: #666666;
}

.pager {
    text-align: center;
    margin-bottom: 30px;
    color: #777777;
}

.pager .btn {
    margin: 0;
    padding: 5px;
}
.pager .dis, .pager .dis:hover {
    color: #aaaaaa;
    text-decoration: none;
    cursor: auto;
}

table.levels ul {
    margin: 0 0 0 20px;
    padding: 0;
}

table.levels ul em {
    font-weight: bold;
    font-style: normal;
    display: inline-block;
    width: 70px;
    text-align: center;
}

div.levels p {
    margin-bottom: 5px;
}

div.levels .lev, div.levels .num {
    width: 50px;
    min-width: 0;
    text-align: center;
}

.lhead {
    margin-bottom: 6px;
}
.lhead span {
    display: inline-block;
    text-align: center;
    font-weight: bold;
}
.lhead .lev {
    margin-left: -20px;
    width: 100px;
}
.lhead .name {
    width: 240px;
}
.lhead .num {
    width: 100px;
}

.sep {
    height: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid #afafaf;
}

table .flag {
    float: left;
    margin-right: 20px;
}

table .flag input {
    position: relative;
    top: -8px;
}



