/******************************************************Общие параметры страницы*********************************************/
* {
margin:0;
padding:0;
}

body
{
margin:0 auto;
background-color:#C2E5AC;
}

/******************************************************Блок очистки обтекания*********************************************/
.clear_div{
clear:both;
}

a img{
border:none;
}

div#main{
margin-top:10px;
padding-bottom:10px;
}

/******************************************************Логотип*********************************************/
div#logo_bg{
background-image:url(img/design/logo_bg.gif);
background-repeat:no-repeat;
background-position:top;
width:880px;
height:129px;
margin:0 auto;
}

div#logo_bg_km a {
margin-left:30px;
margin-right:33px;
margin-top:15px;
float:left;
background-image:url(img/design/logo_km.gif);
background-repeat:no-repeat;
background-position:center;
}

*html div#logo_bg_km a {
margin-left:15px;
margin-right:40px;
margin-top:15px;
float:left;
background-image:url(img/design/logo_km.gif);
background-repeat:no-repeat;
background-position:center;
}


div#logo_bg_kmpub a {
margin-right:38px;
margin-top:15px;
height:95px;
float:right;
background-image:url(img/design/logo_km_pub_green.gif);
background-position:top;
background-repeat:no-repeat;
}

* html div#logo_bg_kmpub a {
margin-right:20px;
margin-top:15px;
height:95px;
float:right;
background-image:url(img/design/logo_km_pub_green.gif);
background-position:top;
background-repeat:no-repeat;
}

* html div#logo_bg_kmpub a:hover {
margin-right:20px;
margin-top:15px;
height:95px;
float:right;
background-image:url(img/design/logo_km_pub_green.gif);
background-position:bottom;
background-repeat:no-repeat;
}


div#logo_bg_kmpub a:hover {
margin-right:38px;
margin-top:15px;
height:95px;
float:right;
background-image:url(img/design/logo_km_pub_green.gif);
background-position:bottom;
background-repeat:no-repeat;
}

div#main_space_bg{
background-image:url(img/design/main_space_bg.gif);
background-repeat:repeat-y;
background-position:top;
width:880px;
margin:0 auto;
}

/******************************************************Меню*********************************************/
div#menu{
background-image:url(img/design/menu_bar_bg.gif);
background-repeat:no-repeat;
background-position:top;
width:848px;
height:58px;
margin-left:15px;
}

div#menu.bg_selected_1{
background-image:url(img/design/menu_bar_bg.gif);
background-repeat:no-repeat;
background-position: 0 -58px;
width:848px;
height:58px;
margin-left:15px;
}

div#menu ul{
margin-left:6px;
padding-top:5px;
}

div#menu ul li{
list-style:none;
float:left;
display:block;
padding:11px;
font-family:Tahoma;
font-size:18px;
font-weight:bold;

}

div#menu ul li a{
color:#4D4D4D;
text-decoration:none;
}

div#menu ul li a: visited{
color:#4D4D4D;
text-decoration:none;
}

div#menu ul li a: active{
color:#4D4D4D;
text-decoration:none;
}

div#menu ul li a:hover{
color:#78BB4A;
text-decoration:none;
}

div#menu ul li a.a_selected{
color:#FFFFFF;
text-decoration:none;
}

div#menu ul li a.a_selected:hover{
color:#FFFFFF;
text-decoration:none;
}

div#main_section{
}

/******************************************************Новости*********************************************/
div#news{
background-image:url(img/design/news_bg_middle.gif);
width:380px;
margin-top:9px;
margin-left:24px;
float:left;
}

* html div#news{
background-image:url(img/design/news_bg_middle.gif);
width:380px;
margin-top:9px;
margin-left:11px;
float:left;
}


p.news{
background-image:url(img/design/news_bg_top.gif);
background-repeat:no-repeat;
background-position:0 0 0 0;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
line-height:1.4em;
letter-spacing:0.01em;
width:330px;
padding-left:35px;
padding-bottom:5px;
}

div#news_bg_bottom{
background-image:url(img/design/news_bg_bottom.gif);
background-position:bottom;
background-repeat:no-repeat;
height:12px;
}

/******************************************************Новинки*********************************************/
div#newbook{
background-image:url(img/design/newbook_bg_middle.gif);
width:449px;
margin-top:9px;
margin-left:10px;
float:right;
margin-right:16px;
}

* html div#newbook{
background-image:url(img/design/newbook_bg_middle.gif);
width:449px;
margin-top:9px;
margin-left:10px;
float:right;
margin-right:8px;
}


p.newbook{
background-image:url(img/design/newbook_bg_top.gif);
background-repeat:no-repeat;
background-position:0 0 0 0;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
line-height:1.4em;
letter-spacing:0.01em;
padding-left:34px;
padding-bottom:8px;
padding-right:15px;
min-height:98px;
}

* html p.newbook{
background-image:url(img/design/newbook_bg_top.gif);
background-repeat:no-repeat;
background-position:0 0 0 0;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
line-height:1.4em;
letter-spacing:0.01em;
padding-left:34px;
padding-bottom:1px;
padding-right:15px;
height:98px;
}

div#newbook_bg_bottom{
background-image:url(img/design/newbook_bg_bottom.gif);
background-position:bottom;
background-repeat:no-repeat;
height:11px;
clear:both;
}

/******************************************************Бестселлеры*********************************************/
div#bestsellers{
background-image:url(img/design/bestsellers_bg_middle.gif);
width:449px;
margin-top:9px;
margin-left:10px;
float:right;
margin-right:16px;
}

* html div#bestsellers{
background-image:url(img/design/bestsellers_bg_middle.gif);
width:449px;
margin-top:9px;
margin-left:10px;
float:right;
margin-right:8px;
}


p.bestsellers{
background-image:url(img/design/bestsellers_bg_top.gif);
background-repeat:no-repeat;
background-position:0 0 0 0;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
line-height:1.4em;
letter-spacing:0.01em;
width:449x;
padding-left:34px;
padding-bottom:8px;
padding-right:15px;
min-height:98px;
}

* html p.bestsellers{
background-image:url(img/design/bestsellers_bg_top.gif);
background-repeat:no-repeat;
background-position:0 0 0 0;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
line-height:1.4em;
letter-spacing:0.01em;
width:449x;
padding-left:34px;
padding-bottom:1px;
padding-right:15px;
height:98px;
}

div#bestsellers_bg_bottom{
background-image:url(img/design/bestsellers_bg_bottom.gif);
background-position:bottom;
background-repeat:no-repeat;
height:10px;
clear:both;
}

div#six_bestsellers{
clear:both;
width:400px;
margin-left:25px;
margin-bottom:8px;
margin-top:3px;
}

* html div#six_bestsellers{
clear:both;
width:400px;
margin-left:25px;
margin-top:10px;
margin-bottom:0px;
}


div#six_bestsellers img{
width:53px;
}

div#bestsellers img.dash_line{
margin-left:34px;
width:400px;
margin-bottom:8px;
}

* html div#bestsellers img.dash_line{
margin-left:34px;
width:400px;
padding-top:8px;
margin-bottom:0px;
}


/******************************************************Футер*********************************************/
div#footer_bg{
background-image:url(img/design/footer_bg.gif);
background-position:bottom;
height:19px;
width:880px;
margin:0 auto;
}

div#footer_bar{
background-image:url(img/design/menu_bar_bg.gif);
background-repeat:no-repeat;
background-position:top;
width:848px;
height:58px;
margin-left:15px;
margin-top:7px;
margin-bottom:-4px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;

}

.footerinfo_1{
display:block;
float:left;
padding-left:15px;
padding-top:20px;
}

.footerinfo_2{
display:block;
float:right;
padding-right:20px;
padding-top:20px;
}

/******************************************************Ссылки*********************************************/
a, a:visited{
color:#538C2A;
text-decoration:none;
}

/*a, a:visited{
color:#13669d;
text-decoration:none;
}*/

a:hover{
text-decoration:underline;
}

a.title, a.title:visited{
font-family:Trebuchet MS;
font-size:18px;
font-weight:normal;
display:block;
margin-bottom:5px;
padding-top:10px;
}

a.title_prev{
font-family:Trebuchet MS;
font-size:18px;
font-weight:normal;
display:block;
margin-left:35px;
margin-bottom:3px;
width: 330px;
}

a.title_prev:visited{
font-family:Trebuchet MS;
font-size:18px;
font-weight:normal;
display:block;
margin-left:35px;
margin-bottom:3px;
width: 330px;
}

* html a.title_prev{
font-family:Trebuchet MS;
font-size:18px;
font-weight:normal;
display:block;
margin-left:35px;
margin-bottom:0px;
}

* html a.title_prev:visited{
font-family:Trebuchet MS;
font-size:18px;
font-weight:normal;
display:block;
margin-left:35px;
margin-bottom:0px;
}

a.title_newbook, a.title_newbook:visited{
font-family:Trebuchet MS;
font-size:18px;
font-weight:normal;
display:block;
margin-bottom:5px;
padding-top:10px;
padding-right:10px;
}


a.author, a.author:visited{
font-family:Trebuchet MS;
font-size:14px;
font-weight:normal;
}

span.author{
font-family:Trebuchet MS;
font-size:12px;
display:block;
margin-bottom:5px;
}

/******************************************************Иллюстрации*********************************************/
img.cover{
float:left;
margin-right:10px;
margin-top:12px;
margin-bottom:10px;
}

* html img.cover{
float:left;
margin-right:10px;
margin-top:12px;
margin-bottom:3px;
}

img.icon_newbook{
position:absolute;
margin-left:225px;
margin-top:12px;
}

@media all and (min-width: 0px) {
img.icon_newbook{
position:absolute;
margin-left:375px;
margin-top:12px;
}}

img.icon_bestseller{
position:absolute;
margin-left:287px;
margin-top:12px;
}

@media all and (min-width: 0px) {
img.icon_bestseller{
position:absolute;
margin-left:375px;
margin-top:12px;
}}