/*
Theme Name:		karneeva-ru
Theme URI:		http://maxsite.org/
Description:	Шаблон для karneeva.ru 
Version:		1.0
Author:			MAX
Author URI:		http://maxsite.org/
*/

/* FIRST */

* { padding: 0; margin: 0; }

html, body {margin: 0; padding: 0;}

body {font: 62.5% Verdana, Tahoma, Arial, sans-serif; background: black; color: #999999; }

p {margin: 3px 0px 7px 0px; text-ali1gn: left; }
p.cat-description {font-style: italic;}
p.bobr {clear: both;}
p.cat-description {margin-top: 15px;}
p.info {}
p.latestcomments {text-align: center;}

ul, ol {margin-left: 30px; text-ali1gn: justify;}

a { color: white; text-decoration: none;}
/* a:visited { color: #3182C0; text-decoration: none; } */
a:hover { color: #CC0000; text-decoration: underline; }
a:active { color: #F00000; }

a img { border: none; text-decoration: none;} /* ie глюк*/
a img, a:visited img, a:hover img, a img:hover, img+a, img+a:hover { border: none; text-decoration: none;}

/* H */
h1 {font-size: 13pt; line-height: 1.2em; font-weight: normal;}
h1 a {color: #999999;}
h2 {font-size: 11pt; line-height: 1.2em; }
h3 {font-size: 11pt;}
h4 {font-size: 1.1em;}
h5 {font-size: 1em;}
h6 {font-size: .9em;}


/* STRUCTURE */

#container {width: 750px; margin: 0 auto; font-size: 8pt; line-height: 1.3em;}
#sub-container {width: 100%;}

#header1 {height: 115px; text-align: right; padding-top: 15px; background: url(images/bg.gif) 320px top  no-repeat; font-size: 8pt; color: white; overflow: hidden; }

#header1 div { margin-right: -35px;}
#header1 a { font-weight: bold; text-transform: uppercase; text-decoration: none; }
#header1 .selected, #header1 a:hover { color: #ffffff; text-decoration: none; border-top: 3px solid #CC0000; text-transform: uppercase; font-weight: bold;}
#header1 img {margin-bottom: -3px;}

#header1 .selected a:hover { border-top: 0px solid #CC0000; }


#wrapper {float: left; width: 100%;}
*html #wrapper {overflow: hidden;}
*+html #wrapper {overflow: hidden;}

#content {margin: 7px 0 0 240px; padding: 0px 0px 0 100px;}
*html #content {overflow: hidden;}
*+html #content {overflow: hidden;}

#navigation-left {float: left; width: 240px; margin-left: -100%; back1ground: #F0F0F0; }
*html #navigation-left {overflow: hidden;}
*+html #navigation-left {overflow: hidden;}

#footer {clear: both; width: 100%; padding: 50px 0; color: white; }
#footer div.left {width: 230px; float: left; height: 30px;}
#footer div.right {width: 500px; float: right; text-align: right;}
#footer a {text-decoration: underline;}

#navigation-left h1 { margin-bottom: 70px; }


#content.home  {padding-top: 165px; padding-bottom: 100px;}
#navigation-left.home  {padding-top: 60px; }

div.menu-home { margin: 55px 0px 0 0; padding-bottom: 20px; background: url(images/bg.gif) bottom no-repeat; overflow: hidden; }
div.menu-home div { margin-right: -35px;}
div.menu-home a { font-weight: bold; text-transform: uppercase; text-decoration: none; padding-bottom: 3px;}
div.menu-home .selected, div.menu-home a:hover { color: #ffffff; text-decoration: none; border-bottom: 3px solid #CC0000; text-transform: uppercase; font-weight: bold; }
div.menu-home img {margin-bottom: -3px;}

/* H custom */
h1.cat {margin-bottom: 5px;}

#header1 h2 {margin: 0px;}
h2.box {margin: 0px 0px 5px 0px; padding-bottom: 15px; background: url(images/bg.gif) bottom no-repeat;}
#navigation h2.box {}

h2.first {margin-top: 0px;}
#header1 h2 {margin: 10px 0 0 20px; font-size: 1.4em; color: #f0f2f4; font-weight: normal;}
h2.main {text-align: left; margin: -10px 0 0 0;}
h2.maintop {text-align: left; margin: -20px 0 10px 0;}

h2.autor {font-size: 1.2em; margin: 0 0 5px 0; border: none; background: #80B0DA; width: 100%; padding: 4px 0 4px 0px;}
h2.autor a, h2.autor a:visited {color: white; }

h3#comments {margin: 30px 0 10px 0; padding-bottom: 15px; background: url(images/bg.gif) bottom no-repeat;}
h3#respond {margin: 10px 0;}


/* DIV BOX */

div.widget { margin: 70px 0 15px 0;}

div.maintop {margin: 0 0 25px 0; color: gray; }
div.maintop h1 { margin: 0px;}

div.maincontent { margin: 0px; padding: 0;}

div.mainbottom {padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #999999; clear: both;}
div.single {border-bottom: none; padding-bottom: 0px;}

div.counters {margin: 5px;}

div.comment {text-align: right; clear: both;}

div.wp_pagenavi {text-align: center; margin: 20px; f1ont: 13px Verdana;}
div.wp_pagenavi span {background: #DF0000; color: #FFE0E0;}
div.wp_pagenavi span a, div.wp_pagenavi span a:visited {padding: 0 3px; color: #FFE0E0;}
div.wp_pagenavi span a:hover {color: white;}
div.wp_pagenavi span.current {padding: 0 3px; background: #FFE0E0; color: #DF0000; font-weight: 900;}

div.addzakl {text-align: center; margin-top: 10px; clear: both; }

div.tellafriend {text-align: center;}

div.cat_page {background: #FFFFA0;}

div.block-autor-info {background: #EBF7FC; width: 280px; float: right; border: 1px solid #CBD5D9; margin-left: 10px; padding: 5px;}

div.wp_quotes_random {margin-right: 10px;}
div.wp_quotes_author {font-style: italic; margin-top: 5px;}

div.tags {text-align: center; line-height: 1.5em; pa1dding: 5px;}
*html div.tags {line-height: 1.9em;}
*+html div.tags {line-height: 1.9em;}
div.tags a {margin: 0 5px;}

div.cattags {font-size: 1em; line-height: 1.7em; padding: 5px; text-align: center;}
*html div.cattags {line-height: 1.9em;}
*+html div.cattags {line-height: 1.9em;}
div.cattags span {color: silver; font-size: 7pt;}
div.cattags a {margin: 0 3px; whit1e-space: nowrap;}

div.sitemap {padding: 10px;}

div.vvqbox {clear: both; padding: 10px 0;}

div.noie {text-align: center; font-size: 1.4em; line-height: 2em;}

div.addzakl {margin: 20px 0 5px 0;}

div.rel_post {margin: 15px 0;}
div.rel_post h2 {font-size: 1em;}
div.rel_post ul.last_post {margin: 5px 0 10px 15px; list-style-type: disk; font-size: 8pt; color: #3791D7; }

div.archive-desc {margin-bottom: 20px;}

/* LIST */
ul.is_link {margin: 0px 0px 10px 25px; padding: 0px; fo1nt-size: 9pt; l1ist-style-type: square;}
ul.is_link ul {margin: 0px 0px 0px 25px; padding: 0px;}

#navigation li, #navigation a {col1or: #00436A;}

ul.cat {}

ul.latest_comment {list-style-type: none; margin: 0px;}
ul.latest_comment li {margin-bottom: 5px;}
ul.latest_comment li em {display: block; text-align: right; color: gray;}

ul.page_latest_comment li {margin-top: 15px;}
ul.page_latest_comment li {margin-bottom: 15px;}

ul.last_post_cat {}
ul.last_post_cat li {}

ul.autor_post {clear: both; lis1t-style-type: none; margin: 0px 20px; color: #467AA7;}
ul.autor_post li {margin-bottom: 5px;}

ul.postspermonth {list-style-type: none; margin-top: 5px;} /* карта сайта */

ul.links {list-style-type: none; margin-left: 0px;}
ul.links li {margin-bottom: 25px;}
ul.links a {font-weight: bold;}
ul.links span {display: block;}

/* SEARCH FORM */
#searchform {margin: 5px; }
#s {fo1nt-size: 8pt; width: 110px;}
#searchsubmit {f1ont-size: 8pt;}


/* COMMENT FORM */
ol.commentlist { margin: 5px 0 20px 0; list-style-type: none;}
ol.commentlist li {margin: 5px 0 11px 0; backgrou1nd: #404040; border-bottom: 1px solid #B0B0B0; padding-bottom: 11px;}
ol.commentlist li.alt {}
p.allowed_tags {font-size: .8em; line-height: 1.1em; color: gray;}
ol.commentlist cite {font-weight: bold; font-style: normal;}

.commentmetadata {font-size: 1em;}

#commentform {} /* <form */
#comment {width: 400px; background: #404040; color: #CCCCCC; border: 1px solid #B0B0B0;} /*textarea*/
p.subscribe-to-comments {font-size: 8pt;}
#commentform #submit {padding: 0px 10px; font-size: 9pt; backg1round: #404040; col1or: #CCCCCC; bord1er: 1px solid #B0B0B0}
p.submit {te1xt-align: center;  clear: both;}

#url, #author, #email {width: 205px; background: #404040; color: #CCCCCC; border: 1px solid #B0B0B0; margin-top: 2px;}
div.secimgdiv input {background: #404040; color: #CCCCCC; border: 1px solid #B0B0B0;}
#commentform small {font-size: 1em; } 


input.ed_button {padding: 0px 2px; font-size: .9em; margin: 2px; background: #404040; color: #CCCCCC; border: 1px solid #B0B0B0;}
#wp_grins {text-alig1n: center; margin-top: 5px; margin-bottom: 15px;}
#wp_grins img {	cursor: pointer; }
#comment_quicktags {text-alig1n: center; margin: 10px 0;}

#emotion {width: 400px; margin: 15px 0; text-al1ign: justify; } 
#emotion ul li {display: inline; float: left; width: 30px; height: 30px; pad1ding: 5px 0px; } 
#emotion ul li img {cursor: pointer; margin: 0px;} 
#emotion ul {list-style-type: none; display: inline;}

/* логин-форма */
form.form-login {text-align: right; line-height: 2.0em;}
form.form-login #log {width: 130px;}
form.form-login #pwd {width: 130px;}
form.form-login #rememberme {}
form.form-login p {text-align: center; line-height: 1.4em;}

/* CALENDAR */
#calendar_wrap {}
#wp-calendar { width: 100%; border-collapse: collapse; line-height: 1.6em;}
* html #wp-calendar {margin-top: 20px; }
*+html #wp-calendar {margin-top: 20px; }
#wp-calendar caption {width: 100%; text-align: left; font-size: 11pt; margin: 15px 0 0px 0; padding-bottom: 15px; color: #999999; font-weight: bold; background: url(images/bg.gif) bottom no-repeat;}
#wp-calendar a {font-weight: bold; }
#wp-calendar td a:hover {color: #999999; text-deco1ration: none;}
#wp-calendar th { background: #CDCDCD; font-size: 1em; color: #A4A4A4; text-align: center; border-right: 2px solid black;}
#wp-calendar td { padding: 2px; text-align: center; border: 2px solid black; width: 14%;}
#wp-calendar #next {padding-right: 2px; text-align: right; border: none;}
#wp-calendar #prev {padding-left: 2px; text-align: left; border: none;}
#wp-calendar #next a, #wp-calendar #prev a {color: #999999;}
#wp-calendar td.pad {border: none;}
#wp-calendar #today { color: white; background: #999999; font-weight: bold;}
#wp-calendar #today a { color: white;}


/* IMG */
div.maincontent img {border: 1px solid white;}
img.noborder {border: none;}
table.line {border-collapse: collapse; margin: 0 0 10px 0;}
a img.imageframe, img.imageframe, table.line img {border: 1px solid white;}
table.line td {background: url(images/bg.gif) bottom no-repeat; padding: 0 0 15px 0;}


img.wp-smiley {vertical-align: middle;}
p.info img {vertical-align: middle;}
img.cmd-avatar {border: 1px solid silver;}

img.comment {margin-bottom: -3px;}

/* OTHER */
select.sel-archves {margin-left: 10px; width: 90%;}
img.rss {margin: 0 10px -7px 0;}


div.contactform #wpcf_email, div.contactform #wpcf_your_name, div.contactform #wpcf_msg, div.contactform #wpcf_website {background: #404040; color: #CCCCCC; border: 1px solid #B0B0B0; margin: 1px 0 5px 0; width: 205px;}

div.contactform #wpcf_msg {width: 400px;}
