html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
:focus{outline:0;}
ol,ul{list-style:none;}
table{border-collapse:separate;border-spacing:0;}
caption,th,td{text-align:left;font-weight:normal;}
blockquote:before,blockquote:after,q:before,q:after{content:"";}
blockquote,q{quotes:"" "";}
input,select{padding:0;margin:0;}

a,div.download,#main,#top,#flags>div,.m_title,div.ans,.s_item,.q_cor,.q_incor,.menu_left hr{-webkit-transition:all .15s ease-out;transition:all .15s ease-out;}
body{background:#261b17;line-height:1.25em;color:#ffffff;font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:.8rem;}
.center,h1,#main,#tail,#cb,.m_title,.navi_ul{text-align:center;}
sup{vertical-align:super;}
sub{vertical-align:sub;}
sup,sub,#tail,div.download i{font-size:smaller;}
a:link,a:visited{color:#1030cc;text-decoration:underline;}
a:hover,a:active,.err_text{color:#ff0000;}
#main{padding-top:.9em;}
#top,#menu,#paper{clear:both;margin:0 auto;}
#top{width:994px;height:105px;}
#logo{width:500px;height:95px;margin-left:70px;}
#flags{width:50px;}
#flags>div{background:rgba(255,255,255,0.35);padding:0 6px 3px;display:block;position:absolute;margin-top:-.9em;border-radius:0 0 6px 6px;}
#flags span{width:22px;height:16px;margin:3px 3px 0 3px;}
#flag_ru_icon{background:#f0f0f0;}
#flag_kz_icon{background:#42aeae;}
#menu{width:1024px;}
#paper{background:#f0eff6;width:1054px;height:540px;overflow:auto;color:#000000;}
#ribbon{background:#017b31;width:19px;position:absolute;margin:-30px 0 0 11px;}
#ribbon-t{height:7px;}
#ribbon-m{height:450px;}
#ribbon-b{height:10px;}
.ribbon_s{width:41px;min-width:41px;}
#lt,#lm,#lb,#rt,#rm,#rb{width:23px;max-width:23px;}
#lt,#lb,#ct,#cb,#rt,#rb{height:23px;max-height:23px;}
#lt,#lb,#rt,#rb{white-space:nowrap;}
#cm,#content,#flags,.menu_left,.m_search_button{vertical-align:top;}
#cb{font-size:.7rem;}
#content{width:100%;}
ul,h1,.m_title,.tests_cmd{font-weight:bold;}
.menu_left{width:240px;min-width:240px;}
.menu_left_s{height:10px;}
.m_title{letter-spacing:.05em;height:18px;text-shadow:1px 1px 4px #bbbbbb;}
.m_news{color:#111199;}
.m_news_i{color:#991111;}
.m_news_date{padding-left:5px;}
.m_uinfo{color:#117711;}
.m_share{color:#991199;}
.m_vk_like{padding-left:78px;height:22px;}
.m_search{color:#b07c0b;}
.home_icon,.arrow_r_icon,#flags span,.navi_ul li{display:inline-block;}
.home_icon{width:12px;height:12px;margin-right:5px;}
.arrow_r_icon{width:7px;height:12px;margin:0 6px;}
a.download,a.download:link,a.download:visited{padding:14px 0 0 0;position:relative;top:6px;}
div.download{background:rgba(255,255,255,0.4);margin:5px 0;padding:10px;border-radius:25px/15px;border:1px solid #cccccc;}
div.download:hover{background:#ffffff;border-color:#aaaaaa;}
div.download:hover a{color:#ff0000;}
div.download i{color:#7d88b3;}
div.download,.tm,a.tab_title,a.max_questions,.m_search_button,.tests_cmd,.test_cmd,.test_opt label,.test_opt select,#theme_sel input,#theme_sel label{cursor:pointer;}
a.download_test,a.forum_link,a.questions_link{padding:12px 0 12px 35px;line-height:36px;}
a.copy{color:#ffffff;}
hr{border:1px dashed #808080;margin:10px 0;}
.tm{float:right;position:relative;margin-left:-20px;letter-spacing:.1em;}
.tm>div,.test_opt_50,.test_opt_50 div,span.test_opt{float:left;}
.tm>div{height:25px;line-height:24px;font-size:.8rem;}
.tm:hover a{color:#ffffff;-webkit-transition:none;transition:none;}
.tm_active{cursor:default;}
.tm_l{width:15px;}
.tm_c{padding:0 4px 0 18px;}
.tm_r{width:20px;}
.tm_1>.tm_c,.tm_1_active>.tm_c{padding-left:4px;}
li{padding-left:18px;font-weight:normal;}
li>ul{font-weight:normal;padding-bottom:6px;}
.main_ul li{padding-top:3px;}
.main_ul li i{font-size:.9em;}
.navi_ul,#answers_sel{margin:10px 0;}
.ul_decimal{list-style:decimal inside;}
.ul_disc{list-style:disc inside;}
h1{font-size:1.1em;line-height:1.25em;}
.info{font-size:11px;color:#112266;}
div.test_info{float:right;border:1px dashed #999999;border-radius:10px;padding:4px;margin:4px 6px;}
div.test_opt{padding:2px 0;line-height:22px;clear:left;}
span.test_opt{min-width:155px;text-align:right;font-size:12px;}
.test_opt_50{width:50%;}
.tests_cmd{font-size:14px;padding:10px 20px;}
.test_cmd{padding:8px 16px;}
a.tab_title,a.max_questions{border-bottom:1px dotted;}
a.tab_title,a.tab_title:link,a.tab_title:visited{color:#1030cc;text-decoration:none;}
a.max_questions,a.max_questions:link,a.max_questions:visited{color:#112266;text-decoration:none;}
a.tab_title:hover,a.tab_title:active,a.max_questions:hover,a.max_questions:active{color:#ff0000;}
a.tab_title_active:hover,a.tab_title_active:active{color:inherit;}
#theme_sel label:hover{color:#004080;}
.m_search_text{border:1px #7f9db9 solid;width:215px;height:16px;}
.m_search_button{border:none;height:16px;width:16px;}

@media screen and (max-height:1000px) {
	#main{padding-top:0;}
	#top{height:98px;}
	#flags>div{margin-top:0;}
	.m_title{height:16px;}
	.menu_left hr{margin:8px 0;}
}