@font-face {
    font-family: 'StandardPoster';
    src: url('StandardPoster.eot') format('embedded-opentype'),
         url('StandardPoster.otf') format('opentype'),
         url('StandardPoster.woff') format('woff'),
         url('StandardPoster.ttf') format('truetype');
	font-display: swap;
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CertaSerif';
    src: url('CertaSerif.eot') format('embedded-opentype'),
         url('CertaSerif.otf') format('opentype'),
         url('CertaSerif.woff') format('woff'),
         url('CertaSerif.ttf') format('truetype');
	font-display: swap;
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Primus';
    src: url('Primus.ttf') format('truetype');
	font-display: swap;
    font-weight: normal;
    font-style: normal;
}

html {
	height: 100%;
	font-size:18px;
	font-family: "Times","Times New Roman","serif","sans-serif","EmojiSymbols";
}
body {
	height: 100%;
	background-color:#f0f0f0;
	background-image: url(../design/fon.jpg);
	background-size:cover;
	background-attachment:fixed;
}
a{
	color:#0071a4;
}
a:visited{
	color:#006491;
}
.pagetop{
	width: 100%;
	max-width: 1200px;
	height: 85px;
	margin: 0 auto;
	background-image: url(../design/pagetop.png);
	background-repeat:no-repeat;
	background-size:contain;
	background-position:bottom left;
}
.page{
	width: 100%;
	max-width: 1100px;
	min-height: 800px;
	margin: 0 auto;
	background:url(../design/pagefon.jpg) repeat-x bottom #FFFFFF;
	border:#aaaaaa solid 1px;
	-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.35);
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.35);
	position:relative;
	padding:50px;
}
.page::before{
	content: " ";
	display:block;
	position:absolute;
	bottom:0px;
	left:-39px;
	width:38px;
	height:651px;
	background:url(../design/pageleft.png) no-repeat bottom right;
}
.page::after{
	content: " ";
	display:block;
	position:absolute;
	top:0px;
	right:-65px;
	width:64px;
	height:791px;
	background:url(../design/pageright.png) no-repeat top left;
}

.warp-firstpage{
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom:20px;
}

#logo{
	display:block;
}
#continf{
	display:block;
	font-size:12px;
}
marquee{
	font-size:12px;
	border-bottom:#000000 solid 1px;
	border-top:#000000 solid 1px;
	background:#cccccc;
	margin:0;
	padding:0;
}
marquee a{
	text-decoration:none;
	color:#000000;
}
marquee a:hover{
	color:#0086c3;
}

#newnumber{
	display:block;
	text-align:center;
	width:350px;
	border-right:#000000 solid 1px;
}
#firstpagetext{
	display:block;
	max-width: 65%;
}
#registraciya{
	margin-top:5px;
	padding:5px 0px;
	font-size:12px;
	font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;
	text-align:center;
	color:#454545;
	border-top:#000000 solid 1px;
}

/* ÃËÀÂÍÎÅ ÌÅÍÞ ************************************************* */
.warptopmenu{
	border-bottom:#000000 solid 3px;
	border-top:#000000 solid 3px;
	width:100%;
	padding:0;
	margin:0;
}
.topmenu {
	display: flex;
	justify-content:center;
	padding:0;
	margin:0;
	border:0;
	width:100%;
}

ul.topmenu li {
	margin: 0;
	height:60px;
	position: relative;
	display:block;
}

ul.topmenu li.topmenufirst {
	margin: 0 20px;
	display:inline-block;
}

ul.topmenu li a {
	font-family: 'Primus', sans-serif;
	font-weight:bold;
	display: block;
	height:60px;
	padding: 20px 15px 0px 15px;
	color: #000;
	font-size:18px;
	text-transform:uppercase;
	text-decoration: none;
	transition: all .2s ease-in-out;
}

.topmenufirst::before {
  content: "";
  position:absolute;
  bottom:0;
  left:50%;
  display: block;
  height: 3px;
  width: 0;
  background-color: #03acfa;
  transition: width .3s ease-in-out;
  transform:translateX(-50%);
}


ul.topmenu li a:hover,
ul.topmenu li:hover > a {
	background: linear-gradient(to bottom,#0086c3 0,#005e89 100%);
	color:#ffffff;
}

.topmenufirst:hover::before {
  width: 100%;
}


ul.topmenu li ul {
	margin: 0;
	padding:0;
	left: 10%;
	position: absolute;
	background: linear-gradient(to bottom,#a9a9a9 0,#eeeeee 100%);
	border-radius: 0 0 5px 5px;
	-webkit-box-shadow: 0px 5px 15px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:    0px 5px 15px 0px rgba(50, 50, 50, 0.5);
	box-shadow:         0px 5px 15px 0px rgba(50, 50, 50, 0.5);
	min-width: 227px;
	opacity: 0;
	visibility: hidden;
	z-index: 99;
}

ul.topmenu li > ul > li{margin:0; padding:0; height:auto;}
ul.topmenu li > ul > li:last-child a{border-radius: 0 0 5px 5px;}
ul.topmenu li > ul > li a{font-size:14px; padding: 10px 15px; margin:0; height:auto;}
ul.topmenu li > ul > li:hover a{ background: linear-gradient(to bottom,#0086c3 0,#005e89 100%); color:#ffffff;}
ul.topmenu li > ul > li a:focus{ background: #be0000; color:#ffffff;}
ul.topmenu li > ul > li: a{ background: linear-gradient(to bottom,#0086c3 0,#005e89 100%); color:#ffffff;}
ul.topmenu li:hover > ul { opacity: 1; visibility: visible; left: 0;}
ul.topmenu > li:hover > ul { opacity: 1; visibility: visible; top: 100%; left: 0; }
ul.topmenu li > ul  ul { top: 0; left: 90%; }
ul.topmenu li > ul li:hover > ul { left: 100%; }

a#menupull {
		font-family: 'StandardPoster', sans-serif;
		font-weight:normal;
		display: none;
		height:22px;
		padding:15px 0;
		width: 100%;
		background-color:#0086c3;
		position: relative;
		color:#FFFFFF;
		text-decoration:none;
		text-align:center;
		font-size:22px;
		letter-spacing:0.5em;

	}
a#menupull:after {
		content:"";
		background-image:url(../design/menupull.png);
		background-repeat:no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		left: 15px;
		top: 15px;
	}
	
/* ÐÀÇÄÅËÛ ÍÀ ÃËÀÂÍÎÉ ************************************************** */
.razdel{
	display: flex;
	flex-wrap:wrap;
	justify-content: space-between;
	margin:0 0 60px 0;
	padding:0;
}
.razdel li{
	display:block;
	width:360px;
	margin-top:0px;
	margin-bottom:100px;
}

.razdel a{
	display:block;
	position:relative;
	width:360px;
	height:200px;
	color:#000000;
	background-position:center;
	background-size:cover;
	background-repeat:no-repeat;
	border:1px solid;
	border-color:#FFFFFF;
	-webkit-transition: background-size 0.5s ease, color 0.5s ease;
	-moz-transition: background-size 0.5s ease, color 0.5s ease;
	-o-transition: background-size 0.5s ease, color 0.5s ease;
	transition: background-size 0.5s ease, color 0.5s ease;
}
.razdel a:hover{
	background-size: 110%;
	box-shadow:0 0 0 100px rgba(0, 134, 195, 0.5) inset;
	color:#0086c3;
}
.razdel a:active{
	border-color:#0086c3;
}
.razdel a:{
	background-size: 110%;
	box-shadow:0 0 0 100px rgba(0, 134, 195, 0.5) inset;
	color:#0086c3;
}
.zag{
	display:block;
	position:absolute;
	width:100%;
	text-align:center;
	bottom:-43px;
	padding-top:20px;
	font-family: 'Primus', sans-serif;
	font-weight:bold;
	font-size:25px;
	text-decoration:none;
}

/* ÄÐÓÃÈÅ ÑÒÈËÈ ***************************************************************** */
.warp-banners{
	display: flex;
	flex-wrap:wrap;
	justify-content: space-between;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding:20px 0;
}


/* ÔÓÒÅÐ ************************************************** */

footer{
	padding:50px 20px;
	min-height:100px;
	font-family: 'Primus', sans-serif;
	font-size:16px;
	color:#000000;
}
footer a{
	color:#000000;
}
.footerbox{
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.botmenu{
	margin:0;
	padding:0;
}
.botmenu li{
	display:inline-block;
	margin-right:20px;
	margin-bottom:10px;
}

/* ÎÑÍÎÂÍÛÅ ÑÒÈËÈ ************************************************** */
h1,h2,h3,h4{
	font-family: 'StandardPoster', sans-serif;
	font-weight:normal;
	margin:0;
	margin-top:10px;
	margin-bottom:10px;
	text-align:center;
}
h2, .head2{
	color:#0086c3;
	font-size:30px;
	font-style:italic;
	text-align:center;
}
.head{
	display:block;
	padding:10px 30px 8px 30px;
	font-family: 'StandardPoster', sans-serif;
	font-size:30px;
	font-weight:normal;
	color:#0086c3;
	text-align:center;

}
.star{
font-size: medium;
font-weight: normal;
text-align: center;
}
.line{
  display:block;
  bottom:0px;
  height: 2px;
  width: 50%;
  background-color: #0086c3;
}

.usual, .poetry{
overflow: hidden;
font-size: 12pt;
font-family: Georgia, Times New Roman, Times, serif;
font-weight: normal;
display:block;
width:fit-content;
margin:0 auto;
}
.epigraph,.quote, .quote2{
font-size: 12pt;
font-weight: normal;
font-style:italic;
display:block;
width:fit-content;
margin:0 auto;
padding-left:100px;
}
.info{
font-weight: normal;
font-size: 12px;
}
.data, .date{
font-weight: bold;
font-size: medium;
text-align: right;
}



@media only screen and (max-width : 1200px) {
#logo{
	width: 80%;	
}
#continf{
	d
}
.pagetop{
	width: 90%;
}
.page{
	width: 90%;
	min-height: 800px;
	margin: 0px;
	padding:20px;
}
#firstpagetext{
	max-width: 55%;
}
ul.topmenu li a {
	height:40px;
	padding: 20px 10px 0px 10px;
	font-size:14px;
}
ul.topmenu li > ul > li{margin:0; padding:0; height:auto;}
ul.topmenu li > ul > li:last-child a{border-radius: 0 0 5px 5px;}
ul.topmenu li > ul > li a{font-size:14px; padding: 10px 15px; margin:0; height:auto;}
ul.topmenu li > ul > li:hover a{ background: linear-gradient(to bottom,#0086c3 0,#005e89 100%); color:#ffffff;}
ul.topmenu li > ul > li a:focus{ background: #be0000; color:#ffffff;}
ul.topmenu li > ul > li: a{ background: linear-gradient(to bottom,#0086c3 0,#005e89 100%); color:#ffffff;}
ul.topmenu li:hover > ul { opacity: 1; visibility: visible; left: 0;}
ul.topmenu > li:hover > ul { opacity: 1; visibility: visible; top: 100%; left: 0; }
ul.topmenu li > ul  ul { top: 0; left: 90%; }
ul.topmenu li > ul li:hover > ul { left: 100%; }
.razdel{
	justify-content: space-around;
}
.razdel li{
	margin:50px 5px;
}
	
}


@media only screen and (max-width : 905px) {
.page{
	width: 93%;
	min-height: 0px;
}
.page::before{
	display:none;
}
.page::after{
	display:none;
}
#logo{
	width: 100%;
	margin-bottom:10px;	
}
#continf{
	display:none;
}
.warp-firstpage{
	justify-content:center;
}
#newnumber{
	display:block;
	text-align:center;
	width:350px;
	border-right:none;
}
#firstpagetext{
	max-width: 90%;
}	
a#menupull {
	display:block;
}

.topmenu {
	display:none;
	padding:0;
	margin:0;
	border:0;
	width:100%;
	background-color:#C1C1C1;
}

ul.topmenu li {
	margin: 0;
	height: auto;
	position: relative;
	display:block;
}

ul.topmenu li.topmenufirst {
	margin: 0px;
	display:block;
}

ul.topmenu li a {
	font-family: 'Primus', sans-serif;
	font-weight:bold;
	display: block;
	height:auto;
	padding: 15px 15px;
	color: #000;
	font-size:18px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0s ease-in-out;
}
.topmenufirst::before {
  display:none;
}

ul.topmenu li{
	position: relative;
	height:auto;}

ul.topmenu li ul {
	margin: 0;
	padding:0;
	left:0;
	position: relative;
	background: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	font-size: 18px;
	min-width: 170px;
	opacity: 1;
	visibility: visible;
	z-index: 99;
}

ul.topmenu li:hover > a {
	background:none;
	color:#000000;
}

ul.topmenu li a:hover{
	background: linear-gradient(to bottom,#0086c3 0,#005e89 100%);
	color:#ffffff;
}

ul.topmenu li > ul > li{margin:0; padding:0; height:auto;}
ul.topmenu li > ul > li:last-child a{border-radius: 0 0 5px 5px;}
ul.topmenu li > ul > li a{font-size:18px; padding: 15px 15px; margin:0; height:auto;}
ul.topmenu li > ul > li:hover a{ background: linear-gradient(to bottom,#0086c3 0,#005e89 100%); color:#ffffff;}
ul.topmenu li > ul > li a:focus{ background: #be0000; color:#ffffff;}
ul.topmenu li > ul > li: a{ background: linear-gradient(to bottom,#0086c3 0,#005e89 100%); color:#ffffff;}
ul.topmenu li:hover > ul { opacity: 1; visibility: visible; left: 0;}
ul.topmenu > li:hover > ul { opacity: 1; visibility: visible; top: 100%; left: 0; }
ul.topmenu li > ul  ul { top: 0; left: 90%; }
ul.topmenu li > ul li:hover > ul { left: 100%; }

}

@media only screen and (max-width : 550px) {

.razdel li{
	display:block;
	width:310px;
	margin-top:0px;
	margin-bottom:100px;
}

.razdel a{
	display:block;
	position:relative;
	width:310px;
	height:172px;
	color:#000000;
	background-size: 100%;
	background-position:center;
	border:1px solid;
	border-color:#FFFFFF;
	-webkit-transition: background-size 0.5s ease, color 0.5s ease;
	-moz-transition: background-size 0.5s ease, color 0.5s ease;
	-o-transition: background-size 0.5s ease, color 0.5s ease;
	transition: background-size 0.5s ease, color 0.5s ease;
}
.zag{

	font-size:20px;

}
	
}
