html, body {
	font-family: 'Open Sans', sans-serif; 
	font-size: 16px; 
	line-height: 130%; 
	margin: 0; 
	padding: 0; 
}

iframe {
	max-width: 100%; 
}

body.m-menu-active {
	overflow-y: hidden;
}

* {
	box-sizing: border-box;
}

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

h2 {
	font-family: 'Open Sans', sans-serif;
	font-size: 24px;
	line-height: 29px;
}

h3 {
	font-size: 19px;
	line-height: 22px;
}

.h1, 
.h2 {
	font-family: Georgia;
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	line-height: 24px;
	text-transform: uppercase;
	color: #575656;
	margin: 12px 0;
}

.h1 {
	font-size: 24px;
    line-height: 32px;
}

body.single .h1, 
body.single .h2 {
	text-transform: none;
}

body.single .content {
    border-top: 1px solid #dee0e0;
    margin-top: 20px;
    padding-top: 5px;
}

.h-line {
    display: flex;
    align-items: center;
}

.h-line::after {
	display: block;
	width: 100%; 
	height: 1px;
	background-color: #575656;
	content: '';
	margin-left: 30px;
}

.h-line span,
.h-line a {
	white-space: nowrap;
}

.h-line a:hover {
	opacity: .7;
}

p {
    font-size: 18px;
    line-height: 27px;
    margin: 30px 0;
}

.content > p {
    word-break: break-word;
}

a {
	text-decoration: none;
	color: #000; 
}

.w-calendar a {
	color: #2b7bce;
}

.underline {
	text-decoration: underline;
}

body.page p a,
body.single p a {
	text-decoration: underline;
}

.container {
	max-width: 1360px;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-video video {
	height: 420px;
    background-color: black;
}


.breadcrumbs {
	margin: 20px 0; 
	font-size: 14px;
}

.breadcrumbs a {
	color: #2f2f2f;
}

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

header {
	position: relative;
}


.single-date {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: #8B96A0;
    border: 1px solid #DFE0E0;
    margin: 0 10px 0 0;
    padding: 0 10px;
    border-radius: 3px;
    display: inline-block;
}


.wrap-menu-header {
	background: #e2e2e2;
}

.menu-header {
	flex:  auto;
	font-family: 'Georgia';
}

.menu-header ul {
    display: flex;
    margin: 0;
    padding: 0; 
}

.menu-header ul > li {
	display: inline-block;
	padding: 0; 
	margin: 0; 
	margin-right: 20px;
	position: relative;
}

.menu-header ul > li > a {
	color: #575656; 
	text-transform: uppercase;
	font-size: 15px; 
	text-decoration: none;
	position: relative;
	display: block;
	padding: 20px 0;
}

.menu-header .menu-item-has-children > a::after {
	display: inline-block;
    width: 20px;
    height: 20px;
    content: '';
    background-image: url(../svg/menu-down.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    vertical-align: middle;
    margin-left: 6px;
}
.menu-header .menu-item-has-children:hover > a::after {
	transform: rotate(180deg);
}

.menu-header .sub-menu {
	display: none;
}
.menu-header .menu-item-has-children:hover > .sub-menu {
	display: block;
    position: absolute;
    background-color: #f2f2f2;
    top: 100%;
    margin-left: -20px;
    box-shadow: 0 2px 4px #b9b9b9;
}


.menu-header .menu-item-has-children:hover > .sub-menu li {
	display: block;
    margin-right: 0;
}

.menu-header .menu-item-has-children > .sub-menu li:hover {
	background-color: #e2e2e2; 
}

.menu-header .menu-item-has-children:hover > .sub-menu li a {
    width: 100%;
    padding: 20px;
    white-space: nowrap;
}


.header-socials {
	display: flex;
	align-items: center;
}

.header-socials a {
	margin: 0 5px;
}
.header-socials a:hover {
	opacity: .7;
}

.header-socials a img {
    height: 32px;
    object-fit: contain;
}

.wp-block-embed.is-type-video iframe {
	width: 100%; 
	height: 400px;
}

.wp-block-embed.is-type-video {
	margin: 20px 0;
}


.wp-block-quote {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    color: #562B48;
    border-right: 1px solid #562B48;
    padding-right: 20px;
    margin: 20px 0;
}

.wp-block-quote p {
	font-weight: 500 !important;
	font-size: 20px !important;
	line-height: 20px !important;
	text-align: right;
}

.wp-block-quote cite {
	font-size: 16px;
}

.scroll-up { 
    text-align: center;
    display: inline-block;
    padding: 7px 10px;
    font-size: 14px;
    line-height: 17px;
    background-color: rgba(0,0,0,.5);
    color: #fff;
    border-radius: 3px;
    bottom: 30px;
    transition: bottom 2s;
    position: fixed;
    right: 30px;
    bottom: -500px;
    cursor: pointer;
    z-index: 10;
}

.scroll-up.active {
    bottom: 30px;
}

.scroll-up::before {
    content: '';
    border: 8px solid transparent;
    border-bottom: 10px solid #b7b7b7;
    display: block;
    width: 0px;
    margin: 4px auto;
    margin-top: -6px;
}


.btn:hover {
	opacity: .9; 
}

.btn {
    border: 1px solid #562b48;
	display: inline-block;
    padding: 20px 40px;
    margin: 10px 20px 10px 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    color: black; 
    transition: opacity 400ms; 
}

.btn-info {
    border-color: #E8AB68;
}

.btn-primary {
    background-color: #562b48;
    color: #fff;
}

.btn-center {
    display: block;
    width: fit-content;
    margin: 0 auto !important;
}

.btn-yellow {
    background-color: #E8AB68;
    border-color: #E8AB68; 
    color: #fff;
}

.header-search {
	margin-left: 20px;
	position: relative;
}

.header-search-toggle {
    display: inline-block;
    width: 44px;
    height: 44px;
    background-image: url(../svg/bi_search.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    cursor: pointer;
}

body.h-search-active .header-search-toggle {
	background-image: url(../svg/close.svg);
}

.header-search form {
	display: none; 
}

body.h-search-active .header-search form {
    display: flex;
    align-items: center;
    position: absolute;
    right: 0px;
    border: 1px solid #4b253b;
    background-color: #fff;
    width: 400px;
    padding: 5px 0;
    border-radius: 5px;
        z-index: 2;
}

.header-search button[type="submit"] {
	border: 0; 
	outline: 0; 
	background: #fff; 
}

.header-search button[type="submit"]::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url(../svg/search.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
}

.header-search input[type="search"] {
	display: block;
    padding: 15px;
    flex: auto;
    outline: 0;
    border: 0;
}

.news {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.news-item {
	width: 100%;
	color: #000000;
}

.jpost-item:hover .jpost--title,
.news-item:hover .news--title {
	text-decoration: underline;
}

.jpost-image,
.news-image {
	overflow: hidden;
}

.jpost-title {
	font-weight: bold;
}

.jpost-item img,
.news-item img {
	height: 200px; 
	width: 100%; 
	max-width: 340px;
	display: block;
	transition: 1s;
}

.jpost-item:hover img,
.news-item:hover img {
	transform: scale(1.1);
}

.news-content {
	display: block;
	margin-top: 10px;
}

.news--title {
	font-weight: bold;
}

.jpost-date, 
.news--date {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 16px;
	margin-top: 5px;
}

.jado {
	display: block;
	font-family: Georgia;
	margin-bottom: 40px;
}

.jado img {
	display: block;
	height: 225px; 
	width: 100%; 
}

.jado-content {
	color: #575656;
	display: block;
	padding: 12px;
	background: linear-gradient(180deg, #FFFFFF 0%, #ADABAB 100%), #E6E6E6;
}

.jado--title {
	display: block;
	font-weight: bold;
	font-size: 18px;
	line-height: 22px;
	margin: 10px 0;
}

.jado--desc {
	display: block;
	font-size: 14px;
	line-height: 16px;
	margin: 10px 0;
}

.jado--cat {
	display: block;
	text-align: center;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 16px;
	text-transform: uppercase;
	color: #FFFFFF;
}


.group-feed {
	background: linear-gradient(180deg, #575656 0%, rgba(255, 255, 255, 0) 32.29%), #C4C4C4;
	padding: 10px 18px; 
	margin-bottom: 40px;
}

.group-feed-link {
	display: block;
	margin: 20px 0; 
	font-family: Georgia;
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 19px;
	color: #000000;
}

.group-feed-link:hover {
	opacity: .7;
}

.group-feed-title {
	display: flex;
	justify-content: space-between;
	text-transform: uppercase;
	color: #fff; 
	margin: 10px 0;
}

.group-feed-title span {
	cursor: pointer;
	color: #ADABAB;
}

.group-feed-title span.active {
	color: #fff; 
}
.group-feed-links {
	display: none;
}
.group-feed-links.active {
	display: block;
}


.wrap-404 {
	padding: 50px 0;
}

.wrap-anonsy {
    display: flex;
    justify-content: space-between;
    background: linear-gradient( 180deg , #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), #C4C4C4;
    padding: 10px;
    align-items: center;
    margin: 30px 0;
}

.wrap-anonsy .h2 a {
	color: red;
}

.wrap-anonsy .h2 {
	width: 100px; 
	text-align: center;
	margin-right: 20px;
}

.anonsy-item {
	display: block;
	margin: 10px 0;
	font-family: Georgia;
	font-weight: 500;
	font-size: 18px;
	line-height: 22px;
	color: #575656;
}

.anonsy--date {
	color: #a2a2a2;
}

.anonsy--title {
	display: block;
	margin-top: 5px;
}


.w-calendar {
	border: 1px solid #ADABAB;
	padding: 30px; 
	font-family: Georgia;
	margin: 40px 0;
	background-color: #fff;
}

.w-title {
	font-weight: 800;
	font-size: 18px;
	line-height: 22px;
	text-transform: uppercase;
	color: #575656;
}

.w-date {
	font-weight: 500;
	font-size: 24px;
	line-height: 29px;
	margin: 15px 0;
}

.w-content {
	font-weight: 500;
	font-size: 13px;
	line-height: 16px;
}



.yandex-share {
	display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 30px 0;
}

.ya-share2, 
.par-title {
	display: inline-block;
}

.ya-share2__container_size_m .ya-share2__badge .ya-share2__icon {
    border: 1px solid black;
    border-radius: 50%;
    background-position: center;
    padding: 16px;
    background-repeat: no-repeat;
    margin-left: 10px;
}


.jposts {
	width: calc(100% + 20px);
	margin-left: -20px;
	display: flex;
	flex-wrap: wrap;
}

.jpost-item {
	width: calc(100% / 3 - 20px);
    margin-left: 20px;
    margin-bottom: 20px;
}
.jpost-item img {
	height: 220px;
	width: 100%; 
}

.jpost-date {

}

footer {
	background: #e2e2e2;
	color: #000;
}

.footer {
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.partners-title {
	font-family: Georgia;
	font-weight: 500;
	font-size: 18px;
	line-height: 22px;
	text-transform: uppercase;
	color: #000000;
}

.partners-links {
	display: flex;
	flex-wrap: wrap;
	margin-top: 20px;
}

.partners-links a {
	background: #C4C4C4;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    padding: 10px;
    font-family: Georgia;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: black;
    text-align: center;
    margin-right: 20px;
}

.footer-info {
	width: 340px; 
}

.text-flex {
    display: flex;
    line-height: 160%;
}

.text-flex span {
	margin-right: 10px;
}

.footer-info p {
	font-family: 'Open Sans', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	
	margin: 10px 0;
}

.footer-info a {

}


.menu-footer {
	width: calc(100% - 400px);
}

.menu-footer > ul {
    display: block;
    width: 100%;
    margin-bottom: 14px;
    padding-left: 0;
}
.menu-footer > ul > li {
	display: block;
    width: 100%;
    margin-bottom: 10px;
}
.menu-footer > ul > li > a {
	font-family: 'Open Sans', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 21px;
	color: #a7a7a7;
}
.menu-footer .sub-menu {
	padding: 0; 
	margin: 0;
	margin-top: 30px; 
}
.menu-footer .sub-menu li {
	display: block;
	margin-bottom: 10px;
}
.menu-footer .sub-menu li a {
	font-family: 'Open Sans', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	color: #FFFFFF;
}

.copyright {
	text-align: center;
	font-family: 'Open Sans', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	color: #808080;
	padding-bottom: 20px;
}

.copyright a {
	color: #bfbfbf; 
	text-decoration: underline;
}


.pagination {
	margin:  20px 0; 
}

.pagination span {
	display: inline-block;
    padding: 10px;
    margin-right: 10px;
}

.pagination a {
	display: inline-block;
    padding: 10px;
    margin-right: 10px;
    background-color: #ececec;
}

.pagination a:hover {
	background-color: #e2e2e2; 
}


.wpcf7-form {
    padding: 1px 20px;
    border: 1px solid #acabab;
    width: fit-content;
    margin-bottom: 20px;
}

.wpcf7-form textarea,
.wpcf7-form input[type="email"],
.wpcf7-form input[type="text"] {
	padding: 8px 10px;
    background-color: #fff;
    border: 1px solid #acabab;
    box-sizing: border-box;
    outline: 0;
}

.wpcf7-form p {
	margin: 15px 0;
}

.wpcf7-form input[type="submit"] {
	display: inline-block;
    padding: 10px 40px;
    border: unset;
    background-color: black;
    color: #fff;
}



#kaz td {
	padding: 20px;
    width: calc(100% / 4);
    vertical-align: top;
}

#kaz img {
	display: block;
	margin-top: 10px;
}