/* CSS Document */

body{background:url(images/body_bg.gif) repeat-x #fff; color:#0F0F0F; font:15px/20px Helvetica, sans-serif; margin:8px 0 0 0; padding:0;}
div, ul, h1, h2, h3, h4, li, p, img{margin:0; padding:0;}
ul{list-style-type:none;}
.right{float:right}
.left{float:left}
.clear{clear:both}
img {border:0px;}
a{
    color:#333;
}
a:hover{
    color:#f33;
    outline:none;
}

/* Body */
#body{
    width:100%;
    text-align: left;    
    min-width:820px;
}
/* Structure Section */
#header {
    width:550px;
    margin:0 auto;
}
#content {
    width: 820px;   
    min-width:820px;
    margin:0 auto;
}
#ads {
    width: 820px;
    margin:4px auto;
    text-align:center;
    background:url(images/ads_bg.gif) no-repeat;
	padding-top:28px;
	padding-bottom:2px;
}
#footer {
    width: 820px;
    margin:0 auto;
    background:url(images/footer_bg.gif) no-repeat;
    padding:21px 0;
    font-size:.8em;
    text-align:right;
}

/* Header Section */
#logo {
    height: 65px;
	background:url(images/analyser_64_64.gif) 0 0 no-repeat;
	padding: 10px 0 0 75px;
}
#logo h1 {
	font-size:1.4em;
}
#logo h2 {
	color:#777;
	font-size:1.0em;
	margin-top:2px;
}
#tabs {
    height: 32px;
	/*position: relative;*/
}

#menu li,#menu li span{
    background-image:url(images/tabs_li_bg.gif);
    background-repeat:no-repeat;
}

#menu {
	padding: 0;
	list-style: none;
}

#menu li {
	position: relative;
    float:left;
    height:32px;
    width:172px;
    margin-right:.33em;
    background-position:0 -96px;
    padding-left:5px;
    font-size:1.08em;
}
#menu li.on{
    background-position:0 -64px;
}
#menu li span{
    display:block;
    background-position:100% -32px;
    padding:0 18px 0 10px;
    line-height:2.5em;
    height:32px;
}
#menu li span img{
    float:left;
    margin:8px 6px 0 0;
}
#menu li.on span{
    background-position:100% 0;
}

#menu a {
	display: block;
	color: #000000;
	width: 144px;
	text-decoration: none;
	font-weight: bold;
	height:32px;
}
#menu li em {
	font-weight: bold;	
	font-style: normal;
	font-size:0.8em;
	line-height:1.4em;
	width: 180px;
	height: 55px;
	position: absolute;
	top: -85px;
	left: -15px;
	text-align: center;
	padding: 16px 12px 10px;
	z-index: 2;
	display: none;
	background: url(images/hover.png) no-repeat;
}
 
#flags {
    position:absolute;
    position:absolute;
    top:12px;
    right:120px;
    width:100px;
	padding: 0;
	list-style: none;
}

#flags li {
    border: 1px solid #ddd;
    background:url(images/flag-ru.png) no-repeat center left;
    height:38px;
    line-height:38px;
    width:120px;
}
#flags li.ru {
    background-image:url(images/flag-uk.png);
}

#flags a {
	display: block;
	color: #000000;
	text-decoration: none;
	font-weight: bold;
	padding-left:46px;
	/*text-indent:-9000%;*/
}

#form {
    padding: 10px;
    clear:both;
}
.fields{
    width:550px;
}
.fields li.field{
    display:block;
    width:550px;float:left;
}
.fields li.field ul{
    display:block;
    list-style:none;
}
.fields li.field ul li{
    float:left;
    padding:2px;
}

.fields li.label {
    height: 32px;
    line-height:32px;
    font-size:1.2em;
    width:140px;
    text-align:right;
}

.fields li.input input{
    background-color: #fff;
    border: 1px solid #ccc;
    height: 26px;
    font-size:1.4em;
    padding:2px;
    margin:0;
}
.fields li.button span {
    height:32px;
    line-height:32px;
    border:0;
    float:left;
    text-align:center;
    padding:0;
    margin:0;
    cursor:pointer;
	background:url("images/button_left.png") no-repeat 0 0;
}

.fields li.button input {
    border:0;
    color:#666;
    display:block;
    cursor:pointer;
    float:left;
    white-space:nowrap; 
    margin-left:8px; 
    padding:0 10px 0 0px;
    height:32px;
    line-height:32px;
    font-size:1.2em;
    background-color:transparent;
    background:url("images/button_right.png") no-repeat right 0;
}
.fields li.button span:hover{
	background:url("images/button_left.png") no-repeat 0 100%;
}
.fields li.button input:hover{
	background:url("images/button_right.png") no-repeat right 100%;
}



/* Content Section */
.category {
    background:#fff url(images/message-bar.gif) no-repeat;
    width:383px;
    margin: 8px;
    padding: 0;
    float:left;
}
.category h3 {
    margin: 8px;
    width:360px;
    color: #333;
    border-bottom: 1px solid #999;
}
.category ul {
    margin:0 12px;
}
.category ul li{
    padding:2px;
    border-bottom:1px solid #eee;
    position:relative;
    /*clear:both;*/
}

.category ul li span.r {
    position:absolute;
    right:0px;/*
    margin:0;
    padding:0;
    float:right;*/
}


.category ul li span.arrow {
    width:16px;
	height:16px;
	padding-left:16px;
	margin-left:2px;
    cursor:pointer;
	background-image:url(images/arrow.gif);
	background-repeat:no-repeat;
	background-position:100% 0;
}

.category img {
    margin-right: 4px;
}

span.search {
    cursor:pointer;
    text-decoration:underline;
}
div.search {
    margin-left: 12px;
    display:none;
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
    font-size:0.9em;
}

div.search li {
    margin-top:2px;
    border-bottom:1px solid #eee;
    overflow:hidden;
    clear:both;
}

div.search a.img{
    width:320px;
    display:block;
    border:1px solid #fff;
    padding:2px;
}
div.search a.img img{
    display:block;
    margin:2px auto;
    border:1px solid #fff;
}
div.search a.img:hover{
    background-color:#f2f2f2;
    border:1px solid #ddd;
}

#summary {
    width:100%;
    border-top:1px solid #ddd;
}

#welcome {
	margin:10px 6px;
}
#welcome ul li {
	padding-left:24px;
	background:url(images/checkbox.gif) no-repeat 0px 6px;
    line-height:32px;
}
#welcome p {
    line-height:24px;
}

#bookmarks ul li {
    display:inline;
}
#bookmarks ul li img{
    width:48px;
    height:48px;
    border:1px solid #ddd;
}

/* Footer section */
#footer ul,#footer ul li{
    display:inline;
}
#footer .legal{
    float:left;
    width:54%;
    text-align:left;
}
#footer .separator{
    padding:0 6px 0 5px;
}

.behind-the-site{position:absolute;top:0;right:0;background:url(images/behind_the_site.gif) no-repeat;width:90px;height:114px;}
.behind-the-site a{display:block;width:88px;height:112px;}
.behind-the-site a span{display:none;}

div#share {
    position:absolute;
    top:26px;
    right:120px;
    width:208px;
    height:64px;
    display:none;
    background: url(images/box.png) no-repeat;
    padding:4px 6px;
}

div#share input {
    width: 200px;
    border: 1px #ccc solid;
}

div#share a {
    font-size:0.7em;
    display:block;
    text-align:right;
}