/*!
Theme Name: pobeda
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pobeda
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

pobeda is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	/*color: #404040;*/
	color: #5a0923;
	/*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;*/
	font-family: 'Inter', Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	/*clear: both;*/
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #727f64;
}

hr {
	background-color: #5a0923;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: inherit;
}

a:visited {
	/*color: inherit;*/
}

a:hover,
a:focus,
a:active {
	/*color: inherit;*/
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
/*
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}
*/

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	/*margin: 0 0 1.5em;*/
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/***********************************************/

.clearfloat {clear: both;}

.b-arrow {background-color: #5a0923; height: 33px; width: 33px; border-radius: 100px; position: absolute; top: 50%;display: block; z-index: 3;}
.b-arrow svg {width: 10px; position: relative; left: 12px; top: 8px;}
.b-arrow_prev {left: -50px; transform: rotate(180deg);}
.b-arrow_next {right: -50px;}
.b-arrow.swiper-button-disabled {display: none;}

.b-header-slider {position: absolute; top: 20px; left: 0; width: 100%; max-width: 1200px;}

.b-mainmenu {padding: 10px 30px;}
.navbar {float: none; text-align: center; font-family: 'InterVariable', Arial, sans-serif;}
.navbar-toggler, .navbar-toggler:focus {border: 0 !important;}
.navbar-brand img {width: auto; height: 80px; transition: 1s;}
.navbar-brand:hover img {transform: scale(1.2);}

.navbar-toggler {color: #ddcebb; border-color: #ddcebb;}

.navbar-social {font-size: 30px; color: #ddcebb;}
.navbar-social i {color: #ddcebb;}

.b-mainmenu .menu-item.menuoldsite {display: none;}

.b-mainmenu .menu-item {padding: 0 38px; font-weight: 500;}
.b-mainmenu .menu-item .nav-link {color: #ddcebb; transition: 1s;}
.b-mainmenu .menu-item .nav-link:hover {color: #ddcebb; transform: scale(1.5); transition: 1s;}
.b-mainmenu .menu-item .nav-link.show {color: #ddcebb;}

#menu-mainmenu:has(> :hover) .menu-item:not(:hover) {filter: blur(3px);}

.dropdown-menu {background: #5a0923;}
.dropdown-menu .dropdown-item {color: #c0c4a6;}
.dropdown-menu .menu-item {padding: 0;}
.dropdown-item:focus, .dropdown-item:hover {background: #c0c4a6; color: #5a0923;}

body.home .b-header {min-height: 680px;}
.b-header__logo {position: relative;}
.b-header__logoh {position: absolute; right: 42px; top: 20px; width: 670px; max-width: 670px; display: flex; align-items: center;}
.b-header__logoh h1 {color: #ead8c5; font-size: 64px; line-height: 1; font-family: 'Pobeda-Regular', Arial, sans-serif; width: 630px; margin-left: -46px;}
.b-header__logopic {width: auto; height: 480px;}

.b-priests-prima {position: relative; z-index: 3; top: -100px;}
.b-priests-prima__bgtop {height: 100px; background: rgb(87,106,119); background: linear-gradient(0deg, rgba(87,106,119,1) 0%, rgba(87,106,119,0) 100%);}
.b-priests-prima__inner {background: #576a77; padding-bottom: 80px;}
.b-priests-prima h1 {color: #fff; font-size: 44px; font-family: 'Pobeda-Bold', Arial, sans-serif; text-align: center; opacity: 0.7; margin-top: 0;}
.b-priests-prima div.caption-wrap {background: none; color: #fff; text-align: center; font-size: 20px; font-family: 'Inter', Arial, sans-serif; position: static;}
.b-priests-prima li:hover img.slider-64 {transform: scale(1.2); transition: 1s;}

.b-news-prima2 {padding-bottom: 80px;}
.b-news-prima2 h1 {color: #5a0923; font-size: 62px; font-family: 'Pobeda-Bold', Arial, sans-serif; text-align: center;}
.b-news-prima2__inner {max-width: 1200px; margin: 0 auto; max-width: 1140px;}
.b-news-prima2__items {display: none; position: relative;}
.b-news-prima2__items_all {display: block;}
.b-news-prima2__filters {display: block; text-align: center; font-size: 16px; font-family: 'Pobeda-Bold', Arial, sans-serif; margin: 0 0 40px;}
.b-news-prima2__filters li {cursor: pointer; list-style: none; display: inline-block; background: #c0c4a6; padding: 10px 15px; line-height: 1; letter-spacing: 1.5px; margin: 0 15px 15px;}
.b-news-prima2__filters li.b-news-prima2__filter_active {background: #5a0923; color: #c0c4a6;}
.b-news-prima2__item {background: #c0c4a6; height: 540px; width: 270px;}
.b-news-prima2__item img {width: 100%; height: auto;}
.b-news-prima2__item h4 {font-size: 10px; line-height: 1.2; color: #011905; font-weight: 300; font-family: 'Inter'; text-transform: uppercase;}
.b-news-prima2__item h3 {font-size: 15px; line-height: 1.2; color: #011905; font-weight: 500; margin-bottom: 10px; font-family: 'Inter';}
.b-news-prima2__item p {font-size: 11px; line-height: 1.2; color: #011905; font-weight: 300; font-family: 'Inter';}
.b-news-prima2__item a {color: inherit; text-decoration: none;}
.b-news-prima2__text {padding: 30px;}
.b-news-prima2__date {font-size: 10px;}
.b-news-prima2__all {text-align: center; text-transform: uppercase; font-size: 16px; font-family: 'Pobeda-Bold', Arial, sans-serif;}
.b-news-prima2__all a {text-decoration: none; display: inline-block; background: #5a0923; color: #c0c4a6; padding: 32px 60px; line-height: 1; letter-spacing: 1.5px; margin: 90px auto 0;}

.b-about-prima {margin: 0 140px 160px;}
.b-about-prima__inner {position: relative;}
.b-about-prima h1 {color: #ead8c5; font-size: 62px; font-family: 'Pobeda-Bold', Arial, sans-serif; line-height: 1; font-weight: 700; text-transform: uppercase;}
.b-about-prima h2 {color: #ead8c5; font-size: 40px; line-height: 1.2; font-family: 'Pobeda-Regular', Arial, sans-serif; margin-bottom: 20px;}
.b-about-prima__text {margin-right: 440px; background: #5a0923;}
.b-about-prima__textinner {padding: 24px 220px 0 24px;}
.b-about-prima__text p {color: #b08483; font-size: 18px; font-family: 'Inter', Arial, sans-serif; line-height: 1.2; margin: 0; padding: 0 0 24px;}

.b-about-prima__right {width: 660px; position: absolute; top: 0; right: 0;}

.b-about-prima__logo {position: relative; z-index: 2; top: -228px;}
.b-about-prima__menu {display: block; margin: 0; padding: 0; /*width: 500px;*/ position: absolute; top: -30px; right: 0;}
.b-about-prima__menu li {display: block; margin: 0; padding: 0;}
.b-about-prima__menu li a {display: block; height: 78px; padding: 0 0 0 180px; text-decoration: none; color: #5a0923; font-size: 48px; font-family: 'Pobeda-Regular', Arial, sans-serif; line-height: 78px; font-weight: 700;}
.b-about-prima__menu li a:hover {background-color: #5a0923; transition: background-color 1000ms linear; color: #ead8c5;}
.b-about-prima__readmore {display: inline-block; height: 74px; line-height: 74px; padding: 0 110px; margin-top: 40px; text-decoration: none; text-transform: uppercase; color: #5a0923; font-size: 32px; font-family: 'Pobeda-Regular', Arial, sans-serif; font-weight: 600; background-color: #c0c4a6;}

.b-service-prima {position: relative; margin: 0 40px 160px;}
.b-service-prima img {width: 100%; height: auto;}
.b-service__inner {display: flex; align-items: center; position: absolute; top: 0; bottom: 0; left: 0; right: 0;}
.b-service__caption {margin: 0 auto; text-decoration: none;}
.b-service__caption:hover h1, .b-service__caption:hover h2, .b-service__caption:hover h3  {transform: scale(1.2); transition: 1s;}
.b-service__caption h1, .b-service__caption h2, .b-service__caption h3 {transition: 1s; margin: 0; padding: 0; font-family: 'Pobeda-Bold', Arial, sans-serif; color: #ead8c5; text-transform: uppercase; line-height: 0.7; font-size: 140px;}
.b-service__caption h1 {}
.b-service__caption h2 {text-indent: 256px;}
.b-service__caption h3 {text-indent: 354px;}

.b-education-prima {margin: 0 140px 40px;}
.b-education-prima h1 {color: #ead8c5; margin: 0; font-size: 68px; font-family: 'Pobeda-Bold', Arial, sans-serif; line-height: 1; font-weight: 700; text-transform: uppercase;}

.b-temples-prima {margin: 0 140px 80px;}
.b-temples-prima h1 {color: #ead8c5; font-size: 44px; font-family: 'Pobeda-Regular', Arial, sans-serif; line-height: 1; text-transform: uppercase;}
.b-temples-prima__inner {position: relative;}
.b-temples-prima__container {}
.b-temples-prima__wrapper {position: relative;}
.b-temples-prima__item {width: 300px; height: 420px;}
.b-temples-prima__item h3 {display: block; color: #b2ae98; font-size: 18px; margin-top: 18px; font-family: 'Inter', Arial, sans-serif;}
.b-temples-prima__item h3 a {text-decoration: none; color: inherit;}
.b-temples-prima__pic {display: block; width: 300px; height: 300px; margin: 40px 0 0; position: relative; background-image: linear-gradient(0.604turn, rgba(1, 25, 5, 1) 0%, rgba(114, 127, 100, 1) 100%);}
.b-temples-prima__item img {transition: 1s; display: block; width: auto; position: absolute; bottom: 80px; left: 0;}
.b-temples-prima__item:hover img {transition: 1s;}
.b-temples-prima__item:hover .b-temples-prima__pic {transition: 1s; background-image: linear-gradient(135deg, rgba(90,9,35,1) 0%, rgba(59,77,54,1) 100%);}
.b-temples-prima__item_01 img {height: 290px;}
.b-temples-prima__item_01:hover img {height: 335px;}
.b-temples-prima__item_02 img {height: 200px;}
.b-temples-prima__item_02:hover img {height: 225px;}
.b-temples-prima__item_03 img {height: 290px;}
.b-temples-prima__item_03:hover img {height: 335px;}
.b-temples-prima__item_04 img {height: 280px;}
.b-temples-prima__item_04:hover img {height: 325px;}
.b-temples-prima__item_05 img {height: 290px;}
.b-temples-prima__item_05:hover img {height: 335px;}
.b-temples-prima__more {display: block; width: 220px; text-align: center; line-height: 48px; color: #e7d3c1; font-size: 22px; font-family: 'Pobeda-Bold', Arial, sans-serif; letter-spacing: 1px; background-color: #5a0923; text-transform: uppercase; text-decoration: none;}

.b-history-prima {margin: 0 140px 80px;}
.b-history-prima h1 {color: #ead8c5; font-size: 44px; font-family: 'Pobeda-Regular', Arial, sans-serif; line-height: 1; text-transform: uppercase;}
.b-history-prima__inner {position: relative;}
.b-history-prima__items {}
.b-history-prima__container {}
.b-history-prima__wrapper {}
.b-history-prima__item {width: 324px; height: 582px; display: flex; align-items: center;}
.b-history-prima__item.swiper-slide-active .b-history-prima__text h3 {color: #fff;}
.b-history-prima__item.swiper-slide-active .b-history-prima__text p {color: #fff;}
.b-history-prima__item.swiper-slide-active .b-history-prima__text .b-history-prima__readmore {color: #fff;}
.b-history-prima__iteminner {transition: 1s; width: 270px; height: 485px; background-repeat: no-repeat; background-size: cover; position: relative;}
.b-history-prima__iteminner:before {content: ' '; z-index: 1; display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: #000; opacity: 0.5;}
.b-history-prima__item.swiper-slide-active .b-history-prima__iteminner {transition: 1s; transform: scale(1.2); /*width: 320px; height: 570px;*/}
.b-history-prima__text {position: absolute; left: 0; bottom: 0; z-index: 2; padding: 26px;}
.b-history-prima__text h3 {margin: 0; padding: 0; font-family: 'Pobeda-Regular', Arial, sans-serif; color: #ead8c5; text-transform: uppercase; line-height: 1; font-size: 28px;}
.b-history-prima__text p {font-size: 14px; font-weight: 300; font-family: 'Inter', Arial, sans-serif; color: #ead8c5;}
.b-history-prima__text h3 a, .b-history-prima__text p a {text-decoration: none; color: inherit;}
.b-history-prima__readmore {display: inline-block; color: #ead8c5 !important; font-size: 12px; height: 36px; line-height: 36px; text-decoration: none; padding: 0 26px; border: 1px solid #ead8c5; font-family: 'Inter', Arial, sans-serif; font-weight: 700;}
.b-history-prima__readmore:hover {color: #ead8c5 !important;}

.b-saints-prima {margin: 0 140px 140px;}
.b-saints-prima h1 {color: #ead8c5; font-size: 44px; font-family: 'Pobeda-Regular', Arial, sans-serif; line-height: 1; text-transform: uppercase;}
.b-saints-prima__inner {margin: 0 auto; max-width: 1100px;}
.b-saints-prima__items {position: relative;}
.b-saints-prima__item {background: #c0c4a6; height: 540px; width: 260px;}
.b-saints-prima__item img {width: 100%; height: auto;}
.b-saints-prima__item h4 {font-size: 10px; line-height: 1.2; color: #011905; font-weight: 300; font-family: 'Inter'; text-transform: uppercase;}
.b-saints-prima__item h3 {font-size: 15px; line-height: 1.2; color: #011905; font-weight: 500; margin-bottom: 10px; font-family: 'Inter';}
.b-saints-prima__item p {font-size: 11px; line-height: 1.2; color: #011905; font-weight: 300; font-family: 'Inter';}
.b-saints-prima__item a {color: inherit; text-decoration: none;}
.b-saints-prima__text {padding: 30px;}
.b-saints-prima__date {font-size: 10px;}
.b-saints-prima__all {text-align: center; text-transform: uppercase; font-size: 16px; font-family: 'Pobeda-Bold', Arial, sans-serif;}
.b-saints-prima__all a {text-decoration: none; display: inline-block; background: #5a0923; color: #c0c4a6; padding: 32px 60px; line-height: 1; letter-spacing: 1.5px; margin: 90px auto 0;}

.b-glory-prima {margin: 0 auto 140px; max-width: 1060px;}
.b-glory-prima__days {position: relative; z-index: 2;}
.b-glory-prima__inner {}
.b-glory-prima__items {text-align: center; position: relative; margin-top: -100px; height: 800px;}
.b-glory-prima__item {display: block; float: left; height: 730px; padding: 150px 0 24px; transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;}
.b-glory-prima__item:hover {background: #5a0923;}
.b-glory-prima__iteminner {padding: 0 16px;}
.b-glory-prima__item img {width: auto; height: 380px;}
.b-glory-prima__item h3 {color: #ead8c5; font-size: 28px; font-family: 'Pobeda-Bold', Arial, sans-serif; line-height: 1.1; font-weight: 700; margin: 16px 0; padding: 0;}
.b-glory-prima__item p {text-align: left; color: #ead8c5; font-size: 18px; font-family: 'Pobeda-Regular', Arial, sans-serif; line-height: 1.1; font-weight: 300;}
.b-glory-prima__more {margin-top: 40px;}
.b-glory-prima__more a {display: block; width: 220px; text-align: center; line-height: 48px; color: #e7d3c1; font-size: 22px; font-family: 'Pobeda-Bold', Arial, sans-serif; letter-spacing: 1px; background-color: #5a0923; text-transform: uppercase; text-decoration: none;}

.b-media-prima {position: relative; margin: 0 40px 160px;}
.b-media-prima h1 {color: #5a0923; margin: 0 0 40px; font-size: 68px; font-family: 'Pobeda-Bold', Arial, sans-serif; line-height: 1; font-weight: 700; text-transform: uppercase;}
.b-media-prima__items {width: 1755px; margin: 0 auto;}
.b-media-prima__item {margin: 0 25px 25px 0; position: relative; display: block; transition: 1s;}
.b-media-prima__item:hover {transform: scale(1.05); transition: 1s;}
.b-media-prima__item:hover span {font-size: 78px; transition: 1s; left: 20px;}
.b-media-prima__item:before {content: ' '; z-index: 1; display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: #000; opacity: 0.5;}
.b-media-prima__item span {transition: 1s; display: block; z-index: 2; position: absolute; bottom: 10px; left: 10px; color: #ead8c5; font-size: 54px; font-family: 'Pobeda-Regular', Arial, sans-serif; line-height: 1.1; font-weight: 300;}
.b-media-prima__item img {width: 100%;}
.b-media-prima__item_1 {}
.b-media-prima__item_2 {width: 290px; float: left; margin: 0 25px 0 0;}
.b-media-prima__item_3 {width: 410px; float: left; margin: 0;}
.b-media-prima__item_4 {}
.b-media-prima__item_5 {}
.b-media-prima__item_6 {}
.b-media-prima__item_7 {}
.b-media-prima__col {float: left;}
.b-media-prima__col_1 {width: 750px;}
.b-media-prima__col_2 {width: 548px;}
.b-media-prima__col_3 {width: 457px;}
.b-media-prima__col_3 .b-media-prima__item {margin-right: 0;}

.b-contacts-prima {margin: 0 0 140px;}
.b-contacts-prima__map {filter: grayscale(1); -ms-filter: grayscale(1); -webkit-filter: grayscale(1); -moz-filter: grayscale(1); -o-filter: grayscale(1);}
.b-contacts-prima h1 {color: #5a0923; margin: 0 0 40px; font-size: 44px; font-family: 'Pobeda-Bold', Arial, sans-serif; line-height: 1; font-weight: 700; text-transform: uppercase;}
.b-contacts-prima__text {font-family: 'Inter', Arial, sans-serif; color: #ead8c5; font-size: 18px;}
.b-contacts-prima__text_big {font-size: 24px;}
.b-contacts-prima__text_social {font-size: 30px; line-height: 1;}
.b-contacts-prima__text_social a {text-decoration: none; color: inherit;}
.b-contacts-prima__textblock {padding: 60px;}

.b-partners-prima {margin: 0 20px 140px;}
.b-partners-prima h1 {text-align: center; color: #5a0923; margin: 0 0 80px; font-size: 44px; font-family: 'Pobeda-Bold', Arial, sans-serif; line-height: 1; font-weight: 700; text-transform: uppercase;}
.b-partners-prima__inner {text-align: center; display: flex; flex-wrap: wrap; justify-content: center; align-items: start;}
.b-partners-prima__inner a {display: inline-block; text-decoration: none; color: #ead8c5; max-width: 240px;}
.b-partners-prima__inner img {width: 160px; height: 160px; margin: 40px;}
.b-partners-prima__inner span {display: inline-block; padding: 0 10px;}

.b-footer-prima {margin: 0; text-align: center; padding: 90px 40px; background: #011905;}
.b-footer-prima__logo {}
.b-footer-prima__logo img {width: 55px;}
.b-footer-prima__logotext {color: #ead8c5; font-size: 28px; line-height: 1.2; font-family: 'Pobeda-Regular', Arial, sans-serif; margin: 40px 0;}
.b-footer-prima__menu {max-width: 580px; margin: 0 auto;}
.b-footer-prima__menu ul {display: block; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap;}
.b-footer-prima__menu ul li.menu-item {display: inline-block; padding: 5px;}
.b-footer-prima__menu ul li.menu-item a {display: inline-block; background: #c0c4a6; text-decoration: none; color: #011905; font-family: 'Inter', Arial, sans-serif; font-size: 12px; padding: 10px;}
.b-footer-prima__menu ul li.menu-item a:hover {color: #c0c4a6; background: #393939;}
.b-footer-prima__copyright {font-family: 'Pobeda-Regular', Arial, sans-serif; margin-top: 40px; font-size: 14px; color: #6c786e;}

.b-news-list {padding-bottom: 80px;}
.b-news-list h1 {color: #5a0923; font-size: 62px; font-family: 'Pobeda-Bold', Arial, sans-serif; text-align: center;}
.b-news-list__items {display: none; position: relative;}
.b-news-list__item {position: relative;}
.b-news-list__item:before {z-index: 1; content: ''; background: #c0c4a6; display: block; position: absolute; top: 0; bottom: 10px; left: 12px; right: 12px;}
.b-news-list__iteminner {}
.b-news-list__wrapperbg {position: relative; z-index: 2; background: #c0c4a6; margin: 0 0 10px;}
.b-news-list__item img {width: 100%; height: auto;}
.b-news-list__item h4 {font-size: 10px; line-height: 1.2; color: #011905; font-weight: 300; font-family: 'Inter'; text-transform: uppercase;}
.b-news-list__item h3 {font-size: 15px; line-height: 1.2; color: #011905; font-weight: 500; margin-bottom: 10px; font-family: 'Inter';}
.b-news-list__item p {font-size: 11px; line-height: 1.2; color: #011905; font-weight: 300; font-family: 'Inter';}
.b-news-list__item a {color: inherit; text-decoration: none;}
.b-news-list__text {padding: 30px;}
.b-news-list__date {font-size: 10px;}

.b-priest-page {color: #ead8c5; padding: 0 40px;}
.b-priest-page__mainpic {float: left; display: block; max-width: 780px; height: auto; width: 100%;}
.b-priest-page h1 {color: #ead8c5; font-size: 140px; font-family: 'Pobeda-Bold', Arial, sans-serif; margin: 0 0 40px;}
.b-priest-page h2 {color: #ead8c5; font-size: 74px; font-family: 'Pobeda-Bold', Arial, sans-serif; margin: 0 0 40px;}
.b-priest-page p {font-size: 20px; margin: 0 0 0.5em; line-height: 1.5em;}
.b-priest-page__bigtext {font-size: 74px; font-family: 'Pobeda-Bold', Arial, sans-serif; display: inline-block; line-height: 1;}

.b-page {}
.b-page h1 {color: #5a0923; font-size: 40px; font-family: 'Pobeda-Bold', Arial, sans-serif; margin: 0 0 40px;}
.b-page h2 {color: #ead8c5; font-size: 30px; font-family: 'Pobeda-Regular', Arial, sans-serif; margin: 0 0 40px;}
.b-page__inner {color: #c2baa4;}

.b-page-bishop {padding: 0; color: #ead8c5;}
.b-page-bishop h1 {color: #ead8c5; font-size: 94px; font-family: 'Pobeda-Bold', Arial, sans-serif; font-weight: 700; margin-left: 54px;}
.b-page-bishop h2 {color: #ead8c5; font-size: 68px; font-family: 'Pobeda-Regular', Arial, sans-serif; margin: 0 0 40px;}
.b-page-bishop-header {position: relative; margin-left: 40px;}
.b-page-bishop-header__logo {width: 220px; position: absolute; top: -76px; left: 0;}
.b-page-bishop-header__name {min-height: 200px; margin-left: 110px; margin-right: 390px; background-image: linear-gradient(0.25turn, rgba(90, 9, 35, 1) 16%, rgba(234, 216, 197, 0) 100%);}
.b-page-bishop-header__name span {color: #ead8c5; font-size: 96px; font-family: 'Pobeda-Regular', Arial, sans-serif; line-height: 1; font-weight: 500; width: 590px; float: right; display: block;}
.b-page-bishop-header__info {color: #ccc2ad; font-size: 24px; font-family: 'Inter', Arial, sans-serif; float: right; margin-right: 390px; width: 590px; margin-top: 70px;}
.b-page-bishop-header__info p {line-height: 1; margin-bottom: 1em;}
.b-page-bishop-header__info p span {}
.b-page-bishop-header__photo {position: absolute; right: 0; top: -94px; width: 390px; width: 600px;}
.b-page-bishop__inner {padding: 0 40px;}
.b-page-bishop__inner p {font-size: 18px;}

.b-saints-list {max-width: 1200px; margin: 0 auto; text-align: center; color: #d9c8b7;}
.b-saints-list h1 {color: #5a0923; font-size: 68px; font-family: 'Pobeda-Bold', Arial, sans-serif; line-height: 1.55; font-weight: 700;}
.b-saints-list h3 {font-size: 42px; margin: 0 0 24px; line-height: 1; color: #ead8c5; font-weight: 700; font-family: 'Pobeda-Bold', Arial, sans-serif;}
.b-saints-list img {width: 100%;}
.b-saints-list p {}
.b-saints-list__item {margin: 0 0 90px;}
.b-saints-list__inner {display: flex; align-items: center;}
.b-saints-list__text {}
.b-saints-list__line {background: #5a0923; height: 3px; width: 50px; margin: 0 auto 24px;}

.b-single-default {color: #d9c8b7;}
.b-single-default h1 {color: #ead8c5; font-size: 68px; font-family: 'Pobeda-Regular', Arial, sans-serif; margin: 0 0 40px;}
.b-single-default__mainpic {max-width: 700px; margin: 0 auto 40px; display: block; width: 100%;}

.pagination-sml {color: #d9c8b7; border: 0 !important;}


.pagination-sml li {
    display: inline-block;
    margin-right: 12px;
}

.pagination-sml li:last-child {
    margin: 0;
}

.pagination-sml li a {
    width: 40px;
    height: 40px;
    border: 1px solid #d9c8b7;
    text-align: center;
    border-radius: 50px;
    line-height: 40px;
    display: inline-block;
	text-decoration: none;
}

.pagination-sml li.active a,
.pagination-sml li a:hover {
	color: #d9c8b7;
	background: #5a0923;
	border: 1px solid #5a0923;
	
   
}

.logo_alekc{
	width: 201px;
    height: 26px;
	margin: 20px auto;
    mask-image: url('pics/logo_aleks.png');
    background: #6c786e;
    background-size: auto;
    background-repeat: no-repeat !important;
    display: inline-block;
}

@media only screen and (max-width: 1800px) {	
	.b-media-prima__items {width: 1168px;}
	.b-media-prima__item {margin: 0 15px 15px 0;}
	.b-media-prima__item_2 {width: 193px; float: left; margin: 0 15px 0 0;}
	.b-media-prima__item_3 {width: 276px; float: left; margin: 0;}
	.b-media-prima__col_1 {width: 500px;}
	.b-media-prima__col_2 {width: 365px;}
	.b-media-prima__col_3 {width: 303px;}
}

@media only screen and (max-width: 1700px) {
	.b-header-slider {left: -300px;}
}

@media only screen and (max-width: 1600px) {
	.b-priest-page h1 {font-size: 90px; margin: 0 0 30px;}
	.b-priest-page h2 {font-size: 64px; margin: 0 0 30px;}
	.b-priest-page__mainpic {max-width: 560px;}
}

@media only screen and (max-width: 1500px) {
	.b-about-prima {margin: 0 35px 160px;}
	.b-about-prima__right {width: 615px;}
	.b-about-prima__menu {top: 5px;}
	.b-about-prima__menu li {display: block;}
	.b-about-prima__menu li a {font-size: 42px; line-height: 42px;}
}

@media only screen and (max-width: 1400px) {
	.b-header-slider {left: -420px;}
	.b-news-prima2__inner {margin: 0 50px;}
	.b-education-prima {margin: 0 35px 40px;}
	.b-temples-prima {margin: 0 35px 80px;}
	.b-service-prima {margin: 0 0 80px;}
	.b-history-prima {margin: 0 35px 80px;}
	.b-saints-prima {margin: 0 35px 80px;}
}

@media only screen and (max-width: 1300px) {
	.navbar-toggler {text-align: left;}
	.b-mainmenu .menu-item {padding: 0 12px;}
	.b-mainmenu .navbar-social {margin-right: 20px;}
	.b-header-slider {left: -420px;}
	.b-header__logoh {width: 600px;}
	.b-header__logoh h1 {font-size: 50px;}
	.b-arrow_prev {left: 10px;}
	.b-arrow_next {right: 10px;}
	.b-glory-prima {margin: 0 15px 80px;}
	.b-glory-prima__items {margin-top: 40px; height: auto; text-align: center;}
	.b-glory-prima__item {height: auto; padding-top: 0; height: 730px; display: inline-block;}
	.b-media-prima {margin-left: 0; margin-right: 0;}
	.b-page-bishop-header__name span {font-size: 70px; width: 430px;}
	.b-page-bishop-header__info {width: 430px; font-size: 18px;}
}

@media only screen and (max-width: 1200px) {
	.b-header {min-height: auto;}
	.b-header-slider {display: none;}
	.b-header__logoh {position: static;}
	.b-media-prima__items {width: auto; max-width: 550px;}
	.b-media-prima__items h1 {text-align: center;}
	.b-media-prima__item {margin: 0 0 20px; width: auto! important; padding: 0; float: none;}
	.b-media-prima__col {float: none; width: auto;}
	.b-priest-page h1 {font-size: 64px; margin: 0 0 20px;}
	.b-priest-page h2 {font-size: 32px; margin: 0 0 20px;}
	.b-priest-page__mainpic {max-width: 400px;}
	.b-partners-prima__inner {flex-wrap: wrap;}
	.b-partners-prima__inner a {}
}

@media only screen and (max-width: 1100px) {
	.b-about-prima {margin: 0 0 80px;}	
	.b-about-prima h1 {margin-left: 20px; margin-right: 20px;}	
	.b-about-prima h2 {margin-left: 20px; margin-right: 20px;}	
	.b-about-prima__logo {position: static; float: left; height: 300px; width: auto;}
	.b-about-prima__menu {position: static; margin: 0; width: auto;}
	.b-about-prima__menu li {display: block;}
	.b-about-prima__menu li a {padding: 0; display: inline-block; font-size: 28px; height: auto; line-height: 1.5;}
	.b-about-prima__textinner {width: auto; padding: 20px;}
	.b-about-prima__text {margin: 0;}
	.b-about-prima__right {width: auto; position: static; height: auto; display: flex; align-items: center;}
	.b-about-prima__readmore {padding: 0 40px; margin-left: 20px; margin-right: 20px;}
	.b-page-bishop h1 {margin-left: 40px;}
	.b-page-bishop-header__logo {display: none;}
	.b-page-bishop-header__name {margin-left: 0; margin-right: 250px;}
	.b-page-bishop-header__name span {float: none; padding-left: 40px;}
	.b-page-bishop-header__info {float: none; padding-left: 40px;}
	.b-page-bishop-header {margin-left: 0;}
	.b-page-bishop-header__photo {top: -64px; width: 400px;}
}

@media only screen and (max-width: 1000px) {
	.b-service__caption h1, .b-service__caption h2, .b-service__caption h3 {font-size: 80px;}
	.b-service__caption h2 {text-indent: 146px;}
	.b-service__caption h3 {text-indent: 202px;}
}

@media only screen and (max-width: 991px) {
	.navbar-nav {text-align: left;}
	.menu-item .nav-link:hover {color: #ddcebb; transform: none;}
	.dropdown-menu {max-width: 400px;}
	.navbar-social {margin-right: 0;}
	.b-mainmenu {padding: 0;}
	.b-header__logoh {width: auto; position: static; height: 500px; display: flex; align-items: center;}
	.b-header__logoh img {height: 500px;}
	.b-header__logoh h1 {font-size: 60px; width: auto; position: static; margin-left: -40px;}
}

@media only screen and (max-width: 900px) {
	.b-header__logoh {width: auto; position: static; height: 500px;}
	.b-header__logoh img {height: 500px;}
	.b-header__logoh h1 {font-size: 60px; width: auto; position: static; margin-left: -40px;}
	.b-priest-page__mainpic {max-width: 730px; margin-left: auto; margin-right: auto; float: none;}
}

@media only screen and (max-width: 730px) {
	.b-header__logoh {height: 340px;}
	.b-header__logoh img {height: 340px;}
	.b-header__logoh h1 {font-size: 34px; margin-left: -20px;}
	.b-service__caption h1, .b-service__caption h2, .b-service__caption h3 {font-size: 60px; text-indent: 0; text-align: center;}
	.b-priest-page {padding: 0 20px;}
	.b-page-bishop h1 {font-size: 36px; margin-bottom: 50px;}
	.b-page-bishop-header__photo {float: right; width: 200px; top: -45px;}
	.b-page-bishop-header__name {min-height: 0; margin-right: 136px;}
	.b-page-bishop-header__name span {font-size: 36px; padding: 40px; width: auto;}
	.b-page-bishop-header__info {font-size: 14px; margin-top: 20px;}
	.b-single-default h1 {font-size: 34px;}
}

@media only screen and (max-width: 600px) {
	.b-page {}
	.b-page img {float: none; display: block; margin: 0 auto 20px;}
	.b-page h1 {}
	.b-page h2 {}
	.b-page__inner {}
}

@media only screen and (max-width: 500px) {
	.b-header__logoh h1 {font-size: 28px;}
	.b-glory-prima__items {margin-top: 40px; height: auto; text-align: center;}
	.b-glory-prima__item {padding: 0; margin: 0 0 40px; height: auto; width: 100% !important; display: block; float: none;}	
	.b-page-bishop h1 {margin-left: 15px;}
	.b-page-bishop-header__name span {padding: 15px;}
	.b-page-bishop__inner {padding: 0;}
	.b-page-bishop-header__info {padding-left: 15px;}
	/*.b-history-prima {margin: 0 10px 80px;}*/
	.b-history-prima__item.swiper-slide-active .b-history-prima__iteminner {transform: scale(1);}
	.b-history-prima__iteminner {margin-left: auto; margin-right: auto;}
	
	.b-arrow_prev {left: -15px;}
	.b-arrow_next {right: -15px;}
}
