/*  
Theme Name: Paradigm.ru Positive
Theme URI: http://paradigm.ru/
Description: 
Version: 2.0
Author: Alex Musayev
Author URI: http://paradigm.ru/
*/

body { font-size:62.5%; font-family:Arial, Sans-Serif; color:#333333; background:white; margin:0; padding:0; }

h1, h1 a, h1 a:hover, h1 a:visited, 
h2, h2 a, h2 a:hover, h2 a:visited, 
h3, h3 a, h3 a:hover, h3 a:visited { margin:2em 0pt 0.5em; text-decoration:none; font-weight:normal; color:#bebea1; text-align:left; }
h2 em, h3 em, .page_title em { color:inherit; background:#e6ffc3; font-style:normal; }
h3 { font-size: 1.4em; }
h3#respond { margin-top:3em; }

big { font-size:140%; }

#layout { 
width:expression(document.body.clientWidth>1199?'1200px':(document.body.clientWidth<334?'333px':'auto'));
max-width:1200px;
min-width:333px;
color:black;
background:transparent;
text-align:left;
}

/* header */
#logo { padding:42px 28px 20px 28px; }

#logo a { display:block; padding:0; margin:0; }

#desc { color:gray; background-color:transparent; padding-left:1cm; font-size:1.4em; }

#menu { vertical-align:middle; text-align:center; }

#menu ul { list-style-type:none; }

#menu li { display:inline; float:left; }

#menu li a, #menu li a:visited, #menu li a:hover, #menu li strong {
display:block;
padding:.24em 1em .24em 1em;
font-size:1.8em;
font-weight:normal;
}

#menu li a, #menu li a:visited { color:gray; background-color:transparent; }

#menu li a:hover, #menu li a.active { color:black; background:#eeeeee url('http://a.paradigm.ru/select.gif') no-repeat top center; }

#menu li a.active_section, #menu li a.active_section:hover, #menu li a.active_section:visited { color:black; background:#eeeeee; }

#menu li strong { color:black; background:orange; }

#menu img { vertical-align:top; }

p.feeds { padding-left:42px; background:transparent url('http://b.paradigm.ru/rss-cup.png') no-repeat top left; }
/* /header */

/* main */
#shapka { margin-bottom:1em; }

.col { text-align:center; }

.post { padding:0 5mm 1cm 0; line-height:1.42em; }

.ts {
width:2cm;
padding:0 1mm 0 5mm;
text-align:center;
color:silver;
background:transparent;
}

.ts .d { font-size:2.8em; font-weight:normal; line-height:1em; }

.ts .m, .ts .y { font-size:1.1em; line-height:1em; }

.ts .y { line-height:1.32em; }

.post { font-size:1.4em; }

.post h1 {
font-size:2em;
font-weight:normal;
line-height:1em;
margin:0 0 .7em 0;
}

.page_title { margin:0 0 6mm 26.5mm; font-size:1.8em; }

.post p { margin:.8em 0 .8em 0; }

.post li { margin-bottom:.4em; }

.post .post_meta { clear:both; font-size:.9em; }

code { font: 1em 'Courier New', Courier, Fixed; }

.info { margin:1em 0 1em 0; padding:.5em 1em .5em 1em; border-top:1px solid #dadbbc; border-bottom:1px solid #dadbbc; color:gray; background:#fffeee; font-size:.9em; line-height:1.4em; }
.info a, .info a:visited { color:gray; }

.post_meta, .post_meta a, .post_meta a:visited, .post_meta a:hover { color:silver; background:inherit; }

.post_meta a.comments { background:url('http://a.paradigm.ru/comments-icon.gif') no-repeat 0 50%; padding-left:18px; padding-bottom:2px; }

.post_meta span.tags a { background:url('http://b.paradigm.ru/tags-icon.gif') no-repeat 0 50%; padding-left:18px; padding-bottom:2px; }

.post_meta span.sep { margin:0 1em 0 1em; }

.silver { color:silver; }

div.i { margin:2em 0; text-align:center; }

.lr td { padding:0 .8em 1em 0; font-size:1.8em; }
.lr, .lr a, .lr a:visited { color:silver; background:transparent; }
.lr a { padding:.4em .8em; }
.lr a:hover { color:gray; border-color:gray; background-image:url('http://a.paradigm.ru/stripes.png'); }
.lr small { font-size:.7em; }
.r { float:right; width:48%; text-align:right; }
.l { float:left; width:48%; }

.search_form { margin:0 0 1cm 22mm; text-align:center; }
.search_form input#s { width:28em; }

/* comments */
.commentlist cite, .commentlist cite a { font-weight:bold; font-style:normal; }

#commentform textarea { width:100%; }
#commentform p { font-family:Arial, Helvetica, Sans-Serif; }
textarea { width:10cm; }
label { // position:relative; top:-.1em; }
label sup { color:silver; }

div.avatar { float:left; width:38px; margin-top:.2em; padding-right:1em; background:url('http://b.paradigm.ru/comment-balloon.png') no-repeat right top; }
.cbody { float:left; width:80%; padding:0 .8em; margin:0; background:#f0f0f0; }
.avatar, .cbody { margin-bottom:1em; }
.author cite a, .author cite a:visited { padding:0 .1em; text-decoration:none; color:white; background:#ff2288; }
.cbody p { margin:0 0 .5em 0; }
.comment_info { color:silver; background:inherit; font-weight:normal; }
.sharp, .sharp:visited { text-decoration:none; color:gray; background:inherit; }
/*.commentlist cite, .commentlist cite a { font-weight:bold; font-style:normal; }

#commentform textarea { width:100%; }
#commentform p { font-family:Arial, Helvetica, Sans-Serif; }
textarea { width:10cm; }
label { // position:relative; top:-.1em; }
label sup { color:silver; }

.avatar { float:left; width:38px; margin-top:.2em; }
.avatar img { border:1px solid silver; }
.cbody { float:left; width:80%; padding-left:.8em; margin:0; }
.avatar, .cbody { margin-bottom:1em; }
.author cite a, .author cite a:visited { padding:0 .1em; text-decoration:none; color:white; background:#ff2288; }
.cbody p { margin:0 0 .5em 0; }
.comment_info { color:silver; background:inherit; font-weight:normal; }
.sharp, .sharp:visited { text-decoration:none; color:gray; background:inherit; }*/
/* /comments */
/* /main */

/* sidebar */
.section { color:inherit; background:#f5f5f5; margin:0 1em 1em 0; }
.section .c { margin:.42em 0 .32em .28em; padding:0 4mm .5em 4mm; }
.section h4 { margin:.5em 0 .4em 0; font-size:1.8em; font-weight:normal; }
.section p, .section li { margin:0 0 .5em 0; font-size:1.28em; line-height:1.42em; }
.section p { line-height:1.42em; }
.section ul, .section ol { margin:0; padding-left:1.6em; list-style-position:outside; }

/* widgets */
#tag_cloud { line-height:1.8em; }
#tag_cloud a { padding-right:.5em; }
p.twitter { padding-left:1em; font-style:italic; font-family:"Times New Roman", Georgia, serif; font-size:1.6em; color:gray; }
/* /widgets */

/* sections rounding */
b.t, b.b { display:block; background:white; }
b.t b, b.b b { display:block; height:1px; overflow:hidden; background:#f5f5f5; }
b.r1 { margin:0 5px 0 5px; }
b.r2 { margin:0 3px 0 3px; }
b.r3 { margin:0 2px 0 2px; }
b.t b.r4, b.b b.r4 { margin:0 1px 0 1px; height:2px; }

.unbordered, .unbordered b, .unbordered b b { background:transparent; }
/* /sections rounding */
/* /sidebar */

/* footer */
#footer { padding:2em 0 2em 26.5mm; font-size:1.2em; line-height:1.42em; }
#footer , #footer a, #footer a:visited, #footer a:hover { color:silver; background-color:inherit; }
#footer td>div { padding-right:1em; }
#footer #copy { padding-left:186px; background:url('http://a.paradigm.ru/shtuki.png') no-repeat 0 2px; text-indent:-1.1em; }
#footer a img { margin-bottom:5px; }
/* /footer */

acronym, abbr, span.caps { cursor: help; }

acronym, abbr { border-bottom: 1px dashed #999; }

blockquote { margin: .8em 0 .8em 2em; padding-left:.5em; border-left: 5px solid #ddd; color:gray; background:transparent; }

hr { display: none; }

a img { border-width:0; }

a, a:hover, a:visited { color:#0099ff; background-color:inherit; text-decoration:underline; }

a:visited { color:#003366; }

td { vertical-align:top; }

/* highlight.js */
pre code { display: block; background: #fafaea; padding:.4em .8em .4em .8em; border-width:1px 0 1px 0; border-style:solid; border-color:#e9e9d9; }

pre code, .ruby .subst { color:black; }

.string,
.function .title,
.class .title, 
.tag .attribute .value,
.css .rules .value,
.preprocessor,
.ruby .symbol,
.built_in,
.sql .aggregate,
.django .template_tag,
.django .variable,
.smalltalk .class {
color:#800;
}

code .comment,
.java .annotation,
.template_comment {
color:#888;
}

.number,
.regexp,
.javascript .literal,
.smalltalk .symbol,
.smalltalk .char {
color:#080;
}

.javadoc,
.ruby .string,
.python .decorator,
.django .filter .argument,
.smalltalk .localvars,
.smalltalk .array,
.css .attr_selector,
.xml .pi {
color:#88F;
}

.keyword,
.css .id,
.phpdoc,
.function .title,
.class .title,
.vbscript .built_in,
.sql .aggregate,
.rsl .built_in,
.smalltalk .class,
.xml .tag .title {
font-weight:bold;
}

/* sape */
.ad p { padding-left:1.42em; text-indent:-1.42em; }
.ad, .ad h4, .ad a, .ad li, .ad li a { color:gray; background:transparent; }

ul.arch>li>ul>li { display:inline; float:left; margin:0 1em 1em 0; }
ul.arch>li>ul>li a { display:block; float:top; }
div.clr { clear:both; }
img.alignleft { margin-right:1em; }
img.aligncenter { margin:1em 0; }

.pl_cloud { margin:1.5em 2em 3em 2em; }
.pl_contents { margin:1.5em 2em 3em 2em; }
.pl_cat_title {  }
.pl_prefix { color:silver; }
.pl_cnt { color:silver; }
.pl_postlist ul {  }
.pl_date { color:silver; }
.pl_expand { font-size:.7em; }
.pl_expand a, .pl_expand a:visited { color:gray; }
.pl_cloud .pl_expand { margin:1em 0 0 0; }
.pl_postlist .pl_expand { margin:1em 0 2em 2em; }

.hi { background:#e6ffc3; }
.feedmates { margin-top:1em; }
.adsense_line { margin-top:2.8em; }

p img {
padding: 0;
max-width: 100%;
}

img.centered {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}

.alignright {
float: right;
}

.alignleft {
float: left
}