p {margin: 3px 0px 7px 0px; line-height: 1.2em;}
ul, ol {margin-left: 15px;}

table {width: 100%;}
table th, table td {border: 1px solid #cccccc; padding: 5px 3px; vertical-align: top;}
table th {background: #f4f4f4; vertical-align: middle;}

a {color: navy; text-decoration: none; }
a:hover {color: red; text-decoration: none;}

#content a {color: navy; text-decoration: none; border-bottom: 1px dotted #4C445A;}
#content a:hover {color: red; text-decoration: none; border-bottom: 1px dotted red;}

#footer a {color: #CCCCCC; text-decoration: none; border-bottom: 1px dotted #CCCCCC;}
#footer a:hover {color: white; text-decoration: none; border-bottom: 1px dotted white;}

a.lightbox { border-bottom: none !important;}
div.gallery a {border-bottom: none !important;}

a.perelink {}
a.current_url {font-weight: bold; }

li.current_url a {font-weight: bold;}
li.current_url li a {font-weight: bold;}
li.current-page a {}

#content a.spoiler_link_hide {border-bottom: none; }
#content a.spoiler_link_show {border-bottom: none;}
#content div.spoiler_div {}

#content div.type ul, #content div.type ol {margin: 10px 0 10px 40px;}
#content {font-family: Georgia; font-size: 11pt;}


/* H */
h1 {font-size: 18pt; color: #4C445A; line-height: 1.2em; margin: 0 0 7px 0; font-weight: normal; border-bottom: 1px dotted #4C445A;}
#content h1 a {color: #4C445A; text-decoration: none; border-bottom: none;}
#content h1 a:hover {text-decoration: none; color: red; border-bottom: none;}

h1.category {font-size: 24pt; background: #4C445A; padding: 15px 5px; color: white;}
h1.home-cat-block {margin: 5px 0 5px 0;}

h2 {font-size: 12pt; margin: 25px 0 10px 0; font-weight: bold;}
h2.box, div.widget_header {margin: 0 0 5px 0; padding: 5px 0 5px 5px; font-weight: normal; font-family: Arial; background: #19151F url("../images/internal_bullets.gif") no-repeat right center; font-size: 12pt; margin: 25px 0 10px 0;}
h2.last_comment {font-size: 9pt; margin-top: 10px; color: #404040; border-bottom: solid gray 1px;}

h3 {font-size: 10pt; margin: 5px 0 10px 0;}
h3.category {font-size: 9pt; margin: 5px 0 20px 0;}

h4 {font-size: 9pt; margin: 5px 0 10px 0;}
h5 {font-size: 8pt; margin: 5px 0 10px 0;}
h6 {font-size: 7pt; margin: 5px 0 10px 0;}


/* code */
pre { margin: 10px 0; font-size: 9pt; line-height: 1.2em; background: #E8E8E8; padding: 10px; border: 1px solid #DDDDDD; overflow: auto; max-width: 600px;}
*html pre {width: 610px;}
*+html pre {width: 610px; }

blockquote {padding: 10px; margin: 15px 0 10px 40px; background: #E8E8E8;}
blockquote p {width: 100%; margin: 0; }

/* MENU */

#MainMenu {}
#tab ul {}
#tab li {display: inline;}
#tab a {display: block; float: left; line-height: 40px; height: 40px; margin-right: 1px; background: green; padding: 0 10px; text-decoration: none; text-align: center; font-weight: bold; color: white; }
#tab li.first a {}
#tab li.selected a {background: navy; color: white;}
#tab a:hover {background: navy; color: white; }




/* DIVS */

div.widget { margin: 0px 0 30px 0; color: #C0C2DB;}
div.widget a {color: #FEFFBF;}
div.widget a:hover {text-decoration: underline;}
div.widget div.w0 {position: relative;}
div.widget div.w1 {}
div.widget div.w2 {}

div.twitter {}
div.twitter p {border-bottom: 1px solid #5368A1; padding: 0 0 10px 0;}
div.twitter a {font-weight: bold;}

div.pagination {font-size: 9pt; margin: 25px 0 10px 0; text-align: center;}
div.pagination strong {background: #4C445A; padding: 2px; color: white;}

/* форма логина */
div.type_loginform div.loginform {margin: 10px auto 10px auto; background: #fcfcff; padding: 10px 15px; border: #dce0e7 solid 1px; line-height: 1.2em; <?= css_border_radius(5) ?>}
div.type_loginform form.flogin {color: #808080; font-weight: bold;}
div.type_loginform form.flogin span {}
div.type_loginform form.flogin input.flogin_user, div.type_loginform form.flogin input.flogin_password {width:100%;}
div.type_loginform form.flogin input.flogin_user:focus, div.type_loginform form.flogin input.flogin_password:focus {}
div.type_loginform form.flogin input.flogin_user {}
div.type_loginform form.flogin input.flogin_submit {}
div.type_loginform form.flogin input.flogin_submit:hover {}

div.type_loginform div.login-form-auth {clear: both; margin: -26px 0 15px 0; font-size: .8em; text-align: right;}
div.type_loginform p.flogin_submit {}
div.type_loginform p.header {text-align: center; font-size: 1.2em; background: #959595; padding: 3px; color: white;}
div.type_loginform div.form-end {text-align: right; font-size: .9em;}

/* плагин форма логина */
div.widget form.flogin input.flogin_user, div.widget form.flogin input.flogin_password {width: 98%;}
div.widget form.flogin input.flogin_submit {margin-top: 7px;}


div.page_content {margin-bottom: 20px;}
div.info {margin: 0 0 10px 0; font-size: 8pt; color: gray; line-height: 1.4em; }
div.info span {font-weight: bold;}

div.tagclouds {text-align: center; line-height: 1.6em; font-size: 8pt;}
div.tagclouds span {line-height: 1.6em; }
div.tagclouds sub {}
div.tagclouds a {}

div.catclouds {text-align: center;}
div.catclouds span {line-height: 1.4em;}

div.home_top {background: #E6F1FF; padding: 1px 5px;}

div.page_other_pages {margin: 20px 0 20px 0;}
div.page_other_pages h3 {color: black; margin: 0 0 5px 0; background: #E8E8E8; padding: 3px;}
div.page_other_pages ul {list-style-type: square;}

div.addzakl {margin: 15px 0 0 0;}
#content div.addzakl a {border: none;}

#content #rater ul.star-rating {margin-left: 0;}

/* LIST */
ul.is_link {margin: 0px 0px 10px 3px; list-style-type: none; /* square */ line-height: 1.5em;}

ul.is_link ul {margin: 0; list-style-type: none;}

ul.is_link li {margin: 0 0 7px 0; background: url("../images/menu-leaf.png") no-repeat 0 5px; padding: 0 0 0 14px;line-height: 1.1em;}
ul.is_link li li {margin-left: 10px;}

li.level0, li.level0 a {}
li.count0 {color: grey;}

ul.category {color: gray;}

ul.last_comment {font-size: 8pt; }
ul.last_comment em {display: block; color: gray; text-align: right;}
ul.last_comment li {margin-bottom: 7px;}

div.comments ul.last_comment li {margin: 5px 0;}

ul.links div {margin: 0px 0 5px 0; font-style: italic; color: gray; line-height: 1.0em; font-size: 0.9em;}


/* LAST-PAGES */
div.last-pages ul.is_link li {dis33play: none;}
div.last-pages ul.is_link li.current_url_allcat {display: block;}
div.last-pages ul.is_link li.current_url_cat {display: block;}
div.last-pages ul.is_link li.current_url_page {display: block;}


/* CALENDAR */
div.calendar table {width: 100%;}
div.calendar td {border: 1px solid white; text-align: center; padding: 1px; font-size: 8pt;}
div.calendar tr.week td {background: #D5D5E1;}
div.calendar div.today {background: #4C445A;}
div.calendar div.today-content {background: #4C445A;}
div.calendar td a {text-decoration: underline;}


/* COMMENTS */
div.comment-form {line-height: 1.2em; width: 100%;}
div.comment-form label {wid1th: 120px; font-weight: bold; fl1oat: left; te1xt-align: right; cl1ear: both; margin: 3px;}
div.comment-form p {margin: 3px;}
div.comment-form input.text {width: 300px; margin: 3px;}
div.comment-form input.no-margin {width: auto; margin: 3px; }
div.comment-form textarea {width: 99%; margin: 3px;}
*html div.comment-form textarea {width: 95%; margin: 3px;}
div.comment-form span { position: relative; top: -5px; font-size: 8pt; color: gray;}
div.comment-form span.black { font-si1ze: 9pt; color: black;}
div.comment-form input.comments_submit {width: 120px; margi1n-left: 126px;}
div.comment-form input.comments_captha {width: 90px;}
div.comment-form img { position: relative; top: 7px; }

div.comment-form div.comments-reg {border: 1px solid #C2C2C2; margin: 10px 0; backgr1ound: #E5E5F1; padding: 10px;}
div.comment-form div.comments-noreg {border: 1px solid #C2C2C2; margin: 10px 0; backg1round: #F1E5E5; padding: 10px;}
div.comment-form div.comments-textarea {border: 1px solid #C2C2C2; margin: 10px 0; backg1round: #E5F1E5; padding: 10px;}

div.comment-form div.comments-user {border: 1px solid #C2C2C2; margin: 10px 0; backgr1ound: #E5F1E5; padding: 10px; -moz-bord2er-radius: 10px; font-weight: bold;}

div.comment-ok {background: #40A040; color: white; padding: 10px; text-align: center; font-weight: bold;}
div.comment-error {background: #FF4040; color: white; padding: 10px; text-align: center; font-weight: bold;}

div.comment-form .comment_button input {margin: 0px; padding: 0 5px; font-size: 8pt;}


div.comments {margin: 20px 0 0 0; }
div.comments ul, div.comments ol {margin: 10px 0 20px 0;}
div.comments li { margin: 0 0 20px 0px;}
div.comments li span {font-style: italic;}

div.comments h3.comments {background: #E8E8E8; padding: 3px;}
div.comments blockquote {margin-left: 0; padding: 10px; border-left: 2px gray solid;}

div.comments-link {margin: 10px 0 0 0; text-align: right; font-size: 8pt;}


/* comusers*/

form.comusers-form p strong {width: 180px; display: block; float: left;}
form.comusers-form p input {width: 260px; }
form.comusers-form p input[type="submit"] {width: 120px; }
form.comusers-form p select {width: 260px; }
form.comusers-form p textarea {width: 260px; height: 300px;}
form.comusers-form p  {background: #EEEEEE;}
form.comusers-form p.info  {background: none; color: #B00000; margin: 0 0 15px 0; border: 1px solid #B00000; padding: 3px; text-align: center;}


/* SITEMAP */
div.sitemap ul {list-style-type: none; margin: 0;}
div.sitemap h3 {margin: 15px 0 5px 0;}
h2.sitemap {margin: 25px 0 0 0; background: #DDDDDD; padding: 3px;}


/* IMG */
img.text {margin: 5px 10px 5px 0px;}
img.text-left {float: left; margin: 5px 10px 5px 0px;}
img.text-right {float: right; margin: 5px 0 5px 10px;}
img.text-center {margin: 0 auto; display: block;}
img.border {border: 1px solid #3D61B6; }

img.smiley {vertical-align: middle;}

img.left {float: left; margin: 5px 10px 5px 0px;}
img.right {float: right; margin: 5px 0 5px 10px;}
img.center {margin: 0 auto; display: block;}

/*  PRE to OL */
div.pre {background: #F0F0F0; padding: 5px; overflow: auto; width: 650px; margin: 0 0 10px 0;}
ol.pre {font-family: monospace; padding: 0; margin: 0 0 0 30px;  }
ol.pre li {padding: 0; margin: 0; white-space: pre; }
ol.pre li.odd {background: none;}
ol.pre span.php-comment {color: gray;}

/* plugin FORMS */
div.forms {background: #eeeeee; padding: 10px 5px 0 5px; border: #E0E0E0 1px solid;}
div.forms div {margin: 5px 0 15px 0; }
div.forms div.break {height: 0; padding: 0; margin: 0; clear: both; }
div.forms span {display: block; float: left; text-align: right; width: 200px; padding: 0 10px 0 0;}
div.forms input, div.forms select, div.forms textarea {width: 200px;}
div.forms textarea {height: 100px;}
div.forms input.forms_checkbox {width: auto;}
div.forms input.forms_submit {width: auto;}
div.forms input.forms_reset {width: auto;}
div.forms-post h2 {color: red; font-size: 18pt; margin: 20px 0;}


div.category_desc {margin: 0 0 20px 0; font-style: italic;}

/* OTHER */
span.cut {}
div.break {clear: both;}
label {cursor: pointer;}

div.top-home {margin: 20px 0; padding: 5px; background: #989AB3 url("../images/bg-top-home.jpg") repeat-x; border: 1px solid #7E6D9F; color: white; line-height: 1.3em;}
div.top-home a {color: white; text-decoration: underline;}
div.top-home h4 {font-size: 12pt; margin: 5px 0 5px 0;}
div.top-home h4 a {text-decoration: none; border-bottom: 1px dotted white;}
div.top-home img {float: left; padding: 3px; margin: 5px 15px 5px 5px; background: #C0C2DB; border: 1px solid #7E6D9F;}

div.istok {font-style: italic; margin-top: 15px;}

table.todo {}
table.todo th {padding: 5px;}
table.todo td {border-top: 2px solid gray; vertical-align: top; padding: 2px;}
table.todo td input[type="text"] {width: 95%}
table.todo td textarea {width: 95%}
table.todo td input[type="submit"] {margin-top: 10px;}

sup, sub {vertical-align: baseline; position: relative; font-size: .7em;}
sup {top: -0.4em;}
sub {bottom: -0.3em;}

