*
{
 margin:0;
 padding:0;
 border:none;
 font-weight:normal;
 box-sizing: border-box; // added by qkowlew
}

BODY
{
 font-family:Tahoma;
 background: #708090;
}

.p, p
{
 text-indent:20pt;
 text-align:justify;
}

A
{
  text-decoration : none;
  color: #304050;
}

A:Hover
{
 color:yellow;
}

li
{
  list-style-type:none !important;
}

TABLE
{
  border-collapse: collapse;
  width: 100%;
  border:0;
}

tbody
{ 
  border:0;
}

td
{
  vertical-align: top;
}

.front-page .views-field-title a
{
  color: black;
}

.front-page .views-field-title
{
  margin-left: 40px;
  padding-bottom: 10px;
}

.front-page #newslenta .views-field-title
{
  margin-left: 0px;
  padding-bottom: 10px;
  margin-top: 10px;
}

.front-page ul.menu .active
{
  display: none;
}

#newslenta .views-field-title a
{
  color: #152535;
  font-size: large;
  font-weight: normal;
}


#newslenta
{
 padding:15px;
 margin-top: 0px;
 background-color:  moccasin; 
 background-color: rgb(225,211,169);

}

#newslenta .views-field-teaser
{
 padding-top: 5px;
 padding-bottom: 5px;
 margin-bottom: 10px;
 border-bottom: 1px solid #708090;
 color: #000000;
 color: #152535;
 font-size: medium;
 font-weight:normal;
}

#newslenta .miniheader, 
#newslenta .miniheader A
{
 color:tan;
 margin-top:0;
}

#newslenta h3
{
 margin-top: 20px;
 font-size: large;
 font-weight: bold;
 font-weight:normal;
}

#newslenta h4
{
 margin-top: 10px;
 font-size: normal;
 font-weight: bold;
 font-style: italic;
}


.wiki-link, .fantlab-link
{
  font-size:3px;
  color: transparent;
  width: 34px;
  height: 34px;
  display:block;
}

.wiki-link
{
  background: url('../images/34px-Wikipedia-W-bold-in-square.svg.png');
}

.fantlab-link
{
  background: url('../images/flrecommend.gif');
}

.pager
{
  border: 0px green solid;
  font-size: medium;
  text-align: right;
}

.view > .item-list
{
  text-align: right;
  width: 100%;
  margin: 0;
}

.pager
{
  font-size: medium;
  display: inline;
}

.pager-current
{
  font-size: x-large;
}
li.pager-item,
.item-list .pager li,
li.pager-item a
{
  padding:0;
  margin:0;
  padding-left: 3px;
  padding-right: 3px;
  color: #708090;
}

.magic_content .view-content
{
  width: 100%;
  border-top: 1px #708090 solid;
  border-bottom: 1px #708090 solid;
  padding: 0px;
  margin: 0px;
  padding-top: 15px;
  padding-left: 0px;
  margin-bottom: 5px;
}

.magic_tabs > .item-list
{ 
  float:left !important;
  width: 50%;
  height: 27px;
  padding-top: 15px;
}

.magic_tabs,
.magic_tabs ul.tabs a,
.magic_tabs ul.tabs a span
{
  background: transparent;
}

.magic_tabs ul.tabs {
  margin: 0;
  padding:0px ;
  list-style:none;
  line-height:0.5;
  }
.magic_tabs ul.tabs li {
  display:inline;
  margin:0;
  padding:0;
  background:none;
  }
.magic_content {
  clear: none;
  }
.magic_tabs ul.tabs a.selected
{
  padding:0;
  font-style: italic;
}
.magic_tabs ul.tabs a span {
  color: #708090;
}
.magic_tabs ul.tabs a:hover,
.magic_tabs ul.tabs a.selected {
  background-position:0%;
}
.magic_tabs ul.tabs a:hover span,
.magic_tabs ul.tabs a.selected span
{
  color: #708090;
  background-position: 0;
}
/*
.magic_tabs ul.tabs a {
  float:left;
  background:url("tableft.gif") no-repeat left top;
  margin:0;
  padding:0 0 0 4px;
  text-decoration:none;
  }
.magic_tabs ul.tabs a span {
  float:left;
  display:block;
  background:url("tabright.gif") no-repeat right top;
  padding:5px 15px 4px 6px;
  color:#666;
  }
*/

li div
{
  display: inline;
}

.catalog-authors .views-field-title a,
.jenres-catalog-authors .item-list h3 a,
.views-field-field-author-nid a,
.running_title .author a
{
 color: #707070;
}

.catalog-texts .views-field-title a,
.view-aggregate .views-field-title a,
.jenres-catalog-texts .views-field-title a,
.jenres-catalog-authors .views-field-title-1 a,
.jenres-catalog-series .views-field-title-1 a
{
 color: #304050;
}

.catalog-series .views-field-title a,
.jenres-catalog-series .item-list h3 a,
.views-field-field-seria-nid a,
.running_title .seria a
{
 color: #607090;
}

.catalog-texts .views-field-title a,
.catalog-authors .views-field-title a,
.catalog-series .views-field-title a,
.view-aggregate .views-field-title a,
.jenres-catalog-authors .item-list h3 a,
.jenres-catalog-texts .views-field-title a
{
  font-size: large;
}

.views-field-field-author-nid a,
.views-field-field-seria-nid a,
.jenres-catalog-authors .views-field-title-1 a,
.jenres-catalog-series .views-field-title-1 a
{
  font-size: medium;
}

#author-title
{
  font-size: xx-large;
  color: lightsteelblue;
  text-align: center;
}

#seria-type
{
 color: lightgray;
 color: #405070;
 font-size: large;
 text-align: center;
}

#seria-title
{
 color: #405070;
 font-size: xx-large;
 text-align: center;
 margin-bottom: 20px;
}

 #top_polka
{
 text-align: center;
 font-size: xx-large;
 font-weight: bold;
 vertical-align: middle;
 color: rgb(227,226,172);
 height: 100%;
}

#minibooks
{
 background-image: url(i/c_polka.gif);
 text-align:left;
 margin-left: 30px;
 margin-right: 30px;
}

#minibooks a
{
  display:inline-block;
  width: 16px;
 background-repeat: no-repeat;
 background-position: left top;
 font-family:Arial;
 font-size:12px;
 font-weight:bold;
 padding-top:35px;
 padding-bottom:13px;
 text-align:center;
  color: #e3e2ac;
}

.page-authors #minibooks a
{
 background-image: url(i/k/a.gif);
}

.page-series #minibooks a
{
 background-image: url(i/k/s.gif);
}

.page-texts #minibooks a
{
 background-image: url(i/k/t.gif);
}


 #nav_path
{
 background-color : rgb(227,226,172);
 background-color : #e3e2ac;
 color: black;
 color: #444;
 font-size: 14px ;
 font-weight : bold;
 padding-left:30px;
}

#nav_path A
{
 color: black;
 color: #444;
 font-size: 14px ;
 font-weight : bold;
}

#nav_path A:hover
{
 color: yellow;
}

#put_under_page
{
 background-image: url(i/catalog_page.gif);
 width: 90%;
 height: 100%;
}
.page-serann-admin #put_under_page
{
 width: 100%;
}

#lt
{

 background-image: url(i/up_edge.gif);
 background-repeat: repeat-x;
 background-position: left top;
 height: 40px;
}

#lb
{

 background-image: url(i/down_edge.gif);
 background-repeat: repeat-x;
 background-position: left bottom;
 height: 20px;
}


#left_page
{
 padding-left:15px;
 padding-right:10px;
 padding-top:90px;
 min-width: 70px;
 vertical-align: top;
}

#left_page li a
{
 color: #405060;
 white-space:pre;
}

#left_page li a:hover
{
 color:yellow;
}

#ctl
{
 background-image: url(i/up_center.gif);
 background-repeat: no-repeat;
 background-position: left top;
 height: 100%;
}

#cbl
{
 background-image: url(i/down_center.gif);
 background-repeat: no-repeat;
 background-position: left bottom;
 height: 100%;
}

#cl
{
 background-image: url(i/left_edge.gif);
 background-repeat: repeat-y;
 background-position: left top;
 height: 100%;
}

#ct
{
 background-image: url(i/up_edge.gif);
 background-repeat: repeat-x;
 background-position: left top;
 height: 100%;
}

#cb
{
 background-image: url(i/down_edge.gif);
 background-repeat: repeat-x;
 background-position: left bottom;
 height: 100%;
}


#catalog_page
{
 padding:70px;
 padding-top:60px;
 padding-bottom:50px;
}

#r
{
 background-image: url(i/right_edge.gif);
 background-position: left top;
 vertical-align: top;
 width: 30px;
 min-width: 30px;
}

#rt
{
 background:#708090;
 background-image: url(i/up_right_corner.gif); 
 background-repeat: no-repeat;
 background-position: left top;
 height: 100%;
}


#rb
{
 background:#708090;
 background-image: url(i/down_right_corner.gif);
 background-repeat: no-repeat;
 background-position: left bottom;
 height: 100%;
}



#pager
{
  text-align: right;
  right:0;
  left:100%;
}

#tasmenu
{
  font-size: medium;
  float: left;
}

#tasmenu a,
#tasmenu .a,
#tasmenu .t,
#tasmenu ,s
{
  margin-right:10px;
}


 #top
{
 background-color:   rgb(102,117,128);
 background-image: url(i/topbg.gif);
 height: 143px;
}

#toplogo
{
 background-image: url(i/logo.gif);
 background-repeat: no-repeat;
 background-position: left top;
 height: 100%;
}
#header #site-name
{
 width:100%;
 color: #a0b0c0;
 text-align: right;
}
#header #site-name a
{
 color: #a0b0c0;
 font-size:2em;
 margin-right:30px;
}

#topserann
{
 background-image: url(i/serann.gif);
 background-repeat: no-repeat;
 background-position: right top;
 height: 100%;
}


.mainmenu
{
 background-color: #e1b3a9;
 background-color: rgb(225,211,169);
 background-color : #e3e2ac;
 text-align: center;
 padding: 3px;
}

.mainmenu ul
{
  width: 100%;
}

.mainmenu li
{
 display: inline; /* Отображать как встроенный элемент */
 padding-left: 15px;
 padding-right: 15px;
 padding-left: 7%;
}

.mainmenu  a
{
 font-size: medium;
 color: #708090;
}

.mainmenu a:hover
{
 color: yellow;
}

#indexhtml A.t
{
 font-size: medium;
}

#search
{
 padding-left:30%;
 padding-right:30%;
 margin-top:20px;
 margin-bottom:20px;
}

#search table
{
 text-align:center;
}

input#inputfield
{
 background-color:tan;
 color:darkgreen;
 margin-top: 2px;
 /*border-bottom-color:gray;
 border-right-color:gray;*/
}

.blueboard
{
 width: 90%;
 background-image: url(i/fon.jpg);
 background-color: gainsboro;
 margin-left: 5%;
 margin-top: 30px;
 font-weight: normal;
 font-size:x-small;
}

.blueboard th
{
 width: 33%;
}

.blueboard th,
.blueboard td
{
 vertical-align: top;
 padding: 30px;
}

.miniheader, .miniheader A
{
 width: 100%;
 margin-top: 15px;
 margin-bottom: 15px;
 display: block;
 background-color :#708090;
 color:tan;
 text-align: center;
 font: Tahoma;
 font-size: x-small;
 font-size: medium;
 font-weight: bold;
 line-height: 1.3;
}

.minitext
{
 text-align: left;
 padding-left:10px;
 padding-right:10px;
 margin-bottom:30px;
 font: Tahoma;
 font-size: medium;
 font-weight: normal;
 color: #708090;
}

.minitext a
{
 color: #708090;
}

.minitext a:hover
{
 color: yellow;
}

.minitext A.a
{
 font-size: small;
 font-size: medium;
}

.minitext .total_count
{
 color: #000000;
 font-size: small;
}


#indexhtml .poetry
{
 margin-top: 0px;
 margin-bottom: 0px;
 padding-left: 24%;
 white-space:pre;
}

#indexhtml .poetry .p
{
 text-indent:0;
}

dd
{
  margin-left: 20px;
  margin-bottom: 15px;
}

#disclaimer
{
 font-size: small;
}

#copyright, #copyright A
{
 font-size: x-small;
}

.front-page #copyright,
.front-page #disclaimer,
.front-page #counters
{
 color: #00000;
 text-align: center;
 margin-top:20px;
}


#exchange td
{
  text-align:center;
  align:center;
}


 A.a, .a
{
 color: #707070;
}

A.t, .t
{
 color: #444;
 color: #000;
 color: #203040;
 color: #304050;
}

A.s, .s
{
 color: #607090;
}

A.c, .c
{
 color: #405060;
 font-size: large;
}

A.c:hover
{
 color: yellow;
}

a.a, a.t, a.s
{
 white-space: pre;
}

#texts_catalog A.a
{
 font-size: small;
}

#texts_catalog A.t,
#ctjt A.t,
#ctja A.a,
#ctjs A.s,
#cta A.t,
#cts A.t,
#series_catalog A.s,
#authors_catalog A.a,
#country_catalog A.a
{
 font-size: large;
 margin-right: 3px;
}

#ctja li,
#ctjs li
{
 margin-top: 15px;
}

#ctja li li,
#left_page li,
#ctjs li li
{
 margin-top: 0px;
}

#texts_catalog A.s
{
 font-size: small;
 font-weight: bold;
}

li li A.t
{
 margin-left: 30pt;
}

A.t:hover, A.s:hover,  A.a:hover
{
  color: yellow;
}

 #excla li 
{
 margin-top: 5pt;
}
#excla li li
{
 margin-top: 0pt;
}

 td#author_foto
{
 width:100px;
}

#top_polka .a, #top_polka .s
{
 font-size: xx-large;
}


#top_polka .a
{
 color: lightsteelblue;
}

#top_polka #seriatype
{
 color: lightgray;
 font-size: large;
}

#top_polka .s
{
 color: #405070;
}

 #textcart
{
 width: auto;
 background-color:   rgb(102,117,128); color: #00000;
 background-image: url(i/pantherpaper.gif);
 margin-top: 20px;
}

#textcart th, #textcart td
{
 padding: 5px;
 font-weight:bold;
 text-align: left;
 font-family:Arial;
 color: #506070;
}

 #orphus_system
{
 font-family:Arial;
 font-size:small;
 text-align:center;
 padding:2px;
}

/*
#text_page .mainmenu, #text_page .mainmenu A
{
 background-color : rgb(227,226,172);
 color: #708090;
 font-size: small;
 text-align: center;
 padding: 3px;
}
*/

.author-info
{
  clear: both;
  padding: 20px;
  display: block;
}

.author-photo
{
  float: left;
}

.author-details
{
  padding: 0px;
  padding-left: 300px;
}

.author-fullname
{
  font-size: x-large;
  display: inline;
}
.russian-fullname
{
  font-size: large;
  margin-top: 8px;
  margin-bottom: 8px;
}

.note
{
  font-style: italic;
  font-size: small;
}

.author-birthday ul,
.author-birthday li,
.author-deathday ul,
.author-deathday li
{
  display: inline;
}

#text_page #catalog_page
{
  padding-top:70px;
  padding-bottom:70px;
}

.running_title div,
.running_title ul,
.running_title li.first,
.running_title li.last,
.running_title li
{
  display: inline;
  font-size:small;
  padding:0;
  margin:0;
}
.running_title .title
{
  padding-left:7px;
  padding-right:7px;
}
.running_title_top
{
  margin-bottom: 20px;
  border-bottom: 1px solid #708090;
}

.running_title_bottom
{
  border-top: 1px solid #708090;
  margin-top: 20px;
  padding-top: 6px;
}

.running_title_top a:hover,
.running_title_bottom a:hover
{
  color: yellow;
}

.content
{
 color: #152535;
 font-family:Times;
 clear: both;
}

p
{
 font-size: medium;
 font-weight: normal;
 line-height: 1.5;
}

.emphasis
{
 font-style: italic;
}

.dedication
{
 margin-left:55%;
 margin-top:20px;
 margin-bottom:25px;
 font-size: medium;
 font-style: italic;
}

.epigraph
{
 margin-left:60%;
 margin-top:20px;
 margin-bottom:25px;
 font-size: small;
}

.epigraph .signature
{
  text-align: right;
  font-style: italic;
  font-size: medium;

}


.copyright li, .published_from
{
 text-indent: 0px;
 margin-left: 0px;
 font-size: small;
}
.copyrights .p, #text_page .published_from .p
{
 text-indent: -20px;
 margin-left: 20px;
 font-size: small;
}

.published_from .p
{
 font-family:Arial;
 margin-top: 5pt;
 font-size: x-small;
}


ul.author
{
 font-family:Arial;
 width: 100%;
 margin-top: 20px;
 margin-bottom: 5pt;
 text-align:center;
 font-size: large;
 font-weight: normal;
}

.node-type-text a
{
 color: #152535;
}
.node-type-text
{
 color: #152535;
}

.full-title .title .p
{
 font-family:Arial;
 width: 100%;
 text-align:center;
 font-size: x-large;
 font-weight: normal;
}

.full-title
{
 margin-top: 30pt;
 margin-bottom: 30pt;
}

.part .title .p
{
 font-family:Arial;
 font-size: large;
 font-weight: bold;
 padding-left: 20pt;
 margin-top: 50px;
 margin-bottom: 30px;
 text-align:center;
}

.chapter .title .p
{
 font-family:Arial;
 font-size: large;
 font-weight: normal;
 padding-left: 20pt;
 margin-top: 40px;
 margin-bottom: 20px;
}

.title .p
{
 font-family:Arial;
 font-size: large;
 font-weight: bold;
 padding-left: 20pt;
 margin-top: 40px;
 margin-bottom: 20px;
}

.inline,
.inline-content
{
  display: inline;
}
.inline-content
{
  background:moccasin;
  background:#ffe4b5;
  background:#ddc293;
  text-indent:0;
  margin:0;
  padding:3px;
  display: none;
  font-size: small;
  border: 1px #304050 solid;
  margin:1px;
  min-width: 200px;
}

.inline
{
  position: relative;
  left: -3px;
  color: #405060;
}

.inline:hover .inline-content
{
  display: block;
  position: absolute;
  left: 12px;
  top: -8px;
}

a.note
{
  vertical-align: super;
  font-size: small;
}

.postnotes
{
  border-top: #405060 solid 1px;
  margin-top: 15px;
}

.postnotes .title
{
  font-size: large;
}

.postnote
{
  padding: 10px;
}

#contents
{
 padding-left: 10%;
}

#contents #title
{
 font-family:Arial;
 font-size: large;
 font-weight: bold;
 margin-bottom: 20px;
}

#contents a
{
 font-family:Times;
 font-size: medium;
 font-weight: normal;
 color: #000000;
}

#contents A:Hover
{
 color:yellow;
}

#contents li
{
 margin-bottom: 5px;
}

#contents li#wholetext
{
 margin-bottom: 12px;
 font-style: oblique;
}

.stanza
{
 margin-top: 20px;
 margin-bottom: 20px;
 padding-left: 24%;
}
.stanza span
{
  display: block;
}
.stanza .signature
{
  padding-left: 30%;
  text-align: left ;
  font-style: italic;
  font-size: medium;

}

.node-type-poetry .poetry
{
 margin-top: 0;
 margin-bottom: 0;
 padding-top:0;
}

.field-type-nodereference,
.field-field-author,
.field-items,
.field-item
{
 margin: 0;
 padding:0;
}

.poetry .p
{
 text-indent:0;
 line-height: 0.75;
 margin-bottom: 20px;
}

.signboard
{
  border: 4px double #152535;
  width:70%;
  margin: 0 auto;
  padding: 20px;
}
.signboard .p
{
  text-align:center;
}

.shortmessage
{
  border: 1px dotted #152535;
  width:70%;
  margin: 10px auto;
  padding: 10px;
}

.message
{
  margin-left: 10%;
  width: 85%;
  margin-bottom: 20px;
  border-bottom: 1px dotted #152535;
}

.datetime
{
 margin-top: 0;
 margin-bottom: 20px;
 padding-left: 55%;
 font-size: small;
}

sup 
{
 font-size: small;
  vertical-align: 20%;
 color: #405060;
}
sup a
{
  color: #000000;
}

sup A:Hover
{
 color:yellow;
}

.content
{
  width: 100%;
  margin-right: -100%;
}

.node
{
  margin-bottom: 40px;
}

.subtitle
{
  font-style: italic;
  margin-bottom: 20px;
}


/* Journal articles */

.node-type-story .content .field-field-epigraf .field-item
{
  white-space: pre-wrap;
  margin-left:50%;
}

.node-type-story .content p strong
{
  font-weight:bolder;
}

.node-type-story .content blockquote
{
  margin-left: 7%;
  margin-right: 3%;
  margin-top: 20px;
  margin-bottom: 30px;
}

.node-type-story .content .poetry
{
  margin-left: 20%;
  margin-right: 3%;
  margin-top: 20px;
  margin-bottom: 30px;
}

.node-type-story .content ul
{
  margin-left: 7%;
  margin-right: 3%;
  margin-top: 20px;
  margin-bottom: 30px;
}
.node-type-story .content li
{
  list-style-type:disc !important;
}

/* -- correct style for narrow screens (<600px) added by qkowlew -- */
@media screen and (max-width: 600px) {
th { display: none !important; }
td#left_page, td#r { display: none !important; }
tr#lt { display: none !important; }
#catalog_page { padding: 2% 2% 2% 8% !important; margin: 0; }
#put_under_page { width: 100%; }
#cl { background-position: -18px 0; }
#content { margin-top: 6px !important; margin-bottom: 0px !important; }
#footer { display: none; }
td { padding: 0 !important; }
.blueboard { width: 100% !important; margin: 0 !important; }
}