/*
Theme Name: WordPress Shra
Theme URI: http://www.shra.ru
Description: Special theme for Shra.ru
Version: 1.6
Author: Shra
Author URI: http://www.shra.ru
Tags: blue, custom header, fixed width, two columns, widgets

*/

/* Begin Typography & Colors */
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background: #F7F7F7;
	color: #333;
	text-align: center;
	margin: 0px;
	padding: 0;
}

pre {
	background-color: #FFFFE0;
	border: 1px solid #888;
	padding: 7px;
	font-size: 10px;
}
.wp_syntax pre {
        background-color: transparent;
        border: 0px;
}

#page {
    text-align: left;
    margin: 0px auto;
    padding: 0;
    width: 960px;
}
#content {
        font-size: 1.2em;
        float: left;
}

.widecolumn .entry p {
        font-size: 1.05em;
        }

.narrowcolumn .entry, .widecolumn .entry {
        line-height: 1.4em;
}

.widecolumn {
        line-height: 1.6em;
        }

.narrowcolumn .postmetadata {
    text-align: left;
}

.thread-alt {
        background-color: #f8f8f8;
}

.thread-even {
        background-color: white; 
} 
.depth-1 {
        border: 1px solid #ddd;
} 

.even, .alt {
        border-left: 1px solid #ddd; 
}

small {
        font-family: Arial, Helvetica, Sans-Serif;
        font-size: 0.9em;
        line-height: 1.5em;
        }

h1, h2, h3 {
    font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
    font-weight: bold;
}

h2, h2.pagetitle {
    font-size: 16px;
}

h3 {
        font-size: 1.3em;
        }

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
    text-decoration: none;
    color: white;
}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
        color: #333;
        }

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
        text-decoration: none;
        }

.entry p a:visited {
        color: #b85b5a;
        }

.commentlist li, #commentform input, #commentform textarea {
        font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
        }

.commentlist li ul li {
        font-size: 1em;
} 

.commentlist li {
        font-weight: bold;
}

.commentlist li .avatar { 
        float: right;
        border: 1px solid #eee;
        padding: 2px;
        background: #fff;
        }

.commentlist cite, .commentlist cite a {
        font-weight: bold;
        font-style: normal;
        font-size: 1.1em;
        }

.commentlist p {
        font-weight: normal;
        line-height: 1.5em;
        text-transform: none;
        }

#commentform p {
        font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
        }

.commentmetadata {
        font-weight: normal;
        }

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
        color: #777;
        }

code {
        font: 1.1em 'Courier New', Courier, Fixed;
        }

acronym, abbr, span.caps
{
        font-size: 0.9em;
        letter-spacing: .07em;
        }

a, h2 a:hover, h3 a:hover {
    color: #B44;
    text-decoration: none;
}

a:hover {
        color: #147;
        text-decoration: underline;
        }

#wp-calendar #prev a, #wp-calendar #next a {
        font-size: 9pt;
        }

#wp-calendar a {
        text-decoration: none;
        }

#wp-calendar caption {
        font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
        text-align: center;
        }

#wp-calendar th {
        font-style: normal;
        text-transform: capitalize;
        }
/* End Typography & Colors */



/* Begin Structure */

#header {
    background-color: #454546;
    margin: 0 0 0 1px;
    padding: 0;
    height: 79px;
    width: 100%;
}
#headerimg {
    margin: 0;
    height: 79px;
    width: 958px;
    position:relative;
}
#headerimg .description {
    font-size: 12px;
    text-align: left;
    float: left;
    margin: 20px 0 0 15px;
}
h1 {
    font-family: Georgia,"Times New Roman",Times,serif;
    font-size: 28px;
    float: left;
}

.narrowcolumn {
    float: left;
    padding: 0 0 20px 0px;
    margin: 0px 0 0;
    width: 630px;
    overflow-x: hidden;
}

.widecolumn {
        padding: 10px 0 20px 0;
        margin: 5px 0 0 50px;
        width: 730px;
        }

.post {
    margin: 20px 0 15px;
    text-align: justify;
}

.post hr {
    display: block;
}
.post h2 {
    border-bottom:1px solid #FFFFFF;
    font-size:16px;
    margin:0;
    padding: 5px 0px;
    text-shadow:1px 1px 1px #AAAAAA;
    line-height:26px;
}
        
.widecolumn .post {
        margin: 0;
        }

.narrowcolumn .postmetadata {
        padding-top: 5px;
        }

.widecolumn .postmetadata {
        margin: 30px 0;
        }

.widecolumn .smallattachment {
        text-align: center;
        float: left;
        width: 128px;
        margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
        text-align: center;
        margin: 5px 0px;
}

.postmetadata {
        clear: both;
}

.clear {
        clear: both;
}

#footer {
    padding: 0;
    margin: 0 auto;
    clear: both;
    background: #eee;
}

#footer p {
        margin: 0;
        padding: 20px 0;
        text-align: center;
}
/* End Structure */



/*      Begin Headers */
h1 {
    padding-top: 10px;
    margin: 0px;
}

h2 {
        margin: 30px 0 0;
        }

h2.pagetitle {
        margin-top: 30px;
        text-align: center;
}

h3 {
        padding: 0;
        margin: 30px 0 0;
        }

h3.comments {
        padding: 0;
        margin: 40px auto 20px ;
        }
/* End Headers */



/* Begin Images */
p img {
        padding: 0;
        max-width: 100%;
        }

/*      Using 'class="alignright"' on an image will (who would've
        thought?!) align the image to the right. And using 'class="centered',
        will of course center the image. This is much better than using
        align="center", being much more futureproof (and valid) */

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
        
        }

.alignleft img {
        padding-left: 5px;
}

/* End Images */



/* Begin Lists

        Special stylized non-IE bullets
        Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry li {
        margin: 7px 0 8px 10px;
        }


.entry ol {
        padding: 0 0 0 35px;
        margin: 0;
        }

.entry ol li {
        margin: 0;
        padding: 0;
        }

.postmetadata ul, .postmetadata li {
        display: inline;
        list-style-type: none;
        list-style-image: none;
        }

ol li, #sidebar ul ol li {
        list-style: decimal outside;
        }

#sidebar ul ul li, #sidebar ul ol li {
        margin: 3px 0 0;
        padding: 0;
        }
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
        margin: 10px auto;
        padding: 5px 3px;
        text-align: left;
        }

#sidebar #searchform #s {
        width: 108px;
        padding: 2px;
        }

#sidebar #searchsubmit {
        padding: 1px;
        }

.entry form { /* This is mainly for password protected posts, makes them look better. */
        text-align:center;
        }

select {
        width: 130px;
        }

#commentform {
        margin: 5px 10px 0 0;
}

#commentform input {
        width: 170px;
        padding: 2px;
        margin: 5px 5px 1px 0;
        }

#commentform textarea {
        width: 100%;
        padding: 2px;
}

#respond:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
}

#commentform #submit {
        margin: 0 0 5px auto;
        float: right;
        }
/* End Form Elements */



/* Begin Comments*/
.alt {
        margin: 0;
        padding: 10px;
        }

.commentlist {
        padding: 0;
        text-align: justify;
        }

.commentlist li {
        margin: 15px 0 10px;
        padding: 5px 5px 10px 10px;
        list-style: none;
        }
.commentlist li ul li {
        margin-right: -5px;
        margin-left: 10px;
}

.commentlist p {
        margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
        margin: 5px 0;
        }

.nocomments {
        text-align: center;
        margin: 0;
        padding: 0;
        }

.commentmetadata {
        margin: 0;
        display: block;
        }
/* End Comments */



/* Begin Sidebar */
#sidebar-border, #sidebar {
    -moz-border-radius:6px 6px 6px 6px;
}
#sidebar-border {
    background:none repeat scroll 0 0 #F2F2F2;
    border:1px solid #CCCCCC;
    float:right;
    width: 272px;
    overflow:hidden;
    margin: 20px 0px;
}
#sidebar {
    font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
    padding: 20px 10px;
    width: 250px;
    float: right;
    border:1px solid #FFFFFF;
}

#sidebar form {
    margin: 0;
}

#sidebar h2 {
    border-bottom: 1px solid #FFFFFF;
    color:#445566;
    font-family: Georgia,"Times New Roman",Times,serif;
    font-size:16px;
    line-height:30px;
    margin:0;
    padding:0 5px;
    text-shadow: 1px 1px 1px #AAAAAA;        
}
        
#sidebar ul, #sidebar ul ol {
    margin: 0;
    padding: 0;
}

#sidebar ul li {
    list-style-type: none;
    list-style-image: none;
    margin-bottom: 15px;
}

#sidebar ul p, #sidebar ul select {
        margin: 5px 0 8px;
}

#sidebar ul ul, #sidebar ul ol {
    margin: 0px 0 0 10px;
}

#sidebar ul ul ul, #sidebar ul ol {
    margin: 0 0 0 10px;
}
#sidebar a {
    color:#555555;
    text-shadow:0 1px 0 #FAFAFA;
}
#sidebar ul {
    list-style: none outside none;
}
#sidebar ul ul {
    border-top:1px solid #DDDDDD;
    padding:8px 5px;
}
#sidebar ul ul ul {
    border-top:medium none;
    padding:0;
}
#sidebar ul ul li {
    background:url("images/icons.gif") no-repeat scroll 0 -280px transparent;
    padding-left:15px;
}
#sidebar ul ul li:hover {
    background:url("images/icons.gif") no-repeat scroll -10px -260px transparent;
}

#sidebar ul li a {font-size: 12px; }
#sidebar ul li a:hover { color: #880000; }

/* End Sidebar */

/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
        cursor: help;
        }

acronym, abbr {
        border-bottom: 1px dashed #999;
        }

blockquote {
        margin: 15px 30px 0 10px;
        padding-left: 20px;
        border-left: 5px solid #ddd;
        }

blockquote cite {
        margin: 5px 0 0;
        display: block;
        }

.center {
        text-align: center;
        }

.hidden {
        display: none;
        }

hr {
        display: none;
        }

a img {
        border: none;
        }

.navigation {
        display: block;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 60px;
        }
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
        display: block;
        margin-left: auto;
        margin-right: auto;
}

.wp-caption {
        border: 1px solid #ddd;
        text-align: center;
        background-color: #f3f3f3;
        padding-top: 4px;
        margin: 10px;
        -moz-border-radius: 3px;
        -khtml-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
}

.wp-caption img {
        margin: 0;
        padding: 0;
        border: 0 none;
}

.wp-caption p.wp-caption-text {
        font-size: 11px;
        line-height: 17px;
        padding: 0 4px 5px;
        margin: 0;
}
/* End captions */


.gallery {
    clear: both; 
}
.gallery-item {
    width: 24% !important;
}

/* top menu */
#topmenu {
    height: 25px;
    list-style-type: none;
    list-style-image: none;
    margin: 0 0 0 0;
    padding: 11px 0 0 0;
}
#topmenu a {
    color: #ABAAAA;
}
#topmenu li {
    height: 25px;
    line-height: 25px;
    float: left;
    margin-right: 10px;
    padding: 0px 10px;
    font-size: 13px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    color: #ABAAAA;
    background-color: #333;
}
#topmenu .current_page_item, #topmenu .current_page_item a {
    background-color: #fff;
    color: #333;
}

.sapecontent {
	font-size: 8px; 
	color: #555;
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
.sapecontent a {
	color: #070 !important;
	font-size: 8px !important;
}

