@charset "utf-8";

/*
Theme Name: Собор
Author: Андрей
Version: 1.0
Description: Тема для сайта о Богоявленском кафедральном соборе в Елохове
*/

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

html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, cite, code, del, dfn, em, font, img, ins, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
}

:focus {
	outline: 0;
}

ol, ul {
	list-style-position: inside;
}

a {
	color: #5db7a2;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

h1, h2, h3, h4 {
	font-family: 'PT Sans Narrow', sans-serif;
	font-weight: normal;
	text-transform: uppercase;
}

html, body { 
	height: 100%;
}

body {
	font-family: 'Arial', 'Helvetica', sans-serif;
	font-size: 15px;
	color: #464646;
	line-height: 130%;
}

#site {
	min-height: 100%;
	background: url(images/body_bg.jpg) 0 0 repeat;
	position: relative;
}

#site_bg {
	position: absolute;
	top: 25px;
	bottom: 0;
	left: 50%;
	width: 1000px;
	margin-left: -500px;
	background: #fff;
	box-shadow: 0 0 12px rgba(0,0,0,0.15);
	z-index: 1;
}

#container {
	width: 940px;
	margin: 0 auto;
	padding: 50px 0 255px 0;
	position: relative;
	z-index: 2;
}

#header {
	
}

.decor {
	display: block;
	min-height: 27px;
	background: url(images/decor.jpg) 0 0 repeat;
	margin-bottom: 20px;
	text-align: center;
}

.decor span {
	display: inline-block;
	background: #fff;
	min-height: 27px;
	text-transform: uppercase;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 28px;
	line-height: 27px;
	font-weight: normal;
	padding: 0 12px;
}

.alignleft {
	display: block;
	float: left;
}

.alignright {
	display: block;
	float: right;
}

.slider_box {
	overflow: hidden;
	margin-bottom: 18px;
}

.slider {
	display: block;
	width: 185px;
	height: 230px;
	overflow: hidden;
}

.slider_inner {
	display: block;
	width: 185px;
	height: 230px;
	overflow: hidden;
}

.slider ul {
	display: block;
	width: 400px;
	height: 230px;
	overflow: hidden;
	list-style-position: outside;
	list-style: none;
}

.slider li {
	display: block;
	float: left;
	width: 185px;
	height: 230px;
	overflow: hidden;
}

.slider li a {
	display: block;
	width: 185px;
	height: 230px;
	overflow: hidden;
}

.slider li img {
	width: 185px;
	height: auto;
	min-height: 230px;
}

.header_pic {
	display: block;
	width: 540px;
	height: 230px;
	margin: 0 auto;
}

#menu {
	margin-bottom: 20px;
}

#menu ul {
	display: inline-block;
	width: 940px;
	list-style-position: outside;
	list-style: none;
	position: relative;
	text-align: justify;
	background: #e8e8e8;
}

#menu li {
	display: block;
	float: left;
	position: relative;
	z-index:999;
}

#menu li a {
	display: block;
	height: 34px;
	padding: 11px 29px 0 29px;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 16px;
	line-height: 130%;
	color: #464646;
	text-transform: uppercase;
	text-decoration: none;
}

#menu li.current-menu-item a, #menu li.current-menu-parent a, #menu li:hover a {
	color: #fff;
	background: #5db7a2;
}

#menu li ul {
	width: auto;
	position: absolute;
	top: 45px;
	left: 0;
	text-align: left;
	display: none;
}

#menu li:hover ul {
	display: block;
}

#menu li li {
	float: none;
}

#menu li li a {
	display: block;
	height: auto;
	padding: 5px 20px 6px 20px;
	white-space: nowrap;
}

#menu li.active li a, #menu li:hover li a {
	background: #e8e8e8;
	color: #464646;
}

#menu li.active li.active a, #menu li:hover li a:hover {
	color: #fff;
	background: #5db7a2;
} 

.gray {
	background: #e8e8e8;
	padding: 5px 10px 15px 10px;
	text-align: center;
	color: #666;
	line-height: 140%;
	margin-bottom: 20px;
}

.gray p + p {
	margin-top: 12px;
}

.title, .gray > h3 {
	display: block;
	text-align: center;
	margin-bottom: 10px;
	font-family: 'Marianna';
	font-size: 32px;
	line-height: 120%;
	color: #666;
	font-weight: normal;
	text-transform: none;
}

.topic, .widget > h3, #content > h1 {
	display: block;
	height: 32px;
	padding: 8px 17px 0 17px;
	margin-bottom: 18px;
	text-transform: uppercase;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 19px;
	line-height: 130%;
	color: #fff;
	font-weight: normal;
	background: #5db7a2;
}

.widget > h3 a {
	color: #fff;
	text-decoration: none;
}

.widget > h3 {
	text-align: center;
}

.widget ul li {
list-style-type: none;
}

.dotted, .widget {
	padding-bottom: 24px;
	margin-bottom: 20px;
	background: url(images/dotted.png) 0 100% repeat-x;
}

#content_box {
	margin-bottom: 60px;
}

#sidebar {
	width: 220px;
	float: right;
	padding-left: 20px;
	margin-left: -1px;
	border-left: 1px solid #f0f0f0;
}

#content {	
}

#sidebar + #content {
	margin-right: 240px;
	border-right: 1px solid #f0f0f0;
	padding-right: 19px;
}

.w_news {
	font-size: 12px;
	line-height: 150%;
	color: #666;
}

.w_news + .w_news {
	margin-top: 15px;
}

.w_news h4 {
	font-family: 'Arial', 'Helvetica', sans-serif;
	font-weight: normal;
	margin-bottom: 5px;
	text-transform: none;
}

.social {
	overflow: hidden;
	text-align: center;
}

.social a {
	display: inline-block;
	width: 26px;
	height: 26px;
}

.social a + a {
	margin-left: 0 -1px 0 3px;
}

.social a:hover, .calendar .arrow_l:hover, .calendar .arrow_r:hover {
	opacity: 0.6;
	filter: alpha(opacity=60);
}

.soc_1 {
	background: url(images/social.jpg) 0 0 no-repeat;
}

.soc_2 {
	background: url(images/social.jpg) 0 -26px no-repeat;
}

.soc_3 {
	background: url(images/social.jpg) 0 -52px no-repeat;
}

.soc_4 {
	background: url(images/social.jpg) 0 -78px no-repeat;
}

.soc_5 {
	background: url(images/social.jpg) 0 -104px no-repeat;
}

.soc_6 {
	background: url(images/social.jpg) 0 -130px no-repeat;
}

.radio {
	margin: -10px 0 20px 0;
}

.radio_about {
	font-size: 10px;
	line-height: 150%;
	color: #9c9c9c;
	margin-top: 15px;
}

.card {
	
}

.card > div {
	overflow: hidden;
}

.card > div + div {
	margin-top: 10px;
}

.card img {
	width: 49px;
	float: left;
	margin-right: 15px;
}

.card p {
	margin-top: 6px;
	color: #5d5d5d;
	font-weight: bold;
}

.calendar {
	
}

input[type="submit"] {
	cursor: pointer;
}


.widget .ui-datepicker {
	width: auto;
}

.widget .ui-widget-content {
	border: 0;
	padding: 0;
	font-size: 13px;
	line-height: 130%;
}

.widget .ui-widget-content .ui-state-default {
	background: transparent;
	border: 0;
}

.widget object {
	width: 100%;
}

.month {
	text-align: center;
	font-size: 14px;
	line-height: 100%;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.month > span, .widget .ui-datepicker .ui-datepicker-prev, .widget .ui-datepicker .ui-datepicker-next {
	display: inline-block;
	vertical-align: top;
	margin: 0;
	top: 6px;
}

.month > span, .widget .ui-datepicker .ui-datepicker-prev:hover, .widget .ui-datepicker .ui-datepicker-next:hover {
	border: 0;
	border-radius: 0;
}

.calendar .arrow_l, .widget .ui-datepicker .ui-datepicker-prev {
	width: 8px;
	height: 13px;
	background: url(images/arrows.png) 0 0 no-repeat;
}

.calendar .arrow_r, .widget .ui-datepicker .ui-datepicker-next {
	width: 8px;
	height: 13px;
	background: url(images/arrows.png) 0 -13px no-repeat;
}

.calendar table {
	width: 100%;
	margin-bottom: 12px;
	text-align: center;
}

.widget .ui-datepicker-calendar td {
	text-align: center;
	padding: 0;
}

.widget .ui-datepicker-calendar th {
	padding: 0;
	font-size: 13px;
}

.widget .ui-datepicker td a {
	display: inline-block;
	height: 19px;
	width: 20px;
	padding-top: 1px;
	text-align: center;
	font-size: 14px;
	font-weight: normal;
	line-height: 130%;
	color: #5d5d5d;
}

.calendar table td {
	display: inline-block;
	text-align: center;
	font-size: 14px;
	font-weight: normal;
	line-height: 130%;
	color: #5d5d5d;
	width: 20px;
	height: 19px;
	padding-top: 1px;
	margin: 3px 4px;
}

.calendar table td.active, .widget .ui-datepicker td.gg_has_event a {
	background: #dadada;
	border-radius: 50%;
	cursor: pointer;
}

.widget .ui-datepicker .ui-datepicker-header {
	border: 0;
	text-align: center;
	font-size: 14px;
	font-weight: normal;
	line-height: 100%;
	text-transform: uppercase;
	color: #5d5d5d;
	background: none;
	margin: -6px 0 4px 0;
	padding: 0;
	position: relative;
}

.widget .ui-datepicker .ui-datepicker-title {
	display: block;
	padding: 0;
	position: relative;
}

.widget .ui-widget-header .ui-icon {
	display: none;
}

.calendar p {
	font-size: 12px;
	line-height: 130%;
	color: #555;
}

.calendar p + p {
	margin-top: 4px;
}

.posts {
	margin: 0 -14px;
}

.post {
	display: inline-block;
	width: 208px;
	margin: 0 10px 0 14px;
	zoom: 1;
	*display: inline;
        vertical-align: top;
}

.post .thumb {
	display: block;
	width: 208px;
	height: 136px;
	overflow: hidden;
	margin-bottom: 10px;
}

.post .thumb img {
	width: 208px;
	height: auto;
	min-height: 136px;
}

.post h4, .developments h4, .news h3, .schedule h1, .contacts h3 {
	font-size: 18px;
	line-height: 130%;
	margin-bottom: 7px;
}

.post p {
	line-height: 120%;
	margin-bottom: 7px;
}

.post .more {
	display: inline-block;
	text-transform: uppercase;
	text-decoration: none;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 16px;
	line-height: 130%;
	margin-bottom: 7px;
}

.post .more:hover {
	text-decoration: underline;
}

.developments .more, .news .more {
	display: inline-block;
	height: 25px;
	padding: 3px 20px 0 20px;
	text-transform: uppercase;
	text-decoration: none;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 16px;
	line-height: 130%;
	color: #fff;
	background: #5db7a2;
	float: right;
}

.developments .more:hover, .news .more:hover {
	background: #51a390;
}

.date {
	font-size: 11px;
	line-height: 130%;
	color: #a3a3a3;
	font-style: italic;
}

.developments {
	overflow: hidden;
}

.developments .alignleft {
	width: 438px;
}

.developments .alignleft .thumb {
	display: block;
	overflow: hidden;
	width: 438px;
	height: 237px;
	margin-bottom: 15px;
}

.developments .alignleft .thumb img {
	width: 438px;
	height: auto;
	min-height: 237px;
}

.developments .alignleft p {
	line-height: 120%;
	margin-bottom: 5px;
}

.developments .alignleft .date, .news .date {
	float: left;
	margin-top: 16px;
}

.developments .alignright {
	width: 208px;
}

.developments .alignright > div + div {
	margin-top: 25px;
}

.developments .alignright p {
	line-height: 120%;
}

.developments .alignright h4 a {
	color: #464646;
	text-decoration: none;
}

.developments .alignright h4 a:hover {
	color: #5db7a2;
}

.developments .alignright .date {
	margin-bottom: 10px;
}

.content {
	overflow: hidden;
	line-height: 140%;
	margin-bottom: 20px;
}

.content img {
	max-width: 680px;
}

.content img.alignleft {
	margin: 4px 20px 10px 0;
}

.content img.alignright {
	margin: 4px 0 10px 20px;
}

.content h1 {
	font-size: 18px;
	line-height: 130%;
	margin-bottom: 15px;
}

.content h2 {
	font-size: 16px;
	line-height: 130%;
	margin-bottom: 15px;
}

.content h3 {
	font-size: 14px;
	line-height: 130%;
	margin-bottom: 15px;
}

.content h4 {
	font-size: 14px;
	line-height: 130%;
	margin-bottom: 15px;
	text-transform: none;
}

.content h5 {
	font-size: 13px;
	line-height: 130%;
	margin-bottom: 15px;
	text-transform: none;
}

.content p, .content ol, .content ul {
	margin-bottom: 17px;
}

.content table {
	width: 100%;
	margin-bottom: 17px;
}

.news_body {
	overflow: hidden;
	padding-top: 3px;
	margin-bottom: 14px;
}

.news_body .thumb {
	display: block;
	float: left;
	width: 308px;
	height: auto;
	overflow: hidden;
	margin-top: 3px;
}

.news_body .thumb img {
	width: 308px;
	height: auto;
	overflow: hidden;
}

.news_body .thumb + div {
	margin-left: 325px;
}

.news_body p + p {
	margin-top: 12px;
}

.pagination {
	text-align: right;
	margin-bottom: 20px;
}

.pagination a, .pagination span {
	display: inline-block;
	font-size: 13px;
	line-height: 130%;
	color: #282828;
	text-decoration: none;
	text-align: center;
	height: 19px;
	min-width: 13px;
	padding: 3px 3px 0 3px;


}

.pagination a:hover, .pagination span {
	background: #5db7a2;
	color: #fff;
}

.schedule {
	
}

.schedule table {
	width: 100%;
	margin: 17px 0 30px 0;
	border-top: 1px solid #ebebeb;
}

.schedule tr {
	
}

.schedule td {
	border-bottom: 1px solid #ebebeb;
	border-right: 1px solid #ebebeb;
	vertical-align: middle;
	padding: 8px;
}

.schedule td:first-child {
	background: #5db7a2;
	color: #fff;
	border-bottom-color: #fff;
	min-width: auto;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 19px;
	line-height: 130%;
	text-align: center;
}

.time {
	min-width: 70px;
}

.schedule td p + p {
	margin-top: 10px;
}

.contacts {
	overflow: hidden;
	color: #757575;
}

.contacts .alignleft {
	width: 520px;
	padding-right: 24px;
	border-right: 1px solid #ebebeb;
}

.contacts .alignright {
	width: 371px;
	padding-left: 24px;
	margin-left: -1px;
	border-left: 1px solid #ebebeb;
}

.contacts p {
	margin-bottom: 8px;
}

.marg_30 {
	margin-left: 30px;
}

.contacts_item + .contacts_item {
	overflow: hidden;
	margin-top: 25px;
}

.contacts p {
	overflow: hidden;
}

.contacts form {
	display: block;
	margin: 15px 0 25px;
	overflow: hidden;
}

.contacts form input[type="text"], .contacts form input[type="email"] {
	display: block;
	border: 1px solid #dedddc;
	width: 500px;
	height: 30px;
	padding: 0 9px;
	font-family: 'Arial', 'Helvetica', sans-serif;
	font-size: 12px;
	line-height: 30px;
	font-style: italic;
	color: #757575;
	margin-bottom: 12px;
}

.contacts form textarea {
	display: block;
	border: 1px solid #dedddc;
	width: 500px;
	height: 70px;
	padding: 6px 9px;
	font-family: 'Arial', 'Helvetica', sans-serif;
	font-size: 12px;
	line-height: 130%;
	font-style: italic;
	color: #757575;
	margin-bottom: 12px;
	overflow: auto;
}

.contacts form input[type="submit"] {
	display: block;
	border: 0;
	padding: 0 15px 0 15px;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	color: #fff;
	height: 26px;
	background: #5db7a2;
	float: right;
}

.contacts form input[type="submit"]:hover {
	background: #51A390;
}

.contacts .wpcf7-not-valid-tip {
	display: block;
	position: relative;
	margin-top: -5px;
	margin-bottom: 5px;
	font-size: 12px;
	line-height: 130%;
}

.contacts .wpcf7-response-output {
	margin: 24px 0 0 0;
	padding: 10px 14px;
}

.contacts div.wpcf7-validation-errors {
	border-color: #f00;
}

#footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
}

#footer_inner {
	width: 1000px;
	height: 225px;
	margin: 0 auto;
	padding-top: 30px;
	background: #444;
	font-size: 13px;
	line-height: 130%;
	color: #fff;
}

#footer_inner a {
	color: #fff;
}

.footer_item {
	width: 210px;
	float: left;
	margin-left: 15px;
}

.footer_item:first-child {
	width: 225px;
	margin-left: 30px;
	padding-right: 40px;
}

.footer_item h4 {
	font-size: 18px;
	line-height: 130%;
	text-transform: uppercase;
	font-weight: normal;
	font-family: 'PT Sans Narrow', sans-serif;
	margin-bottom: 7px;
}

.footer_item h4 span {
	display: inline-block;
	padding-bottom: 5px;
	border-bottom: 1px solid #636363;
}

.footer_item:first-child h4 span {
	border-bottom-color: transparent;
}

.footer_item p {
	margin-bottom: 20px;
}

.footer_item ul {
	display: block;
	list-style-position: outside;
	list-style: none;
}

.footer_item li {
	display: block;
	margin-bottom: 2px;
}

.footer_item li a {
	text-decoration: none;
}

.footer_item li a:hover {
	text-decoration: underline;
}

.footer_soc {
	overflow: hidden;
}

.footer_soc a {
	display: block;
	float: left;
	width: 24px;
	height: 24px;
}

.footer_soc a + a {
	margin-left: 9px;
}

.footer_soc a:hover{
	opacity: 0.5;
	filter: alpha(opacity=50);
}

.footer_soc_1 {
	background: url(images/footer_soc.png) 0 0 no-repeat;
}

.footer_soc_2 {
	background: url(images/footer_soc.png) 0 -24px no-repeat;
}

.footer_soc_3 {
	background: url(images/footer_soc.png) 0 -48px no-repeat;
}

.footer_soc_4 {
	background: url(images/footer_soc.png) 0 -72px no-repeat;
}

.footer_soc_5 {
	background: url(images/footer_soc.png) 0 -96px no-repeat;
}

.footer_soc_6 {
	background: url(images/footer_soc.png) 0 -120px no-repeat;
}

.footer_soc_7 {
	background: url(images/footer_soc.png) 0 -144px no-repeat;
}

.clear {
	clear: both;
}

.alignleft {
	display: block;
	float: left;
}

.alignright {
	display: block;
	float: right;
}

.overflow {
	overflow: hidden;
}




.comment {
	display: block;
	overflow: hidden;
}

.comment + .comment, .comment .comment {
	margin-top: 10px;
}

.comment_inner {
	display: block;
	overflow: hidden;
}

.comment_avatar {
	display: block;
	width: 50px;
	height: 50px;
	overflow: hidden;
	float: left;
}

.comment_avatar + .comment_body {
	display: block;
	margin-left: 60px;
}

.comment_info {
	overflow: hidden;
}

.comment_author {
	display: block;
	font-size: 14px;
	line-height: 135%;
	font-weight: bold;
	margin-bottom: 3px;
}

.comment_date {
	display: block;
	font-size: 12px;
	line-height: 135%;
	margin-bottom: 3px;
}

.comment_body {
	display: block;
	overflow: hidden;
}

#comments p {
	background: transparent;
	margin: 0 0 10px 0;
	padding: 0;
	font-size: 13px;
	line-height: 135%;
	color: #333;
}


#comments .answer {
	font-size: 11px;
	font-style: italic;
	line-height: 135%;
	text-align: right;
	color: #900;
}

.answer a {
	color: #900;
}

.answer a + a {
	margin-left: 5px;
}

#comments, #respond {
	margin-top: 30px;
}

#respond form {
	display: block;
	overflow: hidden;
}

.logged-in-as {
	margin-bottom: 20px;
}

#respond {
}

#respond input[type="text"] {
	width: 166px;
	height: 23px;
	padding: 0 10px;
	line-height: 23px;
	margin-bottom: 15px;
}

#respond textarea {
	width: 362px;
	height: 93px;
	padding: 5px 10px;
	line-height: 120%;
	margin-bottom: 8px;
	overflow: auto;
}

#respond input[type="submit"] {
	display: block;
	width: 184px;
	height: 35px;
	border: 0;
	background: #5DB7A2;
	text-align: center;
	cursor: pointer;
	font-family: "PT Sans Narrow", sans-serif;
	font-size: 16px;
	font-weight: normal;
	text-transform: uppercase;
	color: #fff;
}

p.form-submit {
	overflow: hidden;
	width: 100%;
}

#respond input[type="submit"]:hover {
	background: #3B937F;
}


/* WordPress Core Styles - http://codex.wordpress.org/CSS */


a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}

.wp-caption {
	max-width: 100%;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 100%;
	padding: 0;
	width: auto;
}
.scrollTop{
 background:url(http://elohov.ru/wp-content/themes/sobor/images/arrows_top.png) 0 0 no-repeat;
 display:block;
 width:52px;
 height:52px;
 position:fixed;
 bottom:15px;
 right:15px;
 z-index:2000;
}
.scrollTop:hover{
 background-position:100% 100%;
}

#justify {
	 text-align:justify;
}