html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none;}
table {border-collapse: collapse; border-spacing: 0;}
input, select, button, textarea{margin: 0;	font-size: 100%;}
input[type="text"], input[type="password"], textarea{padding: 0;}
input[type="checkbox"]{vertical-align: bottom;}
input[type="radio"]{vertical-align: text-bottom;}
i, em {font-style: italic;}
b, strong {font-weight: bold;}
del { 
	text-decoration: line-through;
	text-decoration-color: #3687c7;
}
ins { 
	text-decoration: underline;
	text-decoration-color: #3687c7;
}
hr {
	border-color: #3687c7;
}
code {
	padding: 1px 4px;
	margin: 0;
	border-radius: 2px;
	color: #222;
	background: #f2f4f5;
}
html {
	font-family: Arial;
	font-style: normal;
	color: #4e4d4d;
}

body {
	font-family: Arial;
	font-style: normal;
	font-size: 10pt;
	background-image: url('./images/bkg_sky.jpg');
	background-position: center top;
	background-repeat: no-repeat;
	background-color: #92c5df;
}
p {
	margin: 2px;
	margin-bottom: 10px;
	padding: 0px;
	line-height: 1.2;
	word-spacing: 0.01in;
	font-weight: normal;
}
p.h1, h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 22pt;
	color: #3687c7;
	padding: 0;
	margin: 0;
	margin-bottom: 8px;
	line-height: 1.2;
}
h2 { font-size: 20pt; }
h3 { font-size: 18pt; }
h4 { font-size: 16pt; }
h5 { font-size: 14pt; }
h6 { font-size: 12pt; }

span.s1 {
	color: #3687c7;
}

input{
	padding: 1px 5px !important;
	border: 1px solid #3687c7; /* цвет рамки */
	border-radius: 4px; /* закругление углов (общее) */
	-webkit-border-radius: 4px; /* закругление углов (Google Chrome) */
	-moz-border-radius: 4px; /* закругление углов (FireFox) */
	-khtml-border-radius: 4px; /* закругление углов (Safari) */
	background: #d3eefe !important; /* желательно прописывать, так как в Chrome при сохранных данных оно может быть желтым */
	outline: none; /* удаляет обводку в браузерах хром(желтая) и сафари(синяя) */
	height: 14pt; /* высота на свое усмотрение */
	color: #4e4d4d; /* цвет шрифта в обычном состоянии */
	font-size: 11px; /* Размер шрифта */
}

button {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 4px 5px !important;
	background: #d3eefe;
	border: solid #3687c7 1px;
	text-decoration: none;
	color: #4e4d4d;
	font-size: 11px;
}

button:hover {
	background: #3687c7;
	border: solid #d3eefe 1px;
	text-decoration: none;
	color: #fff;
}

a {
	color: #3687c7;
}
.wrapper,
div.center {
	width: 1046px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wrapper {
	background-color: #fffee3;
}
div.center {
	width: 1070px;
}
.header {
	width: 1070px;
	height: 413px;
	margin-left: auto;
	margin-right: auto;	
	background-image: url('./images/head_art_v2.png');	
	background-position: center top;
	background-repeat: no-repeat;
}
/*  ---------------------------- MENU --------------------------------  */
nav.main-top-menu {
	display: flex;
	margin-top: -50px;
	height: 50px;
	width: 1024px;
	margin-left: auto;
	margin-right: auto;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 18pt;
	padding: 0 23px;
}
nav.main-top-menu div{
	display: block;
	height: auto;
	margin: auto;
}
nav.main-top-menu ul li a {
	color: #fff;
	text-decoration: none;
}
nav.main-top-menu ul{
	display: block;
}
nav.main-top-menu ul li{
	display: block;
	float: left;
	margin-left: 15px;
	margin-right: 15px;
}
/*  ---------------------------- body --------------------------------  */
.wrapper {
	
}
.welcome {
	text-align: center;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 12pt;
	color: #3687c7;
	padding: 0;
	margin: 0;
	margin-bottom: 8px;
	line-height: 1.2;
	width: 520px;
	margin-left: auto;
}
/*  ---------------------------- SLIDER - PANEL --------------------------------  */
.panel-left {
	background: #d4f7f9;
	margin-top: 40px;
	margin-left: 0px;
	margin-bottom: 5px;
	margin-right: 0px;
	width: 253px;
	float: left;
}
.panel-right {
	margin-top: 20px;
	margin-left: 0px;
	margin-bottom: 5px;
	margin-right: 0px;
	width: 253px;
	float: right;
}
.float-disable {
	clear: both;
	height: 20px;
}
.sidebar-heading {
	width: 260px;
	display: flex;
	height: 41px;
	text-align: center;
	vertical-align: middle;
	color: #fff;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 14pt;
	background-position: center top;
	background-repeat: no-repeat;
}
.sidebar-heading span,
.sidebar-heading a
{
	margin: auto;
	padding-bottom: 7px;
	color: #fff;
}
.sidebar-content {
	width: auto;
	margin: 10px 20px 30px;
	font-size: 9pt;
}
/*  ---------------------------- SLIDER - PANEL - Left --------------------------------  */
.panel-left .sidebar-heading {
	background-image: url('./images/bookmark_headers_l.png');	
	margin-left: -7px;
}
.panel-left .sidebar-content {

}
.panel-left .panel-left-border {
	background-color: #fffee3;
	height: 25px;
	width: 100%;
	
}
.panel-left img {
	width: auto !important;
	height: auto !important;
	max-width: 200px;
	margin: 8px;
	float: none !important;
}
/*  ---------------------------- SLIDER - PANEL - Right --------------------------------  */
.panel-right .sidebar-heading {
	background-image: url('./images/bookmark_headers_r.png');	
	margin-right: -7px;
}
.panel-right .sidebar-content {
	
}
.panel-right .s1 {
	font-size: 9pt;
}
.sidebar-vk {
	width: 220px;
	border: 1px solid #3687c7;
	border-radius: 4px; /* закругление углов (общее) */
	-webkit-border-radius: 4px; /* закругление углов (Google Chrome) */
	-moz-border-radius: 4px; /* закругление углов (FireFox) */
	-khtml-border-radius: 4px; /* закругление углов (Safari) */
	margin: 20px auto;
//	min-height: 150px
}
.google-kalendar {
	text-align: center;
}
.google-kalendar .kalendar{
//	margin: 20px;
	height: 200px;
	border: 1px solid #3687c7;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
}
.pravoslavniy-kalendar {
	margin: 5px 10px 5px 5px !important;
	background-color: #f6f5d9;
	padding: 6px;
}
.panel-right .sidebar-heading {
	
}
.ya-plus{
	height: 24px;
	display: flex;
}
.ya-plus p{
	margin: auto 5px auto auto;
	float: left;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 12pt;
	color: #3687c7;
	font-style: italic;
}
/*  ---------------------------- SEARCH --------------------------------  */
.search-form {
	text-align: left;
}
.search-form input{
	width: 190px; /* ширина на свое усмотрение */
}
.search-form button {

}

.search-form button:hover {

}
.search-title {
	font-size: 16pt;
}
.content-center-search p{
	font-size: 10pt;
}
/*  ---------------------------- VK COMMENTS -------------------------------  */
.soc-comments {
	
}
.soc-comments-vk {
	margin-left: -50px;
}
/*  ---------------------------- CONTENT --------------------------------  */
.content-center {
	float: left;
	width: 520px;
	margin: 20px 0px;
	padding: 0px 10px;
}
.content-center-page {
	width: 670px !important;
	padding-left: 100px;
}
p.date {
	font-family: 'Roboto Condensed', sans-serif;
	color: #3687c7;
	font-size: 9pt;
	margin:  0;
	font-style: italic;
}
.content-center-page img{
	width: auto !important;
	height: auto !important;
	margin: 10px 10px 10px -50px;
	max-width: 600px;
}
.news-title {
	background-image: url(./images/angel_news_art.png);
	background-repeat: no-repeat;
	background-position-x: right;
	background-position-y: 5px;
	min-height: 50px;
	margin-left: 10px;
}
.list-posts {
	padding: 10px;
}
.list-posts p{
	font-size: 10pt;
	margin-bottom: 0;
}
.list-posts h2{
	font-size: 18pt;
	margin-bottom: 15px;
}
.list-posts img{
	max-height: 162px;
	max-width: 220px;
	width: auto !important;
	height: auto !important;
	float: left;
	margin: 2px 15px 15px 0;	
}
.list-posts-article {
	margin-bottom: 20px;
}
footer, footer.footer {
}
.yandex_maps_title {
	background-color: #fffee3;
	display: flex;
	height: 45px;
	width: 1046px;
	margin-left: auto;
	margin-right: auto;	
}
.yandex_maps_title h4{
	margin-left: auto;
	margin-right: auto;
}
.yandex_maps_content {
	background-color: #fffee3;
	display: flex;
	height: auto;
	width: 1046px;
	margin-left: auto;
	margin-right: auto;	
}
.footer-copyright {
	display: flex;
	height: 45px;
	width: 1046px;
	margin-left: auto;
	margin-right: auto;
	background-image: url('./images/bkg_footer.jpg');	
	background-position: center top;
	background-repeat: no-repeat;
}
.footer-copyright .copyright{
	height: auto;
	color: #fff;
	text-align: center;
	margin: auto;
	font-size: 9pt;
	padding: 0px;
}
.wp-pagenavi {
	clear: both;
	text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
	margin: 0px;
}



/* project mobile */

.dark-nav, .mobile-nav, .vk-mobile, nav.main-top-menu ul li.mobile-block, nav form[name='search'], .header canvas, .only-mobile {
 display: none;
}

div.websovet-widget.websovet-zapiski-online .websovet-widget-links {
	display: contents;
}


.vk_group_news {
	width: 100% !important;
	height: 100% !important;
}

.vk_group_news iframe {
	border: 1px solid #cfcfcf;
	
}

	.content-center > section.main-page-posts {
		display: none;
	}

.common-information-container {
	    background-color: #fffee3;
	padding: 40px 20px;
	    width: 1046px;
    box-sizing: border-box;
    margin: auto;
}

.common-information-block {
	    background-color: #fff;
	    padding: 10px 20px;
    box-sizing: border-box;
	    font-size: 14px;
	padding-bottom: 30px;
	border: 1px solid  #cfcfcf;
}

.common-information-block > h4 {
	text-align: center;
	margin-bottom: 20px;
}

.common-information-items {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.common-information-item {
    margin-bottom: 15px;
    gap: 7px;
}

.common-information-item-label {
	color: gray;
    font-size: 16px;
	white-space: nowrap;
	margin-bottom: 5px;
}

.common-information-nowrap {
	white-space: nowrap;
}

@media (max-width: 768px) {
 * {
  max-width: 100%;
  box-sizing: border-box;
 }
	
	.common-information-items {
		grid-template-columns: 1fr;
	}
	
	.only-mobile {
		display: block;
	}
 
	 .center .wrapper {
	  display: flex; 
	  flex-direction: column;
		padding-top: 40px;
	 }
 
	 .header {
	  background-image: url('images/mobile_1page_head.gif');
	  width: 100%;
	  height: auto;        
		 background-size: 120% 100%;
	  aspect-ratio: 360/200;
	 }
 
	 .panel-left, .panel-right, .content-center {
	  width: 100%;
	 }
 
	 .content-center-page {
	  	padding-left: 10px;
	 }
 
	 .wrapper img {
	  max-width: 100% !important;
	  margin: 0;
	  float: none;
	 }
	
	
	.common-information-block > h4 {
margin-bottom: 8px;
	}
 
 .wp-pagenavi a, .wp-pagenavi span {
  padding: 1px 3px;
  margin: 1px;
 }
 
 .mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  top: 15px;
  right: 15px;
  height: 30px;
  width: 30px;
  background: #3b90d6;
  padding: 5px;
  cursor: pointer;
  z-index: 101;
 }
 
  .mobile-nav > div::after, .mobile-nav > div::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
 }
 
 .mobile-nav > div::after {
  top: 6px;
 }
 
 .mobile-nav > div::before {
  top: 21px;
 }
 
 .mobile-nav > div, .mobile-nav > div::after, .mobile-nav > div::before {
  width: 20px;
  height: 3px;
  background: white;
  transition: .3s;
 }
 
 nav.main-top-menu {
  display: flex;
  z-index: 100;
  position: fixed;
  right: 0;
  top: 0;
  width: min-content;
  height: auto;
  background: #3b90d6;
  margin: 0;
  flex-direction: column;
	transition-duration: .5s;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	 overflow: hidden;
	 transform: translatex(100%);
	     padding: 10px 15px;
	 border: 1px solid white;
 }
 
 .nav-active nav.main-top-menu {
		transform: translatex(0);
 }
 
 nav.main-top-menu div ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
	 overflow-y: hidden;
 }
	
	nav.main-top-menu div {
		margin: 0;
	}
 
 .nav-active .mobile-nav > div {
	 background: #ffffff00;
 }
 
 .nav-active .mobile-nav > div::after {        
	 transform: rotate(-45deg) translate(-12px, -1.25px);
 }
 
  .nav-active .mobile-nav > div::before {
    transform: rotate(45deg) translate(-12px, 1.75px);
 }
 
 body .ws-img, body .websovet-widget .ws-button {
  max-width: 90%;
 }
 
 
 .sidebar-content iframe, .sidebar-content [href="https://rutube.ru/channel/32106891/"] img {
  width: 100%;
 }
	
	.panel-right form[name='search'] {
		display: none;
	}
	
	nav.main-top-menu ul li.mobile-block {
		display: block;
	}
	
	.websowet-zapiski-image {
		aspect-ratio: 1108 / 1564;
        background-image: url('/wp-content/themes/usp.spb.ru_v1/images/zapiska.jpg');
        background-size: 100% 100%;
		height: 150px;
		display: block;
	}
	
	nav.main-top-menu {
		overflow-y: auto;
	}
	
	.menu-osnovnoe-verhnee-menju-container {
		margin-bottom: 15px;
	}
	
	.wp-block-image {
		text-align: center;
		margin-bottom: 15px;
	}
	
	.vk-mobile, websovet-zapiski-online {
		display: block;
	}
	
	.websovet-widget.websovet-zapiski-online {
	    display: grid;
		grid-template-columns: 1fr min-content;
		gap: 20px;
		order: -9;
		margin: 10px 20px 30px;
	}
	
	.websovet-widget.websovet-zapiski-online .ws-button {
		    max-width: 100%; 
		white-space: nowrap;
	}
	
	div.websovet-widget.websovet-zapiski-online .websovet-widget-links {
		display: flex;
		gap: 20px;
		flex-direction: column;
		height: 100%;
	}
	
	.websovet-widget.websovet-zapiski-online .ws-img {
		max-width: 100%;
	}
	
	.header canvas {
		display: block;
		height: 70px;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
	}
	
	.header-mobile-text {
        width: 100%;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
	    background-color: #3991d0 !important;
		padding: 10px 15px;
	}

	.header-mobile-text p {
		color: #ffffff;
        text-align: center;
		max-width: 80%;
		font-family: 'Roboto Condensed', sans-serif;
		font-size: 12pt;
	}
	
	.content-center {
		margin-top: 0px;
	}
	
	.panel-right {
		display: contents;
	}
	
	.footer-contact-link {
		display: none;
	}
	
	.google-colendar-container {
		order: -10;
	}
	
	.content-center {
		order: -11;
	}
	
	.home .content-center {
		order: -8;
	}
	
	.panel-left {
		display: flex;
		flex-direction: column-reverse;
		order: -7;
		margin-bottom: 30px;
		margin-top: 0;
	}
	
	.content-center {
		padding: 0 20px;
	}
	
	.panel-right-video {
		order: -6;
	}
	
	.sidebar-pravoclavniy-kalenda-container {
		order: -5;
	}
	
	.sidebar-vk {
		display: none;
	}
	
	.content-center .welcome {
		display: none;
	}
	
	.sidebar-content, body, .list-posts p {
		font-size: 12pt;
	}
}

@media (min-width: 769px) {
	.home [data-article='1'], .home [data-article='2'] {
		display: none;
	}
}
