*{ 
margin: 0; 
padding: 0; 
box-sizing: border-box;
border: 0;
outline: 0;
text-decoration: none;
list-style: none;
font-family: Times New Roman, sans-serif;
font-size: 18px;
transition: all .3s;
}

html{
overflow-x: hidden;
}

body {
	background-color: #efefef;
	line-height: 1.6;
	font-size: 18px;
}

:root{
	--main-color: yellow;
	--black: #000;
	--white: #fff;
	--box-shadow: 0 .5rem 1rem rgba(0,0,0,.3);
	--custom-border: 0.5rem solid #770a10;
	--transition-speed: 0.3s;
	--text-hover: orangered;
	--primary-color: #002e5b;
	--dropdown-bg: #ffffff;
	--overlay-bg: rgba(0, 0, 0, 0.7);
}

.container{
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px /*было15px*/;
	height: 100%;
	display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.header .container-content{
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	height: 100%;
	display: flex; /* Создаем гибкую структуру */
	flex-direction: column; /* Располагаем элементы вертикально */
	min-height: 100vh;
}
.head {/* место для заголовка */
	background-color: #cfcfcf;
	padding: 5px 0;
	margin: auto;
}

.header {
	background-color:#770a10;/*position: sticky убрана*/
	top: 0;
	z-index: 1000;
}
	
.menu-toggle,/*СКРЫВАЕМ CHECKBOX*/
.dropdown-toggle {
    display: none;
}
	
.menu-icon {/*ГАМБУРГЕР ИКОНКА (скрыта на desktop)*/
     display: none;
     cursor: pointer;
     width: 25px;
     height: 25px;
     position: relative;
     z-index: 1001;
	 text-align: left;
	 padding: 5px;
}

.menu-icon-line,
.menu-icon-line::before,
.menu-icon-line::after {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all var(--transition-speed);
}

.menu-icon-line {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon-line::before,
.menu-icon-line::after {
	content: '';
	position: absolute;
	left: 0;
}

.menu-icon-line::before {
	top: -8px;
}

.menu-icon-line::after {
	top: 8px;
}

.menu-toggle:checked ~ .menu-icon .menu-icon-line { /* Анимация в крестик */
	background: transparent;
}

.menu-toggle:checked ~ .menu-icon .menu-icon-line::before {
	top: 0;
	transform: rotate(45deg);
}

.menu-toggle:checked ~ .menu-icon .menu-icon-line::after {
	top: 0;
	transform: rotate(-45deg);
}

.menu {/*ОСНОВНОЕ МЕНЮ (DESKTOP)*/
	display: flex;
	align-items: center;
	gap: 5px;
}
	
.menu > li {
	position: relative;
}	

.menu > li > a,
.dropdown-label {
	display: flex;
	align-items: center;
	padding: 10px 5px;
	color: var(--white);
	font-weight: 500;
	text-align: center;
	transition: all var(--transition-speed);
	cursor: pointer;
}

.menu > li > a:hover,
.menu > li:hover .dropdown-label {
	color: var(--text-hover);
}

.menu i{
	display: none;
}

.submenu {/*DROPDOWN ПОДМЕНЮ (DESKTOP)*/
	position: absolute;
	left: 0;
	min-width: 220px;
	background-color: #5c5c5c;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
	transform: translateY(-10px);
	transition: all var(--transition-speed);
	z-index: 100;
}

.dropdown > .submenu > .dropdown > .dropdown-label {
	color: var(--dropdown-text);
}

.dropdown > .submenu > .dropdown:hover > .dropdown-label {
    color: var(--black);
	background: #cfcfcf; 
}

.dropdown:hover > .submenu {/* Показываем при hover */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    position: relative;
	border-bottom: 1px solid #e5e5e5;
}

.submenu li a,
.submenu .dropdown-label,
.submenu .dropdown-label1{
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #5c5c5c;
	padding: 10px;
    color: var(--white);
	font-size: 16px;   
	cursor: pointer;
}

.submenu .dropdown-label1{
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #5c5c5c;
	padding: 10px;
    color: var(--white);
	font-size: 16px;   
	cursor: pointer;
}
	
.submenu li a:hover,
.submenu li:hover > .dropdown-label,
.submenu li:hover > .dropdown-label1 {
	color: var(--black);
	background: #cfcfcf; 
}

.submenu .dropdown .submenu {/*ВЛОЖЕННЫЙ DROPDOWN (3-Й УРОВЕНЬ)*/
     top: 0;
     left: 100%;
     margin-left: 5px;
}

.submenu .dropdown:hover > .submenu {
      opacity: 1;
      visibility: visible;
      transform: translateX(0);
}

.submenu .dropdown .submenu li a{/*ВЛОЖЕННЫЙ DROPDOWN (3-Й УРОВЕНЬ)*/
     background-color: #6e6e6e;
}

.foot {
	background-color: #cfcfcf;
	padding: 5px 0;
	margin-top: auto;
	width: 100%;
	height: auto;
	min-height: 60px;
	
    z-index:500;
	overflow:hidden;
}

.foot i{
	padding:0 15px;
	color: #770a10;
}

a.doc{
	font-weight: 600;
	color: #770a10;
	text-decoration: underline!important;
}
a:hover.doc{
	text-shadow: #ee2d36 0 0 10px;
}



informer{
	padding: 10px;
}

.text, .text1, .text2, .text3{
	border:1px solid darkgray;
	text-align: center;
	width: 100%;
	font-size: 90%;
	list-style-type: none;
	 border-radius: 5%;
}

.text3{
	height: 60px;
	padding-top: 5px;
	margin-top: 25px;
	line-height:18px;
}

.text, .text1{
	height: 50px;
	margin-top: 25px;
	line-height:50px;
}

.text2{
	margin-top: 30px;
	line-height:18px;
	height: 55px;
	padding-top: 5px;
}

h1 {
	text-align: center;
	clear: both;
	color: #770A10;
	font-style: italic; 
	margin-top: 10px;
	margin-bottom: 10px;
}

h2{
	text-align: center;
	clear: both;
	color: #770A10;
	font-size: 120%;
	font-style: bald ;
	font-style: italic; 
	padding: 20px 10px 10px 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

h3{
	text-align: center;
	clear: both;
	color: #770A10;
	font-size: 140%;
	font-weight: bald ;
	font-style: italic; 
	font-weight: 100%;
	text-shadow: #ee2d36 0 0 10px;
	margin-top: 1%;
	margin-bottom: 1%;
}

h4{
	margin: auto;
	text-align: center;
	color: #770A10;
	font-size: 75%;
	font-style: bald;
	font-style:  italic;
}

p{
	text-indent: 20px;
	margin-top: 0.5em; 
    margin-bottom: 1em;
	font-size: 18px;
}

p.sign_right{
	text-align: right;
	font-size: 90%;
}

p.sh{
	font-family: verdana;
	font-size: 80%;
	color: #823e00;
}

p.sign{
	font-style: italic;
	line-height: 1;
	text-align: right;
}

p.sign1{
	font-style: italic;
	line-height: 1;
	text-align: right;
	margin-right:40px;
}

p.podpis{
	font-style: italic;
	line-height: 1;
	text-align: center;
	color: #770A10;
	padding-top: 5px;
	text-indent: 0;
}

p.justify{
	text-align: justify;
}

p.fat{
	font-weight: 600;
}

p.poem{
	font-style: italic;
	line-height: 1;
	text-align: left;
}

p.prim{
	color: #823e00;
	font-style: italic;
	line-height: 1;
	text-align: justify;
}

.fat1{
	font-weight: 600;
}

.italic{
	text-align: justify;
	font-style: italic;
	font-size: 18px;
}

.left{
	padding: 10px;
	justify-content: center; 
	align-items: center;
	float: left;
	width: 50%;
	margin: auto;
}
.left img{
	padding-top: 30px;
}
.left1{
	text-align: center;
	width: 65%;
	margin-left: 20%;
}
.right{
	justify-content: center; 
	align-items: center;
	float:right;
	width: 45%;
	margin: auto;
}

.right1{
	justify-content: center; 
	text-align: center;
	float:right;
	width: 75%;
	margin-left:25%;
}
.right2{
	justify-content: center; 
	text-align: center;
	float:right;
	width: 95%;
	margin-left:5%;
}

.slideleft{
float: left;
margin-right: 10px;
margin-bottom: 3px;
text-align: center;
}
.slideright{
float: right;
margin-left: 10px;
margin-bottom: 3px;
text-align: center;
}
.slideleft img, .slideright img{
min-width: 100%;
}
.slider_container img {
	max-width: 100%;
}
.slider_container {
	position: relative;
	margin-top: 10px;
}
.next_button, .prev_button {
	background-color: rgba(70, 70, 70, 0.5);
	border-radius: 15em;
	color: #fff;
	cursor: pointer;
	font-size: 30px;
	position: absolute;
	top: 40%;
	z-index: 10;
}
.next_button {
	right: 20px;
}
.prev_button {
	left: 20px;
}
img{
max-width: 100%;
height: auto;
}
.clear{
	min-height: 15px;
	clear: both;
	text-align: center;
  /* border: 1px solid black;*/
   }
  
   .nav{
margin: 0;
padding: 0;
}
.fon{
background-color: #fdfdfd;
padding: 10px 10px 0 10px;
}
.leftfoto{
float:left;
margin:10px;
}
.rightfoto{
float:right;
margin: 10px;
}



ul.no-bullets li::before {
  content: '✓';
  color: #770a10;
  width: 15px;
  height: 15px;

  left: -25px;
  top: 5px;
}


.photo1, .photo2, .photo3 p {
    margin: 0; 
   }
   .photo1, .photo2, .photo3, .photo4{
	background: #f9f9f9;
	border: 1px solid darkgray;
	text-align: center;
    display: inline-block; 
    width: 170px;
    margin: 20px;
	padding: 15px; 
	height: 200px;
   }
    .photo1 { 
	height: 200px;
   }
    .photo2 { 
	height: 225px;
   }
    .photo3 { 
	height: 260px;
   }
      .photo4{
   height: 130px;
   }
   .photo  {
    background: #f9f9f9; 
    width: 150px; 
    border: 1px solid darkgray;
    margin: 12px 4px 12px 4px;
	padding: 10px; 
    text-align: center;
    display: inline-block; 
   }
   .photo img {
    border: 1px solid darkgray; 
	margin-bottom: 6px;
   }
   	a.knopka {
	background:#e8e8e8;
margin-left: 7px;
margin-right: 7px;
  position: relative;
  display: inline-block;
  width: 17em;
  height: 5em;
  line-height: 1em;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  color: #770A10;
  text-shadow: #ee2d36 0 0 10px;
  outline: none;
  border-radius: 5px;
  box-shadow: 0 0 0 1px #ddd inset, 0 1px 1px #fff;
}
a.knopka:hover {
  background: #f7f7f7 linear-gradient(#fff, #f7f7f7);
  box-shadow: 0 0 0 1px #aaa inset, 0 1px 1px #aaa;
}
a.knopka:active {
  background: none;
    box-shadow: 0 0 0 1px #bbb inset, 0 1px 3px rgba(0,0,0,.5) inset, 0 1px 2px #fff;
}
.fatty{
text-shadow: #ee2d36 0 0 10px;
font-size: 115%;
}
.breadcrumbs{
	list-style-type: none;
	  background: #eee;
	  font-size: 115%;
	  border-width: 1px;
	  border-style: solid;
	  border-color: #f5f5f5 #e5e5e5 #ccc;
	  -moz-border-radius: 5px;
	  -webkit-border-radius: 5px;
	  border-radius: 5px;
	  -moz-box-shadow: 0 0 2px rgba(0,0,0,.2);
	  -webkit-box-shadow: 0 0 2px rgba(0,0,0,.2);
	  box-shadow: 0 0 2px rgba(0,0,0,.2);
	  /* Clear floats */
	  overflow: hidden;
	  width: 100%;
	}
	.breadcrumbs li{
	  float: left;
	}
	.breadcrumbs a{
	  padding: .7em 1em .7em 2em;
	  float: left;
	  text-decoration: none;
	  color: #444;
	  position: relative;
	  text-shadow: 0 1px 0 rgba(255,255,255,.5);
	  background-color: #ddd;
	  background-image: -webkit-gradient(linear, left top, right bottom, from(#f5f5f5), to(#ddd));
	  background-image: -webkit-linear-gradient(left, #f5f5f5, #ddd);
	  background-image: -moz-linear-gradient(left, #f5f5f5, #ddd);
	  background-image: -ms-linear-gradient(left, #f5f5f5, #ddd);
	  background-image: -o-linear-gradient(left, #f5f5f5, #ddd);
	  background-image: linear-gradient(to right, #f5f5f5, #ddd);  
	}
	.breadcrumbs li:first-child a{
	  padding-left: 1em;
	  -moz-border-radius: 5px 0 0 5px;
	  -webkit-border-radius: 5px 0 0 5px;
	  border-radius: 5px 0 0 5px;
	}
	.breadcrumbs a:hover{
	  background: #fff;
	}
	.breadcrumbs a::after,
	.breadcrumbs a::before{
	  content: "";
	  position: absolute;
	  top: 50%;
	  margin-top: -1.5em;   
	  border-top: 1.5em solid transparent;
	  border-bottom: 1.5em solid transparent;
	  border-left: 1em solid;
	  right: -1em;
	}
	.breadcrumbs a::after{ 
	  z-index: 2;
	  border-left-color: #ddd;  
	}
	.breadcrumbs a::before{
	  border-left-color: #ccc;  
	  right: -1.1em;
	  z-index: 1; 
	}
	.breadcrumbs a:hover::after{
	  border-left-color: #fff;
	}
	.breadcrumbs .current,
	.breadcrumbs .current:hover{
	  font-weight: bold;
	  color: #770A10;
	  background: none;
	}
	.breadcrumbs .current::after,
	.breadcrumbs .current::before{
	  content: normal;  
	}
	.poems{
	margin-left: 25%;
	}
	.rectangle ol {
list-style: none; 
}
.rectangle{
counter-reset: li; 
list-style: none; 
font: 14px;
padding: 0;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.rectangle a {
position: relative;
display: block;
padding: .4em .4em .4em .8em;
margin: .5em 0 .5em 2.5em;
background: #e2e2e2;
color: #444;
text-decoration: none;
transition: all .3s ease-out;
}
.rectangle a:hover {
background: #DCDDE1;
}       
.rectangle a:before {
content: counter(li);
counter-increment: li;
position: absolute;
left: -2.5em;
top: 50%;
margin-top: -1em;
background: #cfcfcf;
height: 2em;
width: 2em;
line-height: 2em;
text-align: center;
font-weight: bold;
}
.rectangle a:after {
position: absolute;
content: "";
border: .5em solid transparent;
left: -1em;
top: 50%;
margin-top: -.5em;
transition: all .3s ease-out;
}
.rectangle a:hover:after {
left: -.5em;
border-left-color: #b2b2b2;
}
   *::-webkit-input-placeholder {
	color: #666;
	opacity: 1;
}
*:-moz-placeholder {
	color: #666;
	opacity: 1;
}
*::-moz-placeholder {
	color: #666;
	opacity: 1;
}
*:-ms-input-placeholder {
	color: #666;
	opacity: 1;
}
body input:focus:required:invalid,
body textarea:focus:required:invalid {
}
body input:required:valid,
body textarea:required:valid {
}
div.figcenter,
div.figleft,
div.figright {
	display: table;
	max-width: 50%;
	text-align: center;
	font-style: italic;
	font-size: 16px;
	line-height: 20px;
	color: #770A10;
	border: 1px solid  #770A10;
    margin: 5px 10px;
}
div.figright {
	float: right;
}
div.figleft {
	float: left;
}
div.figcenter{
	margin: 0 auto;
}
div.figcenter p + p,
div.figleft p + p,
div.figright p + p {
	display: block;
	caption-side: bottom;
 color: #770A10;
}
div.figcenter img,
div.figleft img,
div.figright img{
	max-width: 100%;
	height: auto;
	padding: 7px;
}
div.figcenter p,
div.figleft p,
div.figright p{
	color: #770A10;
	padding: 5px;
	text-indent: 0;
	
}
.center{
	padding-top: 20px;
	text-align: center;
	margin: auto;
	/*border: 1px solid black;*/
}

/*div.figleft caption,
div.figright caption{
  caption-side: bottom;
}*/
  
