/* Keep the original book design usable without the legacy scroll plugins. */
@font-face{font-family:CyrillicGoth;src:url(../goth.ttf) format('truetype');font-display:swap}
.title-home,#home-menu>li>div>a,h4.new-rand-posts{font-family:CyrillicGoth,Georgia,serif}
.scroll,.scroll_author{overflow:auto;scrollbar-width:thin;scrollbar-color:#76695d #d2d2d2}
#menu li:hover>.sub-menu,#menu li:focus-within>.sub-menu{display:block}
#home-menu .sub-menu li{min-height:20px}
#navi{padding:12px 0}#navi a{color:#452302;line-height:1.8;padding:3px}#navi [aria-current]{font-weight:bold;text-decoration:underline}
#content img:not(.sep):not(.ava_author):not(.ava_author_single){max-width:100%;height:auto}.mini_desc p{margin-top:5px;text-indent:0;text-align:justify}
@media(max-width:640px){
#wrapper{width:98%;min-width:0}#header .right{margin-top:0}#header .slogan{margin-top:-163px}
#content{margin:30px 10px 0;padding:0 5px;height:auto;min-height:250px;overflow:visible}
#content .scroll,#content .scroll_author{height:auto!important;max-height:none;width:auto!important;margin:20px 0;padding:0 10px;float:none!important;overflow:visible}
#content .author{height:auto;min-height:125px;margin-bottom:18px}#content .author .ava_author{height:97px;max-width:40%}
#content .post{width:100%;height:auto!important;min-height:35px;margin-bottom:12px;float:none}
#content .biography{padding-left:10px!important}.ava_author_single{max-width:42%!important}
#home-nav{margin-left:10px}#home-menu>li>div>a{font-size:22px}#home-menu .sub-menu li a{font-size:16px;margin-left:15px}
#menu{margin:10px 0 0}#menu>li{padding:5px 7px}#menu ul.sub-menu{left:0;margin-left:0}
#breadcrumbs{width:auto;float:none;margin:20px 20px 0}#number_page{margin:5px 20px;width:auto}
#new-rand-posts{margin-top:50px;padding:0 20px}#new-rand-posts h4.new-rand-posts{margin-bottom:25px}#rand-posts{margin-top:40px}
#new-rand-posts #sep-footer{width:120px;top:-25px;margin-left:-60px}#new-posts,#rand-posts{width:100%;float:none}
#panel .content{box-sizing:border-box}#panel .content>div{float:none!important;width:auto!important;margin:0!important}#panel ul{padding-left:30px!important}#poisk{box-sizing:border-box;width:98%;padding:10px}
}

/* Cufon's original mobile stylesheet reduced its accessible text to one pixel. */
@media(max-width:640px){
 #wrapper cufon.cufon-canvas{display:inline!important;width:auto!important;height:auto!important;font-size:inherit!important;line-height:inherit!important;margin:0!important}
 #wrapper cufon.cufon-canvas cufontext{text-indent:0!important;overflow:visible!important;display:inline!important;position:static!important;font-size:inherit!important;line-height:inherit!important;visibility:visible!important;width:auto!important;height:auto!important}
 #wrapper h1.title-home,#wrapper h1.title-home a{font-size:26px;line-height:1.15}
 #header{height:auto;min-height:175px;padding:30px 10px 0}
 #header .slogan{margin-top:15px}#header .slogan a{font-size:14px}
}
