@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'BadScript';
    src: url('fonts/BadScript-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
}
*:focus { 
	outline: none; 
}
html, body {
	position: relative;
	width: 100%;
	min-height: 100%;
    font-family: 'Montserrat', 'Helvetica', 'Arial';
	overflow-x: hidden;
	font-size: 16px;
	--color-blue: #2d3157;
	--color-green: #4caf90;
	--color-brightblue: #11135e;
	--color-white: rgb(250,250,250);
}
body {
	background-image: url(img/banner-1571861_1920.jpg);
	background-repeat: repeat;
	background-size: auto;
	baclground-position: center;
}
.hidden {
	display: none !important;
}
h1,h2,h3,h4,p,ul,ol,li,a {
	position: relative;
	line-height: 120%;
	letter-spacing: 0.5px;
}
p {
	line-height: 140%;
	
}
article p {
	line-height: 190%;
}
@media (max-width: 980px) {
	article p {
		line-height: 150%;
	}
}
a {
	color: inherit;
}
.img_links {
	font-size: 12px;
	color: grey;
}
.web_site {
	height: auto;
	min-height: 100vh;
	background-color: rgba(250,250,250,0.5);
	box-shadow: 5px 5px 10px 5px rgba(53,49,87,0.2);
	width: 100%;
	max-width: 1600px;
	margin: 0px auto 0px auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}
.page_content {
	position: relative;
	margin: 0px auto 0px auto;
	width: 100%;
}
.page_content_inner {
	position: relative;
	margin: 0px auto 0px auto;
	width: 100%;
	padding: 40px;
}

.button {
	position: relative;
	display: inline-flex;
	border: 2px solid var(--color-brightblue);
	color: var(--color-brightblue);
	background-color: var(--color-white);
	border-radius: 5px;
	margin: 20px auto 20px 100px;
	width: auto;
	transition: color 0.5s, background-color 0.5s;
}
.button:hover {	
	background-color: var(--color-brightblue);
	color: var(--color-white);
	transition: color 0.5s, background-color 0.5s;
}
.button a{
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	padding: 7px 15px;    
    font-size: 16px;
    font-family: BadScript;
	text-decoration: none;
}

@media (max-width: 768px) {
	.page_content_inner {
		padding: 20px;
	}
}
.page_content_inner p {
	margin-bottom: 10px;
}
.page_content_inner.page_breadcrumbs {
	padding-top: 0px;
	padding-bottom: 0px;
}
.page_content_inner.page_breadcrumbs p {
	color: var(--color-blue);
	font-size: 12px;
}
.page_content_inner h1 {
	color: var(--color-brightblue);
	font-size: 24px;
	margin-bottom: 1.5em;
	font-family: BadScript;
	letter-spacing: 2px;
	line-height: 150%;
}
.page_content_inner h2 {
	color: var(--color-brightblue);
	font-size: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	font-family: BadScript;
	letter-spacing: 2px;
	line-height: 150%;
}
.page_content ul {
	margin-left: 20px;
}
.page_content ol {
	margin-left: 20px;
}
.pre_footer {

}
.footer {
	margin-top: auto;
}
.page_content_inner.page_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 40px;
	padding-bottom: 40px;
	
}
.page_content_inner.page_header .logo {
	max-width: 300px;
	font-family: BadScript;
	color: var(--color-brightblue);
	font-size: 20px;
}
.page_content_inner.page_header .logo img {
	width: 100%;
}
.page_content_inner.page_header .menu_opener {
	display: none;
}
.top_menu_container  ul {
	display: flex;
	justify-content: flex-end;
	list-style: none;
	
}
.top_menu_container  ul li {
	font-size: 16px;
	text-transform: uppercase;
	color: var(--color-blue);
	padding: 20px;
}
.top_menu_container  ul li.active {
	color: var(--color-green);
}


@media (max-width: 768px) {
	/*
	.page_content_inner.page_header .menu_opener {
		display: block;
		position: absolute;
		left: 30px;
		top: 20px;
	}
	.top_menu_container {
		display: none;
	}
	.top_menu_container.opened {
		display: block;
		width: 100%;
	}
	.top_menu_container .top_menu ul {
		flex-direction: column;
		margin-top: 20px;
	}
	.top_menu_container .top_menu ul li {
		padding: 8px 10px 8px 0px;
	}
	*/
}

.page_content.welcome .page_content_inner .text_content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.page_content.welcome .page_content_inner .welcome_text {
	position: relative; 
	width: calc(70% - 20px);
}
.page_content.welcome .page_content_inner .welcome_photo {
	position: relative; 
	width: 30%;
	box-shadow: 5px 5px 10px 5px rgba(53,49,87,0.2);
	border-radius: 5px;
	overflow: hidden;
	margin-bottom: 20px;
	line-height: 0;
}
.page_content.welcome .page_content_inner .welcome_photo img {
	position: relative;
	width: 100%;
	height: auto;
}
.page_content.welcome .page_content_inner p.sign_p {
	margin-left: 100px;
	font-style: italic;
}
.page_content.book h2 {
}

@media (max-width: 768px) {
	.page_content.welcome .page_content_inner .text_content  {
		flex-direction: column-reverse;
	}
	.page_content.welcome .page_content_inner .welcome_text  {
		width: 100%;
	}
	.page_content.welcome .page_content_inner .welcome_photo {
		width: 100%;
	}
}
.child_page {
	position: relative;
	
}
.child_page .post_info {
	display: flex; 
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center;
}
.child_page .post_info  .post_thumbnail_preview {
	position: relative;
	width: 200px;
	min-width: 200px;
	max-width: 30%;
	height: auto;
	line-height: 0px;
	opacity: 0.7;
}
.child_page .post_info .post_thumbnail_preview img{
	position: absolute; 
	right: 0px;
	bottom: 0px;
	width: 100%;
	height: auto;
}
.child_page .post_info .announce {
	margin-right: 10px;
}


@media (max-width: 768px) {
	.child_page .post_info  .post_thumbnail_preview {
		min-width: 20%;
		max-width: 20%;
		width: 20%;
	}
	.child_page .post_info .announce {
	}
	
	
}
@media (max-width: 512px) {
	.child_page .post_info {
		flex-direction: column;
	}
	.child_page .post_info  .post_thumbnail_preview {
		width: 50%;
		min-width: 50%;
		max-width: 50%;
		margin-left: auto;
		margin-bottom: 10px;
	}
	.child_page .post_info  .announce {
		margin-right:0px;
	}
	
	.child_page .post_info .post_thumbnail_preview img{
		position: relative;
		top: initial;
		bottom: initial;
	}
}


.child_page_22 .post_info  .post_thumbnail_preview img {
	bottom: -120px;
}
@media (max-width: 768px) {
	.child_page_22 .post_info  .post_thumbnail_preview img {
		bottom: -60px;
	}
}
@media (max-width: 512px) {
	.child_page_22 .post_info  .post_thumbnail_preview {
		margin-top: -50px;
	}
	.child_page_22 .post_info  .post_thumbnail_preview img {
		bottom: initial;
	}
}