* {
  scrollbar-width: auto;
  scrollbar-color: #027000ff #2b2a33ff !important;
}

body{
	/* background: url("http://gospitaliers.narod.ru/knaz/bond.jpg"); */
	background-color: #29420b;
	max-width: 1920px;
	padding: 0;
	background-image: url('mainbg.png');
	color: #a6a6a6;
	text-shadow: 0px 0px 10px black;
	max-width: 100%;
	padding: 0;
	position: relative;
	min-height: 100vh;
	background-attachment: fixed;
}

/* for less white texts */
.more_gray{
	color: #808080;
}

header{
	margin: 0 auto;
	padding-top: 200px;
	width: 100%;
	text-align: center;
}
header > figure > img{
	width: 600px;
}

header > h1, header > h2{
	font-style: italic;
	position: relative;
	top: 0px;
	/*top: -50px;*/
	color: #fff;
}

h2{
	margin: 10px;
}

.page-content{
	margin: 0 auto;
	/*max-width: 960px;*/
	max-width: 1088px;
	/*min-height: 67.9vh;*/
	/*min-height: 72.6vh;*/
	/*min-height: 693px;*/
	min-height: 300px;
	padding-bottom: 40px;
}

.page-content a{
	color: #0e0 ;
}

.page-block-top {
	border-radius: 8px;
	background-color: #125900f0;
	min-width: 500px;
	padding: 15px;
	padding-left: 30px;
	margin-bottom: 10px;
	border: 2px solid #00640b;
	box-shadow: 0px 0px 7px 1px rgba(15, 15, 15, 0.74);
}
.page-block {
	border-radius: 8px;
	background-color: #082800cf;
	min-width: 500px;
	padding: 15px;
	padding-left: 30px;
	padding-right: 30px;
	margin-bottom: 10px;
	border: 2px solid #003906;
	box-shadow: 0px 0px 7px 1px rgba(15, 15, 15, 0.74);
}

.page-block-gallery {
	border-radius: 15px;
	background-color: #e2e4ba;
	min-width: 500px;
	padding: 15px;
	margin-bottom: 10px;
	box-shadow: 0px 0px 7px 1px rgba(15, 15, 15, 0.74);
}

ul{
	padding-left: 15px;
	list-style:disc;
}

.highslide-gallery {
  /*display: flex;
  justify-content: center;
  flex-wrap: wrap;*/
  width: fit-content;
margin: 0 auto;
}

/*#highslide-gallery-center{
	width: fit-content;
margin: 0 auto;
}*/

.highslide-gallery a:link, .highslide-gallery a:visited {
  color: #484848;
  text-decoration: none;
  border-bottom: none;
}

.highslide-gallery a:focus, .highslide-gallery a:hover, .highslide-gallery a:active {
  color: #e34c26;
  border-bottom: none;
}

.dark {
  background: #0000 !important;
}

.dark .highslide-image {
  background: #0000 !important;
}

footer{
	padding: 10px;
	margin: 0 auto;
  display: flex;
  justify-content: space-around;
  background-color: #0000006e;
  color: #fff;
  /*margin-top: auto;*/
  position: absolute;
	bottom: 0;
	width: 100%;
	height: 40px;
}

footer p a{
  color: #fff !important;	
}


 /* Style the list */
ul.breadcrumb {
    padding: 10px 16px;
    list-style: none;
	color: #ececec;
}

/* Display list items side by side */
ul.breadcrumb li {
    display: inline;
    font-size: 18px;
}
ul.breadcrumb li a {
	color: #0e0;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
    padding: 8px;
    color: white;
    content: "/\00a0";
}

 /* The navigation menu */
.navbar {
	width: 100%;
	position: fixed;
	display: flex;
  /*overflow: hidden;*/
  background-color: #333;
  justify-content: center;
  z-index: 1;
}

/* Navigation links */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The subnavigation menu */
.subnav {
  float: left;
  overflow: hidden;
}

/* Subnav button */
.subnav .subnavbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Add a red background color to navigation links on hover */
.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: #008000;
}

/* Style the subnav content - positioned absolute */
.subnav-content {
  display: none;
  position: absolute;
  /*left: 0;*/
  background-color: #008000;
  /*width: 100%;*/
  z-index: 1;
	
  justify-content: center;
  flex-direction: column;
}

/* Style the subnav links */
.subnav-content a {
  float: left;
  color: white;
  text-decoration: none;
}

/* Add a grey background color on hover */
.subnav-content a:hover {
  background-color: #eee;
  color: black;
}

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
  display: block;
  display: flex;
} 

.description{
	display: flex;
}

.description-left{
	min-width: 30%;
}

#desc_bold{
	margin-bottom: 0.3em;
	font-weight: bold;
}

.highslide img {
  border-color: #085317 !important;
}

.news-timeline {
}
.news-year-label{
	background-color: #004f08;
	/*padding-left: 2px;*/
}
.news-block{
	margin-top: 30px;
	padding-bottom: 30px;
	border-bottom: 2px solid #004f08;
}
.news-discuss-link{
	color: #484848 !important;
	text-shadow: none;
}

.news-discuss-link-active{
	color: #0e0 !important;
}

.hamburger-menu{
	display: flex;
}
/* скрываем чекбокс */
#menu__toggle {
  opacity: 0;
}/* стилизуем кнопку */
.menu__btn {
  display: flex; /* используем flex для центрирования содержимого */
  align-items: center;  /* центрируем содержимое кнопки */
  position: fixed;
  top: 15px;
  left: 15px;  width: 50px;
height: 50px;  cursor: pointer;
  z-index: 2;
  visibility: hidden;
  background-color: #082800cf;
border-radius: 50%;
padding-left: 8px;
border: 2px solid #003906;
}
/* добавляем "гамбургер" */
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;  width: 100%;
  height: 2px;  background-color: #616161;
  width: 30px;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}

#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .navbar {
  visibility: visible;
  display: flex;
  left: 0;
}

* {box-sizing: border-box;}

.img-comp-container {
  position: relative;
  height: 250px; /*should be the same height as the images*/
}

.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow: hidden;
}

.img-comp-img img {
  display: block;
  vertical-align: middle;
  max-width: none;
}

.img-comp-slider {
  position: absolute;
  z-index: 9;
  cursor: ew-resize;
  /*set the appearance of the slider:*/
  width: 40px;
  height: 40px;
  background-color: #2196F3;
  opacity: 0.7;
  border-radius: 50%;
}

@media (max-width: 500px) { 
.page-block-top {
	min-width: 100px;
	padding: 15px;
	padding-left: 30px;
	margin-bottom: 10px;
}
.page-block {
	border-radius: 8px;
	background-color: #082800cf;
	min-width: 100px;
	padding: 15px;
	padding-left: 30px;
	padding-right: 30px;
	margin-bottom: 10px;
	border: 2px solid #003906;
	box-shadow: 0px 0px 7px 1px rgba(15, 15, 15, 0.74);
}

.page-block-gallery {
	border-radius: 15px;
	background-color: #e2e4ba;
	min-width: 100px;
	padding: 15px;
	margin-bottom: 10px;
	box-shadow: 0px 0px 7px 1px rgba(15, 15, 15, 0.74);
}
 }
 
 @media (max-width: 1090px) { 
 
.navbar a, .subnav .subnavbtn {
  font-size: 14px;
}
 }
 @media (max-width: 950px) { 
.navbar {
	width: 100%;
	position: fixed;
	display: flex;
  /*overflow: hidden;*/
  background-color: #333;
  justify-content: center;
  z-index: 1;
  flex-direction: column;
  display: none;
  position: absolute;
}
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: left;
  padding: 14px 16px;
  text-decoration: none;
  width: 100%;
  padding-left: 40px;
  overflow-y: auto;

  

}
.subnavbtn{
	background-color: #008000;
}

.subnav .subnavbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  width: 100%;
}

.subnav-content {
  display: none;
  position: absolute;
  left: 15%;
  background-color: #008000;
  width: 85%;
  z-index: 1;
	
  justify-content: center;
  display: contents;
}

.subnav-content a {
  padding-left: 65px;
}

.subnav:hover .subnav-content {
  display: none;
  position: absolute;
  left: 15%;
  background-color: #008000;
  width: 85%;
  z-index: 1;
	
  justify-content: center;
  display: contents;
}
.menu__btn {
  visibility: visible;
 }
 }
 @media (max-width: 760px) { 
 
 .description{
	 flex-direction: column;
	 align-items: center;
 }
 
 
.page-block-top {
	padding: 15px;
	padding-left: 30px;
	margin-bottom: 10px;
}
.page-block {
	padding: 15px;
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 10px;
}

.page-block-gallery {
	padding: 5px;
}

 }


