html, body {
    height:100%;
}
body {
    background:#eee;
    font: normal .875em/18px  "PT Sans", Arial, sans-serif;
    min-width:960px;
}
input[type="radio"] {
    margin:0;
    padding:0;
    vertical-align:baseline;
}
i, em {
    font-style: italic;
}
b, strong {
    font-weight: bold;
    font-family: "PT Serif";
}
img {
    border:0;
    outline:0;
}
.main {
    width:90%;
    margin:0 auto;
    background:#fff;
    max-width:1300px;
}
.main .header {
    height: 100px;
    background-color: #177fc4;
    position: relative;
}
.main .header .logo-container {
    width: 227px;
    position: relative;
    float: left;
    height: 100px;
}
.main .header .logo-container .medal {
    position: absolute;
    width: 227px;
    height: 189px;
    background: url(images/medal.png) center top no-repeat;
    z-index: 1;
}
.main .header .logo {
    float: left;
    height: 100px;
    line-height: 100px;
    margin-right: 20px;
}
.main .header .logo img {
    vertical-align: middle;
}
.main .header .header-text {
    float: left;
    height: 100px;
    line-height: 100px;
    font-size: 46px;
    text-transform: uppercase;
}
.main .header .logo-title {
    font-size: 46px;
    color:#fff;
    text-decoration:none;
    font-weight: bold;
    display: block;
    height: 100px;
    line-height: 100px;
}
.main .header .header-auth-container {
    position: absolute;
    right: 0;
    top: 0;
    height: 100px;
    width: 250px;
    overflow: hidden;
}
.main .header .header-auth-container .header-auth-block {
    float: left;
    box-sizing: border-box;
    width: 46%;
    background-color: #006699;
    margin-right: 2%;
    padding: 10px;
    text-align: center;
}
.main .header .header-auth-container .header-auth-block a {
    color: #fff;
    text-decoration: none;
}
.main .sidebar {
    float:left;
    width:20%;
}
.main .sidebar .in_sidebar {
    margin-top: 90px;
    padding: 10px;
}
.main .content {
    float:left;
    width:80%;
    /*        font:1.083em/1.54em Calibri,Arial,sans-serif;*/
}
.main .content .data-table textarea, .main .content .data-table input[type=text],
.main .content .data-table input[type=password] {
    /*        font:1.1em Calibri, Arial, sans-serif;*/
    line-height:1.54em;
    width:250px;
    padding:2px;
    border:1px solid #ccc;
}
.main .content .in_content {
    padding:20px 10px 20px 15px;
}
.main .content .in_content ul {
    list-style: circle;
    list-style-position: inside;
}
.main .content .in_content ul li {
    padding-bottom: 10px;
    margin-left: 30px;
}
.main .footer {
    background-color: #ccc;
    overflow: hidden;
}
.main .footer .partners {
    padding: 10px 0px 10px 20px;
    overflow: hidden;
    color: #666;
    float: left;
    margin-right: 30px;
    min-width: 200px;
    max-width: 250px;
}
.main .footer .partners img {
    float: left;
    margin-right: 10px;
}
.main .footer .partners p {
    margin-top: 4px;
}
a,a:active,a:hover {
    color:#069;
}
a:hover {
    text-decoration:none;
}
h1 {
    font-size:1.4em;
    color:#369;
    padding:0;
    margin:0 0 .83em 0;
    font-family: "PT Serif";
}
h2 {
    font-size:1.4em;
    color:#369;
    padding:0;
    margin:0 0 .83em 0;
}
p {
    padding:0;
    margin:0 0 .83em 0;
}
.data-table {
    border-collapse: collapse;
}
.data-table td {
    padding:10px;
}
.clearfloat {
    float:none;
    clear:both;
    height:0px;
    font-size:1px;
}
.starrequired, .error {
    color:red;
}
.clearfix { overflow : hidden; _height : 1%; zoom : 1; font-size:1px;float:none;display:block;}
.clearfix:after {content:"."}

/*Forum*/
div.forum-topics-moderate input {
    vertical-align:bottom;
    font-size:.875em;
}
div.forum-topics-moderate select {
    font-size:.875em;
}
.main tr.header {
    background:none;
    height:auto;
}
/*Авторизация*/
.profile-table, .profile-table td {
    line-height:1em;
}
.main .content .profile-table textarea, .main .content .data-table input[type="text"] {
    line-height:1em;
}
/*Quote*/
.forum-quote {
    border:1px solid #e2e2e2;
}
.forum-quote th {
    text-align:left;
    font-size:15px;
    color:#666;
}
.forum-quote td {
    color:#999;
}
/*Test*/
div.result-tabs {
    margin:10px 0 10px 0;
    display:block;
}
div.result-tabs a {
    padding:3px;
    display:block;
    width:20px;
    float:left;
    text-align:center;
    color:#000;
    text-decoration:none;
    border-top-color:#CED6E4;
    border-left-color:#CED6E4;
    border-right-color:#9CADC9;
    border-bottom-color:#9CADC9;
    border-width:1px;
    border-style:solid;
    margin-right:3px;
    margin-bottom:4px;
    font-size:100%;
}
.pseudo-link {
    border-bottom:1px dashed #486DAA;
    cursor:pointer;
    cursor:hand;
    color:#486DAA;
}
.clearfloat {
    float:none;
    clear:both;
    z-index:1;
    height:0;
    display:block;
    font-size:0px;
}
.answer-green, .answer-red {
    font-size:11px;
}
.answer-green {
    color:green;
}
.answer-red {
    color:red;
}
.result-answer dd {
    padding-left:30px;
    margin-left:0px;
}
.answer-user-right {
    background:url(/test/images/answer_user_right.gif) left top no-repeat;
}
.answer-right {
    background:url(/test/images/answer_right.gif) left top no-repeat;
}
.answer-wrong {
    background:url(/test/images/answer_wrong.gif) left top no-repeat;
}
.result-box {
    border:1px solid #666;
    padding:6px;
    background-color:#F0EFEA;
}
.result-box h2 {
    font-weight:bolder;
    font-size:110%;
    margin-top:0px;
    padding-bottom:4px;
    border-bottom:1px solid #ccc;
}
div.result-tabs a.select {
    background-color:yellow;
}
div.result-tabs a.wrong {
    background-color:red;
}

.attempt-list {
    border-collapse:collapse;
}
.attempt-list td {
    padding:2px;
    margin:0;
    font-size:6px;
}
.show_test {
    padding: 10px;
    float: left;
    background: #069;
    color: #fff;
}
.show_test:hover {
    color: #fff;
}
.download {
    display: block;
    padding: 10px;
    color: white;
    margin: 20px 0;
    background: green;
    width: 140px;
}
.download:hover {
    color: #fff;
}
.red {
    color: red !important;
}
input[type="submit"] {
    font-size: 100%;
}
.important {
    padding: 10px;
    background-color: #ff6666;
    color: #fff;
    padding: 10px;
    line-height: 24px;
    margin-bottom: 20px;
    font-size: 16px;
}

.auth-container { font-size: 16px; }
.auth-container table { width: 100%; }
.auth-container input[type="text"], .auth-container input[type="password"] { width:60%;vertical-align:middle;height:30px;line-height:30px;font-size:16px;padding:4px; }
.auth-container span.bx-auth-secure {background-color:#FFFAE3; border:1px solid #DEDBC8; padding:2px; display:inline-block; vertical-align:middle;}
.auth-container div.bx-auth-secure-icon {background-image:url(images/sec.png); background-repeat:no-repeat; background-position:center; width:19px; height:18px;}
.auth-container div.bx-auth-secure-unlock {background-image:url(images/sec-unlocked.png);}
.auth-container td { padding: 8px; }
.auth-container .auth-notice { font-size: 12px; }
.auth-container .auth-captcha-promt { font-size: 12px; }
.auth-container .auth-captcha-begin td { padding-top: 20px; }
.auth-container .auth-submit { font-size: 24px; padding: 10px; width: 300px; }
.auth-container .auth-submit-container { text-align: left; }
.auth-container .auth-notice-block { background-color: #ff6666; color: #fff; padding: 10px; line-height: 24px; margin-bottom: 20px; }
.auth-container .auth-notice-block h2 { color: #fff; text-align: left; }
.auth-container .auth-captcha-input input { height: 28px; }
.auth-container .auth-success { background-color: #339933; color: #fff; padding: 10px; line-height: 24px; }
.auth-container .auth-input-description { font-size: 12px; }
.auth-container .auth-input-title { font-size: 15px; line-height: 30px; }

.news-list-container { }
.news-list-container .news-list-block { overflow: hidden; margin-bottom: 40px; }
.news-list-container .news-list-block .news-list-date { float: left; margin-right: 10px; }
.news-list-container .news-list-block .news-list-img { float: left; }
.news-list-container .news-list-block .news-list-img img { height: auto; width: 100%; }
.news-list-container .news-list-block .news-list-header { overflow: hidden; }
.news-list-container .news-list-block .news-list-date-icon { display: block; margin-bottom: 10px; }
.news-list-container .news-list-block .news-list-date { text-align: center; }
.news-list-container .news-list-block .news-list-date-number { font-size: 18px; font-weight: bold; }
.news-list-container .news-list-block .news-list-date-month { text-transform: uppercase; color: #999; font-size: 14px; }
.news-list-container .news-list-block .news-list-date-year { font-size: 13px; color: #999; }
.news-list-container .news-list-block .news-list-text { margin-left: 81px; }
.news-list-container .news-list-block .news-list-name { margin-bottom: 10px; }
.news-list-container .news-list-block .news-list-name a { text-decoration: none; color: #000; border-bottom: 1px solid #999; font-size: 26px; line-height: 38px; font-weight: bold; font-family: "PT Serif"; }
.news-list-container .news-list-block .news-list-name a:hover { border-bottom: none; }
.news-detail-block { font-size: 110%; }
.news-detail-block h1 { line-height: 1.5; }

.city_container .city_block { float: left; }
.city_container .other_city { float: left; margin-left: 20px; display: none; }
.city_container .visible { display: inline; }
.city_container .hidden { display: none; }

.test-link-main { padding: 10px; background-color: green; color: #fff; text-decoration: none; font-size: 24px; }
.test-link-main:hover { color: #fff; }
.message-imporant { font-size: 16px; color: green; }

@media only screen and (min-width: 240px) {
    .main .header .logo-title { font-size: 14px; }
    .main .footer .partners a { font-size: 10px; }
    .main .footer .partners { min-width: 150px; max-width: 160px; }
}
@media only screen and (min-width: 1000px) {
    .main .header .logo-title { font-size: 20px; }
    .main .footer .partners a { font-size: 10px; }
    .main .footer .partners { min-width: 160px; max-width: 180px; }
}
@media only screen and (min-width: 1160px) {
    .main .header .logo-title { font-size: 30px; }
    .main .footer .partners a { font-size: 12px; }
    .main .footer .partners { min-width: 180px; max-width: 200px; }
}
@media only screen and (min-width: 1380px) {
    .main .header .logo-title { font-size: 46px; }
    .main .footer .partners a { font-size: 14px; }
    .main .footer .partners { min-width: 200px; max-width: 250px; }
}