/* reset css */
html, body {margin:0px; padding: 0px; font-family: Verdana, sans-serif; font-size: 100%;}
h1, h2, h3, h4, h5, h6, pre, code, input, select, textarea {font-size: 100%;}
h1, h2, h3, h4, h5, h6 { margin:0; font-weight: normal;}

div, form {margin: 0px;padding: 0px;}

table, tr, td {margin: 0px;padding: 0px; border-collapse: collapse;}
table tr td {padding: 0;}

img, fieldset {margin: 0px;padding: 0px;border: 0px;}
input, ul, ol {margin: 0;padding: 0;}
ul li {list-style-type:none;}
/* reset css */

#wrapper
{
    max-width: 1280px;
    min-width: 1000px;
    margin: auto;
}

#header
{
    background-image: url(../images/header.jpg);
    height: 292px;
    background-repeat: no-repeat;
    position: relative;
}

#logo
{
    position: absolute;
    top : 24px;
    left: 5%;
}

#logo div
{
    font-family: Georgia, serif;
    font-size: 16px;
    margin-top: 3px;
    margin-left : 5px;
}

#fon_menu
{
    background-color: black;
    height: 56px;
    border: 1px solid black;
    position: relative;
}

#fon_menu ul
{
    list-style-type: none;
    width: 1015px;
    margin-top: 14px;
    position: absolute;
    left : 50%;
    margin-left: -535px;
    
}

#fon_menu ul li
{
    float: left;
    margin-left: 40px;
    list-style-image: none;
    margin-top : 0;
}

#fon_menu ul li a:link, #fon_menu ul li a:visited
{
    font-family: Georgia, serif;
    font-size: 18px;
    text-decoration: underline;
    color : white;
}

#fon_menu ul li a:hover
{
    color : #f96210;
}

#fon_menu ul li.current a, #fon_menu ul li.current_page_item a
{
    color  : #909090;
    text-decoration: none;
}

#content_area
{
    padding : 44px 46px;    
}

#sidebar
{
    width  :260px;
    float: right;
    font-size: 15px;
    font-size: 15px;
}

#content
{
    margin-right : 300px;
    font-family: Verdana, sans-serif;
    font-size: 100%;
    color: black;
}

h1.cont_heading+.anons
{
    margin-top: 30px;
}

.breaker
{
    clear : both;
}

table#paginator
{
    margin: auto;
}

table#paginator td {
    text-align: center;
    padding: 5px 10px;
}

.wp-pagenavi a {
	padding: 0 5px;
}


table#paginator td a.current
{
    text-decoration: none;
}

#footer
{
    border: 1px solid black;
    height : 113px;
    background-color: black;
    padding : 0 46px;
    font-family: Georgia, serif;
    font-size: 14px;
    color : white;
}

#footer a:link, #footer a:visited
{
    color : #69a5ea;
}

#footer a:hover
{
    color : #f96210;
}

#copy
{
    margin-top: 23px;
    float : left;
}

#copy div
{
    margin-top: 2px;
}

#counters
{
    margin-top: 23px;
    float: right;
}

.anons
{
    border-bottom: 2px solid #cbcbcb;
    margin-bottom: 35px;
    padding-bottom: 23px;
}

a.more
{
    margin-top: 13px;
    font-family: Georgia, serif;
}

img.cut
{
    margin-left: 5px;
}

img.more
{
    vertical-align: baseline;
}

#sosed img
{
    margin-right: 10px;
}

#sosed div
{
    margin-top : 10px;
}

#soput
{
    margin-top : 40px;
}

.commentlist {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.children {
	list-style: none;
}

#comments
{

}

.comment
{
    border-top:  1px solid #cbcbcb;
    margin-top : 30px;
    padding-top: 10px;
}

.comment .comment
{
    margin-left: 50px;
}

.comment p
{
    margin-top: 5px;
    margin-bottom: 10px;
}

.comment p.inf
{
    margin-bottom: 0;
}

h2 + .comment
{
    margin-top: 5px;
}

.comment_text
{
    margin : 5px 0;
}

.com_paginator
{
    margin-top: 25px;
}

.com_paginator a.current
{
    text-decoration: none;
}

a.alink
{
    text-decoration: none;
    border-bottom: 1px dashed #0078ff;
}

a.alink:hover
{
    text-decoration: none;
    border-bottom: 1px dashed #f96210;
}
/*добавление коммента*/

#add_com
{

}

#add_com ul li
{
    list-style-image: none;
}

#add_com .pole
{
    width : 350px;
}

.otvet1
{

}

.otvet1 ul
{
    margin: 0;
}

.otvet1 ul li
{
    list-style-image: none;
}

.otvet1 li input.pole
{
    width : 350px;
}


/** text **/

h1, h2, h3, h4, h5, h6
{
    font-family: Georgia, serif;
    margin-bottom: 2px;
    margin-top: 30px;
}

h1
{
    font-size: 27px;
}

h2
{
    font-size: 21px;
}

h3
{
    font-size: 20px;
}

h4
{
    font-size: 18px;
}

p.main
{
    padding: 15px 30px;
    font-style: italic;
    border-top: 2px solid #cbcbcb;
    border-bottom : 2px solid #cbcbcb;
}

#content p.inf
{
    font-size: 13px;
    color : #7d888c;
    font-family: Georgia, serif;
    margin-top: 7px;
}

p.inf+p
{
    margin-top: 10px;
}

a:link
{
    color : #0078ff;
}

a:visited
{
    color: #5c0d1d;
}

a:hover
{
    color: #f96210;
}

p,li,cite
{
    line-height: 1.5;
}

p, ul, ol, cite
{
    margin-top: 30px;
}

h1+p, h1+ul, h1+ol, h1+cite,
h2+p, h2+ul, h2+ol, h2+cite,
h3+p, h3+ul, h3+ol, h3+cite,
h4+p, h4+ul, h4+ol, h4+cite,
h5+p, h5+ul, h5+ol, h5+cite,
h6+p, h6+ul, h6+ol, h6+cite
{
    margin-top : 0;
}

h1.cont_heading, h2.cont_heading, a.comment_heading
{
    margin-top:0;    
}

h1.cont_heading+p, h1.cont_heading+ul, h1.cont_heading+ol, h1.cont_heading+cite
{
    margin-top: 30px;
}

li
{
    margin-top: 10px;
}

ul ul, ul ol,ol ul,ol ol
{
    margin-top : 10px;
}

ul
{
    list-style-image: url(../images/li.jpg);
    vertical-align: middle;
    list-style-type: none;
        }

ul, ol
{
    margin-left  : 25px;
}

cite, cite p, cite ol, cite ul
{
    font-style: normal;
    color: #418377;
    padding : 0 30px;
}
/** text **/

/** sidebar **/

form.search
{
    margin-bottom: 23px;
}

input.search
{
    padding : 2px 0 1px 7px;
    width : 226px;
    border  : 1px solid black;
    font-size: 12px;
    
    float  : left;
}

.search
{
    color : #7d888c;
}

.search-black
{
    color: black;
}

input#long
{
    width: 70%;
}

#sidebar a:link, #sidebar a:visited
{
    font-family: Georgia, serif;
    font-size: 16px;
    color: #0078ff;
}

#sidebar a:hover
{
    color: #f96210;
}

#sidebar h2, #sosed h2, #soput h2, #comments h2
{
    color : #4c5a64;
    margin-bottom: 15px;
}

#sidebar #recomend p
{
    margin: 5px 0 24px 0;
}

#sidebar #rubric, #sidebar #recomend
{
    margin-top : 40px;
}

#sidebar #recomend ul li a {
	display:table-cell;
}

#sidebar ul
{
    margin-left: 0;
}

#sidebar ul li
{
    list-style-image: none;
}

#sidebar ul ul
{
    margin-left : 25px;
}

#sidebar ul ul li
{
    list-style-image: url(../images/li.jpg)
}

#sidebar #rubric ul li.current a, #sidebar #rubric ul li.current-cat a
{
    text-decoration: none;
    color: black;
    font-weight: bold;
}
/** archives **/

#podrazdel
{
    float: left;    
}

#podrazdel ul
{
    margin: 0;
    padding: 0;
}

#podrazdel ul li
{
    display: block;
    float: left;
    margin-right: 20px;
    margin-bottom: 40px;
}

#podrazdel ul li a
{
    font-family: Georgia, serif;
    font-size: 20px;
}

#podrazdel ul li.current a
{
    text-decoration: none;
    color : #7b888c;
}

table#archive
{
    clear: left;
    width : 100%;
}

table#archive tr
{

}

table#archive tr td
{

}

table#archive td.left_col table.month
{
    float : left;
}

table#archive td.center_col table.month
{
    margin-left: auto;
    margin-right: auto;
}

table#archive td.right_col table.month
{
    float : right;
}

table.month
{
    width : 190px;
    margin-bottom: 40px;
}

table.month caption
{
    text-align: left;
    font-family: Georgia, serif;
    font-size: 21px;
    color : #4c5a64;
}

table.month td
{
    padding-top: 7px;
}

table.month td.data
{
    width : 25px;
    font-family: Georgia, serif;
    color : #7b888c;
    font-size: 18px;
}

table.month td.head
{
    width: 165px;
    font-size: 80%;
}
