/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size:75%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: inherit; color: #000; }
body { margin: 0; font-size: 1em; line-height: 1.4; background: url("../pic/ornament.jpg")}

::-moz-selection { background: #b3d4fc; text-shadow: none; }
::selection { background: #b3d4fc; text-shadow: none; }

a { color: #005EAB; text-decoration: underline;}

a:hover { color: #C2144B; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

@font-face {
    font-family: 'OfficinaSerifCTT';
    src: url('osr45__c.eot');
    src: url('osr45__c.eot?#iefix') format('embedded-opentype'),
    url('osr45__c.woff') format('woff'),
    url('osr45__c.ttf') format('truetype'),
    url('osr45__c.svg#osr45__c') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ==|== primary styles =====================================================
   Author:  Liondekam
   ========================================================================== */

#header {
	height: 239px;

	background: url("../img/header-bg.jpg") center 0px no-repeat;

}
#header .container {
    position: relative;
}
nav {
	height: 40px;
	background: #00888b;
	border-bottom: 1px solid #fff;
	padding: 0 20px; box-sizing: border-box;
}
.toplinks {
    color: #00888b;
    font-size: 11px;
    text-align: right;
    line-height: 2.2;
    height: 28px;
		padding:2px 0 0 2px;
}
.toplinks .topsearch {
    float: left;
}
.toplinks a {
    margin: 0 2px;
}
#logo {
    display: block;
    position: absolute;
    width: 450px;
    height: 80px;
    left: 250px;
    top:100px;
}
ul.menu {
    padding: 0; margin: 0; list-style: none;
}
ul.menu li {
    float: left;
    padding-right: 25px;
}
ul.menu a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    line-height: 40px;
	font-size: 16px;
}




ul.menu a:hover {
    text-decoration: underline;
    color: #C2144B;
}

#sidebar1 {
    background: #00888B;
    width: 207px;
    float: left;
    color: #fff;
	height: 2200px;
}
.searches {
   position: absolute; 
   left: -1996px; 
   top: -2993px;
}
#sidebar1 a {
    color: #fff;
}
#sidebar1 a:hover {
    color: #dbdbdb
}
#sidebar1 .title {text-indent: 20px;}

#sidebar1 .title, #footer .title {color: #FFF;}
.title {
	color: #00888B;
    font-size: 24px;
    font-family: Georgia, Times, serif;
    padding: 5px 0 8px 0;
	line-height: 1.4em;
    text-align: left;
}
.title.center {
    font-size: 28px;
    text-align: center;
    text-indent: 0 !important;
}
.archipast {
    height: 123px;
    background: url("../img/arhipast.jpg") 0 0 no-repeat;
}
.archipast ul {
    padding: 27px 0 0 79px;
    margin: 0;
    list-style: none;
}
.links ul.thumbnails {
   padding:  0 0 0 5px;
    margin: 0 0 0 -0px;
    list-style: none;
}
/*
#wrap {
    padding-bottom: 60px;
} */
/* #wrap.mainpage {
    background: url("../img/mainpage.png") -2px repeat-y;
}
 */

/* ED */
/* #wrap.razdel.razdel_main {
    background: url("../img/razdel_main.png") -1px repeat-y;
} 
*/
#wrap.razdel.razdel_main #main {width:346px;}
#wrap.razdel.razdel_main #sidebar2 {width:406px; overflow:hidden;}
#wrap.razdel.razdel_main .news {overflow:hidden;}
#wrap.razdel.razdel_main .news .item {width:180px; float:left; margin:0 19px 10px 0;}
#wrap.razdel.razdel_main .news .clears {width:100%; height:1px; float:none; clear:both; font-size:0; overflow:hidden;}
/* ED */

#wrap.single, body:not(.home) #wrap.razdel {
    background: #fff url("../img/single.png") -1px repeat-y;
}
#wrap.razdel #main {
   padding: 0 12px 0 20px;
}

#wrap.razdel #sidebar1 .title {
    /* background: url("../img/sidebar1-titler.png") 0 16px repeat-x; */
    font-size: 28px;
}
#wrap.razdel .page-header {
    /*border-bottom: 1px solid #b6b6b6;*/
    margin-bottom: 20px;
    margin-top: 20px;
}
#wrap.razdel .page-header h1 {
    padding: 0;
}

#wrap #sidebar1 .inner {
    padding: 0px 20px;
}


.entry-content {
   font-size: 11px;
   margin-bottom: 20px;
}
.entry-content p{
   font-size: 11px;
}

.single .entry-content {
    font-size: 16px;
    margin-bottom: 40px;
}
.single .entry-content p{
    font-size: 14px;
}


.news .item {
    margin-bottom: 20px
}
.news .item p, .news .item time{
    font-size: 11px;
}
.news .thumb {
    padding-top: 10px;
}

.php_widget .item {
    padding: 5px 15px 10px 15px;
}
.php_widget .item strong {
    display: block;
    padding-bottom: 7px;
}

#sidebar2 {
    width: 202px;
    float: left;
    color: #000;
}
#sidebar2 .widget {
    /* padding: 5px 10px 0px 20px; */
	padding: 0;
}
.rssnews ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.rssnews li {
    padding-bottom: 15px;
    font-size: 12px;
	padding-right:20px;
}
.rssnews a {
	text-decoration:none;
}
.icona {
    padding-bottom: 20px;
}
.calendar {
    font-size: 11px;
}
.single #main {
    width: 740px;
    padding-left: 25px
}
#main {
    padding-left: 16px;
    width: 740px;
    float: left;
}
#main .page-header {
    margin: 18px 0 5px;
    padding: 0;
    border: none;
}
.page-header h1{
    font-size: 24px;
    font-family: Georgia, Times, serif;
    padding: 5px 0 8px 0;
    font-weight: normal;
	line-height: 1.4em;
}
header h2 {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 1em;
}
.hentry time {
    display: inline !important;
}

#sidebar3 {
    color: #fff;
    width: 206px;
    float: right;
    background: url("../img/aside-top.png") 0 0 no-repeat;
}
#sidebar3 a {
    color: #fff;
}
#sidebar3 a:hover {
    text-decoration: none;
    color: #ffffff;
	background-color:#0a5c1e;
}
.widget-first .title{
    font-size: 28px;
}
#sidebar3 .widget {
   padding: 0 10px 10px 20px;
}
.nav-eparhy ul{
  padding: 0;
  margin: 0; list-style: none;
}
.nav-eparhy li {
  padding:3px 0;
}

.strong ul {
   padding: 20px 0 10px;
}
.strong li {
    font-size: 14px;
    font-weight: bold;
    line-height: 2;
}

.question {
    background: url("../img/question-bg.png") 0 10px no-repeat;
    padding-bottom: 10px;
    min-height: 162px;
}
.question .title {
    line-height: 1;
}
.last-quest p {
    line-height: 1.3;
    padding: 8px 0 5px 0;
}
.last-quest a {
    font-weight: bold;
}
.molitv {
  background: url("../img/prosim.jpg") 0 0 no-repeat;
}
.molitv .title {
    padding-top: 0;
    padding-bottom: 160px;
}
.molitv strong {
    display: block;
    margin-bottom: 20px;
}
.widget.bg {
    background: url("../img/aside-title.png") 0 15px no-repeat;
}
#footmenu {clear:both;}
#footer {
    background: #96d8d2;
    color: #fff;
    padding: 20px;
    border-top: 1px solid #fff;
}
#footer .copyr {
    font-weight: bold;
	clear: both;
}
#footer .menu li a{
    font-weight: normal;
}
#footer .counter {
    float: right;
    text-align: right;
}

h1.entry-title {
    font-size: 18px;
    color: #000;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.single .hentry time {
     display: block !important;
    padding-bottom: 10px;
}

.breadcrumb {
    border: none;
    font-weight: bold;
    padding-top: 20px;
    padding-left: 0;
}
nav .dropdown .caret {
margin-top: 19px;
margin-left: 4px;
    opacity: 1;
    border-top-color: #fff;
}
.dropdown-menu {
    background: #00888b !important;
    margin: 0;
    left:-10px;
	border-radius: 0!important;
}
.dropdown-menu li {
    float: none !important;
    display: block;
    padding: 0 1px !important;
}
.dropdown-menu li a {
    padding: 0 10px;
}

#post-nav {
    background: none;
}

 .all-items {
     padding: 0; margin: 0 0 0 -20px; list-style: none;

 }

.all-items li {
    text-align: center;
}

.excerpt {
	margin-top: 5px;
}
.row {
/*	margin-bottom: 10px;
    overflow:hidden;*/
}


/* ==|== media queries ======================================================
EXAMPLE Media Query for Responsive Design.
This example overrides the primary ('mobile first') styles
Modify as content requires.
========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}



/* ==|== non-semantic helper classes ======================================== */

.ir { border: 0; font: 0/0 a; text-shadow: none; color: transparent; background-color: transparent; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles ======================================================= */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; }
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}

.row{clear: both;}
.col1{width: 40%; float:left; padding: 0 10px;}
.col2{width: 40%; float:right; padding: 0 10px;}


.bx-wrap {width: 1200px; margin: 0 auto; box-shadow: 0 0 8px 0px rgba(0,0,0,.6);}
#wrap { background: #fff;}
body.home #sidebar1, #sidebar3 {display:none;}

.single #main {width: 943px;}
body.home #main {width:500px!important;}

body.home nav {width: 1200px; margin: 0 auto;} 
.entry-content p {font-size:13px;}
.bx-img-center {margin:0 auto; display:block;}
.sidebar4 {float: left; width: 18%;}
#calendar-3 {width:200px; float:left; padding-right: 20px;margin-top: 50px;}
#calendar-3 a {color: #fff;}
#footer .copyr {font-weight: bold;}
.wp-pagenavi{text-align:left;}

body.home #wrap .sidebar4 .news {width: 100%;}
body.home #wrap .sidebar4 .news .item {width: 100%; float: left; padding: 0 20px 0 0; margin: 0 0 15px; box-sizing: border-box;}

.bx-views, .bx-img{font-size: 12px;  padding: 0 0 0 20px;  margin-left: 10px;  color: rgb(182, 182, 182);}
.bx-views {background: url("../img/view_count.png") 0 50% no-repeat; background-size: contain;}
.bx-img {background: url("../img/bx-img.png") 0 50% no-repeat; background-size: contain;}

.pscarousel {margin-top:10px;}

.sobors-links {margin-bottom: 20px;}
.sobors-links ul{list-style: none;padding: 0;}
.sobors-links a{text-decoration:none;}
.sobors-title {font-size: 18px;text-decoration: none;margin: 15px 0 8px;text-align: center;font-family: 'OfficinaSerifCTT', Times, serif;}

.home article .entry-content {position:relative;}
.home article .entry-content .entry-views {position: absolute;top: 0;left: 0;height: 20px;width: 100px;padding: 5px 8px 0 0;background-color: rgba(255, 255, 255, 0.9);}

#ajax_ac_widget-4 {float:left;}

.slideshow-nav {display:none;}

table.duhov-data {border-collapse: collapse; border-spacing: 0;}
table.duhov-data td {background-color: #e5e5e5; border: 3px solid #ffffff; padding: 5px 10px;}
.duhov-data-img {float:left; margin:3px 10px 0 0}


.db_block_prvletters .letters-item {margin-top: 18px; width: 32%; margin-right: 1.3%; float: left; line-height: 22px;}
.db_block_prvletters:nth-child(3n+4) {clear: both;}
.db_block_prvletters:nth-child(3n+3) .letters-item {margin-right:0;}
.db_block_prvletters .letters-item h2 {color: #777; font-size: 16px; background: #F0F0F0; padding: 10px 0 10px 10px; margin-bottom: 5px; line-height: 22px;}
.db_block_prvletters .letters-item ul {padding: 0; margin:10px 0 0; list-style: none;}
.db_block_prvletters .letters-item ul li {line-height: 20px;}

#vk_groups .join_community {webkit-border-radius: none; -moz-border-radius: none; border-radius: none;}
#vk_groups {float: left;}

#menusearchli {float:right; opacity: 0.85;}
#menusearchli:hover {opacity: 1;}
#menusearchform {padding: 5.5px 0;}
#menusearchform input.search-query{width:90px; height:15px;padding-top: 6px; border-radius: 3px;} 
#menusearchform #searchsubmit{padding-bottom: 3px; margin-top: -2px;} 

.community_groups_main {margin: 0 0 10px 0;}
.community_head {
    display: block;
    height: 22px;
    font-weight: bold;
    padding: 6px;
    vertical-align: middle;
    line-height: 1.81em;
    color: #FFFFFF!important;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
    direction: ltr;
    font-family: tahoma, arial, verdana, sans-serif, Lucida Sans;
    font-size: 11px;
	width: 170px;
}

.wcommunity_name {
    white-space: nowrap;
    vertical-align: top;
    line-height: 22px;
}

.wcommunity_name_cont {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    margin-left: 8px;
    text-overflow: ellipsis;
}

.wcommuinty_logo {
    display: inline-block;
    zoom: 1;
    width: 22px;
    height: 22px;
    margin: 0 0px -2px 0;
    float: left;
    font-weight: bold;
    line-height: 1.81em;
    color: #FFFFFF;
    text-align: left;
    direction: ltr;
    font-family: tahoma, arial, verdana, sans-serif, Lucida Sans;
    font-size: 11px;
    cursor: pointer;
}



.uchash #menusearchli {display: none;}
.uchash ul.menu a { color: #005EAB; text-decoration: underline;}
ul.menu a:hover {
    text-decoration: underline;
    color: #C2144B;}
	

.roditel #menusearchli {display: none;}
.roditel ul.menu a { color: #005EAB; text-decoration: underline;}

ul.menu a:hover {
    text-decoration: underline;
    color: #C2144B;}

.teacher #menusearchli {display: none;}
.teacher ul.menu a { color: #005EAB; text-decoration: underline;}
ul.menu a:hover {
    text-decoration: underline;
    color: #C2144B;}
