/*
Theme Name: 1024px
Theme URI: http://andreasviklund.com/wordpress-themes/
Description: A light and extremely simple theme with 2 columns. It is based on Andreas' <a href="http://andreasviklund.com/templates/1024px/">1024px CSS template</a>. Updated to support tags, category descriptions, gravatars and more. Validates as XHTML 1.0 Strict. Public domain.
Version: 2.7
Author: Andreas Viklund
Author URI: http://andreasviklund.com/
Tags: fixed width, two columns, white, blue, widgets, 1024px, andreas, valid CSS, valid XHTML
*/

@font-face {
 font-family: Church-AI; 
 src: url("../../../shrift/CyrillicOld.eot"); /* EOT file for IE */
}

@font-face {
 font-family: Church-AI; /* Гарнитура шрифта */
 src: url(../../../shrift/Orthodox_Loose.ttf); 
 }

* {margin:0; padding:0;}

body {
background:#e9e7e6 url(../../uploads/2013/10/fon.gif) repeat; 
color:#313131; 
font:100% "Times New Roman",Tahoma,Arial,sans-serif; 
line-height:1.3em; 
padding:0px;
}


#footer1 p {padding: 22px 0 0 0;}

#sliderfon {
position: relative;
left: -37px;
margin: 0px 0px -365px 0px;
top: -298px;
width: 773px;
height: 365px;
background: url(../../uploads/2013/10/slaider.png) no-repeat;
z-index: 1;
}

#rus {background: url(../../uploads/2013/10/header222.png) top repeat-y; width: 1000px; margin:0 auto; padding: 100px 0px 0px 0px;}


#verhfon 
{background:#e9e7e6 url(../../uploads/2013/10/fon-header.jpg) top no-repeat; 
height:374px;
}

#verh {background: url(../../uploads/2013/10/header000.png) top no-repeat; 
height:433px; width: 1000px; margin:0 auto;}


.telefon { 
position: relative;
left: 190px;
margin: 0px 0px -50px 0px;
top: 40px;
width: 120px;
height: 50px; }

.telefon h2 {
font-size:1.4em; 
font-weight:300; 
padding:0px;
font-family: Church-AI,Tahoma,Arial,sans-serif; 
color: #786752;}

.telefon h3 {
font-size:1.5em; 
font-weight:700; 
padding:0px;
font-family: sans-serif; 
color: #786752;}

.logo { 
position: relative;
left: 310px;
top: 40px;
margin: 0px 0px -100px 0px;
width: 360px;
height: 100px; 
z-index: 3;
}

.logo h1 {
font-size:29pt; 
font-weight:500; 
padding:0px;
font-family: Church-AI,Tahoma,Arial,sans-serif; 
color: #786752;
margin: 15px 0px 0px 0px;
text-align: center;}

.logo a:hover {text-decoration:none;}
.logo a {color: #786752;}


.adres { 
position: relative;
left: 640px;
margin: 0px 0px -50px 0px;
top: 40px;
width: 170px;
height: 50px; 
}


.adres h2 {
font-size:1.5em; 
font-weight:300; 
padding:0px;
font-family: Church-AI,Tahoma,Arial,sans-serif; 
color: #786752;
text-align: right;
}

.adres h3 {
font-size:1em; 
font-weight:700; 
padding:0px;
font-family: sans-serif; 
color: #786752;
text-align: right;}

#slidernew {margin: 160px 0px 0px 150px;}

.statya { 
position: relative;
background: url(../../uploads/2013/10/statya.png) no-repeat;
height: 289px;
left: 130px;
margin: 0px 0px -289px;
top: -356px;
width: 153px; }

/* Main wrap */
#wrap {background: url(../../uploads/2013/10/header2.png) top repeat-y; width: 1000px; margin:0 auto;}


#slogan {color:#808080; font-size:1.5em; font-weight:bold; letter-spacing:-1px; line-height:1.2em; margin:15px 0 20px 35px;}
#toplinks {padding:5px 2px 2px 3px; text-align:right;}

/* Headers */
h1 {color:#4088b8; font-size:3.2em; line-height:.8em; letter-spacing:-2px; margin:10px 0 5px 25px;}
h1 a {color:#4088b8;}
h1 a:hover {text-decoration:none;}

h2, table#wp-calendar caption 
{
text-align:left; color:#313131; font-size:1.4em; letter-spacing:0px; margin:0 0 8px; padding:0 2px 4px 5px;
}

h3 {color:#313131; font-size:1.2em; font-weight:bold; margin:10px 0 8px; padding:1px 2px 2px 3px;}


table {
    width: 100%; /* Ширина таблицы */
border-collapse: collapse;
   }


.cena td {
    border: 1px solid #000000; /* Граница вокруг ячеек */
    padding: 5px; /* Поля в ячейках */ 
   }


/* Sidebar */
#sidebar {
float: left;
margin: 0px 0px 0px 150px;
padding: 0px;
width: 190px;
}
#sidebar p,#sidebar ul,#sidebar .textwidget {margin:0 0 15px 0px;}
#sidebar li {list-style:none; margin:0 0 12px;}

#sidebar li a {
font-size:1.5em; 
font-weight:300; 
padding:5px;
font-family: Church-AI,Tahoma,Arial,sans-serif; 
color: #786752;
}


#sidebar ul ul {margin:5px 0 5px 10px;}
#sidebar ul ul li {margin:0 0 5px;}
#sidebar ul ul li a {font-weight:normal;}

/* Content */

#content 
{
float: right;
line-height: 1.5em;
margin: 0px 150px 0px 0px;
text-align: left;
width: 500px;
min-height: 550px;
}

#content ul,#content ol {margin:0 0 18px 30px;}
#content ul li,#content ol li {margin:0 0 3px;}
#content ul ul,#content ol ol {margin:5px 0 5px 15px;}
#content img {margin:5px;}

#content p 
{
font-size:16px;
margin:0 0 15px 0px;
}

#content p.timestamp {font-size:1.2em; margin:-5px 0 15px 10px;}
#content p.timestamp a {font-weight:normal;}
#content p.postmeta {text-align:right; border-top:2px solid #dadada; line-height:1.8em;}
#content #postnav {padding:5px; margin:5px 0 18px;}
#content #postnav p {margin:0; padding-left:5px;}
#content #postnav p.right {text-align:right; padding-right:5px; margin-top:-18px;}
#content .introtext p {margin:-5px 0 15px 10px;}

/* Footer */
#footer 
{
clear:both; 
background: url(../../uploads/2013/10/header333.png) repeat-x; 
height:104px;
padding:0px; 
margin: 0px;
}

#footer1
{
background: url(../../uploads/2013/10/fon-footer.jpg) -18% repeat-x; 
height:64px;
margin:-64px 0px 0px 0px; 
padding:0px;
z-index: 1;
}

#footer2
{margin:0 auto; text-align:right; width: 1000px;}

#footer p {margin:0; padding:0;}
#footer a {color:#808080; font-weight:bold}
#footer a:hover {text-decoration:underline;}
#footer span, #footer span a {font-weight:normal;}

/* Comments */
#content div.comment {margin-bottom:20px;}
#content div.comment p {margin:0 0 4px 10px; padding:3px 0 0 0;}
#respond p {margin:0 0 5px 10px;}
#respond input,#respond textarea {padding:5px; width:200px;}
#respond textarea#comment {width:500px;}
#respond input#submit {width:75px;color:#333; background-color:#fff;}
#respond input,#respond textarea,form div.searchbox input {font:94% Verdana,Tahoma,Arial,sans-serif; border:1px solid #ccc;}
.gravatarside {width:48px; height:48px; float:right; margin:0 5px 3px 5px;}

/* Tags */
blockquote {border:1px solid #dadada; font-size:0.9em; margin:20px 10px; padding:8px;}
blockquote p {padding:2px 0; margin:0; font-weight:bold;}
table#wp-calendar {width:180px; margin:0 0 18px 10px;}
p {margin:0 0 18px 10px;}
ul,ol,dl {font-size:1em; margin:2px 0 16px 0px;}
ul ul,ol ol {margin:4px 0 4px 35px;}
code{font-size:1.1em; background-color:#f4f4f4; color:#555; display:block; margin:5px 0 15px 0; padding:5px 5px 5px 7px; border:1px solid #ccc;}

/* Links */
a {color:#5F4737; font-weight:bold; text-decoration:none;}
a:hover {text-decoration:underline;}
a img {border:0;}

.contenttext a {text-decoration:underline;}
.contenttext a:hover {text-decoration:underline;color:#9A7156;}

/* Float fix */
.contenttext {overflow:hidden;}
* html .contenttext {height:1px; overflow:visible;}
* html .contenttext p {overflow:hidden; width:99%;}

/* Searchbox */
.searchbox {margin:8px 0 15px 10px;}
.searchbox label {display:none;}
.searchbox input {font-size:0.9em; padding:5px; width:166px; border:1px solid #ccc;}

/* Various classes */
.post {margin:0 0 15px;}
.textright {text-align:right;}
.textcenter {text-align:center;}
.hide {display:none;}

/* WP image align classes */
.aligncenter {display:block; margin-left:auto; margin-right:auto;}
.alignleft {float:left;}
.alignright {float:right;}
.wp-caption {border:1px solid #ddd;	text-align:center; background-color:#f3f3f3; padding-top:4px; margin:10px; border-radius:3px;}
.wp-caption img {margin:0; padding:0; border:0 none;}
.wp-caption-dd {font-size: 11px; line-height: 17px; padding:0 4px 5px; margin:0;}
