/*
 *  Copyright (C) 2021
 *  https://ubloger.ru/
 *
 *  Author     : Weberst-2966
 *  Template   : Victoria
 *  Created on : 12 дек. 2021 г., 9:00:00
*/


:root {

	/* Template conf */
	--inner-max-width: 1030px;
	--background-color: #fff;

	--border-color: #efefeb;
	--text-color: #222;
	--gray-color: #959595;

	--border-radius: 3px;

	--box-shadow-swiper-button: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
	--box-shadow-md:
		rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
		rgba(0, 0, 0, 0.04) 0px 10px 10px -5px,
		rgba(0, 0, 0, 0.04) 0px -15px 10px -5px;

	--transition-sm: .2s cubic-bezier(.175, .885, .32, 1.275);
	--transition-md: .4s cubic-bezier(.175, .885, .32, 1.275);

	--sidebar-width: 270px;
	--items-count: 2;

}


/* Swipers buttons */
.swiper-button-next, .swiper-button-prev {
	--swiper-navigation-color: #fff;
}


/* Header block */
header{
	background: none;
}
header a:active,
header a:visited,
header a:link,
header a{
	color: var(--header-link-color);
}
header a:hover{
	color: var(--header-link-hover-color);
}
header .inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
	flex-wrap: wrap;
	color: var(--header-text-color);
}


/* Social block */
header .social a {
	display: inline-flex;
	font-size: 22px;
	padding: 5px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	margin-left: 1rem;
	color: var(--text-color);
	background: #f4f4f4;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	transition: .2s ease-in-out;
}
header .social a:hover {
	background: #dfdfdf;
}


/* Logo block */
.logo-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
}
.logo-group .sitename {
	font-size: 1.5rem;
	text-decoration: none;
	color: inherit;

}
.logo {
	text-decoration: none;
	color: inherit;
	text-transform: uppercase;
	font-size: 2rem;
	margin-right: 15px;
}
.logo img {
	max-height: 90px;
}
.slogan {
	color: var(--gray-color);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
header .menu-mobile-toggle {
	display: none;
	font-size: 28px;
}

.header-pages .inner {
	padding: 0;
	max-height: calc(24px * 2);
	overflow: hidden;
}
header .header-pages a:active,
header .header-pages a:visited,
header .header-pages a:link,
header .header-pages a {
	color: var(--text-color);
	font-size: 14px;
	text-decoration: none;
	margin-right: 15px;
	white-space: nowrap;
	line-height: 1;
}


/* Navigation block */
nav {
	background: none;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 20px;
}
nav a:active,
nav a:visited,
nav a:link,
nav a {
	text-decoration: none;
	color: var(--text-color);
}
nav .inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	color: var(--menu-text-color);
}
nav a:hover {
	color: var(--link-hover-color, #777);
}
nav ul {
	background: none;
}
nav ul.level_1 > li {
	width: auto;
	display: flex;
	align-items: center;
	padding: 0 20px;
	margin: 0;
	height: 48px;
	position: relative;
	border-bottom: 2px solid transparent;
	transition: var(--transition-sm);
}
nav ul.level_1 > li.has_ul {
	position: relative;
}
nav .has_ul:after {
	position: absolute;
	content: "\f107";
	right: 5px;
	font-weight: 400;
	font-size: 18px;
	color: var(--text-color);
	font-family: FontAwesome;
	transition: var(--transition-md);
}
nav .has_ul:hover:after {
	color: var(--link-hover-color);
	transform: rotate(180deg);
}
nav .level_2 .has_ul {
	padding-right: 25px;
}
nav .level_2 .has_ul:hover:after {
	transform: rotate(270deg);
}
nav ul.level_2 > li,
nav ul.level_3 > li,
nav ul.level_4 > li,
nav ul.level_5 > li,
nav ul.level_6 > li {
	align-items: center;
	margin: 0;
	padding: 0 20px;
	position: relative;
	display: flex;
	border-bottom: 1px solid var(--border-color);
}
nav ul.level_2 > li:last-child,
nav ul.level_3 > li:last-child,
nav ul.level_4 > li:last-child,
nav ul.level_5 > li:last-child,
nav ul.level_6 > li:last-child {
	border-bottom: none;
}
nav ul li > ul {
	display: block;
	border: 1px solid var(--border-color);
	z-index: -10;
	opacity: 0;
	padding: 0;
	background-color: #fff;
	box-shadow: var(--box-shadow-md);
	transform: scaleX(0);
	transition: var(--transition-md);
}
nav ul.level_2 {
	position: absolute;
	top: 48px;
	left: 0;
}
nav ul.level_3,
nav ul.level_4,
nav ul.level_5,
nav ul.level_6 {
	position: absolute;
	top: -1px;
	left: 100%;
}
nav ul.level_1 > li:hover {
	border-color: var(--link-hover-color);
}
nav ul li:hover > ul {
	z-index: 1010;
	opacity: 1;
	transform: scaleX(1);
}


/* Menu popup */
#menu-toggler {
	color: var(--text-color);
	position: absolute;
	right: 0;
	padding: 3px 6px;
}
#menu-toggler:hover {
	cursor: pointer;
	color: var(--link-hover-color);
}

.menu #menu_popup li {
	padding: 10px 20px;
	font-size: 14px;
	border-bottom: 1px solid var(--border-color);
	white-space: normal;
}
.menu #menu_popup li a {
	color: var(--text-color);
	font-size: inherit;
}
.menu #menu_popup li a:hover {
	color: var(--link-hover-color);
}
.menu .menu_p {
	position: absolute;
	top: 48px;
	right: 0;
	display: block;
	padding: 0;
	margin: 0;
	background: #fff;
	border: 1px solid var(--border-color);
	opacity: 0;
	z-index: -10;
	transform: scaleY(0);
	transform-origin: 50% 0%;
	transition: var(--transition-md);
}
.menu .menu_open {
	z-index: 1010;
	opacity: 1;
	transform: scaleY(1);
}



/* Slider block */
.slider_wrapper {
	margin-bottom: 60px;
}
.slider_wrapper .swiper-slide {
	height: 100%;
}
.slider_pages {
	background: var(--background-gray-color);
	width: 100%;
	height: auto;
	position: relative;
}
.slider_pages .swiper-slide {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}
.slider_pages picture {
	line-height: 1;
}
.slider_pages img {
	display: block;
}
.slider_pages .slider-bg {
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.4);
	z-index: 110;
	transition: var(--transition-md);
}
.slider_pages .slider-content {
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 100px;
	text-align: center;
	z-index: 115;
	transition: var(--transition-md);
}
.slider_pages h3 {
	margin: 0;
	color: #fff;
}
.slider_pages .slide-title a {
	line-height: 1.2;
	font-weight: 500;
	font-size: 44px;
	margin-top: 0;
	color: var(--template-link-color);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.slider_pages a {
	text-decoration: none;
	transition: var(--transition-sm);
}
.slider_pages .slide-descr {
	color: #fff;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 300;
	display: block;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.slider_pages .slide-date {
	display: block;
	color: #f0f0f0;
	font-size: 18px;
	margin-top: 15px;
	font-weight: 400;
	font-style: italic;
}
.slider_pages .slide-link {
	margin: 20px 0;
	display: block;
}
.slider_pages .slide-link a {
	line-height: 1.2;
	font-weight: 700;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-align: center;
	padding: 15px 30px;
	background: var(--text-color);
	color: #fff;
}
.slider_pages .slide-link a:hover {
	background: #333;
}


/* Pages and categories grid */
.pages .item a,
.categories a {
	color: var(--text-color);
}
.pages .item--title,
.categories .item--title {
	font-size: 18px;
	line-height: 1.3;
	min-height: calc(18px * 1.3 * 3);
}
.pages .item--title:hover,
.categories .item--title:hover {
	text-decoration: underline;
}
.pages .item--descr,
.categories .item--descr {
	margin: 13px 0;
	color: #464646;
}
.item--meta_info {
	font-size: .925rem;
	font-style: italic;
	padding-bottom: 5px;
	border-bottom: 1px solid #f0f0f0;
}
.item--meta_info .item--publication_date {
	margin-right: .925rem;
}


/* Sidebar block */
.sidebar .sidebar-subtitle {
	text-transform: uppercase;
	padding-bottom: 2px;
	letter-spacing: 1px;
	color: #000;
	font-size: 15px;
	margin-bottom: 10px;

}
.sidebar .sidebar-subtitle.bordered {
	padding-bottom: 15px;
	border-bottom: 1px solid var(--text-color);
}
.sidebar .tile-wrapper {
	margin-top: 40px;
}
.sidebar .search {
	position: relative;
}
.sidebar .search input[type="text"] {
	border-color: #d1d1d1;
	padding: 5px 15px;
	width: 100%;
}
.sidebar .search button {
	position: absolute;
	right: 7px;
	border: none;
	background: none;
	color: var(--text-color);
}
.sidebar .search button:hover {
	opacity: .65;
}
.sidebar a {
	color: var(--template-link-color);
	display: -webkit-box;
	overflow: hidden;
	transition: var(--hover-transition-sm);
}
.sidebar a:hover {
	color: var(--link-hover-color);
}
.sidebar .level_2 {
	display: none;
}

.sidebar > .search {
	margin-top: 0;
}
.section-title {
	margin-top: 0;
	margin-bottom: 20px;
	color: #222;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 1px;
}
.sidebar .pages-menu a {
	font-weight: 500;
	font-size: 15px;
}
.sidebar .pages-menu li {
	position: relative;
	margin-bottom: 5px;
	border-bottom: 1px solid var(--border-color);
}
.sidebar .pages-menu span {
	font-size: .925rem;
	color: #676767;
}
.sidebar .current {
	text-decoration: underline;
	color: #676767;
}
.sidebar .current:after {
	content: ' <';
}

.article-info {
	font-style: italic;
}
.article-info .info-block {
	margin-right: 20px;
}
.article-info .info-block i {
	margin-right: 0;
}

/* Structure block */
#structure_title {
	margin-bottom: 10px;
	font-weight: 700;
	font-style: italic;
	font-size: 1.125rem;
}
#structure a {
	color: var(--text-color);
}
#structure .level_3,
#structure .level_4,
#structure .level_5,
#structure .level_6 {
	margin-left: 16px;
}

/* Footer block */
footer {
	background: #f5f5f5;
	border-top: 1px solid var(--border-color);
}
footer .social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	flex-direction: row;
	gap: 13px;
}
footer .social a {
	display: inline-flex;
	font-size: 22px;
	padding: 5px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	margin: 0;
	color: var(--text-color);
	background: #fff;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	transition: .2s ease-in-out;
}
footer .social a:hover {
	background: #dfdfdf;
}
footer .footer-email {
	margin-bottom: 1rem;
	font-style: italic;
}
footer .menu_subtitle {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: .5rem;
}
footer .menu a {
	color: var(--text-color);
}
footer .menu a:hover {
	color: var(--link-hover-color);
}


/*
 * Mobile menu
*/
header .menu-mobile-toggle {
	display: none;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	cursor: pointer;
	background-color: #fff;
	z-index: 1010;
	border: 1px solid var(--border-color);
}
.mobile-menu ul a {
	text-decoration: none;
}
.mobile-menu ul li {
	padding: 8px 0;
}
.mobile-menu .level_2 {
	display: none;
}
.mobile-menu .menu,
.mobile-menu .social {
	padding: 20px 0 0 0;
	margin: 2rem 0;
	border-top: 2px solid #f3f2f1;
}
.mobile-menu .social a {
	padding: 0 15px 15px 0;
	text-decoration: none;
}
.mobile-menu .social a i {
	font-size: 24px;
}



/*
	Victoria mobile styles
*/

@media (max-width: 1100px) {
	.slider_pages .slide-title a {
		font-size: 36px;
	}
}
@media (max-width: 960px) {
	.slider_pages .slide-title a {
		font-size: 32px;
		line-height: 1;
	}
}
@media (max-width: 800px) {
	header .menu-mobile-toggle {
		display: flex;
	}
	.header-top .menu a {
		padding: 0;
	}
	header .slogan,
	header .social,
	header .menu {
		display: block;
		margin-bottom: 15px;
	}
	header .social a {
		margin: 0 10px;
	}
}
@media (max-width: 640px) {
	:root {
		--items-wide-count: 2;
	}

	.slider_pages .slider-content {
		padding: 20px;
	}
	.slider_pages .slide-title a {
		font-size: 28px;
	}
	.slider_pages {
		margin: 7px 0;
	}
}
@media (max-width: 480px) {
	.slider_pages .slide-title a {
		font-size: 24px;
	}
}
@media (max-width: 440px) {

}
@media (max-width: 425px) {

}
@media (max-width: 400px) {
	:root {
		--items-count: 1;
		--items-wide-count: 1;
		--items-margin: 0;
	}
}
@media (max-width: 375px) {

}
@media (max-width: 360px) {
	header .logo-subgroup .slogan {
		display: block;
	}
}
@media (max-width: 325px) {

}
