/*
Theme Name: Roman-Glory-4
Theme URI: 
Description: Тема WP для Roman-Glory.com
Version: 4.0
Author: MAX
Author URI: http://maxsite.org/
*/

body {background: white; font-size: 8pt; font-family: Tahoma, Verdana, Arial, "sans-serif"; margin: 10px 20px 15px 20px;}

a, a:visited {color: #A60000; text-decoration: none;}
a:hover {text-decoration: underline}

a img, a:hover img, a:visited img {border: none; background: none;}
a.img, a.img:hover, a.img:visited, div.stroycontent a.img {border: none; background: none;}

#header {wid1th: 830px; margin: 0px; height: 131px; background: white;}
#header-lang {text-align: right; word-spacing: 0.5em; margin: 10px 0 0 0;}
#header-nav {width: 100%; text-align: right; font-weight: bold; font-size: 1.1em; margin-bottom: 5px;}

td.line {background: url("images/line.gif") repeat-x; height: 1px; line-height:1px;}
td.line-left {width: 35px; height: 1px; background: url("images/line-left.gif") no-repeat;}
td.line-right {width: 35px; height: 1px; background: url("images/line-right.gif") no-repeat;}


* html #header-nav { mar1gin-top: -16px;}
#header-nav a, #header-nav a:hover, #header-nav a:visited {color: #808080;}

table.posts-home {margin-left: 0px; margin-right: 18px; margin-bottom: -30px;}
table.posts-home td {vertical-align: top; padding: 10px 10px 25px 10px;}
table.posts-home td.t1 {width: 120px; text-align: center; }
table.posts-home td.t2 {}
table.posts-home td.t2 ul.cat_post {mar1gin-left: 20px;}
table.posts-home td.t2 ul.cat_cat {mar1gin-left: 20px;}

td.header1 {width: 250px; height: 121px; background: url("images/header1.gif") no-repeat;}
td.header2 {background: url("images/header-bg.gif") repeat-x; text-align: center;}
td.header3 {background: url("images/header3.gif") no-repeat; width: 65px; vertical-align: top;}

td.menu {width: 250px;}
td.posts {padding: 0px 0 0 20px; text-align: left;}

table.main {margin-top: 10px; width: 100%}

div.footer1 {margin-top: 10px; float: left; width: 88px;}
div.footer2 {text-align: center; margin-top: 10px; color: #808080; width: 100%;}

#menu { padding: 0; margin: 0px; width: 250px;}

div.meta-top {color: #808080; margin-top: 7px;}
div.meta-top a, div.meta-top a:visited {color: #808080;}
div.meta-top a:hover {text-decoration: underline;}
div.meta-top strong {padding: 3px 0 3px 0; text-transform: uppercase;}

div.stroycontent {margin: 0px 0px 0px 0px; font-size: 10pt; text-align: justify;}

div.subtags {background: #F8F8F8; color: gray; padding: 2px;}

div.breadcrumb {margin-top: 0px; }

div.roundbox {width: 220px; border-left: 1px solid #D9D9D9; border-right: 1px solid #D9D9D9; padding: 0px 14px 1px 14px;}
img.roundboxbottom {margin-bottom: 10px;}

.wp_pagenavi {text-align: right; margin-top: 30px; font-size: 10pt; margin-bottom: 10px; font-size: 8pt; color: #A1A1A1;} 



p {color: #17283A; margin-top: 4px; margin-bottom: 8px; line-height: 140%; font-size: 10pt;}
p.vrez {color: maroon; margin-top: 5px; margin-bottom:10px; font-style: italic; }
p.menu, p.menu a, p.menu a:visited {color: black; font-size: 8pt;}
p.menu1, p.menu1 a, p.menu1 a:visited {color: black; font-size: 8pt;}

#menu p {margin: 0px;}

ul {line-height: 130%;}

p.podpis {color: maroon; font-weight: bold; text-align: right; margin-top: 30px;}
p.autor {color: maroon; font-weight: bold;}
p.original {font-style: italic; color: navy;}
p.razdel {background-color: #D9D9D9; font-size: 11pt; font-weight: bold; padding: 1px; padding-top: 4px; padding-left: 5px; fo1nt-family: Arial, sans-serif; color: #404040};


p.nocomments {text-align: right; color: gray; margin: 7px;}

p.pagenav {margin-top: 30px; margin-bottom: 0; padding: 2px; font-weight: bold; border-top: 1px solid silver; color: #274056;}
ul.pagenav {margin-top: 4px;}

p.favorite, p.favorite a, p.favorite a:hover, p.favorite a:visited {color: #177AA4; text-align: right; font-size: 7pt; margin: 0; margin-top: 20px;}

p.subscribe-to-comments {text-align: right; margin-right: 5px;}

.credit {color: white; font-size: 8pt; margin: 3px; margin-right: 7px; text-align: center; }
.credit a:link, .credit a:hover, .credit a:visited {color: white; text-decoration: none; border: 0; }

span {font-weight: bold;}
.begun span {font-weight: normal;}

pre {background: #F8F8F8; font-size: 9pt; border-top: 1px silver dashed; border-bottom: 1px silver dashed; padding: 5px; padding-right: 0; color: black; overflow: auto;}
* html pre { overflow: scroll; width: 510px; padding: 5px; }

blockquote.otstup {background: none; border-left: 2px silver solid; margin-left: 40px; }

blockquote p {font-size: 10pt; color: #274056; margin: 0 0 0 40px;}
blockquote.otstup p {margin-left: 10px;}

div.stroycontent blockquote a, div.stroycontent blockquote a:visited {color: red; border: none;}
div.stroycontent blockquote a:hover {background: none; color: red; text-decoration: underline; border: none;}



li {color: black; line-height: 140%;}
ul.text { margin-top: 5px;}
ul.text li, ol li { margin-bottom: 3px; font-size: 10pt; line-height: 120%; }

h1 {margin-top: 13px; margin-bottom: 7px; font-weight: bold; font-size: 14pt; color: #808080;}
h1.search {margin-top: 13px; margin-bottom: 17px; font-weight: bold; font-size: 10pt; color: #DE6D45; border: 1px solid #DE6D45; padding: 3px; background: #F1EFE2;}

.storytitle {margin: 10px 0 2px -1px; color: #808080; font-size: 11pt; font-weight: bold; font-f1amily: Verdana, Arial, Sans-Serif; text-tran1sform: uppercase;}
.storytitle a, .storytitle a:hover, .storytitle a:visited {color: #808080;}


.zagmal {font-size: 11pt;}
.podzag1 {font-size: 11pt; margin: 0px;}
.podzag2 {font-size: 11pt; margin: 0px;}


h2 {font-size: 10pt; margin: 15px 0 0 0; padding: 0; color: #808080;}

ul.mchild {margin-top: 0;}
ul.mchild li {color: #6B9D3A;}
ul.mchild li.current {color: gray;}

h2#comments, h2#postcomment { border: 0; color: #ECECEC; background-color: #A4BBC8; }

h2.pagetitle {margin: 5px;}

h3 {font-size: 10pt;}

h4, h4 a {color: white; font-size: 10pt; background-color: maroon; margin: 15px 0 5px 0; padding: 1px;}
* html h4 {padding-left: 15px;}

h5 {font-size: 12pt; font-fa1mily: Georgia, Times New Roman; color: #1D5F9A; margin-top: 25px; margin-bottom: 5px;}

h6 {font-size: 12pt; font-fami1ly: Georgia, Times New Roman;}

h7 {font-size: 6pt; font-weight: normal}


#commentform {margin: 0; margin-left: 0px;}
.commentmetadata a, .commentmetadata a:hover, .commentmetadata a:visited {border: none; color: gray;};
#commentform #author, #commentform #email, #commentform #url {background: #FFFFFF; border: 1px #7F9DB9 solid;}
#commentform textarea {background: #FFFFFF; width: 100%; border: 1px #7F9DB9 solid;}
#commentlist li ul { border-left: 1px solid #ddd; list-style-type: none;}

ol.commentlist {margin-top: 10px; margin-bottom: 10px;}
ol.commentlist li {clear: both;}
ol.commentlist li table {width: 100%; border: 1px solid #E8E8E8; float: left; margin-bottom: 10px;}
* html ol.commentlist li table {float: none;}

ol.commentlist li.alt table {background: #F0F0F0; align: top;}
ol.commentlist li.master table {background: #F0F0F0;}
ol.commentlist li.altmaster table, ol.commentlist li.mastermaster table {background: #F8F8F8;}

#commentform #submit {color: #808080;}

#commentform p.submit {text-align: right; margin-right: 7px;}

#respond, #comments, #postcomment {font-size: 10pt; margin: 0; border: 0; color: #808080; background: #F0F0F0; padding: 3px;}
* html #respond {padding-left: 15px;}

#comment {border: 1px solid #7F9DB9;}
#securitycode {border: 1px solid #7F9DB9;}



#menu ul { list-style-type: none; margin: 0px; padding: 0px}

#menu li.general, #menu li.general_first {font-size: 10pt; margin-top: 0px; font-weight: normal;}

#menu ul.children li, #menu li.page_item, #menu .is_arhiv li {margin-left: 25px; margin-top: 0px; font-size: 9pt; list-sty1le-image: url(images/bullet.gif); text-transform: none; font-weight: normal; color: #A60000;}
* html #menu ul.children li, * html #menu li.page_item, #menu .is_ar1hiv li {lis1t-style-image: url(images/bullet_ie.gif);}

#menu li.news_item {font-size: 8pt; margin: 0px; margin: 3px 0px 4px 0px;}
#menu li.news_item a {color: #A60000;}
#menu li.news_item a:hover {text-decoration: underline;}


#menu h2.pages, #menu h2.pages_search {font-size: 10pt; margin-top: 3px; font-weight: normal; color: #808080; background: none;}

#menu h2.pages_search {font-size: 10pt; margin-top: 0px;}

#menu a {co1lor: black;}
#menu li.general_first a, #menu li.general a {color: #A60000; font-we1ight: bold; }
#menu li.general_first a:hover, #menu li.general a:hover {text-decoration: underline;}
#menu ul.children li, #menu ul.children li a, #menu .is_link a, #menu .is_arhiv li, #menu .is_arhiv a {color: #A60000;}
#menu ul.children li a:hover, #menu .is_link a:hover {text-decoration: underline;}

ul.is_kat {font-size: 10pt;}

#menu form { margin: 5px 0 0 0; }
#s {margin-left: 0px; margin-top: 0px; padding: 0; width: 191px; background: #fafafa; border: 1px solid #999; color: black; }

#searchsubmit {width: 23px; margin: 0px; border: 0px; background: transparent url("images/submit.gif") 0px 0px no-repeat; height: 18px;}

#s, #searchsubmit {
vertical-align: middle;
}


div.gallery {width: 515px;}
img.gallery_item {margin: 0px; border: 2px solid #ccc;}
img.gallery_item:hover {border: red solid 2px;}

.gravatar, a .gravatar, a:hover .gravatar { float: left; margin: 8px 9px 0px 0px; border: 1px solid black;
}

div.sep {height: 3px; margin: 10px 0px 0px 0px; background: transparent url(images/sidebar-sep.gif) center no-repeat;}

.contactform {position: static;	overflow: hidden;}
.contactleft { width: 25%; text-align: right; clear: both; float: left; display: inline; padding: 4px; margin: 10px 0;}
.contactright {width: 70%; text-align: left; float: right; display: inline; padding: 4px; margin: 5px 0;}
.contacterror {border: 1px solid #ff0000;}

div.rss {background: #fefff0; padding: 5px;}
h1.rss {color: white; font-size: 10pt; background: black; padding: 3px; margin-top: 5px;}
a.rss, a.rss:hover, a.rss:visited {color: white; background: none;}
p.rssdate {font-size: 8pt; color: #FFA700; margin: 0px;}
p.updaterss {text-align: right;}

#comment_quicktags {margin-top: 5px;}

p.moods {background: #FFF0FF; padding: 2px; font-size: .9em; margin-top: 10px;}


#democracy {margin-top: 5px;}
#democracy ul {margin-top: 5px;}
#poll-question {font-size: 10pt; font-weight: normal; color: #808080;}


ul.cat_cat {backgroun1d: #F0F0F0; list-style-type: none; margin: 0; padding-left: 41px; font-size: 10pt;}
ul.cat_cat li:before {}

ul.cat_post {list-style-type: none;}
ul.cat_post li {marg1in: 10px 0 2px -1px; color: #A60000; font-size: 10pt; font-weight: normal; }
ul.cat_post li a, ul.cat_post li a:hover, ul.cat_post li a:visited {color: #A60000;}
ul.cat_post {margin-left: 40px;}
ul.cat_cat {margin-bottom: 10px;}

h1.category, h1.category-home {font-size: 12pt; margin-top: 0;}
h1.category-home {font-weight: normal;}
h1.notfound {font-size: 12pt;}

/* карта сайта */
ul.postspermonth {list-style-type: none; font-size: 10pt; margin: 10px 0 20px 40px;}

/* таблицы для изображений */
table.image {border: 0px; border-collapse: collapse;}
table.image td {padding: 0px; vertical-align: top; color: #808080;}

/* таблицы в обычных записях */
table.table {border: 1px solid #C0C0C0; border-collapse: collapse;}
table.table .t3 {font-weight: bold;}
table.table td {border: 1px solid #C0C0C0; padding: 5px; vertical-align: top; text-align: left;}
table.table caption {color: #808080;}

/* таблицы в спутниковых картах */
table.map {border: 1px solid #C0C0C0; width: 650px; border-collapse: collapse;}
table.map td {border: 1px solid #C0C0C0; padding: 5px;}

/* реклама */
.block_rekl * {background: transparent none repeat scroll 0 0; border: medium none; clear: none; clip: rect(auto, auto, auto, auto); font-size: 100%; font-style: normal; font-variant: normal; font-weight: normal; height: auto; letter-spacing: normal; line-height: normal; margin: 0; overflow: visible; padding: 0; position:static; text-align: left; text-decoration: none; text-indent: 0; text-transform: none; vertical-align: baseline; visibility: visible; white-space: normal; width: auto; word-spacing: normal; z-index: auto; cursor: pointer;}
.block_rekl li {display: list-item; list-style-image: none; list-style-position: outside; list-style-type: none; display: inline;}
.block_rekl li DIV {padding-bottom: 5px;}
.block_rekl {width: 220px; font-family: Tahoma, Verdana, Arial, "sans-serif"; font-size: 10pt; background-color: #FFFFFF; padding: 2px 0 0; margin: 0 0 -5px; position: relative; display: block;}
.block_rekl_icnt, .block_rekl_icnt * {text-align: left;}
.block_rekl_text, .block_rekl_text A, .block_rekl_text A:hover {color: #000000; font-size: 8pt;}
.block_rekl_url {color: #808080; font-size: 8pt;}
.block_rekl_header, .block_rekl_header A {color: #A60000; font-size: 9pt;}
.block_rekl_clear {clear: both;}
.block_rekl TABLE {width: 100%; border: 0px;}


/* ручные ссылки */
p.rekl {padding-top: 5px; font-size: 8pt; font-style: normal; font-variant: normal; font-weight: normal; height: auto; letter-spacing: normal; line-height: normal; color: #000000;}