@font-face {
  font-family: "Monotype Corsiva";
  src: url("/fonts/MonotypeCorsiva.ttf");
}


@font-face {
  font-family: "Calibri";
  src: url("/fonts/Calibri.ttf");
}

@font-face {
  font-family: "Cyr_O";
  src: url("/fonts/CyrillicOld.ttf");
}


html, body{
	padding:0;
	margin:0;
	width:100%;
	height:100%;
	font-family:Calibri;
	position:relative;
	overflow-x:hidden;
	overflow-y:scroll;

}

img{
	position:relative;
	max-width:100%;
}

h1{
	font-size:1.5em;
	color:#8C0000;
	font-family:Times New Roman;
}
h2{
	color:#8C0000!important;
	font-family: Cyr_O;
	font-weight:bold!important;
	font-style:normal;
	margin-bottom:0;
	margin-top:1em!important;
}

h2:after{
    content: " ";
    position: relative;
    display: block;
    height: 1.25em;
	margin-top:.8em;
    background: url(/images/img-vinette.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

h3{
	font-size:1.1em;
	font-weight:bold;
	color:#8C0000!important;
}
h4{
	font-size:1.1em;
	font-weight:bold;
	font-style:italic;
	color:#8C0000!important;

}
h5{

}
h6{

}

.font-red{
	color:#8C0000!important;
}

.bg-paper{
	min-height:100%;
	background:url(/images/bg2.jpg);
	background-position:top;
	background-repeat:repeat;
}

header{
	position:relative;
}

.top-menu{
	height:51px;
	background:url(/images/menu-bg.jpg);
	background-repeat:repeat-x;
	width:fit-content;
	/*position:absolute;*/
	display:flex;
	align-items:center;
    background-size: contain;
	font-family:Times New Roman;

	position:absolute;
	top:1em;
	left:0;

    width: 100%;
    display: flex;
	text-align:center;
    align-items: center;
    justify-content: center;
	/*z-index:10;*/


 /* Закрепляем меню, чтобы всегда было на экране.
 */
  position: fixed;
  left: 50%;

  width: 88.3%;
  max-width: 1296px;

  transform: translate(-50%, 0);

  z-index: 1000;


}




.top-menu:before{
	content:" ";
	height:51px;
	width:40px;
	position:absolute;
	background:url(/images/menu-start.png);
	background-size:contain;
	background-repeat:no-repeat;
	left:-38px;
	top:0;
}

.top-menu:after{
	content:" ";
	height:51px;
	width:40px;
	position:absolute;
	background:url(/images/menu-end.png);
	background-size:contain;
	background-repeat:no-repeat;
	right:-38px;
	top:0;

}

.plask{
	position:absolute;
	top:10em;
	left:3em;
	width:40%;
	z-index:10;
}

.news-block{
	position:relative;
	z-index:50;
}

.main-body{
	position:relative;
	font-size:1.1em;
}

.main-body-content{
	position:relative;
	/* margin-top:-12em; */
	width:100%;
	display:block;
}

.main-block{
	position:relative;
	display:block;
	min-height:50vh;
	border-radius:10px;
	padding: .5em;
	margin-bottom:1.5em;
	background: linear-gradient(90.24deg, #7B331B 0.05%, #80371F 33.77%, #521E0B 67.48%, #521E0B 99.63%);

}

.main-block-frame{
	border-radius:10px;
	position:relative;
	background:#F5F1E5;
	width:100%;
	height:100%;
	padding:.5em;
}

.main-block-frame::before{
	content: " ";
    position: absolute;
    display: inline-block;
    width: calc(100% - 1em);
    height: 200px;
    top: .5em;
    background: url(/images/corners1.png);
    background-size: contain;
    background-repeat: no-repeat;
	background-position:top;
    z-index: 10;
}

.main-block-frame::after{
	content: " ";
    position: absolute;
    display: inline-block;
    width: calc(100% - 1em);
    height: 200px;
    bottom: .5em;
    background: url(/images/corners2.png);
    background-size: contain;
    background-repeat: no-repeat;
	background-position:bottom;
    z-index: 10;
}

.main-block-inner{
	position:relative;
	text-align:center;
	width:80%;
	margin:0 auto 1.2em;
	z-index:20;
	/* Rectangle 359 */
}

.main-list{
	list-style:none;
}

.main-list li{
	position:relative;
	margin-bottom:.5em;
}

.main-list li:before{
    content: " ";
    top: 0.75em;
    width: 0.75em;
    height: 0.75em;
    left: -1.5em;
    display: block;
    position: absolute;
    background-size: contain;
	background-image:url('/images/bull.svg');


}

.main-list li:first-letter{
	font-size:1.3em;
	color:#8C0000;
	font-weight:bold;
	font-family:Times New Roman;
}

.decor{
	font-size:1.3em;
	color:#8C0000;
	font-weight:bold;
	font-family:Times New Roman;
}

.epigraf{
	font-family: Times, Times New Roman;
	font-style:italic;
}

.menu-books{
	position:relative;
	width:100%;
}

.books-menu-items{
    width: 44%;
    height: 12%;
	position:absolute;
}

.vinete-separator{
	margin-top:1.5em;
}

.vinete-image{
	position:relative;
	margin:4em auto;
}

.vinete-image div:first-child{
	position:relative;
	z-index:30;
}

.vinete-image:before{
	content:" ";
	position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    top: -8%;
    left: 0;
    background: url(/images/img-vinette.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 10;
}

.vinete-image:after{
	content:" ";
	position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    bottom: -8%;
    left: 0;
    background: url(/images/img-vinette.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 10;
	transform: scaleY(-1);

}

.vinete-image-bot{
	position:relative;
	margin:4em auto;
}

.vinete-image-bot:after{
	content:" ";
	position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    bottom: -8%;
    left: 0;
    background: url(/images/img-vinette.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 10;
	transform: scaleY(-1);

}



.vinete-image.square:before{
	top:-5%;
}

.vinete-image.square:after{
	bottom:-5%;
}

.vinete-image img{
	width:100%;
}

.spoiler-block{
	transition:.3s;
	display:block;
}

.spoiler-block-container{
	border-radiu:5px;
	padding:1.5em 1em;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	margin-bottom:2em;
	height:100%;
    display: flex;
    flex-direction: column;
}

.spoiler-block-img img{
	width:100%;
}

.spoiler-block-title{
	pasdding:1em 0;
	color:#8C0000!important;
	font-weight:bold;
	font-size:1em;
	margin-bottom:1em;
	text-align:left;
}

.spoiler-block-desc{
	font-style:italic;
	font-size:.8em;
}

.spoiler-block-more{
	text-align:center;
	padding:0em 0 1em;
	font-size:.8em;

}

.spoiler-block-more a{
	border-top: 2px solid #8C0000;
    color: #777;
    text-decoration: none;
    margin-top: 1em;
    padding-top: 0.5em;
    width: fit-content;
    display: block;

}

.spoiler-block-more a{
	font-weight:bold;
	color:#8C0000!important;
}

.spoiler-block{
	display:block;
}

.spoiler-block-more a{
	cursor:pointer;
}

.spoiler-block-more a:hover{
	text-decoration:underline;
}

.spoiler-close-float{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
	width:80%;
	margin:0 auto;
	color:#fffee3;
	text-decoration:none;
	font-family:calibri;
	font-weight:bold;
	display:flex!important;
}

.tab-content-block{
	position:relative;
	display:none;
	transition:.3s;
	z-index:20;
}

.tab-content-block .spoiler-block-container{
	box-shadow:none;
	padding-bottom:0;
	margin:0;
}

.tab-content-block .spoiler-block-title{
	height:auto;
}

.tab-content-block .spoiler-block-img {
	text-align:left;
}

.tab-content-block .spoiler-block-img img{
	width:30%;

}

.tabs-nav .spoiler-block-img img{
	width:100%;
}

.tab-content-block .bot-galery{
	display:grid;
	grid-template-columns: auto auto;
	gap:.5em;

}

.tab-content-block .bot-galery img{

}


.col-small-font{
	font-size:.82em;
}

.mobile-menu-sticky{
	position:sticky;
	right:-250px;
	top:1em;
	z-index:75;
	display:none;
}

.mobile-menu-relative{
	position:relative;
}

.mobile-menu{
	position:absolute;
	top:1em;
	right:-250px;
	width:250px;
	transition:.5s;
	transition-timing-function: ease-out;
	background:#6b432a;
	padding:1em;
	color:#fff;
}

.mobile-menu.show{
	right:0;
}


.mobile-menu-tab{
	position:absolute;
	left: -2em;
	top:1em;
	width:2em;
	height:2em;
	padding:0 .5em;
	background:#6b432a;
	line-height:2em;
	font-size:1.5em;
}

.mobile-menu-tab:before{
	content:" ";
	position:absolute;
	line-height:2em;
    width: 1em;
    height: 2em;
    left: -1em;
    top: 0;
    background: url(/images/flag.png);
    background-size: 100% 100%;
    background-position: right;
    background-repeat: no-repeat;
}








footer{
	color:#e3c9a5;
	padding:1em 0;
	background: rgb(57,19,10);
	background: linear-gradient(270deg, rgba(57,19,10,1) 0%, rgba(73,23,22,1) 50%, rgba(62,36,27,1) 100%);

}

footer a{
	color:#e3c9a5;
	text-decoration:none;
	transition:.3s;
}

footer a:hover{
	color:#ccc;
	transition:.3s;
}

.footer-title{
	text-align:center;
	font-size:1.2em;
	color:#ecd7b3;
	width:100%;
	padding-bottom:.8em;
	border-bottom:1px solid #ccc;
	margin-bottom:.8em;

}

.footer-subtitle{
	color:#c89556;
	font-weight:bold;
}

.quote-block{
	font-size:.80em;
	font-style:italic;
	color:#8C0000;
	text-align:end;
}

.quote-block h4{
	font-size:1.1em;
}

.quote-block{

}

.quote-text{
	font-weight:bold;
}

.quote-name{
	font-weight:normal;
	text-transform:uppercase;
	margin-top:.5em;
}

.scale-video {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

.scale-video iframe, .scale-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.u-custom-wrapper {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 170px;
	margin: 0;
}
.u-custom-btn {
	border: 1px solid transparent;
	display: flex;
	width: 70%;
	padding: 20px 20px;
	margin: 0 auto;
	justify-content: center;
	text-decoration: none;
	border-radius: 13px;
	background-color: #D1B375;
	color: #8C0000;
	text-transform: uppercase;
	font-family: Cyr_O;
	font-weight: 700;
	font-size: 23px;
	letter-spacing: 5px;
	-webkit-box-shadow: 4px 4px 8px 0px rgba(140, 0, 0, 0.2);
	-moz-box-shadow: 4px 4px 8px 0px rgba(140, 0, 0, 0.2);
	box-shadow: 4px 4px 8px 0px rgba(140, 0, 0, 0.2);
	transition: all 0.1s linear;
}

.u-custom-btn:hover {
	color: white;
	border-color: #8C0000;
}



@media (max-width: 1599.98px) {

}

@media (max-width: 1439.98px) {

}

@media (max-width: 1199.98px) {
	.top-menu{
		display:none;
	}

	.main-block-inner{
		width:96%;
	}

	.spoiler-block-title{
		font-size:1em;
		line-height:1.2em;
	}

	.mobile-menu-sticky{
		display:block;
	}

}

@media (max-width: 991.98px) {

	html, body .main-body{
		width:100%
	}

	.plask{
		width:100%;
		left:0;
		top:0;
		text-align:center;
		top:20%;
	}

	.plask img{
		width:60%!important;
		margin:0 auto;
	}

}

@media (max-width: 767.98px) {

}

@media (max-width: 575.98px) {
	.u-custom-btn {
		font-size: 19px;
		padding: 20px 10px;
		letter-spacing: 1px;
		width: 90%;
	}
}














